",this.contentWidget.domNode,"after");var _29f=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_29f._buttonWidget=(new cls({contentWidget:_29f,label:_29f.title,title:_29f.tooltip,dir:_29f.dir,lang:_29f.lang,textDir:_29f.textDir,iconClass:_29f.iconClass,id:_29f.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_28d.place("
",this.domNode);_28d.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _2a0=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_2a1,_2a2){_2a0.set("label",_2a2);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_2a3,_2a4){_2a0.set("title",_2a4);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_2a5,_2a6){_2a0.set("iconClass",_2a6);}))];},_setSelectedAttr:function(_2a7){this._set("selected",_2a7);this.button.set("selected",_2a7);if(_2a7){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_288.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_2a8){this.contentWidget.destroyRecursive(_2a8);}});var _2a9=_289("dijit.layout.AccordionContainer",_297,{duration:_291.defaultDuration,buttonWidget:_29a,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 _2aa=this.selectedChildWidget;if(!_2aa){return;}var _2ab=_2aa._wrapperWidget.domNode,_2ac=_28e.getMarginExtents(_2ab),_2ad=_28e.getPadBorderExtents(_2ab),_2ae=_2aa._wrapperWidget.containerNode,_2af=_28e.getMarginExtents(_2ae),_2b0=_28e.getPadBorderExtents(_2ae),_2b1=this._contentBox;var _2b2=0;_288.forEach(this.getChildren(),function(_2b3){if(_2b3!=_2aa){_2b2+=_28e.getMarginSize(_2b3._wrapperWidget.domNode).h;}});this._verticalSpace=_2b1.h-_2b2-_2ac.h-_2ad.h-_2af.h-_2b0.h-_2aa._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_2ac.w-_2ad.w-_2af.w-_2b0.w};if(_2aa){_2aa.resize(this._containerContentBox);}},_setupChild:function(_2b4){_2b4._wrapperWidget=_29e({contentWidget:_2b4,buttonWidget:this.buttonWidget,id:_2b4.id+"_wrapper",dir:_2b4.dir,lang:_2b4.lang,textDir:_2b4.textDir,parent:this});this.inherited(arguments);},addChild:function(_2b5,_2b6){if(this._started){var _2b7=this.containerNode;if(_2b6&&typeof _2b6=="number"){var _2b8=_293.prototype.getChildren.call(this);if(_2b8&&_2b8.length>=_2b6){_2b7=_2b8[_2b6-1].domNode;_2b6="after";}}_28d.place(_2b5.domNode,_2b7,_2b6);if(!_2b5._started){_2b5.startup();}this._setupChild(_2b5);_28f.publish(this.id+"-addChild",_2b5,_2b6);this.layout();if(!this.selectedChildWidget){this.selectChild(_2b5);}}else{this.inherited(arguments);}},removeChild:function(_2b9){if(_2b9._wrapperWidget){_28d.place(_2b9.domNode,_2b9._wrapperWidget.domNode,"after");_2b9._wrapperWidget.destroy();delete _2b9._wrapperWidget;}_28c.remove(_2b9.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _288.map(this.inherited(arguments),function(_2ba){return _2ba.declaredClass=="dijit.layout._AccordionInnerContainer"?_2ba.contentWidget:_2ba;},this);},destroy:function(){if(this._animation){this._animation.stop();}_288.forEach(this.getChildren(),function(_2bb){if(_2bb._wrapperWidget){_2bb._wrapperWidget.destroy();}else{_2bb.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_2bc){_2bc._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_2bd){_2bd._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_2be,_2bf,_2c0){if(has("ie")<8){_2c0=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_2be){_2be._wrapperWidget.set("selected",true);var d=this._showChild(_2be);if(this.doLayout&&_2be.resize){_2be.resize(this._containerContentBox);}}if(_2bf){_2bf._wrapperWidget.set("selected",false);if(!_2c0){this._hideChild(_2bf);}}if(_2c0){var _2c1=_2be._wrapperWidget.containerNode,_2c2=_2bf._wrapperWidget.containerNode;var _2c3=_2be._wrapperWidget.containerNode,_2c4=_28e.getMarginExtents(_2c3),_2c5=_28e.getPadBorderExtents(_2c3),_2c6=_2c4.h+_2c5.h;_2c2.style.height=(self._verticalSpace-_2c6)+"px";this._animation=new fx.Animation({node:_2c1,duration:this.duration,curve:[1,this._verticalSpace-_2c6-1],onAnimate:function(_2c7){_2c7=Math.floor(_2c7);_2c1.style.height=_2c7+"px";_2c2.style.height=(self._verticalSpace-_2c6-_2c7)+"px";},onEnd:function(){delete self._animation;_2c1.style.height="auto";_2bf._wrapperWidget.containerNode.style.display="none";_2c2.style.height="auto";self._hideChild(_2bf);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_2c8){if(this.disabled||e.altKey||!(_2c8||e.ctrlKey)){return;}var c=e.charOrCode;if((_2c8&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_28a.stop(e);}else{if((_2c8&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_28a.stop(e);}}}});if(has("dijit-legacy-requires")){_292(0,function(){var _2c9=["dijit/layout/AccordionPane"];_287(_2c9);});}_2a9._InnerContainer=_29e;_2a9._Button=_29a;return _2a9;});},"dijit/form/_AutoCompleterMixin":function(){define("dijit/form/_AutoCompleterMixin",["dojo/data/util/filter","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","dojo/string","./DataList","../registry","./_TextBoxMixin","./_SearchMixin"],function(_2ca,_2cb,_2cc,_2cd,keys,lang,_2ce,_2cf,has,_2d0,_2d1,_2d2,_2d3,_2d4){return _2cb("dijit.form._AutoCompleterMixin",_2d4,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_2d5){var pos=0;if(typeof (_2d5.selectionStart)=="number"){pos=_2d5.selectionStart;}else{if(has("ie")){var tr=_2d5.ownerDocument.selection.createRange().duplicate();var ntr=_2d5.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(_2d6,_2d7){_2d7=parseInt(_2d7);_2d3.selectInputText(_2d6,_2d7,_2d7);},_setDisabledAttr:function(_2d8){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_2d8?"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 _2d9=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_2d9=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(_2d9);}_2cd.stop(evt);break;case keys.ENTER:if(_2d9){if(_2d9==pw.nextButton){this._nextSearch(1);_2cd.stop(evt);break;}else{if(_2d9==pw.previousButton){this._nextSearch(-1);_2cd.stop(evt);break;}}_2cd.stop(evt);}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _2da=this.get("displayedValue");if(pw&&(_2da==pw._messages["previousMessage"]||_2da==pw._messages["nextMessage"])){break;}if(_2d9){this._selectOption(_2d9);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_2d3.selectInputText(fn,fn.value.length);var _2db=this.ignoreCase?"toLowerCase":"substr";if(text[_2db](0).indexOf(this.focusNode.value[_2db](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_2d3.selectInputText(fn,cpos);}}else{fn.value=text;_2d3.selectInputText(fn);}},_openResultList:function(_2dc,_2dd,_2de){var _2df=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_2dc.length&&_2de.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_2e0){_2dc.nextPage(_2e0!==-1);this.focus();});this.dropDown.createOptions(_2dc,_2de,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _2de){if(_2de.direction){this.dropDown.highlightFirstOption();}else{if(!_2de.direction){this.dropDown.highlightLastOption();}}if(_2df){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_2dd[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");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _2e1=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_2e1==pw._messages["previousMessage"]||_2e1==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_2e1);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_2e2,_2e3){var _2e4="";if(item){if(!_2e3){_2e3=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_2e4=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_2e3;}this.set("value",_2e4,_2e2,_2e3,item);},_announceOption:function(node){if(!node){return;}var _2e5;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_2e5=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_2e5=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_2e5);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_2cc.get(node,"id"));this._autoCompleteText(_2e5);},_selectOption:function(_2e6){this.closeDropDown();if(_2e6){this._announceOption(_2e6);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _2e7=this.id+"_popup",_2e8=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _2e8({onChange:lang.hitch(this,this._selectOption),id:_2e7,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_2e7);}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store){var _2e9=this.srcNodeRef;this.store=new _2d1({},_2e9);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _2ea=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_2ea):item[_2ea];}}}},postCreate:function(){var _2eb=_2ce("label[for=\""+this.id+"\"]");if(_2eb.length){if(!_2eb[0].id){_2eb[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_2eb[0].id);}this.inherited(arguments);this.connect(this,"onSearch","_openResultList");},_getMenuLabelFromItem:function(item){var _2ec=this.labelFunc(item,this.store),_2ed=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_2ec=this.doHighlight(_2ec,this._lastInput);_2ed="html";}return {html:_2ed=="html",label:_2ec};},doHighlight:function(_2ee,find){var _2ef=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_2cf.escapeString(find);return this._escapeHtml(_2ee.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_2ef),"\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,_2f0){return (_2f0._oldAPI?_2f0.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_2f1,_2f2,_2f3,item){this._set("item",item||null);if(_2f1==null){_2f1="";}this.inherited(arguments);},_setTextDirAttr:function(_2f4){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_2f4);}}});});},"url:dijit/templates/ColorPalette.html":"
\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"
\n\t
\n\t
\n
","dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_2f5,_2f6,_2f7){return _2f5("dijit.form.MappedTextBox",_2f7,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,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=_2f6.place("
",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"
\n"}});define("dijit/form/ComboBoxMixin",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_2f8,_2f9,_2fa,lang,_2fb,_2fc,_2fd,_2fe,_2ff){return _2f8("dijit.form.ComboBoxMixin",[_2fe,_2fc],{dropDownClass:_2fd,hasDownArrow:true,templateString:_2ff,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(_300){if(!_300.get){lang.mixin(_300,{_oldAPI:true,get:function(id){var _301=new _2f9();this.fetchItemByIdentity({identity:id,onItem:function(_302){_301.resolve(_302);},onError:function(_303){_301.reject(_303);}});return _301.promise;},query:function(_304,_305){var _306=new _2f9(function(){_307.abort&&_307.abort();});_306.total=new _2f9();var _307=this.fetch(lang.mixin({query:_304,onBegin:function(_308){_306.total.resolve(_308);},onComplete:function(_309){_306.resolve(_309);},onError:function(_30a){_306.reject(_30a);}},_305));return _2fb(_306);}});}this._set("store",_300);},postMixInProperties:function(){var _30b=this.params.store||this.store;if(_30b){this._setStoreAttr(_30b);}this.inherited(arguments);if(!this.params.store&&!this.store._oldAPI){var _30c=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_2fa.deprecated(_30c+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_2fa.deprecated(_30c+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_2fa.deprecated(_30c+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_30d){new _30d({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_30e,_30f,dom,_310,keys,lang,on,_311){var _312=_30f("dijit.form._TextBoxMixin",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(_313,_314,_315){var _316;if(_313!==undefined){_316=this.filter(_313);if(typeof _315!="string"){if(_316!==null&&((typeof _316!="number")||!isNaN(_316))){_315=this.filter(this.format(_316,this.constraints));}else{_315="";}}}if(_315!=null&&((typeof _315)!="number"||!isNaN(_315))&&this.textbox.value!=_315){this.textbox.value=_315;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_315);}this.inherited(arguments,[_316,_314]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_317){if(_317==null){_317="";}else{if(typeof _317!="string"){_317=String(_317);}}this.textbox.value=_317;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_317);}},format:function(_318){return _318==null?"":(_318.toString?_318.toString():_318);},parse:function(_319){return _319;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(evt){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._processInput(evt);},_processInput:function(evt){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _31a=function(e){var _31b;if(e.type=="keydown"){_31b=e.keyCode;switch(_31b){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(_31b){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((_31b>=65&&_31b<=90)||(_31b>=48&&_31b<=57)||_31b==keys.SPACE){return;}var _31c=false;for(var i in keys){if(keys[i]===e.keyCode){_31c=true;break;}}if(!_31c){return;}}}_31b=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_31b){_31b=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_31b){_31b=229;}if(e.type=="keypress"){if(typeof _31b!="string"){return;}if((_31b>="a"&&_31b<="z")||(_31b>="A"&&_31b<="Z")||(_31b>="0"&&_31b<="9")||(_31b===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux={faux:true},attr;for(attr in e){if(attr!="layerX"&&attr!="layerY"){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_31b,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}this.defer(function(){this._onInput(faux);});};this.own(on(this.textbox,"keydown, keypress, paste, cut, input, compositionend",lang.hitch(this,_31a)));},_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=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;if(!this._isTextSelected()){_312.selectInputText(this.textbox);}});this.defer(function(){if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_31d){if(!this._created||this.textDir!=_31d){this._set("textDir",_31d);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_312._setSelectionRange=_311._setSelectionRange=function(_31e,_31f,stop){if(_31e.setSelectionRange){_31e.setSelectionRange(_31f,stop);}};_312.selectInputText=_311.selectInputText=function(_320,_321,stop){_320=dom.byId(_320);if(isNaN(_321)){_321=0;}if(isNaN(stop)){stop=_320.value?_320.value.length:0;}try{_320.focus();_312._setSelectionRange(_320,_321,stop);}catch(e){}};return _312;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_322,_323,has,_324){return _322("dijit.form.SimpleTextarea",_324,{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){_323.add(this.textbox,"dijitTextAreaCols");}},filter:function(_325){if(_325){_325=_325.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _326=parseInt(this.maxLength);var _327=this.textbox.value.replace(/\r/g,"");var _328=_327.length-_326;if(_328>0){var _329=this.textbox;if(_329.selectionStart){var pos=_329.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_327.substring(0,pos-_328-cr)+_327.substring(pos-cr);_329.setSelectionRange(pos-_328,pos-_328);}else{if(this.ownerDocument.selection){_329.focus();var _32a=this.ownerDocument.selection.createRange();_32a.moveStart("character",-_328);_32a.text="";_32a.select();}}}}this.inherited(arguments);}});});},"url:dijit/layout/templates/_TabButton.html":"
\n\t
\n\t
\n\t
\n\t\t[x] \n
\n","dijit/_base/window":function(){define("dijit/_base/window",["dojo/window","../main"],function(_32b,_32c){_32c.getDocumentWindow=function(doc){return _32b.get(doc);};});},"dojo/hccss":function(){define("dojo/hccss",["require","./_base/config","./dom-class","./dom-style","./has","./ready","./_base/window"],function(_32d,_32e,_32f,_330,has,_331,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_32e.blankGif||_32d.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_330.getComputedStyle(div),_332=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_332&&(_332=="none"||_332=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_331(90,function(){if(has("highcontrast")){_32f.add(win.body(),"dj_a11y");}});return has;});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_333,_334,_335){return _333("dijit.form.RadioButton",[_334,_335],{baseClass:"dijitRadio"});});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window","./a11yclick"],function(on,_336,keys,_337,has,_338,win,_339){var ret=_337("dijit._OnDijitClickMixin",null,{connect:function(obj,_33a,_33b){return this.inherited(arguments,[obj,_33a=="ondijitclick"?_339:_33a,_33b]);}});ret.a11yclick=_339;return ret;});},"dijit/InlineEditBox":function(){require({cache:{"url:dijit/templates/InlineEditBox.html":"
\n"}});define("dijit/InlineEditBox",["require","dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/_base/event","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/when","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_33c,_33d,_33e,_33f,_340,_341,_342,_343,i18n,_344,keys,lang,has,when,fm,_345,_346,_347,_348,_349,_34a,_34b,_34c){var _34d=_33e("dijit._InlineEditor",[_345,_346,_347],{templateString:_34c,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_33d.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)||_33c(this.editor)):this.editor;var _34e=this.sourceStyle,_34f="line-height:"+_34e.lineHeight+";",_350=_342.getComputedStyle(this.domNode);_33d.forEach(["Weight","Family","Size","Style"],function(prop){var _351=_34e["font"+prop],_352=_350["font"+prop];if(_352!=_351){_34f+="font-"+prop+":"+_34e["font"+prop]+";";}},this);_33d.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_34e[prop];},this);var _353=this.inlineEditBox.width;if(_353=="100%"){_34f+="width:100%;";this.domNode.style.display="block";}else{_34f+="width:"+(_353+(Number(_353)==_353?"px":""))+";";}var _354=lang.delegate(this.inlineEditBox.editorParams,{style:_34f,dir:this.dir,lang:this.lang,textDir:this.textDir});_354["displayedValue" in Cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new Cls(_354,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_341.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");this.saveButton.set("disabled",true);}}},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?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_343.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_343.stop(e);this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){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(){_34a.selectInputText(this.editWidget.focusNode);});}}}});var _355=_33e("dijit.InlineEditBox",_345,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_34b,editorWrapper:_34d,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;var _356={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _356){this.connect(this.displayNode,name,_356[name]);}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;}_340.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_357){_344.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_357);},_setDisabledAttr:function(_358){this.domNode.setAttribute("aria-disabled",_358?"true":"false");if(_358){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_340.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_358);this._set("disabled",_358);},_onMouseOver:function(){if(!this.disabled){_340.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_340.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_343.stop(e);}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_33f.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _359=_341.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:_342.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_359);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_340.add(this.displayNode,"dijitOffScreen");_340.remove(ww.domNode,"dijitOffScreen");_342.set(ww.domNode,{visibility:"visible"});_33f.set(this.displayNode,"tabIndex","-1");when(ww.editWidget.onLoadDeferred,lang.hitch(ww,function(){this.defer(function(){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(_35a){var ww=this.wrapperWidget;_342.set(ww.domNode,{visibility:"hidden"});_340.add(ww.domNode,"dijitOffScreen");_340.remove(this.displayNode,"dijitOffScreen");_33f.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_35a){fm.focus(this.displayNode);}},save:function(_35b){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _35c=ww.getValue();this.set("value",_35c);this._showText(_35b);},setValue:function(val){_344.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 _35d=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""").replace(/\n/g,"
");this.displayNode.innerHTML=_35d||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_344.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_35e){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_35e);},_setTextDirAttr:function(_35f){if(!this._created||this.textDir!=_35f){this._set("textDir",_35f);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_355._InlineEditor=_34d;return _355;});},"dojo/selector/acme":function(){define("dojo/selector/acme",["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_360,lang,win){var trim=lang.trim;var each=_360.forEach;var _361=function(){return win.doc;};var _362=(_361().compatMode)=="BackCompat";var _363=">~+";var _364=false;var _365=function(){return true;};var _366=function(_367){if(_363.indexOf(_367.slice(-1))>=0){_367+=" * ";}else{_367+=" ";}var ts=function(s,e){return trim(_367.slice(s,e));};var _368=[];var _369=-1,_36a=-1,_36b=-1,_36c=-1,_36d=-1,inId=-1,_36e=-1,_36f,lc="",cc="",_370;var x=0,ql=_367.length,_371=null,_372=null;var _373=function(){if(_36e>=0){var tv=(_36e==x)?null:ts(_36e,x);_371[(_363.indexOf(tv)<0)?"tag":"oper"]=tv;_36e=-1;}};var _374=function(){if(inId>=0){_371.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _375=function(){if(_36d>=0){_371.classes.push(ts(_36d+1,x).replace(/\\/g,""));_36d=-1;}};var _376=function(){_374();_373();_375();};var _377=function(){_376();if(_36c>=0){_371.pseudos.push({name:ts(_36c+1,x)});}_371.loops=(_371.pseudos.length||_371.attrs.length||_371.classes.length);_371.oquery=_371.query=ts(_370,x);_371.otag=_371.tag=(_371["oper"])?null:(_371.tag||"*");if(_371.tag){_371.tag=_371.tag.toUpperCase();}if(_368.length&&(_368[_368.length-1].oper)){_371.infixOper=_368.pop();_371.query=_371.infixOper.query+" "+_371.query;}_368.push(_371);_371=null;};for(;lc=cc,cc=_367.charAt(x),x
=0){if(cc=="]"){if(!_372.attr){_372.attr=ts(_369+1,x);}else{_372.matchFor=ts((_36b||_369+1),x);}var cmf=_372.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_372.matchFor=cmf.slice(1,-1);}}if(_372.matchFor){_372.matchFor=_372.matchFor.replace(/\\/g,"");}_371.attrs.push(_372);_372=null;_369=_36b=-1;}else{if(cc=="="){var _378=("|~^$*".indexOf(lc)>=0)?lc:"";_372.type=_378+cc;_372.attr=ts(_369+1,x-_378.length);_36b=x+1;}}}else{if(_36a>=0){if(cc==")"){if(_36c>=0){_372.value=ts(_36a+1,x);}_36c=_36a=-1;}}else{if(cc=="#"){_376();inId=x+1;}else{if(cc=="."){_376();_36d=x;}else{if(cc==":"){_376();_36c=x;}else{if(cc=="["){_376();_369=x;_372={};}else{if(cc=="("){if(_36c>=0){_372={name:ts(_36c+1,x),value:null};_371.pseudos.push(_372);}_36a=x;}else{if((cc==" ")&&(lc!=cc)){_377();}}}}}}}}}return _368;};var _379=function(_37a,_37b){if(!_37a){return _37b;}if(!_37b){return _37a;}return function(){return _37a.apply(window,arguments)&&_37b.apply(window,arguments);};};var _37c=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _37d=function(n){return (1==n.nodeType);};var _37e="";var _37f=function(elem,attr){if(!elem){return _37e;}if(attr=="class"){return elem.className||_37e;}if(attr=="for"){return elem.htmlFor||_37e;}if(attr=="style"){return elem.style.cssText||_37e;}return (_364?elem.getAttribute(attr):elem.getAttribute(attr,2))||_37e;};var _380={"*=":function(attr,_381){return function(elem){return (_37f(elem,attr).indexOf(_381)>=0);};},"^=":function(attr,_382){return function(elem){return (_37f(elem,attr).indexOf(_382)==0);};},"$=":function(attr,_383){return function(elem){var ea=" "+_37f(elem,attr);var _384=ea.lastIndexOf(_383);return _384>-1&&(_384==(ea.length-_383.length));};},"~=":function(attr,_385){var tval=" "+_385+" ";return function(elem){var ea=" "+_37f(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_386){var _387=_386+"-";return function(elem){var ea=_37f(elem,attr);return ((ea==_386)||(ea.indexOf(_387)==0));};},"=":function(attr,_388){return function(elem){return (_37f(elem,attr)==_388);};}};var _389=(typeof _361().firstChild.nextElementSibling=="undefined");var _38a=!_389?"nextElementSibling":"nextSibling";var _38b=!_389?"previousElementSibling":"previousSibling";var _38c=(_389?_37d:_365);var _38d=function(node){while(node=node[_38b]){if(_38c(node)){return false;}}return true;};var _38e=function(node){while(node=node[_38a]){if(_38c(node)){return false;}}return true;};var _38f=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[_38a]){if(_38c(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _390=function(elem){return !((_38f(elem))%2);};var _391=function(elem){return ((_38f(elem))%2);};var _392={"checked":function(name,_393){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_394){return function(elem){return elem.disabled;};},"enabled":function(name,_395){return function(elem){return !elem.disabled;};},"first-child":function(){return _38d;},"last-child":function(){return _38e;},"only-child":function(name,_396){return function(node){return _38d(node)&&_38e(node);};},"empty":function(name,_397){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,_398){var cz=_398.charAt(0);if(cz=="\""||cz=="'"){_398=_398.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_398)>=0);};},"not":function(name,_399){var p=_366(_399)[0];var _39a={el:1};if(p.tag!="*"){_39a.tag=1;}if(!p.classes.length){_39a.classes=1;}var ntf=_39b(p,_39a);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_39c){var pi=parseInt;if(_39c=="odd"){return _391;}else{if(_39c=="even"){return _390;}}if(_39c.indexOf("n")!=-1){var _39d=_39c.split("n",2);var pred=_39d[0]?((_39d[0]=="-")?-1:pi(_39d[0])):1;var idx=_39d[1]?pi(_39d[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=_38f(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_39c=idx;}}var _39e=pi(_39c);return function(elem){return (_38f(elem)==_39e);};}};var _39f=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_364?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _39b=function(_3a0,_3a1){if(!_3a0){return _365;}_3a1=_3a1||{};var ff=null;if(!("el" in _3a1)){ff=_379(ff,_37d);}if(!("tag" in _3a1)){if(_3a0.tag!="*"){ff=_379(ff,function(elem){return (elem&&((_364?elem.tagName:elem.tagName.toUpperCase())==_3a0.getTag()));});}}if(!("classes" in _3a1)){each(_3a0.classes,function(_3a2,idx,arr){var re=new RegExp("(?:^|\\s)"+_3a2+"(?:\\s|$)");ff=_379(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _3a1)){each(_3a0.pseudos,function(_3a3){var pn=_3a3.name;if(_392[pn]){ff=_379(ff,_392[pn](pn,_3a3.value));}});}if(!("attrs" in _3a1)){each(_3a0.attrs,function(attr){var _3a4;var a=attr.attr;if(attr.type&&_380[attr.type]){_3a4=_380[attr.type](a,attr.matchFor);}else{if(a.length){_3a4=_39f(a);}}if(_3a4){ff=_379(ff,_3a4);}});}if(!("id" in _3a1)){if(_3a0.id){ff=_379(ff,function(elem){return (!!elem&&(elem.id==_3a0.id));});}}if(!ff){if(!("default" in _3a1)){ff=_365;}}return ff;};var _3a5=function(_3a6){return function(node,ret,bag){while(node=node[_38a]){if(_389&&(!_37d(node))){continue;}if((!bag||_3a7(node,bag))&&_3a6(node)){ret.push(node);}break;}return ret;};};var _3a8=function(_3a9){return function(root,ret,bag){var te=root[_38a];while(te){if(_38c(te)){if(bag&&!_3a7(te,bag)){break;}if(_3a9(te)){ret.push(te);}}te=te[_38a];}return ret;};};var _3aa=function(_3ab){_3ab=_3ab||_365;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_38c(te)&&(!bag||_3a7(te,bag))&&(_3ab(te,x))){ret.push(te);}}return ret;};};var _3ac=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _3ad={};var _3ae=function(_3af){var _3b0=_3ad[_3af.query];if(_3b0){return _3b0;}var io=_3af.infixOper;var oper=(io?io.oper:"");var _3b1=_39b(_3af,{el:1});var qt=_3af.tag;var _3b2=("*"==qt);var ecs=_361()["getElementsByClassName"];if(!oper){if(_3af.id){_3b1=(!_3af.loops&&_3b2)?_365:_39b(_3af,{el:1,id:1});_3b0=function(root,arr){var te=dom.byId(_3af.id,(root.ownerDocument||root));if(!te||!_3b1(te)){return;}if(9==root.nodeType){return _37c(te,arr);}else{if(_3ac(te,root)){return _37c(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_3af.classes.length&&!_362){_3b1=_39b(_3af,{el:1,classes:1,id:1});var _3b3=_3af.classes.join(" ");_3b0=function(root,arr,bag){var ret=_37c(0,arr),te,x=0;var tret=root.getElementsByClassName(_3b3);while((te=tret[x++])){if(_3b1(te,root)&&_3a7(te,bag)){ret.push(te);}}return ret;};}else{if(!_3b2&&!_3af.loops){_3b0=function(root,arr,bag){var ret=_37c(0,arr),te,x=0;var tag=_3af.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_3a7(te,bag)){ret.push(te);}}return ret;};}else{_3b1=_39b(_3af,{el:1,tag:1,id:1});_3b0=function(root,arr,bag){var ret=_37c(0,arr),te,x=0;var tag=_3af.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_3b1(te,root)&&_3a7(te,bag)){ret.push(te);}}return ret;};}}}}else{var _3b4={el:1};if(_3b2){_3b4.tag=1;}_3b1=_39b(_3af,_3b4);if("+"==oper){_3b0=_3a5(_3b1);}else{if("~"==oper){_3b0=_3a8(_3b1);}else{if(">"==oper){_3b0=_3aa(_3b1);}}}}return _3ad[_3af.query]=_3b0;};var _3b5=function(root,_3b6){var _3b7=_37c(root),qp,x,te,qpl=_3b6.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_3ae(qp);for(var j=0;(te=_3b7[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_3b7=ret;}return ret;};var _3b8={},_3b9={};var _3ba=function(_3bb){var _3bc=_366(trim(_3bb));if(_3bc.length==1){var tef=_3ae(_3bc[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _3b5(root,_3bc);};};var _3bd=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _3be=!!_361()[qsa];var _3bf=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _3c0=function(_3c1,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_3c1;};var _3c2=/([^[]*)([^\]]*])?/g;var _3c3=function(_3c4,_3c5,att){return _3c5.replace(_3bf,_3c0)+(att||"");};var _3c6=function(_3c7,_3c8){_3c7=_3c7.replace(_3c2,_3c3);if(_3be){var _3c9=_3b9[_3c7];if(_3c9&&!_3c8){return _3c9;}}var _3ca=_3b8[_3c7];if(_3ca){return _3ca;}var qcz=_3c7.charAt(0);var _3cb=(-1==_3c7.indexOf(" "));if((_3c7.indexOf("#")>=0)&&(_3cb)){_3c8=true;}var _3cc=(_3be&&(!_3c8)&&(_363.indexOf(qcz)==-1)&&(!has("ie")||(_3c7.indexOf(":")==-1))&&(!(_362&&(_3c7.indexOf(".")>=0)))&&(_3c7.indexOf(":contains")==-1)&&(_3c7.indexOf(":checked")==-1)&&(_3c7.indexOf("|=")==-1));if(_3cc){var tq=(_363.indexOf(_3c7.charAt(_3c7.length-1))>=0)?(_3c7+" *"):_3c7;return _3b9[_3c7]=function(root){try{if(!((9==root.nodeType)||_3cb)){throw "";}var r=root[qsa](tq);r[_3bd]=true;return r;}catch(e){return _3c6(_3c7,true)(root);}};}else{var _3cd=_3c7.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _3b8[_3c7]=((_3cd.length<2)?_3ba(_3c7):function(root){var _3ce=0,ret=[],tp;while((tp=_3cd[_3ce++])){ret=ret.concat(_3ba(tp)(root));}return ret;});}};var _3cf=0;var _3d0=has("ie")?function(node){if(_364){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_3cf)||_3cf);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_3cf));};var _3a7=function(node,bag){if(!bag){return 1;}var id=_3d0(node);if(!bag[id]){return bag[id]=1;}return 0;};var _3d1="_zipIdx";var _3d2=function(arr){if(arr&&arr.nozip){return arr;}var ret=[];if(!arr||!arr.length){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_3cf++;var x,te;if(has("ie")&&_364){var _3d3=_3cf+"";arr[0].setAttribute(_3d1,_3d3);for(x=1;te=arr[x];x++){if(arr[x].getAttribute(_3d1)!=_3d3){ret.push(te);}te.setAttribute(_3d1,_3d3);}}else{if(has("ie")&&arr.commentStrip){try{for(x=1;te=arr[x];x++){if(_37d(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_3d1]=_3cf;}for(x=1;te=arr[x];x++){if(arr[x][_3d1]!=_3cf){ret.push(te);}te[_3d1]=_3cf;}}}return ret;};var _3d4=function(_3d5,root){root=root||_361();var od=root.ownerDocument||root;_364=(od.createElement("div").tagName==="div");var r=_3c6(_3d5)(root);if(r&&r.nozip){return r;}return _3d2(r);};_3d4.filter=function(_3d6,_3d7,root){var _3d8=[],_3d9=_366(_3d7),_3da=(_3d9.length==1&&!/[^\w#\.]/.test(_3d7))?_39b(_3d9[0]):function(node){return _360.indexOf(_3d4(_3d7,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_3d6[x];x++){if(_3da(te)){_3d8.push(te);}}return _3d8;};return _3d4;});},"dojo/dnd/autoscroll":function(){define("dojo/dnd/autoscroll",["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_3db,_3dc,_3dd){var _3de={};lang.setObject("dojo.dnd.autoscroll",_3de);_3de.getViewport=_3dd.getBox;_3de.V_TRIGGER_AUTOSCROLL=32;_3de.H_TRIGGER_AUTOSCROLL=32;_3de.V_AUTOSCROLL_VALUE=16;_3de.H_AUTOSCROLL_VALUE=16;var _3df,doc=win.doc,_3e0=Infinity,_3e1=Infinity;_3de.autoScrollStart=function(d){doc=d;_3df=_3dd.getBox(doc);var html=win.body(doc).parentNode;_3e0=Math.max(html.scrollHeight-_3df.h,0);_3e1=Math.max(html.scrollWidth-_3df.w,0);};_3de.autoScroll=function(e){var v=_3df||_3dd.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_3de.H_TRIGGER_AUTOSCROLL){dx=-_3de.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_3de.H_TRIGGER_AUTOSCROLL){dx=Math.min(_3de.H_AUTOSCROLL_VALUE,_3e1-html.scrollLeft);}}if(e.clientY<_3de.V_TRIGGER_AUTOSCROLL){dy=-_3de.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_3de.V_TRIGGER_AUTOSCROLL){dy=Math.min(_3de.V_AUTOSCROLL_VALUE,_3e0-html.scrollTop);}}window.scrollBy(dx,dy);};_3de._validNodes={"div":1,"p":1,"td":1};_3de._validOverflow={"auto":1,"scroll":1};_3de.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_3e2,_3e3;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _3de._validNodes)){var s=_3dc.getComputedStyle(n),_3e4=(s.overflow.toLowerCase() in _3de._validOverflow),_3e5=(s.overflowX.toLowerCase() in _3de._validOverflow),_3e6=(s.overflowY.toLowerCase() in _3de._validOverflow);if(_3e4||_3e5||_3e6){b=_3db.getContentBox(n,s);t=_3db.position(n,true);}if(_3e4||_3e5){w=Math.min(_3de.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;}}_3e2=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_3e4||_3e6){h=Math.min(_3de.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;}}_3e3=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_3de.autoScroll(e);};return _3de;});},"dijit/form/_RadioButtonMixin":function(){define("dijit/form/_RadioButtonMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","../registry"],function(_3e7,_3e8,_3e9,_3ea,lang,_3eb,_3ec){return _3e8("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_3eb("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_3ed){if(_3ed.name==this.name&&_3ed.form==this.focusNode.form){var _3ee=_3ec.getEnclosingWidget(_3ed);if(_3ee){ary.push(_3ee);}}}));return ary;},_setCheckedAttr:function(_3ef){this.inherited(arguments);if(!this._created){return;}if(_3ef){_3e7.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_3f0){if(_3f0!=this&&_3f0.checked){_3f0.set("checked",false);}}));}},_getSubmitValue:function(_3f1){return _3f1===null?"on":_3f1;},_onClick:function(e){if(this.checked||this.disabled){_3ea.stop(e);return false;}if(this.readOnly){_3ea.stop(e);_3e7.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_3f2){_3e9.set(this.focusNode||this.domNode,"checked",_3f2.checked);}));return false;}return this.inherited(arguments);}});});},"dojo/data/ItemFileWriteStore":function(){define("dojo/data/ItemFileWriteStore",["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(lang,_3f3,_3f4,_3f5,_3f6,_3f7,_3f8){return _3f3("dojo.data.ItemFileWriteStore",_3f7,{constructor:function(_3f9){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 _3f8.toISOString(obj,{zulu:true});};}if(_3f9&&(_3f9.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_3fa){if(!_3fa){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_3fb,_3fc){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _3fb!="object"&&typeof _3fb!="undefined"){throw new Error("newItem() was passed something other than an object");}var _3fd=null;var _3fe=this._getIdentifierAttribute();if(_3fe===Number){_3fd=this._arrayOfAllItems.length;}else{_3fd=_3fb[_3fe];if(typeof _3fd==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(lang.isArray(_3fd)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_3fd]==="undefined");}this._assert(typeof this._pending._newItems[_3fd]==="undefined");this._assert(typeof this._pending._deletedItems[_3fd]==="undefined");var _3ff={};_3ff[this._storeRefPropName]=this;_3ff[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_3fd]=_3ff;_3ff[_3fe]=[_3fd];}this._arrayOfAllItems.push(_3ff);var _400=null;if(_3fc&&_3fc.parent&&_3fc.attribute){_400={item:_3fc.parent,attribute:_3fc.attribute,oldValue:undefined};var _401=this.getValues(_3fc.parent,_3fc.attribute);if(_401&&_401.length>0){var _402=_401.slice(0,_401.length);if(_401.length===1){_400.oldValue=_401[0];}else{_400.oldValue=_401.slice(0,_401.length);}_402.push(_3ff);this._setValueOrValues(_3fc.parent,_3fc.attribute,_402,false);_400.newValue=this.getValues(_3fc.parent,_3fc.attribute);}else{this._setValueOrValues(_3fc.parent,_3fc.attribute,_3ff,false);_400.newValue=_3ff;}}else{_3ff[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_3ff);}this._pending._newItems[_3fd]=_3ff;for(var key in _3fb){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _403=_3fb[key];if(!lang.isArray(_403)){_403=[_403];}_3ff[key]=_403;if(this.referenceIntegrity){for(var i=0;i<_403.length;i++){var val=_403[i];if(this.isItem(val)){this._addReferenceToMap(val,_3ff,key);}}}}this.onNew(_3ff,_400);return _3ff;},_removeArrayElement:function(_404,_405){var _406=_3f4.indexOf(_404,_405);if(_406!=-1){_404.splice(_406,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _407=item[this._itemNumPropName];var _408=this.getIdentity(item);if(this.referenceIntegrity){var _409=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=lang.clone(item[this._reverseRefMap]);}_3f4.forEach(_409,function(_40a){_3f4.forEach(this.getValues(item,_40a),function(_40b){if(this.isItem(_40b)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_40b),attr:_40a});this._removeReferenceFromMap(_40b,item,_40a);}},this);},this);var _40c=item[this._reverseRefMap];if(_40c){for(var _40d in _40c){var _40e=null;if(this._itemsByIdentity){_40e=this._itemsByIdentity[_40d];}else{_40e=this._arrayOfAllItems[_40d];}if(_40e){for(var _40f in _40c[_40d]){var _410=this.getValues(_40e,_40f)||[];var _411=_3f4.filter(_410,function(_412){return !(this.isItem(_412)&&this.getIdentity(_412)==_408);},this);this._removeReferenceFromMap(item,_40e,_40f);if(_411.length<_410.length){this._setValueOrValues(_40e,_40f,_411,true);}}}}}}this._arrayOfAllItems[_407]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_408];}this._pending._deletedItems[_408]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_413,_414){return this._setValueOrValues(item,_413,_414,true);},setValues:function(item,_415,_416){return this._setValueOrValues(item,_415,_416,true);},unsetAttribute:function(item,_417){return this._setValueOrValues(item,_417,[],true);},_setValueOrValues:function(item,_418,_419,_41a){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(lang.isString(_418));this._assert(typeof _419!=="undefined");var _41b=this._getIdentifierAttribute();if(_418==_41b){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _41c=this._getValueOrValues(item,_418);var _41d=this.getIdentity(item);if(!this._pending._modifiedItems[_41d]){var _41e={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_41e[key]=item[key];}else{if(key===this._reverseRefMap){_41e[key]=lang.clone(item[key]);}else{_41e[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_41d]=_41e;}var _41f=false;if(lang.isArray(_419)&&_419.length===0){_41f=delete item[_418];_419=undefined;if(this.referenceIntegrity&&_41c){var _420=_41c;if(!lang.isArray(_420)){_420=[_420];}for(var i=0;i<_420.length;i++){var _421=_420[i];if(this.isItem(_421)){this._removeReferenceFromMap(_421,item,_418);}}}}else{var _422;if(lang.isArray(_419)){_422=_419.slice(0,_419.length);}else{_422=[_419];}if(this.referenceIntegrity){if(_41c){var _420=_41c;if(!lang.isArray(_420)){_420=[_420];}var map={};_3f4.forEach(_420,function(_423){if(this.isItem(_423)){var id=this.getIdentity(_423);map[id.toString()]=true;}},this);_3f4.forEach(_422,function(_424){if(this.isItem(_424)){var id=this.getIdentity(_424);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_424,item,_418);}}},this);for(var rId in map){var _425;if(this._itemsByIdentity){_425=this._itemsByIdentity[rId];}else{_425=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_425,item,_418);}}else{for(var i=0;i<_422.length;i++){var _421=_422[i];if(this.isItem(_421)){this._addReferenceToMap(_421,item,_418);}}}}item[_418]=_422;_41f=true;}if(_41a){this.onSet(item,_418,_41c,_419);}return _41f;},_addReferenceToMap:function(_426,_427,_428){var _429=this.getIdentity(_427);var _42a=_426[this._reverseRefMap];if(!_42a){_42a=_426[this._reverseRefMap]={};}var _42b=_42a[_429];if(!_42b){_42b=_42a[_429]={};}_42b[_428]=true;},_removeReferenceFromMap:function(_42c,_42d,_42e){var _42f=this.getIdentity(_42d);var _430=_42c[this._reverseRefMap];var _431;if(_430){for(_431 in _430){if(_431==_42f){delete _430[_431][_42e];if(this._isEmpty(_430[_431])){delete _430[_431];}}}if(this._isEmpty(_430)){delete _42c[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i0){_43e=false;}}}return _43e;},save:function(_43f){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _440=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_43f&&_43f.onComplete){var _441=_43f.scope||_3f6.global;_43f.onComplete.call(_441);}};var _442=function(err){self._saveInProgress=false;if(_43f&&_43f.onError){var _443=_43f.scope||_3f6.global;_43f.onError.call(_443,err);}};if(this._saveEverything){var _444=this._getNewFileContentString();this._saveEverything(_440,_442,_444);}if(this._saveCustom){this._saveCustom(_440,_442);}if(!this._saveEverything&&!this._saveCustom){_440();}},revert:function(){this._assert(!this._saveInProgress);var _445;for(_445 in this._pending._modifiedItems){var _446=this._pending._modifiedItems[_445];var _447=null;if(this._itemsByIdentity){_447=this._itemsByIdentity[_445];}else{_447=this._arrayOfAllItems[_445];}_446[this._storeRefPropName]=this;for(var key in _447){delete _447[key];}lang.mixin(_447,_446);}var _448;for(_445 in this._pending._deletedItems){_448=this._pending._deletedItems[_445];_448[this._storeRefPropName]=this;var _449=_448[this._itemNumPropName];if(_448["backup_"+this._reverseRefMap]){_448[this._reverseRefMap]=_448["backup_"+this._reverseRefMap];delete _448["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_449]=_448;if(this._itemsByIdentity){this._itemsByIdentity[_445]=_448;}if(_448[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_448);}}for(_445 in this._pending._deletedItems){_448=this._pending._deletedItems[_445];if(_448["backupRefs_"+this._reverseRefMap]){_3f4.forEach(_448["backupRefs_"+this._reverseRefMap],function(_44a){var _44b;if(this._itemsByIdentity){_44b=this._itemsByIdentity[_44a.id];}else{_44b=this._arrayOfAllItems[_44a.id];}this._addReferenceToMap(_44b,_448,_44a.attr);},this);delete _448["backupRefs_"+this._reverseRefMap];}}for(_445 in this._pending._newItems){var _44c=this._pending._newItems[_445];_44c[this._storeRefPropName]=null;this._arrayOfAllItems[_44c[this._itemNumPropName]]=null;if(_44c[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_44c);}if(this._itemsByIdentity){delete this._itemsByIdentity[_445];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _44d=this.getIdentity(item);return new Boolean(this._pending._newItems[_44d]||this._pending._modifiedItems[_44d]||this._pending._deletedItems[_44d]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_44e,_44f,_450){},onNew:function(_451,_452){},onDelete:function(_453){},close:function(_454){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.");}}}});});},"url:dijit/templates/TreeNode.html":"
\n\t\t\t \n\t\t \n\t
\n
\n","dojo/dnd/TimedMoveable":function(){define("dojo/dnd/TimedMoveable",["../_base/declare","./Moveable"],function(_455,_456){var _457=_456.prototype.onMove;return _455("dojo.dnd.TimedMoveable",_456,{timeout:40,constructor:function(node,_458){if(!_458){_458={};}if(_458.timeout&&typeof _458.timeout=="number"&&_458.timeout>=0){this.timeout=_458.timeout;}},onMoveStop:function(_459){if(_459._timer){clearTimeout(_459._timer);_457.call(this,_459,_459._leftTop);}_456.prototype.onMoveStop.apply(this,arguments);},onMove:function(_45a,_45b){_45a._leftTop=_45b;if(!_45a._timer){var _45c=this;_45a._timer=setTimeout(function(){_45a._timer=null;_457.call(_45c,_45a,_45a._leftTop);},this.timeout);}}});});},"dojo/NodeList-fx":function(){define("dojo/NodeList-fx",["./query","./_base/lang","./_base/connect","./_base/fx","./fx"],function(_45d,lang,_45e,_45f,_460){var _461=_45d.NodeList;lang.extend(_461,{_anim:function(obj,_462,args){args=args||{};var a=_460.combine(this.map(function(item){var _463={node:item};lang.mixin(_463,args);return obj[_462](_463);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_460,"wipeIn",args);},wipeOut:function(args){return this._anim(_460,"wipeOut",args);},slideTo:function(args){return this._anim(_460,"slideTo",args);},fadeIn:function(args){return this._anim(_45f,"fadeIn",args);},fadeOut:function(args){return this._anim(_45f,"fadeOut",args);},animateProperty:function(args){return this._anim(_45f,"animateProperty",args);},anim:function(_464,_465,_466,_467,_468){var _469=_460.combine(this.map(function(item){return _45f.animateProperty({node:item,properties:_464,duration:_465||350,easing:_466});}));if(_467){_45e.connect(_469,"onEnd",_467);}return _469.play(_468||0);}});return _461;});},"dijit/form/_ListMouseMixin":function(){define("dijit/form/_ListMouseMixin",["dojo/_base/declare","dojo/mouse","dojo/on","dojo/touch","./_ListBase"],function(_46a,_46b,on,_46c,_46d){return _46a("dijit.form._ListMouseMixin",_46d,{postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,_46c.press,function(evt){evt.preventDefault();}));this._listConnect(_46c.press,"_onMouseDown");this._listConnect(_46c.release,"_onMouseUp");this._listConnect(_46b.enter,"_onMouseOver");this._listConnect(_46b.leave,"_onMouseOut");},_onMouseDown:function(evt,_46e){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_46e);},_onMouseUp:function(evt,_46f){this._isDragging=false;var _470=this.selected;var _471=this._hoveredNode;if(_470&&_46f==_470){this.onClick(_470);}else{if(_471&&_46f==_471){this._setSelectedAttr(_471);this.onClick(_471);}}},_onMouseOut:function(evt,_472){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_473){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_473;this.onHover(_473);if(this._isDragging){this._setSelectedAttr(_473);}}});});},"url:dijit/templates/Tree.html":"\n","dojo/cookie":function(){define("dojo/cookie",["./_base/kernel","./regexp"],function(dojo,_474){dojo.cookie=function(name,_475,_476){var c=document.cookie,ret;if(arguments.length==1){var _477=c.match(new RegExp("(?:^|; )"+_474.escapeString(name)+"=([^;]*)"));ret=_477?decodeURIComponent(_477[1]):undefined;}else{_476=_476||{};var exp=_476.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_476.expires=d;}if(exp&&exp.toUTCString){_476.expires=exp.toUTCString();}_475=encodeURIComponent(_475);var _478=name+"="+_475,_479;for(_479 in _476){_478+="; "+_479;var _47a=_476[_479];if(_47a!==true){_478+="="+_47a;}}document.cookie=_478;}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("dojo/cache",["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"url:dijit/form/templates/DropDownBox.html":"\n","dijit/ProgressBar":function(){require({cache:{"url:dijit/templates/ProgressBar.html":"\n"}});define("dijit/ProgressBar",["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_47b,_47c,_47d,lang,_47e,_47f,_480,_481){return _47c("dijit.ProgressBar",[_47f,_480],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_481,_indeterminateHighContrastImagePath:_47b.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();},update:function(_482){lang.mixin(this,_482||{});var tip=this.internalProgress,ap=this.domNode;var _483=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_483=Math.min(parseFloat(this.progress)/100,1);this.progress=_483*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_483=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-describedby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_483);_47d.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_483*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(_484){this._set("label",_484);this.update();},_setIndeterminateAttr:function(_485){this.indeterminate=_485;this.update();},report:function(_486){return this.label?this.label:(this.indeterminate?" ":_47e.format(_486,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dijit/_base/popup":function(){define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_487,win,_488){var _489=_488._createWrapper;_488._createWrapper=function(_48a){if(!_48a.declaredClass){_48a={_popupWrapper:(_48a.parentNode&&_487.contains(_48a.parentNode,"dijitPopup"))?_48a.parentNode:null,domNode:_48a,destroy:function(){},ownerDocument:_48a.ownerDocument,ownerDocumentBody:win.body(_48a.ownerDocument)};}return _489.call(this,_48a);};var _48b=_488.open;_488.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 _48b.call(this,args);};return _488;});},"dijit/ColorPalette":function(){require({cache:{"url:dijit/templates/ColorPalette.html":"\n"}});define("dijit/ColorPalette",["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(_48c,_48d,_48e,_48f,_490,has,i18n,_491,_492,_493,_494){var _495=_492("dijit.ColorPalette",[_48e,_48f,_490],{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:_48d,baseClass:"dijitColorPalette",_dyeFactory:function(_496,row,col,_497){return new this._dyeClass(_496,row,col,_497);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_492(_495._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_495._Color=_492("dijit._Color",_491,{template:""+" "+" ",hcTemplate:""+" "+" ",_imagePaths:{"7x10":_48c.toUrl("./themes/a11y/colors7x10.png"),"3x4":_48c.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_498,row,col,_499){this._title=_499;this._row=row;this._col=col;this.setColor(_491.named[_498]);},getValue:function(){return this.toHex();},fillCell:function(cell,_49a){var html=_494.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_49a,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"});_493.place(html,cell);}});return _495;});},"url:dijit/form/templates/Button.html":"● \n","dojo/_base/url":function(){define("dojo/_base/url",["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_49b=function(){var n=null,_49c=arguments,uri=[_49c[0]];for(var i=1;i<_49c.length;i++){if(!_49c[i]){continue;}var _49d=new _49b(_49c[i]+""),_49e=new _49b(uri[0]+"");if(_49d.path==""&&!_49d.scheme&&!_49d.authority&&!_49d.query){if(_49d.fragment!=n){_49e.fragment=_49d.fragment;}_49d=_49e;}else{if(!_49d.scheme){_49d.scheme=_49e.scheme;if(!_49d.authority){_49d.authority=_49e.authority;if(_49d.path.charAt(0)!="/"){var path=_49e.path.substring(0,_49e.path.lastIndexOf("/")+1)+_49d.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;}}}}_49d.path=segs.join("/");}}}}uri=[];if(_49d.scheme){uri.push(_49d.scheme,":");}if(_49d.authority){uri.push("//",_49d.authority);}uri.push(_49d.path);if(_49d.query){uri.push("?",_49d.query);}if(_49d.fragment){uri.push("#",_49d.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;}};_49b.prototype.toString=function(){return this.uri;};return dojo._Url=_49b;});},"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","dojo/text":function(){define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(dojo,_49f,has,xhr){var _4a0;if(1){_4a0=function(url,sync,load){xhr("GET",{url:url,sync:!!sync,load:load,headers:dojo.config.textPluginHeaders||{}});};}else{if(_49f.getText){_4a0=_49f.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _4a1={},_4a2=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _4a3=text.match(/]*>\s*([\s\S]+)\s*<\/body>/im);if(_4a3){text=_4a3[1];}}else{text="";}return text;},_4a4={},_4a5={};dojo.cache=function(_4a6,url,_4a7){var key;if(typeof _4a6=="string"){if(/\//.test(_4a6)){key=_4a6;_4a7=url;}else{key=_49f.toUrl(_4a6.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_4a6+"";_4a7=url;}var val=(_4a7!=undefined&&typeof _4a7!="string")?_4a7.value:_4a7,_4a8=_4a7&&_4a7.sanitize;if(typeof val=="string"){_4a1[key]=val;return _4a8?_4a2(val):val;}else{if(val===null){delete _4a1[key];return null;}else{if(!(key in _4a1)){_4a0(key,true,function(text){_4a1[key]=text;});}return _4a8?_4a2(_4a1[key]):_4a1[key];}}};return {dynamic:true,normalize:function(id,_4a9){var _4aa=id.split("!"),url=_4aa[0];return (/^\./.test(url)?_4a9(url):url)+(_4aa[1]?"!"+_4aa[1]:"");},load:function(id,_4ab,load){var _4ac=id.split("!"),_4ad=_4ac.length>1,_4ae=_4ac[0],url=_4ab.toUrl(_4ac[0]),_4af="url:"+url,text=_4a4,_4b0=function(text){load(_4ad?_4a2(text):text);};if(_4ae in _4a1){text=_4a1[_4ae];}else{if(_4af in _4ab.cache){text=_4ab.cache[_4af];}else{if(url in _4a1){text=_4a1[url];}}}if(text===_4a4){if(_4a5[url]){_4a5[url].push(_4b0);}else{var _4b1=_4a5[url]=[_4b0];_4a0(url,!_4ab.async,function(text){_4a1[_4ae]=_4a1[url]=text;for(var i=0;i<_4b1.length;){_4b1[i++](text);}delete _4a5[url];});}}else{_4b0(text);}}};});},"url:dijit/form/templates/CheckBox.html":"
\n","dojo/uacss":function(){define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_4b2,lang,_4b3,has,_4b4){var html=_4b4.doc.documentElement,ie=has("ie"),_4b5=has("opera"),maj=Math.floor,ff=has("ff"),_4b6=_4b2.boxModel.replace(/-/,""),_4b7={"dj_quirks":has("quirks"),"dj_opera":_4b5,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_4b7["dj_ie"]=true;_4b7["dj_ie"+maj(ie)]=true;_4b7["dj_iequirks"]=has("quirks");}if(ff){_4b7["dj_ff"+maj(ff)]=true;}_4b7["dj_"+_4b6]=true;var _4b8="";for(var clz in _4b7){if(_4b7[clz]){_4b8+=clz+" ";}}html.className=lang.trim(html.className+" "+_4b8);_4b3(90,function(){if(!_4b2.isBodyLtr()){var _4b9="dj_rtl dijitRtl "+_4b8.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_4b9+"dj_rtl dijitRtl "+_4b8.replace(/ /g,"-rtl "));}});return has;});},"dijit/Tooltip":function(){require({cache:{"url:dijit/templates/Tooltip.html":"\n"}});define("dijit/Tooltip",["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_4ba,_4bb,fx,dom,_4bc,_4bd,_4be,lang,_4bf,on,has,_4c0,_4c1,_4c2,_4c3,_4c4,_4c5,_4c6){var _4c7=_4bb("dijit._MasterTooltip",[_4c2,_4c3],{duration:_4c0.defaultDuration,templateString:_4c5,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _4c4(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_4c8,_4c9,_4ca,rtl,_4cb){if(this.aroundNode&&this.aroundNode===_4c9&&this.containerNode.innerHTML==_4c8){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_4c8;if(_4cb){this.set("textDir",_4cb);}this.containerNode.align=rtl?"right":"left";var pos=_4c1.around(this.domNode,_4c9,_4ca&&_4ca.length?_4ca:_4cc.defaultPosition,!rtl,lang.hitch(this,"orient"));var _4cd=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_4cd.y+((_4cd.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=_4cd.x+((_4cd.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_4be.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_4c9;},orient:function(node,_4ce,_4cf,_4d0,_4d1){this.connectorNode.style.top="";var _4d2=_4d0.h,_4d3=_4d0.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"}[_4ce+"-"+_4cf];this.domNode.style.width="auto";var size=_4bd.position(this.domNode);if(has("ie")==9){size.w+=2;}var _4d4=Math.min((Math.max(_4d3,1)),size.w);_4bd.setMarginBox(this.domNode,{w:_4d4});if(_4cf.charAt(0)=="B"&&_4ce.charAt(0)=="B"){var bb=_4bd.position(node);var _4d5=this.connectorNode.offsetHeight;if(bb.h>_4d2){var _4d6=_4d2-((_4d1.h+_4d5)>>1);this.connectorNode.style.top=_4d6+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_4d1.h/2-_4d5/2,0),bb.h-_4d5)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_4d3);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_4d7){if(this._onDeck&&this._onDeck[1]==_4d7){this._onDeck=null;}else{if(this.aroundNode===_4d7){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_4ba.forEach(node.children,function(_4d8){this._setAutoTextDir(_4d8);},this);},_setTextDirAttr:function(_4d9){this._set("textDir",_4d9);if(_4d9=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_4c6.showTooltip=function(_4da,_4db,_4dc,rtl,_4dd){if(_4dc){_4dc=_4ba.map(_4dc,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_4cc._masterTT){_4c6._masterTT=_4cc._masterTT=new _4c7();}return _4cc._masterTT.show(_4da,_4db,_4dc,rtl,_4dd);};_4c6.hideTooltip=function(_4de){return _4cc._masterTT&&_4cc._masterTT.hide(_4de);};var _4cc=_4bb("dijit.Tooltip",_4c2,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_4df){_4ba.forEach(this._connections||[],function(_4e0){_4ba.forEach(_4e0,function(_4e1){_4e1.remove();});},this);this._connectIds=_4ba.filter(lang.isArrayLike(_4df)?_4df:(_4df?[_4df]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_4ba.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_4e2=this.selector,_4e3=_4e2?function(_4e4){return on.selector(_4e2,_4e4);}:function(_4e5){return _4e5;},self=this;return [on(node,_4e3(_4bf.enter),function(){self._onHover(this);}),on(node,_4e3("focusin"),function(){self._onHover(this);}),on(node,_4e3(_4bf.leave),lang.hitch(self,"_onUnHover")),on(node,_4e3("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_4df);},addTarget:function(node){var id=node.id||node;if(_4ba.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_4ba.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_4bc.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_4ba.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_4e6){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_4e6);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_4e7){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _4e8=this.getContent(_4e7);if(!_4e8){return;}_4cc.show(_4e8,_4e7,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_4e7;this.onShow(_4e7,this.position);},close:function(){if(this._connectNode){_4cc.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}},onShow:function(){},onHide:function(){},destroy:function(){this.close();_4ba.forEach(this._connections||[],function(_4e9){_4ba.forEach(_4e9,function(_4ea){_4ea.remove();});},this);this.inherited(arguments);}});_4cc._MasterTooltip=_4c7;_4cc.show=_4c6.showTooltip;_4cc.hide=_4c6.hideTooltip;_4cc.defaultPosition=["after-centered","before-centered"];return _4cc;});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(_4eb,lang){var _4ec={};lang.setObject("dojo.string",_4ec);_4ec.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("");};_4ec.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_4ec.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_4ec.substitute=function(_4ed,map,_4ee,_4ef){_4ef=_4ef||_4eb.global;_4ee=_4ee?lang.hitch(_4ef,_4ee):function(v){return v;};return _4ed.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_4f0,key,_4f1){var _4f2=lang.getObject(key,false,map);if(_4f1){_4f2=lang.getObject(_4f1,false,_4ef).call(_4ef,_4f2,key);}return _4ee(_4f2,key).toString();});};_4ec.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 _4ec;});},"url:dijit/templates/MenuSeparator.html":"","dijit/dijit":function(){define("dijit/dijit",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_4f3){return _4f3;});},"dijit/form/DropDownButton":function(){require({cache:{"url:dijit/form/templates/DropDownButton.html":"▼ \n"}});define("dijit/form/DropDownButton",["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_4f4,lang,_4f5,_4f6,_4f7,_4f8,_4f9,_4fa,_4fb){return _4f4("dijit.form.DropDownButton",[_4f8,_4f9,_4fa],{baseClass:"dijitDropDownButton",templateString:_4fb,_fillContent:function(){if(this.srcNodeRef){var _4fc=_4f5("*",this.srcNodeRef);this.inherited(arguments,[_4fc[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _4fd=_4f5("[widgetId]",this.dropDownContainer)[0];this.dropDown=_4f6.byNode(_4fd);delete this.dropDownContainer;}if(this.dropDown){_4f7.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _4fe=this.dropDown;return (!!_4fe&&(!_4fe.href||_4fe.isLoaded));},loadDropDown:function(_4ff){var _500=this.dropDown;var _501=_500.on("load",lang.hitch(this,function(){_501.remove();_4ff();}));_500.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(_502,_503,keys,has,_504){return _502("dijit.form._FormValueMixin",_504,{readOnly:false,_setReadOnlyAttr:function(_505){_503.set(this.focusNode,"readOnly",_505);this._set("readOnly",_505);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_506,_507){this._handleOnChange(_506,_507);},_handleOnChange:function(_508,_509){this._set("value",_508);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();var node=e.srcElement,te=node.ownerDocument.createEventObject();te.keyCode=keys.ESCAPE;te.shiftKey=e.shiftKey;node.fireEvent("onkeypress",te);}}}});});},"dijit/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/sniff","dojo/window","../a11y"],function(_50a,_50b,_50c,_50d,lang,_50e,has,_50f,a11y){return _50b("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(_510){this._set("disabled",_510);_50c.set(this.focusNode,"disabled",_510);if(this.valueNode){_50c.set(this.valueNode,"disabled",_510);}this.focusNode.setAttribute("aria-disabled",_510?"true":"false");if(_510){this._set("hovering",false);this._set("active",false);var _511="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_50a.forEach(lang.isArray(_511)?_511:[_511],function(_512){var node=this[_512];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 _513=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_514);this.disconnect(_513);});var _514=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(_514);this.disconnect(_513);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_50f.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_50d.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
\n","dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_521,_522,_523){return _523("dijit.Destroyable",null,{destroy:function(_524){this._destroyed=true;},own:function(){_521.forEach(arguments,function(_525){var _526="destroyRecursive" in _525?"destroyRecursive":"destroy" in _525?"destroy":"remove";var odh=_522.before(this,"destroy",function(_527){_525[_526](_527);});var hdh=_522.after(_525,_526,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define("dijit/layout/_ContentPaneResizeMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","dojo/sniff","../registry","../Viewport","./utils"],function(_528,_529,_52a,_52b,_52c,lang,_52d,has,_52e,_52f,_530){return _529("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _531=this.getParent();this._childOfLayoutWidget=_531&&_531.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_52f.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){var _532=[],_533=false;_52d("> *",this.containerNode).some(function(node){var _534=_52e.byNode(node);if(_534&&_534.resize){_532.push(_534);}else{if(node.offsetHeight){_533=true;}}});this._singleChild=_532.length==1&&!_533?_532[0]:null;_52a.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_535,_536){this._resizeCalled=true;this._scheduleLayout(_535,_536);},_scheduleLayout:function(_537,_538){if(this._isShown()){this._layout(_537,_538);}else{this._needLayout=true;this._changeSize=_537;this._resultSize=_538;}},_layout:function(_539,_53a){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_539){_52b.setMarginBox(this.domNode,_539);}var cn=this.containerNode;if(cn===this.domNode){var mb=_53a||{};lang.mixin(mb,_539||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_52b.getMarginBox(cn),mb);}this._contentBox=_530.marginBox2contentBox(cn,mb);}else{this._contentBox=_52b.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_52b.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_528.forEach(this.getChildren(),function(_53b){if(_53b.resize){_53b.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,_53c=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_52a.contains(node,"dijitHidden")&&_53c&&_53c.style&&(_53c.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_53d,_53e,_53f,_540){var _541=_53e("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_542){if(this._hash[_542.id]){throw new Error("Tried to register widget with id=="+_542.id+" but that id is already registered");}this._hash[_542.id]=_542;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_543){_543=_543||_53f.global;var i=0,id;for(id in this._hash){func.call(_543,this._hash[id],i++,this._hash);}return this;},filter:function(_544,_545){_545=_545||_53f.global;var res=new _541(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_544.call(_545,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _541(),id,_546;for(id in this._hash){_546=this._hash[id];if(_546.declaredClass==cls){res.add(_546);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_547){return _53d.map(this.toArray(),func,_547);},every:function(func,_548){_548=_548||_53f.global;var x=0,i;for(i in this._hash){if(!func.call(_548,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_549){_549=_549||_53f.global;var x=0,i;for(i in this._hash){if(func.call(_549,this._hash[i],x++,this._hash)){return true;}}return false;}});_53d.forEach(["forEach","filter","byClass","map","every","some"],function(func){_540[func]=_541.prototype[func];});return _541;});},"dojo/dnd/Moveable":function(){define("dojo/dnd/Moveable",["../_base/array","../_base/declare","../_base/event","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_54a,_54b,_54c,lang,dom,_54d,_54e,on,_54f,_550,dnd,_551,win){var _552=_54b("dojo.dnd.Moveable",[_54e],{handle:"",delay:0,skip:false,constructor:function(node,_553){this.node=dom.byId(node);if(!_553){_553={};}this.handle=_553.handle?dom.byId(_553.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_553.delay>0?_553.delay:0;this.skip=_553.skip;this.mover=_553.mover?_553.mover:_551;this.events=[on(this.handle,_550.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_554,node,Ctor){return new Ctor(node,_554);},destroy:function(){_54a.forEach(this.events,function(_555){_555.remove();});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,_550.move,lang.hitch(this,"onMouseMove")),on(this.handle,_550.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}_54c.stop(e);},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);}_54c.stop(e);},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}_54c.stop(e);},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){_54c.stop(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_556){_54f.publish("/dnd/move/start",_556);_54d.add(win.body(),"dojoMove");_54d.add(this.node,"dojoMoveItem");},onMoveStop:function(_557){_54f.publish("/dnd/move/stop",_557);_54d.remove(win.body(),"dojoMove");_54d.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_558,_559){this.onMoving(_558,_559);var s=_558.node.style;s.left=_559.l+"px";s.top=_559.t+"px";this.onMoved(_558,_559);},onMoving:function(){},onMoved:function(){}});return _552;});},"dojo/store/util/SimpleQueryEngine":function(){define("dojo/store/util/SimpleQueryEngine",["../../_base/array"],function(_55a){return function(_55b,_55c){switch(typeof _55b){default:throw new Error("Can not query with a "+typeof _55b);case "object":case "undefined":var _55d=_55b;_55b=function(_55e){for(var key in _55d){var _55f=_55d[key];if(_55f&&_55f.test){if(!_55f.test(_55e[key],_55e)){return false;}}else{if(_55f!=_55e[key]){return false;}}}return true;};break;case "string":if(!this[_55b]){throw new Error("No filter function "+_55b+" was found in store");}_55b=this[_55b];case "function":}function _560(_561){var _562=_55a.filter(_561,_55b);var _563=_55c&&_55c.sort;if(_563){_562.sort(typeof _563=="function"?_563:function(a,b){for(var sort,i=0;sort=_563[i];i++){var _564=a[sort.attribute];var _565=b[sort.attribute];if(_564!=_565){return !!sort.descending==(_564==null||_564>_565)?-1:1;}}return 0;});}if(_55c&&(_55c.start||_55c.count)){var _566=_562.length;_562=_562.slice(_55c.start||0,(_55c.start||0)+(_55c.count||Infinity));_562.total=_566;}return _562;};_560.matches=_55b;return _560;};});},"dijit/typematic":function(){define("dijit/typematic",["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_567,_568,_569,_56a,lang,on,has,_56b){var _56c=(_56b.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,_56d,node,_56e,obj,_56f,_570,_571){if(obj!=this._obj){this.stop();this._initialDelay=_570||500;this._subsequentDelay=_56f||0.9;this._minDelay=_571||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_56d,_56e);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,_572,_573,_574,_575,_576,_577){if(_572.keyCode){_572.charOrCode=_572.keyCode;_56a.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_572.charCode){_572.charOrCode=String.fromCharCode(_572.charCode);_56a.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _578=[on(node,_568._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_572.charOrCode&&(_572.ctrlKey===undefined||_572.ctrlKey==evt.ctrlKey)&&(_572.altKey===undefined||_572.altKey==evt.altKey)&&(_572.metaKey===undefined||_572.metaKey==(evt.metaKey||false))&&(_572.shiftKey===undefined||_572.shiftKey==evt.shiftKey)){_569.stop(evt);_56c.trigger(evt,_573,node,_574,_572,_575,_576,_577);}else{if(_56c._obj==_572){_56c.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_56c._obj==_572){_56c.stop();}}))];return {remove:function(){_567.forEach(_578,function(h){h.remove();});}};},addMouseListener:function(node,_579,_57a,_57b,_57c,_57d){var _57e=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_56c.trigger(evt,_579,node,_57a,node,_57b,_57c,_57d);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_56c.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_56c.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_56c.trigger(evt,_579,node,_57a,node,_57b,_57c,_57d);setTimeout(lang.hitch(this,_56c.stop),50);}}))];return {remove:function(){_567.forEach(_57e,function(h){h.remove();});}};},addListener:function(_57f,_580,_581,_582,_583,_584,_585,_586){var _587=[this.addKeyListener(_580,_581,_582,_583,_584,_585,_586),this.addMouseListener(_57f,_582,_583,_584,_585,_586)];return {remove:function(){_567.forEach(_587,function(h){h.remove();});}};}});return _56c;});},"dijit/MenuItem":function(){require({cache:{"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"}});define("dijit/MenuItem",["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_588,dom,_589,_58a,_58b,has,_58c,_58d,_58e,_58f,_590){return _588("dijit.MenuItem",[_58c,_58d,_58e,_58f],{templateString:_590,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this.containerNode.innerHTML=val;this._set("label",val);if(this.textDir==="auto"){this.applyTextDir(this.focusNode,this.label);}},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_591){if(_591&&!("label" in this.params)){this.set("label",_591.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _592=this.id+"_text";_589.set(this.containerNode,"id",_592);if(this.accelKeyNode){_589.set(this.accelKeyNode,"id",this.id+"_accel");_592+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_592);dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_onFocus:function(){this._setSelected(true);this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_593){_58a.toggle(this.domNode,"dijitMenuItemSelected",_593);},setLabel:function(_594){_58b.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_594);},setDisabled:function(_595){_58b.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_595);},_setDisabledAttr:function(_596){this.focusNode.setAttribute("aria-disabled",_596?"true":"false");this._set("disabled",_596);},_setAccelKeyAttr:function(_597){this.accelKeyNode.style.display=_597?"":"none";this.accelKeyNode.innerHTML=_597;_589.set(this.containerNode,"colSpan",_597?"1":"2");this._set("accelKey",_597);},_setTextDirAttr:function(_598){if(!this._created||this.textDir!=_598){this._set("textDir",_598);this.applyTextDir(this.focusNode,this.label);}}});});},"dijit/layout/TabController":function(){require({cache:{"url:dijit/layout/templates/_TabButton.html":"
\n\t
\n\t
\n\t
\n\t\t[x] \n
\n"}});define("dijit/layout/TabController",["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_599,dom,_59a,_59b,i18n,lang,_59c,_59d,Menu,_59e,_59f){var _5a0=_599("dijit.layout._TabButton",_59c.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_59f,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);_59b.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _5a1=i18n.getLocalization("dijit","common");if(this.closeNode){_59a.set(this.closeNode,"title",_5a1.itemClose);}}},_setDisabledAttr:function(_5a2){this.inherited(arguments);if(this.closeNode){if(_5a2){_59a.remove(this.closeNode,"title");}else{var _5a3=i18n.getLocalization("dijit","common");_59a.set(this.closeNode,"title",_5a3.itemClose);}}},_setLabelAttr:function(_5a4){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});var _5a5=_599("dijit.layout.TabController",_59c,{baseClass:"dijitTabController",templateString:"
",tabPosition:"top",buttonWidget:_5a0,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _5a6=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 _59b.contains(node,"dijitClosable")&&!_59b.contains(node,"dijitTabDisabled");}});this.own(_5a6);var _5a7=i18n.getLocalization("dijit","common"),_5a8=this;_5a6.addChild(new _59e({label:_5a7.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _5a9=_59d.byNode(this.getParent().currentTarget);_5a8.onCloseButtonClick(_5a9.page);}}));}});_5a5.TabButton=_5a0;return _5a5;});},"dijit/layout/_LayoutWidget":function(){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_5aa,_5ab,_5ac,_5ad,_5ae,_5af,_5b0,_5b1){return _5ae("dijit.layout._LayoutWidget",[_5aa,_5ab,_5ac],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_5af.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _5b2=this.getParent&&this.getParent();if(!(_5b2&&_5b2.isLayoutContainer)){this.resize();this.own(_5ad.on("resize",lang.hitch(this,"resize")));}},resize:function(_5b3,_5b4){var node=this.domNode;if(_5b3){_5b0.setMarginBox(node,_5b3);}var mb=_5b4||{};lang.mixin(mb,_5b3||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_5b0.getMarginBox(node),mb);}var cs=_5b1.getComputedStyle(node);var me=_5b0.getMarginExtents(node,cs);var be=_5b0.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_5b0.getPadExtents(node,cs);this._contentBox={l:_5b1.toPixelValue(node,cs.paddingLeft),t:_5b1.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_5b5){var cls=this.baseClass+"-child "+(_5b5.baseClass?this.baseClass+"-"+_5b5.baseClass:"");_5af.add(_5b5.domNode,cls);},addChild:function(_5b6,_5b7){this.inherited(arguments);if(this._started){this._setupChild(_5b6);}},removeChild:function(_5b8){var cls=this.baseClass+"-child"+(_5b8.baseClass?" "+this.baseClass+"-"+_5b8.baseClass:"");_5af.remove(_5b8.domNode,cls);this.inherited(arguments);}});});},"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./place","./BackgroundIframe","./main"],function(_5b9,_5ba,_5bb,_5bc,dom,_5bd,_5be,_5bf,_5c0,_5c1,keys,lang,on,has,_5c2,_5c3,_5c4){function _5c5(){if(this._popupWrapper){_5be.destroy(this._popupWrapper);delete this._popupWrapper;}};var _5c6=_5bc(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_5c7){var _5c8=_5c7._popupWrapper,node=_5c7.domNode;if(!_5c8){_5c8=_5be.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},_5c7.ownerDocumentBody);_5c8.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_5c7._popupWrapper=_5c8;_5ba.after(_5c7,"destroy",_5c5,true);}return _5c8;},moveOffScreen:function(_5c9){var _5ca=this._createWrapper(_5c9);_5c0.set(_5ca,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_5cb){var _5cc=this._createWrapper(_5cb);_5c0.set(_5cc,"display","none");},getTopPopup:function(){var _5cd=this._stack;for(var pi=_5cd.length-1;pi>0&&_5cd[pi].parent===_5cd[pi-1].widget;pi--){}return _5cd[pi];},open:function(args){var _5ce=this._stack,_5cf=args.popup,_5d0=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_5bf.isBodyLtr(_5cf.ownerDocument),_5d1=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_5ce.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_5ce[_5ce.length-1].widget.domNode))){this.close(_5ce[_5ce.length-1].widget);}var _5d2=this._createWrapper(_5cf);_5bd.set(_5d2,{id:id,style:{zIndex:this._beginZIndex+_5ce.length},"class":"dijitPopup "+(_5cf.baseClass||_5cf["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("ie")||has("mozilla")){if(!_5cf.bgIframe){_5cf.bgIframe=new _5c3(_5d2);}}var best=_5d1?_5c2.around(_5d2,_5d1,_5d0,ltr,_5cf.orient?lang.hitch(_5cf,"orient"):null):_5c2.at(_5d2,args,_5d0=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_5d2.style.display="";_5d2.style.visibility="visible";_5cf.domNode.style.visibility="visible";var _5d3=[];_5d3.push(on(_5d2,_5bb._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_5c1.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_5c1.stop(evt);var _5d4=this.getTopPopup();if(_5d4&&_5d4.onCancel){_5d4.onCancel();}}}})));if(_5cf.onCancel&&args.onCancel){_5d3.push(_5cf.on("cancel",args.onCancel));}_5d3.push(_5cf.on(_5cf.onExecute?"execute":"change",lang.hitch(this,function(){var _5d5=this.getTopPopup();if(_5d5&&_5d5.onExecute){_5d5.onExecute();}})));_5ce.push({widget:_5cf,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_5d3});if(_5cf.onOpen){_5cf.onOpen(best);}return best;},close:function(_5d6){var _5d7=this._stack;while((_5d6&&_5b9.some(_5d7,function(elem){return elem.widget==_5d6;}))||(!_5d6&&_5d7.length)){var top=_5d7.pop(),_5d8=top.widget,_5d9=top.onClose;if(_5d8.onClose){_5d8.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_5d8&&_5d8.domNode){this.hide(_5d8);}if(_5d9){_5d9();}}}});return (_5c4.popup=new _5c6());});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_5da,_5db,lang,_5dc,_5dd){var _5de={};_5da.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_5de[name]=_5dc[name];});lang.mixin(_5de,{defaultDuration:_5db["defaultDuration"]||200});lang.mixin(_5dd,_5de);return _5dd;});},"dijit/layout/StackController":function(){define("dijit/layout/StackController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/i18n!../nls/common"],function(_5df,_5e0,_5e1,_5e2,keys,lang,on,_5e3,_5e4,_5e5,_5e6,_5e7,_5e8){var _5e9=_5e0("dijit.layout._StackButton",_5e8,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _5ea=_5e0("dijit.layout.StackController",[_5e5,_5e6,_5e7],{baseClass:"dijitStackController",templateString:"
",containerId:"",buttonWidget:_5e9,buttonWidgetCloseClass:"dijitStackCloseButton",constructor:function(_5eb){this.pane2button={};},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");this.connect(this.containerNode,"click",function(evt){var _5ec=_5e4.getEnclosingWidget(evt.target);if(_5ec!=this.containerNode&&!_5ec.disabled&&_5ec.page){for(var _5ed=evt.target;_5ed!==this.containerNode;_5ed=_5ed.parentNode){if(_5e1.contains(_5ed,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_5ec.page);break;}else{if(_5ed==_5ec.domNode){this.onButtonClick(_5ec.page);break;}}}}});},onStartup:function(info){_5df.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _5ee=_5e4.byId(this.containerId).containerNode,_5ef=this.pane2button,_5f0={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled"},_5f1=function(attr,_5f2){return on(_5ee,"attrmodified-"+attr,function(evt){var _5f3=_5ef[evt.detail&&evt.detail.widget&&evt.detail.widget.id];if(_5f3){_5f3.set(_5f2,evt.detail.newValue);}});};for(var attr in _5f0){this.own(_5f1(attr,_5f0[attr]));}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_5e4.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_5f4){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _5f5=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,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_5f5,_5f4);this.pane2button[page.id]=_5f5;page.controlButton=_5f5;if(!this._currentChild){this.onSelectChild(page);}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _5f6=this.pane2button[page.id];if(_5f6){this.removeChild(_5f6);delete this.pane2button[page.id];_5f6.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _5f7=this.pane2button[this._currentChild.id];_5f7.set("checked",false);_5f7.focusNode.setAttribute("tabIndex","-1");}var _5f8=this.pane2button[page.id];_5f8.set("checked",true);this._currentChild=page;_5f8.focusNode.setAttribute("tabIndex","0");var _5f9=_5e4.byId(this.containerId);_5f9.containerNode.setAttribute("aria-labelledby",_5f8.id);},onButtonClick:function(page){var _5fa=this.pane2button[page.id];_5e3.focus(_5fa.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_5fa.set("checked",true);}var _5fb=_5e4.byId(this.containerId);_5fb.selectChild(page);},onCloseButtonClick:function(page){var _5fc=_5e4.byId(this.containerId);_5fc.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_5e3.focus(b.focusNode||b.domNode);}}},adjacent:function(_5fd){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_5fd=!_5fd;}var _5fe=this.getChildren();var idx=_5df.indexOf(_5fe,this.pane2button[this._currentChild.id]),_5ff=_5fe[idx];var _600;do{idx=(idx+(_5fd?1:_5fe.length-1))%_5fe.length;_600=_5fe[idx];}while(_600.disabled&&_600!=_5ff);return _600;},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _601=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_601=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_601=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_601=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_601=true;}break;case keys.HOME:var _602=this.getChildren();for(var idx=0;idx<_602.length;idx++){var _603=_602[idx];if(!_603.disabled){this.onButtonClick(_603.page);break;}}_5e2.stop(e);break;case keys.END:var _602=this.getChildren();for(var idx=_602.length-1;idx>=0;idx--){var _603=_602[idx];if(!_603.disabled){this.onButtonClick(_603.page);break;}}_5e2.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_5e2.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.onButtonClick(this.adjacent(!e.shiftKey).page);_5e2.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_5e2.stop(e);}}}}if(_601!==null){this.onButtonClick(this.adjacent(_601).page);_5e2.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_5ea.StackButton=_5e9;return _5ea;});},"dojo/dnd/Mover":function(){define("dojo/dnd/Mover",["../_base/array","../_base/declare","../_base/event","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_604,_605,_606,lang,has,win,dom,_607,_608,_609,on,_60a,dnd,_60b){return _605("dojo.dnd.Mover",[_609],{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;this.events=[on(d,_60a.move,lang.hitch(this,"onFirstMove")),on(d,_60a.move,lang.hitch(this,"onMouseMove")),on(d,_60a.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_606.stop),on(d.body,"selectstart",_606.stop)];_60b.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_60b.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);_606.stop(e);},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}_606.stop(e);},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_607.getMarginBox(this.node);var b=win.doc.body;var bs=_608.getComputedStyle(b);var bm=_607.getMarginBox(b,bs);var bc=_607.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(){_604.forEach(this.events,function(_60c){_60c.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dijit/layout/TabContainer":function(){define("dijit/layout/TabContainer",["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_60d,_60e,_60f,_610){return _60d("dijit.layout.TabContainer",_60e,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_611){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_60f=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _60f({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},_611);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_610:_60f;}}});});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_612,_613,_614,_615,_616,lang,on,has,win){var _617=new function(){var _618=[];this.pop=function(){var _619;if(_618.length){_619=_618.pop();_619.style.display="";}else{if(has("ie")<9){var burl=_614["dojoBlankHtmlUrl"]||_612.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="
\n","dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/Toolbar":function(){define("dijit/Toolbar",["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_6a7,_6a8,has,keys,_6a9,_6aa,_6ab,_6ac){if(has("dijit-legacy-requires")){_6a9(0,function(){var _6ad=["dijit/ToolbarSeparator"];_6a7(_6ad);});}return _6a8("dijit.Toolbar",[_6aa,_6ac,_6ab],{templateString:"