",this.contentWidget.domNode,"after");var _2be=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_2be._buttonWidget=(new cls({contentWidget:_2be,label:_2be.title,title:_2be.tooltip,dir:_2be.dir,lang:_2be.lang,textDir:_2be.textDir||this.textDir,iconClass:_2be.iconClass,id:_2be.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_2a9.place("
",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_2a9.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _2bf=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_2c0,_2c1){_2bf.set("label",_2c1);})),cw.watch("tooltip",lang.hitch(this,function(name,_2c2,_2c3){_2bf.set("title",_2c3);})),cw.watch("iconClass",lang.hitch(this,function(name,_2c4,_2c5){_2bf.set("iconClass",_2c5);}))];},_setSelectedAttr:function(_2c6){this._set("selected",_2c6);this.button.set("selected",_2c6);if(_2c6){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_2a5.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_2c7){this.contentWidget.destroyRecursive(_2c7);}});if(has("dojo-bidi")){_2bd=_2a6("dijit.layout._AccordionInnerContainer",_2bd,{postCreate:function(){this.inherited(arguments);var _2c8=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_2c9,_2ca){_2c8.set("textDir",_2ca);}));}});}var _2cb=_2a6("dijit.layout.AccordionContainer",_2b3,{duration:_2ad.defaultDuration,buttonWidget:_2b7,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _2cc=this.selectedChildWidget;if(!_2cc){return;}var _2cd=_2cc._wrapperWidget.domNode,_2ce=_2aa.getMarginExtents(_2cd),_2cf=_2aa.getPadBorderExtents(_2cd),_2d0=_2cc._wrapperWidget.containerNode,_2d1=_2aa.getMarginExtents(_2d0),_2d2=_2aa.getPadBorderExtents(_2d0),_2d3=this._contentBox;var _2d4=0;_2a5.forEach(this.getChildren(),function(_2d5){if(_2d5!=_2cc){_2d4+=_2aa.getMarginSize(_2d5._wrapperWidget.domNode).h;}});this._verticalSpace=_2d3.h-_2d4-_2ce.h-_2cf.h-_2d1.h-_2d2.h-_2cc._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_2ce.w-_2cf.w-_2d1.w-_2d2.w};if(_2cc){size(_2cc,this._containerContentBox);}},_setupChild:function(_2d6){_2d6._wrapperWidget=_2bd({contentWidget:_2d6,buttonWidget:this.buttonWidget,id:_2d6.id+"_wrapper",dir:_2d6.dir,lang:_2d6.lang,textDir:_2d6.textDir||this.textDir,parent:this});this.inherited(arguments);_2a9.place(_2d6.domNode,_2d6._wrapper,"replace");},removeChild:function(_2d7){if(_2d7._wrapperWidget){_2a9.place(_2d7.domNode,_2d7._wrapperWidget.domNode,"after");_2d7._wrapperWidget.destroy();delete _2d7._wrapperWidget;}_2a8.remove(_2d7.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _2a5.map(this.inherited(arguments),function(_2d8){return _2d8.declaredClass=="dijit.layout._AccordionInnerContainer"?_2d8.contentWidget:_2d8;},this);},destroy:function(){if(this._animation){this._animation.stop();}_2a5.forEach(this.getChildren(),function(_2d9){if(_2d9._wrapperWidget){_2d9._wrapperWidget.destroy();}else{_2d9.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_2da){_2da._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_2db){_2db._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_2dc,_2dd,_2de){if(has("ie")<8){_2de=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_2dc){_2dc._wrapperWidget.set("selected",true);var d=this._showChild(_2dc);if(this.doLayout){size(_2dc,this._containerContentBox);}}if(_2dd){_2dd._wrapperWidget.set("selected",false);if(!_2de){this._hideChild(_2dd);}}if(_2de){var _2df=_2dc._wrapperWidget.containerNode,_2e0=_2dd._wrapperWidget.containerNode;var _2e1=_2dc._wrapperWidget.containerNode,_2e2=_2aa.getMarginExtents(_2e1),_2e3=_2aa.getPadBorderExtents(_2e1),_2e4=_2e2.h+_2e3.h;_2e0.style.height=(self._verticalSpace-_2e4)+"px";this._animation=new fx.Animation({node:_2df,duration:this.duration,curve:[1,this._verticalSpace-_2e4-1],onAnimate:function(_2e5){_2e5=Math.floor(_2e5);_2df.style.height=_2e5+"px";_2e0.style.height=(self._verticalSpace-_2e4-_2e5)+"px";},onEnd:function(){delete self._animation;_2df.style.height="auto";_2dd._wrapperWidget.containerNode.style.display="none";_2e0.style.height="auto";self._hideChild(_2dd);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_2e6){if(this.disabled||e.altKey||!(_2e6||e.ctrlKey)){return;}var c=e.keyCode;if((_2e6&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_2e6&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_2ae(0,function(){var _2e7=["dijit/layout/AccordionPane"];_2a4(_2e7);});}_2cb._InnerContainer=_2bd;_2cb._Button=_2b7;return _2cb;});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],function(_2e8,keys,_2e9,_2ea,_2eb){return _2e8("dijit.form.ComboButton",_2ea,{templateString:_2eb,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_2e9.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_2e9.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_2ec){if(!this.disabled){_2e9.focus(_2ec=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_2ed,_2ee,_2ef,keys,lang,_2f0,_2f1,has,_2f2,_2f3,_2f4){var _2f5=_2ee("dijit.form._AutoCompleterMixin",_2f4,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_2f6){var pos=0;if(typeof (_2f6.selectionStart)=="number"){pos=_2f6.selectionStart;}else{if(has("ie")){var tr=_2f6.ownerDocument.selection.createRange().duplicate();var ntr=_2f6.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_2f7,_2f8){_2f8=parseInt(_2f8);_2f3.selectInputText(_2f7,_2f8,_2f8);},_setDisabledAttr:function(_2f9){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_2f9?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _2fa=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_2fa=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_2fa);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_2fa){if(_2fa==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_2fa==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _2fb=this.get("displayedValue");if(pw&&(_2fb==pw._messages["previousMessage"]||_2fb==pw._messages["nextMessage"])){break;}if(_2fa){this._selectOption(_2fa);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_2f3.selectInputText(fn,fn.value.length);var _2fc=this.ignoreCase?"toLowerCase":"substr";if(text[_2fc](0).indexOf(this.focusNode.value[_2fc](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_2f3.selectInputText(fn,cpos);}}else{fn.value=text;_2f3.selectInputText(fn);}},_openResultList:function(_2fd,_2fe,_2ff){var _300=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_2fd.length&&_2ff.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_301){_2fd.nextPage(_301!==-1);this.focus();});this.dropDown.createOptions(_2fd,_2ff,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _2ff){if(_2ff.direction){this.dropDown.highlightFirstOption();}else{if(!_2ff.direction){this.dropDown.highlightLastOption();}}if(_300){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_2fe[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");}},_setBlurValue:function(){var _302=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_302==pw._messages["previousMessage"]||_302==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_302);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_303,_304){var _305="";if(item){if(!_304){_304=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_305=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_304;}this.set("value",_305,_303,_304,item);},_announceOption:function(node){if(!node){return;}var _306;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_306=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_306=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_306);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_2ef.get(node,"id"));this._autoCompleteText(_306);},_selectOption:function(_307){this.closeDropDown();if(_307){this._announceOption(_307);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _308=this.id+"_popup",_309=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _309({onChange:lang.hitch(this,this._selectOption),id:_308,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef){var _30a=this.srcNodeRef;this.store=new _2f2({},_30a);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _30b=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_30b):item[_30b];}}}},postCreate:function(){var _30c=_2f0("label[for=\""+this.id+"\"]");if(_30c.length){if(!_30c[0].id){_30c[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_30c[0].id);}this.inherited(arguments);_2ed.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _30d=this.labelFunc(item,this.store),_30e=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_30d=this.doHighlight(_30d,this._lastInput);_30e="html";}return {html:_30e=="html",label:_30d};},doHighlight:function(_30f,find){var _310=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_2f1.escapeString(find);return this._escapeHtml(_30f.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_310),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"
$1 ");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_311){return (_311._oldAPI?_311.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_312,_313,_314,item){this._set("item",item||null);if(_312==null){_312="";}this.inherited(arguments);}});if(has("dojo-bidi")){_2f5.extend({_setTextDirAttr:function(_315){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_315);}}});}return _2f5;});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_316,has,_317,_318){return _316("dijit.form.MappedTextBox",_318,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_317.place("
",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_319,_31a,_31b,lang,_31c,_31d,_31e,_31f,_320){return _319("dijit.form.ComboBoxMixin",[_31f,_31d],{dropDownClass:_31e,hasDownArrow:true,templateString:_320,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_321){if(!_321.get){lang.mixin(_321,{_oldAPI:true,get:function(id){var _322=new _31a();this.fetchItemByIdentity({identity:id,onItem:function(_323){_322.resolve(_323);},onError:function(_324){_322.reject(_324);}});return _322.promise;},query:function(_325,_326){var _327=new _31a(function(){_328.abort&&_328.abort();});_327.total=new _31a();var _328=this.fetch(lang.mixin({query:_325,onBegin:function(_329){_327.total.resolve(_329);},onComplete:function(_32a){_327.resolve(_32a);},onError:function(_32b){_327.reject(_32b);}},_326));return _31c(_327);}});}this._set("store",_321);},postMixInProperties:function(){var _32c=this.params.store||this.store;if(_32c){this._setStoreAttr(_32c);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _32d=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_31b.deprecated(_32d+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_31b.deprecated(_32d+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_31b.deprecated(_32d+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_32e){new _32e({objectStore:this}).fetch(args);}));}});}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list");}});});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/sniff","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_32f,_330,dom,has,keys,lang,on,_331){var _332=_330("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_333,_334,_335){var _336;if(_333!==undefined){_336=this.filter(_333);if(typeof _335!="string"){if(_336!==null&&((typeof _336!="number")||!isNaN(_336))){_335=this.filter(this.format(_336,this.constraints));}else{_335="";}if(this.compare(_336,this.filter(this.parse(_335,this.constraints)))!=0){_335=null;}}}if(_335!=null&&((typeof _335)!="number"||!isNaN(_335))&&this.textbox.value!=_335){this.textbox.value=_335;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_336,_334]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_337){if(_337==null){_337="";}else{if(typeof _337!="string"){_337=String(_337);}}this.textbox.value=_337;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_338){return _338==null?"":(_338.toString?_338.toString():_338);},parse:function(_339){return _339;},_refreshState:function(){},onInput:function(){},_onInput:function(evt){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||evt);delete this._lastInputProducingEvent;if(this.intermediateChanges){this._handleOnChange(this.get("value"),false);}},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _33a(e){var _33b;if(e.type=="keydown"&&e.keyCode!=229){_33b=e.keyCode;switch(_33b){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_33b){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_33b>=65&&_33b<=90)||(_33b>=48&&_33b<=57)||_33b==keys.SPACE){return;}var _33c=false;for(var i in keys){if(keys[i]===e.keyCode){_33c=true;break;}}if(!_33c){return;}}}_33b=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_33b){_33b=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_33b){_33b=229;}if(e.type=="keypress"){if(typeof _33b!="string"){return;}if((_33b>="a"&&_33b<="z")||(_33b>="A"&&_33b<="Z")||(_33b>="0"&&_33b<="9")||(_33b===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}var faux={faux:true},attr;for(attr in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(attr)){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_33b,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});this._lastInputProducingEvent=faux;if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}if(has("ie")<=9){switch(e.keyCode){case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:break;default:if(e.keyCode==keys.ENTER&&this.textbox.tagName.toLowerCase()!="textarea"){break;}this.defer(function(){if(this.textbox.value!==this._lastInputEventValue){on.emit(this.textbox,"input",{bubbles:true});}});}}};this.own(on(this.textbox,"keydown, keypress, paste, cut, compositionend",lang.hitch(this,_33a)),on(this.textbox,"input",lang.hitch(this,"_onInput")),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=on.once(this.domNode,"mouseup, touchend",lang.hitch(this,function(evt){if(!this._isTextSelected()){_332.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_332=_330("dijit.form._TextBoxMixin",_332,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_332._setSelectionRange=_331._setSelectionRange=function(_33d,_33e,stop){if(_33d.setSelectionRange){_33d.setSelectionRange(_33e,stop);}};_332.selectInputText=_331.selectInputText=function(_33f,_340,stop){_33f=dom.byId(_33f);if(isNaN(_340)){_340=0;}if(isNaN(stop)){stop=_33f.value?_33f.value.length:0;}try{_33f.focus();_332._setSelectionRange(_33f,_340,stop);}catch(e){}};return _332;});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_341,_342,has,_343){return _341("dijit.form.SimpleTextarea",_343,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"
",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_342.add(this.textbox,"dijitTextAreaCols");}},filter:function(_344){if(_344){_344=_344.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _345=parseInt(this.maxLength);var _346=this.textbox.value.replace(/\r/g,"");var _347=_346.length-_345;if(_347>0){var _348=this.textbox;if(_348.selectionStart){var pos=_348.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_346.substring(0,pos-_347-cr)+_346.substring(pos-cr);_348.setSelectionRange(pos-_347,pos-_347);}else{if(this.ownerDocument.selection){_348.focus();var _349=this.ownerDocument.selection.createRange();_349.moveStart("character",-_347);_349.text="";_349.select();}}}}this.inherited(arguments);}});});},"dijit/_base/window":function(){define(["dojo/window","../main"],function(_34a,_34b){_34b.getDocumentWindow=function(doc){return _34a.get(doc);};});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_34c,_34d,lang,_34e,pm,_34f,_350){return _34c("dijit.PopupMenuItem",_350,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _351=_34e("*",this.srcNodeRef);this.inherited(arguments,[_351[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_352,_353){var _354=this.popup;pm.open(lang.delegate(_352,{popup:this.popup,around:this.domNode}));if(_353&&_354.focus){_354.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_34e("[widgetId]",this.dropDownContainer)[0];this.popup=_34f.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_34d.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_355){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_355);}delete this.popup;}this.inherited(arguments);}});});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_356,_357,_358,_359,has,_35a,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");try{div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url(\""+(_357.blankGif||_356.toUrl("./resources/blank.gif"))+"\");";win.body().appendChild(div);var cs=_359.getComputedStyle(div),_35b=cs.backgroundImage;return cs.borderTopColor==cs.borderRightColor||(_35b&&(_35b=="none"||_35b=="url(invalid-url:)"));}catch(e){console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+e.toString());return false;}finally{if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}}});_35a(function(){if(has("highcontrast")){_358.add(win.body(),"dj_a11y");}});return has;});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_35c,_35d,_35e){return _35c("dijit.form.RadioButton",[_35d,_35e],{baseClass:"dijitRadio"});});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_35f,keys,_360,has,_361){var ret=_360("dijit._OnDijitClickMixin",null,{connect:function(obj,_362,_363){return this.inherited(arguments,[obj,_362=="ondijitclick"?_361:_362,_363]);}});ret.a11yclick=_361;return ret;});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_364,_365,_366,_367,_368,_369,_36a,_36b,i18n,_36c,keys,lang,on,has,when,_36d,fm,_36e,_36f,_370,_371,_372,_373,_374,_375){var _376=_367("dijit._InlineEditor",[_36e,_36f,_370],{templateString:_375,contextRequire:_364,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_365.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var Cls=typeof this.editor=="string"?(lang.getObject(this.editor)||_364(this.editor)):this.editor;var _377=this.sourceStyle,_378="line-height:"+_377.lineHeight+";",_379=_36b.getComputedStyle(this.domNode);_365.forEach(["Weight","Family","Size","Style"],function(prop){var _37a=_377["font"+prop],_37b=_379["font"+prop];if(_37b!=_37a){_378+="font-"+prop+":"+_377["font"+prop]+";";}},this);_365.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_377[prop];},this);var _37c=this.inlineEditBox.width;if(_37c=="100%"){_378+="width:100%;";this.domNode.style.display="block";}else{_378+="width:"+(_37c+(Number(_37c)==_37c?"px":""))+";";}var _37d=lang.delegate(this.inlineEditBox.editorParams,{style:_378,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_37d,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_36a.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_366.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_366.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get(("displayedValue" in ew||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_373.selectInputText(this.editWidget.focusNode);});}}}});var _37e=_367("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_36e,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_374,editorWrapper:_376,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"
✍ ":"
✍ ",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_36d,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_369.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_37f){_36c.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_37f);},_setDisabledAttr:function(_380){this.domNode.setAttribute("aria-disabled",_380?"true":"false");if(_380){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_369.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_380);this._set("disabled",_380);},_onMouseOver:function(){if(!this.disabled){_369.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_369.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_368.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _381=_36a.create("span",null,this.domNode,"before");var Ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new Ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_36b.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_381);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_369.add(this.displayNode,"dijitOffScreen");_369.remove(ww.domNode,"dijitOffScreen");_36b.set(ww.domNode,{visibility:"visible"});_368.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_382){var ww=this.wrapperWidget;_36b.set(ww.domNode,{visibility:"hidden"});_369.add(ww.domNode,"dijitOffScreen");_369.remove(this.displayNode,"dijitOffScreen");_368.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_382){fm.focus(this.displayNode);}},save:function(_383){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _384=ww.getValue();this.set("value",_384);this._showText(_383);},setValue:function(val){_36c.deprecated("dijit.InlineEditBox.setValue() is deprecated. Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _385=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""").replace(/\n/g,"
");if(this.editorParams&&this.editorParams.type==="password"){this.displayNode.innerHTML="********";}else{this.displayNode.innerHTML=_385||this.noValueIndicator;}this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_36c.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_386){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_386);}});if(has("dojo-bidi")){_37e=_367("dijit.InlineEditBox",_37e,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_37e._InlineEditor=_376;return _37e;});},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_387,lang,win){var trim=lang.trim;var each=_387.forEach;var _388=function(){return win.doc;};var _389=(_388().compatMode)=="BackCompat";var _38a=">~+";var _38b=false;var _38c=function(){return true;};var _38d=function(_38e){if(_38a.indexOf(_38e.slice(-1))>=0){_38e+=" * ";}else{_38e+=" ";}var ts=function(s,e){return trim(_38e.slice(s,e));};var _38f=[];var _390=-1,_391=-1,_392=-1,_393=-1,_394=-1,inId=-1,_395=-1,_396,lc="",cc="",_397;var x=0,ql=_38e.length,_398=null,_399=null;var _39a=function(){if(_395>=0){var tv=(_395==x)?null:ts(_395,x);_398[(_38a.indexOf(tv)<0)?"tag":"oper"]=tv;_395=-1;}};var _39b=function(){if(inId>=0){_398.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _39c=function(){if(_394>=0){_398.classes.push(ts(_394+1,x).replace(/\\/g,""));_394=-1;}};var _39d=function(){_39b();_39a();_39c();};var _39e=function(){_39d();if(_393>=0){_398.pseudos.push({name:ts(_393+1,x)});}_398.loops=(_398.pseudos.length||_398.attrs.length||_398.classes.length);_398.oquery=_398.query=ts(_397,x);_398.otag=_398.tag=(_398["oper"])?null:(_398.tag||"*");if(_398.tag){_398.tag=_398.tag.toUpperCase();}if(_38f.length&&(_38f[_38f.length-1].oper)){_398.infixOper=_38f.pop();_398.query=_398.infixOper.query+" "+_398.query;}_38f.push(_398);_398=null;};for(;lc=cc,cc=_38e.charAt(x),x
=0){if(cc=="]"){if(!_399.attr){_399.attr=ts(_390+1,x);}else{_399.matchFor=ts((_392||_390+1),x);}var cmf=_399.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_399.matchFor=cmf.slice(1,-1);}}if(_399.matchFor){_399.matchFor=_399.matchFor.replace(/\\/g,"");}_398.attrs.push(_399);_399=null;_390=_392=-1;}else{if(cc=="="){var _39f=("|~^$*".indexOf(lc)>=0)?lc:"";_399.type=_39f+cc;_399.attr=ts(_390+1,x-_39f.length);_392=x+1;}}}else{if(_391>=0){if(cc==")"){if(_393>=0){_399.value=ts(_391+1,x);}_393=_391=-1;}}else{if(cc=="#"){_39d();inId=x+1;}else{if(cc=="."){_39d();_394=x;}else{if(cc==":"){_39d();_393=x;}else{if(cc=="["){_39d();_390=x;_399={};}else{if(cc=="("){if(_393>=0){_399={name:ts(_393+1,x),value:null};_398.pseudos.push(_399);}_391=x;}else{if((cc==" ")&&(lc!=cc)){_39e();}}}}}}}}}return _38f;};var _3a0=function(_3a1,_3a2){if(!_3a1){return _3a2;}if(!_3a2){return _3a1;}return function(){return _3a1.apply(window,arguments)&&_3a2.apply(window,arguments);};};var _3a3=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _3a4=function(n){return (1==n.nodeType);};var _3a5="";var _3a6=function(elem,attr){if(!elem){return _3a5;}if(attr=="class"){return elem.className||_3a5;}if(attr=="for"){return elem.htmlFor||_3a5;}if(attr=="style"){return elem.style.cssText||_3a5;}return (_38b?elem.getAttribute(attr):elem.getAttribute(attr,2))||_3a5;};var _3a7={"*=":function(attr,_3a8){return function(elem){return (_3a6(elem,attr).indexOf(_3a8)>=0);};},"^=":function(attr,_3a9){return function(elem){return (_3a6(elem,attr).indexOf(_3a9)==0);};},"$=":function(attr,_3aa){return function(elem){var ea=" "+_3a6(elem,attr);var _3ab=ea.lastIndexOf(_3aa);return _3ab>-1&&(_3ab==(ea.length-_3aa.length));};},"~=":function(attr,_3ac){var tval=" "+_3ac+" ";return function(elem){var ea=" "+_3a6(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3ad){var _3ae=_3ad+"-";return function(elem){var ea=_3a6(elem,attr);return ((ea==_3ad)||(ea.indexOf(_3ae)==0));};},"=":function(attr,_3af){return function(elem){return (_3a6(elem,attr)==_3af);};}};var _3b0=_388().documentElement;var _3b1=!(_3b0.nextElementSibling||"nextElementSibling" in _3b0);var _3b2=!_3b1?"nextElementSibling":"nextSibling";var _3b3=!_3b1?"previousElementSibling":"previousSibling";var _3b4=(_3b1?_3a4:_38c);var _3b5=function(node){while(node=node[_3b3]){if(_3b4(node)){return false;}}return true;};var _3b6=function(node){while(node=node[_3b2]){if(_3b4(node)){return false;}}return true;};var _3b7=function(node){var root=node.parentNode;root=root.nodeType!=7?root:root.nextSibling;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}if(has("ie")&&typeof root.setAttribute!=="undefined"){root.setAttribute("_l",l);}else{root["_l"]=l;}ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_3b2]){if(_3b4(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _3b8=function(elem){return !((_3b7(elem))%2);};var _3b9=function(elem){return ((_3b7(elem))%2);};var _3ba={"checked":function(name,_3bb){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_3bc){return function(elem){return elem.disabled;};},"enabled":function(name,_3bd){return function(elem){return !elem.disabled;};},"first-child":function(){return _3b5;},"last-child":function(){return _3b6;},"only-child":function(name,_3be){return function(node){return _3b5(node)&&_3b6(node);};},"empty":function(name,_3bf){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_3c0){var cz=_3c0.charAt(0);if(cz=="\""||cz=="'"){_3c0=_3c0.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_3c0)>=0);};},"not":function(name,_3c1){var p=_38d(_3c1)[0];var _3c2={el:1};if(p.tag!="*"){_3c2.tag=1;}if(!p.classes.length){_3c2.classes=1;}var ntf=_3c3(p,_3c2);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3c4){var pi=parseInt;if(_3c4=="odd"){return _3b9;}else{if(_3c4=="even"){return _3b8;}}if(_3c4.indexOf("n")!=-1){var _3c5=_3c4.split("n",2);var pred=_3c5[0]?((_3c5[0]=="-")?-1:pi(_3c5[0])):1;var idx=_3c5[1]?pi(_3c5[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_3b7(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_3c4=idx;}}var _3c6=pi(_3c4);return function(elem){return (_3b7(elem)==_3c6);};}};var _3c7=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_38b?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _3c3=function(_3c8,_3c9){if(!_3c8){return _38c;}_3c9=_3c9||{};var ff=null;if(!("el" in _3c9)){ff=_3a0(ff,_3a4);}if(!("tag" in _3c9)){if(_3c8.tag!="*"){ff=_3a0(ff,function(elem){return (elem&&((_38b?elem.tagName:elem.tagName.toUpperCase())==_3c8.getTag()));});}}if(!("classes" in _3c9)){each(_3c8.classes,function(_3ca,idx,arr){var re=new RegExp("(?:^|\\s)"+_3ca+"(?:\\s|$)");ff=_3a0(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _3c9)){each(_3c8.pseudos,function(_3cb){var pn=_3cb.name;if(_3ba[pn]){ff=_3a0(ff,_3ba[pn](pn,_3cb.value));}});}if(!("attrs" in _3c9)){each(_3c8.attrs,function(attr){var _3cc;var a=attr.attr;if(attr.type&&_3a7[attr.type]){_3cc=_3a7[attr.type](a,attr.matchFor);}else{if(a.length){_3cc=_3c7(a);}}if(_3cc){ff=_3a0(ff,_3cc);}});}if(!("id" in _3c9)){if(_3c8.id){ff=_3a0(ff,function(elem){return (!!elem&&(elem.id==_3c8.id));});}}if(!ff){if(!("default" in _3c9)){ff=_38c;}}return ff;};var _3cd=function(_3ce){return function(node,ret,bag){while(node=node[_3b2]){if(_3b1&&(!_3a4(node))){continue;}if((!bag||_3cf(node,bag))&&_3ce(node)){ret.push(node);}break;}return ret;};};var _3d0=function(_3d1){return function(root,ret,bag){var te=root[_3b2];while(te){if(_3b4(te)){if(bag&&!_3cf(te,bag)){break;}if(_3d1(te)){ret.push(te);}}te=te[_3b2];}return ret;};};var _3d2=function(_3d3,_3d4){var _3d5=function(_3d6){var _3d7=[];try{_3d7=Array.prototype.slice.call(_3d6);}catch(e){for(var i=0,len=_3d6.length;i"==oper){_3dc=_3d2(_3dd);}}}}return _3d9[_3db.query]=_3dc;};var _3e4=function(root,_3e5){var _3e6=_3a3(root),qp,x,te,qpl=_3e5.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_3da(qp);for(var j=0;(te=_3e6[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_3e6=ret;}return ret;};var _3e7={},_3e8={};var _3e9=function(_3ea){var _3eb=_38d(trim(_3ea));if(_3eb.length==1){var tef=_3da(_3eb[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _3e4(root,_3eb);};};var _3ec=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _3ed=!!_388()[qsa];var _3ee=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _3ef=function(_3f0,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_3f0;};var _3f1=/([^[]*)([^\]]*])?/g;var _3f2=function(_3f3,_3f4,att){return _3f4.replace(_3ee,_3ef)+(att||"");};var _3f5=function(_3f6,_3f7){_3f6=_3f6.replace(_3f1,_3f2);if(_3ed){var _3f8=_3e8[_3f6];if(_3f8&&!_3f7){return _3f8;}}var _3f9=_3e7[_3f6];if(_3f9){return _3f9;}var qcz=_3f6.charAt(0);var _3fa=(-1==_3f6.indexOf(" "));if((_3f6.indexOf("#")>=0)&&(_3fa)){_3f7=true;}var _3fb=(_3ed&&(!_3f7)&&(_38a.indexOf(qcz)==-1)&&(!has("ie")||(_3f6.indexOf(":")==-1))&&(!(_389&&(_3f6.indexOf(".")>=0)))&&(_3f6.indexOf(":contains")==-1)&&(_3f6.indexOf(":checked")==-1)&&(_3f6.indexOf("|=")==-1));if(_3fb){var tq=(_38a.indexOf(_3f6.charAt(_3f6.length-1))>=0)?(_3f6+" *"):_3f6;return _3e8[_3f6]=function(root){if(9==root.nodeType||_3fa){try{var r=root[qsa](tq);r[_3ec]=true;return r;}catch(e){}}return _3f5(_3f6,true)(root);};}else{var _3fc=_3f6.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _3e7[_3f6]=((_3fc.length<2)?_3e9(_3f6):function(root){var _3fd=0,ret=[],tp;while((tp=_3fc[_3fd++])){ret=ret.concat(_3e9(tp)(root));}return ret;});}};var _3fe=0;var _3ff=has("ie")?function(node){if(_38b){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_3fe)||_3fe);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_3fe));};var _3cf=function(node,bag){if(!bag){return 1;}var id=_3ff(node);if(!bag[id]){return bag[id]=1;}return 0;};var _400="_zipIdx";var _401=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_3fe++;var x,te;if(has("ie")&&_38b){var _402=_3fe+"";for(x=0;xv.w-_40d.H_TRIGGER_AUTOSCROLL){dx=Math.min(_40d.H_AUTOSCROLL_VALUE,_410-html.scrollLeft);}}if(e.clientY<_40d.V_TRIGGER_AUTOSCROLL){dy=-_40d.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_40d.V_TRIGGER_AUTOSCROLL){dy=Math.min(_40d.V_AUTOSCROLL_VALUE,_40f-html.scrollTop);}}window.scrollBy(dx,dy);};_40d._validNodes={"div":1,"p":1,"td":1};_40d._validOverflow={"auto":1,"scroll":1};_40d.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_411,_412;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _40d._validNodes)){var s=_40b.getComputedStyle(n),_413=(s.overflowX.toLowerCase() in _40d._validOverflow),_414=(s.overflowY.toLowerCase() in _40d._validOverflow);if(_413||_414){b=_40a.getContentBox(n,s);t=_40a.position(n,true);}if(_413){w=Math.min(_40d.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rxb.w-w){dx=w;}}_411=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_414){h=Math.min(_40d.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ryb.h-h){dy=h;}}_412=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_40d.autoScroll(e);};return _40d;});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_415,_416,_417,lang,_418,_419){return _416("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_418("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_41a){if(_41a.name==this.name&&_41a.form==this.focusNode.form){var _41b=_419.getEnclosingWidget(_41a);if(_41b){ary.push(_41b);}}}));return ary;},_setCheckedAttr:function(_41c){this.inherited(arguments);if(!this._created){return;}if(_41c){_415.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_41d){if(_41d!=this&&_41d.checked){_41d.set("checked",false);}}));}},_getSubmitValue:function(_41e){return _41e==null?"on":_41e;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_415.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_41f){_417.set(this.focusNode||this.domNode,"checked",_41f.checked);}));return false;}var _420=false;var _421;_415.some(this._getRelatedWidgets(),function(_422){if(_422.checked){_421=_422;return true;}return false;});this.checked=true;_421&&(_421.checked=false);if(this.onClick(e)===false||e.defaultPrevented){_420=true;}this.checked=false;_421&&(_421.checked=true);if(_420){e.preventDefault();}else{this.set("checked",true);}return !_420;}});});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(lang,_423,_424,_425,_426,_427,_428){return _423("dojo.data.ItemFileWriteStore",_427,{constructor:function(_429){this._features["dojo.data.api.Write"]=true;this._features["dojo.data.api.Notification"]=true;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};if(!this._datatypeMap["Date"].serialize){this._datatypeMap["Date"].serialize=function(obj){return _428.toISOString(obj,{zulu:true});};}if(_429&&(_429.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_42a){if(!_42a){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_42b,_42c){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _42b!="object"&&typeof _42b!="undefined"){throw new Error("newItem() was passed something other than an object");}var _42d=null;var _42e=this._getIdentifierAttribute();if(_42e===Number){_42d=this._arrayOfAllItems.length;}else{_42d=_42b[_42e];if(typeof _42d==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(lang.isArray(_42d)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_42d]==="undefined");}this._assert(typeof this._pending._newItems[_42d]==="undefined");this._assert(typeof this._pending._deletedItems[_42d]==="undefined");var _42f={};_42f[this._storeRefPropName]=this;_42f[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_42d]=_42f;_42f[_42e]=[_42d];}this._arrayOfAllItems.push(_42f);var _430=null;if(_42c&&_42c.parent&&_42c.attribute){_430={item:_42c.parent,attribute:_42c.attribute,oldValue:undefined};var _431=this.getValues(_42c.parent,_42c.attribute);if(_431&&_431.length>0){var _432=_431.slice(0,_431.length);if(_431.length===1){_430.oldValue=_431[0];}else{_430.oldValue=_431.slice(0,_431.length);}_432.push(_42f);this._setValueOrValues(_42c.parent,_42c.attribute,_432,false);_430.newValue=this.getValues(_42c.parent,_42c.attribute);}else{this._setValueOrValues(_42c.parent,_42c.attribute,_42f,false);_430.newValue=_42f;}}else{_42f[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_42f);}this._pending._newItems[_42d]=_42f;for(var key in _42b){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _433=_42b[key];if(!lang.isArray(_433)){_433=[_433];}_42f[key]=_433;if(this.referenceIntegrity){for(var i=0;i<_433.length;i++){var val=_433[i];if(this.isItem(val)){this._addReferenceToMap(val,_42f,key);}}}}this.onNew(_42f,_430);return _42f;},_removeArrayElement:function(_434,_435){var _436=_424.indexOf(_434,_435);if(_436!=-1){_434.splice(_436,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _437=item[this._itemNumPropName];var _438=this.getIdentity(item);if(this.referenceIntegrity){var _439=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=lang.clone(item[this._reverseRefMap]);}_424.forEach(_439,function(_43a){_424.forEach(this.getValues(item,_43a),function(_43b){if(this.isItem(_43b)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_43b),attr:_43a});this._removeReferenceFromMap(_43b,item,_43a);}},this);},this);var _43c=item[this._reverseRefMap];if(_43c){for(var _43d in _43c){var _43e=null;if(this._itemsByIdentity){_43e=this._itemsByIdentity[_43d];}else{_43e=this._arrayOfAllItems[_43d];}if(_43e){for(var _43f in _43c[_43d]){var _440=this.getValues(_43e,_43f)||[];var _441=_424.filter(_440,function(_442){return !(this.isItem(_442)&&this.getIdentity(_442)==_438);},this);this._removeReferenceFromMap(item,_43e,_43f);if(_441.length<_440.length){this._setValueOrValues(_43e,_43f,_441,true);}}}}}}this._arrayOfAllItems[_437]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_438];}this._pending._deletedItems[_438]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_443,_444){return this._setValueOrValues(item,_443,_444,true);},setValues:function(item,_445,_446){return this._setValueOrValues(item,_445,_446,true);},unsetAttribute:function(item,_447){return this._setValueOrValues(item,_447,[],true);},_setValueOrValues:function(item,_448,_449,_44a){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(lang.isString(_448));this._assert(typeof _449!=="undefined");var _44b=this._getIdentifierAttribute();if(_448==_44b){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _44c=this._getValueOrValues(item,_448);var _44d=this.getIdentity(item);if(!this._pending._modifiedItems[_44d]){var _44e={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_44e[key]=item[key];}else{if(key===this._reverseRefMap){_44e[key]=lang.clone(item[key]);}else{_44e[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_44d]=_44e;}var _44f=false;if(lang.isArray(_449)&&_449.length===0){_44f=delete item[_448];_449=undefined;if(this.referenceIntegrity&&_44c){var _450=_44c;if(!lang.isArray(_450)){_450=[_450];}for(var i=0;i<_450.length;i++){var _451=_450[i];if(this.isItem(_451)){this._removeReferenceFromMap(_451,item,_448);}}}}else{var _452;if(lang.isArray(_449)){_452=_449.slice(0,_449.length);}else{_452=[_449];}if(this.referenceIntegrity){if(_44c){var _450=_44c;if(!lang.isArray(_450)){_450=[_450];}var map={};_424.forEach(_450,function(_453){if(this.isItem(_453)){var id=this.getIdentity(_453);map[id.toString()]=true;}},this);_424.forEach(_452,function(_454){if(this.isItem(_454)){var id=this.getIdentity(_454);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_454,item,_448);}}},this);for(var rId in map){var _455;if(this._itemsByIdentity){_455=this._itemsByIdentity[rId];}else{_455=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_455,item,_448);}}else{for(var i=0;i<_452.length;i++){var _451=_452[i];if(this.isItem(_451)){this._addReferenceToMap(_451,item,_448);}}}}item[_448]=_452;_44f=true;}if(_44a){this.onSet(item,_448,_44c,_449);}return _44f;},_addReferenceToMap:function(_456,_457,_458){var _459=this.getIdentity(_457);var _45a=_456[this._reverseRefMap];if(!_45a){_45a=_456[this._reverseRefMap]={};}var _45b=_45a[_459];if(!_45b){_45b=_45a[_459]={};}_45b[_458]=true;},_removeReferenceFromMap:function(_45c,_45d,_45e){var _45f=this.getIdentity(_45d);var _460=_45c[this._reverseRefMap];var _461;if(_460){for(_461 in _460){if(_461==_45f){delete _460[_461][_45e];if(this._isEmpty(_460[_461])){delete _460[_461];}}}if(this._isEmpty(_460)){delete _45c[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i0){_46e=false;}}}return _46e;},save:function(_46f){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _470=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_46f&&_46f.onComplete){var _471=_46f.scope||_426.global;_46f.onComplete.call(_471);}};var _472=function(err){self._saveInProgress=false;if(_46f&&_46f.onError){var _473=_46f.scope||_426.global;_46f.onError.call(_473,err);}};if(this._saveEverything){var _474=this._getNewFileContentString();this._saveEverything(_470,_472,_474);}if(this._saveCustom){this._saveCustom(_470,_472);}if(!this._saveEverything&&!this._saveCustom){_470();}},revert:function(){this._assert(!this._saveInProgress);var _475;for(_475 in this._pending._modifiedItems){var _476=this._pending._modifiedItems[_475];var _477=null;if(this._itemsByIdentity){_477=this._itemsByIdentity[_475];}else{_477=this._arrayOfAllItems[_475];}_476[this._storeRefPropName]=this;for(var key in _477){delete _477[key];}lang.mixin(_477,_476);}var _478;for(_475 in this._pending._deletedItems){_478=this._pending._deletedItems[_475];_478[this._storeRefPropName]=this;var _479=_478[this._itemNumPropName];if(_478["backup_"+this._reverseRefMap]){_478[this._reverseRefMap]=_478["backup_"+this._reverseRefMap];delete _478["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_479]=_478;if(this._itemsByIdentity){this._itemsByIdentity[_475]=_478;}if(_478[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_478);}}for(_475 in this._pending._deletedItems){_478=this._pending._deletedItems[_475];if(_478["backupRefs_"+this._reverseRefMap]){_424.forEach(_478["backupRefs_"+this._reverseRefMap],function(_47a){var _47b;if(this._itemsByIdentity){_47b=this._itemsByIdentity[_47a.id];}else{_47b=this._arrayOfAllItems[_47a.id];}this._addReferenceToMap(_47b,_478,_47a.attr);},this);delete _478["backupRefs_"+this._reverseRefMap];}}for(_475 in this._pending._newItems){var _47c=this._pending._newItems[_475];_47c[this._storeRefPropName]=null;this._arrayOfAllItems[_47c[this._itemNumPropName]]=null;if(_47c[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_47c);}if(this._itemsByIdentity){delete this._itemsByIdentity[_475];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _47d=this.getIdentity(item);return new Boolean(this._pending._newItems[_47d]||this._pending._modifiedItems[_47d]||this._pending._deletedItems[_47d]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_47e,_47f,_480){},onNew:function(_481,_482){},onDelete:function(_483){},close:function(_484){if(this.clearOnClose){if(!this.isDirty()){this.inherited(arguments);}else{throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store. Please save or revert the changes before invoking close.");}}}});});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_485,_486){var _487=_486.prototype.onMove;return _485("dojo.dnd.TimedMoveable",_486,{timeout:40,constructor:function(node,_488){if(!_488){_488={};}if(_488.timeout&&typeof _488.timeout=="number"&&_488.timeout>=0){this.timeout=_488.timeout;}},onMoveStop:function(_489){if(_489._timer){clearTimeout(_489._timer);_487.call(this,_489,_489._leftTop);}_486.prototype.onMoveStop.apply(this,arguments);},onMove:function(_48a,_48b){_48a._leftTop=_48b;if(!_48a._timer){var _48c=this;_48a._timer=setTimeout(function(){_48a._timer=null;_487.call(_48c,_48a,_48a._leftTop);},this.timeout);}}});});},"dojo/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_48d,lang,_48e,_48f,_490){var _491=_48d.NodeList;lang.extend(_491,{_anim:function(obj,_492,args){args=args||{};var a=_490.combine(this.map(function(item){var _493={node:item};lang.mixin(_493,args);return obj[_492](_493);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_490,"wipeIn",args);},wipeOut:function(args){return this._anim(_490,"wipeOut",args);},slideTo:function(args){return this._anim(_490,"slideTo",args);},fadeIn:function(args){return this._anim(_48f,"fadeIn",args);},fadeOut:function(args){return this._anim(_48f,"fadeOut",args);},animateProperty:function(args){return this._anim(_48f,"animateProperty",args);},anim:function(_494,_495,_496,_497,_498){var _499=_490.combine(this.map(function(item){return _48f.animateProperty({node:item,properties:_494,duration:_495||350,easing:_496});}));if(_497){_48e.after(_499,"onEnd",_497,true);}return _499.play(_498||0);}});return _491;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_49a,on,_49b,_49c){return _49a("dijit.form._ListMouseMixin",_49c,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_49d){this._setSelectedAttr(_49d,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_49d);});},_onMouseDown:function(evt,_49e){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_49e,false);},_onMouseUp:function(evt,_49f){this._isDragging=false;var _4a0=this.selected;var _4a1=this._hoveredNode;if(_4a0&&_49f==_4a0){this.defer(function(){this._onClick(evt,_4a0);});}else{if(_4a1){this.defer(function(){this._onClick(evt,_4a1);});}}},_onMouseOut:function(evt,_4a2){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_4a3){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_4a3;this.onHover(_4a3);if(this._isDragging){this._setSelectedAttr(_4a3,false);}}});});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_4a4){dojo.cookie=function(name,_4a5,_4a6){var c=document.cookie,ret;if(arguments.length==1){var _4a7=c.match(new RegExp("(?:^|; )"+_4a4.escapeString(name)+"=([^;]*)"));ret=_4a7?decodeURIComponent(_4a7[1]):undefined;}else{_4a6=_4a6||{};var exp=_4a6.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_4a6.expires=d;}if(exp&&exp.toUTCString){_4a6.expires=exp.toUTCString();}_4a5=encodeURIComponent(_4a5);var _4a8=name+"="+_4a5,_4a9;for(_4a9 in _4a6){_4a8+="; "+_4a9;var _4aa=_4a6[_4a9];if(_4aa!==true){_4a8+="="+_4aa;}}document.cookie=_4a8;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_4ab,_4ac,_4ad,lang,_4ae,_4af,_4b0,_4b1){return _4ac("dijit.ProgressBar",[_4af,_4b0],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_4b1,_indeterminateHighContrastImagePath:_4ab.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},_setDirAttr:function(val){var rtl=val.toLowerCase()=="rtl";_4ad.toggle(this.domNode,"dijitProgressBarRtl",rtl);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_4b2){lang.mixin(this,_4b2||{});var tip=this.internalProgress,ap=this.domNode;var _4b3=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_4b3=Math.min(parseFloat(this.progress)/100,1);this.progress=_4b3*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_4b3=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-labelledby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_4b3);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_4b3*100)+"%";this.onChange();},_setValueAttr:function(v){this._set("value",v);if(v==Infinity){this.update({indeterminate:true});}else{this.update({indeterminate:false,progress:v});}},_setLabelAttr:function(_4b4){this._set("label",_4b4);this.update();},_setIndeterminateAttr:function(_4b5){this._set("indeterminate",_4b5);this.update();},report:function(_4b6){return this.label?this.label:(this.indeterminate?" ":_4ae.format(_4b6,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_4b7,win,_4b8){var _4b9=_4b8._createWrapper;_4b8._createWrapper=function(_4ba){if(!_4ba.declaredClass){_4ba={_popupWrapper:(_4ba.parentNode&&_4b7.contains(_4ba.parentNode,"dijitPopup"))?_4ba.parentNode:null,domNode:_4ba,destroy:function(){},ownerDocument:_4ba.ownerDocument,ownerDocumentBody:win.body(_4ba.ownerDocument)};}return _4b9.call(this,_4ba);};var _4bb=_4b8.open;_4b8.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 _4bb.call(this,args);};return _4b8;});},"dojo/promise/all":function(){define(["../_base/array","../_base/lang","../Deferred","../when"],function(_4bc,lang,_4bd,when){"use strict";var some=_4bc.some;return function all(_4be){var _4bf,_4bc;if(lang.isArray(_4be)){_4bc=_4be;}else{if(_4be&&typeof _4be==="object"){_4bf=_4be;}}var _4c0;var _4c1=[];if(_4bf){_4bc=[];for(var key in _4bf){if(Object.hasOwnProperty.call(_4bf,key)){_4c1.push(key);_4bc.push(_4bf[key]);}}_4c0={};}else{if(_4bc){_4c0=[];}}if(!_4bc||!_4bc.length){return new _4bd().resolve(_4c0);}var _4c2=new _4bd();_4c2.promise.always(function(){_4c0=_4c1=null;});var _4c3=_4bc.length;some(_4bc,function(_4c4,_4c5){if(!_4bf){_4c1.push(_4c5);}when(_4c4,function(_4c6){if(!_4c2.isFulfilled()){_4c0[_4c1[_4c5]]=_4c6;if(--_4c3===0){_4c2.resolve(_4c0);}}},_4c2.reject);return _4c2.isFulfilled();});return _4c2.promise;};});},"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_4c7,_4c8,_4c9,_4ca,_4cb,has,i18n,_4cc,_4cd,_4ce,_4cf){var _4d0=_4cd("dijit.ColorPalette",[_4c9,_4ca,_4cb],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_4c8,baseClass:"dijitColorPalette",_dyeFactory:function(_4d1,row,col,_4d2){return new this._dyeClass(_4d1,row,col,_4d2);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_4cd(_4d0._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_4d0._Color=_4cd("dijit._Color",_4cc,{template:""+" "+" ",hcTemplate:""+" "+" ",_imagePaths:{"7x10":_4c7.toUrl("./themes/a11y/colors7x10.png"),"3x4":_4c7.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_4d3,row,col,_4d4){this._title=_4d4;this._row=row;this._col=col;this.setColor(_4cc.named[_4d3]);},getValue:function(){return this.toHex();},fillCell:function(cell,_4d5){var html=_4cf.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_4d5,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_4ce.place(html,cell);}});return _4d0;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4d6=function(){var n=null,_4d7=arguments,uri=[_4d7[0]];for(var i=1;i<_4d7.length;i++){if(!_4d7[i]){continue;}var _4d8=new _4d6(_4d7[i]+""),_4d9=new _4d6(uri[0]+"");if(_4d8.path==""&&!_4d8.scheme&&!_4d8.authority&&!_4d8.query){if(_4d8.fragment!=n){_4d9.fragment=_4d8.fragment;}_4d8=_4d9;}else{if(!_4d8.scheme){_4d8.scheme=_4d9.scheme;if(!_4d8.authority){_4d8.authority=_4d9.authority;if(_4d8.path.charAt(0)!="/"){var path=_4d9.path.substring(0,_4d9.path.lastIndexOf("/")+1)+_4d8.path;var segs=path.split("/");for(var j=0;j0&&!(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;}}}}_4d8.path=segs.join("/");}}}}uri=[];if(_4d8.scheme){uri.push(_4d8.scheme,":");}if(_4d8.authority){uri.push("//",_4d8.authority);}uri.push(_4d8.path);if(_4d8.query){uri.push("?",_4d8.query);}if(_4d8.fragment){uri.push("#",_4d8.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;}};_4d6.prototype.toString=function(){return this.uri;};return dojo._Url=_4d6;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_4da,has,_4db){var _4dc;if(1){_4dc=function(url,sync,load){_4db(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_4da.getText){_4dc=_4da.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _4dd={},_4de=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _4df=text.match(/]*>\s*([\s\S]+)\s*<\/body>/im);if(_4df){text=_4df[1];}}else{text="";}return text;},_4e0={},_4e1={};dojo.cache=function(_4e2,url,_4e3){var key;if(typeof _4e2=="string"){if(/\//.test(_4e2)){key=_4e2;_4e3=url;}else{key=_4da.toUrl(_4e2.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_4e2+"";_4e3=url;}var val=(_4e3!=undefined&&typeof _4e3!="string")?_4e3.value:_4e3,_4e4=_4e3&&_4e3.sanitize;if(typeof val=="string"){_4dd[key]=val;return _4e4?_4de(val):val;}else{if(val===null){delete _4dd[key];return null;}else{if(!(key in _4dd)){_4dc(key,true,function(text){_4dd[key]=text;});}return _4e4?_4de(_4dd[key]):_4dd[key];}}};return {dynamic:true,normalize:function(id,_4e5){var _4e6=id.split("!"),url=_4e6[0];return (/^\./.test(url)?_4e5(url):url)+(_4e6[1]?"!"+_4e6[1]:"");},load:function(id,_4e7,load){var _4e8=id.split("!"),_4e9=_4e8.length>1,_4ea=_4e8[0],url=_4e7.toUrl(_4e8[0]),_4eb="url:"+url,text=_4e0,_4ec=function(text){load(_4e9?_4de(text):text);};if(_4ea in _4dd){text=_4dd[_4ea];}else{if(_4e7.cache&&_4eb in _4e7.cache){text=_4e7.cache[_4eb];}else{if(url in _4dd){text=_4dd[url];}}}if(text===_4e0){if(_4e1[url]){_4e1[url].push(_4ec);}else{var _4ed=_4e1[url]=[_4ec];_4dc(url,!_4e7.async,function(text){_4dd[_4ea]=_4dd[url]=text;for(var i=0;i<_4ed.length;){_4ed[i++](text);}delete _4e1[url];});}}else{_4ec(text);}}};});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_4ee,_4ef,_4f0,_4f1,lang,_4f2,_4f3,_4f4){var _4f5=_4ef("dijit.layout.LayoutContainer",_4f3,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_4ee.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_4f6){this.inherited(arguments);var _4f7=_4f6.region;if(_4f7){_4f0.add(_4f6.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _4f8=_4ee.map(this.getChildren(),function(_4f9,idx){return {pane:_4f9,weight:[_4f9.region=="center"?Infinity:0,_4f9.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_4f9.region)?1:-1),idx]};},this);_4f8.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_51b.x+((_51b.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_50a.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_515;this.onMouseEnter=_518||noop;this.onMouseLeave=_519||noop;},orient:function(node,_51c,_51d,_51e,_51f){this.connectorNode.style.top="";var _520=_51e.h,_521=_51e.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_51c+"-"+_51d];this.domNode.style.width="auto";var size=_509.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _522=Math.min((Math.max(_521,1)),size.w);_509.setMarginBox(this.domNode,{w:_522});if(_51d.charAt(0)=="B"&&_51c.charAt(0)=="B"){var bb=_509.position(node);var _523=this.connectorNode.offsetHeight;if(bb.h>_520){var _524=_520-((_51f.h+_523)>>1);this.connectorNode.style.top=_524+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_51f.h/2-_523/2,0),bb.h-_523)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_521);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_525){if(this._onDeck&&this._onDeck[1]==_525){this._onDeck=null;}else{if(this.aroundNode===_525){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=noop;},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_513.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_506.forEach(node.children,function(_526){this._setAutoTextDir(_526);},this);},_setTextDirAttr:function(_527){this._set("textDir",_527);if(_527=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_512.showTooltip=function(_528,_529,_52a,rtl,_52b,_52c,_52d){if(_52a){_52a=_506.map(_52a,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_51a._masterTT){_512._masterTT=_51a._masterTT=new _513();}return _51a._masterTT.show(_528,_529,_52a,rtl,_52b,_52c,_52d);};_512.hideTooltip=function(_52e){return _51a._masterTT&&_51a._masterTT.hide(_52e);};var _52f="DORMANT",_530="SHOW TIMER",_531="SHOWING",_532="HIDE TIMER";function noop(){};var _51a=_507("dijit.Tooltip",_50e,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_533){_506.forEach(this._connections||[],function(_534){_506.forEach(_534,function(_535){_535.remove();});},this);this._connectIds=_506.filter(lang.isArrayLike(_533)?_533:(_533?[_533]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_506.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_536=this.selector,_537=_536?function(_538){return on.selector(_536,_538);}:function(_539){return _539;},self=this;return [on(node,_537(_50b.enter),function(){self._onHover(this);}),on(node,_537("focusin"),function(){self._onHover(this);}),on(node,_537(_50b.leave),lang.hitch(self,"_onUnHover")),on(node,_537("focusout"),lang.hitch(self,"set","state",_52f))];},this);this._set("connectId",_533);},addTarget:function(node){var id=node.id||node;if(_506.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_506.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_508.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_506.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_52f,_setStateAttr:function(val){if(this.state==val||(val==_530&&this.state==_531)||(val==_532&&this.state==_52f)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _52f:if(this._connectNode){_51a.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _530:if(this.state!=_531){this._showTimer=this.defer(function(){this.set("state",_531);},this.showDelay);}break;case _531:var _53a=this.getContent(this._connectNode);if(!_53a){this.set("state",_52f);return;}_51a.show(_53a,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_531),lang.hitch(this,"set","state",_532));this.onShow(this._connectNode,this.position);break;case _532:this._hideTimer=this.defer(function(){this.set("state",_52f);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_53b){if(this._connectNode&&_53b!=this._connectNode){this.set("state",_52f);}this._connectNode=_53b;this.set("state",_530);},_onUnHover:function(_53c){this.set("state",_532);},open:function(_53d){this.set("state",_52f);this._connectNode=_53d;this.set("state",_531);},close:function(){this.set("state",_52f);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_52f);_506.forEach(this._connections||[],function(_53e){_506.forEach(_53e,function(_53f){_53f.remove();});},this);this.inherited(arguments);}});_51a._MasterTooltip=_513;_51a.show=_512.showTooltip;_51a.hide=_512.hideTooltip;_51a.defaultPosition=["after-centered","before-centered"];return _51a;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_540,lang){var _541=/[&<>'"\/]/g;var _542={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"};var _543={};lang.setObject("dojo.string",_543);_543.escape=function(str){if(!str){return "";}return str.replace(_541,function(c){return _542[c];});};_543.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("");};_543.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_543.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_543.substitute=function(_544,map,_545,_546){_546=_546||_540.global;_545=_545?lang.hitch(_546,_545):function(v){return v;};return _544.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_547,key,_548){if(key==""){return "$";}var _549=lang.getObject(key,false,map);if(_548){_549=lang.getObject(_548,false,_546).call(_546,_549,key);}var _54a=_545(_549,key);if(typeof _54a==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _54a.toString();});};_543.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 _543;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_54b,_54c,_54d){return _54b("dijit.layout.AccordionPane",_54d,{constructor:function(){_54c.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/dijit":function(){define(["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_54e){return _54e;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],function(_54f,_550,lang,_551,_552,_553,_554,_555,_556,_557){return _54f("dijit.form.DropDownButton",[_554,_555,_556],{baseClass:"dijitDropDownButton",templateString:_557,_fillContent:function(){var _558=this.srcNodeRef;var dest=this.containerNode;if(_558&&dest){while(_558.hasChildNodes()){var _559=_558.firstChild;if(_559.hasAttribute&&(_559.hasAttribute("data-dojo-type")||_559.hasAttribute("dojoType")||_559.hasAttribute("data-"+_550._scopeName+"-type")||_559.hasAttribute(_550._scopeName+"Type"))){this.dropDownContainer=this.ownerDocument.createElement("div");this.dropDownContainer.appendChild(_559);}else{dest.appendChild(_559);}}}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){this.dropDown=_552.byNode(this.dropDownContainer.firstChild);delete this.dropDownContainer;}if(this.dropDown){_553.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _55a=this.dropDown;return (!!_55a&&(!_55a.href||_55a.isLoaded));},loadDropDown:function(_55b){var _55c=this.dropDown;var _55d=_55c.on("load",lang.hitch(this,function(){_55d.remove();_55b();}));_55c.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_55e,_55f,keys,lang,on,has,_560){return _55e("dijit.form._FormValueMixin",_560,{readOnly:false,_setReadOnlyAttr:function(_561){if(has("trident")&&"disabled" in this){_55f.set(this.focusNode,"readOnly",_561||this.disabled);}else{_55f.set(this.focusNode,"readOnly",_561);}this._set("readOnly",_561);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_562,_563){this._handleOnChange(_562,_563);},_handleOnChange:function(_564,_565){this._set("value",_564);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);}});});},"dijit/form/_FormWidgetMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],function(_566,_567,_568,_569,lang,_56a,on,has,_56b,a11y){return _567("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(_56c){this._set("disabled",_56c);if(/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)){_568.set(this.focusNode,"disabled",_56c);if(has("trident")&&"readOnly" in this){_568.set(this.focusNode,"readonly",_56c||this.readOnly);}}else{this.focusNode.setAttribute("aria-disabled",_56c?"true":"false");}if(this.valueNode){_568.set(this.valueNode,"disabled",_56c);}if(_56c){this._set("hovering",false);this._set("active",false);var _56d="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_566.forEach(lang.isArray(_56d)?_56d:[_56d],function(_56e){var node=this[_56e];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 _56f=this.own(on(this.focusNode,"focus",function(){_570.remove();_56f.remove();}))[0];var _571=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _570=this.own(on(this.ownerDocumentBody,_571,lang.hitch(this,function(evt){_570.remove();_56f.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_56b.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_569.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 *",this.containerNode).some(function(node){var _596=_590.byNode(node);if(_596&&_596.resize){_594.push(_596);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_595=true;}}});this._singleChild=_594.length==1&&!_595?_594[0]:null;_58c.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_597,_598){this._resizeCalled=true;this._scheduleLayout(_597,_598);},_scheduleLayout:function(_599,_59a){if(this._isShown()){this._layout(_599,_59a);}else{this._needLayout=true;this._changeSize=_599;this._resultSize=_59a;}},_layout:function(_59b,_59c){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_59b){_58d.setMarginBox(this.domNode,_59b);}var cn=this.containerNode;if(cn===this.domNode){var mb=_59c||{};lang.mixin(mb,_59b||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_58d.getMarginBox(cn),mb);}this._contentBox=_592.marginBox2contentBox(cn,mb);}else{this._contentBox=_58d.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_58d.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _59d=this.getChildren(),_59e,i=0;while(_59e=_59d[i++]){if(_59e.resize){_59e.resize();}}}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_59f=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_58c.contains(node,"dijitHidden")&&_59f&&_59f.style&&(_59f.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_5a0,_5a1,_5a2,_5a3){var _5a4=_5a1("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5a5){if(this._hash[_5a5.id]){throw new Error("Tried to register widget with id=="+_5a5.id+" but that id is already registered");}this._hash[_5a5.id]=_5a5;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_5a6){_5a6=_5a6||_5a2.global;var i=0,id;for(id in this._hash){func.call(_5a6,this._hash[id],i++,this._hash);}return this;},filter:function(_5a7,_5a8){_5a8=_5a8||_5a2.global;var res=new _5a4(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_5a7.call(_5a8,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _5a4(),id,_5a9;for(id in this._hash){_5a9=this._hash[id];if(_5a9.declaredClass==cls){res.add(_5a9);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_5aa){return _5a0.map(this.toArray(),func,_5aa);},every:function(func,_5ab){_5ab=_5ab||_5a2.global;var x=0,i;for(i in this._hash){if(!func.call(_5ab,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_5ac){_5ac=_5ac||_5a2.global;var x=0,i;for(i in this._hash){if(func.call(_5ac,this._hash[i],x++,this._hash)){return true;}}return false;}});_5a0.forEach(["forEach","filter","byClass","map","every","some"],function(func){_5a3[func]=_5a4.prototype[func];});return _5a4;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../has","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_5ad,_5ae,lang,dom,_5af,_5b0,has,on,_5b1,_5b2,dnd,_5b3,win){var _5b4;var _5b5=function(){};function _5b6(){if("touchAction" in document.body.style){_5b4="touchAction";}else{if("msTouchAction" in document.body.style){_5b4="msTouchAction";}}_5b5=function _5b5(node,_5b7){node.style[_5b4]=_5b7;};_5b5(arguments[0],arguments[1]);};if(has("touch-action")){_5b5=_5b6;}var _5b8=_5ae("dojo.dnd.Moveable",[_5b0],{handle:"",delay:0,skip:false,constructor:function(node,_5b9){this.node=dom.byId(node);_5b5(this.node,"none");if(!_5b9){_5b9={};}this.handle=_5b9.handle?dom.byId(_5b9.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_5b9.delay>0?_5b9.delay:0;this.skip=_5b9.skip;this.mover=_5b9.mover?_5b9.mover:_5b3;this.events=[on(this.handle,_5b2.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_5ba,node,Ctor){return new Ctor(node,_5ba);},destroy:function(){_5ad.forEach(this.events,function(_5bb){_5bb.remove();});_5b5(this.node,"");this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_5b2.move,lang.hitch(this,"onMouseMove")),on(this.handle.ownerDocument,_5b2.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_5bc){_5b1.publish("/dnd/move/start",_5bc);_5af.add(win.body(),"dojoMove");_5af.add(this.node,"dojoMoveItem");},onMoveStop:function(_5bd){_5b1.publish("/dnd/move/stop",_5bd);_5af.remove(win.body(),"dojoMove");_5af.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_5be,_5bf){this.onMoving(_5be,_5bf);var s=_5be.node.style;s.left=_5bf.l+"px";s.top=_5bf.t+"px";this.onMoved(_5be,_5bf);},onMoving:function(){},onMoved:function(){}});return _5b8;});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_5c0,_5c1,has,keys,lang,on,_5c2,_5c3,_5c4,_5c5,_5c6,_5c7,_5c8){var _5c9=_5c0("dijit.TooltipDialog",[_5c3,_5c6,_5c5,_5c4],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_5c7,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_5ca,_5cb){var newC={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_5ca+"-"+_5cb];_5c1.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_5c2.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _5cc=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_5cc.y+((_5cc.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_5cc.x+((_5cc.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems();if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_5c2.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_5c2.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_5c9.extend({_setTitleAttr:function(_5cd){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_5cd):_5cd;this._set("title",_5cd);},_setTextDirAttr:function(_5ce){if(!this._created||this.textDir!=_5ce){this._set("textDir",_5ce);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _5c9;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_5cf){return function(_5d0,_5d1){switch(typeof _5d0){default:throw new Error("Can not query with a "+typeof _5d0);case "object":case "undefined":var _5d2=_5d0;_5d0=function(_5d3){for(var key in _5d2){var _5d4=_5d2[key];if(_5d4&&_5d4.test){if(!_5d4.test(_5d3[key],_5d3)){return false;}}else{if(_5d4!=_5d3[key]){return false;}}}return true;};break;case "string":if(!this[_5d0]){throw new Error("No filter function "+_5d0+" was found in store");}_5d0=this[_5d0];case "function":}function _5d5(_5d6){var _5d7=_5cf.filter(_5d6,_5d0);var _5d8=_5d1&&_5d1.sort;if(_5d8){_5d7.sort(typeof _5d8=="function"?_5d8:function(a,b){for(var sort,i=0;sort=_5d8[i];i++){var _5d9=a[sort.attribute];var _5da=b[sort.attribute];_5d9=_5d9!=null?_5d9.valueOf():_5d9;_5da=_5da!=null?_5da.valueOf():_5da;if(_5d9!=_5da){return !!sort.descending==(_5d9==null||_5d9>_5da)?-1:1;}}return 0;});}if(_5d1&&(_5d1.start||_5d1.count)){var _5db=_5d7.length;_5d7=_5d7.slice(_5d1.start||0,(_5d1.start||0)+(_5d1.count||Infinity));_5d7.total=_5db;}return _5d7;};_5d5.matches=_5d0;return _5d5;};});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_5dc,_5dd,lang,on,has,_5de){var _5df=(_5de.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,_5e0,node,_5e1,obj,_5e2,_5e3,_5e4){if(obj!=this._obj){this.stop();this._initialDelay=_5e3||500;this._subsequentDelay=_5e2||0.9;this._minDelay=_5e4||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_5e0,_5e1);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,_5e5,_5e6,_5e7,_5e8,_5e9,_5ea){var type="keyCode" in _5e5?"keydown":"charCode" in _5e5?"keypress":_5dd._keypress,attr="keyCode" in _5e5?"keyCode":"charCode" in _5e5?"charCode":"charOrCode";var _5eb=[on(node,type,lang.hitch(this,function(evt){if(evt[attr]==_5e5[attr]&&(_5e5.ctrlKey===undefined||_5e5.ctrlKey==evt.ctrlKey)&&(_5e5.altKey===undefined||_5e5.altKey==evt.altKey)&&(_5e5.metaKey===undefined||_5e5.metaKey==(evt.metaKey||false))&&(_5e5.shiftKey===undefined||_5e5.shiftKey==evt.shiftKey)){evt.stopPropagation();evt.preventDefault();_5df.trigger(evt,_5e6,node,_5e7,_5e5,_5e8,_5e9,_5ea);}else{if(_5df._obj==_5e5){_5df.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_5df._obj==_5e5){_5df.stop();}}))];return {remove:function(){_5dc.forEach(_5eb,function(h){h.remove();});}};},addMouseListener:function(node,_5ec,_5ed,_5ee,_5ef,_5f0){var _5f1=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_5df.trigger(evt,_5ec,node,_5ed,node,_5ee,_5ef,_5f0);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_5df.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_5df.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_5df.trigger(evt,_5ec,node,_5ed,node,_5ee,_5ef,_5f0);setTimeout(lang.hitch(this,_5df.stop),50);}}))];return {remove:function(){_5dc.forEach(_5f1,function(h){h.remove();});}};},addListener:function(_5f2,_5f3,_5f4,_5f5,_5f6,_5f7,_5f8,_5f9){var _5fa=[this.addKeyListener(_5f3,_5f4,_5f5,_5f6,_5f7,_5f8,_5f9),this.addMouseListener(_5f2,_5f5,_5f6,_5f7,_5f8,_5f9)];return {remove:function(){_5dc.forEach(_5fa,function(h){h.remove();});}};}});return _5df;});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_5fb,dom,_5fc,_5fd,_5fe,has,lang,_5ff,_600,_601,_602,_603){var _604=_5fb("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_5ff,_600,_601,_602],{templateString:_603,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _605="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_605=val.charAt(ndx+1);var _606=val.substr(0,ndx);var _607=val.substr(ndx+3);text=_606+_605+_607;val=_606+""+_607;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_605);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_608){if(_608&&!("label" in this.params)){this._set("label",_608.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _609=this.id+"_text";_5fc.set(this.containerNode,"id",_609);if(this.accelKeyNode){_5fc.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_setSelected:function(_60a){_5fd.toggle(this.domNode,"dijitMenuItemSelected",_60a);},setLabel:function(_60b){_5fe.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_60b);},setDisabled:function(_60c){_5fe.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_60c);},_setDisabledAttr:function(_60d){this.focusNode.setAttribute("aria-disabled",_60d?"true":"false");this._set("disabled",_60d);},_setAccelKeyAttr:function(_60e){if(this.accelKeyNode){this.accelKeyNode.style.display=_60e?"":"none";this.accelKeyNode.innerHTML=_60e;_5fc.set(this.containerNode,"colSpan",_60e?"1":"2");}this._set("accelKey",_60e);}});if(has("dojo-bidi")){_604=_5fb("dijit.MenuItem",_604,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _604;});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_60f,dom,_610,_611,has,i18n,lang,_612,_613,Menu,_614,_615){var _616=_60f("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_612.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_615,_setNameAttr:"focusNode",scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_611.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _617=i18n.getLocalization("dijit","common");if(this.closeNode){_610.set(this.closeNode,"title",_617.itemClose);}}},_setDisabledAttr:function(_618){this.inherited(arguments);if(this.closeNode){if(_618){_610.remove(this.closeNode,"title");}else{var _619=i18n.getLocalization("dijit","common");_610.set(this.closeNode,"title",_619.itemClose);}}},_setLabelAttr:function(_61a){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_616=_60f("dijit.layout._TabButton",_616,{_setLabelAttr:function(_61b){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _61c=_60f("dijit.layout.TabController",_612,{baseClass:"dijitTabController",templateString:"
",tabPosition:"top",buttonWidget:_616,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _61d=new Menu({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(node){return _611.contains(node,"dijitClosable")&&!_611.contains(node,"dijitTabDisabled");}});this.own(_61d);var _61e=i18n.getLocalization("dijit","common"),_61f=this;_61d.addChild(new _614({label:_61e.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _620=_613.byNode(this.getParent().currentTarget);_61f.onCloseButtonClick(_620.page);}}));}});_61c.TabButton=_616;return _61c;});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_621,dom,_622,_623){return _621("dijit.ToolbarSeparator",[_622,_623],{templateString:"
",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/layout/_LayoutWidget":function(){define(["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_624,_625,_626,_627,_628,_629,_62a,_62b){return _628("dijit.layout._LayoutWidget",[_624,_625,_626],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);_629.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _62c=this.getParent&&this.getParent();if(!(_62c&&_62c.isLayoutContainer)){this.resize();this.own(_627.on("resize",lang.hitch(this,"resize")));}},resize:function(_62d,_62e){var node=this.domNode;if(_62d){_62a.setMarginBox(node,_62d);}var mb=_62e||{};lang.mixin(mb,_62d||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_62a.getMarginBox(node),mb);}var cs=_62b.getComputedStyle(node);var me=_62a.getMarginExtents(node,cs);var be=_62a.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_62a.getPadExtents(node,cs);this._contentBox={l:_62b.toPixelValue(node,cs.paddingLeft),t:_62b.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_62f){var cls=this.baseClass+"-child "+(_62f.baseClass?this.baseClass+"-"+_62f.baseClass:"");_629.add(_62f.domNode,cls);},addChild:function(_630,_631){this.inherited(arguments);if(this._started){this._setupChild(_630);}},removeChild:function(_632){var cls=this.baseClass+"-child"+(_632.baseClass?" "+this.baseClass+"-"+_632.baseClass:"");_629.remove(_632.domNode,cls);this.inherited(arguments);}});});},"dijit/popup":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],function(_633,_634,_635,dom,_636,_637,_638,_639,has,keys,lang,on,_63a,_63b,_63c,_63d){function _63e(){if(this._popupWrapper){_637.destroy(this._popupWrapper);delete this._popupWrapper;}};var _63f=_635(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _640=this._firstAroundPosition,_641=_638.position(this._firstAroundNode,true),dx=_641.x-_640.x,dy=_641.y-_640.y;if(dx||dy){this._firstAroundPosition=_641;for(var i=0;i0&&_64a[pi].parent===_64a[pi-1].widget;pi--){}return _64a[pi];},open:function(args){var _64b=this._stack,_64c=args.popup,node=_64c.domNode,_64d=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_638.isBodyLtr(_64c.ownerDocument),_64e=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_64b.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_64b[_64b.length-1].widget.domNode))){this.close(_64b[_64b.length-1].widget);}var _64f=this.moveOffScreen(_64c);if(_64c.startup&&!_64c._started){_64c.startup();}var _650,_651=_638.position(node);if("maxHeight" in args&&args.maxHeight!=-1){_650=args.maxHeight||Infinity;}else{var _652=_63c.getEffectiveBox(this.ownerDocument),_653=_64e?_638.position(_64e,false):{y:args.y-(args.padding||0),h:(args.padding||0)*2};_650=Math.floor(Math.max(_653.y,_652.h-(_653.y+_653.h)));}if(_651.h>_650){var cs=_639.getComputedStyle(node),_654=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_639.set(_64f,{overflowY:"scroll",height:_650+"px",border:_654});node._originalStyle=node.style.cssText;node.style.border="none";}_636.set(_64f,{id:id,style:{zIndex:this._beginZIndex+_64b.length},"class":"dijitPopup "+(_64c.baseClass||_64c["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(_64b.length==0&&_64e){this._firstAroundNode=_64e;this._firstAroundPosition=_638.position(_64e,true);this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_64c.bgIframe){_64c.bgIframe=new _63b(_64f);}var _655=_64c.orient?lang.hitch(_64c,"orient"):null,best=_64e?_63a.around(_64f,_64e,_64d,ltr,_655):_63a.at(_64f,args,_64d=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding,_655);_64f.style.visibility="visible";node.style.visibility="visible";var _656=[];_656.push(on(_64f,"keydown",lang.hitch(this,function(evt){if(evt.keyCode==keys.ESCAPE&&args.onCancel){evt.stopPropagation();evt.preventDefault();args.onCancel();}else{if(evt.keyCode==keys.TAB){evt.stopPropagation();evt.preventDefault();var _657=this.getTopPopup();if(_657&&_657.onCancel){_657.onCancel();}}}})));if(_64c.onCancel&&args.onCancel){_656.push(_64c.on("cancel",args.onCancel));}_656.push(_64c.on(_64c.onExecute?"execute":"change",lang.hitch(this,function(){var _658=this.getTopPopup();if(_658&&_658.onExecute){_658.onExecute();}})));_64b.push({widget:_64c,wrapper:_64f,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_656});if(_64c.onOpen){_64c.onOpen(best);}return best;},close:function(_659){var _65a=this._stack;while((_659&&_633.some(_65a,function(elem){return elem.widget==_659;}))||(!_659&&_65a.length)){var top=_65a.pop(),_65b=top.widget,_65c=top.onClose;if(_65b.bgIframe){_65b.bgIframe.destroy();delete _65b.bgIframe;}if(_65b.onClose){_65b.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_65b&&_65b.domNode){this.hide(_65b);}if(_65c){_65c();}}if(_65a.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_63d.popup=new _63f());});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_65d,_65e,lang,_65f,_660){var _661={};_65d.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_661[name]=_65f[name];});lang.mixin(_661,{defaultDuration:_65e["defaultDuration"]||200});lang.mixin(_660,_661);return _660;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],function(_662,_663,_664,_665,keys,lang,on,_666,_667,_668,_669,_66a,_66b,_66c){var _66d=_663("dijit.layout._StackButton",_66c,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _66e=_663("dijit.layout.StackController",[_669,_66a,_66b],{baseClass:"dijitStackController",templateString:" ",containerId:"",buttonWidget:_66d,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _668.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_666.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_666.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_666.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_666.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_666.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _66f=_668.getEnclosingWidget(evt.target);if(_66f!=this.containerNode&&!_66f.disabled&&_66f.page){for(var _670=evt.target;_670!==this.containerNode;_670=_670.parentNode){if(_664.contains(_670,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_66f.page);break;}else{if(_670==_66f.domNode){this.onButtonClick(_66f.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_662.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _671=_668.byId(this.containerId).containerNode,_672=lang.hitch(this,"pane2button"),_673={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_674=function(attr,_675){return on(_671,"attrmodified-"+attr,function(evt){var _676=_672(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_676){_676.set(_675,evt.detail.newValue);}});};for(var attr in _673){this.own(_674(attr,_673[attr]));}},destroy:function(_677){this.destroyDescendants(_677);this.inherited(arguments);},onAddChild:function(page,_678){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _679=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_679,_678);page.controlButton=_679;if(!this._currentChild){this.onSelectChild(page);}var _67a=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_679.id:_679.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_67a);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _67b=this.pane2button(page.id);if(_67b){this.removeChild(_67b);_67b.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _67c=this.pane2button(this._currentChild.id);_67c.set("checked",false);_67c.focusNode.setAttribute("tabIndex","-1");}var _67d=this.pane2button(page.id);_67d.set("checked",true);this._currentChild=page;_67d.focusNode.setAttribute("tabIndex","0");var _67e=_668.byId(this.containerId);},onButtonClick:function(page){var _67f=this.pane2button(page.id);_667.focus(_67f.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_67f.set("checked",true);}var _680=_668.byId(this.containerId);_680.selectChild(page);},onCloseButtonClick:function(page){var _681=_668.byId(this.containerId);_681.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_667.focus(b.focusNode||b.domNode);}}},adjacent:function(_682){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_682=!_682;}var _683=this.getChildren();var idx=_662.indexOf(_683,this.pane2button(this._currentChild.id)),_684=_683[idx];var _685;do{idx=(idx+(_682?1:_683.length-1))%_683.length;_685=_683[idx];}while(_685.disabled&&_685!=_684);return _685;},onkeydown:function(e,_686){if(this.disabled||e.altKey){return;}var _687=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_687=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_687=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_687=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_687=true;}break;case keys.HOME:var _688=this.getChildren();for(var idx=0;idx<_688.length;idx++){var _689=_688[idx];if(!_689.disabled){this.onButtonClick(_689.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _688=this.getChildren();for(var idx=_688.length-1;idx>=0;idx--){var _689=_688[idx];if(!_689.disabled){this.onButtonClick(_689.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_687!==null){this.onButtonClick(this.adjacent(_687).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_66e.StackButton=_66d;return _66e;});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_68a,_68b,lang,has,win,dom,_68c,_68d,_68e,on,_68f,dnd,_690){return _68b("dojo.dnd.Mover",[_68e],{constructor:function(node,e,host){this.node=dom.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;function _691(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_68f.move,lang.hitch(this,"onFirstMove")),on(d,_68f.move,lang.hitch(this,"onMouseMove")),on(d,_68f.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_691),on(d.body,"selectstart",_691)];_690.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_690.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_68c.getMarginBox(this.node);var b=win.doc.body;var bs=_68d.getComputedStyle(b);var bm=_68c.getMarginBox(b,bs);var bc=_68c.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_68a.forEach(this.events,function(_692){_692.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/request/default":function(){define(["exports","require","../has"],function(_693,_694,has){var _695=has("config-requestProvider"),_696;if(1||has("host-webworker")){_696="./xhr";}else{if(0){_696="./node";}}if(!_695){_695=_696;}_693.getPlatformDefaultId=function(){return _696;};_693.load=function(id,_697,_698,_699){_694([id=="platform"?_696:_695],function(_69a){_698(_69a);});};});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_69b,_69c,_69d,_69e){return _69b("dijit.layout.TabContainer",_69c,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_69f){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_69d=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _69d({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_69f);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_69e:_69d;}}});});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_6a0,_6a1,_6a2,_6a3,_6a4,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _6a5=new function(){var _6a6=[];this.pop=function(){var _6a7;if(_6a6.length){_6a7=_6a6.pop();_6a7.style.display="";}else{if(has("ie")<9){var burl=_6a2["dojoBlankHtmlUrl"]||_6a0.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html=" ",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],function(_73e,_73f,_740,_741,_742,has,lang,on,_743,_744,when,_745,_746,_747){if(has("dijit-legacy-requires")){_743(0,function(){var _748=["dijit/layout/StackController"];require(_748);});}var _749=_740("dijit.layout.StackContainer",_747,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_741.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _74a=this.getChildren();_73e.forEach(_74a,this._setupChild,this);if(this.persist){this.selectedChildWidget=_745.byId(_73f(this.id+"_selectedChild"));}else{_73e.some(_74a,function(_74b){if(_74b.selected){this.selectedChildWidget=_74b;}return _74b.selected;},this);}var _74c=this.selectedChildWidget;if(!_74c&&_74a[0]){_74c=this.selectedChildWidget=_74a[0];_74c.selected=true;}_744.publish(this.id+"-startup",{children:_74a,selected:_74c,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _74d=this.selectedChildWidget;if(_74d){this._showChild(_74d);}}this.inherited(arguments);},_setupChild:function(_74e){var _74f=_74e.domNode,_750=_742.place("
",_74e.domNode,"replace"),_751=_74e["aria-label"]||_74e.title||_74e.label;if(_751){_750.setAttribute("aria-label",_751);}_742.place(_74f,_750);_74e._wrapper=_750;this.inherited(arguments);if(_74f.style.display=="none"){_74f.style.display="block";}_74e.domNode.removeAttribute("title");},addChild:function(_752,_753){this.inherited(arguments);if(this._started){_744.publish(this.id+"-addChild",_752,_753);this.layout();if(!this.selectedChildWidget){this.selectChild(_752);}}},removeChild:function(page){var idx=_73e.indexOf(this.getChildren(),page);this.inherited(arguments);_742.destroy(page._wrapper);delete page._wrapper;if(this._started){_744.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _754=this.getChildren();if(_754.length){this.selectChild(_754[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_755){var d;page=_745.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_755);this._set("selectedChildWidget",page);_744.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_73f(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_756,_757){if(_757){this._hideChild(_757);}var d=this._showChild(_756);if(_756.resize){if(this.doLayout){_756.resize(this._containerContentBox||this._contentBox);}else{_756.resize();}}return d;},_adjacent:function(_758){var _759=this.getChildren();var _75a=_73e.indexOf(_759,this.selectedChildWidget);_75a+=_758?1:_759.length-1;return _759[_75a%_759.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_744.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _75b=this.selectedChildWidget;if(_75b&&_75b.resize){if(this.doLayout){_75b.resize(this._containerContentBox||this._contentBox);}else{_75b.resize();}}},_showChild:function(page){var _75c=this.getChildren();page.isFirstChild=(page==_75c[0]);page.isLastChild=(page==_75c[_75c.length-1]);page._set("selected",true);if(page._wrapper){_741.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_741.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _75d=!page.onClose||page.onClose(this,page);if(_75d){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_75e){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_73e.forEach(this.getChildren(),function(_75f){if(!_75e){this.removeChild(_75f);}_75f.destroyRecursive(_75e);},this);this._descendantsBeingDestroyed=false;}});_749.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_746,_749.ChildWidgetProperties);return _749;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _760={};lang.setObject("dojo.regexp",_760);_760.escapeString=function(str,_761){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_761&&_761.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_760.buildGroupRE=function(arr,re,_762){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i
=0?"Error":_782.indexOf(_792,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_793){this._descendants=this._getDescendantFormWidgets();_782.forEach(this._descendants,function(_794){if(!_794._started){_794.startup();}});if(!_793){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_795,_796){this.onValidStateChange(_796=="");});},destroy:function(){this.inherited(arguments);}});});},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_797,_798){var _799={};lang.setObject("dojo.data.util.simpleFetch",_799);_799.errorHandler=function(_79a,_79b){if(_79b.onError){var _79c=_79b.scope||_797.global;_79b.onError.call(_79c,_79a,_79b);}};_799.fetchHandler=function(_79d,_79e){var _79f=_79e.abort||null,_7a0=false,_7a1=_79e.start?_79e.start:0,_7a2=(_79e.count&&(_79e.count!==Infinity))?(_7a1+_79e.count):_79d.length;_79e.abort=function(){_7a0=true;if(_79f){_79f.call(_79e);}};var _7a3=_79e.scope||_797.global;if(!_79e.store){_79e.store=this;}if(_79e.onBegin){_79e.onBegin.call(_7a3,_79d.length,_79e);}if(_79e.sort){_79d.sort(_798.createSortFunction(_79e.sort,this));}if(_79e.onItem){for(var i=_7a1;(i<_79d.length)&&(i<_7a2);++i){var item=_79d[i];if(!_7a0){_79e.onItem.call(_7a3,item,_79e);}}}if(_79e.onComplete&&!_7a0){var _7a4=null;if(!_79e.onItem){_7a4=_79d.slice(_7a1,_7a2);}_79e.onComplete.call(_7a3,_7a4,_79e);}};_799.fetch=function(_7a5){_7a5=_7a5||{};if(!_7a5.store){_7a5.store=this;}this._fetchItems(_7a5,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _7a5;};return _799;});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_7a6,_7a7,_7a8,dom,_7a9,_7aa,_7ab,keys,lang,on,has,win,_7ac,pm,_7ad,_7ae){if(has("dijit-legacy-requires")){_7ae(0,function(){var _7af=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_7a6(_7af);});}return _7a8("dijit.Menu",_7ad,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_7a7.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_7b0){return _7ac.get(this._iframeContentDocument(_7b0))||this._iframeContentDocument(_7b0)["__parent__"]||(_7b0.name&&document.frames[_7b0.name])||null;},_iframeContentDocument:function(_7b1){return _7b1.contentDocument||(_7b1.contentWindow&&_7b1.contentWindow.document)||(_7b1.name&&document.frames[_7b1.name]&&document.frames[_7b1.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _7b2=node,_7b3=this._iframeContentWindow(_7b2);cn=win.body(_7b3.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _7b4={node:node,iframe:_7b2};_7a9.set(node,"_dijitMenu"+this.id,this._bindings.push(_7b4));var _7b5=lang.hitch(this,function(cn){var _7b6=this.selector,_7b7=_7b6?function(_7b8){return on.selector(_7b6,_7b8);}:function(_7b9){return _7b9;},self=this;return [on(cn,_7b7(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime() ${loadingState}",errorMessage:" ${errorState} ",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,markupFactory:function(_7db,node,ctor){var self=new ctor(_7db,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_7dc,_7dd){if((!_7dc||!_7dc.template)&&_7dd&&!("href" in _7dc)&&!("content" in _7dc)){_7dd=dom.byId(_7dd);var df=_7dd.ownerDocument.createDocumentFragment();while(_7dd.firstChild){df.appendChild(_7dd.firstChild);}_7dc=lang.delegate(_7dc,{content:df});}this.inherited(arguments,[_7dc,_7dd]);},postMixInProperties:function(){this.inherited(arguments);var _7de=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_7d5.substitute(this.loadingMessage,_7de);this.errorMessage=_7d5.substitute(this.errorMessage,_7de);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_7d6.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_7d6.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_7d6.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_7d1.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_7d1.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_7df){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _7e0={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_7e0,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_7e0)),_7e1;hand.then(function(html){_7e1=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _7e1;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_7e2){if(this.isLoaded){this._onUnloadHandler();}var _7e3=this._contentSetter;_7d6.forEach(this.getChildren(),function(_7e4){if(_7e4.destroyRecursive){_7e4.destroyRecursive(_7e2);}else{if(_7e4.destroy){_7e4.destroy(_7e2);}}_7e4._destroyed=true;});if(_7e3){_7d6.forEach(_7e3.parseResults,function(_7e5){if(!_7e5._destroyed){if(_7e5.destroyRecursive){_7e5.destroyRecursive(_7e2);}else{if(_7e5.destroy){_7e5.destroy(_7e2);}}_7e5._destroyed=true;}});delete _7e3.parseResults;}if(!_7e2){_7da.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_7e6){cont=this.preprocessContent(cont);this.destroyDescendants();var _7e7=this._contentSetter;if(!(_7e7&&_7e7 instanceof html._ContentSetter)){_7e7=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _7e8=this.onContentError(e);try{this.containerNode.innerHTML=_7e8;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _7e9=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_7e7.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_7e9);var self=this;return when(p&&p.then?p:_7e7.parseDeferred,function(){delete self._contentSetterParams;if(!_7e6){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},preprocessContent:function(_7ea){return _7ea;},_onError:function(type,err,_7eb){this.onLoadDeferred.reject(err);var _7ec=this["on"+type+"Error"].call(this,err);if(_7eb){console.error(_7eb,err);}else{if(_7ec){this._setContent(_7ec,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_7ed,_7ee,_7ef,_7f0,keys,lang,_7f1,_7f2,_7f3,_7f4){return _7ee("dijit._KeyNavContainer",[_7f3,_7f4,_7f2],{connectKeyNavHandlers:function(_7f5,_7f6){var _7f7=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_7ed.forEach(_7f5,function(code){_7f7[code]=prev;});_7ed.forEach(_7f6,function(code){_7f7[code]=next;});_7f7[keys.HOME]=lang.hitch(this,"focusFirstChild");_7f7[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_7f0.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_7ed.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_7f8,_7f9){this.inherited(arguments);this._startupChild(_7f8);},_startupChild:function(_7fa){_7fa.set("tabIndex","-1");},_getFirst:function(){var _7fb=this.getChildren();return _7fb.length?_7fb[0]:null;},_getLast:function(){var _7fc=this.getChildren();return _7fc.length?_7fc[_7fc.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(node){var node=_7f1.byNode(node);return node&&node.getParent()==this;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_7fd,_7fe,_7ff,_800,lang){function _801(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_802,dim){var _803=_802.resize?_802.resize(dim):_7ff.setMarginBox(_802.domNode,dim);if(_803){lang.mixin(_802,_803);}else{lang.mixin(_802,_7ff.getMarginBox(_802.domNode));lang.mixin(_802,dim);}};var _804={marginBox2contentBox:function(node,mb){var cs=_800.getComputedStyle(node);var me=_7ff.getMarginExtents(node,cs);var pb=_7ff.getPadBorderExtents(node,cs);return {l:_800.toPixelValue(node,cs.paddingLeft),t:_800.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_805,dim,_806,_807,_808){dim=lang.mixin({},dim);_7fe.add(_805,"dijitLayoutContainer");_806=_7fd.filter(_806,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_7fd.filter(_806,function(item){return item.region=="center"||item.layoutAlign=="client";}));_7fd.forEach(_806,function(_809){var elm=_809.domNode,pos=(_809.region||_809.layoutAlign);if(!pos){throw new Error("No region setting for "+_809.id);}var _80a=elm.style;_80a.left=dim.l+"px";_80a.top=dim.t+"px";_80a.position="absolute";_7fe.add(elm,"dijitAlign"+_801(pos));var _80b={};if(_807&&_807==_809.id){_80b[_809.region=="top"||_809.region=="bottom"?"h":"w"]=_808;}if(pos=="leading"){pos=_809.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_809.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_80b.w=dim.w;size(_809,_80b);dim.h-=_809.h;if(pos=="top"){dim.t+=_809.h;}else{_80a.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_80b.h=dim.h;size(_809,_80b);dim.w-=_809.w;if(pos=="left"){dim.l+=_809.w;}else{_80a.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_809,dim);}}}});}};lang.setObject("dijit.layout.utils",_804);return _804;});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_80c,_80d){return _80c("dijit._Contained",null,{_getSibling:function(_80e){var p=this.getParent();return (p&&p._getSiblingOfChild&&p._getSiblingOfChild(this,_80e=="previous"?-1:1))||null;},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/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_80f,dom,lang,_810,_811,_812){function _813(_814){return {id:_814.value,value:_814.value,name:lang.trim(_814.innerText||_814.textContent||"")};};return _80f("dijit.form.DataList",_811,{constructor:function(_815,_816){this.domNode=dom.byId(_816);lang.mixin(this,_815);if(this.id){_812.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_810("option",this.domNode).map(_813)}]);},destroy:function(){_812.remove(this.id);},fetchSelectedItem:function(){var _817=_810("> option[selected]",this.domNode)[0]||_810("> option",this.domNode)[0];return _817&&_813(_817);}});});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_818,_819,_81a,has,_81b,_81c,_81d,_81e,_81f){if(has("dijit-legacy-requires")){_81c(0,function(){var _820=["dijit/form/RadioButton"];_818(_820);});}return _819("dijit.form.CheckBox",[_81d,_81e],{templateString:_81f,baseClass:"dijitCheckBox",_setValueAttr:function(_821,_822){if(typeof _821=="string"){this.inherited(arguments);_821=true;}if(this._created){this.set("checked",_821,_822);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_81b("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_81b("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dnd/common","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_823,_824,_825,lang,_826,dom,_827,on,_828,_829,_82a){return _824("dijit.tree._dndSelector",_82a,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_828.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_828.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_828.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_829.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_829.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _82b=[],sel=this.selection;for(var i in sel){_82b.push(sel[i]);}return _82b;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_82c){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_82c){this.anchor=node;}return node;},removeTreeNode:function(node){var _82d=_823.filter(this.getSelectedTreeNodes(),function(_82e){return !dom.isDescendant(_82e.domNode,node.domNode);});this.setSelection(_82d);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_82f){var _830=this.getSelectedTreeNodes();_823.forEach(this._setDifference(_830,_82f),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_823.forEach(this._setDifference(_82f,_830),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_823.forEach(ys,function(y){y.__exclude__=true;});var ret=_823.filter(xs,function(x){return !x.__exclude__;});_823.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _831=this.getSelectedTreeNodes();var _832=[],_833=[];_823.forEach(_831,function(node){var ary=node.getTreePath();_833.push(node);_832.push(ary);},this);var _834=_823.map(_833,function(node){return node.item;});this.tree._set("paths",_832);this.tree._set("path",_832[0]||[]);this.tree._set("selectedNodes",_833);this.tree._set("selectedNode",_833[0]||null);this.tree._set("selectedItems",_834);this.tree._set("selectedItem",_834[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_827.isLeft(e)){e.preventDefault();}var _835=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_835){return;}var copy=_826.getCopyKeyState(e),id=_835.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_835,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_826.getCopyKeyState(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_836,_837){if(this.singular){if(this.anchor==node&&_836){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_837&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_838,end,_839=this.anchor;if(cr<0){_838=_839;end=node;}else{_838=node;end=_839;}var _83a=[];while(_838!=end){_83a.push(_838);_838=this.tree._getNext(_838);}_83a.push(end);this.setSelection(_83a);}else{if(this.selection[node.id]&&_836){this.removeTreeNode(node);}else{if(_836){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _83b=this.selection[key];return {data:_83b,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_825.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_83c,_83d,_83e,_83f){return _83d("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_840,_841){var _842=this.containerNode;if(_841>0){_842=_842.firstChild;while(_841>0){if(_842.nodeType==1){_841--;}_842=_842.nextSibling;}if(_842){_841="before";}else{_842=this.containerNode;_841="last";}}_83e.place(_840.domNode,_842,_841);if(this._started&&!_840._started){_840.startup();}},removeChild:function(_843){if(typeof _843=="number"){_843=this.getChildren()[_843];}if(_843){var node=_843.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_844,dir){var _845=this.getChildren(),idx=_83c.indexOf(_845,_844);return _845[idx+dir];},getIndexOfChild:function(_846){return _83c.indexOf(this.getChildren(),_846);}});});},"dojo/data/ItemFileReadStore":function(){define(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_847,lang,_848,_849,xhr,_84a,_84b,_84c,_84d){var _84e=_848("dojo.data.ItemFileReadStore",[_84a],{constructor:function(_84f){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_84f.url;this._ccUrl=_84f.url;this.url=_84f.url;this._jsonData=_84f.data;this.data=null;this._datatypeMap=_84f.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_850){return _84d.fromISOString(_850);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_84f.urlPreventCache!==undefined){this.urlPreventCache=_84f.urlPreventCache?true:false;}if(_84f.hierarchical!==undefined){this.hierarchical=_84f.hierarchical?true:false;}if(_84f.clearOnClose){this.clearOnClose=true;}if("failOk" in _84f){this.failOk=_84f.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_851){if(typeof _851!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_852,_853){var _854=this.getValues(item,_852);return (_854.length>0)?_854[0]:_853;},getValues:function(item,_855){this._assertIsItem(item);this._assertIsAttribute(_855);return (item[_855]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _856=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_856.push(key);}}return _856;},hasAttribute:function(item,_857){this._assertIsItem(item);this._assertIsAttribute(_857);return (_857 in item);},containsValue:function(item,_858,_859){var _85a=undefined;if(typeof _859==="string"){_85a=_84b.patternToRegExp(_859,false);}return this._containsValue(item,_858,_859,_85a);},_containsValue:function(item,_85b,_85c,_85d){return _849.some(this.getValues(item,_85b),function(_85e){if(_85e!==null&&!lang.isObject(_85e)&&_85d){if(_85e.toString().match(_85d)){return true;}}else{if(_85c===_85e){return true;}}});},isItem:function(_85f){if(_85f&&_85f[this._storeRefPropName]===this){if(this._arrayOfAllItems[_85f[this._itemNumPropName]]===_85f){return true;}}return false;},isItemLoaded:function(_860){return this.isItem(_860);},loadItem:function(_861){this._assertIsItem(_861.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_862,_863,_864){var _865=[],i,key;if(_862.query){var _866,_867=_862.queryOptions?_862.queryOptions.ignoreCase:false;var _868={};for(key in _862.query){_866=_862.query[key];if(typeof _866==="string"){_868[key]=_84b.patternToRegExp(_866,_867);}else{if(_866 instanceof RegExp){_868[key]=_866;}}}for(i=0;i<_863.length;++i){var _869=true;var _86a=_863[i];if(_86a===null){_869=false;}else{for(key in _862.query){_866=_862.query[key];if(!this._containsValue(_86a,key,_866,_868[key])){_869=false;}}}if(_869){_865.push(_86a);}}_864(_865,_862);}else{for(i=0;i<_863.length;++i){var item=_863[i];if(item!==null){_865.push(item);}}_864(_865,_862);}},_fetchItems:function(_86b,_86c,_86d){var self=this;if(this._loadFinished){this.filter(_86b,this._getItemsArray(_86b.queryOptions),_86c);}else{if(this._jsonFileUrl!==this._ccUrl){_847.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_86b,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_86c)});}else{this._loadInProgress=true;var _86e={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _86f=xhr.get(_86e);_86f.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_86b,self._getItemsArray(_86b.queryOptions),_86c);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_86d(e,_86b);}});_86f.addErrback(function(_870){self._loadInProgress=false;_86d(_870,_86b);});var _871=null;if(_86b.abort){_871=_86b.abort;}_86b.abort=function(){var df=_86f;if(df&&df.fired===-1){df.cancel();df=null;}if(_871){_871.call(_86b);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_86b,this._getItemsArray(_86b.queryOptions),_86c);}catch(e){_86d(e,_86b);}}else{_86d(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_86b);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i]+>|]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_8a1.empty,_setNodeContent:function(node,cont){_8a1.empty(node);if(cont){if(typeof cont=="number"){cont=cont.toString();}if(typeof cont=="string"){cont=_8a1.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _8a4=cont.length,i=0;i]*>\s*([\s\S]+)\s*<\/body>/im);if(_8a8){cont=_8a8[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_8a9){var _8aa={},key;for(key in _8a9){if(key in _8aa){continue;}this[key]=_8a9[key];}},_parse:function(){var _8ab=this.node;try{var _8ac={};_89f.forEach(["dir","lang","textDir"],function(name){if(this[name]){_8ac[name]=this[name];}},this);var self=this;this.parseDeferred=_8a2.parse({rootNode:_8ab,noStart:!this.startup,inherited:_8ac,scope:this.parserScope}).then(function(_8ad){return self.parseResults=_8ad;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+self.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_8ae){var _8af=this["on"+type+"Error"].call(this,err);if(_8ae){console.error(_8ae,err);}else{if(_8af){html._setNodeContent(this.node,_8af,true);}}}}),set:function(node,cont,_8b0){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(typeof cont=="number"){cont=cont.toString();}if(!_8b0){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_8b0,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","./_CssStateMixin","./a11yclick","./focus","./typematic"],function(_8b1,_8b2,_8b3,_8b4,keys,lang,on,_8b5,_8b6,_8b7,_8b8){var _8b9=_8b1("dijit._PaletteMixin",_8b5,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_8ba){var _8bb=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _8bb(_8ba);},_preparePalette:function(_8bc,_8bd){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_8b6,lang.hitch(this,"_onCellClick")));for(var row=0;row<_8bc.length;row++){var _8be=_8b4.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_8bc[row].length;col++){var _8bf=_8bc[row][col];if(_8bf){var _8c0=this._dyeFactory(_8bf,row,col,_8bd[_8bf]);var _8c1=_8b4.create("td",{"class":this.cellClass,tabIndex:"-1",title:_8bd[_8bf],role:"gridcell"},_8be);_8c0.fillCell(_8c1,url);_8c1.idx=this._cells.length;this._cells.push({node:_8c1,dye:_8c0});}}}this._xDim=_8bc[0].length;this._yDim=_8bc.length;var _8c2={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _8c2){this.own(_8b8.addKeyListener(this.domNode,{keyCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _8c3=_8c2[key];return function(_8c4){this._navigateByKey(_8c3,_8c4);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_8b7.focus(this._currentFocus);},_onCellClick:function(evt){var _8c5=evt.target;while(_8c5.tagName!="TD"){if(!_8c5.parentNode||_8c5==this.gridNode){return;}_8c5=_8c5.parentNode;}var _8c6=this._getDye(_8c5).getValue();this._setCurrent(_8c5);_8b7.focus(_8c5);this._setValueAttr(_8c6,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(node){if("_currentFocus" in this){_8b2.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_8b2.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_8c7,_8c8){if(this._selectedCell>=0){_8b3.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_8c7){for(var i=0;i=0?_8c7:null);if(_8c8||_8c8===undefined){this.onChange(_8c7);}},onChange:function(){},_navigateByKey:function(_8c9,_8ca){if(_8ca==-1){return;}var _8cb=this._currentFocus.idx+_8c9;if(_8cb-1){var _8cc=this._cells[_8cb].node;this._setCurrent(_8cc);this.defer(lang.hitch(_8b7,"focus",_8cc));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});return _8b9;});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_8cd,_8ce,lang,i18n,_8cf,_8d0,_8d1){var _8d2=_8cd("dijit.form.ValidationTextBox",_8cf,{templateString:_8d1,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_8d3){if(_8d3!=_8d2.prototype[attr]){_8ce.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_8d3);}},_setRegExpGenAttr:function(_8d4){this._deprecateRegExp("regExpGen",_8d4);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_8d5){this._deprecateRegExp("regExp",_8d5);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_8d6,_8d7){return (new RegExp("^(?:"+this._computeRegexp(_8d7)+")"+(this.required?"":"?")+"$")).test(_8d6)&&(!this.required||!this._isEmpty(_8d6))&&(this._isEmpty(_8d6)||this.parse(_8d6,_8d7)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_8d8){return (this.trim?/^\s*$/:/^$/).test(_8d8);},getErrorMessage:function(){var _8d9=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _8da=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_8d9:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_8da:_8d9;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_8db){var _8dc="";var _8dd=this.disabled||this.isValid(_8db);if(_8dd){this._maskValidSubsetError=true;}var _8de=this._isEmpty(this.textbox.value);var _8df=!_8dd&&_8db&&this._isValidSubset();this._set("state",_8dd?"":(((((!this._hasBeenBlurred||_8db)&&_8de)||_8df)&&(this._maskValidSubsetError||(_8df&&!this._hasBeenBlurred&&_8db)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_8db&&_8df;_8dc=this.getErrorMessage(_8db);}else{if(this.state=="Incomplete"){_8dc=this.getPromptMessage(_8db);this._maskValidSubsetError=!this._hasBeenBlurred||_8db;}else{if(_8de){_8dc=this.getPromptMessage(_8db);}}}this.set("message",_8dc);return _8dd;},displayMessage:function(_8e0){if(_8e0&&this.focused){_8d0.show(_8e0,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_8d0.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_8e1){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_8e2){if(!_8e2.locale&&this.lang){_8e2.locale=this.lang;}this._set("constraints",_8e2);this._refreshState();},_setPatternAttr:function(_8e3){this._set("pattern",_8e3);this._refreshState();},_computeRegexp:function(_8e4){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_8e4);}if(p!=this._lastRegExp){var _8e5="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_8e5+=re;break;case ")":_8e5+="|$)";break;default:_8e5+="(?:"+re+"|$)";break;}});}try{"".search(_8e5);}catch(e){_8e5=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_8e5+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_8e6){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_8e7){this._set("required",_8e7);this.focusNode.setAttribute("aria-required",_8e7);this._refreshState();},_setMessageAttr:function(_8e8){this._set("message",_8e8);this.displayMessage(_8e8);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_8d0.hide(this.domNode);this.inherited(arguments);}});return _8d2;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_8e9,dom,lang,has,_8ea,_8eb){var _8ec=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _8ed="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _8ee=oSel.getRangeAt(0);if((_8ee.startContainer==_8ee.endContainer)&&((_8ee.endOffset-_8ee.startOffset)==1)&&(_8ee.startContainer.nodeType!=3)){_8ed="control";}}return _8ed;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _8ef=win.getSelection();return _8ef?_8ef.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _8f0=win.getSelection();if(_8f0&&_8f0.rangeCount){var i;var html="";for(i=0;i<_8f0.rangeCount;i++){var frag=_8f0.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _8f1=win.getSelection();return _8f1.anchorNode.childNodes[_8f1.anchorOffset];}else{var _8f2=doc.selection.createRange();if(_8f2&&_8f2.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _8f3=doc.getSelection();if(_8f3){var node=_8f3.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_8f4){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_8f5){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _8f6=node.tagName.toLowerCase();for(var i=0;i0){_904=sel.getRangeAt(0);}if(_904&&_904.compareBoundaryPoints&&doc.createRange){try{_903=doc.createRange();_903.setStart(node,0);if(_904.compareBoundaryPoints(_904.START_TO_END,_903)===1){return true;}}catch(e){}}}else{_904=doc.selection.createRange();try{_903=node.ownerDocument.body.createTextRange();_903.moveToElementText(node);}catch(e2){}if(_904&&_903){if(_904.compareEndPoints("EndToStart",_903)===1){return true;}}}}return false;};this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_8eb.curNode;if(doc.getSelection){sel=win.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
",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_90a.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _915=_908(this._cookieName);if(_915){this.child.domNode.style[this.horizontal?"height":"width"]=_915;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_916=_90c.getMarginBox(this.child.domNode)[dim],_917=_907.filter(this.container.getChildren(),function(_918){return _918.region=="center";})[0];var _919=_90c.getContentBox(_917.domNode)[dim]-10;return Math.min(this.child.maxSize,_916+_919);},_startDrag:function(e){if(!this.cover){this.cover=_90b.place("
",this.child.domNode,"after");}_90a.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_90b.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_90a.add(this.domNode,"dijitSplitterShadow");_90b.place(this.fake,this.domNode,"after");}_90a.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_90a.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _91a=this._factor,_91b=this.horizontal,axis=_91b?"pageY":"pageX",_91c=e[axis],_91d=this.domNode.style,dim=_91b?"h":"w",_91e=_90d.getComputedStyle(this.child.domNode),_91f=_90c.getMarginBox(this.child.domNode,_91e)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_90c.getPadBorderExtents(this.child.domNode,_91e)[dim]+10),_920=this.region,_921=_920=="top"||_920=="bottom"?"top":"left",_922=parseInt(_91d[_921],10),_923=this._resize,_924=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_90e.move,this._drag=function(e,_925){var _926=e[axis]-_91c,_927=_91a*_926+_91f,_928=Math.max(Math.min(_927,max),min);if(_923||_925){_924(_928);}_91d[_921]=_926+_922+_91a*(_928-_927)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_90e.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_90a.toggle(this.domNode,"dijitSplitterHover",o);_90a.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_90a.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_90b.destroy(this.fake);}_90a.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_908(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _929=this.horizontal;var tick=1;switch(e.keyCode){case _929?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _929?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _92a=_90c.getMarginSize(this.child.domNode)[_929?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_92a,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _92b=_909("dijit.layout._Gutter",[_910,_911],{templateString:"
",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_90a.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _92c=_909("dijit.layout.BorderContainer",_912,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_914,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_92d){this.inherited(arguments);var _92e=_92d.region,ltr=_92d.isLeftToRight();if(_92e=="leading"){_92e=ltr?"left":"right";}if(_92e=="trailing"){_92e=ltr?"right":"left";}if(_92e){if(_92e!="center"&&(_92d.splitter||this.gutters)&&!_92d._splitterWidget){var _92f=_92d.splitter?this._splitterClass:_92b;if(lang.isString(_92f)){_92f=lang.getObject(_92f);}var _930=new _92f({id:_92d.id+"_splitter",container:this,child:_92d,region:_92e,live:this.liveSplitters});_930.isSplitter=true;_92d._splitterWidget=_930;var _931=_92e=="bottom"||_92e==(this.isLeftToRight()?"right":"left");_90b.place(_930.domNode,_92d.domNode,_931?"before":"after");_930.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_932){var _933=_932._splitterWidget;if(_933){_933.destroy();delete _932._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _907.filter(this.inherited(arguments),function(_934){return !_934.isSplitter;});},getSplitter:function(_935){return _907.filter(this.getChildren(),function(_936){return _936.region==_935;})[0]._splitterWidget;},resize:function(_937,_938){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_90d.getComputedStyle(node);this.pe=_90c.getPadExtents(node,this.cs);this.pe.r=_90d.toPixelValue(node,this.cs.paddingRight);this.pe.b=_90d.toPixelValue(node,this.cs.paddingBottom);_90d.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_939,_93a){if(!this._borderBox||!this._borderBox.h){return;}var _93b=[];_907.forEach(this._getOrderedChildren(),function(pane){_93b.push(pane);if(pane._splitterWidget){_93b.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_913.layoutChildren(this.domNode,dim,_93b,_939,_93a);},destroyRecursive:function(){_907.forEach(this.getChildren(),function(_93c){var _93d=_93c._splitterWidget;if(_93d){_93d.destroy();}delete _93c._splitterWidget;});this.inherited(arguments);}});_92c.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_92c.ChildWidgetProperties,_912.ChildWidgetProperties);lang.extend(_90f,_92c.ChildWidgetProperties);_92c._Splitter=_914;_92c._Gutter=_92b;return _92c;});},"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_93e){return _93e._base;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_93f,dom,geom,_940,_941){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_93f.body(doc),_942=_941.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_941.create("div",{style:{overflow:"hidden",direction:"ltr"}},_942,"last"),ret=geom.position(div).x!=0;_942.removeChild(div);body.removeChild(_942);return ret;});has.add("position-fixed-support",function(win,doc){var body=_93f.body(doc),_943=_941.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_944=_941.create("span",{style:{position:"fixed",left:"0",top:"0"}},_943,"last"),ret=geom.position(_944).x!=geom.position(_943).x;_943.removeChild(_944);body.removeChild(_943);return ret;});var _945={getBox:function(doc){doc=doc||_93f.doc;var _946=(doc.compatMode=="BackCompat")?_93f.body(doc):doc.documentElement,_947=geom.docScroll(doc),w,h;if(has("touch")){var _948=_945.get(doc);w=_948.innerWidth||_946.clientWidth;h=_948.innerHeight||_946.clientHeight;}else{w=_946.clientWidth;h=_946.clientHeight;}return {l:_947.x,t:_947.y,w:w,h:h};},get:function(doc){if(has("ie")&&_945!==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||_93f.doc,body=_93f.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie")||has("trident"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _949=doc.compatMode=="BackCompat",_94a=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_94b=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_94c=(isWK||_949)?body:html,_94d=pos||geom.position(node),el=node.parentNode,_94e=function(el){return (isIE<=6||(isIE==7&&_949))?false:(has("position-fixed-support")&&(_940.get(el,"position").toLowerCase()=="fixed"));},self=this,_94f=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_94e(node)){return;}while(el){if(el==body){el=_94c;}var _950=geom.position(el),_951=_94e(el),rtl=_940.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_94c){_950.w=_94a;_950.h=_94b;if(_94c==html&&(isIE||has("trident"))&&rtl){_950.x+=_94c.offsetWidth-_950.w;}_950.x=0;_950.y=0;}else{var pb=geom.getPadBorderExtents(el);_950.w-=pb.w;_950.h-=pb.h;_950.x+=pb.l;_950.y+=pb.t;var _952=el.clientWidth,_953=_950.w-_952;if(_952>0&&_953>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_950.x+=_953;}_950.w=_952;}_952=el.clientHeight;_953=_950.h-_952;if(_952>0&&_953>0){_950.h=_952;}}if(_951){if(_950.y<0){_950.h+=_950.y;_950.y=0;}if(_950.x<0){_950.w+=_950.x;_950.x=0;}if(_950.y+_950.h>_94b){_950.h=_94b-_950.y;}if(_950.x+_950.w>_94a){_950.w=_94a-_950.x;}}var l=_94d.x-_950.x,t=_94d.y-_950.y,r=l+_94d.w-_950.w,bot=t+_94d.h-_950.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_94c||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_949)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_94f(el,s,0);s=el.scrollLeft-old;_94d.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_94c||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_94f(el,0,s);s=el.scrollTop-old;_94d.y-=s;}el=(el!=_94c)&&!_951&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_945);return _945;});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_954,_955,_956){var _957={};lang.setObject("dojo.number",_957);_957.format=function(_958,_959){_959=lang.mixin({},_959||{});var _95a=i18n.normalizeLocale(_959.locale),_95b=i18n.getLocalization("dojo.cldr","number",_95a);_959.customs=_95b;var _95c=_959.pattern||_95b[(_959.type||"decimal")+"Format"];if(isNaN(_958)||Math.abs(_958)==Infinity){return null;}return _957._applyPattern(_958,_95c,_959);};_957._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_957._applyPattern=function(_95d,_95e,_95f){_95f=_95f||{};var _960=_95f.customs.group,_961=_95f.customs.decimal,_962=_95e.split(";"),_963=_962[0];_95e=_962[(_95d<0)?1:0]||("-"+_963);if(_95e.indexOf("%")!=-1){_95d*=100;}else{if(_95e.indexOf("‰")!=-1){_95d*=1000;}else{if(_95e.indexOf("¤")!=-1){_960=_95f.customs.currencyGroup||_960;_961=_95f.customs.currencyDecimal||_961;_95e=_95e.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(_964,_965,_966,_967){var prop=["symbol","currency","displayName"][_966.length-1],_968=_95f[prop]||_95f.currency||"";if(!_968){return "";}return _965+_968+_967;});}else{if(_95e.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _969=_957._numberPatternRE;var _96a=_963.match(_969);if(!_96a){throw new Error("unable to find a number expression in pattern: "+_95e);}if(_95f.fractional===false){_95f.places=0;}return _95e.replace(_969,_957._formatAbsolute(_95d,_96a[0],{decimal:_961,group:_960,places:_95f.places,round:_95f.round}));};_957.round=function(_96b,_96c,_96d){var _96e=10/(_96d||10);return (_96e*+_96b).toFixed(_96c)/_96e;};if((0.9).toFixed()==0){var _96f=_957.round;_957.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _96f(v,p,m)+(v>0?d:-d);};}_957._formatAbsolute=function(_970,_971,_972){_972=_972||{};if(_972.places===true){_972.places=0;}if(_972.places===Infinity){_972.places=6;}var _973=_971.split("."),_974=typeof _972.places=="string"&&_972.places.indexOf(","),_975=_972.places;if(_974){_975=_972.places.substring(_974+1);}else{if(!(_975>=0)){_975=(_973[1]||[]).length;}}if(!(_972.round<0)){_970=_957.round(_970,_975,_972.round);}var _976=String(Math.abs(_970)).split("."),_977=_976[1]||"";if(_973[1]||_972.places){if(_974){_972.places=_972.places.substring(0,_974);}var pad=_972.places!==undefined?_972.places:(_973[1]&&_973[1].lastIndexOf("0")+1);if(pad>_977.length){_976[1]=_955.pad(_977,pad,"0",true);}if(_975<_977.length){_976[1]=_977.substr(0,_975);}}else{if(_976[1]){_976.pop();}}var _978=_973[0].replace(",","");pad=_978.indexOf("0");if(pad!=-1){pad=_978.length-pad;if(pad>_976[0].length){_976[0]=_955.pad(_976[0],pad);}if(_978.indexOf("#")==-1){_976[0]=_976[0].substr(_976[0].length-pad);}}var _979=_973[0].lastIndexOf(","),_97a,_97b;if(_979!=-1){_97a=_973[0].length-_979-1;var _97c=_973[0].substr(0,_979);_979=_97c.lastIndexOf(",");if(_979!=-1){_97b=_97c.length-_979-1;}}var _97d=[];for(var _97e=_976[0];_97e;){var off=_97e.length-_97a;_97d.push((off>0)?_97e.substr(off):_97e);_97e=(off>0)?_97e.slice(0,off):"";if(_97b){_97a=_97b;_97b=undefined;}}_976[0]=_97d.reverse().join(_972.group||",");return _976.join(_972.decimal||".");};_957.regexp=function(_97f){return _957._parseInfo(_97f).regexp;};_957._parseInfo=function(_980){_980=_980||{};var _981=i18n.normalizeLocale(_980.locale),_982=i18n.getLocalization("dojo.cldr","number",_981),_983=_980.pattern||_982[(_980.type||"decimal")+"Format"],_984=_982.group,_985=_982.decimal,_986=1;if(_983.indexOf("%")!=-1){_986/=100;}else{if(_983.indexOf("‰")!=-1){_986/=1000;}else{var _987=_983.indexOf("¤")!=-1;if(_987){_984=_982.currencyGroup||_984;_985=_982.currencyDecimal||_985;}}}var _988=_983.split(";");if(_988.length==1){_988.push("-"+_988[0]);}var re=_956.buildGroupRE(_988,function(_989){_989="(?:"+_956.escapeString(_989,".")+")";return _989.replace(_957._numberPatternRE,function(_98a){var _98b={signed:false,separator:_980.strict?_984:[_984,""],fractional:_980.fractional,decimal:_985,exponent:false},_98c=_98a.split("."),_98d=_980.places;if(_98c.length==1&&_986!=1){_98c[1]="###";}if(_98c.length==1||_98d===0){_98b.fractional=false;}else{if(_98d===undefined){_98d=_980.pattern?_98c[1].lastIndexOf("0")+1:Infinity;}if(_98d&&_980.fractional==undefined){_98b.fractional=true;}if(!_980.places&&(_98d<_98c[1].length)){_98d+=","+_98c[1].length;}_98b.places=_98d;}var _98e=_98c[0].split(",");if(_98e.length>1){_98b.groupSize=_98e.pop().length;if(_98e.length>1){_98b.groupSize2=_98e.pop().length;}}return "("+_957._realNumberRegexp(_98b)+")";});},true);if(_987){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_98f,_990,_991,_992){var prop=["symbol","currency","displayName"][_991.length-1],_993=_956.escapeString(_980[prop]||_980.currency||"");if(!_993){return "";}_990=_990?"[\\s\\xa0]":"";_992=_992?"[\\s\\xa0]":"";if(!_980.strict){if(_990){_990+="*";}if(_992){_992+="*";}return "(?:"+_990+_993+_992+")?";}return _990+_993+_992;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_984,decimal:_985,factor:_986};};_957.parse=function(_994,_995){var info=_957._parseInfo(_995),_996=(new RegExp("^"+info.regexp+"$")).exec(_994);if(!_996){return NaN;}var _997=_996[1];if(!_996[1]){if(!_996[2]){return NaN;}_997=_996[2];info.factor*=-1;}_997=_997.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _997*info.factor;};_957._realNumberRegexp=function(_998){_998=_998||{};if(!("places" in _998)){_998.places=Infinity;}if(typeof _998.decimal!="string"){_998.decimal=".";}if(!("fractional" in _998)||/^0/.test(_998.places)){_998.fractional=[true,false];}if(!("exponent" in _998)){_998.exponent=[true,false];}if(!("eSigned" in _998)){_998.eSigned=[true,false];}var _999=_957._integerRegexp(_998),_99a=_956.buildGroupRE(_998.fractional,function(q){var re="";if(q&&(_998.places!==0)){re="\\"+_998.decimal;if(_998.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_998.places+"}";}}return re;},true);var _99b=_956.buildGroupRE(_998.exponent,function(q){if(q){return "([eE]"+_957._integerRegexp({signed:_998.eSigned})+")";}return "";});var _99c=_999+_99a;if(_99a){_99c="(?:(?:"+_99c+")|(?:"+_99a+"))";}return _99c+_99b;};_957._integerRegexp=function(_99d){_99d=_99d||{};if(!("signed" in _99d)){_99d.signed=[true,false];}if(!("separator" in _99d)){_99d.separator="";}else{if(!("groupSize" in _99d)){_99d.groupSize=3;}}var _99e=_956.buildGroupRE(_99d.signed,function(q){return q?"[-+]":"";},true);var _99f=_956.buildGroupRE(_99d.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_956.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_99d.groupSize,grp2=_99d.groupSize2;if(grp2){var _9a0="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_9a0+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_9a0;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _99e+_99f;};return _957;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_9a1,_9a2,_9a3,lang){lang.extend(_9a2,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _9a3("dijit._FocusMixin",null,{_focusManager:_9a1});});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _9a4={};lang.setObject("dojo.data.util.filter",_9a4);_9a4.patternToRegExp=function(_9a5,_9a6){var rxp="^";var c=null;for(var i=0;i<_9a5.length;i++){c=_9a5.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_9a5.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_9a6){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _9a4;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_9a7,_9a8,_9a9,lang,_9aa){return _9a9("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var node=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_9aa.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(lang.hitch(this,function(_9ab){this._startupWidgets=_9ab;for(var i=0;i<_9ab.length;i++){this._processTemplateNode(_9ab[i],function(n,p){return n[p];},function(_9ac,type,_9ad){if(type in _9ac){return _9ac.connect(_9ac,type,_9ad);}else{return _9ac.on(type,_9ad,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");}}},_processTemplateNode:function(_9ae,_9af,_9b0){if(_9af(_9ae,"dojoType")||_9af(_9ae,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_9a7.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(lang,_9b1,_9b2,_9b3){return _9b1("dojo.fx.Toggler",null,{node:null,showFunc:_9b2.fadeIn,hideFunc:_9b2.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _9b4=this;lang.mixin(_9b4,args);_9b4.node=args.node;_9b4._showArgs=lang.mixin({},args);_9b4._showArgs.node=_9b4.node;_9b4._showArgs.duration=_9b4.showDuration;_9b4.showAnim=_9b4.showFunc(_9b4._showArgs);_9b4._hideArgs=lang.mixin({},args);_9b4._hideArgs.node=_9b4.node;_9b4._hideArgs.duration=_9b4.hideDuration;_9b4.hideAnim=_9b4.hideFunc(_9b4._hideArgs);_9b3.after(_9b4.showAnim,"beforeBegin",lang.hitch(_9b4.hideAnim,"stop",true),true);_9b3.after(_9b4.hideAnim,"beforeBegin",lang.hitch(_9b4.showAnim,"stop",true),true);},show:function(_9b5){return this.showAnim.play(_9b5||0);},hide:function(_9b6){return this.hideAnim.play(_9b6||0);}});});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_9b7,lang,when,_9b8,_9b9){return _9b7("dijit.form.FilteringSelect",[_9b8,_9b9],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_9ba,_9bb,_9bc,_9bd){if((_9bb&&_9bb[this.searchAttr]!==this._lastQuery)||(!_9bb&&_9ba.length&&this.store.getIdentity(_9ba[0])!=this._lastQuery)){return;}if(!_9ba.length){this.set("value","",_9bd||(_9bd===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_9ba[0],_9bd);}},_openResultList:function(_9be,_9bf,_9c0){if(_9bf[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_9c1,_9c2,_9c3,item){if(!this._onChangeActive){_9c2=null;}if(item===undefined){if(_9c1===null||_9c1===""){_9c1="";if(!lang.isString(_9c3)){this._setDisplayedValueAttr(_9c3||"",_9c2);return;}}var self=this;this._lastQuery=_9c1;when(this.store.get(_9c1),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_9c2);});}else{this.valueNode.value=_9c1;this.inherited(arguments,[_9c1,_9c2,_9c3,item]);}},_setItemAttr:function(item,_9c4,_9c5){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_9c6,_9c7){if(_9c6==null){_9c6="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_9c7=false;}if(this.store){this.closeDropDown();var _9c8=lang.clone(this.query);var qs=this._getDisplayQueryString(_9c6),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_9c8[this.searchAttr]=q;this.textbox.value=_9c6;this._lastDisplayedValue=_9c6;this._set("displayedValue",_9c6);var _9c9=this;var _9ca={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_9ca,this.fetchProperties);this._fetchHandle=this.store.query(_9c8,_9ca);when(this._fetchHandle,function(_9cb){_9c9._fetchHandle=null;_9c9._callbackSetLabel(_9cb||[],_9c8,_9ca,_9c7);},function(err){_9c9._fetchHandle=null;if(!_9c9._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _9cc={};lang.setObject("dojo.data.util.sorter",_9cc);_9cc.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_9cc.createSortFunction=function(_9cd,_9ce){var _9cf=[];function _9d0(attr,dir,comp,s){return function(_9d1,_9d2){var a=s.getValue(_9d1,attr);var b=s.getValue(_9d2,attr);return dir*comp(a,b);};};var _9d3;var map=_9ce.comparatorMap;var bc=_9cc.basicComparator;for(var i=0;i<_9cd.length;i++){_9d3=_9cd[i];var attr=_9d3.attribute;if(attr){var dir=(_9d3.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_9cf.push(_9d0(attr,dir,comp,_9ce));}}return function(rowA,rowB){var i=0;while(i<_9cf.length){var ret=_9cf[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _9cc;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_9d4,dom,has,_9d5){var _9d6=_9d4("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _9d7=e.defaultPrevented;if(!_9d7&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _9d8=_9d5.byNode(node);if(_9d8&&typeof _9d8._onSubmit=="function"){_9d8._onSubmit(e);e.preventDefault();_9d7=true;break;}}}return !_9d7;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_9d9){this._set("label",_9d9);var _9da=this.containerNode||this.focusNode;_9da.innerHTML=_9d9;this.onLabelSet();},onLabelSet:function(){}});if(has("dojo-bidi")){_9d6=_9d4("dijit.form._ButtonMixin",_9d6,{onLabelSet:function(){this.inherited(arguments);var _9db=this.containerNode||this.focusNode;this.applyTextDir(_9db);}});}return _9d6;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_9dc,_9dd){var _9de={};lang.setObject("dojo.colors",_9de);var _9df=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_9dc.fromRgb=function(_9e0,obj){var m=_9e0.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_9dd.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _9dc.fromArray(a,obj);}return _9dc.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_9df(m1,m2,H+1/3)*256,_9df(m1,m2,H)*256,_9df(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _9dc.fromArray(a,obj);}}return null;};var _9e1=function(c,low,high){c=Number(c);return isNaN(c)?high:c
high?high:c;};_9dc.prototype.sanitize=function(){var t=this;t.r=Math.round(_9e1(t.r,0,255));t.g=Math.round(_9e1(t.g,0,255));t.b=Math.round(_9e1(t.b,0,255));t.a=_9e1(t.a,0,1);return this;};_9de.makeGrey=_9dc.makeGrey=function(g,a){return _9dc.fromArray([g,g,g,a]);};lang.mixin(_9dc.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _9dc;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_9e2,win,_9e3){var _9e4={},hash={};var _9e5={length:0,add:function(_9e6){if(hash[_9e6.id]){throw new Error("Tried to register widget with id=="+_9e6.id+" but that id is already registered");}hash[_9e6.id]=_9e6;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(_9e7){var id;do{id=_9e7+"_"+(_9e7 in _9e4?++_9e4[_9e7]:_9e4[_9e7]=0);}while(hash[id]);return _9e3._scopeName=="dijit"?id:_9e3._scopeName+"_"+id;},findWidgets:function(root,_9e8){var _9e9=[];function _9ea(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _9eb=node.getAttribute("widgetId");if(_9eb){var _9ec=hash[_9eb];if(_9ec){_9e9.push(_9ec);}}else{if(node!==_9e8){_9ea(node);}}}}};_9ea(root);return _9e9;},_destroyAll:function(){_9e3._curFocus=null;_9e3._prevFocus=null;_9e3._activeStack=[];_9e2.forEach(_9e5.findWidgets(win.body()),function(_9ed){if(!_9ed._destroyed){if(_9ed.destroyRecursive){_9ed.destroyRecursive();}else{if(_9ed.destroy){_9ed.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};_9e3.registry=_9e5;return _9e5;});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/touch"],function(_9ee,_9ef,_9f0,lang,on,_9f1){return _9ef("dijit.tree._dndContainer",null,{constructor:function(tree,_9f2){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_9f2);this.containerState="";_9f0.add(this.node,"dojoDndContainer");this.events=[on(this.node,_9f1.enter,lang.hitch(this,"onOverEvent")),on(this.node,_9f1.leave,lang.hitch(this,"onOutEvent")),_9ee.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_9ee.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_9f3){this.current=_9f3;},onMouseOut:function(){this.current=null;},_changeState:function(type,_9f4){var _9f5="dojoDnd"+type;var _9f6=type.toLowerCase()+"State";_9f0.replace(this.node,_9f5+_9f4,_9f5+this[_9f6]);this[_9f6]=_9f4;},_addItemClass:function(node,type){_9f0.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_9f0.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_9f7,lang,_9f8){var _9f9={hasWaiRole:function(elem,role){var _9fa=this.getWaiRole(elem);return role?(_9fa.indexOf(role)>-1):(_9fa.length>0);},getWaiRole:function(elem){return lang.trim((_9f7.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_9f7.set(elem,"role",role);},removeWaiRole:function(elem,role){var _9fb=_9f7.get(elem,"role");if(!_9fb){return;}if(role){var t=lang.trim((" "+_9fb+" ").replace(" "+role+" "," "));_9f7.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_9fc){return elem.hasAttribute?elem.hasAttribute("aria-"+_9fc):!!elem.getAttribute("aria-"+_9fc);},getWaiState:function(elem,_9fd){return elem.getAttribute("aria-"+_9fd)||"";},setWaiState:function(elem,_9fe,_9ff){elem.setAttribute("aria-"+_9fe,_9ff);},removeWaiState:function(elem,_a00){elem.removeAttribute("aria-"+_a00);}};lang.mixin(_9f8,_9f9);return _9f8;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_a01,_a02,_a03,_a04,_a05,dom,_a06,_a07,lang,_a08,when,_a09,_a0a){var _a0b=_a05("dijit.form._FormSelectWidget",_a0a,{multiple:false,options:null,store:null,_setStoreAttr:function(val){if(this._created){this._deprecatedSetStore(val);}},query:null,_setQueryAttr:function(_a0c){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_a0c});}},queryOptions:null,_setQueryOptionsAttr:function(_a0d){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_a0d});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_a0e){var opts=this.options||[];if(_a0e==null){return opts;}if(lang.isArrayLike(_a0e)){return _a01.map(_a0e,"return this.getOptions(item);",this);}if(lang.isString(_a0e)){_a0e={value:_a0e};}if(lang.isObject(_a0e)){if(!_a01.some(opts,function(_a0f,idx){for(var a in _a0e){if(!(a in _a0f)||_a0f[a]!=_a0e[a]){return false;}}_a0e=idx;return true;})){_a0e=-1;}}if(_a0e>=0&&_a0eb[_a28]?1:b[_a28]>a[_a28]?-1:0;});}}if(_a1b.onFetch){_a27=_a1b.onFetch.call(this,_a27,_a1b);}_a01.forEach(_a27,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_a29,_a2a,_a2b){if(_a2a==_a2b){this._onSetItem(_a29);}else{if(_a2a!=-1){this._onDeleteItem(_a29);}if(_a2b!=-1){this._onNewItem(_a29);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_a1a);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_a27);}this.onLoadDeferred.resolve(true);this.onSetStore();}),lang.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _a1c;},_setValueAttr:function(_a2c,_a2d){if(!this._onChangeActive){_a2d=null;}if(this._loadingStore){this._pendingValue=_a2c;return;}if(_a2c==null){return;}if(lang.isArrayLike(_a2c)){_a2c=_a01.map(_a2c,function(_a2e){return lang.isObject(_a2e)?_a2e:{value:_a2e};});}else{if(lang.isObject(_a2c)){_a2c=[_a2c];}else{_a2c=[{value:_a2c}];}}_a2c=_a01.filter(this.getOptions(_a2c),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_a2c[0]||!_a2c[0].value)&&!!opts.length){_a2c[0]=opts[0];}_a01.forEach(opts,function(opt){opt.selected=_a01.some(_a2c,function(v){return v.value===opt.value;});});var val=_a01.map(_a2c,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_a01.map(_a2c,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_a2d]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_a01.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_a2f){this.set("value",this.getOptions(typeof _a2f=="string"?{label:_a2f}:_a2f));},_loadChildren:function(){if(this._loadingStore){return;}_a01.forEach(this._getChildren(),function(_a30){_a30.destroyRecursive();});_a01.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_a01.forEach(this._getChildren(),function(_a31){var _a32=_a01.some(val,function(v){return _a31.option&&(v===_a31.option.value);});if(_a32&&!self.multiple){self.focusedChild=_a31;}_a06.toggle(_a31.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_a32);_a31.domNode.setAttribute("aria-selected",_a32?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_a01.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _a01.map(_a01.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_a33){if(!_a33||!_a33.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _a34=this.store;this.removeOption({value:_a34.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _a35=this.store,_a36=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_a35.getLabel(item),_a37=(_a36?_a35.getIdentity(item):null);return {value:_a37,label:_a36,item:item};},_addOptionForItem:function(item){var _a38=this.store;if(_a38.isItemLoaded&&!_a38.isItemLoaded(item)){_a38.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _a39=this._getOptionObjForItem(item);this.addOption(_a39);},constructor:function(_a3a){this._oValue=(_a3a||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_a08("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_a07._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_a03.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _a3b=this.store;if(_a3b&&(_a3b.getIdentity||_a3b.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_a3b,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _a0b;});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_a3c,_a3d,_a3e,_a3f,_a40,i18n,keys,lang,on,has,_a41,_a42,_a43,_a44,_a45,_a46,_a47,_a48,_a49){var _a4a=_a3d("dijit.form._SelectMenu",_a43,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _a4b=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_a3c.forEach(this.parentWidget._getChildren(),function(_a4c){if(_a4c.option&&(val===_a4c.option.value)){_a4b=true;this.focusChild(_a4c,false);}},this);}if(!_a4b){this.inherited(arguments);}}});var _a4d=_a3d("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_a41,_a42,_a47],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_a49,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:" ",_isLoaded:false,_childrenLoaded:false,labelType:"html",_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _a4a({id:this.id+"_menu",parentWidget:this});_a3f.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_a4e){if(!_a4e.value&&!_a4e.label){return new _a45({ownerDocument:this.ownerDocument});}else{var _a4f=lang.hitch(this,"_setValueAttr",_a4e);var item=new _a44({option:_a4e,label:(this.labelType==="text"?(_a4e.label||"").toString().replace(/&/g,"&").replace(/"+lbl+"";},validate:function(_a5d){var _a5e=this.disabled||this.isValid(_a5d);this._set("state",_a5e?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_a5e?"false":"true");var _a5f=_a5e?"":this._missingMsg;if(_a5f&&this.focused&&this._hasBeenBlurred){_a46.show(_a5f,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_a46.hide(this.domNode);}this._set("message",_a5f);return _a5e;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_a46.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");var _a60=this._keyNavCodes;delete _a60[keys.LEFT_ARROW];delete _a60[keys.RIGHT_ARROW];},_setStyleAttr:function(_a61){this.inherited(arguments);_a3f.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_a62){this._loadChildren(true);this._isLoaded=true;_a62();},destroy:function(_a63){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_a63);delete this.dropDown;}_a46.hide(this.domNode);this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_a46.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_a4d=_a3d("dijit.form.Select",_a4d,{_setDisplay:function(_a64){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_a4d._Menu=_a4a;function _a65(_a66){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_a66,evt));}else{this.inherited(_a66,arguments);}};};_a4d.prototype._onContainerKeydown=_a65("_onContainerKeydown");_a4d.prototype._onContainerKeypress=_a65("_onContainerKeypress");return _a4d;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_a67,lang,when){var _a68=function(_a69){if(!_a69){return _a69;}var _a6a=!!_a69.then;if(_a6a){_a69=lang.delegate(_a69);}function _a6b(_a6c){_a69[_a6c]=function(){var args=arguments;var _a6d=when(_a69,function(_a6e){Array.prototype.unshift.call(args,_a6e);return _a68(_a67[_a6c].apply(_a67,args));});if(_a6c!=="forEach"||_a6a){return _a6d;}};};_a6b("forEach");_a6b("filter");_a6b("map");if(_a69.total==null){_a69.total=when(_a69,function(_a6f){return _a6f.length;});}return _a69;};lang.setObject("dojo.store.util.QueryResults",_a68);return _a68;});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_a70,_a71,_a72,keys,lang,on,_a73,_a74){return _a71("dijit._KeyNavMixin",_a74,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_a72.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _a75=this._keyNavCodes={};_a75[keys.HOME]=lang.hitch(this,"focusFirstChild");_a75[keys.END]=lang.hitch(this,"focusLastChild");_a75[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_a75[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_a75[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_a75[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_a76=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",lang.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",lang.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",lang.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_a76,"focusin"),function(evt){self._onChildFocus(_a73.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_a77,last){if(!_a77){return;}if(this.focusedChild&&_a77!==this.focusedChild){this._onChildBlur(this.focusedChild);}_a77.set("tabIndex",this.tabIndex);_a77.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_a72.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_a72.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_a78){if(_a78&&_a78!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_a78.set("tabIndex",this.tabIndex);this.lastFocused=_a78;this._set("focusedChild",_a78);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_a79,_a7a){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_a7b){var _a7c=item.domNode,text=item.label||(_a7c.focusNode?_a7c.focusNode.label:"")||_a7c.innerText||_a7c.textContent||"",_a7d=text.replace(/^\s+/,"").substr(0,_a7b.length).toLowerCase();return (!!_a7b.length&&_a7d==_a7b)?-1:0;},_onContainerKeydown:function(evt){var func=this._keyNavCodes[evt.keyCode];if(func){func(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==keys.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=keys.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_a7e){var _a7f=null,_a80,_a81=0,_a82=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_a7e;var _a83=/^(.)\1*$/.test(this._searchString);var _a84=_a83?1:this._searchString.length;_a80=this._searchString.substr(0,_a84);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _a85=this.focusedChild||null;if(_a84==1||!_a85){_a85=this._getNextFocusableChild(_a85,1);if(!_a85){return;}}var stop=_a85;do{var rc=this._keyboardSearchCompare(_a85,_a80);if(!!rc&&_a81++==0){_a7f=_a85;}if(rc==-1){_a81=-1;break;}_a85=this._getNextFocusableChild(_a85,1);}while(_a85&&_a85!=stop);});_a82();this.onKeyboardSearch(_a7f,evt,_a80,_a81);},_onChildBlur:function(){},_getNextFocusableChild:function(_a86,dir){var _a87=_a86;do{if(!_a86){_a86=this[dir>0?"_getFirst":"_getLast"]();if(!_a86){break;}}else{_a86=this._getNext(_a86,dir);}if(_a86!=null&&_a86!=_a87&&_a86.isFocusable()){return _a86;}}while(_a86!=_a87);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_a88,dir){if(_a88){_a88=_a88.domNode;while(_a88){_a88=_a88[dir<0?"previousSibling":"nextSibling"];if(_a88&&"getAttribute" in _a88){var w=_a73.byNode(_a88);if(w){return w;}}}}return null;}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_a89,on,_a8a){return _a89("dijit.form._ListBase",null,{selected:null,_listConnect:function(_a8b,_a8c){var self=this;return self.own(on(self.containerNode,on.selector(function(_a8d,_a8e,_a8f){return _a8d.parentNode==_a8f;},_a8b),function(evt){self[_a8c](evt,this);}));},selectFirstNode:function(){var _a90=this.containerNode.firstChild;while(_a90&&_a90.style.display=="none"){_a90=_a90.nextSibling;}this._setSelectedAttr(_a90,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _a91=this.selected;if(!_a91){this.selectFirstNode();}else{var next=_a91.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _a92=this.selected;if(!_a92){this.selectLastNode();}else{var prev=_a92.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_a93){if(this.selected!=node){var _a94=this.selected;if(_a94){this.onDeselect(_a94);}if(node){if(_a93){_a8a.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_a95,has,_a96,_a97,_a98,_a99,_a9a,_a9b){if(has("dijit-legacy-requires")){_a97(0,function(){var _a9c=["dijit/form/_FormValueWidget"];require(_a9c);});}return _a95("dijit.form._FormWidget",[_a98,_a9a,_a99,_a9b],{setDisabled:function(_a9d){_a96.deprecated("setDisabled("+_a9d+") is deprecated. Use set('disabled',"+_a9d+") instead.","","2.0");this.set("disabled",_a9d);},setValue:function(_a9e){_a96.deprecated("dijit.form._FormWidget:setValue("+_a9e+") is deprecated. Use set('value',"+_a9e+") instead.","","2.0");this.set("value",_a9e);},getValue:function(){_a96.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=(this.name&&!has("msapp"))?("name=\""+this.name.replace(/"/g,""")+"\""):"";this.inherited(arguments);}});});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_a9f,lang,dom){var _aa0=lang.getObject("dojo.dnd",true);_aa0.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_aa0._uniqueId=0;_aa0.getUniqueId=function(){var id;do{id=_a9f._scopeName+"Unique"+(++_aa0._uniqueId);}while(dom.byId(id));return id;};_aa0._empty={};_aa0.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _aa0;});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_aa1,_aa2,_aa3,_aa4){return _aa1("dijit.CheckedMenuItem",_aa3,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_aa4,checked:false,_setCheckedAttr:function(_aa5){this.domNode.setAttribute("aria-checked",_aa5?"true":"false");this._set("checked",_aa5);},iconClass:"",role:"menuitemcheckbox",checkedChar:"✓",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_aa6,on,_aa7,has,_aa8){var _aa9=new _aa6();var _aaa;_aa7(function(){var _aab=_aa8.getBox();_aa9._rlh=on(window,"resize",function(){var _aac=_aa8.getBox();if(_aab.h==_aac.h&&_aab.w==_aac.w){return;}_aab=_aac;_aa9.emit("resize");});if(has("ie")==8){var _aad=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_aad){_aad=screen.deviceXDPI;_aa9.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_aaa=evt.target;});on(document,"focusout",function(evt){_aaa=null;});}});_aa9.getEffectiveBox=function(doc){var box=_aa8.getBox(doc);var tag=_aaa&&_aaa.tagName&&_aaa.tagName.toLowerCase();if(has("ios")&&_aaa&&!_aaa.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_aaa.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_aaa.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _aa9;});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_aae,lang,_aaf,_ab0,_ab1){var _ab2={};_ab2.getViewport=function(){return _aaf.getBox();};_ab2.placeOnScreen=_ab0.at;_ab2.placeOnScreenAroundElement=function(node,_ab3,_ab4,_ab5){var _ab6;if(lang.isArray(_ab4)){_ab6=_ab4;}else{_ab6=[];for(var key in _ab4){_ab6.push({aroundCorner:key,corner:_ab4[key]});}}return _ab0.around(node,_ab3,_ab6,true,_ab5);};_ab2.placeOnScreenAroundNode=_ab2.placeOnScreenAroundElement;_ab2.placeOnScreenAroundRectangle=_ab2.placeOnScreenAroundElement;_ab2.getPopupAroundAlignment=function(_ab7,_ab8){var _ab9={};_aae.forEach(_ab7,function(pos){var ltr=_ab8;switch(pos){case "after":_ab9[_ab8?"BR":"BL"]=_ab8?"BL":"BR";break;case "before":_ab9[_ab8?"BL":"BR"]=_ab8?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_ab9[ltr?"BL":"BR"]=ltr?"TL":"TR";_ab9[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_ab9[ltr?"TL":"TR"]=ltr?"BL":"BR";_ab9[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _ab9;};lang.mixin(_ab1,_ab2);return _ab1;});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_aba,dom,_abb,_abc,_abd,_abe){return _aba("dijit.MenuSeparator",[_abb,_abc,_abd],{templateString:_abe,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_abf,_ac0,_ac1,keys,_ac2,_ac3,_ac4,_ac5){return _abf("dijit.form._ComboBoxMenu",[_ac2,_ac3,_ac5,_ac4],{templateString:"",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_ac0.add(this.previousButton,"dijitMenuItemRtl");_ac0.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_ac0.add(node,"dijitMenuItemHover");},onUnhover:function(node){_ac0.remove(node,"dijitMenuItemHover");},onSelect:function(node){_ac0.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_ac0.remove(node,"dijitMenuItemSelected");},_page:function(up){var _ac6=0;var _ac7=this.domNode.scrollTop;var _ac8=_ac1.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_ac6<_ac8){var _ac9=this.getHighlightedOption();if(up){if(!_ac9.previousSibling||_ac9.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_ac9.nextSibling||_ac9.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _aca=this.domNode.scrollTop;_ac6+=(_aca-_ac7)*(up?-1:1);_ac7=_aca;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/touch","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","./layout/utils","dojo/text!./templates/Dialog.html","./a11yclick","dojo/i18n!./nls/common"],function(_acb,_acc,_acd,_ace,_acf,dom,_ad0,_ad1,_ad2,fx,i18n,keys,lang,on,_ad3,has,_ad4,_ad5,_ad6,_ad7,_ad8,_ad9,_ada,_adb,_adc,_add,_ade,_adf,_ae0,_ae1,_ae2){var _ae3=new _acf();_ae3.resolve(true);function nop(){};var _ae4=_ace("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_adb,_add,_ade,_adc],{templateString:_ae2,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_ad9.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _ae5=i18n.getLocalization("dijit","common");lang.mixin(this,_ae5);this.inherited(arguments);},postCreate:function(){_ad2.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_acd.after(this,"onExecute",lang.hitch(this,"hide"),true);_acd.after(this,"onCancel",lang.hitch(this,"hide"),true);on(this.closeButtonNode,_ad4.press,function(e){e.stopPropagation();});this._modalconnects=[];},onLoad:function(){this.resize();this._position();if(this.autofocus&&_ae6.isTop(this)){this._getFocusItems();_ad8.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems();_ad8.focus(this._firstFocusItem);},_endDrag:function(){var _ae7=_ad1.position(this.domNode),_ae8=_ad5.getBox(this.ownerDocument);_ae7.y=Math.min(Math.max(_ae7.y,0),(_ae8.h-_ae7.h));_ae7.x=Math.min(Math.max(_ae7.x,0),(_ae8.w-_ae7.w));this._relativePosition=_ae7;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_ad7:_ad6)(node,{handle:this.titleBar});_acd.after(this._moveable,"onMoveStop",lang.hitch(this,"_endDrag"),true);}else{_ad0.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_acc.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:lang.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this.resize();},_position:function(){if(!_ad0.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_ae9=_ad5.getBox(this.ownerDocument),p=this._relativePosition,bb=_ad1.position(node),l=Math.floor(_ae9.l+(p?Math.min(p.x,_ae9.w-bb.w):(_ae9.w-bb.w)/2)),t=Math.floor(_ae9.t+(p?Math.min(p.y,_ae9.h-bb.h):(_ae9.h-bb.h)/2));_ad2.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==keys.TAB){this._getFocusItems();var node=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_ad8.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_ad8.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==keys.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return _ae3.promise;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_ae6.hide(this);}var win=_ad5.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize",null)));this._modalconnects.push(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));_ad2.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this.resize();this._position();var _aea;this._fadeInDeferred=new _acf(lang.hitch(this,function(){_aea.stop();delete this._fadeInDeferred;}));this._fadeInDeferred.then(undefined,nop);var _aeb=this._fadeInDeferred.promise;_aea=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_ae6.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_ae6.isTop(this)){this._getFocusItems();_ad8.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _aeb;},hide:function(){if(!this._alreadyInitialized||!this.open){return _ae3.promise;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _aec;this._fadeOutDeferred=new _acf(lang.hitch(this,function(){_aec.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(undefined,nop);this._fadeOutDeferred.then(lang.hitch(this,"onHide"));var _aed=this._fadeOutDeferred.promise;_aec=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_ae6.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return _aed;},resize:function(dim){if(this.domNode.style.display!="none"){this._checkIfSingleChild();if(!dim){if(this._shrunk){if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}_acc.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(node){if(node){_ad2.set(node,{position:"static",width:"auto",height:"auto"});}});this.domNode.style.position="absolute";}var _aee=_ad5.getBox(this.ownerDocument);_aee.w*=this.maxRatio;_aee.h*=this.maxRatio;var bb=_ad1.position(this.domNode);this._shrunk=false;if(bb.w>=_aee.w){dim={w:_aee.w};_ad1.setMarginBox(this.domNode,dim);bb=_ad1.position(this.domNode);this._shrunk=true;}if(bb.h>=_aee.h){if(!dim){dim={w:bb.w};}dim.h=_aee.h;this._shrunk=true;}if(dim){if(!dim.w){dim.w=bb.w;}if(!dim.h){dim.h=bb.h;}}}if(dim){_ad1.setMarginBox(this.domNode,dim);var _aef=[];if(this.titleBar){_aef.push({domNode:this.titleBar,region:"top"});}if(this.actionBarNode){_aef.push({domNode:this.actionBarNode,region:"bottom"});}var _af0={domNode:this.containerNode,region:"center"};_aef.push(_af0);var _af1=_ae1.marginBox2contentBox(this.domNode,dim);_ae1.layoutChildren(this.domNode,_af1,_aef);if(this._singleChild){var cb=_ae1.marginBox2contentBox(this.containerNode,_af0);this._singleChild.resize({w:cb.w,h:cb.h});}else{this.containerNode.style.overflow="auto";this._layoutChildren();}}else{this._layoutChildren();}if(!has("touch")&&!dim){this._position();}}},_layoutChildren:function(){_acc.forEach(this.getChildren(),function(_af2){if(_af2.resize){_af2.resize();}});},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_ae6.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_ae4=_ace("dijit._DialogBase",_ae4,{_setTitleAttr:function(_af3){this._set("title",_af3);this.titleNode.innerHTML=_af3;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_af4){if(this._created&&this.textDir!=_af4){this._set("textDir",_af4);this.set("title",this.title);}}});}var _af5=_ace("dijit.Dialog",[_ae0,_ae4],{});_af5._DialogBase=_ae4;var _ae6=_af5._DialogLevelManager={_beginZIndex:950,show:function(_af6,_af7){ds[ds.length-1].focus=_ad8.curNode;var _af8=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_af5._DialogLevelManager._beginZIndex;_ad2.set(_af6.domNode,"zIndex",_af8);_adf.show(_af7,_af8-1);ds.push({dialog:_af6,underlayAttrs:_af7,zIndex:_af8});},hide:function(_af9){if(ds[ds.length-1].dialog==_af9){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_adf.hide();}else{_adf.show(pd.underlayAttrs,pd.zIndex-1);}if(_af9.refocus){var _afa=pd.focus;if(pd.dialog&&(!_afa||!dom.isDescendant(_afa,pd.dialog.domNode))){pd.dialog._getFocusItems();_afa=pd.dialog._firstFocusItem;}if(_afa){try{_afa.focus();}catch(e){}}}}else{var idx=_acc.indexOf(_acc.map(ds,function(elem){return elem.dialog;}),_af9);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_afb){return ds[ds.length-1].dialog==_afb;}};var ds=_af5._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_ad8.watch("curNode",function(attr,_afc,node){var _afd=ds[ds.length-1].dialog;if(node&&_afd&&!_afd._fadeOutDeferred&&node.ownerDocument==_afd.ownerDocument){do{if(node==_afd.domNode||_ad0.contains(node,"dijitPopup")){return;}}while(node=node.parentNode);_afd.focus();}});if(has("dijit-legacy-requires")){_ad3(0,function(){var _afe=["dijit/TooltipDialog"];_acb(_afe);});}return _af5;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_aff,dom,lang,_b00,win,_b01,_b02,_b03){var _b04={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _b03.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_b02:new _b02.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_b05){var sel=win.global==window?_b02:new _b02.SelectionManager(win.global);return sel.moveToBookmark(_b05);},getFocus:function(menu,_b06){var node=!_b01.curNode||(menu&&dom.isDescendant(_b01.curNode,menu.domNode))?_b03._prevFocus:_b01.curNode;return {node:node,bookmark:node&&(node==_b01.curNode)&&win.withGlobal(_b06||win.global,_b03.getBookmark),openedForWindow:_b06};},_activeStack:[],registerIframe:function(_b07){return _b01.registerIframe(_b07);},unregisterIframe:function(_b08){_b08&&_b08.remove();},registerWin:function(_b09,_b0a){return _b01.registerWin(_b09,_b0a);},unregisterWin:function(_b0b){_b0b&&_b0b.remove();}};_b01.focus=function(_b0c){if(!_b0c){return;}var node="node" in _b0c?_b0c.node:_b0c,_b0d=_b0c.bookmark,_b0e=_b0c.openedForWindow,_b0f=_b0d?_b0d.isCollapsed:false;if(node){var _b10=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_b10&&_b10.focus){try{_b10.focus();}catch(e){}}_b01._onFocusNode(node);}if(_b0d&&win.withGlobal(_b0e||win.global,_b03.isCollapsed)&&!_b0f){if(_b0e){_b0e.focus();}try{win.withGlobal(_b0e||win.global,_b03.moveToBookmark,null,[_b0d]);}catch(e2){}}};_b01.watch("curNode",function(name,_b11,_b12){_b03._curFocus=_b12;_b03._prevFocus=_b11;if(_b12){_b00.publish("focusNode",_b12);}});_b01.watch("activeStack",function(name,_b13,_b14){_b03._activeStack=_b14;});_b01.on("widget-blur",function(_b15,by){_b00.publish("widgetBlur",_b15,by);});_b01.on("widget-focus",function(_b16,by){_b00.publish("widgetFocus",_b16,by);});lang.mixin(_b03,_b04);return _b03;});},"dijit/tree/dndSource":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/common","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_b17,_b18,_b19,_b1a,_b1b,lang,_b1c,on,_b1d,_b1e,_b1f,_b20){var _b21=_b18("dijit.tree.dndSource",_b20,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_b22){if(!_b22){_b22={};}lang.mixin(this,_b22);var type=_b22.accept instanceof Array?_b22.accept:["text","treeNode"];this.accept=null;if(type.length){this.accept={};for(var i=0;i0){if(!this.targetBox||_b25!=_b26){this.targetBox=_b1b.position(_b26.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_b28="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_b28="After";}}}if(_b24||_b26!=_b25||_b28!=_b27){if(_b25){this._removeItemClass(_b25.rowNode,_b27);}if(_b26){this._addItemClass(_b26.rowNode,_b28);}if(!_b26){m.canDrop(false);}else{if(_b26==this.tree.rootNode&&_b28!="Over"){m.canDrop(false);}else{var _b29=false,_b2a=false;if(m.source==this){_b2a=(_b28==="Over");for(var _b2b in this.selection){var _b2c=this.selection[_b2b];if(_b2c.item===_b26.item){_b29=true;break;}if(_b2c.getParent().id!==_b26.id){_b2a=false;}}}m.canDrop(!_b29&&!_b2a&&!this._isParentChildDrop(m.source,_b26.rowNode)&&this.checkItemAcceptance(_b26.rowNode,m.source,_b28.toLowerCase()));}}this.targetAnchor=_b26;this.dropPosition=_b28;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_b1f.manager();if(this.isDragging){this._onDragMouse(e);}else{if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>=this.dragThreshold||Math.abs(e.pageY-this._lastY)>=this.dragThreshold)){var _b2d=this.getSelectedTreeNodes();if(_b2d.length){if(_b2d.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_b2d[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_b2d=r;}_b2d=_b17.map(_b2d,function(n){return n.domNode;});m.startDrag(this,_b2d,this.copyState(_b19.getCopyKeyState(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){if(e.type=="touchstart"||_b1c.isLeft(e)){this.mouseDown=true;this.mouseButton=e.button;this._lastX=e.pageX;this._lastY=e.pageY;}this.inherited(arguments);},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;this.inherited(arguments);}},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor();},checkItemAcceptance:function(){return true;},onDndSourceOver:function(_b2e){if(this!=_b2e){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_b1f.manager();m.canDrop(false);}}},onDndStart:function(_b2f,_b30,copy){if(this.isSource){this._changeState("Source",this==_b2f?(copy?"Copied":"Moved"):"");}var _b31=this.checkAcceptance(_b2f,_b30);this._changeState("Target",_b31?"":"Disabled");if(this==_b2f){_b1f.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_b32){return _b17.map(_b32,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_b33,_b34,copy){if(this.containerState=="Over"){var tree=this.tree,_b35=tree.model,_b36=this.targetAnchor,_b37=false;this.isDragging=false;var _b38;var _b39;var _b3a;_b38=(_b36&&_b36.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_b38=(_b36.getParent()&&_b36.getParent().item)||tree.item;_b39=_b36.getIndexInParent();if(this.dropPosition=="After"){_b39=_b36.getIndexInParent()+1;_b3a=_b36.getNextSibling()&&_b36.getNextSibling().item;}else{_b3a=_b36.item;}}else{_b38=(_b36&&_b36.item)||tree.item;_b37=true;}var _b3b;_b17.forEach(_b34,function(node,idx){var _b3c=_b33.getItem(node.id);if(_b17.indexOf(_b3c.type,"treeNode")!=-1){var _b3d=_b3c.data,_b3e=_b3d.item,_b3f=_b3d.getParent().item;}if(_b33==this){if(typeof _b39=="number"){if(_b38==_b3f&&_b3d.getIndexInParent()<_b39){_b39-=1;}}_b35.pasteItem(_b3e,_b3f,_b38,copy,_b39,_b3a);}else{if(_b35.isItem(_b3e)){_b35.pasteItem(_b3e,_b3f,_b38,copy,_b39,_b3a);}else{if(!_b3b){_b3b=this.itemCreator(_b34,_b36.rowNode,_b33);}_b35.newItem(_b3b[idx],_b38,_b39,_b3a);}}},this);if(_b37){this.tree._expandNode(_b36);}}this.onDndCancel();},onDndCancel:function(){this._unmarkTargetAnchor();this.isDragging=false;this.mouseDown=false;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","");},onOverEvent:function(){this.inherited(arguments);_b1f.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_b1f.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_b40,_b41){if(!_b40.tree||_b40.tree!=this.tree){return false;}var root=_b40.tree.domNode;var ids=_b40.selection;var node=_b41.parentNode;while(node!=root&&!ids[node.id]){node=node.parentNode;}return node.id&&ids[node.id];},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition);this.targetAnchor=null;this.targetBox=null;this.dropPosition=null;},_markDndStatus:function(copy){this._changeState("Source",copy?"Copied":"Moved");}});return _b21;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_b42,dom,_b43,_b44,lang,has,_b45){var _b46;var a11y={_isElementShown:function(elem){var s=_b44.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_b43.get(elem,"type")!="hidden");},hasDefaultTabStop:function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _b43.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _b47=elem.contentDocument;if("designMode" in _b47&&_b47.designMode=="on"){return true;}body=_b47.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}},effectiveTabIndex:function(elem){if(_b43.get(elem,"disabled")){return _b46;}else{if(_b43.has(elem,"tabIndex")){return +_b43.get(elem,"tabIndex");}else{return a11y.hasDefaultTabStop(elem)?0:_b46;}}},isTabNavigable:function(elem){return a11y.effectiveTabIndex(elem)>=0;},isFocusable:function(elem){return a11y.effectiveTabIndex(elem)>=-1;},_getTabNavigable:function(root){var _b48,last,_b49,_b4a,_b4b,_b4c,_b4d={};function _b4e(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _b4f=a11y._isElementShown,_b50=a11y.effectiveTabIndex;var _b51=function(_b52){for(var _b53=_b52.firstChild;_b53;_b53=_b53.nextSibling){if(_b53.nodeType!=1||(has("ie")<=9&&_b53.scopeName!=="HTML")||!_b4f(_b53)){continue;}var _b54=_b50(_b53);if(_b54>=0){if(_b54==0){if(!_b48){_b48=_b53;}last=_b53;}else{if(_b54>0){if(!_b49||_b54<_b4a){_b4a=_b54;_b49=_b53;}if(!_b4b||_b54>=_b4c){_b4c=_b54;_b4b=_b53;}}}var rn=_b4e(_b53);if(_b43.get(_b53,"checked")&&rn){_b4d[rn]=_b53;}}if(_b53.nodeName.toUpperCase()!="SELECT"){_b51(_b53);}}};if(_b4f(root)){_b51(root);}function rs(node){return _b4d[_b4e(node)]||node;};return {first:rs(_b48),last:rs(last),lowest:rs(_b49),highest:rs(_b4b)};},getFirstInTabbingOrder:function(root,doc){var _b55=a11y._getTabNavigable(dom.byId(root,doc));return _b55.lowest?_b55.lowest:_b55.first;},getLastInTabbingOrder:function(root,doc){var _b56=a11y._getTabNavigable(dom.byId(root,doc));return _b56.last?_b56.last:_b56.highest;}};1&&lang.mixin(_b45,a11y);return a11y;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_b57,_b58){return _b57("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _b59=this.checked;this._set("checked",!_b59);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_b59);return ret;},_setCheckedAttr:function(_b5a,_b5b){this._set("checked",_b5a);var node=this.focusNode||this.domNode;if(this._created){if(_b58.get(node,"checked")!=!!_b5a){_b58.set(node,"checked",!!_b5a);}}node.setAttribute(this._aria_attr,String(_b5a));this._handleOnChange(_b5a,_b5b);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_Widget":function(){define(["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(_b5c,_b5d,_b5e,_b5f,has,_b60,lang,_b61,_b62,_b63,_b64,_b65,_b66){function _b67(){};function _b68(_b69){return function(obj,_b6a,_b6b,_b6c){if(obj&&typeof _b6a=="string"&&obj[_b6a]==_b67){return obj.on(_b6a.substring(2).toLowerCase(),lang.hitch(_b6b,_b6c));}return _b69.apply(_b5e,arguments);};};_b5c.around(_b5e,"connect",_b68);if(_b60.connect){_b5c.around(_b60,"connect",_b68);}var _b6d=_b5f("dijit._Widget",[_b64,_b65,_b66],{onClick:_b67,onDblClick:_b67,onKeyDown:_b67,onKeyPress:_b67,onKeyUp:_b67,onMouseDown:_b67,onMouseMove:_b67,onMouseOut:_b67,onMouseOver:_b67,onMouseLeave:_b67,onMouseEnter:_b67,onMouseUp:_b67,constructor:function(_b6e){this._toConnect={};for(var name in _b6e){if(this[name]===_b67){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_b6e[name];delete _b6e[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)]===_b67){return _b5e.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_b6f){_b60.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_b6f);},attr:function(name,_b70){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_b60.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_b61("[widgetId]",this.containerNode).map(_b63.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_b62(0,function(){var _b71=["dijit/_base"];require(_b71);});}return _b6d;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_b72,dom,_b73,lang,on,has,_b74,_b75,win){var ios4=has("ios")<5;var _b76=has("pointer-events")||has("MSPointer"),_b77=(function(){var _b78={};for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_b78[type]=has("MSPointer")?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type;}return _b78;})();var _b79=has("touch-events");var _b7a,_b7b,_b7c=false,_b7d,_b7e,_b7f,_b80,_b81,_b82;var _b83;function _b84(_b85,_b86,_b87){if(_b76&&_b87){return function(node,_b88){return on(node,_b87,_b88);};}else{if(_b79){return function(node,_b89){var _b8a=on(node,_b86,function(evt){_b89.call(this,evt);_b83=(new Date()).getTime();}),_b8b=on(node,_b85,function(evt){if(!_b83||(new Date()).getTime()>_b83+1000){_b89.call(this,evt);}});return {remove:function(){_b8a.remove();_b8b.remove();}};};}else{return function(node,_b8c){return on(node,_b85,_b8c);};}}};function _b8d(node){do{if(node.dojoClick!==undefined){return node;}}while(node=node.parentNode);};function _b8e(e,_b8f,_b90){if(_b74.isRight(e)){return;}var _b91=_b8d(e.target);_b7b=!e.target.disabled&&_b91&&_b91.dojoClick;if(_b7b){_b7c=(_b7b=="useTarget");_b7d=(_b7c?_b91:e.target);if(_b7c){e.preventDefault();}_b7e=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX;_b7f=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY;_b80=(typeof _b7b=="object"?_b7b.x:(typeof _b7b=="number"?_b7b:0))||4;_b81=(typeof _b7b=="object"?_b7b.y:(typeof _b7b=="number"?_b7b:0))||4;if(!_b7a){_b7a=true;function _b92(e){if(_b7c){_b7b=dom.isDescendant(win.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)),_b7d);}else{_b7b=_b7b&&(e.changedTouches?e.changedTouches[0].target:e.target)==_b7d&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_b7e)<=_b80&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_b7f)<=_b81;}};win.doc.addEventListener(_b8f,function(e){if(_b74.isRight(e)){return;}_b92(e);if(_b7c){e.preventDefault();}},true);win.doc.addEventListener(_b90,function(e){if(_b74.isRight(e)){return;}_b92(e);if(_b7b){_b82=(new Date()).getTime();var _b93=(_b7c?_b7d:e.target);if(_b93.tagName==="LABEL"){_b93=dom.byId(_b93.getAttribute("for"))||_b93;}var src=(e.changedTouches)?e.changedTouches[0]:e;function _b94(type){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(type,true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);return evt;};var _b95=_b94("mousedown");var _b96=_b94("mouseup");var _b97=_b94("click");setTimeout(function(){on.emit(_b93,"mousedown",_b95);on.emit(_b93,"mouseup",_b96);on.emit(_b93,"click",_b97);_b82=(new Date()).getTime();},0);}},true);function _b98(type){win.doc.addEventListener(type,function(e){var _b99=e.target;if(_b7b&&!e._dojo_click&&(new Date()).getTime()<=_b82+1000&&!(_b99.tagName=="INPUT"&&_b73.contains(_b99,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(type=="click"&&(_b99.tagName!="INPUT"||(_b99.type=="radio"&&(_b73.contains(_b99,"dijitCheckBoxInput")||_b73.contains(_b99,"mblRadioButton")))||(_b99.type=="checkbox"&&(_b73.contains(_b99,"dijitCheckBoxInput")||_b73.contains(_b99,"mblCheckBox"))))&&_b99.tagName!="TEXTAREA"&&_b99.tagName!="AUDIO"&&_b99.tagName!="VIDEO"){e.preventDefault();}}},true);};_b98("click");_b98("mousedown");_b98("mouseup");}}};var _b9a;if(has("touch")){if(_b76){_b75(function(){win.doc.addEventListener(_b77.down,function(evt){_b8e(evt,_b77.move,_b77.up);},true);});}else{_b75(function(){_b9a=win.body();win.doc.addEventListener("touchstart",function(evt){_b83=(new Date()).getTime();var _b9b=_b9a;_b9a=evt.target;on.emit(_b9b,"dojotouchout",{relatedTarget:_b9a,bubbles:true});on.emit(_b9a,"dojotouchover",{relatedTarget:_b9b,bubbles:true});_b8e(evt,"touchmove","touchend");},true);function _b9c(evt){var _b9d=lang.delegate(evt,{bubbles:true});if(has("ios")>=6){_b9d.touches=evt.touches;_b9d.altKey=evt.altKey;_b9d.changedTouches=evt.changedTouches;_b9d.ctrlKey=evt.ctrlKey;_b9d.metaKey=evt.metaKey;_b9d.shiftKey=evt.shiftKey;_b9d.targetTouches=evt.targetTouches;}return _b9d;};on(win.doc,"touchmove",function(evt){_b83=(new Date()).getTime();var _b9e=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_b9e){if(_b9a!==_b9e){on.emit(_b9a,"dojotouchout",{relatedTarget:_b9e,bubbles:true});on.emit(_b9e,"dojotouchover",{relatedTarget:_b9a,bubbles:true});_b9a=_b9e;}if(!on.emit(_b9e,"dojotouchmove",_b9c(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_b83=(new Date()).getTime();var node=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset))||win.body();on.emit(node,"dojotouchend",_b9c(evt));});});}}var _b9f={press:_b84("mousedown","touchstart",_b77.down),move:_b84("mousemove","dojotouchmove",_b77.move),release:_b84("mouseup","dojotouchend",_b77.up),cancel:_b84(_b74.leave,"touchcancel",_b76?_b77.cancel:null),over:_b84("mouseover","dojotouchover",_b77.over),out:_b84("mouseout","dojotouchout",_b77.out),enter:_b74._eventHandler(_b84("mouseover","dojotouchover",_b77.over)),leave:_b74._eventHandler(_b84("mouseout","dojotouchout",_b77.out))};1&&(dojo.touch=_b9f);return _b9f;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_ba0,dojo,_ba1,_ba2,_ba3,dom,_ba4,geom,_ba5,_ba6){if(!dojo.isAsync){_ba5(0,function(){var _ba7=["./fx/Toggler"];_ba6(_ba7);});}var _ba8=dojo.fx={};var _ba9={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _baa=function(_bab){this._index=-1;this._animations=_bab||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_ba1.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_baa.prototype=new _ba0();lang.extend(_baa,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_ba2.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_ba2.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_bac,_bad){if(!this._current){this._current=this._animations[this._index=0];}if(!_bad&&this._current.status()=="playing"){return this;}var _bae=_ba2.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_baf=_ba2.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_bb0=_ba2.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_bae.remove();_baf.remove();_bb0.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_ba2.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_ba2.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_ba2.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_bb1,_bb2){this.pause();var _bb3=this.duration*_bb1;this._current=null;_ba1.some(this._animations,function(a,_bb4){if(_bb3<=a.duration){this._current=a;this._index=_bb4;return true;}_bb3-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_bb3/this._current.duration);}if(_bb2){this.play();}return this;},stop:function(_bb5){if(this._current){if(_bb5){for(;this._index+1this._animations.length){this._fire("onEnd");}},_call:function(_bbb,args){var t=this._pseudoAnimation;t[_bbb].apply(t,args);},play:function(_bbc,_bbd){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_bbe,_bbf){var ms=this.duration*_bbe;_ba1.forEach(this._animations,function(a){a.gotoPercent(a.duration0){this.isExpandable=true;_bc7.forEach(_bf7,function(item){var id=_bf8.getIdentity(item),_bff=tree._itemNodesMap[id],node;if(_bff){for(var i=0;i<_bff.length;i++){if(_bff[i]&&!_bff[i].getParent()){node=_bff[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_bf8.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_bff){_bff.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_bc7.forEach(this.getChildren(),function(_c00){_c00._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _be3(def);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _c01=this.getChildren();if(_c01.length==0){this.isExpandable=false;this.collapse();}_bc7.forEach(_c01,function(_c02){_c02._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_c03){this.labelNode.setAttribute("aria-selected",_c03?"true":"false");_bcc.toggle(this.rowNode,"dijitTreeRowSelected",_c03);},focus:function(){_bd5.focus(this.focusNode);}});if(has("dojo-bidi")){_be6.extend({_setTextDirAttr:function(_c04){if(_c04&&((this.textDir!=_c04)||!this._created)){this._set("textDir",_c04);this.applyTextDir(this.labelNode);_bc7.forEach(this.getChildren(),function(_c05){_c05.set("textDir",_c04);},this);}}});}var Tree=_bca("dijit.Tree",[_bd8,_bdd,_bd9,_bdc],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_bdf,persist:false,autoExpand:false,dndController:_be2,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_c06,_c07){_bd2.publish(this.id,lang.mixin({tree:this,event:_c06},_c07||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _bcb();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_bd3.enter),function(evt){self._onNodeMouseEnter(_bd6.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_bd3.leave),function(evt){self._onNodeMouseLeave(_bd6.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_bd4.press),function(evt){self._onNodePress(_bd6.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_bd4),function(evt){self._onClick(_bd6.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_bd6.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_bc8.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_bc8.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_bc8.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _c08={};for(var i=0;ithis.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _be6(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_c45){if(_c45&&this.textDir!=_c45){this._set("textDir",_c45);this.rootNode.set("textDir",_c45);}}});}Tree.PathError=_bcf("TreePathError");Tree._TreeNode=_be6;return Tree;});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_c46,has,_c47,_c48){return _c46("dijit.form._FormValueWidget",[_c47,_c48],{_layoutHackIE7:function(){if(has("ie")==7){var _c49=this.domNode;var _c4a=_c49.parentNode;var _c4b=_c49.firstChild||_c49;var _c4c=_c4b.style.filter;var _c4d=this;while(_c4a&&_c4a.clientHeight==0){(function ping(){var _c4e=_c4d.connect(_c4a,"onscroll",function(){_c4d.disconnect(_c4e);_c4b.style.filter=(new Date()).getMilliseconds();_c4d.defer(function(){_c4b.style.filter=_c4c;});});})();_c4a=_c4a.parentNode;}}}});});},"url:dijit/templates/Menu.html":"\n","url:dijit/templates/TreeNode.html":"\n","url:dijit/layout/templates/AccordionButton.html":"\n","url:dijit/templates/MenuSeparator.html":"\n","url:dijit/templates/ProgressBar.html":"\n","url:dijit/form/templates/DropDownButton.html":"▼ \n","url:dijit/form/templates/DropDownBox.html":"\n","url:dijit/templates/CheckedMenuItem.html":"\n\t\n\t\t \n\t\t\n\t \n\t \n\t \n\t \n \n","url:dijit/templates/Tooltip.html":"\n","url:dijit/form/templates/ValidationTextBox.html":"\n","url:dijit/templates/InlineEditBox.html":" \n","url:dijit/templates/ColorPalette.html":"\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"\n\t \n\t \n
","url:dijit/layout/templates/TabContainer.html":"\n","url:dijit/form/templates/ComboButton.html":"\n","url:dijit/templates/Tree.html":"\n","url:dijit/templates/Dialog.html":"\n\t
\n\t\t \n\t\t\n\t\t\tx \n\t\t \n\t
\n\t
\n\t${!actionBarTemplate}\n
\n\n","url:dijit/form/templates/TextBox.html":"\n","url:dijit/form/templates/Select.html":"\n","url:dijit/templates/MenuItem.html":"\n\t\n\t\t \n\t \n\t \n\t \n\t\n\t\t\n\t\t\t \n\t\t\t+ \n\t\t \n\t \n \n","url:dijit/layout/templates/_TabButton.html":"\n\t \n\t \n\t\n\t\t[x] \n
\n","url:dijit/form/templates/CheckBox.html":"
\n","url:dijit/layout/templates/ScrollingTabController.html":"","url:dijit/form/templates/Button.html":"● \n","url:dijit/templates/TooltipDialog.html":"\n","*now":function(r){r(["dojo/i18n!*preload*dojo/nls/tt-rss-layer*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dojo/tt-rss-layer",[],1);
\ No newline at end of file
+require({cache:{"dijit/form/TextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_1,_2,_3,_4,_5,on,_6,_7,_8,_9,_a){var _b=_1("dijit.form.TextBox"+(_6("dojo-bidi")?"_NoBidi":""),[_7,_8],{templateString:_9,_singleNodeTemplate:" ",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _c=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_c=="hidden"||_c=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(_6("ie")<9){this.defer(function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _d=this.domNode.getElementsByTagName("INPUT");if(_d){for(var i=0;i<_d.length;i++){_d[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this.own(on(this._phspan,"mousedown",function(_e){_e.preventDefault();}),on(this._phspan,"touchend, pointerup, MSPointerUp",_5.hitch(this,function(){this.focus();})));}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_onInput:function(_f){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_10,_11,_12){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_13){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_13);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(_6("mozilla")){if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(_6("ie")<9){_b.prototype._isTextSelected=function(){var _14=this.ownerDocument.selection.createRange();var _15=_14.parentElement();return _15==this.textbox&&_14.text.length>0;};_a._setSelectionRange=_8._setSelectionRange=function(_16,_17,_18){if(_16.createTextRange){var r=_16.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_17);r.moveEnd("character",_18-_17);r.select();}};}if(_6("dojo-bidi")){_b=_1("dijit.form.TextBox",_b,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _b;});},"dijit/_base/scroll":function(){define(["dojo/window","../main"],function(_19,_1a){_1a.scrollIntoView=function(_1b,pos){_19.scrollIntoView(_1b,pos);};});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_1c,_1d,_1e,_1f,on,has,_20,_21){var _22=_1d("dijit._TemplatedMixin",_21,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(_23){var _24=this.declaredClass,_25=this;return _20.substitute(_23,this,function(_26,key){if(key.charAt(0)=="!"){_26=_1f.getObject(key.substr(1),false,_25);}if(typeof _26=="undefined"){throw new Error(_24+" template:"+key);}if(_26==null){return "";}return key.charAt(0)=="!"?_26:this._escapeValue(""+_26);},this);},_escapeValue:function(val){return val.replace(/["'<>&]/g,function(val){return {"&":"&","<":"<",">":">","\"":""","'":"'"}[val];});},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_1c(this.templatePath,{sanitize:true});}var _27=_22.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var _28;if(_1f.isString(_27)){_28=_1e.toDom(this._stringRepl(_27),this.ownerDocument);if(_28.nodeType!=1){throw new Error("Invalid template: "+_27);}}else{_28=_27.cloneNode(true);}this.domNode=_28;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_29){var _2a=this.containerNode;if(_29&&_2a){while(_29.hasChildNodes()){_2a.appendChild(_29.firstChild);}}}});_22._templateCache={};_22.getCachedTemplate=function(_2b,_2c,doc){var _2d=_22._templateCache;var key=_2b;var _2e=_2d[key];if(_2e){try{if(!_2e.ownerDocument||_2e.ownerDocument==(doc||document)){return _2e;}}catch(e){}_1e.destroy(_2e);}_2b=_20.trim(_2b);if(_2c||_2b.match(/\$\{([^\}]+)\}/g)){return (_2d[key]=_2b);}else{var _2f=_1e.toDom(_2b,doc);if(_2f.nodeType!=1){throw new Error("Invalid template: "+_2b);}return (_2d[key]=_2f);}};if(has("ie")){on(window,"unload",function(){var _30=_22._templateCache;for(var key in _30){var _31=_30[key];if(typeof _31=="object"){_1e.destroy(_31);}delete _30[key];}});}return _22;});},"dijit/_CssStateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],function(_32,_33,dom,_34,has,_35,on,_36,_37,win,_38,_39){var _3a=_33("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_32.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(_3b){this.watch(_3b,_35.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(_3c){if(!this.disabled){switch(_3c.type){case "mouseover":case "MSPointerOver":case "pointerover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":case "pointerout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":this._set("active",true);break;case "mouseup":case "dojotouchend":case "MSPointerUp":case "pointerup":case "keyup":this._set("active",false);break;}}},_setStateClass:function(){var _3d=this.baseClass.split(" ");function _3e(_3f){_3d=_3d.concat(_32.map(_3d,function(c){return c+_3f;}),"dijit"+_3f);};if(!this.isLeftToRight()){_3e("Rtl");}var _40=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_3e(_40);}if(this.state){_3e(this.state);}if(this.selected){_3e("Selected");}if(this._opened){_3e("Opened");}if(this.disabled){_3e("Disabled");}else{if(this.readOnly){_3e("ReadOnly");}else{if(this.active){_3e("Active");}else{if(this.hovering){_3e("Hover");}}}}if(this.focused){_3e("Focused");}var tn=this.stateNode||this.domNode,_41={};_32.forEach(tn.className.split(" "),function(c){_41[c]=true;});if("_stateClasses" in this){_32.forEach(this._stateClasses,function(c){delete _41[c];});}_32.forEach(_3d,function(c){_41[c]=true;});var _42=[];for(var c in _41){_42.push(c);}tn.className=_42.join(" ");this._stateClasses=_3d;},_subnodeCssMouseEvent:function(_43,_44,evt){if(this.disabled||this.readOnly){return;}function _45(_46){_34.toggle(_43,_44+"Hover",_46);};function _47(_48){_34.toggle(_43,_44+"Active",_48);};function _49(_4a){_34.toggle(_43,_44+"Focused",_4a);};switch(evt.type){case "mouseover":case "MSPointerOver":case "pointerover":_45(true);break;case "mouseout":case "MSPointerOut":case "pointerout":_45(false);_47(false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":_47(true);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":_47(false);break;case "focus":case "focusin":_49(true);break;case "blur":case "focusout":_49(false);break;}},_trackMouseState:function(_4b,_4c){_4b._cssState=_4c;}});_36(function(){function _4d(evt,_4e,_4f){if(_4f&&dom.isDescendant(_4f,_4e)){return;}for(var _50=_4e;_50&&_50!=_4f;_50=_50.parentNode){if(_50._cssState){var _51=_39.getEnclosingWidget(_50);if(_51){if(_50==_51.domNode){_51._cssMouseEvent(evt);}else{_51._subnodeCssMouseEvent(_50,_50._cssState,evt);}}}}};var _52=win.body(),_53;on(_52,_37.over,function(evt){_4d(evt,evt.target,evt.relatedTarget);});on(_52,_37.out,function(evt){_4d(evt,evt.target,evt.relatedTarget);});on(_52,_38.press,function(evt){_53=evt.target;_4d(evt,_53);});on(_52,_38.release,function(evt){_4d(evt,_53);_53=null;});on(_52,"focusin, focusout",function(evt){var _54=evt.target;if(_54._cssState&&!_54.getAttribute("widgetId")){var _55=_39.getEnclosingWidget(_54);if(_55){_55._subnodeCssMouseEvent(_54,_54._cssState,evt);}}});});return _3a;});},"dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom","../a11yclick"],function(_56,_57,_58,_59,_5a,fx,_5b,on,_5c,has,_5d,_5e,_5f,_60,_61,_62,_63,_64,_65,_66){var _67=_57("dijit.layout.ScrollingTabController",[_60,_62],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_5e,useMenu:true,useSlider:true,tabStripClass:"",_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_58.add(n,"tabStrip-disabled");}_58.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_5a.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",_5b.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(_68,_69){this.inherited(arguments);_5a.set(this.containerNode,"width",(_5a.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_6a,_6b){var _6c=this.pane2button(_6a.id);if(this._selectedTab===_6c.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_5c("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_59.getMarginSize(btn).w;return true;}else{_5a.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _6d=this.getChildren();if(_6d.length){var _6e=_6d[this.isLeftToRight()?0:_6d.length-1].domNode,_6f=_6d[this.isLeftToRight()?_6d.length-1:0].domNode;return _6f.offsetLeft+_6f.offsetWidth-_6e.offsetLeft;}else{return 0;}},_enableBtn:function(_70){var _71=this._getTabsWidth();_70=_70||_5a.get(this.scrollNode,"width");return _71>0&&_70<_71;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_61.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_59.setContentSize(this.domNode,cb);var _72=this._enableBtn(this._contentBox.w);this._buttons.style("display",_72?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_61.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_5a.get(this.containerNode,"width")-_5a.get(this.scrollNode,"width")+(has("trident")||has("edge")?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit")){return val;}else{var _73=_5a.get(this.containerNode,"width")-_5a.get(this.scrollNode,"width");return (has("trident")||has("edge")?-1:1)*(val-_73);}},onSelectChild:function(_74,_75){var tab=this.pane2button(_74.id);if(!tab){return;}var _76=tab.domNode;if(_76!=this._selectedTab){this._selectedTab=_76;if(this._postResize){var sl=this._getScroll();if(sl>_76.offsetLeft||sl+_5a.get(this.scrollNode,"width")<_76.offsetLeft+_5a.get(_76,"width")){var _77=this.createSmoothScroll();if(_75){_77.onEnd=function(){tab.focus();};}_77.play();}else{if(_75){tab.focus();}}}}this.inherited(arguments);},_getScrollBounds:function(){var _78=this.getChildren(),_79=_5a.get(this.scrollNode,"width"),_7a=_5a.get(this.containerNode,"width"),_7b=_7a-_79,_7c=this._getTabsWidth();if(_78.length&&_7c>_79){return {min:this.isLeftToRight()?0:_78[_78.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_78[_78.length-1].domNode.offsetLeft+_78[_78.length-1].domNode.offsetWidth)-_79:_7b};}else{var _7d=this.isLeftToRight()?0:_7b;return {min:_7d,max:_7d};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_7e=_5a.get(this.scrollNode,"width"),_7f=this._getScrollBounds();var pos=(n.offsetLeft+_5a.get(n,"width")/2)-_7e/2;pos=Math.min(Math.max(pos,_7f.min),_7f.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _80=this._getScrollBounds();x=Math.min(Math.max(x,_80.min),_80.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _81=this,w=this.scrollNode,_82=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _83=w.scrollLeft,_84=_81._convertToScrollLeft(x);_82.curve=new fx._Line(_83,_84);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_82;this._setButtonClass(x);return _82;},_getBtnNode:function(e){var n=e.target;while(n&&!_58.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_85,_86){if(_86&&_58.contains(_86,"dijitTabDisabled")){return;}var _87=_5a.get(this.scrollNode,"width");var d=(_87*0.75)*_85;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_88){var _89=this._getScrollBounds();this._leftBtn.set("disabled",_88<=_89.min);this._rightBtn.set("disabled",_88>=_89.max);}});var _8a=_57("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_5f,tabIndex:"",isFocusable:function(){return false;}});_57("dijit.layout._ScrollingTabControllerButton",[_65,_8a]);_57("dijit.layout._ScrollingTabControllerMenuButton",[_65,_66,_8a],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_8b){this.dropDown=new _63({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _8c=_5d.byId(this.containerId);_56.forEach(_8c.getChildren(),function(_8d){var _8e=new _64({id:_8d.id+"_stcMi",label:_8d.title,iconClass:_8d.iconClass,disabled:_8d.disabled,ownerDocument:this.ownerDocument,dir:_8d.dir,lang:_8d.lang,textDir:_8d.textDir||_8c.textDir,onClick:function(){_8c.selectChild(_8d);}});this.dropDown.addChild(_8e);},this);_8b();},closeDropDown:function(_8f){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _67;});},"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/aspect","dojo/dom-attr","dojo/dom-style","dojo/on","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe","./Viewport","./main"],function(_90,_91,_92,_93,_94,on,_95,_96,_97,_98,_99,_9a){var _9b=_90("dijit.DialogUnderlay",[_96,_97],{templateString:"",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_93.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_9c){this.node.className="dijitDialogUnderlay "+_9c;this._set("class",_9c);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",_91.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _9d=_95.getBox(this.ownerDocument);os.top=_9d.t+"px";os.left=_9d.l+"px";is.width=_9d.w+"px";is.height=_9d.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _98(this.domNode);var win=_95.get(this.ownerDocument);this._modalConnects=[_99.on("resize",_91.hitch(this,"layout")),on(win,"scroll",_91.hitch(this,"layout"))];},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.open=false;},destroy:function(){while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.inherited(arguments);},_onKeyDown:function(){}});_9b.show=function(_9e,_9f){var _a0=_9b._singleton;if(!_a0||_a0._destroyed){_a0=_9a._underlay=_9b._singleton=new _9b(_9e);}else{if(_9e){_a0.set(_9e);}}_94.set(_a0.domNode,"zIndex",_9f);if(!_a0.open){_a0.show();}};_9b.hide=function(){var _a1=_9b._singleton;if(_a1&&!_a1._destroyed){_a1.hide();}};return _9b;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_a2,_a3,_a4,_a5,win,_a6,_a7){function _a8(_a9,_aa,_ab,_ac){var _ad=_a6.getEffectiveBox(_a9.ownerDocument);if(!_a9.parentNode||String(_a9.parentNode.tagName).toLowerCase()!="body"){win.body(_a9.ownerDocument).appendChild(_a9);}var _ae=null;_a2.some(_aa,function(_af){var _b0=_af.corner;var pos=_af.pos;var _b1=0;var _b2={w:{"L":_ad.l+_ad.w-pos.x,"R":pos.x-_ad.l,"M":_ad.w}[_b0.charAt(1)],h:{"T":_ad.t+_ad.h-pos.y,"B":pos.y-_ad.t,"M":_ad.h}[_b0.charAt(0)]};var s=_a9.style;s.left=s.right="auto";if(_ab){var res=_ab(_a9,_af.aroundCorner,_b0,_b2,_ac);_b1=typeof res=="undefined"?0:res;}var _b3=_a9.style;var _b4=_b3.display;var _b5=_b3.visibility;if(_b3.display=="none"){_b3.visibility="hidden";_b3.display="";}var bb=_a3.position(_a9);_b3.display=_b4;_b3.visibility=_b5;var _b6={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(_ad.l,Math.min(_ad.l+_ad.w,pos.x+(bb.w>>1))-bb.w)}[_b0.charAt(1)],_b7={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(_ad.t,Math.min(_ad.t+_ad.h,pos.y+(bb.h>>1))-bb.h)}[_b0.charAt(0)],_b8=Math.max(_ad.l,_b6),_b9=Math.max(_ad.t,_b7),_ba=Math.min(_ad.l+_ad.w,_b6+bb.w),_bb=Math.min(_ad.t+_ad.h,_b7+bb.h),_bc=_ba-_b8,_bd=_bb-_b9;_b1+=(bb.w-_bc)+(bb.h-_bd);if(_ae==null||_b1<_ae.overflow){_ae={corner:_b0,aroundCorner:_af.aroundCorner,x:_b8,y:_b9,w:_bc,h:_bd,overflow:_b1,spaceAvailable:_b2};}return !_b1;});if(_ae.overflow&&_ab){_ab(_a9,_ae.aroundCorner,_ae.corner,_ae.spaceAvailable,_ac);}var top=_ae.y,_be=_ae.x,_bf=win.body(_a9.ownerDocument);if(/relative|absolute/.test(_a4.get(_bf,"position"))){top-=_a4.get(_bf,"marginTop");_be-=_a4.get(_bf,"marginLeft");}var s=_a9.style;s.top=top+"px";s.left=_be+"px";s.right="auto";return _ae;};var _c0={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _c1={at:function(_c2,pos,_c3,_c4,_c5){var _c6=_a2.map(_c3,function(_c7){var c={corner:_c7,aroundCorner:_c0[_c7],pos:{x:pos.x,y:pos.y}};if(_c4){c.pos.x+=_c7.charAt(1)=="L"?_c4.x:-_c4.x;c.pos.y+=_c7.charAt(0)=="T"?_c4.y:-_c4.y;}return c;});return _a8(_c2,_c6,_c5);},around:function(_c8,_c9,_ca,_cb,_cc){var _cd;if(typeof _c9=="string"||"offsetWidth" in _c9||"ownerSVGElement" in _c9){_cd=_a3.position(_c9,true);if(/^(above|below)/.test(_ca[0])){var _ce=_a3.getBorderExtents(_c9),_cf=_c9.firstChild?_a3.getBorderExtents(_c9.firstChild):{t:0,l:0,b:0,r:0},_d0=_a3.getBorderExtents(_c8),_d1=_c8.firstChild?_a3.getBorderExtents(_c8.firstChild):{t:0,l:0,b:0,r:0};_cd.y+=Math.min(_ce.t+_cf.t,_d0.t+_d1.t);_cd.h-=Math.min(_ce.t+_cf.t,_d0.t+_d1.t)+Math.min(_ce.b+_cf.b,_d0.b+_d1.b);}}else{_cd=_c9;}if(_c9.parentNode){var _d2=_a4.getComputedStyle(_c9).position=="absolute";var _d3=_c9.parentNode;while(_d3&&_d3.nodeType==1&&_d3.nodeName!="BODY"){var _d4=_a3.position(_d3,true),pcs=_a4.getComputedStyle(_d3);if(/relative|absolute/.test(pcs.position)){_d2=false;}if(!_d2&&/hidden|auto|scroll/.test(pcs.overflow)){var _d5=Math.min(_cd.y+_cd.h,_d4.y+_d4.h);var _d6=Math.min(_cd.x+_cd.w,_d4.x+_d4.w);_cd.x=Math.max(_cd.x,_d4.x);_cd.y=Math.max(_cd.y,_d4.y);_cd.h=_d5-_cd.y;_cd.w=_d6-_cd.x;}if(pcs.position=="absolute"){_d2=true;}_d3=_d3.parentNode;}}var x=_cd.x,y=_cd.y,_d7="w" in _cd?_cd.w:(_cd.w=_cd.width),_d8="h" in _cd?_cd.h:(_a5.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_cd.height+", width:"+_d7+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_cd.height+", w:"+_d7+" }","","2.0"),_cd.h=_cd.height);var _d9=[];function _da(_db,_dc){_d9.push({aroundCorner:_db,corner:_dc,pos:{x:{"L":x,"R":x+_d7,"M":x+(_d7>>1)}[_db.charAt(1)],y:{"T":y,"B":y+_d8,"M":y+(_d8>>1)}[_db.charAt(0)]}});};_a2.forEach(_ca,function(pos){var ltr=_cb;switch(pos){case "above-centered":_da("TM","BM");break;case "below-centered":_da("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":_da(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":_da(ltr?"TL":"TR",ltr?"TR":"TL");_da(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":_da(ltr?"BL":"BR",ltr?"TL":"TR");_da(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":_da(ltr?"TL":"TR",ltr?"BL":"BR");_da(ltr?"TR":"TL",ltr?"BR":"BL");break;default:_da(pos.aroundCorner,pos.corner);}});var _dd=_a8(_c8,_d9,_cc,{w:_d7,h:_d8});_dd.aroundNodePos=_cd;return _dd;}};return _a7.place=_c1;});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_de,_df,dom,_e0,_e1,_e2,_e3,has,_e4,_e5,on,_e6,_e7,_e8,_e9,_ea){return _de("dijit._HasDropDown",_ea,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_e6.release,_e5.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _eb=this.dropDown,_ec=false;if(e&&this._opened){var c=_e2.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_ec){if(_e1.contains(t,"dijitPopup")){_ec=true;}else{t=t.parentNode;}}if(_ec){t=e.target;if(_eb.onItemClick){var _ed;while(t&&!(_ed=_e7.byNode(t))){t=t.parentNode;}if(_ed&&_ed.onClick&&_ed.getParent){_ed.getParent().onItemClick(_ed,e);}}return;}}}if(this._opened){if(_eb.focus&&(_eb.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_eb.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _ee={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_e1.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_ee+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _ef=this.focusNode||this.domNode;this.own(on(this._buttonNode,_e6.press,_e5.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",_e5.hitch(this,"_onDropDownClick")),on(_ef,"keydown",_e5.hitch(this,"_onKey")),on(_ef,"keyup",_e5.hitch(this,"_onKeyUp")));},destroy:function(){if(this._opened){this.closeDropDown(true);}if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_f0=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==_e4.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==_e4.DOWN_ARROW||((e.keyCode==_e4.ENTER||(e.keyCode==_e4.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_f0.tagName||"").toLowerCase()!=="input"||(_f0.type&&_f0.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(_e5.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_f1){_f1();},loadAndOpenDropDown:function(){var d=new _df(),_f2=_e5.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_f2);}else{_f2();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _f3=this.dropDown,_f4=_f3.domNode,_f5=this._aroundNode||this.domNode,_f6=this;var _f7=_e9.open({parent:this,popup:_f3,around:_f5,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){_f6.closeDropDown(true);},onCancel:function(){_f6.closeDropDown(true);},onClose:function(){_e0.set(_f6._popupStateNode,"popupActive",false);_e1.remove(_f6._popupStateNode,"dijitHasDropDownOpen");_f6._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_f5.offsetWidth>_f3._popupWrapper.offsetWidth)){var _f8=_f5.offsetWidth-_f3._popupWrapper.offsetWidth;var _f9={w:_f3.domNode.offsetWidth+_f8};this._origStyle=_f4.style.cssText;if(_e5.isFunction(_f3.resize)){_f3.resize(_f9);}else{_e2.setMarginBox(_f4,_f9);}if(_f7.corner[1]=="R"){_f3._popupWrapper.style.left=(_f3._popupWrapper.style.left.replace("px","")-_f8)+"px";}}_e0.set(this._popupStateNode,"popupActive","true");_e1.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_f3.id);if(_f4.getAttribute("role")!=="presentation"&&!_f4.getAttribute("aria-labelledby")){_f4.setAttribute("aria-labelledby",this.id);}return _f7;},closeDropDown:function(_fa){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_fa&&this.focus){this.focus();}_e9.close(this.dropDown);this._opened=false;}if(this._origStyle){this.dropDown.domNode.style.cssText=this._origStyle;delete this._origStyle;}}});});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_fb,_fc,_fd,_fe){return _fd("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_ff){_fe.mixin(this,_ff);this.connects=[];var _100=this.store;if(!_100.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_100.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_fc.after(_100,"onNew",_fe.hitch(this,"onNewItem"),true),_fc.after(_100,"onDelete",_fe.hitch(this,"onDeleteItem"),true),_fc.after(_100,"onSet",_fe.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_101,_102){if(this.root){_101(this.root);}else{this.store.fetch({query:this.query,onComplete:_fe.hitch(this,function(_103){if(_103.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_103.length+" items, but must return exactly one");}this.root=_103[0];_101(this.root);}),onError:_102});}},mayHaveChildren:function(item){return _fb.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_104,_105,_106){var _107=this.store;if(!_107.isItemLoaded(_104)){var _108=_fe.hitch(this,arguments.callee);_107.loadItem({item:_104,onItem:function(_109){_108(_109,_105,_106);},onError:_106});return;}var _10a=[];for(var i=0;i=0&&_14e[i]!=_14d[i];i--){_151=_13f.byId(_14e[i]);if(_151){_151._hasBeenBlurred=true;_151.set("focused",false);if(_151._focusManager==this){_151._onBlur(by);}this.emit("widget-blur",_151,by);}}for(i++;i<=_150;i++){_151=_13f.byId(_14d[i]);if(_151){_151.set("focused",true);if(_151._focusManager==this){_151._onFocus(by);}this.emit("widget-focus",_151,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _152=new _143();_13c(function(){var _153=_152.registerWin(_13e.get(document));if(has("ie")){on(window,"unload",function(){if(_153){_153.remove();_153=null;}});}});_140.focus=function(node){_152.focus(node);};for(var attr in _152){if(!/^_/.test(attr)){_140.focus[attr]=typeof _152[attr]=="function"?lang.hitch(_152,attr):_152[attr];}}_152.watch(function(attr,_154,_155){_140.focus[attr]=_155;});return _152;});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_156,has,_157,_158,lang,xhr,json,_159){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _15a=dojo.i18n={},_15b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_15c=function(root,_15d,_15e,_15f){for(var _160=[_15e+_15f],_161=_15d.split("-"),_162="",i=0;i<_161.length;i++){_162+=(_162?"-":"")+_161[i];if(!root||root[_162]){_160.push(_15e+_162+"/"+_15f);_160.specificity=_162;}}return _160;},_163={},_164=function(_165,_166,_167){_167=_167?_167.toLowerCase():dojo.locale;_165=_165.replace(/\./g,"/");_166=_166.replace(/\./g,"/");return (/root/i.test(_167))?(_165+"/nls/"+_166):(_165+"/nls/"+_167+"/"+_166);},_168=dojo.getL10nName=function(_169,_16a,_16b){return _169=_159.id+"!"+_164(_169,_16a,_16b);},_16c=function(_16d,_16e,_16f,_170,_171,load){_16d([_16e],function(root){var _172=lang.clone(root.root||root.ROOT),_173=_15c(!root._v1x&&root,_171,_16f,_170);_16d(_173,function(){for(var i=1;i<_173.length;i++){_172=lang.mixin(lang.clone(_172),arguments[i]);}var _174=_16e+"/"+_171;_163[_174]=_172;_172.$locale=_173.specificity;load();});});},_175=function(id,_176){return /^\./.test(id)?_176(id):id;},_177=function(_178){var list=_158.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_178);return list;},load=function(id,_179,load){var _17a=_15b.exec(id),_17b=_17a[1]+"/",_17c=_17a[5]||_17a[4],_17d=_17b+_17c,_17e=(_17a[5]&&_17a[4]),_17f=_17e||dojo.locale||"",_180=_17d+"/"+_17f,_181=_17e?[_17f]:_177(_17f),_182=_181.length,_183=function(){if(!--_182){load(lang.delegate(_163[_180]));}},_184=id.split("*"),_185=_184[1]=="preload";if(has("dojo-preload-i18n-Api")){if(_185){if(!_163[id]){_163[id]=1;_18f(_184[2],json.parse(_184[3]),1,_179);}load(1);}if(_185||(_1ac(id,_179,load)&&!_163[_180])){return;}}else{if(_185){load(1);return;}}_157.forEach(_181,function(_186){var _187=_17d+"/"+_186;if(has("dojo-preload-i18n-Api")){_188(_187);}if(!_163[_187]){_16c(_179,_17d,_17b,_17c,_186,_183);}else{_183();}});};if(has("dojo-preload-i18n-Api")||1){var _189=_15a.normalizeLocale=function(_18a){var _18b=_18a?_18a.toLowerCase():dojo.locale;return _18b=="root"?"ROOT":_18b;},isXd=function(mid,_18c){return (1&&1)?_18c.isXdUrl(_156.toUrl(mid+".js")):true;},_18d=0,_18e=[],_18f=_15a._preloadLocalizations=function(_190,_191,_192,_193){_193=_193||_156;function _194(mid,_195){if(isXd(mid,_193)||_192){_193([mid],_195);}else{_1b0([mid],_195,_193);}};function _196(_197,func){var _198=_197.split("-");while(_198.length){if(func(_198.join("-"))){return;}_198.pop();}func("ROOT");};function _199(){_18d++;};function _19a(){--_18d;while(!_18d&&_18e.length){load.apply(null,_18e.shift());}};function _19b(path,name,loc,_19c){return _19c.toAbsMid(path+name+"/"+loc);};function _19d(_19e){_19e=_189(_19e);_196(_19e,function(loc){if(_157.indexOf(_191,loc)>=0){var mid=_190.replace(/\./g,"/")+"_"+loc;_199();_194(mid,function(_19f){for(var p in _19f){var _1a0=_19f[p],_1a1=p.match(/(.+)\/([^\/]+)$/),_1a2,_1a3;if(!_1a1){continue;}_1a2=_1a1[2];_1a3=_1a1[1]+"/";if(!_1a0._localized){continue;}var _1a4;if(loc==="ROOT"){var root=_1a4=_1a0._localized;delete _1a0._localized;root.root=_1a0;_163[_156.toAbsMid(p)]=root;}else{_1a4=_1a0._localized;_163[_19b(_1a3,_1a2,loc,_156)]=_1a0;}if(loc!==_19e){function _1a5(_1a6,_1a7,_1a8,_1a9){var _1aa=[],_1ab=[];_196(_19e,function(loc){if(_1a9[loc]){_1aa.push(_156.toAbsMid(_1a6+loc+"/"+_1a7));_1ab.push(_19b(_1a6,_1a7,loc,_156));}});if(_1aa.length){_199();_193(_1aa,function(){for(var i=_1aa.length-1;i>=0;i--){_1a8=lang.mixin(lang.clone(_1a8),arguments[i]);_163[_1ab[i]]=_1a8;}_163[_19b(_1a6,_1a7,_19e,_156)]=lang.clone(_1a8);_19a();});}else{_163[_19b(_1a6,_1a7,_19e,_156)]=_1a8;}};_1a5(_1a3,_1a2,_1a0,_1a4);}}_19a();});return true;}return false;});};_19d();_157.forEach(dojo.config.extraLocale,_19d);},_1ac=function(id,_1ad,load){if(_18d){_18e.push([id,_1ad,load]);}return _18d;},_188=function(){};}if(1){var _1ae={},_1af,_1b0=function(deps,_1b1,_1b2){var _1b3=[];_157.forEach(deps,function(mid){var url=_1b2.toUrl(mid+".js");function load(text){if(!_1af){_1af=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}");}var _1b4=_1af(text,_188,mid,_1ae);if(_1b4===_1ae){_1b3.push(_163[url]=_1ae.result);}else{if(_1b4 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_1b4);_1b4={};}_1b3.push(_163[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_1b4:{root:_1b4,_v1x:1}));}};if(_163[url]){_1b3.push(_163[url]);}else{var _1b5=_1b2.syncLoadNls(mid);if(!_1b5){_1b5=_188(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_1b5){_1b3.push(_1b5);}else{if(!xhr){try{_1b2.getText(url,true,load);}catch(e){_1b3.push(_163[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_1b3.push(_163[url]={});}});}}}});_1b1&&_1b1.apply(null,_1b3);};_188=function(_1b6){for(var _1b7,_1b8=_1b6.split("/"),_1b9=dojo.global[_1b8[0]],i=1;_1b9&&i<_1b8.length-1;_1b9=_1b9[_1b8[i++]]){}if(_1b9){_1b7=_1b9[_1b8[i]];if(!_1b7){_1b7=_1b9[_1b8[i].replace(/-/g,"_")];}if(_1b7){_163[_1b6]=_1b7;}}return _1b7;};_15a.getLocalization=function(_1ba,_1bb,_1bc){var _1bd,_1be=_164(_1ba,_1bb,_1bc);load(_1be,(!isXd(_1be,_156)?function(deps,_1bf){_1b0(deps,_1bf,_156);}:_156),function(_1c0){_1bd=_1c0;});return _1bd;};}return lang.mixin(_15a,{dynamic:true,normalize:_175,load:load,cache:_163,getL10nName:_168});});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_1c1,has,_1c2,win){_1c2(function(){if(has("highcontrast")){_1c1.add(win.body(),"dijit_a11y");}});return has;});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_1c3,_1c4,_1c5,lang,_1c6){return _1c4("dijit.tree.ForestStoreModel",_1c6,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_1c7){this.root={store:this,root:true,id:_1c7.rootId,label:_1c7.rootLabel,children:_1c7.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_1c8,_1c9,_1ca){if(_1c8===this.root){if(this.root.children){_1c9(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1cb){this.root.children=_1cb;_1c9(_1cb);}),onError:_1ca});}}else{this.inherited(arguments);}},isItem:function(_1cc){return (_1cc===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_1cd){if(_1cd.identity==this.root.id){var _1ce=_1cd.scope||_1c5.global;if(_1cd.onItem){_1cd.onItem.call(_1ce,this.root);}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_1cf,_1d0){if(_1cf===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_1d1,_1d2,_1d3,_1d4,_1d5){if(_1d2===this.root){if(!_1d4){this.onLeaveRoot(_1d1);}}this.inherited(arguments,[_1d1,_1d2===this.root?null:_1d2,_1d3===this.root?null:_1d3,_1d4,_1d5]);if(_1d3===this.root){this.onAddToRoot(_1d1);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _1d6=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1d7){this.root.children=_1d7;if(_1d6.length!=_1d7.length||_1c3.some(_1d6,function(item,idx){return _1d7[idx]!=item;})){this.onChildrenChange(this.root,_1d7);}})});},onNewItem:function(item,_1d8){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_1c3.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_1d9,_1da,_1db){this._requeryTop();this.inherited(arguments);}});});},"dojo/node":function(){define(["./_base/kernel","./has","require"],function(_1dc,has,_1dd){var _1de=_1dc.global.require&&_1dc.global.require.nodeRequire;if(!_1de){throw new Error("Cannot find the Node.js require");}var _1df=_1de("module");return {load:function(id,_1e0,load){if(_1df._findPath&&_1df._nodeModulePaths){var _1e1=_1df._findPath(id,_1df._nodeModulePaths(_1e0.toUrl(".")));if(_1e1!==false){id=_1e1;}}var _1e2=define,_1e3;define=undefined;try{_1e3=_1de(id);}finally{define=_1e2;}load(_1e3);},normalize:function(id,_1e4){if(id.charAt(0)==="."){id=_1dd.toUrl(_1e4("./"+id));}return id;}};});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_1e5,_1e6,_1e7,has,i18n){var _1e8=_1e6("dijit.form._ComboBoxMenuMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_1e9){this._set("value",_1e9);this.onChange(_1e9);},onClick:function(node){if(node==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(node==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(node);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(item,_1ea){var _1eb=this._createMenuItem();var _1ec=_1ea(item);if(_1ec.html){_1eb.innerHTML=_1ec.label;}else{_1eb.appendChild(_1eb.ownerDocument.createTextNode(_1ec.label));}if(_1eb.innerHTML==""){_1eb.innerHTML=" ";}return _1eb;},createOptions:function(_1ed,_1ee,_1ef){this.items=_1ed;this.previousButton.style.display=(_1ee.start==0)?"none":"";_1e7.set(this.previousButton,"id",this.id+"_prev");_1e5.forEach(_1ed,function(item,i){var _1f0=this._createOption(item,_1ef);_1f0.setAttribute("item",i);_1e7.set(_1f0,"id",this.id+i);this.nextButton.parentNode.insertBefore(_1f0,this.nextButton);},this);var _1f1=false;if(_1ed.total&&!_1ed.total.then&&_1ed.total!=-1){if((_1ee.start+_1ee.count)<_1ed.total){_1f1=true;}else{if((_1ee.start+_1ee.count)>_1ed.total&&_1ee.count==_1ed.length){_1f1=true;}}}else{if(_1ee.count==_1ed.length){_1f1=true;}}this.nextButton.style.display=_1f1?"":"none";_1e7.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _1f2=this.containerNode;while(_1f2.childNodes.length>2){_1f2.removeChild(_1f2.childNodes[_1f2.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this.selected;}});if(has("dojo-bidi")){_1e8=_1e6("dijit.form._ComboBoxMenuMixin",_1e8,{_createOption:function(){var _1f3=this.inherited(arguments);this.applyTextDir(_1f3);return _1f3;}});}return _1e8;});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_1f4,keys,lang,_1f5,_1f6,when,_1f7){return _1f4("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_patternToRegExp:function(_1f8){return new RegExp("^"+_1f8.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_1f9,star,_1fa){return star?".*":_1fa?".":_1f9?_1f9:"\\"+str;})+"$",this.ignoreCase?"mi":"m");},_abortQuery:function(){if(this.searchTimer){this.searchTimer=this.searchTimer.remove();}if(this._queryDeferHandle){this._queryDeferHandle=this._queryDeferHandle.remove();}if(this._fetchHandle){if(this._fetchHandle.abort){this._cancelingQuery=true;this._fetchHandle.abort();this._cancelingQuery=false;}if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_processInput:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;this._prev_key_backspace=false;if(key==keys.DELETE||key==keys.BACKSPACE){this._prev_key_backspace=true;this._maskValidSubsetError=true;}if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_startSearch:function(text){this._abortQuery();var _1fb=this,_1f5=lang.clone(this.query),_1fc={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_1f6.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_1fd=function(){var _1fe=_1fb._fetchHandle=_1fb.store.query(_1f5,_1fc);if(_1fb.disabled||_1fb.readOnly||(q!==_1fb._lastQuery)){return;}when(_1fe,function(res){_1fb._fetchHandle=null;if(!_1fb.disabled&&!_1fb.readOnly&&(q===_1fb._lastQuery)){when(_1fe.total,function(_1ff){res.total=_1ff;var _200=_1fb.pageSize;if(isNaN(_200)||_200>res.total){_200=res.total;}res.nextPage=function(_201){_1fc.direction=_201=_201!==false;_1fc.count=_200;if(_201){_1fc.start+=res.length;if(_1fc.start>=res.total){_1fc.count=0;}}else{_1fc.start-=_200;if(_1fc.start<0){_1fc.count=Math.max(_200+_1fc.start,0);_1fc.start=0;}}if(_1fc.count<=0){res.length=0;_1fb.onSearch(res,_1f5,_1fc);}else{_1fd();}};_1fb.onSearch(res,_1f5,_1fc);});}},function(err){_1fb._fetchHandle=null;if(!_1fb._cancelingQuery){console.error(_1fb.declaredClass+" "+err.toString());}});};lang.mixin(_1fc,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_1f5[this.searchAttr]=q;this._queryDeferHandle=this.defer(_1fd,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_1f7.byId(list);}}this.inherited(arguments);}});});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_202,dojo,_203,_204,_205,dom,_206,_207,_208,all,_209,_20a,has,_20b,don,_20c){new Date("X");function _20d(text){return eval("("+text+")");};var _20e=0;_208.after(_203,"extend",function(){_20e++;},true);function _20f(ctor){var map=ctor._nameCaseMap,_210=ctor.prototype;if(!map||map._extendCnt<_20e){map=ctor._nameCaseMap={};for(var name in _210){if(name.charAt(0)==="_"){continue;}map[name.toLowerCase()]=name;}map._extendCnt=_20e;}return map;};function _211(_212,_213){if(!_213){_213=_202;}var _214=_213._dojoParserCtorMap||(_213._dojoParserCtorMap={});var ts=_212.join();if(!_214[ts]){var _215=[];for(var i=0,l=_212.length;i.*$/,"");_235=_204.map(_237.split(/\s+/),function(name){var _238=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_238=="enctype"?node.getAttribute(_238):node.getAttributeNode(_238).value};});}}var _239=_230.scope||dojo._scopeName,_23a="data-"+_239+"-",hash={};if(_239!=="dojo"){hash[_23a+"props"]="data-dojo-props";hash[_23a+"type"]="data-dojo-type";hash[_23a+"mixins"]="data-dojo-mixins";hash[_239+"type"]="dojotype";hash[_23a+"id"]="data-dojo-id";}var i=0,item,_23b=[],_23c,_23d;while(item=_235[i++]){var name=item.name,_23e=name.toLowerCase(),_23f=item.value;switch(hash[_23e]||_23e){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_23d=_23f;break;case "data-dojo-id":case "jsid":_23c=_23f;break;case "data-dojo-attach-point":case "dojoattachpoint":_234.dojoAttachPoint=_23f;break;case "data-dojo-attach-event":case "dojoattachevent":_234.dojoAttachEvent=_23f;break;case "class":_234["class"]=node.className;break;case "style":_234["style"]=node.style&&node.style.cssText;break;default:if(!(name in _233)){var map=_20f(ctor);name=map[_23e]||name;}if(name in _233){switch(typeof _233[name]){case "string":_234[name]=_23f;break;case "number":_234[name]=_23f.length?Number(_23f):NaN;break;case "boolean":_234[name]=_23f.toLowerCase()!="false";break;case "function":if(_23f===""||_23f.search(/[^\w\.]+/i)!=-1){_234[name]=new Function(_23f);}else{_234[name]=_203.getObject(_23f,false)||new Function(_23f);}_23b.push(name);break;default:var pVal=_233[name];_234[name]=(pVal&&"length" in pVal)?(_23f?_23f.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_23f==""?new Date(""):_23f=="now"?new Date():_209.fromISOString(_23f)):(pVal instanceof _207)?(dojo.baseUrl+_23f):_20d(_23f);}}else{_234[name]=_23f;}}}for(var j=0;j<_23b.length;j++){var _240=_23b[j].toLowerCase();node.removeAttribute(_240);node[_240]=null;}if(_23d){try{_23d=_20d.call(_230.propsThis,"{"+_23d+"}");_203.mixin(_234,_23d);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_23d+"'");}}_203.mixin(_234,_22f);if(!_231){_231=(ctor&&(ctor._noScript||_233._noScript)?[]:_20b("> script[type^='dojo/']",node));}var _241=[],_242=[],_243=[],ons=[];if(_231){for(i=0;i<_231.length;i++){var _244=_231[i];node.removeChild(_244);var _245=(_244.getAttribute(_23a+"event")||_244.getAttribute("event")),prop=_244.getAttribute(_23a+"prop"),_246=_244.getAttribute(_23a+"method"),_247=_244.getAttribute(_23a+"advice"),_248=_244.getAttribute("type"),nf=this._functionFromScript(_244,_23a);if(_245){if(_248=="dojo/connect"){_241.push({method:_245,func:nf});}else{if(_248=="dojo/on"){ons.push({event:_245,func:nf});}else{_234[_245]=nf;}}}else{if(_248=="dojo/aspect"){_241.push({method:_246,advice:_247,func:nf});}else{if(_248=="dojo/watch"){_243.push({prop:prop,func:nf});}else{_242.push(nf);}}}}}var _249=ctor.markupFactory||_233.markupFactory;var _24a=_249?_249(_234,node,ctor):new ctor(_234,node);function _24b(_24c){if(_23c){_203.setObject(_23c,_24c);}for(i=0;i<_241.length;i++){_208[_241[i].advice||"after"](_24c,_241[i].method,_203.hitch(_24c,_241[i].func),true);}for(i=0;i<_242.length;i++){_242[i].call(_24c);}for(i=0;i<_243.length;i++){_24c.watch(_243[i].prop,_243[i].func);}for(i=0;i0?"-":"+")+_292(Math.floor(_297/60))+":"+_292(_297%60);}}_293.push(time);}return _293.join("T");};return _287;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_298,lang,_299,when){return _298("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(_29a){if(_29a){this.set(_29a);}},_get:function(name,_29b){return typeof this[_29b.g]==="function"?this[_29b.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_29c){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _29d=this._getAttrNames(name),_29e=this._get(name,_29d),_29f=this[_29d.s],_2a0;if(typeof _29f==="function"){_2a0=_29f.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_29c;}if(this._watchCallbacks){var self=this;when(_2a0,function(){self._watchCallbacks(name,_29e,_29c);});}return this;},_changeAttrValue:function(name,_2a1){var _2a2=this.get(name);this[name]=_2a1;if(this._watchCallbacks){this._watchCallbacks(name,_2a2,_2a1);}return this;},watch:function(name,_2a3){var _2a4=this._watchCallbacks;if(!_2a4){var self=this;_2a4=this._watchCallbacks=function(name,_2a5,_2a6,_2a7){var _2a8=function(_2a9){if(_2a9){_2a9=_2a9.slice();for(var i=0,l=_2a9.length;i-1){_2aa.splice(_2ac,1);}};return _2ab;}});});},"dijit/layout/AccordionContainer":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],function(_2ad,_2ae,_2af,fx,dom,_2b0,_2b1,_2b2,_2b3,keys,lang,has,_2b4,_2b5,_2b6,_2b7,_2b8,_2b9,_2ba,_2bb,_2bc,_2bd,_2be){function size(_2bf,dim){_2bf.resize?_2bf.resize(dim):_2b3.setMarginBox(_2bf.domNode,dim);};var _2c0=_2af("dijit.layout._AccordionButton",[_2b8,_2ba,_2bb],{templateString:_2be,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent;},buildRendering:function(){this.inherited(arguments);var _2c1=this.id.replace(" ","_");_2b0.set(this.titleTextNode,"id",_2c1+"_title");this.focusNode.setAttribute("aria-labelledby",_2b0.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _2b3.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _2c2=this.getParent();_2c2.selectChild(this.contentWidget,true);_2b5.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_2c3){this._set("selected",_2c3);this.focusNode.setAttribute("aria-expanded",_2c3?"true":"false");this.focusNode.setAttribute("aria-selected",_2c3?"true":"false");this.focusNode.setAttribute("tabIndex",_2c3?"0":"-1");}});if(has("dojo-bidi")){_2c0.extend({_setLabelAttr:function(_2c4){this._set("label",_2c4);_2b0.set(this.titleTextNode,"innerHTML",_2c4);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_2c5){this._set("title",_2c5);_2b0.set(this.titleTextNode,"title",_2c5);this.applyTextDir(this.titleTextNode);}});}var _2c6=_2af("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_2b8,_2bb],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_2b2.place("",this.contentWidget.domNode,"after");var _2c7=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_2c7._buttonWidget=(new cls({contentWidget:_2c7,label:_2c7.title,title:_2c7.tooltip,dir:_2c7.dir,lang:_2c7.lang,textDir:_2c7.textDir||this.textDir,iconClass:_2c7.iconClass,id:_2c7.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_2b2.place("
",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_2b2.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _2c8=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_2c9,_2ca){_2c8.set("label",_2ca);})),cw.watch("tooltip",lang.hitch(this,function(name,_2cb,_2cc){_2c8.set("title",_2cc);})),cw.watch("iconClass",lang.hitch(this,function(name,_2cd,_2ce){_2c8.set("iconClass",_2ce);}))];},_setSelectedAttr:function(_2cf){this._set("selected",_2cf);this.button.set("selected",_2cf);if(_2cf){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_2ae.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_2d0){this.contentWidget.destroyRecursive(_2d0);}});if(has("dojo-bidi")){_2c6=_2af("dijit.layout._AccordionInnerContainer",_2c6,{postCreate:function(){this.inherited(arguments);var _2d1=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_2d2,_2d3){_2d1.set("textDir",_2d3);}));}});}var _2d4=_2af("dijit.layout.AccordionContainer",_2bc,{duration:_2b6.defaultDuration,buttonWidget:_2c0,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _2d5=this.selectedChildWidget;if(!_2d5){return;}var _2d6=_2d5._wrapperWidget.domNode,_2d7=_2b3.getMarginExtents(_2d6),_2d8=_2b3.getPadBorderExtents(_2d6),_2d9=_2d5._wrapperWidget.containerNode,_2da=_2b3.getMarginExtents(_2d9),_2db=_2b3.getPadBorderExtents(_2d9),_2dc=this._contentBox;var _2dd=0;_2ae.forEach(this.getChildren(),function(_2de){if(_2de!=_2d5){_2dd+=_2b3.getMarginSize(_2de._wrapperWidget.domNode).h;}});this._verticalSpace=_2dc.h-_2dd-_2d7.h-_2d8.h-_2da.h-_2db.h-_2d5._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_2d7.w-_2d8.w-_2da.w-_2db.w};if(_2d5){size(_2d5,this._containerContentBox);}},_setupChild:function(_2df){_2df._wrapperWidget=_2c6({contentWidget:_2df,buttonWidget:this.buttonWidget,id:_2df.id+"_wrapper",dir:_2df.dir,lang:_2df.lang,textDir:_2df.textDir||this.textDir,parent:this});this.inherited(arguments);_2b2.place(_2df.domNode,_2df._wrapper,"replace");},removeChild:function(_2e0){if(_2e0._wrapperWidget){_2b2.place(_2e0.domNode,_2e0._wrapperWidget.domNode,"after");_2e0._wrapperWidget.destroy();delete _2e0._wrapperWidget;}_2b1.remove(_2e0.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _2ae.map(this.inherited(arguments),function(_2e1){return _2e1.declaredClass=="dijit.layout._AccordionInnerContainer"?_2e1.contentWidget:_2e1;},this);},destroy:function(){if(this._animation){this._animation.stop();}_2ae.forEach(this.getChildren(),function(_2e2){if(_2e2._wrapperWidget){_2e2._wrapperWidget.destroy();}else{_2e2.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_2e3){_2e3._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_2e4){_2e4._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_2e5,_2e6,_2e7){if(has("ie")<8){_2e7=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_2e5){_2e5._wrapperWidget.set("selected",true);var d=this._showChild(_2e5);if(this.doLayout){size(_2e5,this._containerContentBox);}}if(_2e6){_2e6._wrapperWidget.set("selected",false);if(!_2e7){this._hideChild(_2e6);}}if(_2e7){var _2e8=_2e5._wrapperWidget.containerNode,_2e9=_2e6._wrapperWidget.containerNode;var _2ea=_2e5._wrapperWidget.containerNode,_2eb=_2b3.getMarginExtents(_2ea),_2ec=_2b3.getPadBorderExtents(_2ea),_2ed=_2eb.h+_2ec.h;_2e9.style.height=(self._verticalSpace-_2ed)+"px";this._animation=new fx.Animation({node:_2e8,duration:this.duration,curve:[1,this._verticalSpace-_2ed-1],onAnimate:function(_2ee){_2ee=Math.floor(_2ee);_2e8.style.height=_2ee+"px";_2e9.style.height=(self._verticalSpace-_2ed-_2ee)+"px";},onEnd:function(){delete self._animation;_2e8.style.height="auto";_2e6._wrapperWidget.containerNode.style.display="none";_2e9.style.height="auto";self._hideChild(_2e6);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_2ef){if(this.disabled||e.altKey||!(_2ef||e.ctrlKey)){return;}var c=e.keyCode;if((_2ef&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_2ef&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_2b7(0,function(){var _2f0=["dijit/layout/AccordionPane"];_2ad(_2f0);});}_2d4._InnerContainer=_2c6;_2d4._Button=_2c0;return _2d4;});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],function(_2f1,keys,_2f2,_2f3,_2f4){return _2f1("dijit.form.ComboButton",_2f3,{templateString:_2f4,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_2f2.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_2f2.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_2f5){if(!this.disabled){_2f2.focus(_2f5=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_2f6,_2f7,_2f8,keys,lang,_2f9,_2fa,has,_2fb,_2fc,_2fd){var _2fe=_2f7("dijit.form._AutoCompleterMixin",_2fd,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_2ff){var pos=0;if(typeof (_2ff.selectionStart)=="number"){pos=_2ff.selectionStart;}else{if(has("ie")){var tr=_2ff.ownerDocument.selection.createRange().duplicate();var ntr=_2ff.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_300,_301){_301=parseInt(_301);_2fc.selectInputText(_300,_301,_301);},_setDisabledAttr:function(_302){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_302?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _303=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_303=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_303);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_303){if(_303==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_303==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _304=this.get("displayedValue");if(pw&&(_304==pw._messages["previousMessage"]||_304==pw._messages["nextMessage"])){break;}if(_303){this._selectOption(_303);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_2fc.selectInputText(fn,fn.value.length);var _305=this.ignoreCase?"toLowerCase":"substr";if(text[_305](0).indexOf(this.focusNode.value[_305](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_2fc.selectInputText(fn,cpos);}}else{fn.value=text;_2fc.selectInputText(fn);}},_openResultList:function(_306,_307,_308){var _309=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_306.length&&_308.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_30a){_306.nextPage(_30a!==-1);this.focus();});this.dropDown.createOptions(_306,_308,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _308){if(_308.direction){this.dropDown.highlightFirstOption();}else{if(!_308.direction){this.dropDown.highlightLastOption();}}if(_309){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_307[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");}},_setBlurValue:function(){var _30b=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_30b==pw._messages["previousMessage"]||_30b==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_30b);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_30c,_30d){var _30e="";if(item){if(!_30d){_30d=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_30e=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_30d;}this.set("value",_30e,_30c,_30d,item);},_announceOption:function(node){if(!node){return;}var _30f;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_30f=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_30f=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_30f);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_2f8.get(node,"id"));this._autoCompleteText(_30f);},_selectOption:function(_310){this.closeDropDown();if(_310){this._announceOption(_310);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _311=this.id+"_popup",_312=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _312({onChange:lang.hitch(this,this._selectOption),id:_311,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef){var _313=this.srcNodeRef;this.store=new _2fb({},_313);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _314=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_314):item[_314];}}}},postCreate:function(){var _315=_2f9("label[for=\""+this.id+"\"]");if(_315.length){if(!_315[0].id){_315[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_315[0].id);}this.inherited(arguments);_2f6.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _316=this.labelFunc(item,this.store),_317=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_316=this.doHighlight(_316,this._lastInput);_317="html";}return {html:_317=="html",label:_316};},doHighlight:function(_318,find){var _319=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_2fa.escapeString(find);return this._escapeHtml(_318.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_319),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"
$1 ");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_31a){return (_31a._oldAPI?_31a.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_31b,_31c,_31d,item){this._set("item",item||null);if(_31b==null){_31b="";}this.inherited(arguments);}});if(has("dojo-bidi")){_2fe.extend({_setTextDirAttr:function(_31e){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_31e);}}});}return _2fe;});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_31f,has,_320,_321){return _31f("dijit.form.MappedTextBox",_321,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_320.place("
",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_322,_323,_324,lang,_325,_326,_327,_328,_329){return _322("dijit.form.ComboBoxMixin",[_328,_326],{dropDownClass:_327,hasDownArrow:true,templateString:_329,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_32a){if(!_32a.get){lang.mixin(_32a,{_oldAPI:true,get:function(id){var _32b=new _323();this.fetchItemByIdentity({identity:id,onItem:function(_32c){_32b.resolve(_32c);},onError:function(_32d){_32b.reject(_32d);}});return _32b.promise;},query:function(_32e,_32f){var _330=new _323(function(){_331.abort&&_331.abort();});_330.total=new _323();var _331=this.fetch(lang.mixin({query:_32e,onBegin:function(_332){_330.total.resolve(_332);},onComplete:function(_333){_330.resolve(_333);},onError:function(_334){_330.reject(_334);}},_32f));return _325(_330);}});}this._set("store",_32a);},postMixInProperties:function(){var _335=this.params.store||this.store;if(_335){this._setStoreAttr(_335);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _336=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_324.deprecated(_336+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_324.deprecated(_336+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_324.deprecated(_336+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_337){new _337({objectStore:this}).fetch(args);}));}});}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list");}});});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/sniff","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_338,_339,dom,has,keys,lang,on,_33a){var _33b=_339("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_33c,_33d,_33e){var _33f;if(_33c!==undefined){_33f=this.filter(_33c);if(typeof _33e!="string"){if(_33f!==null&&((typeof _33f!="number")||!isNaN(_33f))){_33e=this.filter(this.format(_33f,this.constraints));}else{_33e="";}if(this.compare(_33f,this.filter(this.parse(_33e,this.constraints)))!=0){_33e=null;}}}if(_33e!=null&&((typeof _33e)!="number"||!isNaN(_33e))&&this.textbox.value!=_33e){this.textbox.value=_33e;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_33f,_33d]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_340){if(_340==null){_340="";}else{if(typeof _340!="string"){_340=String(_340);}}this.textbox.value=_340;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_341){return _341==null?"":(_341.toString?_341.toString():_341);},parse:function(_342){return _342;},_refreshState:function(){},onInput:function(){},_onInput:function(evt){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||evt);delete this._lastInputProducingEvent;if(this.intermediateChanges){this._handleOnChange(this.get("value"),false);}},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _343(e){var _344;if(e.type=="keydown"&&e.keyCode!=229){_344=e.keyCode;switch(_344){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_344){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_344>=65&&_344<=90)||(_344>=48&&_344<=57)||_344==keys.SPACE){return;}var _345=false;for(var i in keys){if(keys[i]===e.keyCode){_345=true;break;}}if(!_345){return;}}}_344=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_344){_344=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_344){_344=229;}if(e.type=="keypress"){if(typeof _344!="string"){return;}if((_344>="a"&&_344<="z")||(_344>="A"&&_344<="Z")||(_344>="0"&&_344<="9")||(_344===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}var faux={faux:true},attr;for(attr in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(attr)){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_344,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});this._lastInputProducingEvent=faux;if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}if(has("ie")<=9){switch(e.keyCode){case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:break;default:if(e.keyCode==keys.ENTER&&this.textbox.tagName.toLowerCase()!="textarea"){break;}this.defer(function(){if(this.textbox.value!==this._lastInputEventValue){on.emit(this.textbox,"input",{bubbles:true});}});}}};this.own(on(this.textbox,"keydown, keypress, paste, cut, compositionend",lang.hitch(this,_343)),on(this.textbox,"input",lang.hitch(this,"_onInput")),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=on.once(this.domNode,"mouseup, touchend",lang.hitch(this,function(evt){if(!this._isTextSelected()){_33b.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_33b=_339("dijit.form._TextBoxMixin",_33b,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_33b._setSelectionRange=_33a._setSelectionRange=function(_346,_347,stop){if(_346.setSelectionRange){_346.setSelectionRange(_347,stop);}};_33b.selectInputText=_33a.selectInputText=function(_348,_349,stop){_348=dom.byId(_348);if(isNaN(_349)){_349=0;}if(isNaN(stop)){stop=_348.value?_348.value.length:0;}try{_348.focus();_33b._setSelectionRange(_348,_349,stop);}catch(e){}};return _33b;});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_34a,_34b,has,_34c){return _34a("dijit.form.SimpleTextarea",_34c,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"
",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_34b.add(this.textbox,"dijitTextAreaCols");}},filter:function(_34d){if(_34d){_34d=_34d.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _34e=parseInt(this.maxLength);var _34f=this.textbox.value.replace(/\r/g,"");var _350=_34f.length-_34e;if(_350>0){var _351=this.textbox;if(_351.selectionStart){var pos=_351.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_34f.substring(0,pos-_350-cr)+_34f.substring(pos-cr);_351.setSelectionRange(pos-_350,pos-_350);}else{if(this.ownerDocument.selection){_351.focus();var _352=this.ownerDocument.selection.createRange();_352.moveStart("character",-_350);_352.text="";_352.select();}}}}this.inherited(arguments);}});});},"dijit/_base/window":function(){define(["dojo/window","../main"],function(_353,_354){_354.getDocumentWindow=function(doc){return _353.get(doc);};});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_355,_356,lang,_357,pm,_358,_359){return _355("dijit.PopupMenuItem",_359,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _35a=_357("*",this.srcNodeRef);this.inherited(arguments,[_35a[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_35b,_35c){var _35d=this.popup;pm.open(lang.delegate(_35b,{popup:this.popup,around:this.domNode}));if(_35c&&_35d.focus){_35d.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_357("[widgetId]",this.dropDownContainer)[0];this.popup=_358.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_356.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_35e){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_35e);}delete this.popup;}this.inherited(arguments);}});});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_35f,_360,_361,_362,has,_363,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");try{div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url(\""+(_360.blankGif||_35f.toUrl("./resources/blank.gif"))+"\");";win.body().appendChild(div);var cs=_362.getComputedStyle(div),_364=cs.backgroundImage;return cs.borderTopColor==cs.borderRightColor||(_364&&(_364=="none"||_364=="url(invalid-url:)"));}catch(e){console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+e.toString());return false;}finally{if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}}});_363(function(){if(has("highcontrast")){_361.add(win.body(),"dj_a11y");}});return has;});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_365,_366,_367){return _365("dijit.form.RadioButton",[_366,_367],{baseClass:"dijitRadio"});});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_368,keys,_369,has,_36a){var ret=_369("dijit._OnDijitClickMixin",null,{connect:function(obj,_36b,_36c){return this.inherited(arguments,[obj,_36b=="ondijitclick"?_36a:_36b,_36c]);}});ret.a11yclick=_36a;return ret;});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_36d,_36e,_36f,_370,_371,_372,_373,_374,i18n,_375,keys,lang,on,has,when,_376,fm,_377,_378,_379,_37a,_37b,_37c,_37d,_37e){var _37f=_370("dijit._InlineEditor",[_377,_378,_379],{templateString:_37e,contextRequire:_36d,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_36e.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var Cls=typeof this.editor=="string"?(lang.getObject(this.editor)||_36d(this.editor)):this.editor;var _380=this.sourceStyle,_381="line-height:"+_380.lineHeight+";",_382=_374.getComputedStyle(this.domNode);_36e.forEach(["Weight","Family","Size","Style"],function(prop){var _383=_380["font"+prop],_384=_382["font"+prop];if(_384!=_383){_381+="font-"+prop+":"+_380["font"+prop]+";";}},this);_36e.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_380[prop];},this);var _385=this.inlineEditBox.width;if(_385=="100%"){_381+="width:100%;";this.domNode.style.display="block";}else{_381+="width:"+(_385+(Number(_385)==_385?"px":""))+";";}var _386=lang.delegate(this.inlineEditBox.editorParams,{style:_381,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_386,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_373.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_36f.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_36f.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get(("displayedValue" in ew||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_37c.selectInputText(this.editWidget.focusNode);});}}}});var _387=_370("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_377,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_37d,editorWrapper:_37f,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"
✍ ":"
✍ ",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_376,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_372.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_388){_375.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_388);},_setDisabledAttr:function(_389){this.domNode.setAttribute("aria-disabled",_389?"true":"false");if(_389){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_372.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_389);this._set("disabled",_389);},_onMouseOver:function(){if(!this.disabled){_372.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_372.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_371.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _38a=_373.create("span",null,this.domNode,"before");var Ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new Ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_374.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_38a);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_372.add(this.displayNode,"dijitOffScreen");_372.remove(ww.domNode,"dijitOffScreen");_374.set(ww.domNode,{visibility:"visible"});_371.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_38b){var ww=this.wrapperWidget;_374.set(ww.domNode,{visibility:"hidden"});_372.add(ww.domNode,"dijitOffScreen");_372.remove(this.displayNode,"dijitOffScreen");_371.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_38b){fm.focus(this.displayNode);}},save:function(_38c){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _38d=ww.getValue();this.set("value",_38d);this._showText(_38c);},setValue:function(val){_375.deprecated("dijit.InlineEditBox.setValue() is deprecated. Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _38e=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""").replace(/\n/g,"
");if(this.editorParams&&this.editorParams.type==="password"){this.displayNode.innerHTML="********";}else{this.displayNode.innerHTML=_38e||this.noValueIndicator;}this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_375.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_38f){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_38f);}});if(has("dojo-bidi")){_387=_370("dijit.InlineEditBox",_387,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_387._InlineEditor=_37f;return _387;});},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_390,lang,win){var trim=lang.trim;var each=_390.forEach;var _391=function(){return win.doc;};var _392=(_391().compatMode)=="BackCompat";var _393=">~+";var _394=false;var _395=function(){return true;};var _396=function(_397){if(_393.indexOf(_397.slice(-1))>=0){_397+=" * ";}else{_397+=" ";}var ts=function(s,e){return trim(_397.slice(s,e));};var _398=[];var _399=-1,_39a=-1,_39b=-1,_39c=-1,_39d=-1,inId=-1,_39e=-1,_39f,lc="",cc="",_3a0;var x=0,ql=_397.length,_3a1=null,_3a2=null;var _3a3=function(){if(_39e>=0){var tv=(_39e==x)?null:ts(_39e,x);_3a1[(_393.indexOf(tv)<0)?"tag":"oper"]=tv;_39e=-1;}};var _3a4=function(){if(inId>=0){_3a1.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _3a5=function(){if(_39d>=0){_3a1.classes.push(ts(_39d+1,x).replace(/\\/g,""));_39d=-1;}};var _3a6=function(){_3a4();_3a3();_3a5();};var _3a7=function(){_3a6();if(_39c>=0){_3a1.pseudos.push({name:ts(_39c+1,x)});}_3a1.loops=(_3a1.pseudos.length||_3a1.attrs.length||_3a1.classes.length);_3a1.oquery=_3a1.query=ts(_3a0,x);_3a1.otag=_3a1.tag=(_3a1["oper"])?null:(_3a1.tag||"*");if(_3a1.tag){_3a1.tag=_3a1.tag.toUpperCase();}if(_398.length&&(_398[_398.length-1].oper)){_3a1.infixOper=_398.pop();_3a1.query=_3a1.infixOper.query+" "+_3a1.query;}_398.push(_3a1);_3a1=null;};for(;lc=cc,cc=_397.charAt(x),x
=0){if(cc=="]"){if(!_3a2.attr){_3a2.attr=ts(_399+1,x);}else{_3a2.matchFor=ts((_39b||_399+1),x);}var cmf=_3a2.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_3a2.matchFor=cmf.slice(1,-1);}}if(_3a2.matchFor){_3a2.matchFor=_3a2.matchFor.replace(/\\/g,"");}_3a1.attrs.push(_3a2);_3a2=null;_399=_39b=-1;}else{if(cc=="="){var _3a8=("|~^$*".indexOf(lc)>=0)?lc:"";_3a2.type=_3a8+cc;_3a2.attr=ts(_399+1,x-_3a8.length);_39b=x+1;}}}else{if(_39a>=0){if(cc==")"){if(_39c>=0){_3a2.value=ts(_39a+1,x);}_39c=_39a=-1;}}else{if(cc=="#"){_3a6();inId=x+1;}else{if(cc=="."){_3a6();_39d=x;}else{if(cc==":"){_3a6();_39c=x;}else{if(cc=="["){_3a6();_399=x;_3a2={};}else{if(cc=="("){if(_39c>=0){_3a2={name:ts(_39c+1,x),value:null};_3a1.pseudos.push(_3a2);}_39a=x;}else{if((cc==" ")&&(lc!=cc)){_3a7();}}}}}}}}}return _398;};var _3a9=function(_3aa,_3ab){if(!_3aa){return _3ab;}if(!_3ab){return _3aa;}return function(){return _3aa.apply(window,arguments)&&_3ab.apply(window,arguments);};};var _3ac=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _3ad=function(n){return (1==n.nodeType);};var _3ae="";var _3af=function(elem,attr){if(!elem){return _3ae;}if(attr=="class"){return elem.className||_3ae;}if(attr=="for"){return elem.htmlFor||_3ae;}if(attr=="style"){return elem.style.cssText||_3ae;}return (_394?elem.getAttribute(attr):elem.getAttribute(attr,2))||_3ae;};var _3b0={"*=":function(attr,_3b1){return function(elem){return (_3af(elem,attr).indexOf(_3b1)>=0);};},"^=":function(attr,_3b2){return function(elem){return (_3af(elem,attr).indexOf(_3b2)==0);};},"$=":function(attr,_3b3){return function(elem){var ea=" "+_3af(elem,attr);var _3b4=ea.lastIndexOf(_3b3);return _3b4>-1&&(_3b4==(ea.length-_3b3.length));};},"~=":function(attr,_3b5){var tval=" "+_3b5+" ";return function(elem){var ea=" "+_3af(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3b6){var _3b7=_3b6+"-";return function(elem){var ea=_3af(elem,attr);return ((ea==_3b6)||(ea.indexOf(_3b7)==0));};},"=":function(attr,_3b8){return function(elem){return (_3af(elem,attr)==_3b8);};}};var _3b9=_391().documentElement;var _3ba=!(_3b9.nextElementSibling||"nextElementSibling" in _3b9);var _3bb=!_3ba?"nextElementSibling":"nextSibling";var _3bc=!_3ba?"previousElementSibling":"previousSibling";var _3bd=(_3ba?_3ad:_395);var _3be=function(node){while(node=node[_3bc]){if(_3bd(node)){return false;}}return true;};var _3bf=function(node){while(node=node[_3bb]){if(_3bd(node)){return false;}}return true;};var _3c0=function(node){var root=node.parentNode;root=root.nodeType!=7?root:root.nextSibling;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}if(has("ie")&&typeof root.setAttribute!=="undefined"){root.setAttribute("_l",l);}else{root["_l"]=l;}ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_3bb]){if(_3bd(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _3c1=function(elem){return !((_3c0(elem))%2);};var _3c2=function(elem){return ((_3c0(elem))%2);};var _3c3={"checked":function(name,_3c4){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_3c5){return function(elem){return elem.disabled;};},"enabled":function(name,_3c6){return function(elem){return !elem.disabled;};},"first-child":function(){return _3be;},"last-child":function(){return _3bf;},"only-child":function(name,_3c7){return function(node){return _3be(node)&&_3bf(node);};},"empty":function(name,_3c8){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_3c9){var cz=_3c9.charAt(0);if(cz=="\""||cz=="'"){_3c9=_3c9.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_3c9)>=0);};},"not":function(name,_3ca){var p=_396(_3ca)[0];var _3cb={el:1};if(p.tag!="*"){_3cb.tag=1;}if(!p.classes.length){_3cb.classes=1;}var ntf=_3cc(p,_3cb);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3cd){var pi=parseInt;if(_3cd=="odd"){return _3c2;}else{if(_3cd=="even"){return _3c1;}}if(_3cd.indexOf("n")!=-1){var _3ce=_3cd.split("n",2);var pred=_3ce[0]?((_3ce[0]=="-")?-1:pi(_3ce[0])):1;var idx=_3ce[1]?pi(_3ce[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_3c0(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_3cd=idx;}}var _3cf=pi(_3cd);return function(elem){return (_3c0(elem)==_3cf);};}};var _3d0=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_394?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _3cc=function(_3d1,_3d2){if(!_3d1){return _395;}_3d2=_3d2||{};var ff=null;if(!("el" in _3d2)){ff=_3a9(ff,_3ad);}if(!("tag" in _3d2)){if(_3d1.tag!="*"){ff=_3a9(ff,function(elem){return (elem&&((_394?elem.tagName:elem.tagName.toUpperCase())==_3d1.getTag()));});}}if(!("classes" in _3d2)){each(_3d1.classes,function(_3d3,idx,arr){var re=new RegExp("(?:^|\\s)"+_3d3+"(?:\\s|$)");ff=_3a9(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _3d2)){each(_3d1.pseudos,function(_3d4){var pn=_3d4.name;if(_3c3[pn]){ff=_3a9(ff,_3c3[pn](pn,_3d4.value));}});}if(!("attrs" in _3d2)){each(_3d1.attrs,function(attr){var _3d5;var a=attr.attr;if(attr.type&&_3b0[attr.type]){_3d5=_3b0[attr.type](a,attr.matchFor);}else{if(a.length){_3d5=_3d0(a);}}if(_3d5){ff=_3a9(ff,_3d5);}});}if(!("id" in _3d2)){if(_3d1.id){ff=_3a9(ff,function(elem){return (!!elem&&(elem.id==_3d1.id));});}}if(!ff){if(!("default" in _3d2)){ff=_395;}}return ff;};var _3d6=function(_3d7){return function(node,ret,bag){while(node=node[_3bb]){if(_3ba&&(!_3ad(node))){continue;}if((!bag||_3d8(node,bag))&&_3d7(node)){ret.push(node);}break;}return ret;};};var _3d9=function(_3da){return function(root,ret,bag){var te=root[_3bb];while(te){if(_3bd(te)){if(bag&&!_3d8(te,bag)){break;}if(_3da(te)){ret.push(te);}}te=te[_3bb];}return ret;};};var _3db=function(_3dc,_3dd){var _3de=function(_3df){var _3e0=[];try{_3e0=Array.prototype.slice.call(_3df);}catch(e){for(var i=0,len=_3df.length;i"==oper){_3e5=_3db(_3e6);}}}}return _3e2[_3e4.query]=_3e5;};var _3ed=function(root,_3ee){var _3ef=_3ac(root),qp,x,te,qpl=_3ee.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_3e3(qp);for(var j=0;(te=_3ef[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_3ef=ret;}return ret;};var _3f0={},_3f1={};var _3f2=function(_3f3){var _3f4=_396(trim(_3f3));if(_3f4.length==1){var tef=_3e3(_3f4[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _3ed(root,_3f4);};};var _3f5=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _3f6=!!_391()[qsa];var _3f7=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _3f8=function(_3f9,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_3f9;};var _3fa=/([^[]*)([^\]]*])?/g;var _3fb=function(_3fc,_3fd,att){return _3fd.replace(_3f7,_3f8)+(att||"");};var _3fe=function(_3ff,_400){_3ff=_3ff.replace(_3fa,_3fb);if(_3f6){var _401=_3f1[_3ff];if(_401&&!_400){return _401;}}var _402=_3f0[_3ff];if(_402){return _402;}var qcz=_3ff.charAt(0);var _403=(-1==_3ff.indexOf(" "));if((_3ff.indexOf("#")>=0)&&(_403)){_400=true;}var _404=(_3f6&&(!_400)&&(_393.indexOf(qcz)==-1)&&(!has("ie")||(_3ff.indexOf(":")==-1))&&(!(_392&&(_3ff.indexOf(".")>=0)))&&(_3ff.indexOf(":contains")==-1)&&(_3ff.indexOf(":checked")==-1)&&(_3ff.indexOf("|=")==-1));if(_404){var tq=(_393.indexOf(_3ff.charAt(_3ff.length-1))>=0)?(_3ff+" *"):_3ff;return _3f1[_3ff]=function(root){if(9==root.nodeType||_403){try{var r=root[qsa](tq);r[_3f5]=true;return r;}catch(e){}}return _3fe(_3ff,true)(root);};}else{var _405=_3ff.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _3f0[_3ff]=((_405.length<2)?_3f2(_3ff):function(root){var _406=0,ret=[],tp;while((tp=_405[_406++])){ret=ret.concat(_3f2(tp)(root));}return ret;});}};var _407=0;var _408=has("ie")?function(node){if(_394){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_407)||_407);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_407));};var _3d8=function(node,bag){if(!bag){return 1;}var id=_408(node);if(!bag[id]){return bag[id]=1;}return 0;};var _409="_zipIdx";var _40a=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_407++;var x,te;if(has("ie")&&_394){var _40b=_407+"";for(x=0;xv.w-_416.H_TRIGGER_AUTOSCROLL){dx=Math.min(_416.H_AUTOSCROLL_VALUE,_419-html.scrollLeft);}}if(e.clientY<_416.V_TRIGGER_AUTOSCROLL){dy=-_416.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_416.V_TRIGGER_AUTOSCROLL){dy=Math.min(_416.V_AUTOSCROLL_VALUE,_418-html.scrollTop);}}window.scrollBy(dx,dy);};_416._validNodes={"div":1,"p":1,"td":1};_416._validOverflow={"auto":1,"scroll":1};_416.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_41a,_41b;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _416._validNodes)){var s=_414.getComputedStyle(n),_41c=(s.overflowX.toLowerCase() in _416._validOverflow),_41d=(s.overflowY.toLowerCase() in _416._validOverflow);if(_41c||_41d){b=_413.getContentBox(n,s);t=_413.position(n,true);}if(_41c){w=Math.min(_416.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rxb.w-w){dx=w;}}_41a=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_41d){h=Math.min(_416.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ryb.h-h){dy=h;}}_41b=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_416.autoScroll(e);};return _416;});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_41e,_41f,_420,lang,_421,_422){return _41f("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_421("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_423){if(_423.name==this.name&&_423.form==this.focusNode.form){var _424=_422.getEnclosingWidget(_423);if(_424){ary.push(_424);}}}));return ary;},_setCheckedAttr:function(_425){this.inherited(arguments);if(!this._created){return;}if(_425){_41e.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_426){if(_426!=this&&_426.checked){_426.set("checked",false);}}));}},_getSubmitValue:function(_427){return _427==null?"on":_427;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_41e.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_428){_420.set(this.focusNode||this.domNode,"checked",_428.checked);}));return false;}var _429=false;var _42a;_41e.some(this._getRelatedWidgets(),function(_42b){if(_42b.checked){_42a=_42b;return true;}return false;});this.checked=true;_42a&&(_42a.checked=false);if(this.onClick(e)===false||e.defaultPrevented){_429=true;}this.checked=false;_42a&&(_42a.checked=true);if(_429){e.preventDefault();}else{this.set("checked",true);}return !_429;}});});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(lang,_42c,_42d,_42e,_42f,_430,_431){return _42c("dojo.data.ItemFileWriteStore",_430,{constructor:function(_432){this._features["dojo.data.api.Write"]=true;this._features["dojo.data.api.Notification"]=true;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};if(!this._datatypeMap["Date"].serialize){this._datatypeMap["Date"].serialize=function(obj){return _431.toISOString(obj,{zulu:true});};}if(_432&&(_432.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_433){if(!_433){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_434,_435){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _434!="object"&&typeof _434!="undefined"){throw new Error("newItem() was passed something other than an object");}var _436=null;var _437=this._getIdentifierAttribute();if(_437===Number){_436=this._arrayOfAllItems.length;}else{_436=_434[_437];if(typeof _436==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(lang.isArray(_436)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_436]==="undefined");}this._assert(typeof this._pending._newItems[_436]==="undefined");this._assert(typeof this._pending._deletedItems[_436]==="undefined");var _438={};_438[this._storeRefPropName]=this;_438[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_436]=_438;_438[_437]=[_436];}this._arrayOfAllItems.push(_438);var _439=null;if(_435&&_435.parent&&_435.attribute){_439={item:_435.parent,attribute:_435.attribute,oldValue:undefined};var _43a=this.getValues(_435.parent,_435.attribute);if(_43a&&_43a.length>0){var _43b=_43a.slice(0,_43a.length);if(_43a.length===1){_439.oldValue=_43a[0];}else{_439.oldValue=_43a.slice(0,_43a.length);}_43b.push(_438);this._setValueOrValues(_435.parent,_435.attribute,_43b,false);_439.newValue=this.getValues(_435.parent,_435.attribute);}else{this._setValueOrValues(_435.parent,_435.attribute,_438,false);_439.newValue=_438;}}else{_438[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_438);}this._pending._newItems[_436]=_438;for(var key in _434){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _43c=_434[key];if(!lang.isArray(_43c)){_43c=[_43c];}_438[key]=_43c;if(this.referenceIntegrity){for(var i=0;i<_43c.length;i++){var val=_43c[i];if(this.isItem(val)){this._addReferenceToMap(val,_438,key);}}}}this.onNew(_438,_439);return _438;},_removeArrayElement:function(_43d,_43e){var _43f=_42d.indexOf(_43d,_43e);if(_43f!=-1){_43d.splice(_43f,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _440=item[this._itemNumPropName];var _441=this.getIdentity(item);if(this.referenceIntegrity){var _442=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=lang.clone(item[this._reverseRefMap]);}_42d.forEach(_442,function(_443){_42d.forEach(this.getValues(item,_443),function(_444){if(this.isItem(_444)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_444),attr:_443});this._removeReferenceFromMap(_444,item,_443);}},this);},this);var _445=item[this._reverseRefMap];if(_445){for(var _446 in _445){var _447=null;if(this._itemsByIdentity){_447=this._itemsByIdentity[_446];}else{_447=this._arrayOfAllItems[_446];}if(_447){for(var _448 in _445[_446]){var _449=this.getValues(_447,_448)||[];var _44a=_42d.filter(_449,function(_44b){return !(this.isItem(_44b)&&this.getIdentity(_44b)==_441);},this);this._removeReferenceFromMap(item,_447,_448);if(_44a.length<_449.length){this._setValueOrValues(_447,_448,_44a,true);}}}}}}this._arrayOfAllItems[_440]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_441];}this._pending._deletedItems[_441]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_44c,_44d){return this._setValueOrValues(item,_44c,_44d,true);},setValues:function(item,_44e,_44f){return this._setValueOrValues(item,_44e,_44f,true);},unsetAttribute:function(item,_450){return this._setValueOrValues(item,_450,[],true);},_setValueOrValues:function(item,_451,_452,_453){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(lang.isString(_451));this._assert(typeof _452!=="undefined");var _454=this._getIdentifierAttribute();if(_451==_454){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _455=this._getValueOrValues(item,_451);var _456=this.getIdentity(item);if(!this._pending._modifiedItems[_456]){var _457={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_457[key]=item[key];}else{if(key===this._reverseRefMap){_457[key]=lang.clone(item[key]);}else{_457[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_456]=_457;}var _458=false;if(lang.isArray(_452)&&_452.length===0){_458=delete item[_451];_452=undefined;if(this.referenceIntegrity&&_455){var _459=_455;if(!lang.isArray(_459)){_459=[_459];}for(var i=0;i<_459.length;i++){var _45a=_459[i];if(this.isItem(_45a)){this._removeReferenceFromMap(_45a,item,_451);}}}}else{var _45b;if(lang.isArray(_452)){_45b=_452.slice(0,_452.length);}else{_45b=[_452];}if(this.referenceIntegrity){if(_455){var _459=_455;if(!lang.isArray(_459)){_459=[_459];}var map={};_42d.forEach(_459,function(_45c){if(this.isItem(_45c)){var id=this.getIdentity(_45c);map[id.toString()]=true;}},this);_42d.forEach(_45b,function(_45d){if(this.isItem(_45d)){var id=this.getIdentity(_45d);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_45d,item,_451);}}},this);for(var rId in map){var _45e;if(this._itemsByIdentity){_45e=this._itemsByIdentity[rId];}else{_45e=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_45e,item,_451);}}else{for(var i=0;i<_45b.length;i++){var _45a=_45b[i];if(this.isItem(_45a)){this._addReferenceToMap(_45a,item,_451);}}}}item[_451]=_45b;_458=true;}if(_453){this.onSet(item,_451,_455,_452);}return _458;},_addReferenceToMap:function(_45f,_460,_461){var _462=this.getIdentity(_460);var _463=_45f[this._reverseRefMap];if(!_463){_463=_45f[this._reverseRefMap]={};}var _464=_463[_462];if(!_464){_464=_463[_462]={};}_464[_461]=true;},_removeReferenceFromMap:function(_465,_466,_467){var _468=this.getIdentity(_466);var _469=_465[this._reverseRefMap];var _46a;if(_469){for(_46a in _469){if(_46a==_468){delete _469[_46a][_467];if(this._isEmpty(_469[_46a])){delete _469[_46a];}}}if(this._isEmpty(_469)){delete _465[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i0){_477=false;}}}return _477;},save:function(_478){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _479=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_478&&_478.onComplete){var _47a=_478.scope||_42f.global;_478.onComplete.call(_47a);}};var _47b=function(err){self._saveInProgress=false;if(_478&&_478.onError){var _47c=_478.scope||_42f.global;_478.onError.call(_47c,err);}};if(this._saveEverything){var _47d=this._getNewFileContentString();this._saveEverything(_479,_47b,_47d);}if(this._saveCustom){this._saveCustom(_479,_47b);}if(!this._saveEverything&&!this._saveCustom){_479();}},revert:function(){this._assert(!this._saveInProgress);var _47e;for(_47e in this._pending._modifiedItems){var _47f=this._pending._modifiedItems[_47e];var _480=null;if(this._itemsByIdentity){_480=this._itemsByIdentity[_47e];}else{_480=this._arrayOfAllItems[_47e];}_47f[this._storeRefPropName]=this;for(var key in _480){delete _480[key];}lang.mixin(_480,_47f);}var _481;for(_47e in this._pending._deletedItems){_481=this._pending._deletedItems[_47e];_481[this._storeRefPropName]=this;var _482=_481[this._itemNumPropName];if(_481["backup_"+this._reverseRefMap]){_481[this._reverseRefMap]=_481["backup_"+this._reverseRefMap];delete _481["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_482]=_481;if(this._itemsByIdentity){this._itemsByIdentity[_47e]=_481;}if(_481[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_481);}}for(_47e in this._pending._deletedItems){_481=this._pending._deletedItems[_47e];if(_481["backupRefs_"+this._reverseRefMap]){_42d.forEach(_481["backupRefs_"+this._reverseRefMap],function(_483){var _484;if(this._itemsByIdentity){_484=this._itemsByIdentity[_483.id];}else{_484=this._arrayOfAllItems[_483.id];}this._addReferenceToMap(_484,_481,_483.attr);},this);delete _481["backupRefs_"+this._reverseRefMap];}}for(_47e in this._pending._newItems){var _485=this._pending._newItems[_47e];_485[this._storeRefPropName]=null;this._arrayOfAllItems[_485[this._itemNumPropName]]=null;if(_485[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_485);}if(this._itemsByIdentity){delete this._itemsByIdentity[_47e];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _486=this.getIdentity(item);return new Boolean(this._pending._newItems[_486]||this._pending._modifiedItems[_486]||this._pending._deletedItems[_486]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_487,_488,_489){},onNew:function(_48a,_48b){},onDelete:function(_48c){},close:function(_48d){if(this.clearOnClose){if(!this.isDirty()){this.inherited(arguments);}else{throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store. Please save or revert the changes before invoking close.");}}}});});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_48e,_48f){var _490=_48f.prototype.onMove;return _48e("dojo.dnd.TimedMoveable",_48f,{timeout:40,constructor:function(node,_491){if(!_491){_491={};}if(_491.timeout&&typeof _491.timeout=="number"&&_491.timeout>=0){this.timeout=_491.timeout;}},onMoveStop:function(_492){if(_492._timer){clearTimeout(_492._timer);_490.call(this,_492,_492._leftTop);}_48f.prototype.onMoveStop.apply(this,arguments);},onMove:function(_493,_494){_493._leftTop=_494;if(!_493._timer){var _495=this;_493._timer=setTimeout(function(){_493._timer=null;_490.call(_495,_493,_493._leftTop);},this.timeout);}}});});},"dojo/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_496,lang,_497,_498,_499){var _49a=_496.NodeList;lang.extend(_49a,{_anim:function(obj,_49b,args){args=args||{};var a=_499.combine(this.map(function(item){var _49c={node:item};lang.mixin(_49c,args);return obj[_49b](_49c);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_499,"wipeIn",args);},wipeOut:function(args){return this._anim(_499,"wipeOut",args);},slideTo:function(args){return this._anim(_499,"slideTo",args);},fadeIn:function(args){return this._anim(_498,"fadeIn",args);},fadeOut:function(args){return this._anim(_498,"fadeOut",args);},animateProperty:function(args){return this._anim(_498,"animateProperty",args);},anim:function(_49d,_49e,_49f,_4a0,_4a1){var _4a2=_499.combine(this.map(function(item){return _498.animateProperty({node:item,properties:_49d,duration:_49e||350,easing:_49f});}));if(_4a0){_497.after(_4a2,"onEnd",_4a0,true);}return _4a2.play(_4a1||0);}});return _49a;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_4a3,on,_4a4,_4a5){return _4a3("dijit.form._ListMouseMixin",_4a5,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_4a6){this._setSelectedAttr(_4a6,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_4a6);});},_onMouseDown:function(evt,_4a7){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_4a7,false);},_onMouseUp:function(evt,_4a8){this._isDragging=false;var _4a9=this.selected;var _4aa=this._hoveredNode;if(_4a9&&_4a8==_4a9){this.defer(function(){this._onClick(evt,_4a9);});}else{if(_4aa){this.defer(function(){this._onClick(evt,_4aa);});}}},_onMouseOut:function(evt,_4ab){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_4ac){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_4ac;this.onHover(_4ac);if(this._isDragging){this._setSelectedAttr(_4ac,false);}}});});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_4ad){dojo.cookie=function(name,_4ae,_4af){var c=document.cookie,ret;if(arguments.length==1){var _4b0=c.match(new RegExp("(?:^|; )"+_4ad.escapeString(name)+"=([^;]*)"));ret=_4b0?decodeURIComponent(_4b0[1]):undefined;}else{_4af=_4af||{};var exp=_4af.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_4af.expires=d;}if(exp&&exp.toUTCString){_4af.expires=exp.toUTCString();}_4ae=encodeURIComponent(_4ae);var _4b1=name+"="+_4ae,_4b2;for(_4b2 in _4af){_4b1+="; "+_4b2;var _4b3=_4af[_4b2];if(_4b3!==true){_4b1+="="+_4b3;}}document.cookie=_4b1;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_4b4,_4b5,_4b6,lang,_4b7,_4b8,_4b9,_4ba){return _4b5("dijit.ProgressBar",[_4b8,_4b9],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_4ba,_indeterminateHighContrastImagePath:_4b4.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},_setDirAttr:function(val){var rtl=val.toLowerCase()=="rtl";_4b6.toggle(this.domNode,"dijitProgressBarRtl",rtl);_4b6.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_4bb){lang.mixin(this,_4bb||{});var tip=this.internalProgress,ap=this.domNode;var _4bc=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_4bc=Math.min(parseFloat(this.progress)/100,1);this.progress=_4bc*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_4bc=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-labelledby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_4bc);_4b6.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_4b6.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_4bc*100)+"%";this.onChange();},_setValueAttr:function(v){this._set("value",v);if(v==Infinity){this.update({indeterminate:true});}else{this.update({indeterminate:false,progress:v});}},_setLabelAttr:function(_4bd){this._set("label",_4bd);this.update();},_setIndeterminateAttr:function(_4be){this._set("indeterminate",_4be);this.update();},report:function(_4bf){return this.label?this.label:(this.indeterminate?" ":_4b7.format(_4bf,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_4c0,win,_4c1){var _4c2=_4c1._createWrapper;_4c1._createWrapper=function(_4c3){if(!_4c3.declaredClass){_4c3={_popupWrapper:(_4c3.parentNode&&_4c0.contains(_4c3.parentNode,"dijitPopup"))?_4c3.parentNode:null,domNode:_4c3,destroy:function(){},ownerDocument:_4c3.ownerDocument,ownerDocumentBody:win.body(_4c3.ownerDocument)};}return _4c2.call(this,_4c3);};var _4c4=_4c1.open;_4c1.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 _4c4.call(this,args);};return _4c1;});},"dojo/promise/all":function(){define(["../_base/array","../_base/lang","../Deferred","../when"],function(_4c5,lang,_4c6,when){"use strict";var some=_4c5.some;return function all(_4c7){var _4c8,_4c5;if(lang.isArray(_4c7)){_4c5=_4c7;}else{if(_4c7&&typeof _4c7==="object"){_4c8=_4c7;}}var _4c9;var _4ca=[];if(_4c8){_4c5=[];for(var key in _4c8){if(Object.hasOwnProperty.call(_4c8,key)){_4ca.push(key);_4c5.push(_4c8[key]);}}_4c9={};}else{if(_4c5){_4c9=[];}}if(!_4c5||!_4c5.length){return new _4c6().resolve(_4c9);}var _4cb=new _4c6();_4cb.promise.always(function(){_4c9=_4ca=null;});var _4cc=_4c5.length;some(_4c5,function(_4cd,_4ce){if(!_4c8){_4ca.push(_4ce);}when(_4cd,function(_4cf){if(!_4cb.isFulfilled()){_4c9[_4ca[_4ce]]=_4cf;if(--_4cc===0){_4cb.resolve(_4c9);}}},_4cb.reject);return _4cb.isFulfilled();});return _4cb.promise;};});},"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_4d0,_4d1,_4d2,_4d3,_4d4,has,i18n,_4d5,_4d6,_4d7,_4d8){var _4d9=_4d6("dijit.ColorPalette",[_4d2,_4d3,_4d4],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_4d1,baseClass:"dijitColorPalette",_dyeFactory:function(_4da,row,col,_4db){return new this._dyeClass(_4da,row,col,_4db);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_4d6(_4d9._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_4d9._Color=_4d6("dijit._Color",_4d5,{template:""+" "+" ",hcTemplate:""+" "+" ",_imagePaths:{"7x10":_4d0.toUrl("./themes/a11y/colors7x10.png"),"3x4":_4d0.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_4dc,row,col,_4dd){this._title=_4dd;this._row=row;this._col=col;this.setColor(_4d5.named[_4dc]);},getValue:function(){return this.toHex();},fillCell:function(cell,_4de){var html=_4d8.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_4de,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_4d7.place(html,cell);}});return _4d9;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4df=function(){var n=null,_4e0=arguments,uri=[_4e0[0]];for(var i=1;i<_4e0.length;i++){if(!_4e0[i]){continue;}var _4e1=new _4df(_4e0[i]+""),_4e2=new _4df(uri[0]+"");if(_4e1.path==""&&!_4e1.scheme&&!_4e1.authority&&!_4e1.query){if(_4e1.fragment!=n){_4e2.fragment=_4e1.fragment;}_4e1=_4e2;}else{if(!_4e1.scheme){_4e1.scheme=_4e2.scheme;if(!_4e1.authority){_4e1.authority=_4e2.authority;if(_4e1.path.charAt(0)!="/"){var path=_4e2.path.substring(0,_4e2.path.lastIndexOf("/")+1)+_4e1.path;var segs=path.split("/");for(var j=0;j0&&!(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;}}}}_4e1.path=segs.join("/");}}}}uri=[];if(_4e1.scheme){uri.push(_4e1.scheme,":");}if(_4e1.authority){uri.push("//",_4e1.authority);}uri.push(_4e1.path);if(_4e1.query){uri.push("?",_4e1.query);}if(_4e1.fragment){uri.push("#",_4e1.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;}};_4df.prototype.toString=function(){return this.uri;};return dojo._Url=_4df;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_4e3,has,_4e4){var _4e5;if(1){_4e5=function(url,sync,load){_4e4(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_4e3.getText){_4e5=_4e3.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _4e6={},_4e7=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _4e8=text.match(/]*>\s*([\s\S]+)\s*<\/body>/im);if(_4e8){text=_4e8[1];}}else{text="";}return text;},_4e9={},_4ea={};dojo.cache=function(_4eb,url,_4ec){var key;if(typeof _4eb=="string"){if(/\//.test(_4eb)){key=_4eb;_4ec=url;}else{key=_4e3.toUrl(_4eb.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_4eb+"";_4ec=url;}var val=(_4ec!=undefined&&typeof _4ec!="string")?_4ec.value:_4ec,_4ed=_4ec&&_4ec.sanitize;if(typeof val=="string"){_4e6[key]=val;return _4ed?_4e7(val):val;}else{if(val===null){delete _4e6[key];return null;}else{if(!(key in _4e6)){_4e5(key,true,function(text){_4e6[key]=text;});}return _4ed?_4e7(_4e6[key]):_4e6[key];}}};return {dynamic:true,normalize:function(id,_4ee){var _4ef=id.split("!"),url=_4ef[0];return (/^\./.test(url)?_4ee(url):url)+(_4ef[1]?"!"+_4ef[1]:"");},load:function(id,_4f0,load){var _4f1=id.split("!"),_4f2=_4f1.length>1,_4f3=_4f1[0],url=_4f0.toUrl(_4f1[0]),_4f4="url:"+url,text=_4e9,_4f5=function(text){load(_4f2?_4e7(text):text);};if(_4f3 in _4e6){text=_4e6[_4f3];}else{if(_4f0.cache&&_4f4 in _4f0.cache){text=_4f0.cache[_4f4];}else{if(url in _4e6){text=_4e6[url];}}}if(text===_4e9){if(_4ea[url]){_4ea[url].push(_4f5);}else{var _4f6=_4ea[url]=[_4f5];_4e5(url,!_4f0.async,function(text){_4e6[_4f3]=_4e6[url]=text;for(var i=0;i<_4f6.length;){_4f6[i++](text);}delete _4ea[url];});}}else{_4f5(text);}}};});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_4f7,_4f8,_4f9,_4fa,lang,_4fb,_4fc,_4fd){var _4fe=_4f8("dijit.layout.LayoutContainer",_4fc,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_4f7.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_4ff){this.inherited(arguments);var _500=_4ff.region;if(_500){_4f9.add(_4ff.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _501=_4f7.map(this.getChildren(),function(_502,idx){return {pane:_502,weight:[_502.region=="center"?Infinity:0,_502.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_502.region)?1:-1),idx]};},this);_501.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_524.x+((_524.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_513.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_51e;this.onMouseEnter=_521||noop;this.onMouseLeave=_522||noop;},orient:function(node,_525,_526,_527,_528){this.connectorNode.style.top="";var _529=_527.h,_52a=_527.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_525+"-"+_526];this.domNode.style.width="auto";var size=_512.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _52b=Math.min((Math.max(_52a,1)),size.w);_512.setMarginBox(this.domNode,{w:_52b});if(_526.charAt(0)=="B"&&_525.charAt(0)=="B"){var bb=_512.position(node);var _52c=this.connectorNode.offsetHeight;if(bb.h>_529){var _52d=_529-((_528.h+_52c)>>1);this.connectorNode.style.top=_52d+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_528.h/2-_52c/2,0),bb.h-_52c)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_52a);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_52e){if(this._onDeck&&this._onDeck[1]==_52e){this._onDeck=null;}else{if(this.aroundNode===_52e){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=noop;},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_51c.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_50f.forEach(node.children,function(_52f){this._setAutoTextDir(_52f);},this);},_setTextDirAttr:function(_530){this._set("textDir",_530);if(_530=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_51b.showTooltip=function(_531,_532,_533,rtl,_534,_535,_536){if(_533){_533=_50f.map(_533,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_523._masterTT){_51b._masterTT=_523._masterTT=new _51c();}return _523._masterTT.show(_531,_532,_533,rtl,_534,_535,_536);};_51b.hideTooltip=function(_537){return _523._masterTT&&_523._masterTT.hide(_537);};var _538="DORMANT",_539="SHOW TIMER",_53a="SHOWING",_53b="HIDE TIMER";function noop(){};var _523=_510("dijit.Tooltip",_517,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_53c){_50f.forEach(this._connections||[],function(_53d){_50f.forEach(_53d,function(_53e){_53e.remove();});},this);this._connectIds=_50f.filter(lang.isArrayLike(_53c)?_53c:(_53c?[_53c]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_50f.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_53f=this.selector,_540=_53f?function(_541){return on.selector(_53f,_541);}:function(_542){return _542;},self=this;return [on(node,_540(_514.enter),function(){self._onHover(this);}),on(node,_540("focusin"),function(){self._onHover(this);}),on(node,_540(_514.leave),lang.hitch(self,"_onUnHover")),on(node,_540("focusout"),lang.hitch(self,"set","state",_538))];},this);this._set("connectId",_53c);},addTarget:function(node){var id=node.id||node;if(_50f.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_50f.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_511.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_50f.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_538,_setStateAttr:function(val){if(this.state==val||(val==_539&&this.state==_53a)||(val==_53b&&this.state==_538)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _538:if(this._connectNode){_523.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _539:if(this.state!=_53a){this._showTimer=this.defer(function(){this.set("state",_53a);},this.showDelay);}break;case _53a:var _543=this.getContent(this._connectNode);if(!_543){this.set("state",_538);return;}_523.show(_543,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_53a),lang.hitch(this,"set","state",_53b));this.onShow(this._connectNode,this.position);break;case _53b:this._hideTimer=this.defer(function(){this.set("state",_538);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_544){if(this._connectNode&&_544!=this._connectNode){this.set("state",_538);}this._connectNode=_544;this.set("state",_539);},_onUnHover:function(_545){this.set("state",_53b);},open:function(_546){this.set("state",_538);this._connectNode=_546;this.set("state",_53a);},close:function(){this.set("state",_538);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_538);_50f.forEach(this._connections||[],function(_547){_50f.forEach(_547,function(_548){_548.remove();});},this);this.inherited(arguments);}});_523._MasterTooltip=_51c;_523.show=_51b.showTooltip;_523.hide=_51b.hideTooltip;_523.defaultPosition=["after-centered","before-centered"];return _523;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_549,lang){var _54a=/[&<>'"\/]/g;var _54b={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"};var _54c={};lang.setObject("dojo.string",_54c);_54c.escape=function(str){if(!str){return "";}return str.replace(_54a,function(c){return _54b[c];});};_54c.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("");};_54c.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_54c.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_54c.substitute=function(_54d,map,_54e,_54f){_54f=_54f||_549.global;_54e=_54e?lang.hitch(_54f,_54e):function(v){return v;};return _54d.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_550,key,_551){if(key==""){return "$";}var _552=lang.getObject(key,false,map);if(_551){_552=lang.getObject(_551,false,_54f).call(_54f,_552,key);}var _553=_54e(_552,key);if(typeof _553==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _553.toString();});};_54c.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 _54c;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_554,_555,_556){return _554("dijit.layout.AccordionPane",_556,{constructor:function(){_555.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/dijit":function(){define(["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_557){return _557;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],function(_558,_559,lang,_55a,_55b,_55c,_55d,_55e,_55f,_560){return _558("dijit.form.DropDownButton",[_55d,_55e,_55f],{baseClass:"dijitDropDownButton",templateString:_560,_fillContent:function(){var _561=this.srcNodeRef;var dest=this.containerNode;if(_561&&dest){while(_561.hasChildNodes()){var _562=_561.firstChild;if(_562.hasAttribute&&(_562.hasAttribute("data-dojo-type")||_562.hasAttribute("dojoType")||_562.hasAttribute("data-"+_559._scopeName+"-type")||_562.hasAttribute(_559._scopeName+"Type"))){this.dropDownContainer=this.ownerDocument.createElement("div");this.dropDownContainer.appendChild(_562);}else{dest.appendChild(_562);}}}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){this.dropDown=_55b.byNode(this.dropDownContainer.firstChild);delete this.dropDownContainer;}if(this.dropDown){_55c.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _563=this.dropDown;return (!!_563&&(!_563.href||_563.isLoaded));},loadDropDown:function(_564){var _565=this.dropDown;var _566=_565.on("load",lang.hitch(this,function(){_566.remove();_564();}));_565.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_567,_568,keys,lang,on,has,_569){return _567("dijit.form._FormValueMixin",_569,{readOnly:false,_setReadOnlyAttr:function(_56a){if(has("trident")&&"disabled" in this){_568.set(this.focusNode,"readOnly",_56a||this.disabled);}else{_568.set(this.focusNode,"readOnly",_56a);}this._set("readOnly",_56a);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_56b,_56c){this._handleOnChange(_56b,_56c);},_handleOnChange:function(_56d,_56e){this._set("value",_56d);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);}});});},"dijit/form/_FormWidgetMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],function(_56f,_570,_571,_572,lang,_573,on,has,_574,a11y){return _570("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(_575){this._set("disabled",_575);if(/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)){_571.set(this.focusNode,"disabled",_575);if(has("trident")&&"readOnly" in this){_571.set(this.focusNode,"readonly",_575||this.readOnly);}}else{this.focusNode.setAttribute("aria-disabled",_575?"true":"false");}if(this.valueNode){_571.set(this.valueNode,"disabled",_575);}if(_575){this._set("hovering",false);this._set("active",false);var _576="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_56f.forEach(lang.isArray(_576)?_576:[_576],function(_577){var node=this[_577];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 _578=this.own(on(this.focusNode,"focus",function(){_579.remove();_578.remove();}))[0];var _57a=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _579=this.own(on(this.ownerDocumentBody,_57a,lang.hitch(this,function(evt){_579.remove();_578.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_574.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_572.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 *",this.containerNode).some(function(node){var _59f=_599.byNode(node);if(_59f&&_59f.resize){_59d.push(_59f);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_59e=true;}}});this._singleChild=_59d.length==1&&!_59e?_59d[0]:null;_595.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_5a0,_5a1){this._resizeCalled=true;this._scheduleLayout(_5a0,_5a1);},_scheduleLayout:function(_5a2,_5a3){if(this._isShown()){this._layout(_5a2,_5a3);}else{this._needLayout=true;this._changeSize=_5a2;this._resultSize=_5a3;}},_layout:function(_5a4,_5a5){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_5a4){_596.setMarginBox(this.domNode,_5a4);}var cn=this.containerNode;if(cn===this.domNode){var mb=_5a5||{};lang.mixin(mb,_5a4||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_596.getMarginBox(cn),mb);}this._contentBox=_59b.marginBox2contentBox(cn,mb);}else{this._contentBox=_596.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_596.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _5a6=this.getChildren(),_5a7,i=0;while(_5a7=_5a6[i++]){if(_5a7.resize){_5a7.resize();}}}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_5a8=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_595.contains(node,"dijitHidden")&&_5a8&&_5a8.style&&(_5a8.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_5a9,_5aa,_5ab,_5ac){var _5ad=_5aa("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5ae){if(this._hash[_5ae.id]){throw new Error("Tried to register widget with id=="+_5ae.id+" but that id is already registered");}this._hash[_5ae.id]=_5ae;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_5af){_5af=_5af||_5ab.global;var i=0,id;for(id in this._hash){func.call(_5af,this._hash[id],i++,this._hash);}return this;},filter:function(_5b0,_5b1){_5b1=_5b1||_5ab.global;var res=new _5ad(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_5b0.call(_5b1,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _5ad(),id,_5b2;for(id in this._hash){_5b2=this._hash[id];if(_5b2.declaredClass==cls){res.add(_5b2);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_5b3){return _5a9.map(this.toArray(),func,_5b3);},every:function(func,_5b4){_5b4=_5b4||_5ab.global;var x=0,i;for(i in this._hash){if(!func.call(_5b4,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_5b5){_5b5=_5b5||_5ab.global;var x=0,i;for(i in this._hash){if(func.call(_5b5,this._hash[i],x++,this._hash)){return true;}}return false;}});_5a9.forEach(["forEach","filter","byClass","map","every","some"],function(func){_5ac[func]=_5ad.prototype[func];});return _5ad;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../has","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_5b6,_5b7,lang,dom,_5b8,_5b9,has,on,_5ba,_5bb,dnd,_5bc,win){var _5bd;var _5be=function(){};function _5bf(){if("touchAction" in document.body.style){_5bd="touchAction";}else{if("msTouchAction" in document.body.style){_5bd="msTouchAction";}}_5be=function _5be(node,_5c0){node.style[_5bd]=_5c0;};_5be(arguments[0],arguments[1]);};if(has("touch-action")){_5be=_5bf;}var _5c1=_5b7("dojo.dnd.Moveable",[_5b9],{handle:"",delay:0,skip:false,constructor:function(node,_5c2){this.node=dom.byId(node);_5be(this.node,"none");if(!_5c2){_5c2={};}this.handle=_5c2.handle?dom.byId(_5c2.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_5c2.delay>0?_5c2.delay:0;this.skip=_5c2.skip;this.mover=_5c2.mover?_5c2.mover:_5bc;this.events=[on(this.handle,_5bb.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_5c3,node,Ctor){return new Ctor(node,_5c3);},destroy:function(){_5b6.forEach(this.events,function(_5c4){_5c4.remove();});_5be(this.node,"");this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_5bb.move,lang.hitch(this,"onMouseMove")),on(this.handle.ownerDocument,_5bb.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_5c5){_5ba.publish("/dnd/move/start",_5c5);_5b8.add(win.body(),"dojoMove");_5b8.add(this.node,"dojoMoveItem");},onMoveStop:function(_5c6){_5ba.publish("/dnd/move/stop",_5c6);_5b8.remove(win.body(),"dojoMove");_5b8.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_5c7,_5c8){this.onMoving(_5c7,_5c8);var s=_5c7.node.style;s.left=_5c8.l+"px";s.top=_5c8.t+"px";this.onMoved(_5c7,_5c8);},onMoving:function(){},onMoved:function(){}});return _5c1;});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_5c9,_5ca,has,keys,lang,on,_5cb,_5cc,_5cd,_5ce,_5cf,_5d0,_5d1){var _5d2=_5c9("dijit.TooltipDialog",[_5cc,_5cf,_5ce,_5cd],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_5d0,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_5d3,_5d4){var newC={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_5d3+"-"+_5d4];_5ca.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_5cb.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _5d5=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_5d5.y+((_5d5.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_5d5.x+((_5d5.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems();if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_5cb.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_5cb.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_5d2.extend({_setTitleAttr:function(_5d6){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_5d6):_5d6;this._set("title",_5d6);},_setTextDirAttr:function(_5d7){if(!this._created||this.textDir!=_5d7){this._set("textDir",_5d7);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _5d2;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_5d8){return function(_5d9,_5da){switch(typeof _5d9){default:throw new Error("Can not query with a "+typeof _5d9);case "object":case "undefined":var _5db=_5d9;_5d9=function(_5dc){for(var key in _5db){var _5dd=_5db[key];if(_5dd&&_5dd.test){if(!_5dd.test(_5dc[key],_5dc)){return false;}}else{if(_5dd!=_5dc[key]){return false;}}}return true;};break;case "string":if(!this[_5d9]){throw new Error("No filter function "+_5d9+" was found in store");}_5d9=this[_5d9];case "function":}function _5de(_5df){var _5e0=_5d8.filter(_5df,_5d9);var _5e1=_5da&&_5da.sort;if(_5e1){_5e0.sort(typeof _5e1=="function"?_5e1:function(a,b){for(var sort,i=0;sort=_5e1[i];i++){var _5e2=a[sort.attribute];var _5e3=b[sort.attribute];_5e2=_5e2!=null?_5e2.valueOf():_5e2;_5e3=_5e3!=null?_5e3.valueOf():_5e3;if(_5e2!=_5e3){return !!sort.descending==(_5e2==null||_5e2>_5e3)?-1:1;}}return 0;});}if(_5da&&(_5da.start||_5da.count)){var _5e4=_5e0.length;_5e0=_5e0.slice(_5da.start||0,(_5da.start||0)+(_5da.count||Infinity));_5e0.total=_5e4;}return _5e0;};_5de.matches=_5d9;return _5de;};});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_5e5,_5e6,lang,on,has,_5e7){var _5e8=(_5e7.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,_5e9,node,_5ea,obj,_5eb,_5ec,_5ed){if(obj!=this._obj){this.stop();this._initialDelay=_5ec||500;this._subsequentDelay=_5eb||0.9;this._minDelay=_5ed||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_5e9,_5ea);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,_5ee,_5ef,_5f0,_5f1,_5f2,_5f3){var type="keyCode" in _5ee?"keydown":"charCode" in _5ee?"keypress":_5e6._keypress,attr="keyCode" in _5ee?"keyCode":"charCode" in _5ee?"charCode":"charOrCode";var _5f4=[on(node,type,lang.hitch(this,function(evt){if(evt[attr]==_5ee[attr]&&(_5ee.ctrlKey===undefined||_5ee.ctrlKey==evt.ctrlKey)&&(_5ee.altKey===undefined||_5ee.altKey==evt.altKey)&&(_5ee.metaKey===undefined||_5ee.metaKey==(evt.metaKey||false))&&(_5ee.shiftKey===undefined||_5ee.shiftKey==evt.shiftKey)){evt.stopPropagation();evt.preventDefault();_5e8.trigger(evt,_5ef,node,_5f0,_5ee,_5f1,_5f2,_5f3);}else{if(_5e8._obj==_5ee){_5e8.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_5e8._obj==_5ee){_5e8.stop();}}))];return {remove:function(){_5e5.forEach(_5f4,function(h){h.remove();});}};},addMouseListener:function(node,_5f5,_5f6,_5f7,_5f8,_5f9){var _5fa=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_5e8.trigger(evt,_5f5,node,_5f6,node,_5f7,_5f8,_5f9);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_5e8.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_5e8.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_5e8.trigger(evt,_5f5,node,_5f6,node,_5f7,_5f8,_5f9);setTimeout(lang.hitch(this,_5e8.stop),50);}}))];return {remove:function(){_5e5.forEach(_5fa,function(h){h.remove();});}};},addListener:function(_5fb,_5fc,_5fd,_5fe,_5ff,_600,_601,_602){var _603=[this.addKeyListener(_5fc,_5fd,_5fe,_5ff,_600,_601,_602),this.addMouseListener(_5fb,_5fe,_5ff,_600,_601,_602)];return {remove:function(){_5e5.forEach(_603,function(h){h.remove();});}};}});return _5e8;});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_604,dom,_605,_606,_607,has,lang,_608,_609,_60a,_60b,_60c){var _60d=_604("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_608,_609,_60a,_60b],{templateString:_60c,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _60e="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_60e=val.charAt(ndx+1);var _60f=val.substr(0,ndx);var _610=val.substr(ndx+3);text=_60f+_60e+_610;val=_60f+""+_610;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_60e);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_611){if(_611&&!("label" in this.params)){this._set("label",_611.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _612=this.id+"_text";_605.set(this.containerNode,"id",_612);if(this.accelKeyNode){_605.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_setSelected:function(_613){_606.toggle(this.domNode,"dijitMenuItemSelected",_613);},setLabel:function(_614){_607.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_614);},setDisabled:function(_615){_607.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_615);},_setDisabledAttr:function(_616){this.focusNode.setAttribute("aria-disabled",_616?"true":"false");this._set("disabled",_616);},_setAccelKeyAttr:function(_617){if(this.accelKeyNode){this.accelKeyNode.style.display=_617?"":"none";this.accelKeyNode.innerHTML=_617;_605.set(this.containerNode,"colSpan",_617?"1":"2");}this._set("accelKey",_617);}});if(has("dojo-bidi")){_60d=_604("dijit.MenuItem",_60d,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _60d;});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_618,dom,_619,_61a,has,i18n,lang,_61b,_61c,Menu,_61d,_61e){var _61f=_618("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_61b.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_61e,_setNameAttr:"focusNode",scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_61a.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _620=i18n.getLocalization("dijit","common");if(this.closeNode){_619.set(this.closeNode,"title",_620.itemClose);}}},_setDisabledAttr:function(_621){this.inherited(arguments);if(this.closeNode){if(_621){_619.remove(this.closeNode,"title");}else{var _622=i18n.getLocalization("dijit","common");_619.set(this.closeNode,"title",_622.itemClose);}}},_setLabelAttr:function(_623){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_61f=_618("dijit.layout._TabButton",_61f,{_setLabelAttr:function(_624){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _625=_618("dijit.layout.TabController",_61b,{baseClass:"dijitTabController",templateString:"
",tabPosition:"top",buttonWidget:_61f,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _626=new Menu({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(node){return _61a.contains(node,"dijitClosable")&&!_61a.contains(node,"dijitTabDisabled");}});this.own(_626);var _627=i18n.getLocalization("dijit","common"),_628=this;_626.addChild(new _61d({label:_627.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _629=_61c.byNode(this.getParent().currentTarget);_628.onCloseButtonClick(_629.page);}}));}});_625.TabButton=_61f;return _625;});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_62a,dom,_62b,_62c){return _62a("dijit.ToolbarSeparator",[_62b,_62c],{templateString:"
",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/layout/_LayoutWidget":function(){define(["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_62d,_62e,_62f,_630,_631,_632,_633,_634){return _631("dijit.layout._LayoutWidget",[_62d,_62e,_62f],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);_632.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _635=this.getParent&&this.getParent();if(!(_635&&_635.isLayoutContainer)){this.resize();this.own(_630.on("resize",lang.hitch(this,"resize")));}},resize:function(_636,_637){var node=this.domNode;if(_636){_633.setMarginBox(node,_636);}var mb=_637||{};lang.mixin(mb,_636||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_633.getMarginBox(node),mb);}var cs=_634.getComputedStyle(node);var me=_633.getMarginExtents(node,cs);var be=_633.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_633.getPadExtents(node,cs);this._contentBox={l:_634.toPixelValue(node,cs.paddingLeft),t:_634.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_638){var cls=this.baseClass+"-child "+(_638.baseClass?this.baseClass+"-"+_638.baseClass:"");_632.add(_638.domNode,cls);},addChild:function(_639,_63a){this.inherited(arguments);if(this._started){this._setupChild(_639);}},removeChild:function(_63b){var cls=this.baseClass+"-child"+(_63b.baseClass?" "+this.baseClass+"-"+_63b.baseClass:"");_632.remove(_63b.domNode,cls);this.inherited(arguments);}});});},"dojo/selector/lite":function(){define(["../has","../_base/kernel"],function(has,dojo){"use strict";var _63c=document.createElement("div");var _63d=_63c.matches||_63c.webkitMatchesSelector||_63c.mozMatchesSelector||_63c.msMatchesSelector||_63c.oMatchesSelector;var _63e=_63c.querySelectorAll;var _63f=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;has.add("dom-matches-selector",!!_63d);has.add("dom-qsa",!!_63e);var _640=function(_641,root){if(_642&&_641.indexOf(",")>-1){return _642(_641,root);}var doc=root?root.ownerDocument||root:dojo.doc||document,_643=(_63e?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(_641);root=root||doc;if(_643){var _644=has("ie")===8&&has("quirks")?root.nodeType===doc.nodeType:root.parentNode!==null&&root.nodeType!==9&&root.parentNode===doc;if(_643[2]&&_644){var _645=dojo.byId?dojo.byId(_643[2],doc):doc.getElementById(_643[2]);if(!_645||(_643[1]&&_643[1]!=_645.tagName.toLowerCase())){return [];}if(root!=doc){var _646=_645;while(_646!=root){_646=_646.parentNode;if(!_646){return [];}}}return _643[3]?_640(_643[3],_645):[_645];}if(_643[3]&&root.getElementsByClassName){return root.getElementsByClassName(_643[4]);}var _645;if(_643[5]){_645=root.getElementsByTagName(_643[5]);if(_643[4]||_643[6]){_641=(_643[4]||"")+_643[6];}else{return _645;}}}if(_63e){if(root.nodeType===1&&root.nodeName.toLowerCase()!=="object"){return _647(root,_641,root.querySelectorAll);}else{return root.querySelectorAll(_641);}}else{if(!_645){_645=root.getElementsByTagName("*");}}var _648=[];for(var i=0,l=_645.length;i-1&&(" "+node.className+" ").indexOf(_655)>-1;};},"#":function(id){return function(node){return node.id==id;};}};var _656={"^=":function(_657,_658){return _657.indexOf(_658)==0;},"*=":function(_659,_65a){return _659.indexOf(_65a)>-1;},"$=":function(_65b,_65c){return _65b.substring(_65b.length-_65c.length,_65b.length)==_65c;},"~=":function(_65d,_65e){return (" "+_65d+" ").indexOf(" "+_65e+" ")>-1;},"|=":function(_65f,_660){return (_65f+"-").indexOf(_660+"-")==0;},"=":function(_661,_662){return _661==_662;},"":function(_663,_664){return true;}};function attr(name,_665,type){var _666=_665.charAt(0);if(_666=="\""||_666=="'"){_665=_665.slice(1,-1);}_665=_665.replace(/\\/g,"");var _667=_656[type||""];return function(node){var _668=node.getAttribute(name);return _668&&_667(_668,_665);};};function _669(_66a){return function(node,root){while((node=node.parentNode)!=root){if(_66a(node,root)){return true;}}};};function _66b(_66c){return function(node,root){node=node.parentNode;return _66c?node!=root&&_66c(node,root):node==root;};};var _66d={};function and(_66e,next){return _66e?function(node,root){return next(node)&&_66e(node,root);}:next;};return function(node,_66f,root){var _670=_66d[_66f];if(!_670){if(_66f.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(t,_671,type,_672,_673,_674,_675){if(_672){_670=and(_670,_652[type||""](_672.replace(/\\/g,"")));}else{if(_671){_670=(_671==" "?_669:_66b)(_670);}else{if(_673){_670=and(_670,attr(_673,_675,_674));}}}return "";})){throw new Error("Syntax error in query");}if(!_670){return true;}_66d[_66f]=_670;}return _670(node,root);};})();}if(!has("dom-qsa")){var _642=function(_676,root){var _677=_676.match(_63f);var _678=[];for(var i=0;i<_677.length;i++){_676=new String(_677[i].replace(/\s*$/,""));_676.indexOf=escape;var _679=_640(_676,root);for(var j=0,l=_679.length;j0&&_694[pi].parent===_694[pi-1].widget;pi--){}return _694[pi];},open:function(args){var _695=this._stack,_696=args.popup,node=_696.domNode,_697=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_682.isBodyLtr(_696.ownerDocument),_698=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_695.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_695[_695.length-1].widget.domNode))){this.close(_695[_695.length-1].widget);}var _699=this.moveOffScreen(_696);if(_696.startup&&!_696._started){_696.startup();}var _69a,_69b=_682.position(node);if("maxHeight" in args&&args.maxHeight!=-1){_69a=args.maxHeight||Infinity;}else{var _69c=_686.getEffectiveBox(this.ownerDocument),_69d=_698?_682.position(_698,false):{y:args.y-(args.padding||0),h:(args.padding||0)*2};_69a=Math.floor(Math.max(_69d.y,_69c.h-(_69d.y+_69d.h)));}if(_69b.h>_69a){var cs=_683.getComputedStyle(node),_69e=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_683.set(_699,{overflowY:"scroll",height:_69a+"px",border:_69e});node._originalStyle=node.style.cssText;node.style.border="none";}_680.set(_699,{id:id,style:{zIndex:this._beginZIndex+_695.length},"class":"dijitPopup "+(_696.baseClass||_696["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(_695.length==0&&_698){this._firstAroundNode=_698;this._firstAroundPosition=_682.position(_698,true);this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_696.bgIframe){_696.bgIframe=new _685(_699);}var _69f=_696.orient?lang.hitch(_696,"orient"):null,best=_698?_684.around(_699,_698,_697,ltr,_69f):_684.at(_699,args,_697=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding,_69f);_699.style.visibility="visible";node.style.visibility="visible";var _6a0=[];_6a0.push(on(_699,"keydown",lang.hitch(this,function(evt){if(evt.keyCode==keys.ESCAPE&&args.onCancel){evt.stopPropagation();evt.preventDefault();args.onCancel();}else{if(evt.keyCode==keys.TAB){evt.stopPropagation();evt.preventDefault();var _6a1=this.getTopPopup();if(_6a1&&_6a1.onCancel){_6a1.onCancel();}}}})));if(_696.onCancel&&args.onCancel){_6a0.push(_696.on("cancel",args.onCancel));}_6a0.push(_696.on(_696.onExecute?"execute":"change",lang.hitch(this,function(){var _6a2=this.getTopPopup();if(_6a2&&_6a2.onExecute){_6a2.onExecute();}})));_695.push({widget:_696,wrapper:_699,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_6a0});if(_696.onOpen){_696.onOpen(best);}return best;},close:function(_6a3){var _6a4=this._stack;while((_6a3&&_67d.some(_6a4,function(elem){return elem.widget==_6a3;}))||(!_6a3&&_6a4.length)){var top=_6a4.pop(),_6a5=top.widget,_6a6=top.onClose;if(_6a5.bgIframe){_6a5.bgIframe.destroy();delete _6a5.bgIframe;}if(_6a5.onClose){_6a5.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_6a5&&_6a5.domNode){this.hide(_6a5);}if(_6a6){_6a6();}}if(_6a4.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_687.popup=new _689());});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_6a7,_6a8,lang,_6a9,_6aa){var _6ab={};_6a7.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_6ab[name]=_6a9[name];});lang.mixin(_6ab,{defaultDuration:_6a8["defaultDuration"]||200});lang.mixin(_6aa,_6ab);return _6aa;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],function(_6ac,_6ad,_6ae,_6af,keys,lang,on,_6b0,_6b1,_6b2,_6b3,_6b4,_6b5,_6b6){var _6b7=_6ad("dijit.layout._StackButton",_6b6,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _6b8=_6ad("dijit.layout.StackController",[_6b3,_6b4,_6b5],{baseClass:"dijitStackController",templateString:" ",containerId:"",buttonWidget:_6b7,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _6b2.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_6b0.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_6b0.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_6b0.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_6b0.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_6b0.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _6b9=_6b2.getEnclosingWidget(evt.target);if(_6b9!=this.containerNode&&!_6b9.disabled&&_6b9.page){for(var _6ba=evt.target;_6ba!==this.containerNode;_6ba=_6ba.parentNode){if(_6ae.contains(_6ba,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_6b9.page);break;}else{if(_6ba==_6b9.domNode){this.onButtonClick(_6b9.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_6ac.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _6bb=_6b2.byId(this.containerId).containerNode,_6bc=lang.hitch(this,"pane2button"),_6bd={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_6be=function(attr,_6bf){return on(_6bb,"attrmodified-"+attr,function(evt){var _6c0=_6bc(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_6c0){_6c0.set(_6bf,evt.detail.newValue);}});};for(var attr in _6bd){this.own(_6be(attr,_6bd[attr]));}},destroy:function(_6c1){this.destroyDescendants(_6c1);this.inherited(arguments);},onAddChild:function(page,_6c2){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _6c3=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_6c3,_6c2);page.controlButton=_6c3;if(!this._currentChild){this.onSelectChild(page);}var _6c4=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_6c3.id:_6c3.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_6c4);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _6c5=this.pane2button(page.id);if(_6c5){this.removeChild(_6c5);_6c5.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _6c6=this.pane2button(this._currentChild.id);_6c6.set("checked",false);_6c6.focusNode.setAttribute("tabIndex","-1");}var _6c7=this.pane2button(page.id);_6c7.set("checked",true);this._currentChild=page;_6c7.focusNode.setAttribute("tabIndex","0");var _6c8=_6b2.byId(this.containerId);},onButtonClick:function(page){var _6c9=this.pane2button(page.id);_6b1.focus(_6c9.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_6c9.set("checked",true);}var _6ca=_6b2.byId(this.containerId);_6ca.selectChild(page);},onCloseButtonClick:function(page){var _6cb=_6b2.byId(this.containerId);_6cb.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_6b1.focus(b.focusNode||b.domNode);}}},adjacent:function(_6cc){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_6cc=!_6cc;}var _6cd=this.getChildren();var idx=_6ac.indexOf(_6cd,this.pane2button(this._currentChild.id)),_6ce=_6cd[idx];var _6cf;do{idx=(idx+(_6cc?1:_6cd.length-1))%_6cd.length;_6cf=_6cd[idx];}while(_6cf.disabled&&_6cf!=_6ce);return _6cf;},onkeydown:function(e,_6d0){if(this.disabled||e.altKey){return;}var _6d1=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_6d1=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_6d1=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_6d1=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_6d1=true;}break;case keys.HOME:var _6d2=this.getChildren();for(var idx=0;idx<_6d2.length;idx++){var _6d3=_6d2[idx];if(!_6d3.disabled){this.onButtonClick(_6d3.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _6d2=this.getChildren();for(var idx=_6d2.length-1;idx>=0;idx--){var _6d3=_6d2[idx];if(!_6d3.disabled){this.onButtonClick(_6d3.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_6d1!==null){this.onButtonClick(this.adjacent(_6d1).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_6b8.StackButton=_6b7;return _6b8;});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_6d4,_6d5,lang,has,win,dom,_6d6,_6d7,_6d8,on,_6d9,dnd,_6da){return _6d5("dojo.dnd.Mover",[_6d8],{constructor:function(node,e,host){this.node=dom.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;function _6db(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_6d9.move,lang.hitch(this,"onFirstMove")),on(d,_6d9.move,lang.hitch(this,"onMouseMove")),on(d,_6d9.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_6db),on(d.body,"selectstart",_6db)];_6da.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_6da.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_6d6.getMarginBox(this.node);var b=win.doc.body;var bs=_6d7.getComputedStyle(b);var bm=_6d6.getMarginBox(b,bs);var bc=_6d6.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_6d4.forEach(this.events,function(_6dc){_6dc.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/request/default":function(){define(["exports","require","../has"],function(_6dd,_6de,has){var _6df=has("config-requestProvider"),_6e0;if(1||has("host-webworker")){_6e0="./xhr";}else{if(0){_6e0="./node";}}if(!_6df){_6df=_6e0;}_6dd.getPlatformDefaultId=function(){return _6e0;};_6dd.load=function(id,_6e1,_6e2,_6e3){_6de([id=="platform"?_6e0:_6df],function(_6e4){_6e2(_6e4);});};});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_6e5,_6e6,_6e7,_6e8){return _6e5("dijit.layout.TabContainer",_6e6,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_6e9){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_6e7=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _6e7({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_6e9);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_6e8:_6e7;}}});});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_6ea,_6eb,_6ec,_6ed,_6ee,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _6ef=new function(){var _6f0=[];this.pop=function(){var _6f1;if(_6f0.length){_6f1=_6f0.pop();_6f1.style.display="";}else{if(has("ie")<9){var burl=_6ec["dojoBlankHtmlUrl"]||_6ea.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html=" ",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],function(_788,_789,_78a,_78b,_78c,has,lang,on,_78d,_78e,when,_78f,_790,_791){if(has("dijit-legacy-requires")){_78d(0,function(){var _792=["dijit/layout/StackController"];require(_792);});}var _793=_78a("dijit.layout.StackContainer",_791,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_78b.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _794=this.getChildren();_788.forEach(_794,this._setupChild,this);if(this.persist){this.selectedChildWidget=_78f.byId(_789(this.id+"_selectedChild"));}else{_788.some(_794,function(_795){if(_795.selected){this.selectedChildWidget=_795;}return _795.selected;},this);}var _796=this.selectedChildWidget;if(!_796&&_794[0]){_796=this.selectedChildWidget=_794[0];_796.selected=true;}_78e.publish(this.id+"-startup",{children:_794,selected:_796,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _797=this.selectedChildWidget;if(_797){this._showChild(_797);}}this.inherited(arguments);},_setupChild:function(_798){var _799=_798.domNode,_79a=_78c.place("
",_798.domNode,"replace"),_79b=_798["aria-label"]||_798.title||_798.label;if(_79b){_79a.setAttribute("aria-label",_79b);}_78c.place(_799,_79a);_798._wrapper=_79a;this.inherited(arguments);if(_799.style.display=="none"){_799.style.display="block";}_798.domNode.removeAttribute("title");},addChild:function(_79c,_79d){this.inherited(arguments);if(this._started){_78e.publish(this.id+"-addChild",_79c,_79d);this.layout();if(!this.selectedChildWidget){this.selectChild(_79c);}}},removeChild:function(page){var idx=_788.indexOf(this.getChildren(),page);this.inherited(arguments);_78c.destroy(page._wrapper);delete page._wrapper;if(this._started){_78e.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _79e=this.getChildren();if(_79e.length){this.selectChild(_79e[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_79f){var d;page=_78f.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_79f);this._set("selectedChildWidget",page);_78e.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_789(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_7a0,_7a1){if(_7a1){this._hideChild(_7a1);}var d=this._showChild(_7a0);if(_7a0.resize){if(this.doLayout){_7a0.resize(this._containerContentBox||this._contentBox);}else{_7a0.resize();}}return d;},_adjacent:function(_7a2){var _7a3=this.getChildren();var _7a4=_788.indexOf(_7a3,this.selectedChildWidget);_7a4+=_7a2?1:_7a3.length-1;return _7a3[_7a4%_7a3.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_78e.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _7a5=this.selectedChildWidget;if(_7a5&&_7a5.resize){if(this.doLayout){_7a5.resize(this._containerContentBox||this._contentBox);}else{_7a5.resize();}}},_showChild:function(page){var _7a6=this.getChildren();page.isFirstChild=(page==_7a6[0]);page.isLastChild=(page==_7a6[_7a6.length-1]);page._set("selected",true);if(page._wrapper){_78b.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_78b.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _7a7=!page.onClose||page.onClose(this,page);if(_7a7){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_7a8){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_788.forEach(this.getChildren(),function(_7a9){if(!_7a8){this.removeChild(_7a9);}_7a9.destroyRecursive(_7a8);},this);this._descendantsBeingDestroyed=false;}});_793.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_790,_793.ChildWidgetProperties);return _793;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _7aa={};lang.setObject("dojo.regexp",_7aa);_7aa.escapeString=function(str,_7ab){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_7ab&&_7ab.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_7aa.buildGroupRE=function(arr,re,_7ac){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i
=0?"Error":_7cf.indexOf(_7df,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_7e0){this._descendants=this._getDescendantFormWidgets();_7cf.forEach(this._descendants,function(_7e1){if(!_7e1._started){_7e1.startup();}});if(!_7e0){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_7e2,_7e3){this.onValidStateChange(_7e3=="");});},destroy:function(){this.inherited(arguments);}});});},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_7e4,_7e5){var _7e6={};lang.setObject("dojo.data.util.simpleFetch",_7e6);_7e6.errorHandler=function(_7e7,_7e8){if(_7e8.onError){var _7e9=_7e8.scope||_7e4.global;_7e8.onError.call(_7e9,_7e7,_7e8);}};_7e6.fetchHandler=function(_7ea,_7eb){var _7ec=_7eb.abort||null,_7ed=false,_7ee=_7eb.start?_7eb.start:0,_7ef=(_7eb.count&&(_7eb.count!==Infinity))?(_7ee+_7eb.count):_7ea.length;_7eb.abort=function(){_7ed=true;if(_7ec){_7ec.call(_7eb);}};var _7f0=_7eb.scope||_7e4.global;if(!_7eb.store){_7eb.store=this;}if(_7eb.onBegin){_7eb.onBegin.call(_7f0,_7ea.length,_7eb);}if(_7eb.sort){_7ea.sort(_7e5.createSortFunction(_7eb.sort,this));}if(_7eb.onItem){for(var i=_7ee;(i<_7ea.length)&&(i<_7ef);++i){var item=_7ea[i];if(!_7ed){_7eb.onItem.call(_7f0,item,_7eb);}}}if(_7eb.onComplete&&!_7ed){var _7f1=null;if(!_7eb.onItem){_7f1=_7ea.slice(_7ee,_7ef);}_7eb.onComplete.call(_7f0,_7f1,_7eb);}};_7e6.fetch=function(_7f2){_7f2=_7f2||{};if(!_7f2.store){_7f2.store=this;}this._fetchItems(_7f2,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _7f2;};return _7e6;});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_7f3,_7f4,_7f5,dom,_7f6,_7f7,_7f8,keys,lang,on,has,win,_7f9,pm,_7fa,_7fb){if(has("dijit-legacy-requires")){_7fb(0,function(){var _7fc=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_7f3(_7fc);});}return _7f5("dijit.Menu",_7fa,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_7f4.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_7fd){return _7f9.get(this._iframeContentDocument(_7fd))||this._iframeContentDocument(_7fd)["__parent__"]||(_7fd.name&&document.frames[_7fd.name])||null;},_iframeContentDocument:function(_7fe){return _7fe.contentDocument||(_7fe.contentWindow&&_7fe.contentWindow.document)||(_7fe.name&&document.frames[_7fe.name]&&document.frames[_7fe.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _7ff=node,_800=this._iframeContentWindow(_7ff);cn=win.body(_800.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _801={node:node,iframe:_7ff};_7f6.set(node,"_dijitMenu"+this.id,this._bindings.push(_801));var _802=lang.hitch(this,function(cn){var _803=this.selector,_804=_803?function(_805){return on.selector(_803,_805);}:function(_806){return _806;},self=this;return [on(cn,_804(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime() ${loadingState}",errorMessage:" ${errorState} ",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,markupFactory:function(_828,node,ctor){var self=new ctor(_828,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_829,_82a){if((!_829||!_829.template)&&_82a&&!("href" in _829)&&!("content" in _829)){_82a=dom.byId(_82a);var df=_82a.ownerDocument.createDocumentFragment();while(_82a.firstChild){df.appendChild(_82a.firstChild);}_829=lang.delegate(_829,{content:df});}this.inherited(arguments,[_829,_82a]);},postMixInProperties:function(){this.inherited(arguments);var _82b=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_822.substitute(this.loadingMessage,_82b);this.errorMessage=_822.substitute(this.errorMessage,_82b);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_823.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_823.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_823.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_81e.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _825(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_81e.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _825(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_82c){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _825(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _82d={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_82d,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_82d)),_82e;hand.then(function(html){_82e=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _82e;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_82f){if(this.isLoaded){this._onUnloadHandler();}var _830=this._contentSetter;_823.forEach(this.getChildren(),function(_831){if(_831.destroyRecursive){_831.destroyRecursive(_82f);}else{if(_831.destroy){_831.destroy(_82f);}}_831._destroyed=true;});if(_830){_823.forEach(_830.parseResults,function(_832){if(!_832._destroyed){if(_832.destroyRecursive){_832.destroyRecursive(_82f);}else{if(_832.destroy){_832.destroy(_82f);}}_832._destroyed=true;}});delete _830.parseResults;}if(!_82f){_827.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_833){cont=this.preprocessContent(cont);this.destroyDescendants();var _834=this._contentSetter;if(!(_834&&_834 instanceof html._ContentSetter)){_834=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _835=this.onContentError(e);try{this.containerNode.innerHTML=_835;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _836=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_834.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_836);var self=this;return when(p&&p.then?p:_834.parseDeferred,function(){delete self._contentSetterParams;if(!_833){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},preprocessContent:function(_837){return _837;},_onError:function(type,err,_838){this.onLoadDeferred.reject(err);var _839=this["on"+type+"Error"].call(this,err);if(_838){console.error(_838,err);}else{if(_839){this._setContent(_839,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_83a,_83b,_83c,_83d,keys,lang,_83e,_83f,_840,_841){return _83b("dijit._KeyNavContainer",[_840,_841,_83f],{connectKeyNavHandlers:function(_842,_843){var _844=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_83a.forEach(_842,function(code){_844[code]=prev;});_83a.forEach(_843,function(code){_844[code]=next;});_844[keys.HOME]=lang.hitch(this,"focusFirstChild");_844[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_83d.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_83a.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_845,_846){this.inherited(arguments);this._startupChild(_845);},_startupChild:function(_847){_847.set("tabIndex","-1");},_getFirst:function(){var _848=this.getChildren();return _848.length?_848[0]:null;},_getLast:function(){var _849=this.getChildren();return _849.length?_849[_849.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(node){var node=_83e.byNode(node);return node&&node.getParent()==this;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_84a,_84b,_84c,_84d,lang){function _84e(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_84f,dim){var _850=_84f.resize?_84f.resize(dim):_84c.setMarginBox(_84f.domNode,dim);if(_850){lang.mixin(_84f,_850);}else{lang.mixin(_84f,_84c.getMarginBox(_84f.domNode));lang.mixin(_84f,dim);}};var _851={marginBox2contentBox:function(node,mb){var cs=_84d.getComputedStyle(node);var me=_84c.getMarginExtents(node,cs);var pb=_84c.getPadBorderExtents(node,cs);return {l:_84d.toPixelValue(node,cs.paddingLeft),t:_84d.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_852,dim,_853,_854,_855){dim=lang.mixin({},dim);_84b.add(_852,"dijitLayoutContainer");_853=_84a.filter(_853,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_84a.filter(_853,function(item){return item.region=="center"||item.layoutAlign=="client";}));_84a.forEach(_853,function(_856){var elm=_856.domNode,pos=(_856.region||_856.layoutAlign);if(!pos){throw new Error("No region setting for "+_856.id);}var _857=elm.style;_857.left=dim.l+"px";_857.top=dim.t+"px";_857.position="absolute";_84b.add(elm,"dijitAlign"+_84e(pos));var _858={};if(_854&&_854==_856.id){_858[_856.region=="top"||_856.region=="bottom"?"h":"w"]=_855;}if(pos=="leading"){pos=_856.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_856.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_858.w=dim.w;size(_856,_858);dim.h-=_856.h;if(pos=="top"){dim.t+=_856.h;}else{_857.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_858.h=dim.h;size(_856,_858);dim.w-=_856.w;if(pos=="left"){dim.l+=_856.w;}else{_857.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_856,dim);}}}});}};lang.setObject("dijit.layout.utils",_851);return _851;});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_859,_85a){return _859("dijit._Contained",null,{_getSibling:function(_85b){var p=this.getParent();return (p&&p._getSiblingOfChild&&p._getSiblingOfChild(this,_85b=="previous"?-1:1))||null;},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/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_85c,dom,lang,_85d,_85e,_85f){function _860(_861){return {id:_861.value,value:_861.value,name:lang.trim(_861.innerText||_861.textContent||"")};};return _85c("dijit.form.DataList",_85e,{constructor:function(_862,_863){this.domNode=dom.byId(_863);lang.mixin(this,_862);if(this.id){_85f.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_85d("option",this.domNode).map(_860)}]);},destroy:function(){_85f.remove(this.id);},fetchSelectedItem:function(){var _864=_85d("> option[selected]",this.domNode)[0]||_85d("> option",this.domNode)[0];return _864&&_860(_864);}});});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_865,_866,_867,has,_868,_869,_86a,_86b,_86c){if(has("dijit-legacy-requires")){_869(0,function(){var _86d=["dijit/form/RadioButton"];_865(_86d);});}return _866("dijit.form.CheckBox",[_86a,_86b],{templateString:_86c,baseClass:"dijitCheckBox",_setValueAttr:function(_86e,_86f){if(typeof _86e=="string"){this.inherited(arguments);_86e=true;}if(this._created){this.set("checked",_86e,_86f);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_868("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_868("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dnd/common","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_870,_871,_872,lang,_873,dom,_874,on,_875,_876,_877){return _871("dijit.tree._dndSelector",_877,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_875.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_875.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_875.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_876.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_876.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _878=[],sel=this.selection;for(var i in sel){_878.push(sel[i]);}return _878;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_879){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_879){this.anchor=node;}return node;},removeTreeNode:function(node){var _87a=_870.filter(this.getSelectedTreeNodes(),function(_87b){return !dom.isDescendant(_87b.domNode,node.domNode);});this.setSelection(_87a);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_87c){var _87d=this.getSelectedTreeNodes();_870.forEach(this._setDifference(_87d,_87c),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_870.forEach(this._setDifference(_87c,_87d),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_870.forEach(ys,function(y){y.__exclude__=true;});var ret=_870.filter(xs,function(x){return !x.__exclude__;});_870.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _87e=this.getSelectedTreeNodes();var _87f=[],_880=[];_870.forEach(_87e,function(node){var ary=node.getTreePath();_880.push(node);_87f.push(ary);},this);var _881=_870.map(_880,function(node){return node.item;});this.tree._set("paths",_87f);this.tree._set("path",_87f[0]||[]);this.tree._set("selectedNodes",_880);this.tree._set("selectedNode",_880[0]||null);this.tree._set("selectedItems",_881);this.tree._set("selectedItem",_881[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_874.isLeft(e)){e.preventDefault();}var _882=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_882){return;}var copy=_873.getCopyKeyState(e),id=_882.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_882,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_873.getCopyKeyState(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_883,_884){if(this.singular){if(this.anchor==node&&_883){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_884&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_885,end,_886=this.anchor;if(cr<0){_885=_886;end=node;}else{_885=node;end=_886;}var _887=[];while(_885!=end){_887.push(_885);_885=this.tree._getNext(_885);}_887.push(end);this.setSelection(_887);}else{if(this.selection[node.id]&&_883){this.removeTreeNode(node);}else{if(_883){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _888=this.selection[key];return {data:_888,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_872.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_889,_88a,_88b,_88c){return _88a("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_88d,_88e){var _88f=this.containerNode;if(_88e>0){_88f=_88f.firstChild;while(_88e>0){if(_88f.nodeType==1){_88e--;}_88f=_88f.nextSibling;}if(_88f){_88e="before";}else{_88f=this.containerNode;_88e="last";}}_88b.place(_88d.domNode,_88f,_88e);if(this._started&&!_88d._started){_88d.startup();}},removeChild:function(_890){if(typeof _890=="number"){_890=this.getChildren()[_890];}if(_890){var node=_890.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_891,dir){var _892=this.getChildren(),idx=_889.indexOf(_892,_891);return _892[idx+dir];},getIndexOfChild:function(_893){return _889.indexOf(this.getChildren(),_893);}});});},"dojo/data/ItemFileReadStore":function(){define(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_894,lang,_895,_896,xhr,_897,_898,_899,_89a){var _89b=_895("dojo.data.ItemFileReadStore",[_897],{constructor:function(_89c){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_89c.url;this._ccUrl=_89c.url;this.url=_89c.url;this._jsonData=_89c.data;this.data=null;this._datatypeMap=_89c.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_89d){return _89a.fromISOString(_89d);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_89c.urlPreventCache!==undefined){this.urlPreventCache=_89c.urlPreventCache?true:false;}if(_89c.hierarchical!==undefined){this.hierarchical=_89c.hierarchical?true:false;}if(_89c.clearOnClose){this.clearOnClose=true;}if("failOk" in _89c){this.failOk=_89c.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_89e){if(typeof _89e!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_89f,_8a0){var _8a1=this.getValues(item,_89f);return (_8a1.length>0)?_8a1[0]:_8a0;},getValues:function(item,_8a2){this._assertIsItem(item);this._assertIsAttribute(_8a2);return (item[_8a2]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _8a3=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_8a3.push(key);}}return _8a3;},hasAttribute:function(item,_8a4){this._assertIsItem(item);this._assertIsAttribute(_8a4);return (_8a4 in item);},containsValue:function(item,_8a5,_8a6){var _8a7=undefined;if(typeof _8a6==="string"){_8a7=_898.patternToRegExp(_8a6,false);}return this._containsValue(item,_8a5,_8a6,_8a7);},_containsValue:function(item,_8a8,_8a9,_8aa){return _896.some(this.getValues(item,_8a8),function(_8ab){if(_8ab!==null&&!lang.isObject(_8ab)&&_8aa){if(_8ab.toString().match(_8aa)){return true;}}else{if(_8a9===_8ab){return true;}}});},isItem:function(_8ac){if(_8ac&&_8ac[this._storeRefPropName]===this){if(this._arrayOfAllItems[_8ac[this._itemNumPropName]]===_8ac){return true;}}return false;},isItemLoaded:function(_8ad){return this.isItem(_8ad);},loadItem:function(_8ae){this._assertIsItem(_8ae.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_8af,_8b0,_8b1){var _8b2=[],i,key;if(_8af.query){var _8b3,_8b4=_8af.queryOptions?_8af.queryOptions.ignoreCase:false;var _8b5={};for(key in _8af.query){_8b3=_8af.query[key];if(typeof _8b3==="string"){_8b5[key]=_898.patternToRegExp(_8b3,_8b4);}else{if(_8b3 instanceof RegExp){_8b5[key]=_8b3;}}}for(i=0;i<_8b0.length;++i){var _8b6=true;var _8b7=_8b0[i];if(_8b7===null){_8b6=false;}else{for(key in _8af.query){_8b3=_8af.query[key];if(!this._containsValue(_8b7,key,_8b3,_8b5[key])){_8b6=false;}}}if(_8b6){_8b2.push(_8b7);}}_8b1(_8b2,_8af);}else{for(i=0;i<_8b0.length;++i){var item=_8b0[i];if(item!==null){_8b2.push(item);}}_8b1(_8b2,_8af);}},_fetchItems:function(_8b8,_8b9,_8ba){var self=this;if(this._loadFinished){this.filter(_8b8,this._getItemsArray(_8b8.queryOptions),_8b9);}else{if(this._jsonFileUrl!==this._ccUrl){_894.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_8b8,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_8b9)});}else{this._loadInProgress=true;var _8bb={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _8bc=xhr.get(_8bb);_8bc.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_8b8,self._getItemsArray(_8b8.queryOptions),_8b9);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_8ba(e,_8b8);}});_8bc.addErrback(function(_8bd){self._loadInProgress=false;_8ba(_8bd,_8b8);});var _8be=null;if(_8b8.abort){_8be=_8b8.abort;}_8b8.abort=function(){var df=_8bc;if(df&&df.fired===-1){df.cancel();df=null;}if(_8be){_8be.call(_8b8);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_8b8,this._getItemsArray(_8b8.queryOptions),_8b9);}catch(e){_8ba(e,_8b8);}}else{_8ba(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_8b8);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i]+>|]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_8ee.empty,_setNodeContent:function(node,cont){_8ee.empty(node);if(cont){if(typeof cont=="number"){cont=cont.toString();}if(typeof cont=="string"){cont=_8ee.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _8f1=cont.length,i=0;i]*>\s*([\s\S]+)\s*<\/body>/im);if(_8f5){cont=_8f5[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_8f6){var _8f7={},key;for(key in _8f6){if(key in _8f7){continue;}this[key]=_8f6[key];}},_parse:function(){var _8f8=this.node;try{var _8f9={};_8ec.forEach(["dir","lang","textDir"],function(name){if(this[name]){_8f9[name]=this[name];}},this);var self=this;this.parseDeferred=_8ef.parse({rootNode:_8f8,noStart:!this.startup,inherited:_8f9,scope:this.parserScope}).then(function(_8fa){return self.parseResults=_8fa;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+self.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_8fb){var _8fc=this["on"+type+"Error"].call(this,err);if(_8fb){console.error(_8fb,err);}else{if(_8fc){html._setNodeContent(this.node,_8fc,true);}}}}),set:function(node,cont,_8fd){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(typeof cont=="number"){cont=cont.toString();}if(!_8fd){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_8fd,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","./_CssStateMixin","./a11yclick","./focus","./typematic"],function(_8fe,_8ff,_900,_901,keys,lang,on,_902,_903,_904,_905){var _906=_8fe("dijit._PaletteMixin",_902,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_907){var _908=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _908(_907);},_preparePalette:function(_909,_90a){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_903,lang.hitch(this,"_onCellClick")));for(var row=0;row<_909.length;row++){var _90b=_901.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_909[row].length;col++){var _90c=_909[row][col];if(_90c){var _90d=this._dyeFactory(_90c,row,col,_90a[_90c]);var _90e=_901.create("td",{"class":this.cellClass,tabIndex:"-1",title:_90a[_90c],role:"gridcell"},_90b);_90d.fillCell(_90e,url);_90e.idx=this._cells.length;this._cells.push({node:_90e,dye:_90d});}}}this._xDim=_909[0].length;this._yDim=_909.length;var _90f={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _90f){this.own(_905.addKeyListener(this.domNode,{keyCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _910=_90f[key];return function(_911){this._navigateByKey(_910,_911);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_904.focus(this._currentFocus);},_onCellClick:function(evt){var _912=evt.target;while(_912.tagName!="TD"){if(!_912.parentNode||_912==this.gridNode){return;}_912=_912.parentNode;}var _913=this._getDye(_912).getValue();this._setCurrent(_912);_904.focus(_912);this._setValueAttr(_913,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(node){if("_currentFocus" in this){_8ff.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_8ff.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_914,_915){if(this._selectedCell>=0){_900.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_914){for(var i=0;i=0?_914:null);if(_915||_915===undefined){this.onChange(_914);}},onChange:function(){},_navigateByKey:function(_916,_917){if(_917==-1){return;}var _918=this._currentFocus.idx+_916;if(_918-1){var _919=this._cells[_918].node;this._setCurrent(_919);this.defer(lang.hitch(_904,"focus",_919));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});return _906;});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_91a,_91b,lang,i18n,_91c,_91d,_91e){var _91f=_91a("dijit.form.ValidationTextBox",_91c,{templateString:_91e,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_920){if(_920!=_91f.prototype[attr]){_91b.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_920);}},_setRegExpGenAttr:function(_921){this._deprecateRegExp("regExpGen",_921);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_922){this._deprecateRegExp("regExp",_922);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_923,_924){return (new RegExp("^(?:"+this._computeRegexp(_924)+")"+(this.required?"":"?")+"$")).test(_923)&&(!this.required||!this._isEmpty(_923))&&(this._isEmpty(_923)||this.parse(_923,_924)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_925){return (this.trim?/^\s*$/:/^$/).test(_925);},getErrorMessage:function(){var _926=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _927=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_926:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_927:_926;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_928){var _929="";var _92a=this.disabled||this.isValid(_928);if(_92a){this._maskValidSubsetError=true;}var _92b=this._isEmpty(this.textbox.value);var _92c=!_92a&&_928&&this._isValidSubset();this._set("state",_92a?"":(((((!this._hasBeenBlurred||_928)&&_92b)||_92c)&&(this._maskValidSubsetError||(_92c&&!this._hasBeenBlurred&&_928)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_928&&_92c;_929=this.getErrorMessage(_928);}else{if(this.state=="Incomplete"){_929=this.getPromptMessage(_928);this._maskValidSubsetError=!this._hasBeenBlurred||_928;}else{if(_92b){_929=this.getPromptMessage(_928);}}}this.set("message",_929);return _92a;},displayMessage:function(_92d){if(_92d&&this.focused){_91d.show(_92d,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_91d.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_92e){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_92f){if(!_92f.locale&&this.lang){_92f.locale=this.lang;}this._set("constraints",_92f);this._refreshState();},_setPatternAttr:function(_930){this._set("pattern",_930);this._refreshState();},_computeRegexp:function(_931){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_931);}if(p!=this._lastRegExp){var _932="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_932+=re;break;case ")":_932+="|$)";break;default:_932+="(?:"+re+"|$)";break;}});}try{"".search(_932);}catch(e){_932=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_932+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_933){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_934){this._set("required",_934);this.focusNode.setAttribute("aria-required",_934);this._refreshState();},_setMessageAttr:function(_935){this._set("message",_935);this.displayMessage(_935);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_91d.hide(this.domNode);this.inherited(arguments);}});return _91f;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_936,dom,lang,has,_937,_938){var _939=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _93a="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _93b=oSel.getRangeAt(0);if((_93b.startContainer==_93b.endContainer)&&((_93b.endOffset-_93b.startOffset)==1)&&(_93b.startContainer.nodeType!=3)){_93a="control";}}return _93a;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _93c=win.getSelection();return _93c?_93c.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _93d=win.getSelection();if(_93d&&_93d.rangeCount){var i;var html="";for(i=0;i<_93d.rangeCount;i++){var frag=_93d.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _93e=win.getSelection();return _93e.anchorNode.childNodes[_93e.anchorOffset];}else{var _93f=doc.selection.createRange();if(_93f&&_93f.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _940=doc.getSelection();if(_940){var node=_940.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_941){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_942){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _943=node.tagName.toLowerCase();for(var i=0;i0){_951=sel.getRangeAt(0);}if(_951&&_951.compareBoundaryPoints&&doc.createRange){try{_950=doc.createRange();_950.setStart(node,0);if(_951.compareBoundaryPoints(_951.START_TO_END,_950)===1){return true;}}catch(e){}}}else{_951=doc.selection.createRange();try{_950=node.ownerDocument.body.createTextRange();_950.moveToElementText(node);}catch(e2){}if(_951&&_950){if(_951.compareEndPoints("EndToStart",_950)===1){return true;}}}}return false;};this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_938.curNode;if(doc.getSelection){sel=win.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
",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_957.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _962=_955(this._cookieName);if(_962){this.child.domNode.style[this.horizontal?"height":"width"]=_962;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_963=_959.getMarginBox(this.child.domNode)[dim],_964=_954.filter(this.container.getChildren(),function(_965){return _965.region=="center";})[0];var _966=_959.getContentBox(_964.domNode)[dim]-10;return Math.min(this.child.maxSize,_963+_966);},_startDrag:function(e){if(!this.cover){this.cover=_958.place("
",this.child.domNode,"after");}_957.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_958.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_957.add(this.domNode,"dijitSplitterShadow");_958.place(this.fake,this.domNode,"after");}_957.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_957.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _967=this._factor,_968=this.horizontal,axis=_968?"pageY":"pageX",_969=e[axis],_96a=this.domNode.style,dim=_968?"h":"w",_96b=_95a.getComputedStyle(this.child.domNode),_96c=_959.getMarginBox(this.child.domNode,_96b)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_959.getPadBorderExtents(this.child.domNode,_96b)[dim]+10),_96d=this.region,_96e=_96d=="top"||_96d=="bottom"?"top":"left",_96f=parseInt(_96a[_96e],10),_970=this._resize,_971=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_95b.move,this._drag=function(e,_972){var _973=e[axis]-_969,_974=_967*_973+_96c,_975=Math.max(Math.min(_974,max),min);if(_970||_972){_971(_975);}_96a[_96e]=_973+_96f+_967*(_975-_974)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_95b.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_957.toggle(this.domNode,"dijitSplitterHover",o);_957.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_957.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_958.destroy(this.fake);}_957.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_955(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _976=this.horizontal;var tick=1;switch(e.keyCode){case _976?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _976?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _977=_959.getMarginSize(this.child.domNode)[_976?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_977,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _978=_956("dijit.layout._Gutter",[_95d,_95e],{templateString:"
",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_957.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _979=_956("dijit.layout.BorderContainer",_95f,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_961,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_97a){this.inherited(arguments);var _97b=_97a.region,ltr=_97a.isLeftToRight();if(_97b=="leading"){_97b=ltr?"left":"right";}if(_97b=="trailing"){_97b=ltr?"right":"left";}if(_97b){if(_97b!="center"&&(_97a.splitter||this.gutters)&&!_97a._splitterWidget){var _97c=_97a.splitter?this._splitterClass:_978;if(lang.isString(_97c)){_97c=lang.getObject(_97c);}var _97d=new _97c({id:_97a.id+"_splitter",container:this,child:_97a,region:_97b,live:this.liveSplitters});_97d.isSplitter=true;_97a._splitterWidget=_97d;var _97e=_97b=="bottom"||_97b==(this.isLeftToRight()?"right":"left");_958.place(_97d.domNode,_97a.domNode,_97e?"before":"after");_97d.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_97f){var _980=_97f._splitterWidget;if(_980){_980.destroy();delete _97f._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _954.filter(this.inherited(arguments),function(_981){return !_981.isSplitter;});},getSplitter:function(_982){return _954.filter(this.getChildren(),function(_983){return _983.region==_982;})[0]._splitterWidget;},resize:function(_984,_985){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_95a.getComputedStyle(node);this.pe=_959.getPadExtents(node,this.cs);this.pe.r=_95a.toPixelValue(node,this.cs.paddingRight);this.pe.b=_95a.toPixelValue(node,this.cs.paddingBottom);_95a.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_986,_987){if(!this._borderBox||!this._borderBox.h){return;}var _988=[];_954.forEach(this._getOrderedChildren(),function(pane){_988.push(pane);if(pane._splitterWidget){_988.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_960.layoutChildren(this.domNode,dim,_988,_986,_987);},destroyRecursive:function(){_954.forEach(this.getChildren(),function(_989){var _98a=_989._splitterWidget;if(_98a){_98a.destroy();}delete _989._splitterWidget;});this.inherited(arguments);}});_979.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_979.ChildWidgetProperties,_95f.ChildWidgetProperties);lang.extend(_95c,_979.ChildWidgetProperties);_979._Splitter=_961;_979._Gutter=_978;return _979;});},"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_98b){return _98b._base;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_98c,dom,geom,_98d,_98e){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_98c.body(doc),_98f=_98e.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_98e.create("div",{style:{overflow:"hidden",direction:"ltr"}},_98f,"last"),ret=geom.position(div).x!=0;_98f.removeChild(div);body.removeChild(_98f);return ret;});has.add("position-fixed-support",function(win,doc){var body=_98c.body(doc),_990=_98e.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_991=_98e.create("span",{style:{position:"fixed",left:"0",top:"0"}},_990,"last"),ret=geom.position(_991).x!=geom.position(_990).x;_990.removeChild(_991);body.removeChild(_990);return ret;});var _992={getBox:function(doc){doc=doc||_98c.doc;var _993=(doc.compatMode=="BackCompat")?_98c.body(doc):doc.documentElement,_994=geom.docScroll(doc),w,h;if(has("touch")){var _995=_992.get(doc);w=_995.innerWidth||_993.clientWidth;h=_995.innerHeight||_993.clientHeight;}else{w=_993.clientWidth;h=_993.clientHeight;}return {l:_994.x,t:_994.y,w:w,h:h};},get:function(doc){if(has("ie")&&_992!==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||_98c.doc,body=_98c.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie")||has("trident"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _996=doc.compatMode=="BackCompat",_997=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_998=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_999=(isWK||_996)?body:html,_99a=pos||geom.position(node),el=node.parentNode,_99b=function(el){return (isIE<=6||(isIE==7&&_996))?false:(has("position-fixed-support")&&(_98d.get(el,"position").toLowerCase()=="fixed"));},self=this,_99c=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_99b(node)){return;}while(el){if(el==body){el=_999;}var _99d=geom.position(el),_99e=_99b(el),rtl=_98d.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_999){_99d.w=_997;_99d.h=_998;if(_999==html&&(isIE||has("trident"))&&rtl){_99d.x+=_999.offsetWidth-_99d.w;}_99d.x=0;_99d.y=0;}else{var pb=geom.getPadBorderExtents(el);_99d.w-=pb.w;_99d.h-=pb.h;_99d.x+=pb.l;_99d.y+=pb.t;var _99f=el.clientWidth,_9a0=_99d.w-_99f;if(_99f>0&&_9a0>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_99d.x+=_9a0;}_99d.w=_99f;}_99f=el.clientHeight;_9a0=_99d.h-_99f;if(_99f>0&&_9a0>0){_99d.h=_99f;}}if(_99e){if(_99d.y<0){_99d.h+=_99d.y;_99d.y=0;}if(_99d.x<0){_99d.w+=_99d.x;_99d.x=0;}if(_99d.y+_99d.h>_998){_99d.h=_998-_99d.y;}if(_99d.x+_99d.w>_997){_99d.w=_997-_99d.x;}}var l=_99a.x-_99d.x,t=_99a.y-_99d.y,r=l+_99a.w-_99d.w,bot=t+_99a.h-_99d.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_999||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_996)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_99c(el,s,0);s=el.scrollLeft-old;_99a.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_999||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_99c(el,0,s);s=el.scrollTop-old;_99a.y-=s;}el=(el!=_999)&&!_99e&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_992);return _992;});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_9a1,_9a2,_9a3){var _9a4={};lang.setObject("dojo.number",_9a4);_9a4.format=function(_9a5,_9a6){_9a6=lang.mixin({},_9a6||{});var _9a7=i18n.normalizeLocale(_9a6.locale),_9a8=i18n.getLocalization("dojo.cldr","number",_9a7);_9a6.customs=_9a8;var _9a9=_9a6.pattern||_9a8[(_9a6.type||"decimal")+"Format"];if(isNaN(_9a5)||Math.abs(_9a5)==Infinity){return null;}return _9a4._applyPattern(_9a5,_9a9,_9a6);};_9a4._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_9a4._applyPattern=function(_9aa,_9ab,_9ac){_9ac=_9ac||{};var _9ad=_9ac.customs.group,_9ae=_9ac.customs.decimal,_9af=_9ab.split(";"),_9b0=_9af[0];_9ab=_9af[(_9aa<0)?1:0]||("-"+_9b0);if(_9ab.indexOf("%")!=-1){_9aa*=100;}else{if(_9ab.indexOf("‰")!=-1){_9aa*=1000;}else{if(_9ab.indexOf("¤")!=-1){_9ad=_9ac.customs.currencyGroup||_9ad;_9ae=_9ac.customs.currencyDecimal||_9ae;_9ab=_9ab.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(_9b1,_9b2,_9b3,_9b4){var prop=["symbol","currency","displayName"][_9b3.length-1],_9b5=_9ac[prop]||_9ac.currency||"";if(!_9b5){return "";}return _9b2+_9b5+_9b4;});}else{if(_9ab.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _9b6=_9a4._numberPatternRE;var _9b7=_9b0.match(_9b6);if(!_9b7){throw new Error("unable to find a number expression in pattern: "+_9ab);}if(_9ac.fractional===false){_9ac.places=0;}return _9ab.replace(_9b6,_9a4._formatAbsolute(_9aa,_9b7[0],{decimal:_9ae,group:_9ad,places:_9ac.places,round:_9ac.round}));};_9a4.round=function(_9b8,_9b9,_9ba){var _9bb=10/(_9ba||10);return (_9bb*+_9b8).toFixed(_9b9)/_9bb;};if((0.9).toFixed()==0){var _9bc=_9a4.round;_9a4.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _9bc(v,p,m)+(v>0?d:-d);};}_9a4._formatAbsolute=function(_9bd,_9be,_9bf){_9bf=_9bf||{};if(_9bf.places===true){_9bf.places=0;}if(_9bf.places===Infinity){_9bf.places=6;}var _9c0=_9be.split("."),_9c1=typeof _9bf.places=="string"&&_9bf.places.indexOf(","),_9c2=_9bf.places;if(_9c1){_9c2=_9bf.places.substring(_9c1+1);}else{if(!(_9c2>=0)){_9c2=(_9c0[1]||[]).length;}}if(!(_9bf.round<0)){_9bd=_9a4.round(_9bd,_9c2,_9bf.round);}var _9c3=String(Math.abs(_9bd)).split("."),_9c4=_9c3[1]||"";if(_9c0[1]||_9bf.places){if(_9c1){_9bf.places=_9bf.places.substring(0,_9c1);}var pad=_9bf.places!==undefined?_9bf.places:(_9c0[1]&&_9c0[1].lastIndexOf("0")+1);if(pad>_9c4.length){_9c3[1]=_9a2.pad(_9c4,pad,"0",true);}if(_9c2<_9c4.length){_9c3[1]=_9c4.substr(0,_9c2);}}else{if(_9c3[1]){_9c3.pop();}}var _9c5=_9c0[0].replace(",","");pad=_9c5.indexOf("0");if(pad!=-1){pad=_9c5.length-pad;if(pad>_9c3[0].length){_9c3[0]=_9a2.pad(_9c3[0],pad);}if(_9c5.indexOf("#")==-1){_9c3[0]=_9c3[0].substr(_9c3[0].length-pad);}}var _9c6=_9c0[0].lastIndexOf(","),_9c7,_9c8;if(_9c6!=-1){_9c7=_9c0[0].length-_9c6-1;var _9c9=_9c0[0].substr(0,_9c6);_9c6=_9c9.lastIndexOf(",");if(_9c6!=-1){_9c8=_9c9.length-_9c6-1;}}var _9ca=[];for(var _9cb=_9c3[0];_9cb;){var off=_9cb.length-_9c7;_9ca.push((off>0)?_9cb.substr(off):_9cb);_9cb=(off>0)?_9cb.slice(0,off):"";if(_9c8){_9c7=_9c8;_9c8=undefined;}}_9c3[0]=_9ca.reverse().join(_9bf.group||",");return _9c3.join(_9bf.decimal||".");};_9a4.regexp=function(_9cc){return _9a4._parseInfo(_9cc).regexp;};_9a4._parseInfo=function(_9cd){_9cd=_9cd||{};var _9ce=i18n.normalizeLocale(_9cd.locale),_9cf=i18n.getLocalization("dojo.cldr","number",_9ce),_9d0=_9cd.pattern||_9cf[(_9cd.type||"decimal")+"Format"],_9d1=_9cf.group,_9d2=_9cf.decimal,_9d3=1;if(_9d0.indexOf("%")!=-1){_9d3/=100;}else{if(_9d0.indexOf("‰")!=-1){_9d3/=1000;}else{var _9d4=_9d0.indexOf("¤")!=-1;if(_9d4){_9d1=_9cf.currencyGroup||_9d1;_9d2=_9cf.currencyDecimal||_9d2;}}}var _9d5=_9d0.split(";");if(_9d5.length==1){_9d5.push("-"+_9d5[0]);}var re=_9a3.buildGroupRE(_9d5,function(_9d6){_9d6="(?:"+_9a3.escapeString(_9d6,".")+")";return _9d6.replace(_9a4._numberPatternRE,function(_9d7){var _9d8={signed:false,separator:_9cd.strict?_9d1:[_9d1,""],fractional:_9cd.fractional,decimal:_9d2,exponent:false},_9d9=_9d7.split("."),_9da=_9cd.places;if(_9d9.length==1&&_9d3!=1){_9d9[1]="###";}if(_9d9.length==1||_9da===0){_9d8.fractional=false;}else{if(_9da===undefined){_9da=_9cd.pattern?_9d9[1].lastIndexOf("0")+1:Infinity;}if(_9da&&_9cd.fractional==undefined){_9d8.fractional=true;}if(!_9cd.places&&(_9da<_9d9[1].length)){_9da+=","+_9d9[1].length;}_9d8.places=_9da;}var _9db=_9d9[0].split(",");if(_9db.length>1){_9d8.groupSize=_9db.pop().length;if(_9db.length>1){_9d8.groupSize2=_9db.pop().length;}}return "("+_9a4._realNumberRegexp(_9d8)+")";});},true);if(_9d4){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_9dc,_9dd,_9de,_9df){var prop=["symbol","currency","displayName"][_9de.length-1],_9e0=_9a3.escapeString(_9cd[prop]||_9cd.currency||"");if(!_9e0){return "";}_9dd=_9dd?"[\\s\\xa0]":"";_9df=_9df?"[\\s\\xa0]":"";if(!_9cd.strict){if(_9dd){_9dd+="*";}if(_9df){_9df+="*";}return "(?:"+_9dd+_9e0+_9df+")?";}return _9dd+_9e0+_9df;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_9d1,decimal:_9d2,factor:_9d3};};_9a4.parse=function(_9e1,_9e2){var info=_9a4._parseInfo(_9e2),_9e3=(new RegExp("^"+info.regexp+"$")).exec(_9e1);if(!_9e3){return NaN;}var _9e4=_9e3[1];if(!_9e3[1]){if(!_9e3[2]){return NaN;}_9e4=_9e3[2];info.factor*=-1;}_9e4=_9e4.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _9e4*info.factor;};_9a4._realNumberRegexp=function(_9e5){_9e5=_9e5||{};if(!("places" in _9e5)){_9e5.places=Infinity;}if(typeof _9e5.decimal!="string"){_9e5.decimal=".";}if(!("fractional" in _9e5)||/^0/.test(_9e5.places)){_9e5.fractional=[true,false];}if(!("exponent" in _9e5)){_9e5.exponent=[true,false];}if(!("eSigned" in _9e5)){_9e5.eSigned=[true,false];}var _9e6=_9a4._integerRegexp(_9e5),_9e7=_9a3.buildGroupRE(_9e5.fractional,function(q){var re="";if(q&&(_9e5.places!==0)){re="\\"+_9e5.decimal;if(_9e5.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_9e5.places+"}";}}return re;},true);var _9e8=_9a3.buildGroupRE(_9e5.exponent,function(q){if(q){return "([eE]"+_9a4._integerRegexp({signed:_9e5.eSigned})+")";}return "";});var _9e9=_9e6+_9e7;if(_9e7){_9e9="(?:(?:"+_9e9+")|(?:"+_9e7+"))";}return _9e9+_9e8;};_9a4._integerRegexp=function(_9ea){_9ea=_9ea||{};if(!("signed" in _9ea)){_9ea.signed=[true,false];}if(!("separator" in _9ea)){_9ea.separator="";}else{if(!("groupSize" in _9ea)){_9ea.groupSize=3;}}var _9eb=_9a3.buildGroupRE(_9ea.signed,function(q){return q?"[-+]":"";},true);var _9ec=_9a3.buildGroupRE(_9ea.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_9a3.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_9ea.groupSize,grp2=_9ea.groupSize2;if(grp2){var _9ed="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_9ed+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_9ed;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _9eb+_9ec;};return _9a4;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_9ee,_9ef,_9f0,lang){lang.extend(_9ef,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _9f0("dijit._FocusMixin",null,{_focusManager:_9ee});});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _9f1={};lang.setObject("dojo.data.util.filter",_9f1);_9f1.patternToRegExp=function(_9f2,_9f3){var rxp="^";var c=null;for(var i=0;i<_9f2.length;i++){c=_9f2.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_9f2.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_9f3){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _9f1;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_9f4,_9f5,_9f6,lang,_9f7){return _9f6("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var node=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_9f7.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(lang.hitch(this,function(_9f8){this._startupWidgets=_9f8;for(var i=0;i<_9f8.length;i++){this._processTemplateNode(_9f8[i],function(n,p){return n[p];},function(_9f9,type,_9fa){if(type in _9f9){return _9f9.connect(_9f9,type,_9fa);}else{return _9f9.on(type,_9fa,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");}}},_processTemplateNode:function(_9fb,_9fc,_9fd){if(_9fc(_9fb,"dojoType")||_9fc(_9fb,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_9f4.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(lang,_9fe,_9ff,_a00){return _9fe("dojo.fx.Toggler",null,{node:null,showFunc:_9ff.fadeIn,hideFunc:_9ff.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _a01=this;lang.mixin(_a01,args);_a01.node=args.node;_a01._showArgs=lang.mixin({},args);_a01._showArgs.node=_a01.node;_a01._showArgs.duration=_a01.showDuration;_a01.showAnim=_a01.showFunc(_a01._showArgs);_a01._hideArgs=lang.mixin({},args);_a01._hideArgs.node=_a01.node;_a01._hideArgs.duration=_a01.hideDuration;_a01.hideAnim=_a01.hideFunc(_a01._hideArgs);_a00.after(_a01.showAnim,"beforeBegin",lang.hitch(_a01.hideAnim,"stop",true),true);_a00.after(_a01.hideAnim,"beforeBegin",lang.hitch(_a01.showAnim,"stop",true),true);},show:function(_a02){return this.showAnim.play(_a02||0);},hide:function(_a03){return this.hideAnim.play(_a03||0);}});});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_a04,lang,when,_a05,_a06){return _a04("dijit.form.FilteringSelect",[_a05,_a06],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_a07,_a08,_a09,_a0a){if((_a08&&_a08[this.searchAttr]!==this._lastQuery)||(!_a08&&_a07.length&&this.store.getIdentity(_a07[0])!=this._lastQuery)){return;}if(!_a07.length){this.set("value","",_a0a||(_a0a===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_a07[0],_a0a);}},_openResultList:function(_a0b,_a0c,_a0d){if(_a0c[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_a0e,_a0f,_a10,item){if(!this._onChangeActive){_a0f=null;}if(item===undefined){if(_a0e===null||_a0e===""){_a0e="";if(!lang.isString(_a10)){this._setDisplayedValueAttr(_a10||"",_a0f);return;}}var self=this;this._lastQuery=_a0e;when(this.store.get(_a0e),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_a0f);});}else{this.valueNode.value=_a0e;this.inherited(arguments,[_a0e,_a0f,_a10,item]);}},_setItemAttr:function(item,_a11,_a12){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_a13,_a14){if(_a13==null){_a13="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_a14=false;}if(this.store){this.closeDropDown();var _a15=lang.clone(this.query);var qs=this._getDisplayQueryString(_a13),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_a15[this.searchAttr]=q;this.textbox.value=_a13;this._lastDisplayedValue=_a13;this._set("displayedValue",_a13);var _a16=this;var _a17={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_a17,this.fetchProperties);this._fetchHandle=this.store.query(_a15,_a17);when(this._fetchHandle,function(_a18){_a16._fetchHandle=null;_a16._callbackSetLabel(_a18||[],_a15,_a17,_a14);},function(err){_a16._fetchHandle=null;if(!_a16._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _a19={};lang.setObject("dojo.data.util.sorter",_a19);_a19.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_a19.createSortFunction=function(_a1a,_a1b){var _a1c=[];function _a1d(attr,dir,comp,s){return function(_a1e,_a1f){var a=s.getValue(_a1e,attr);var b=s.getValue(_a1f,attr);return dir*comp(a,b);};};var _a20;var map=_a1b.comparatorMap;var bc=_a19.basicComparator;for(var i=0;i<_a1a.length;i++){_a20=_a1a[i];var attr=_a20.attribute;if(attr){var dir=(_a20.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_a1c.push(_a1d(attr,dir,comp,_a1b));}}return function(rowA,rowB){var i=0;while(i<_a1c.length){var ret=_a1c[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _a19;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_a21,dom,has,_a22){var _a23=_a21("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _a24=e.defaultPrevented;if(!_a24&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _a25=_a22.byNode(node);if(_a25&&typeof _a25._onSubmit=="function"){_a25._onSubmit(e);e.preventDefault();_a24=true;break;}}}return !_a24;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_a26){this._set("label",_a26);var _a27=this.containerNode||this.focusNode;_a27.innerHTML=_a26;this.onLabelSet();},onLabelSet:function(){}});if(has("dojo-bidi")){_a23=_a21("dijit.form._ButtonMixin",_a23,{onLabelSet:function(){this.inherited(arguments);var _a28=this.containerNode||this.focusNode;this.applyTextDir(_a28);}});}return _a23;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_a29,_a2a){var _a2b={};lang.setObject("dojo.colors",_a2b);var _a2c=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_a29.fromRgb=function(_a2d,obj){var m=_a2d.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_a2a.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _a29.fromArray(a,obj);}return _a29.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_a2c(m1,m2,H+1/3)*256,_a2c(m1,m2,H)*256,_a2c(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _a29.fromArray(a,obj);}}return null;};var _a2e=function(c,low,high){c=Number(c);return isNaN(c)?high:c
high?high:c;};_a29.prototype.sanitize=function(){var t=this;t.r=Math.round(_a2e(t.r,0,255));t.g=Math.round(_a2e(t.g,0,255));t.b=Math.round(_a2e(t.b,0,255));t.a=_a2e(t.a,0,1);return this;};_a2b.makeGrey=_a29.makeGrey=function(g,a){return _a29.fromArray([g,g,g,a]);};lang.mixin(_a29.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _a29;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_a2f,win,_a30){var _a31={},hash={};var _a32={length:0,add:function(_a33){if(hash[_a33.id]){throw new Error("Tried to register widget with id=="+_a33.id+" but that id is already registered");}hash[_a33.id]=_a33;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(_a34){var id;do{id=_a34+"_"+(_a34 in _a31?++_a31[_a34]:_a31[_a34]=0);}while(hash[id]);return _a30._scopeName=="dijit"?id:_a30._scopeName+"_"+id;},findWidgets:function(root,_a35){var _a36=[];function _a37(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _a38=node.getAttribute("widgetId");if(_a38){var _a39=hash[_a38];if(_a39){_a36.push(_a39);}}else{if(node!==_a35){_a37(node);}}}}};_a37(root);return _a36;},_destroyAll:function(){_a30._curFocus=null;_a30._prevFocus=null;_a30._activeStack=[];_a2f.forEach(_a32.findWidgets(win.body()),function(_a3a){if(!_a3a._destroyed){if(_a3a.destroyRecursive){_a3a.destroyRecursive();}else{if(_a3a.destroy){_a3a.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};_a30.registry=_a32;return _a32;});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/touch"],function(_a3b,_a3c,_a3d,lang,on,_a3e){return _a3c("dijit.tree._dndContainer",null,{constructor:function(tree,_a3f){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_a3f);this.containerState="";_a3d.add(this.node,"dojoDndContainer");this.events=[on(this.node,_a3e.enter,lang.hitch(this,"onOverEvent")),on(this.node,_a3e.leave,lang.hitch(this,"onOutEvent")),_a3b.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_a3b.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_a40){this.current=_a40;},onMouseOut:function(){this.current=null;},_changeState:function(type,_a41){var _a42="dojoDnd"+type;var _a43=type.toLowerCase()+"State";_a3d.replace(this.node,_a42+_a41,_a42+this[_a43]);this[_a43]=_a41;},_addItemClass:function(node,type){_a3d.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_a3d.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_a44,lang,_a45){var _a46={hasWaiRole:function(elem,role){var _a47=this.getWaiRole(elem);return role?(_a47.indexOf(role)>-1):(_a47.length>0);},getWaiRole:function(elem){return lang.trim((_a44.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_a44.set(elem,"role",role);},removeWaiRole:function(elem,role){var _a48=_a44.get(elem,"role");if(!_a48){return;}if(role){var t=lang.trim((" "+_a48+" ").replace(" "+role+" "," "));_a44.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_a49){return elem.hasAttribute?elem.hasAttribute("aria-"+_a49):!!elem.getAttribute("aria-"+_a49);},getWaiState:function(elem,_a4a){return elem.getAttribute("aria-"+_a4a)||"";},setWaiState:function(elem,_a4b,_a4c){elem.setAttribute("aria-"+_a4b,_a4c);},removeWaiState:function(elem,_a4d){elem.removeAttribute("aria-"+_a4d);}};lang.mixin(_a45,_a46);return _a45;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_a4e,_a4f,_a50,_a51,_a52,dom,_a53,_a54,lang,_a55,when,_a56,_a57){var _a58=_a52("dijit.form._FormSelectWidget",_a57,{multiple:false,options:null,store:null,_setStoreAttr:function(val){if(this._created){this._deprecatedSetStore(val);}},query:null,_setQueryAttr:function(_a59){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_a59});}},queryOptions:null,_setQueryOptionsAttr:function(_a5a){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_a5a});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_a5b){var opts=this.options||[];if(_a5b==null){return opts;}if(lang.isArrayLike(_a5b)){return _a4e.map(_a5b,"return this.getOptions(item);",this);}if(lang.isString(_a5b)){_a5b={value:_a5b};}if(lang.isObject(_a5b)){if(!_a4e.some(opts,function(_a5c,idx){for(var a in _a5b){if(!(a in _a5c)||_a5c[a]!=_a5b[a]){return false;}}_a5b=idx;return true;})){_a5b=-1;}}if(_a5b>=0&&_a5bb[_a75]?1:b[_a75]>a[_a75]?-1:0;});}}if(_a68.onFetch){_a74=_a68.onFetch.call(this,_a74,_a68);}_a4e.forEach(_a74,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_a76,_a77,_a78){if(_a77==_a78){this._onSetItem(_a76);}else{if(_a77!=-1){this._onDeleteItem(_a76);}if(_a78!=-1){this._onNewItem(_a76);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_a67);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_a74);}this.onLoadDeferred.resolve(true);this.onSetStore();}),lang.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _a69;},_setValueAttr:function(_a79,_a7a){if(!this._onChangeActive){_a7a=null;}if(this._loadingStore){this._pendingValue=_a79;return;}if(_a79==null){return;}if(lang.isArrayLike(_a79)){_a79=_a4e.map(_a79,function(_a7b){return lang.isObject(_a7b)?_a7b:{value:_a7b};});}else{if(lang.isObject(_a79)){_a79=[_a79];}else{_a79=[{value:_a79}];}}_a79=_a4e.filter(this.getOptions(_a79),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_a79[0]||!_a79[0].value)&&!!opts.length){_a79[0]=opts[0];}_a4e.forEach(opts,function(opt){opt.selected=_a4e.some(_a79,function(v){return v.value===opt.value;});});var val=_a4e.map(_a79,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_a4e.map(_a79,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_a7a]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_a4e.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_a7c){this.set("value",this.getOptions(typeof _a7c=="string"?{label:_a7c}:_a7c));},_loadChildren:function(){if(this._loadingStore){return;}_a4e.forEach(this._getChildren(),function(_a7d){_a7d.destroyRecursive();});_a4e.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_a4e.forEach(this._getChildren(),function(_a7e){var _a7f=_a4e.some(val,function(v){return _a7e.option&&(v===_a7e.option.value);});if(_a7f&&!self.multiple){self.focusedChild=_a7e;}_a53.toggle(_a7e.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_a7f);_a7e.domNode.setAttribute("aria-selected",_a7f?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_a4e.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _a4e.map(_a4e.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_a80){if(!_a80||!_a80.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _a81=this.store;this.removeOption({value:_a81.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _a82=this.store,_a83=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_a82.getLabel(item),_a84=(_a83?_a82.getIdentity(item):null);return {value:_a84,label:_a83,item:item};},_addOptionForItem:function(item){var _a85=this.store;if(_a85.isItemLoaded&&!_a85.isItemLoaded(item)){_a85.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _a86=this._getOptionObjForItem(item);this.addOption(_a86);},constructor:function(_a87){this._oValue=(_a87||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_a55("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_a54._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_a50.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _a88=this.store;if(_a88&&(_a88.getIdentity||_a88.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_a88,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _a58;});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_a89,_a8a,_a8b,_a8c,_a8d,i18n,keys,lang,on,has,_a8e,_a8f,_a90,_a91,_a92,_a93,_a94,_a95,_a96){var _a97=_a8a("dijit.form._SelectMenu",_a90,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _a98=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_a89.forEach(this.parentWidget._getChildren(),function(_a99){if(_a99.option&&(val===_a99.option.value)){_a98=true;this.focusChild(_a99,false);}},this);}if(!_a98){this.inherited(arguments);}}});var _a9a=_a8a("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_a8e,_a8f,_a94],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_a96,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:" ",_isLoaded:false,_childrenLoaded:false,labelType:"html",_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _a97({id:this.id+"_menu",parentWidget:this});_a8c.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_a9b){if(!_a9b.value&&!_a9b.label){return new _a92({ownerDocument:this.ownerDocument});}else{var _a9c=lang.hitch(this,"_setValueAttr",_a9b);var item=new _a91({option:_a9b,label:(this.labelType==="text"?(_a9b.label||"").toString().replace(/&/g,"&").replace(/"+lbl+"";},validate:function(_aaa){var _aab=this.disabled||this.isValid(_aaa);this._set("state",_aab?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_aab?"false":"true");var _aac=_aab?"":this._missingMsg;if(_aac&&this.focused&&this._hasBeenBlurred){_a93.show(_aac,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_a93.hide(this.domNode);}this._set("message",_aac);return _aab;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_a93.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");var _aad=this._keyNavCodes;delete _aad[keys.LEFT_ARROW];delete _aad[keys.RIGHT_ARROW];},_setStyleAttr:function(_aae){this.inherited(arguments);_a8c.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_aaf){this._loadChildren(true);this._isLoaded=true;_aaf();},destroy:function(_ab0){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_ab0);delete this.dropDown;}_a93.hide(this.domNode);this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_a93.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_a9a=_a8a("dijit.form.Select",_a9a,{_setDisplay:function(_ab1){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_a9a._Menu=_a97;function _ab2(_ab3){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_ab3,evt));}else{this.inherited(_ab3,arguments);}};};_a9a.prototype._onContainerKeydown=_ab2("_onContainerKeydown");_a9a.prototype._onContainerKeypress=_ab2("_onContainerKeypress");return _a9a;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_ab4,lang,when){var _ab5=function(_ab6){if(!_ab6){return _ab6;}var _ab7=!!_ab6.then;if(_ab7){_ab6=lang.delegate(_ab6);}function _ab8(_ab9){_ab6[_ab9]=function(){var args=arguments;var _aba=when(_ab6,function(_abb){Array.prototype.unshift.call(args,_abb);return _ab5(_ab4[_ab9].apply(_ab4,args));});if(_ab9!=="forEach"||_ab7){return _aba;}};};_ab8("forEach");_ab8("filter");_ab8("map");if(_ab6.total==null){_ab6.total=when(_ab6,function(_abc){return _abc.length;});}return _ab6;};lang.setObject("dojo.store.util.QueryResults",_ab5);return _ab5;});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_abd,_abe,_abf,keys,lang,on,_ac0,_ac1){return _abe("dijit._KeyNavMixin",_ac1,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_abf.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _ac2=this._keyNavCodes={};_ac2[keys.HOME]=lang.hitch(this,"focusFirstChild");_ac2[keys.END]=lang.hitch(this,"focusLastChild");_ac2[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_ac2[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_ac2[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_ac2[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_ac3=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",lang.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",lang.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",lang.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_ac3,"focusin"),function(evt){self._onChildFocus(_ac0.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_ac4,last){if(!_ac4){return;}if(this.focusedChild&&_ac4!==this.focusedChild){this._onChildBlur(this.focusedChild);}_ac4.set("tabIndex",this.tabIndex);_ac4.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_abf.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_abf.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_ac5){if(_ac5&&_ac5!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_ac5.set("tabIndex",this.tabIndex);this.lastFocused=_ac5;this._set("focusedChild",_ac5);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_ac6,_ac7){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_ac8){var _ac9=item.domNode,text=item.label||(_ac9.focusNode?_ac9.focusNode.label:"")||_ac9.innerText||_ac9.textContent||"",_aca=text.replace(/^\s+/,"").substr(0,_ac8.length).toLowerCase();return (!!_ac8.length&&_aca==_ac8)?-1:0;},_onContainerKeydown:function(evt){var func=this._keyNavCodes[evt.keyCode];if(func){func(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==keys.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=keys.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_acb){var _acc=null,_acd,_ace=0,_acf=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_acb;var _ad0=/^(.)\1*$/.test(this._searchString);var _ad1=_ad0?1:this._searchString.length;_acd=this._searchString.substr(0,_ad1);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _ad2=this.focusedChild||null;if(_ad1==1||!_ad2){_ad2=this._getNextFocusableChild(_ad2,1);if(!_ad2){return;}}var stop=_ad2;do{var rc=this._keyboardSearchCompare(_ad2,_acd);if(!!rc&&_ace++==0){_acc=_ad2;}if(rc==-1){_ace=-1;break;}_ad2=this._getNextFocusableChild(_ad2,1);}while(_ad2&&_ad2!=stop);});_acf();this.onKeyboardSearch(_acc,evt,_acd,_ace);},_onChildBlur:function(){},_getNextFocusableChild:function(_ad3,dir){var _ad4=_ad3;do{if(!_ad3){_ad3=this[dir>0?"_getFirst":"_getLast"]();if(!_ad3){break;}}else{_ad3=this._getNext(_ad3,dir);}if(_ad3!=null&&_ad3!=_ad4&&_ad3.isFocusable()){return _ad3;}}while(_ad3!=_ad4);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_ad5,dir){if(_ad5){_ad5=_ad5.domNode;while(_ad5){_ad5=_ad5[dir<0?"previousSibling":"nextSibling"];if(_ad5&&"getAttribute" in _ad5){var w=_ac0.byNode(_ad5);if(w){return w;}}}}return null;}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_ad6,on,_ad7){return _ad6("dijit.form._ListBase",null,{selected:null,_listConnect:function(_ad8,_ad9){var self=this;return self.own(on(self.containerNode,on.selector(function(_ada,_adb,_adc){return _ada.parentNode==_adc;},_ad8),function(evt){self[_ad9](evt,this);}));},selectFirstNode:function(){var _add=this.containerNode.firstChild;while(_add&&_add.style.display=="none"){_add=_add.nextSibling;}this._setSelectedAttr(_add,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _ade=this.selected;if(!_ade){this.selectFirstNode();}else{var next=_ade.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _adf=this.selected;if(!_adf){this.selectLastNode();}else{var prev=_adf.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_ae0){if(this.selected!=node){var _ae1=this.selected;if(_ae1){this.onDeselect(_ae1);}if(node){if(_ae0){_ad7.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_ae2,has,_ae3,_ae4,_ae5,_ae6,_ae7,_ae8){if(has("dijit-legacy-requires")){_ae4(0,function(){var _ae9=["dijit/form/_FormValueWidget"];require(_ae9);});}return _ae2("dijit.form._FormWidget",[_ae5,_ae7,_ae6,_ae8],{setDisabled:function(_aea){_ae3.deprecated("setDisabled("+_aea+") is deprecated. Use set('disabled',"+_aea+") instead.","","2.0");this.set("disabled",_aea);},setValue:function(_aeb){_ae3.deprecated("dijit.form._FormWidget:setValue("+_aeb+") is deprecated. Use set('value',"+_aeb+") instead.","","2.0");this.set("value",_aeb);},getValue:function(){_ae3.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=(this.name&&!has("msapp"))?("name=\""+this.name.replace(/"/g,""")+"\""):"";this.inherited(arguments);}});});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_aec,lang,dom){var _aed=lang.getObject("dojo.dnd",true);_aed.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_aed._uniqueId=0;_aed.getUniqueId=function(){var id;do{id=_aec._scopeName+"Unique"+(++_aed._uniqueId);}while(dom.byId(id));return id;};_aed._empty={};_aed.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _aed;});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_aee,_aef,_af0,_af1){return _aee("dijit.CheckedMenuItem",_af0,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_af1,checked:false,_setCheckedAttr:function(_af2){this.domNode.setAttribute("aria-checked",_af2?"true":"false");this._set("checked",_af2);},iconClass:"",role:"menuitemcheckbox",checkedChar:"✓",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_af3,on,_af4,has,_af5){var _af6=new _af3();var _af7;_af4(function(){var _af8=_af5.getBox();_af6._rlh=on(window,"resize",function(){var _af9=_af5.getBox();if(_af8.h==_af9.h&&_af8.w==_af9.w){return;}_af8=_af9;_af6.emit("resize");});if(has("ie")==8){var _afa=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_afa){_afa=screen.deviceXDPI;_af6.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_af7=evt.target;});on(document,"focusout",function(evt){_af7=null;});}});_af6.getEffectiveBox=function(doc){var box=_af5.getBox(doc);var tag=_af7&&_af7.tagName&&_af7.tagName.toLowerCase();if(has("ios")&&_af7&&!_af7.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_af7.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_af7.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _af6;});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_afb,lang,_afc,_afd,_afe){var _aff={};_aff.getViewport=function(){return _afc.getBox();};_aff.placeOnScreen=_afd.at;_aff.placeOnScreenAroundElement=function(node,_b00,_b01,_b02){var _b03;if(lang.isArray(_b01)){_b03=_b01;}else{_b03=[];for(var key in _b01){_b03.push({aroundCorner:key,corner:_b01[key]});}}return _afd.around(node,_b00,_b03,true,_b02);};_aff.placeOnScreenAroundNode=_aff.placeOnScreenAroundElement;_aff.placeOnScreenAroundRectangle=_aff.placeOnScreenAroundElement;_aff.getPopupAroundAlignment=function(_b04,_b05){var _b06={};_afb.forEach(_b04,function(pos){var ltr=_b05;switch(pos){case "after":_b06[_b05?"BR":"BL"]=_b05?"BL":"BR";break;case "before":_b06[_b05?"BL":"BR"]=_b05?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_b06[ltr?"BL":"BR"]=ltr?"TL":"TR";_b06[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_b06[ltr?"TL":"TR"]=ltr?"BL":"BR";_b06[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _b06;};lang.mixin(_afe,_aff);return _afe;});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_b07,dom,_b08,_b09,_b0a,_b0b){return _b07("dijit.MenuSeparator",[_b08,_b09,_b0a],{templateString:_b0b,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_b0c,_b0d,_b0e,keys,_b0f,_b10,_b11,_b12){return _b0c("dijit.form._ComboBoxMenu",[_b0f,_b10,_b12,_b11],{templateString:"",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_b0d.add(this.previousButton,"dijitMenuItemRtl");_b0d.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_b0d.add(node,"dijitMenuItemHover");},onUnhover:function(node){_b0d.remove(node,"dijitMenuItemHover");},onSelect:function(node){_b0d.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_b0d.remove(node,"dijitMenuItemSelected");},_page:function(up){var _b13=0;var _b14=this.domNode.scrollTop;var _b15=_b0e.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_b13<_b15){var _b16=this.getHighlightedOption();if(up){if(!_b16.previousSibling||_b16.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_b16.nextSibling||_b16.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _b17=this.domNode.scrollTop;_b13+=(_b17-_b14)*(up?-1:1);_b14=_b17;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/touch","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","./layout/utils","dojo/text!./templates/Dialog.html","./a11yclick","dojo/i18n!./nls/common"],function(_b18,_b19,_b1a,_b1b,_b1c,dom,_b1d,_b1e,_b1f,fx,i18n,keys,lang,on,_b20,has,_b21,_b22,_b23,_b24,_b25,_b26,_b27,_b28,_b29,_b2a,_b2b,_b2c,_b2d,_b2e,_b2f){var _b30=new _b1c();_b30.resolve(true);function nop(){};var _b31=_b1b("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_b28,_b2a,_b2b,_b29],{templateString:_b2f,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_b26.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _b32=i18n.getLocalization("dijit","common");lang.mixin(this,_b32);this.inherited(arguments);},postCreate:function(){_b1f.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_b1a.after(this,"onExecute",lang.hitch(this,"hide"),true);_b1a.after(this,"onCancel",lang.hitch(this,"hide"),true);on(this.closeButtonNode,_b21.press,function(e){e.stopPropagation();});this._modalconnects=[];},onLoad:function(){this.resize();this._position();if(this.autofocus&&_b33.isTop(this)){this._getFocusItems();_b25.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems();_b25.focus(this._firstFocusItem);},_endDrag:function(){var _b34=_b1e.position(this.domNode),_b35=_b22.getBox(this.ownerDocument);_b34.y=Math.min(Math.max(_b34.y,0),(_b35.h-_b34.h));_b34.x=Math.min(Math.max(_b34.x,0),(_b35.w-_b34.w));this._relativePosition=_b34;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_b24:_b23)(node,{handle:this.titleBar});_b1a.after(this._moveable,"onMoveStop",lang.hitch(this,"_endDrag"),true);}else{_b1d.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_b19.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:lang.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this.resize();},_position:function(){if(!_b1d.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_b36=_b22.getBox(this.ownerDocument),p=this._relativePosition,bb=_b1e.position(node),l=Math.floor(_b36.l+(p?Math.min(p.x,_b36.w-bb.w):(_b36.w-bb.w)/2)),t=Math.floor(_b36.t+(p?Math.min(p.y,_b36.h-bb.h):(_b36.h-bb.h)/2));_b1f.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==keys.TAB){this._getFocusItems();var node=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_b25.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_b25.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==keys.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return _b30.promise;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_b33.hide(this);}var win=_b22.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize",null)));this._modalconnects.push(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));_b1f.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this.resize();this._position();var _b37;this._fadeInDeferred=new _b1c(lang.hitch(this,function(){_b37.stop();delete this._fadeInDeferred;}));this._fadeInDeferred.then(undefined,nop);var _b38=this._fadeInDeferred.promise;_b37=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_b33.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_b33.isTop(this)){this._getFocusItems();_b25.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _b38;},hide:function(){if(!this._alreadyInitialized||!this.open){return _b30.promise;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _b39;this._fadeOutDeferred=new _b1c(lang.hitch(this,function(){_b39.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(undefined,nop);this._fadeOutDeferred.then(lang.hitch(this,"onHide"));var _b3a=this._fadeOutDeferred.promise;_b39=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_b33.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return _b3a;},resize:function(dim){if(this.domNode.style.display!="none"){this._checkIfSingleChild();if(!dim){if(this._shrunk){if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}_b19.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(node){if(node){_b1f.set(node,{position:"static",width:"auto",height:"auto"});}});this.domNode.style.position="absolute";}var _b3b=_b22.getBox(this.ownerDocument);_b3b.w*=this.maxRatio;_b3b.h*=this.maxRatio;var bb=_b1e.position(this.domNode);this._shrunk=false;if(bb.w>=_b3b.w){dim={w:_b3b.w};_b1e.setMarginBox(this.domNode,dim);bb=_b1e.position(this.domNode);this._shrunk=true;}if(bb.h>=_b3b.h){if(!dim){dim={w:bb.w};}dim.h=_b3b.h;this._shrunk=true;}if(dim){if(!dim.w){dim.w=bb.w;}if(!dim.h){dim.h=bb.h;}}}if(dim){_b1e.setMarginBox(this.domNode,dim);var _b3c=[];if(this.titleBar){_b3c.push({domNode:this.titleBar,region:"top"});}if(this.actionBarNode){_b3c.push({domNode:this.actionBarNode,region:"bottom"});}var _b3d={domNode:this.containerNode,region:"center"};_b3c.push(_b3d);var _b3e=_b2e.marginBox2contentBox(this.domNode,dim);_b2e.layoutChildren(this.domNode,_b3e,_b3c);if(this._singleChild){var cb=_b2e.marginBox2contentBox(this.containerNode,_b3d);this._singleChild.resize({w:cb.w,h:cb.h});}else{this.containerNode.style.overflow="auto";this._layoutChildren();}}else{this._layoutChildren();}if(!has("touch")&&!dim){this._position();}}},_layoutChildren:function(){_b19.forEach(this.getChildren(),function(_b3f){if(_b3f.resize){_b3f.resize();}});},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_b33.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_b31=_b1b("dijit._DialogBase",_b31,{_setTitleAttr:function(_b40){this._set("title",_b40);this.titleNode.innerHTML=_b40;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_b41){if(this._created&&this.textDir!=_b41){this._set("textDir",_b41);this.set("title",this.title);}}});}var _b42=_b1b("dijit.Dialog",[_b2d,_b31],{});_b42._DialogBase=_b31;var _b33=_b42._DialogLevelManager={_beginZIndex:950,show:function(_b43,_b44){ds[ds.length-1].focus=_b25.curNode;var _b45=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_b42._DialogLevelManager._beginZIndex;_b1f.set(_b43.domNode,"zIndex",_b45);_b2c.show(_b44,_b45-1);ds.push({dialog:_b43,underlayAttrs:_b44,zIndex:_b45});},hide:function(_b46){if(ds[ds.length-1].dialog==_b46){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_b2c.hide();}else{_b2c.show(pd.underlayAttrs,pd.zIndex-1);}if(_b46.refocus){var _b47=pd.focus;if(pd.dialog&&(!_b47||!dom.isDescendant(_b47,pd.dialog.domNode))){pd.dialog._getFocusItems();_b47=pd.dialog._firstFocusItem;}if(_b47){try{_b47.focus();}catch(e){}}}}else{var idx=_b19.indexOf(_b19.map(ds,function(elem){return elem.dialog;}),_b46);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_b48){return ds[ds.length-1].dialog==_b48;}};var ds=_b42._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_b25.watch("curNode",function(attr,_b49,node){var _b4a=ds[ds.length-1].dialog;if(node&&_b4a&&!_b4a._fadeOutDeferred&&node.ownerDocument==_b4a.ownerDocument){do{if(node==_b4a.domNode||_b1d.contains(node,"dijitPopup")){return;}}while(node=node.parentNode);_b4a.focus();}});if(has("dijit-legacy-requires")){_b20(0,function(){var _b4b=["dijit/TooltipDialog"];_b18(_b4b);});}return _b42;});},"dijit/form/MultiSelect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/sniff","dojo/query","./_FormValueWidget","dojo/NodeList-dom"],function(_b4c,_b4d,_b4e,has,_b4f,_b50){var _b51=_b4d("dijit.form.MultiSelect"+(has("dojo-bidi")?"_NoBidi":""),_b50,{size:7,baseClass:"dijitMultiSelect",templateString:" ",addSelected:function(_b52){_b52.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _b53=_b52.domNode.scrollTop;_b52.domNode.scrollTop=0;_b52.domNode.scrollTop=_b53;},this);this._set("value",this.get("value"));},getSelected:function(){return _b4f("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _b4c.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setMultipleAttr:function(val){},_setValueAttr:function(_b54){if(has("android")){_b4f("option",this.containerNode).orphan().forEach(function(n){var _b55=n.ownerDocument.createElement("option");_b55.value=n.value;_b55.selected=(_b4c.indexOf(_b54,n.value)!=-1);_b55.text=n.text;_b55.originalText=n.originalText;this.containerNode.appendChild(_b55);},this);}else{_b4f("option",this.containerNode).forEach(function(n){n.selected=(_b4c.indexOf(_b54,n.value)!=-1);});}this.inherited(arguments);},invertSelection:function(_b56){var val=[];_b4f("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_b56===false||_b56==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_b4e.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});if(has("dojo-bidi")){_b51=_b4d("dijit.form.MultiSelect",_b51,{addSelected:function(_b57){_b57.getSelected().forEach(function(n){n.text=this.enforceTextDirWithUcc(this.restoreOriginalText(n),n.text);},this);this.inherited(arguments);},_setTextDirAttr:function(_b58){if((this.textDir!=_b58||!this._created)&&this.enforceTextDirWithUcc){this._set("textDir",_b58);_b4f("option",this.containerNode).forEach(function(_b59){if(!this._created&&_b59.value===_b59.text){_b59.value=_b59.text;}_b59.text=this.enforceTextDirWithUcc(_b59,_b59.originalText||_b59.text);},this);}}});}return _b51;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_b5a,dom,lang,_b5b,win,_b5c,_b5d,_b5e){var _b5f={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _b5e.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_b5d:new _b5d.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_b60){var sel=win.global==window?_b5d:new _b5d.SelectionManager(win.global);return sel.moveToBookmark(_b60);},getFocus:function(menu,_b61){var node=!_b5c.curNode||(menu&&dom.isDescendant(_b5c.curNode,menu.domNode))?_b5e._prevFocus:_b5c.curNode;return {node:node,bookmark:node&&(node==_b5c.curNode)&&win.withGlobal(_b61||win.global,_b5e.getBookmark),openedForWindow:_b61};},_activeStack:[],registerIframe:function(_b62){return _b5c.registerIframe(_b62);},unregisterIframe:function(_b63){_b63&&_b63.remove();},registerWin:function(_b64,_b65){return _b5c.registerWin(_b64,_b65);},unregisterWin:function(_b66){_b66&&_b66.remove();}};_b5c.focus=function(_b67){if(!_b67){return;}var node="node" in _b67?_b67.node:_b67,_b68=_b67.bookmark,_b69=_b67.openedForWindow,_b6a=_b68?_b68.isCollapsed:false;if(node){var _b6b=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_b6b&&_b6b.focus){try{_b6b.focus();}catch(e){}}_b5c._onFocusNode(node);}if(_b68&&win.withGlobal(_b69||win.global,_b5e.isCollapsed)&&!_b6a){if(_b69){_b69.focus();}try{win.withGlobal(_b69||win.global,_b5e.moveToBookmark,null,[_b68]);}catch(e2){}}};_b5c.watch("curNode",function(name,_b6c,_b6d){_b5e._curFocus=_b6d;_b5e._prevFocus=_b6c;if(_b6d){_b5b.publish("focusNode",_b6d);}});_b5c.watch("activeStack",function(name,_b6e,_b6f){_b5e._activeStack=_b6f;});_b5c.on("widget-blur",function(_b70,by){_b5b.publish("widgetBlur",_b70,by);});_b5c.on("widget-focus",function(_b71,by){_b5b.publish("widgetFocus",_b71,by);});lang.mixin(_b5e,_b5f);return _b5e;});},"dijit/tree/dndSource":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/common","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_b72,_b73,_b74,_b75,_b76,lang,_b77,on,_b78,_b79,_b7a,_b7b){var _b7c=_b73("dijit.tree.dndSource",_b7b,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_b7d){if(!_b7d){_b7d={};}lang.mixin(this,_b7d);var type=_b7d.accept instanceof Array?_b7d.accept:["text","treeNode"];this.accept=null;if(type.length){this.accept={};for(var i=0;i0){if(!this.targetBox||_b80!=_b81){this.targetBox=_b76.position(_b81.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_b83="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_b83="After";}}}if(_b7f||_b81!=_b80||_b83!=_b82){if(_b80){this._removeItemClass(_b80.rowNode,_b82);}if(_b81){this._addItemClass(_b81.rowNode,_b83);}if(!_b81){m.canDrop(false);}else{if(_b81==this.tree.rootNode&&_b83!="Over"){m.canDrop(false);}else{var _b84=false,_b85=false;if(m.source==this){_b85=(_b83==="Over");for(var _b86 in this.selection){var _b87=this.selection[_b86];if(_b87.item===_b81.item){_b84=true;break;}if(_b87.getParent().id!==_b81.id){_b85=false;}}}m.canDrop(!_b84&&!_b85&&!this._isParentChildDrop(m.source,_b81.rowNode)&&this.checkItemAcceptance(_b81.rowNode,m.source,_b83.toLowerCase()));}}this.targetAnchor=_b81;this.dropPosition=_b83;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_b7a.manager();if(this.isDragging){this._onDragMouse(e);}else{if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>=this.dragThreshold||Math.abs(e.pageY-this._lastY)>=this.dragThreshold)){var _b88=this.getSelectedTreeNodes();if(_b88.length){if(_b88.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_b88[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_b88=r;}_b88=_b72.map(_b88,function(n){return n.domNode;});m.startDrag(this,_b88,this.copyState(_b74.getCopyKeyState(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){if(e.type=="touchstart"||_b77.isLeft(e)){this.mouseDown=true;this.mouseButton=e.button;this._lastX=e.pageX;this._lastY=e.pageY;}this.inherited(arguments);},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;this.inherited(arguments);}},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor();},checkItemAcceptance:function(){return true;},onDndSourceOver:function(_b89){if(this!=_b89){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_b7a.manager();m.canDrop(false);}}},onDndStart:function(_b8a,_b8b,copy){if(this.isSource){this._changeState("Source",this==_b8a?(copy?"Copied":"Moved"):"");}var _b8c=this.checkAcceptance(_b8a,_b8b);this._changeState("Target",_b8c?"":"Disabled");if(this==_b8a){_b7a.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_b8d){return _b72.map(_b8d,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_b8e,_b8f,copy){if(this.containerState=="Over"){var tree=this.tree,_b90=tree.model,_b91=this.targetAnchor,_b92=false;this.isDragging=false;var _b93;var _b94;var _b95;_b93=(_b91&&_b91.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_b93=(_b91.getParent()&&_b91.getParent().item)||tree.item;_b94=_b91.getIndexInParent();if(this.dropPosition=="After"){_b94=_b91.getIndexInParent()+1;_b95=_b91.getNextSibling()&&_b91.getNextSibling().item;}else{_b95=_b91.item;}}else{_b93=(_b91&&_b91.item)||tree.item;_b92=true;}var _b96;_b72.forEach(_b8f,function(node,idx){var _b97=_b8e.getItem(node.id);if(_b72.indexOf(_b97.type,"treeNode")!=-1){var _b98=_b97.data,_b99=_b98.item,_b9a=_b98.getParent().item;}if(_b8e==this){if(typeof _b94=="number"){if(_b93==_b9a&&_b98.getIndexInParent()<_b94){_b94-=1;}}_b90.pasteItem(_b99,_b9a,_b93,copy,_b94,_b95);}else{if(_b90.isItem(_b99)){_b90.pasteItem(_b99,_b9a,_b93,copy,_b94,_b95);}else{if(!_b96){_b96=this.itemCreator(_b8f,_b91.rowNode,_b8e);}_b90.newItem(_b96[idx],_b93,_b94,_b95);}}},this);if(_b92){this.tree._expandNode(_b91);}}this.onDndCancel();},onDndCancel:function(){this._unmarkTargetAnchor();this.isDragging=false;this.mouseDown=false;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","");},onOverEvent:function(){this.inherited(arguments);_b7a.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_b7a.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_b9b,_b9c){if(!_b9b.tree||_b9b.tree!=this.tree){return false;}var root=_b9b.tree.domNode;var ids=_b9b.selection;var node=_b9c.parentNode;while(node!=root&&!ids[node.id]){node=node.parentNode;}return node.id&&ids[node.id];},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition);this.targetAnchor=null;this.targetBox=null;this.dropPosition=null;},_markDndStatus:function(copy){this._changeState("Source",copy?"Copied":"Moved");}});return _b7c;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_b9d,dom,_b9e,_b9f,lang,has,_ba0){var _ba1;var a11y={_isElementShown:function(elem){var s=_b9f.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_b9e.get(elem,"type")!="hidden");},hasDefaultTabStop:function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _b9e.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _ba2=elem.contentDocument;if("designMode" in _ba2&&_ba2.designMode=="on"){return true;}body=_ba2.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}},effectiveTabIndex:function(elem){if(_b9e.get(elem,"disabled")){return _ba1;}else{if(_b9e.has(elem,"tabIndex")){return +_b9e.get(elem,"tabIndex");}else{return a11y.hasDefaultTabStop(elem)?0:_ba1;}}},isTabNavigable:function(elem){return a11y.effectiveTabIndex(elem)>=0;},isFocusable:function(elem){return a11y.effectiveTabIndex(elem)>=-1;},_getTabNavigable:function(root){var _ba3,last,_ba4,_ba5,_ba6,_ba7,_ba8={};function _ba9(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _baa=a11y._isElementShown,_bab=a11y.effectiveTabIndex;var _bac=function(_bad){for(var _bae=_bad.firstChild;_bae;_bae=_bae.nextSibling){if(_bae.nodeType!=1||(has("ie")<=9&&_bae.scopeName!=="HTML")||!_baa(_bae)){continue;}var _baf=_bab(_bae);if(_baf>=0){if(_baf==0){if(!_ba3){_ba3=_bae;}last=_bae;}else{if(_baf>0){if(!_ba4||_baf<_ba5){_ba5=_baf;_ba4=_bae;}if(!_ba6||_baf>=_ba7){_ba7=_baf;_ba6=_bae;}}}var rn=_ba9(_bae);if(_b9e.get(_bae,"checked")&&rn){_ba8[rn]=_bae;}}if(_bae.nodeName.toUpperCase()!="SELECT"){_bac(_bae);}}};if(_baa(root)){_bac(root);}function rs(node){return _ba8[_ba9(node)]||node;};return {first:rs(_ba3),last:rs(last),lowest:rs(_ba4),highest:rs(_ba6)};},getFirstInTabbingOrder:function(root,doc){var _bb0=a11y._getTabNavigable(dom.byId(root,doc));return _bb0.lowest?_bb0.lowest:_bb0.first;},getLastInTabbingOrder:function(root,doc){var _bb1=a11y._getTabNavigable(dom.byId(root,doc));return _bb1.last?_bb1.last:_bb1.highest;}};1&&lang.mixin(_ba0,a11y);return a11y;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_bb2,_bb3){return _bb2("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _bb4=this.checked;this._set("checked",!_bb4);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_bb4);return ret;},_setCheckedAttr:function(_bb5,_bb6){this._set("checked",_bb5);var node=this.focusNode||this.domNode;if(this._created){if(_bb3.get(node,"checked")!=!!_bb5){_bb3.set(node,"checked",!!_bb5);}}node.setAttribute(this._aria_attr,String(_bb5));this._handleOnChange(_bb5,_bb6);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_Widget":function(){define(["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(_bb7,_bb8,_bb9,_bba,has,_bbb,lang,_bbc,_bbd,_bbe,_bbf,_bc0,_bc1){function _bc2(){};function _bc3(_bc4){return function(obj,_bc5,_bc6,_bc7){if(obj&&typeof _bc5=="string"&&obj[_bc5]==_bc2){return obj.on(_bc5.substring(2).toLowerCase(),lang.hitch(_bc6,_bc7));}return _bc4.apply(_bb9,arguments);};};_bb7.around(_bb9,"connect",_bc3);if(_bbb.connect){_bb7.around(_bbb,"connect",_bc3);}var _bc8=_bba("dijit._Widget",[_bbf,_bc0,_bc1],{onClick:_bc2,onDblClick:_bc2,onKeyDown:_bc2,onKeyPress:_bc2,onKeyUp:_bc2,onMouseDown:_bc2,onMouseMove:_bc2,onMouseOut:_bc2,onMouseOver:_bc2,onMouseLeave:_bc2,onMouseEnter:_bc2,onMouseUp:_bc2,constructor:function(_bc9){this._toConnect={};for(var name in _bc9){if(this[name]===_bc2){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_bc9[name];delete _bc9[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)]===_bc2){return _bb9.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_bca){_bbb.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_bca);},attr:function(name,_bcb){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_bbb.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_bbc("[widgetId]",this.containerNode).map(_bbe.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_bbd(0,function(){var _bcc=["dijit/_base"];require(_bcc);});}return _bc8;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_bcd,dom,_bce,lang,on,has,_bcf,_bd0,win){var ios4=has("ios")<5;var _bd1=has("pointer-events")||has("MSPointer"),_bd2=(function(){var _bd3={};for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_bd3[type]=has("MSPointer")?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type;}return _bd3;})();var _bd4=has("touch-events");var _bd5,_bd6,_bd7=false,_bd8,_bd9,_bda,_bdb,_bdc,_bdd;var _bde;function _bdf(_be0,_be1,_be2){if(_bd1&&_be2){return function(node,_be3){return on(node,_be2,_be3);};}else{if(_bd4){return function(node,_be4){var _be5=on(node,_be1,function(evt){_be4.call(this,evt);_bde=(new Date()).getTime();}),_be6=on(node,_be0,function(evt){if(!_bde||(new Date()).getTime()>_bde+1000){_be4.call(this,evt);}});return {remove:function(){_be5.remove();_be6.remove();}};};}else{return function(node,_be7){return on(node,_be0,_be7);};}}};function _be8(node){do{if(node.dojoClick!==undefined){return node;}}while(node=node.parentNode);};function _be9(e,_bea,_beb){if(_bcf.isRight(e)){return;}var _bec=_be8(e.target);_bd6=!e.target.disabled&&_bec&&_bec.dojoClick;if(_bd6){_bd7=(_bd6=="useTarget");_bd8=(_bd7?_bec:e.target);if(_bd7){e.preventDefault();}_bd9=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX;_bda=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY;_bdb=(typeof _bd6=="object"?_bd6.x:(typeof _bd6=="number"?_bd6:0))||4;_bdc=(typeof _bd6=="object"?_bd6.y:(typeof _bd6=="number"?_bd6:0))||4;if(!_bd5){_bd5=true;function _bed(e){if(_bd7){_bd6=dom.isDescendant(win.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)),_bd8);}else{_bd6=_bd6&&(e.changedTouches?e.changedTouches[0].target:e.target)==_bd8&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_bd9)<=_bdb&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_bda)<=_bdc;}};win.doc.addEventListener(_bea,function(e){if(_bcf.isRight(e)){return;}_bed(e);if(_bd7){e.preventDefault();}},true);win.doc.addEventListener(_beb,function(e){if(_bcf.isRight(e)){return;}_bed(e);if(_bd6){_bdd=(new Date()).getTime();var _bee=(_bd7?_bd8:e.target);if(_bee.tagName==="LABEL"){_bee=dom.byId(_bee.getAttribute("for"))||_bee;}var src=(e.changedTouches)?e.changedTouches[0]:e;function _bef(type){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(type,true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);return evt;};var _bf0=_bef("mousedown");var _bf1=_bef("mouseup");var _bf2=_bef("click");setTimeout(function(){on.emit(_bee,"mousedown",_bf0);on.emit(_bee,"mouseup",_bf1);on.emit(_bee,"click",_bf2);_bdd=(new Date()).getTime();},0);}},true);function _bf3(type){win.doc.addEventListener(type,function(e){var _bf4=e.target;if(_bd6&&!e._dojo_click&&(new Date()).getTime()<=_bdd+1000&&!(_bf4.tagName=="INPUT"&&_bce.contains(_bf4,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(type=="click"&&(_bf4.tagName!="INPUT"||(_bf4.type=="radio"&&(_bce.contains(_bf4,"dijitCheckBoxInput")||_bce.contains(_bf4,"mblRadioButton")))||(_bf4.type=="checkbox"&&(_bce.contains(_bf4,"dijitCheckBoxInput")||_bce.contains(_bf4,"mblCheckBox"))))&&_bf4.tagName!="TEXTAREA"&&_bf4.tagName!="AUDIO"&&_bf4.tagName!="VIDEO"){e.preventDefault();}}},true);};_bf3("click");_bf3("mousedown");_bf3("mouseup");}}};var _bf5;if(has("touch")){if(_bd1){_bd0(function(){win.doc.addEventListener(_bd2.down,function(evt){_be9(evt,_bd2.move,_bd2.up);},true);});}else{_bd0(function(){_bf5=win.body();win.doc.addEventListener("touchstart",function(evt){_bde=(new Date()).getTime();var _bf6=_bf5;_bf5=evt.target;on.emit(_bf6,"dojotouchout",{relatedTarget:_bf5,bubbles:true});on.emit(_bf5,"dojotouchover",{relatedTarget:_bf6,bubbles:true});_be9(evt,"touchmove","touchend");},true);function _bf7(evt){var _bf8=lang.delegate(evt,{bubbles:true});if(has("ios")>=6){_bf8.touches=evt.touches;_bf8.altKey=evt.altKey;_bf8.changedTouches=evt.changedTouches;_bf8.ctrlKey=evt.ctrlKey;_bf8.metaKey=evt.metaKey;_bf8.shiftKey=evt.shiftKey;_bf8.targetTouches=evt.targetTouches;}return _bf8;};on(win.doc,"touchmove",function(evt){_bde=(new Date()).getTime();var _bf9=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_bf9){if(_bf5!==_bf9){on.emit(_bf5,"dojotouchout",{relatedTarget:_bf9,bubbles:true});on.emit(_bf9,"dojotouchover",{relatedTarget:_bf5,bubbles:true});_bf5=_bf9;}if(!on.emit(_bf9,"dojotouchmove",_bf7(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_bde=(new Date()).getTime();var node=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset))||win.body();on.emit(node,"dojotouchend",_bf7(evt));});});}}var _bfa={press:_bdf("mousedown","touchstart",_bd2.down),move:_bdf("mousemove","dojotouchmove",_bd2.move),release:_bdf("mouseup","dojotouchend",_bd2.up),cancel:_bdf(_bcf.leave,"touchcancel",_bd1?_bd2.cancel:null),over:_bdf("mouseover","dojotouchover",_bd2.over),out:_bdf("mouseout","dojotouchout",_bd2.out),enter:_bcf._eventHandler(_bdf("mouseover","dojotouchover",_bd2.over)),leave:_bcf._eventHandler(_bdf("mouseout","dojotouchout",_bd2.out))};1&&(dojo.touch=_bfa);return _bfa;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_bfb,dojo,_bfc,_bfd,_bfe,dom,_bff,geom,_c00,_c01){if(!dojo.isAsync){_c00(0,function(){var _c02=["./fx/Toggler"];_c01(_c02);});}var _c03=dojo.fx={};var _c04={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _c05=function(_c06){this._index=-1;this._animations=_c06||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_bfc.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_c05.prototype=new _bfb();lang.extend(_c05,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_bfd.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_bfd.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_c07,_c08){if(!this._current){this._current=this._animations[this._index=0];}if(!_c08&&this._current.status()=="playing"){return this;}var _c09=_bfd.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_c0a=_bfd.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_c0b=_bfd.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_c09.remove();_c0a.remove();_c0b.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_bfd.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_bfd.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_bfd.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_c0c,_c0d){this.pause();var _c0e=this.duration*_c0c;this._current=null;_bfc.some(this._animations,function(a,_c0f){if(_c0e<=a.duration){this._current=a;this._index=_c0f;return true;}_c0e-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_c0e/this._current.duration);}if(_c0d){this.play();}return this;},stop:function(_c10){if(this._current){if(_c10){for(;this._index+1this._animations.length){this._fire("onEnd");}},_call:function(_c16,args){var t=this._pseudoAnimation;t[_c16].apply(t,args);},play:function(_c17,_c18){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_c19,_c1a){var ms=this.duration*_c19;_bfc.forEach(this._animations,function(a){a.gotoPercent(a.duration0){this.isExpandable=true;_c22.forEach(_c52,function(item){var id=_c53.getIdentity(item),_c5a=tree._itemNodesMap[id],node;if(_c5a){for(var i=0;i<_c5a.length;i++){if(_c5a[i]&&!_c5a[i].getParent()){node=_c5a[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_c53.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_c5a){_c5a.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_c22.forEach(this.getChildren(),function(_c5b){_c5b._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _c3e(def);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _c5c=this.getChildren();if(_c5c.length==0){this.isExpandable=false;this.collapse();}_c22.forEach(_c5c,function(_c5d){_c5d._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_c5e){this.labelNode.setAttribute("aria-selected",_c5e?"true":"false");_c27.toggle(this.rowNode,"dijitTreeRowSelected",_c5e);},focus:function(){_c30.focus(this.focusNode);}});if(has("dojo-bidi")){_c41.extend({_setTextDirAttr:function(_c5f){if(_c5f&&((this.textDir!=_c5f)||!this._created)){this._set("textDir",_c5f);this.applyTextDir(this.labelNode);_c22.forEach(this.getChildren(),function(_c60){_c60.set("textDir",_c5f);},this);}}});}var Tree=_c25("dijit.Tree",[_c33,_c38,_c34,_c37],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_c3a,persist:false,autoExpand:false,dndController:_c3d,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_c61,_c62){_c2d.publish(this.id,lang.mixin({tree:this,event:_c61},_c62||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _c26();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_c2e.enter),function(evt){self._onNodeMouseEnter(_c31.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_c2e.leave),function(evt){self._onNodeMouseLeave(_c31.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_c2f.press),function(evt){self._onNodePress(_c31.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_c2f),function(evt){self._onClick(_c31.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_c31.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_c23.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_c23.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_c23.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _c63={};for(var i=0;ithis.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _c41(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_ca0){if(_ca0&&this.textDir!=_ca0){this._set("textDir",_ca0);this.rootNode.set("textDir",_ca0);}}});}Tree.PathError=_c2a("TreePathError");Tree._TreeNode=_c41;return Tree;});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_ca1,has,_ca2,_ca3){return _ca1("dijit.form._FormValueWidget",[_ca2,_ca3],{_layoutHackIE7:function(){if(has("ie")==7){var _ca4=this.domNode;var _ca5=_ca4.parentNode;var _ca6=_ca4.firstChild||_ca4;var _ca7=_ca6.style.filter;var _ca8=this;while(_ca5&&_ca5.clientHeight==0){(function ping(){var _ca9=_ca8.connect(_ca5,"onscroll",function(){_ca8.disconnect(_ca9);_ca6.style.filter=(new Date()).getMilliseconds();_ca8.defer(function(){_ca6.style.filter=_ca7;});});})();_ca5=_ca5.parentNode;}}}});});},"url:dijit/templates/Menu.html":"\n","url:dijit/templates/TreeNode.html":"\n","url:dijit/layout/templates/AccordionButton.html":"\n","url:dijit/templates/MenuSeparator.html":"\n","url:dijit/templates/ProgressBar.html":"\n","url:dijit/form/templates/DropDownButton.html":"▼ \n","url:dijit/form/templates/DropDownBox.html":"\n","url:dijit/templates/CheckedMenuItem.html":"\n\t\n\t\t \n\t\t\n\t \n\t \n\t \n\t \n \n","url:dijit/templates/Tooltip.html":"\n","url:dijit/form/templates/ValidationTextBox.html":"\n","url:dijit/templates/InlineEditBox.html":" \n","url:dijit/templates/ColorPalette.html":"\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"\n\t \n\t \n
","url:dijit/layout/templates/TabContainer.html":"\n","url:dijit/form/templates/ComboButton.html":"\n","url:dijit/templates/Tree.html":"\n","url:dijit/templates/Dialog.html":"\n\t
\n\t\t \n\t\t\n\t\t\tx \n\t\t \n\t
\n\t
\n\t${!actionBarTemplate}\n
\n\n","url:dijit/form/templates/TextBox.html":"\n","url:dijit/form/templates/Select.html":"\n","url:dijit/templates/MenuItem.html":"\n\t\n\t\t \n\t \n\t \n\t \n\t\n\t\t\n\t\t\t \n\t\t\t+ \n\t\t \n\t \n \n","url:dijit/layout/templates/_TabButton.html":"\n\t \n\t \n\t\n\t\t[x] \n
\n","url:dijit/form/templates/CheckBox.html":"
\n","url:dijit/layout/templates/ScrollingTabController.html":"","url:dijit/form/templates/Button.html":"● \n","url:dijit/templates/TooltipDialog.html":"\n","*now":function(r){r(["dojo/i18n!*preload*dojo/nls/tt-rss-layer*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dojo/tt-rss-layer",[],1);
\ No newline at end of file