ttrss/lib/dojo/tt-rss-layer.js

8 lines
438 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
require({cache:{"dijit/form/TextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_1,_2,_3,_4,_5,on,_6,_7,_8,_9,_a){var _b=_1("dijit.form.TextBox"+(_6("dojo-bidi")?"_NoBidi":""),[_7,_8],{templateString:_9,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _c=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_c=="hidden"||_c=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(_6("ie")<9){this.defer(function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _d=this.domNode.getElementsByTagName("INPUT");if(_d){for(var i=0;i<_d.length;i++){_d[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this.own(on(this._phspan,"mousedown",function(_e){_e.preventDefault();}),on(this._phspan,"touchend, pointerup, MSPointerUp",_5.hitch(this,function(){this.focus();})));}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_onInput:function(_f){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_10,_11,_12){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_13){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_13);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(_6("mozilla")){if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(_6("ie")<9){_b.prototype._isTextSelected=function(){var _14=this.ownerDocument.selection.createRange();var _15=_14.parentElement();return _15==this.textbox&&_14.text.length>0;};_a._setSelectionRange=_8._setSelectionRange=function(_16,_17,_18){if(_16.createTextRange){var r=_16.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_17);r.moveEnd("character",_18-_17);r.select();}};}if(_6("dojo-bidi")){_b=_1("dijit.form.TextBox",_b,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _b;});},"dijit/_base/scroll":function(){define(["dojo/window","../main"],function(_19,_1a){_1a.scrollIntoView=function(_1b,pos){_19.scrollIntoView(_1b,pos);};});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_1c,_1d,_1e,_1f,on,has,_20,_21){var _22=_1d("dijit._TemplatedMixin",_21,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(_23){var _24=this.declaredClass,_25=this;return _20.substitute(_23,this,function(_26,key){if(key.charAt(0)=="!"){_26=_1f.getObject(key.substr(1),false,_25);}if(typeof _26=="undefined"){throw new Error(_24+" template:"+key);}if(_26==null){return "";}return key.charAt(0)=="!"?_26:this._escapeValue(""+_26);},this);},_escapeValue:function(val){return val.replace(/["'<>&]/g,function(val){return {"&":"&amp;","<":"&lt;",">":"&gt;","\"":"&quot;","'":"&#x27;"}[val];});},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_1c(this.templatePath,{sanitize:true});}var _27=_22.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var _28;if(_1f.isString(_27)){_28=_1e.toDom(this._stringRepl(_27),this.ownerDocument);if(_28.nodeType!=1){throw new Error("Invalid template: "+_27);}}else{_28=_27.cloneNode(true);}this.domNode=_28;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_29){var _2a=this.containerNode;if(_29&&_2a){while(_29.hasChildNodes()){_2a.appendChild(_29.firstChild);}}}});_22._templateCache={};_22.getCachedTemplate=function(_2b,_2c,doc){var _2d=_22._templateCache;var key=_2b;var _2e=_2d[key];if(_2e){try{if(!_2e.ownerDocument||_2e.ownerDocument==(doc||document)){return _2e;}}catch(e){}_1e.destroy(_2e);}_2b=_20.trim(_2b);if(_2c||_2b.match(/\$\{([^\}]+)\}/g)){return (_2d[key]=_2b);}else{var _2f=_1e.toDom(_2b,doc);if(_2f.nodeType!=1){throw new Error("Invalid template: "+_2b);}return (_2d[key]=_2f);}};if(has("ie")){on(window,"unload",function(){var _30=_22._templateCache;for(var key in _30){var _31=_30[key];if(typeof _31=="object"){_1e.destroy(_31);}delete _30[key];}});}return _22;});},"dijit/_CssStateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],function(_32,_33,dom,_34,has,_35,on,_36,_37,win,_38,_39){var _3a=_33("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_32.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(_3b){this.watch(_3b,_35.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes||{}){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_3c){if(!this.disabled){switch(_3c.type){case "mouseover":case "MSPointerOver":case "pointerover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":case "pointerout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":this._set("active",true);break;case "mouseup":case "dojotouchend":case "MSPointerUp":case "pointerup":case "keyup":this._set("active",false);break;}}},_setStateClass:function(){var _3d=this.baseClass.split(" ");function _3e(_3f){_3d=_3d.concat(_32.map(_3d,function(c){return c+_3f;}),"dijit"+_3f);};if(!this.isLeftToRight()){_3e("Rtl");}var _40=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_3e(_40);}if(this.state){_3e(this.state);}if(this.selected){_3e("Selected");}if(this._opened){_3e("Opened");}if(this.disabled){_3e("Disabled");}else{if(this.readOnly){_3e("ReadOnly");}else{if(this.active){_3e("Active");}else{if(this.hovering){_3e("Hover");}}}}if(this.focused){_3e("Focused");}var tn=this.stateNode||this.domNode,_41={};_32.forEach(tn.className.split(" "),function(c){_41[c]=true;});if("_stateClasses" in this){_32.forEach(this._stateClasses,function(c){delete _41[c];});}_32.forEach(_3d,function(c){_41[c]=true;});var _42=[];for(var c in _41){_42.push(c);}tn.className=_42.join(" ");this._stateClasses=_3d;},_subnodeCssMouseEvent:function(_43,_44,evt){if(this.disabled||this.readOnly){return;}function _45(_46){_34.toggle(_43,_44+"Hover",_46);};function _47(_48){_34.toggle(_43,_44+"Active",_48);};function _49(_4a){_34.toggle(_43,_44+"Focused",_4a);};switch(evt.type){case "mouseover":case "MSPointerOver":case "pointerover":_45(true);break;case "mouseout":case "MSPointerOut":case "pointerout":_45(false);_47(false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":_47(true);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":_47(false);break;case "focus":case "focusin":_49(true);break;case "blur":case "focusout":_49(false);break;}},_trackMouseState:function(_4b,_4c){_4b._cssState=_4c;}});_36(function(){function _4d(evt,_4e,_4f){if(_4f&&dom.isDescendant(_4f,_4e)){return;}for(var _50=_4e;_50&&_50!=_4f;_50=_50.parentNode){if(_50._cssState){var _51=_39.getEnclosingWidget(_50);if(_51){if(_50==_51.domNode){_51._cssMouseEvent(evt);}else{_51._subnodeCssMouseEvent(_50,_50._cssState,evt);}}}}};var _52=win.body(),_53;on(_52,_37.over,function(evt){_4d(evt,evt.target,evt.relatedTarget);});on(_52,_37.out,function(evt){_4d(evt,evt.target,evt.relatedTarget);});on(_52,_38.press,function(evt){_53=evt.target;_4d(evt,_53);});on(_52,_38.release,function(evt){_4d(evt,_53);_53=null;});on(_52,"focusin, focusout",function(evt){var _54=evt.target;if(_54._cssState&&!_54.getAttribute("widgetId")){var _55=_39.getEnclosingWidget(_54);if(_55){_55._subnodeCssMouseEvent(_54,_54._cssState,evt);}}});});return _3a;});},"dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom","../a11yclick"],function(_56,_57,_58,_59,_5a,fx,_5b,on,_5c,has,_5d,_5e,_5f,_60,_61,_62,_63,_64,_65,_66){var _67=_57("dijit.layout.ScrollingTabController",[_60,_62],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_5e,useMenu:true,useSlider:true,tabStripClass:"",_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_58.add(n,"tabStrip-disabled");}_58.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_5a.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",_5b.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(_68,_69){this.inherited(arguments);_5a.set(this.containerNode,"width",(_5a.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_6a,_6b){var _6c=this.pane2button(_6a.id);if(this._selectedTab===_6c.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_5c("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_59.getMarginSize(btn).w;return true;}else{_5a.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _6d=this.getChildren();if(_6d.length){var _6e=_6d[this.isLeftToRight()?0:_6d.length-1].domNode,_6f=_6d[this.isLeftToRight()?_6d.length-1:0].domNode;return _6f.offsetLeft+_6f.offsetWidth-_6e.offsetLeft;}else{return 0;}},_enableBtn:function(_70){var _71=this._getTabsWidth();_70=_70||_5a.get(this.scrollNode,"width");return _71>0&&_70<_71;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_61.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_59.setContentSize(this.domNode,cb);var _72=this._enableBtn(this._contentBox.w);this._buttons.style("display",_72?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_61.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_5a.get(this.containerNode,"width")-_5a.get(this.scrollNode,"width")+(has("trident")||has("edge")?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit")){return val;}else{var _73=_5a.get(this.containerNode,"width")-_5a.get(this.scrollNode,"width");return (has("trident")||has("edge")?-1:1)*(val-_73);}},onSelectChild:function(_74,_75){var tab=this.pane2button(_74.id);if(!tab){return;}var _76=tab.domNode;if(_76!=this._selectedTab){this._selectedTab=_76;if(this._postResize){var sl=this._getScroll();if(sl>_76.offsetLeft||sl+_5a.get(this.scrollNode,"width")<_76.offsetLeft+_5a.get(_76,"width")){var _77=this.createSmoothScroll();if(_75){_77.onEnd=function(){tab.focus();};}_77.play();}else{if(_75){tab.focus();}}}}this.inherited(arguments);},_getScrollBounds:function(){var _78=this.getChildren(),_79=_5a.get(this.scrollNode,"width"),_7a=_5a.get(this.containerNode,"width"),_7b=_7a-_79,_7c=this._getTabsWidth();if(_78.length&&_7c>_79){return {min:this.isLeftToRight()?0:_78[_78.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_78[_78.length-1].domNode.offsetLeft+_78[_78.length-1].domNode.offsetWidth)-_79:_7b};}else{var _7d=this.isLeftToRight()?0:_7b;return {min:_7d,max:_7d};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_7e=_5a.get(this.scrollNode,"width"),_7f=this._getScrollBounds();var pos=(n.offsetLeft+_5a.get(n,"width")/2)-_7e/2;pos=Math.min(Math.max(pos,_7f.min),_7f.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _80=this._getScrollBounds();x=Math.min(Math.max(x,_80.min),_80.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _81=this,w=this.scrollNode,_82=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _83=w.scrollLeft,_84=_81._convertToScrollLeft(x);_82.curve=new fx._Line(_83,_84);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_82;this._setButtonClass(x);return _82;},_getBtnNode:function(e){var n=e.target;while(n&&!_58.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_85,_86){if(_86&&_58.contains(_86,"dijitTabDisabled")){return;}var _87=_5a.get(this.scrollNode,"width");var d=(_87*0.75)*_85;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_88){var _89=this._getScrollBounds();this._leftBtn.set("disabled",_88<=_89.min);this._rightBtn.set("disabled",_88>=_89.max);}});var _8a=_57("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_5f,tabIndex:"",isFocusable:function(){return false;}});_57("dijit.layout._ScrollingTabControllerButton",[_65,_8a]);_57("dijit.layout._ScrollingTabControllerMenuButton",[_65,_66,_8a],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_8b){this.dropDown=new _63({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _8c=_5d.byId(this.containerId);_56.forEach(_8c.getChildren(),function(_8d){var _8e=new _64({id:_8d.id+"_stcMi",label:_8d.title,iconClass:_8d.iconClass,disabled:_8d.disabled,ownerDocument:this.ownerDocument,dir:_8d.dir,lang:_8d.lang,textDir:_8d.textDir||_8c.textDir,onClick:function(){_8c.selectChild(_8d);}});this.dropDown.addChild(_8e);},this);_8b();},closeDropDown:function(_8f){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _67;});},"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/aspect","dojo/dom-attr","dojo/dom-style","dojo/on","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe","./Viewport","./main"],function(_90,_91,_92,_93,_94,on,_95,_96,_97,_98,_99,_9a){var _9b=_90("dijit.DialogUnderlay",[_96,_97],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' tabIndex='-1' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_93.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_9c){this.node.className="dijitDialogUnderlay "+_9c;this._set("class",_9c);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",_91.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _9d=_95.getBox(this.ownerDocument);os.top=_9d.t+"px";os.left=_9d.l+"px";is.width=_9d.w+"px";is.height=_9d.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _98(this.domNode);var win=_95.get(this.ownerDocument);this._modalConnects=[_99.on("resize",_91.hitch(this,"layout")),on(win,"scroll",_91.hitch(this,"layout"))];},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.open=false;},destroy:function(){while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.inherited(arguments);},_onKeyDown:function(){}});_9b.show=function(_9e,_9f){var _a0=_9b._singleton;if(!_a0||_a0._destroyed){_a0=_9a._underlay=_9b._singleton=new _9b(_9e);}else{if(_9e){_a0.set(_9e);}}_94.set(_a0.domNode,"zIndex",_9f);if(!_a0.open){_a0.show();}};_9b.hide=function(){var _a1=_9b._singleton;if(_a1&&!_a1._destroyed){_a1.hide();}};return _9b;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_a2,_a3,_a4,_a5,win,_a6,_a7){function _a8(_a9,_aa,_ab,_ac){var _ad=_a6.getEffectiveBox(_a9.ownerDocument);if(!_a9.parentNode||String(_a9.parentNode.tagName).toLowerCase()!="body"){win.body(_a9.ownerDocument).appendChild(_a9);}var _ae=null;_a2.some(_aa,function(_af){var _b0=_af.corner;var pos=_af.pos;var _b1=0;var _b2={w:{"L":_ad.l+_ad.w-pos.x,"R":pos.x-_ad.l,"M":_ad.w}[_b0.charAt(1)],h:{"T":_ad.t+_ad.h-pos.y,"B":pos.y-_ad.t,"M":_ad.h}[_b0.charAt(0)]};var s=_a9.style;s.left=s.right="auto";if(_ab){var res=_ab(_a9,_af.aroundCorner,_b0,_b2,_ac);_b1=typeof res=="undefined"?0:res;}var _b3=_a9.style;var _b4=_b3.display;var _b5=_b3.visibility;if(_b3.display=="none"){_b3.visibility="hidden";_b3.display="";}var bb=_a3.position(_a9);_b3.display=_b4;_b3.visibility=_b5;var _b6={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(_ad.l,Math.min(_ad.l+_ad.w,pos.x+(bb.w>>1))-bb.w)}[_b0.charAt(1)],_b7={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(_ad.t,Math.min(_ad.t+_ad.h,pos.y+(bb.h>>1))-bb.h)}[_b0.charAt(0)],_b8=Math.max(_ad.l,_b6),_b9=Math.max(_ad.t,_b7),_ba=Math.min(_ad.l+_ad.w,_b6+bb.w),_bb=Math.min(_ad.t+_ad.h,_b7+bb.h),_bc=_ba-_b8,_bd=_bb-_b9;_b1+=(bb.w-_bc)+(bb.h-_bd);if(_ae==null||_b1<_ae.overflow){_ae={corner:_b0,aroundCorner:_af.aroundCorner,x:_b8,y:_b9,w:_bc,h:_bd,overflow:_b1,spaceAvailable:_b2};}return !_b1;});if(_ae.overflow&&_ab){_ab(_a9,_ae.aroundCorner,_ae.corner,_ae.spaceAvailable,_ac);}var top=_ae.y,_be=_ae.x,_bf=win.body(_a9.ownerDocument);if(/relative|absolute/.test(_a4.get(_bf,"position"))){top-=_a4.get(_bf,"marginTop");_be-=_a4.get(_bf,"marginLeft");}var s=_a9.style;s.top=top+"px";s.left=_be+"px";s.right="auto";return _ae;};var _c0={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _c1={at:function(_c2,pos,_c3,_c4,_c5){var _c6=_a2.map(_c3,function(_c7){var c={corner:_c7,aroundCorner:_c0[_c7],pos:{x:pos.x,y:pos.y}};if(_c4){c.pos.x+=_c7.charAt(1)=="L"?_c4.x:-_c4.x;c.pos.y+=_c7.charAt(0)=="T"?_c4.y:-_c4.y;}return c;});return _a8(_c2,_c6,_c5);},around:function(_c8,_c9,_ca,_cb,_cc){var _cd;if(typeof _c9=="string"||"offsetWidth" in _c9||"ownerSVGElement" in _c9){_cd=_a3.position(_c9,true);if(/^(above|below)/.test(_ca[0])){var _ce=_a3.getBorderExtents(_c9),_cf=_c9.firstChild?_a3.getBorderExtents(_c9.firstChild):{t:0,l:0,b:0,r:0},_d0=_a3.getBorderExtents(_c8),_d1=_c8.firstChild?_a3.getBorderExtents(_c8.firstChild):{t:0,l:0,b:0,r:0};_cd.y+=Math.min(_ce.t+_cf.t,_d0.t+_d1.t);_cd.h-=Math.min(_ce.t+_cf.t,_d0.t+_d1.t)+Math.min(_ce.b+_cf.b,_d0.b+_d1.b);}}else{_cd=_c9;}if(_c9.parentNode){var _d2=_a4.getComputedStyle(_c9).position=="absolute";var _d3=_c9.parentNode;while(_d3&&_d3.nodeType==1&&_d3.nodeName!="BODY"){var _d4=_a3.position(_d3,true),pcs=_a4.getComputedStyle(_d3);if(/relative|absolute/.test(pcs.position)){_d2=false;}if(!_d2&&/hidden|auto|scroll/.test(pcs.overflow)){var _d5=Math.min(_cd.y+_cd.h,_d4.y+_d4.h);var _d6=Math.min(_cd.x+_cd.w,_d4.x+_d4.w);_cd.x=Math.max(_cd.x,_d4.x);_cd.y=Math.max(_cd.y,_d4.y);_cd.h=_d5-_cd.y;_cd.w=_d6-_cd.x;}if(pcs.position=="absolute"){_d2=true;}_d3=_d3.parentNode;}}var x=_cd.x,y=_cd.y,_d7="w" in _cd?_cd.w:(_cd.w=_cd.width),_d8="h" in _cd?_cd.h:(_a5.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_cd.height+", width:"+_d7+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_cd.height+", w:"+_d7+" }","","2.0"),_cd.h=_cd.height);var _d9=[];function _da(_db,_dc){_d9.push({aroundCorner:_db,corner:_dc,pos:{x:{"L":x,"R":x+_d7,"M":x+(_d7>>1)}[_db.charAt(1)],y:{"T":y,"B":y+_d8,"M":y+(_d8>>1)}[_db.charAt(0)]}});};_a2.forEach(_ca,function(pos){var ltr=_cb;switch(pos){case "above-centered":_da("TM","BM");break;case "below-centered":_da("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":_da(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":_da(ltr?"TL":"TR",ltr?"TR":"TL");_da(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":_da(ltr?"BL":"BR",ltr?"TL":"TR");_da(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":_da(ltr?"TL":"TR",ltr?"BL":"BR");_da(ltr?"TR":"TL",ltr?"BR":"BL");break;default:_da(pos.aroundCorner,pos.corner);}});var _dd=_a8(_c8,_d9,_cc,{w:_d7,h:_d8});_dd.aroundNodePos=_cd;return _dd;}};return _a7.place=_c1;});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_de,_df,dom,_e0,_e1,_e2,_e3,has,_e4,_e5,on,_e6,_e7,_e8,_e9,_ea){return _de("dijit._HasDropDown",_ea,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_e6.release,_e5.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _eb=this.dropDown,_ec=false;if(e&&this._opened){var c=_e2.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_ec){if(_e1.contains(t,"dijitPopup")){_ec=true;}else{t=t.parentNode;}}if(_ec){t=e.target;if(_eb.onItemClick){var _ed;while(t&&!(_ed=_e7.byNode(t))){t=t.parentNode;}if(_ed&&_ed.onClick&&_ed.getParent){_ed.getParent().onItemClick(_ed,e);}}return;}}}if(this._opened){if(_eb.focus&&(_eb.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_eb.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _ee={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_e1.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_ee+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _ef=this.focusNode||this.domNode;this.own(on(this._buttonNode,_e6.press,_e5.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",_e5.hitch(this,"_onDropDownClick")),on(_ef,"keydown",_e5.hitch(this,"_onKey")),on(_ef,"keyup",_e5.hitch(this,"_onKeyUp")));},destroy:function(){if(this._opened){this.closeDropDown(true);}if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_f0=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==_e4.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==_e4.DOWN_ARROW||((e.keyCode==_e4.ENTER||(e.keyCode==_e4.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_f0.tagName||"").toLowerCase()!=="input"||(_f0.type&&_f0.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(_e5.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_f1){_f1();},loadAndOpenDropDown:function(){var d=new _df(),_f2=_e5.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_f2);}else{_f2();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _f3=this.dropDown,_f4=_f3.domNode,_f5=this._aroundNode||this.domNode,_f6=this;var _f7=_e9.open({parent:this,popup:_f3,around:_f5,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){_f6.closeDropDown(true);},onCancel:function(){_f6.closeDropDown(true);},onClose:function(){_e0.set(_f6._popupStateNode,"popupActive",false);_e1.remove(_f6._popupStateNode,"dijitHasDropDownOpen");_f6._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_f5.offsetWidth>_f3._popupWrapper.offsetWidth)){var _f8=_f5.offsetWidth-_f3._popupWrapper.offsetWidth;var _f9={w:_f3.domNode.offsetWidth+_f8};this._origStyle=_f4.style.cssText;if(_e5.isFunction(_f3.resize)){_f3.resize(_f9);}else{_e2.setMarginBox(_f4,_f9);}if(_f7.corner[1]=="R"){_f3._popupWrapper.style.left=(_f3._popupWrapper.style.left.replace("px","")-_f8)+"px";}}_e0.set(this._popupStateNode,"popupActive","true");_e1.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_f3.id);if(_f4.getAttribute("role")!=="presentation"&&!_f4.getAttribute("aria-labelledby")){_f4.setAttribute("aria-labelledby",this.id);}return _f7;},closeDropDown:function(_fa){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_fa&&this.focus){this.focus();}_e9.close(this.dropDown);this._opened=false;}if(this._origStyle){this.dropDown.domNode.style.cssText=this._origStyle;delete this._origStyle;}}});});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_fb,_fc,_fd,_fe){return _fd("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_ff){_fe.mixin(this,_ff);this.connects=[];var _100=this.store;if(!_100.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_100.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_fc.after(_100,"onNew",_fe.hitch(this,"onNewItem"),true),_fc.after(_100,"onDelete",_fe.hitch(this,"onDeleteItem"),true),_fc.after(_100,"onSet",_fe.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_101,_102){if(this.root){_101(this.root);}else{this.store.fetch({query:this.query,onComplete:_fe.hitch(this,function(_103){if(_103.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_103.length+" items, but must return exactly one");}this.root=_103[0];_101(this.root);}),onError:_102});}},mayHaveChildren:function(item){return _fb.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_104,_105,_106){var _107=this.store;if(!_107.isItemLoaded(_104)){var _108=_fe.hitch(this,arguments.callee);_107.loadItem({item:_104,onItem:function(_109){_108(_109,_105,_106);},onError:_106});return;}var _10a=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_107.getValues(_104,this.childrenAttrs[i]);_10a=_10a.concat(vals);}var _10b=0;if(!this.deferItemLoadingUntilExpand){_fb.forEach(_10a,function(item){if(!_107.isItemLoaded(item)){_10b++;}});}if(_10b==0){_105(_10a);}else{_fb.forEach(_10a,function(item,idx){if(!_107.isItemLoaded(item)){_107.loadItem({item:item,onItem:function(item){_10a[idx]=item;if(--_10b==0){_105(_10a);}},onError:_106});}});}},isItem:function(_10c){return this.store.isItem(_10c);},fetchItemByIdentity:function(_10d){this.store.fetchItemByIdentity(_10d);},getIdentity:function(item){return this.store.getIdentity(item);},getLabel:function(item){if(this.labelAttr){return this.store.getValue(item,this.labelAttr);}else{return this.store.getLabel(item);}},newItem:function(args,_10e,_10f){var _110={parent:_10e,attribute:this.childrenAttrs[0]},_111;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_10e,true,_10f);}else{_111=this.store.newItem(args,_110);if(_111&&(_10f!=undefined)){this.pasteItem(_111,_10e,_10e,false,_10f);}}}});}else{_111=this.store.newItem(args,_110);if(_111&&(_10f!=undefined)){this.pasteItem(_111,_10e,_10e,false,_10f);}}},pasteItem:function(_112,_113,_114,_115,_116){var _117=this.store,_118=this.childrenAttrs[0];if(_113){_fb.forEach(this.childrenAttrs,function(attr){if(_117.containsValue(_113,attr,_112)){if(!_115){var _119=_fb.filter(_117.getValues(_113,attr),function(x){return x!=_112;});_117.setValues(_113,attr,_119);}_118=attr;}});}if(_114){if(typeof _116=="number"){var _11a=_117.getValues(_114,_118).slice();_11a.splice(_116,0,_112);_117.setValues(_114,_118,_11a);}else{_117.setValues(_114,_118,_117.getValues(_114,_118).concat(_112));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_11b){if(!_11b){return;}this.getChildren(_11b.item,_fe.hitch(this,function(_11c){this.onChildrenChange(_11b.item,_11c);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_11d){if(_fb.indexOf(this.childrenAttrs,_11d)!=-1){this.getChildren(item,_fe.hitch(this,function(_11e){this.onChildrenChange(item,_11e);}));}else{this.onChange(item);}}});});},"dijit/_MenuBase":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./registry","./_Widget","./_CssStateMixin","./_KeyNavContainer","./_TemplatedMixin"],function(_11f,_120,dom,_121,_122,lang,_123,on,_124,_125,_126,_127,_128,_129,_12a){return _120("dijit._MenuBase",[_127,_12a,_129,_128],{selected:null,_setSelectedAttr:function(item){if(this.selected!=item){if(this.selected){this.selected._setSelected(false);this._onChildDeselect(this.selected);}if(item){item._setSelected(true);}this._set("selected",item);}},activated:false,_setActivatedAttr:function(val){_122.toggle(this.domNode,"dijitMenuActive",val);_122.toggle(this.domNode,"dijitMenuPassive",!val);this._set("activated",val);},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:false,childSelector:function(node){var _12b=_126.byNode(node);return node.parentNode==this.containerNode&&_12b&&_12b.focus;},postCreate:function(){var self=this,_12c=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_12c,_123.enter),function(){self.onItemHover(_126.byNode(this));}),on(this.containerNode,on.selector(_12c,_123.leave),function(){self.onItemUnhover(_126.byNode(this));}),on(this.containerNode,on.selector(_12c,_125),function(evt){self.onItemClick(_126.byNode(this),evt);evt.stopPropagation();}),on(this.containerNode,on.selector(_12c,"focusin"),function(){self._onItemFocus(_126.byNode(this));}));this.inherited(arguments);},onKeyboardSearch:function(item,evt,_12d,_12e){this.inherited(arguments);if(!!item&&(_12e==-1||(!!item.popup&&_12e==1))){this.onItemClick(item,evt);}},_keyboardSearchCompare:function(item,_12f){if(!!item.shortcutKey){return _12f==item.shortcutKey.toLowerCase()?-1:0;}return this.inherited(arguments)?1:0;},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _130=this._getTopMenu();if(_130&&_130._isMenuBar){_130.focusNext();}}},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer();},onItemHover:function(item){if(this.activated){this.set("selected",item);if(item.popup&&!item.disabled&&!this.hover_timer){this.hover_timer=this.defer(function(){this._openItemPopup(item);},this.popupDelay);}}else{if(this.passivePopupDelay<Infinity){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.passive_hover_timer=this.defer(function(){this.onItemClick(item,{type:"click"});},this.passivePopupDelay);}}this._hoveredChild=item;item._set("hovering",true);},_onChildDeselect:function(item){this._stopPopupTimer();if(this.currentPopupItem==item){this._stopPendingCloseTimer();this._pendingClose_timer=this.defer(function(){this._pendingClose_timer=null;this.currentPopupItem=null;item._closePopup();},this.popupDelay);}},onItemUnhover:function(item){if(this._hoveredChild==item){this._hoveredChild=null;}if(this.passive_hover_timer){this.passive_hover_timer.remove();this.passive_hover_timer=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(){if(this._pendingClose_timer){this._pendingClose_timer=this._pendingClose_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this.set("selected",item);this.set("activated",true);var _131=/^key/.test(evt._origType||evt.type)||(evt.clientX==0&&evt.clientY==0);this._openItemPopup(item,_131);}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openItemPopup:function(_132,_133){if(_132==this.currentPopupItem){return;}if(this.currentPopupItem){this._stopPendingCloseTimer();this.currentPopupItem._closePopup();}this._stopPopupTimer();var _134=_132.popup;_134.parentMenu=this;this.own(this._mouseoverHandle=on.once(_134.domNode,"mouseover",lang.hitch(this,"_onPopupHover")));var self=this;_132._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){if(_133){self.focusChild(_132);}self._cleanUp();},onExecute:lang.hitch(this,"_cleanUp",true),onClose:function(){if(self._mouseoverHandle){self._mouseoverHandle.remove();delete self._mouseoverHandle;}}},_133);this.currentPopupItem=_132;},onOpen:function(){this.isShowingNow=true;this.set("activated",true);},onClose:function(){this.set("activated",false);this.set("selected",null);this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopupItem){if(this.focused){_121.set(this.selected.focusNode,"tabIndex",this.tabIndex);this.selected.focusNode.focus();}this.currentPopupItem._closePopup();this.currentPopupItem=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}this.set("selected",item);},_onBlur:function(){this._cleanUp(true);this.inherited(arguments);},_cleanUp:function(_135){this._closeChild();if(typeof this.isShowingNow=="undefined"){this.set("activated",false);}if(_135){this.set("selected",null);}}});});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_136,_137,dom,_138,_139,_13a,_13b,lang,on,_13c,has,_13d,win,_13e,a11y,_13f,_140){var _141;var _142;var _143=_137([_13d,_13b],{curNode:null,activeStack:[],constructor:function(){var _144=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_136.before(_13a,"empty",_144);_136.before(_13a,"destroy",_144);},registerIframe:function(_145){return this.registerWin(_145.contentWindow,_145);},registerWin:function(_146,_147){var _148=this,body=_146.document&&_146.document.body;if(body){var _149=has("pointer-events")?"pointerdown":has("MSPointer")?"MSPointerDown":has("touch-events")?"mousedown, touchstart":"mousedown";var mdh=on(_146.document,_149,function(evt){if(evt&&evt.target&&evt.target.parentNode==null){return;}_148._onTouchNode(_147||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isFocusable(evt.target)){_148._onFocusNode(_147||evt.target);}else{_148._onTouchNode(_147||evt.target);}});var foh=on(body,"focusout",function(evt){_148._onBlurNode(_147||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){var now=(new Date()).getTime();if(now<_141+100){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}if(now<_142+100){return;}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){_142=(new Date()).getTime();if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_139.contains(node,"dijitPopup")){node=node.firstChild;}var _14a=[];try{while(node){var _14b=_138.get(node,"dijitPopupParent");if(_14b){node=_13f.byId(_14b).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_13e.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_14c=id&&_13f.byId(id);if(_14c&&!(by=="mouse"&&_14c.get("disabled"))){_14a.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_14a,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}_141=(new Date()).getTime();if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_14d,by){var _14e=this.activeStack,_14f=_14e.length-1,_150=_14d.length-1;if(_14d[_150]==_14e[_14f]){return;}this.set("activeStack",_14d);var _151,i;for(i=_14f;i>=0&&_14e[i]!=_14d[i];i--){_151=_13f.byId(_14e[i]);if(_151){_151._hasBeenBlurred=true;_151.set("focused",false);if(_151._focusManager==this){_151._onBlur(by);}this.emit("widget-blur",_151,by);}}for(i++;i<=_150;i++){_151=_13f.byId(_14d[i]);if(_151){_151.set("focused",true);if(_151._focusManager==this){_151._onFocus(by);}this.emit("widget-focus",_151,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _152=new _143();_13c(function(){var _153=_152.registerWin(_13e.get(document));if(has("ie")){on(window,"unload",function(){if(_153){_153.remove();_153=null;}});}});_140.focus=function(node){_152.focus(node);};for(var attr in _152){if(!/^_/.test(attr)){_140.focus[attr]=typeof _152[attr]=="function"?lang.hitch(_152,attr):_152[attr];}}_152.watch(function(attr,_154,_155){_140.focus[attr]=_155;});return _152;});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_156,has,_157,_158,lang,xhr,json,_159){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _15a=dojo.i18n={},_15b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_15c=function(root,_15d,_15e,_15f){for(var _160=[_15e+_15f],_161=_15d.split("-"),_162="",i=0;i<_161.length;i++){_162+=(_162?"-":"")+_161[i];if(!root||root[_162]){_160.push(_15e+_162+"/"+_15f);_160.specificity=_162;}}return _160;},_163={},_164=function(_165,_166,_167){_167=_167?_167.toLowerCase():dojo.locale;_165=_165.replace(/\./g,"/");_166=_166.replace(/\./g,"/");return (/root/i.test(_167))?(_165+"/nls/"+_166):(_165+"/nls/"+_167+"/"+_166);},_168=dojo.getL10nName=function(_169,_16a,_16b){return _169=_159.id+"!"+_164(_169,_16a,_16b);},_16c=function(_16d,_16e,_16f,_170,_171,load){_16d([_16e],function(root){var _172=lang.clone(root.root||root.ROOT),_173=_15c(!root._v1x&&root,_171,_16f,_170);_16d(_173,function(){for(var i=1;i<_173.length;i++){_172=lang.mixin(lang.clone(_172),arguments[i]);}var _174=_16e+"/"+_171;_163[_174]=_172;_172.$locale=_173.specificity;load();});});},_175=function(id,_176){return /^\./.test(id)?_176(id):id;},_177=function(_178){var list=_158.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_178);return list;},load=function(id,_179,load){var _17a=_15b.exec(id),_17b=_17a[1]+"/",_17c=_17a[5]||_17a[4],_17d=_17b+_17c,_17e=(_17a[5]&&_17a[4]),_17f=_17e||dojo.locale||"",_180=_17d+"/"+_17f,_181=_17e?[_17f]:_177(_17f),_182=_181.length,_183=function(){if(!--_182){load(lang.delegate(_163[_180]));}},_184=id.split("*"),_185=_184[1]=="preload";if(has("dojo-preload-i18n-Api")){if(_185){if(!_163[id]){_163[id]=1;_18f(_184[2],json.parse(_184[3]),1,_179);}load(1);}if(_185||(_1ac(id,_179,load)&&!_163[_180])){return;}}else{if(_185){load(1);return;}}_157.forEach(_181,function(_186){var _187=_17d+"/"+_186;if(has("dojo-preload-i18n-Api")){_188(_187);}if(!_163[_187]){_16c(_179,_17d,_17b,_17c,_186,_183);}else{_183();}});};if(has("dojo-preload-i18n-Api")||1){var _189=_15a.normalizeLocale=function(_18a){var _18b=_18a?_18a.toLowerCase():dojo.locale;return _18b=="root"?"ROOT":_18b;},isXd=function(mid,_18c){return (1&&1)?_18c.isXdUrl(_156.toUrl(mid+".js")):true;},_18d=0,_18e=[],_18f=_15a._preloadLocalizations=function(_190,_191,_192,_193){_193=_193||_156;function _194(mid,_195){if(isXd(mid,_193)||_192){_193([mid],_195);}else{_1b0([mid],_195,_193);}};function _196(_197,func){var _198=_197.split("-");while(_198.length){if(func(_198.join("-"))){return;}_198.pop();}func("ROOT");};function _199(){_18d++;};function _19a(){--_18d;while(!_18d&&_18e.length){load.apply(null,_18e.shift());}};function _19b(path,name,loc,_19c){return _19c.toAbsMid(path+name+"/"+loc);};function _19d(_19e){_19e=_189(_19e);_196(_19e,function(loc){if(_157.indexOf(_191,loc)>=0){var mid=_190.replace(/\./g,"/")+"_"+loc;_199();_194(mid,function(_19f){for(var p in _19f){var _1a0=_19f[p],_1a1=p.match(/(.+)\/([^\/]+)$/),_1a2,_1a3;if(!_1a1){continue;}_1a2=_1a1[2];_1a3=_1a1[1]+"/";if(!_1a0._localized){continue;}var _1a4;if(loc==="ROOT"){var root=_1a4=_1a0._localized;delete _1a0._localized;root.root=_1a0;_163[_156.toAbsMid(p)]=root;}else{_1a4=_1a0._localized;_163[_19b(_1a3,_1a2,loc,_156)]=_1a0;}if(loc!==_19e){function _1a5(_1a6,_1a7,_1a8,_1a9){var _1aa=[],_1ab=[];_196(_19e,function(loc){if(_1a9[loc]){_1aa.push(_156.toAbsMid(_1a6+loc+"/"+_1a7));_1ab.push(_19b(_1a6,_1a7,loc,_156));}});if(_1aa.length){_199();_193(_1aa,function(){for(var i=_1aa.length-1;i>=0;i--){_1a8=lang.mixin(lang.clone(_1a8),arguments[i]);_163[_1ab[i]]=_1a8;}_163[_19b(_1a6,_1a7,_19e,_156)]=lang.clone(_1a8);_19a();});}else{_163[_19b(_1a6,_1a7,_19e,_156)]=_1a8;}};_1a5(_1a3,_1a2,_1a0,_1a4);}}_19a();});return true;}return false;});};_19d();_157.forEach(dojo.config.extraLocale,_19d);},_1ac=function(id,_1ad,load){if(_18d){_18e.push([id,_1ad,load]);}return _18d;},_188=function(){};}if(1){var _1ae={},_1af,_1b0=function(deps,_1b1,_1b2){var _1b3=[];_157.forEach(deps,function(mid){var url=_1b2.toUrl(mid+".js");function load(text){if(!_1af){_1af=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}");}var _1b4=_1af(text,_188,mid,_1ae);if(_1b4===_1ae){_1b3.push(_163[url]=_1ae.result);}else{if(_1b4 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_1b4);_1b4={};}_1b3.push(_163[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_1b4:{root:_1b4,_v1x:1}));}};if(_163[url]){_1b3.push(_163[url]);}else{var _1b5=_1b2.syncLoadNls(mid);if(!_1b5){_1b5=_188(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_1b5){_1b3.push(_1b5);}else{if(!xhr){try{_1b2.getText(url,true,load);}catch(e){_1b3.push(_163[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_1b3.push(_163[url]={});}});}}}});_1b1&&_1b1.apply(null,_1b3);};_188=function(_1b6){for(var _1b7,_1b8=_1b6.split("/"),_1b9=dojo.global[_1b8[0]],i=1;_1b9&&i<_1b8.length-1;_1b9=_1b9[_1b8[i++]]){}if(_1b9){_1b7=_1b9[_1b8[i]];if(!_1b7){_1b7=_1b9[_1b8[i].replace(/-/g,"_")];}if(_1b7){_163[_1b6]=_1b7;}}return _1b7;};_15a.getLocalization=function(_1ba,_1bb,_1bc){var _1bd,_1be=_164(_1ba,_1bb,_1bc);load(_1be,(!isXd(_1be,_156)?function(deps,_1bf){_1b0(deps,_1bf,_156);}:_156),function(_1c0){_1bd=_1c0;});return _1bd;};}return lang.mixin(_15a,{dynamic:true,normalize:_175,load:load,cache:_163,getL10nName:_168});});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_1c1,has,_1c2,win){_1c2(function(){if(has("highcontrast")){_1c1.add(win.body(),"dijit_a11y");}});return has;});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_1c3,_1c4,_1c5,lang,_1c6){return _1c4("dijit.tree.ForestStoreModel",_1c6,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_1c7){this.root={store:this,root:true,id:_1c7.rootId,label:_1c7.rootLabel,children:_1c7.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_1c8,_1c9,_1ca){if(_1c8===this.root){if(this.root.children){_1c9(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1cb){this.root.children=_1cb;_1c9(_1cb);}),onError:_1ca});}}else{this.inherited(arguments);}},isItem:function(_1cc){return (_1cc===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_1cd){if(_1cd.identity==this.root.id){var _1ce=_1cd.scope||_1c5.global;if(_1cd.onItem){_1cd.onItem.call(_1ce,this.root);}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_1cf,_1d0){if(_1cf===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_1d1,_1d2,_1d3,_1d4,_1d5){if(_1d2===this.root){if(!_1d4){this.onLeaveRoot(_1d1);}}this.inherited(arguments,[_1d1,_1d2===this.root?null:_1d2,_1d3===this.root?null:_1d3,_1d4,_1d5]);if(_1d3===this.root){this.onAddToRoot(_1d1);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _1d6=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1d7){this.root.children=_1d7;if(_1d6.length!=_1d7.length||_1c3.some(_1d6,function(item,idx){return _1d7[idx]!=item;})){this.onChildrenChange(this.root,_1d7);}})});},onNewItem:function(item,_1d8){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_1c3.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_1d9,_1da,_1db){this._requeryTop();this.inherited(arguments);}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_1dc,_1dd,_1de,has,i18n){var _1df=_1dd("dijit.form._ComboBoxMenuMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_1e0){this._set("value",_1e0);this.onChange(_1e0);},onClick:function(node){if(node==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(node==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(node);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(item,_1e1){var _1e2=this._createMenuItem();var _1e3=_1e1(item);if(_1e3.html){_1e2.innerHTML=_1e3.label;}else{_1e2.appendChild(_1e2.ownerDocument.createTextNode(_1e3.label));}if(_1e2.innerHTML==""){_1e2.innerHTML="&#160;";}return _1e2;},createOptions:function(_1e4,_1e5,_1e6){this.items=_1e4;this.previousButton.style.display=(_1e5.start==0)?"none":"";_1de.set(this.previousButton,"id",this.id+"_prev");_1dc.forEach(_1e4,function(item,i){var _1e7=this._createOption(item,_1e6);_1e7.setAttribute("item",i);_1de.set(_1e7,"id",this.id+i);this.nextButton.parentNode.insertBefore(_1e7,this.nextButton);},this);var _1e8=false;if(_1e4.total&&!_1e4.total.then&&_1e4.total!=-1){if((_1e5.start+_1e5.count)<_1e4.total){_1e8=true;}else{if((_1e5.start+_1e5.count)>_1e4.total&&_1e5.count==_1e4.length){_1e8=true;}}}else{if(_1e5.count==_1e4.length){_1e8=true;}}this.nextButton.style.display=_1e8?"":"none";_1de.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _1e9=this.containerNode;while(_1e9.childNodes.length>2){_1e9.removeChild(_1e9.childNodes[_1e9.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this.selected;}});if(has("dojo-bidi")){_1df=_1dd("dijit.form._ComboBoxMenuMixin",_1df,{_createOption:function(){var _1ea=this.inherited(arguments);this.applyTextDir(_1ea);return _1ea;}});}return _1df;});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_1eb,keys,lang,_1ec,_1ed,when,_1ee){return _1eb("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_patternToRegExp:function(_1ef){return new RegExp("^"+_1ef.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_1f0,star,_1f1){return star?".*":_1f1?".":_1f0?_1f0:"\\"+str;})+"$",this.ignoreCase?"mi":"m");},_abortQuery:function(){if(this.searchTimer){this.searchTimer=this.searchTimer.remove();}if(this._queryDeferHandle){this._queryDeferHandle=this._queryDeferHandle.remove();}if(this._fetchHandle){if(this._fetchHandle.abort){this._cancelingQuery=true;this._fetchHandle.abort();this._cancelingQuery=false;}if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_processInput:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;this._prev_key_backspace=false;if(key==keys.DELETE||key==keys.BACKSPACE){this._prev_key_backspace=true;this._maskValidSubsetError=true;}if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_startSearch:function(text){this._abortQuery();var _1f2=this,_1ec=lang.clone(this.query),_1f3={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_1ed.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_1f4=function(){var _1f5=_1f2._fetchHandle=_1f2.store.query(_1ec,_1f3);if(_1f2.disabled||_1f2.readOnly||(q!==_1f2._lastQuery)){return;}when(_1f5,function(res){_1f2._fetchHandle=null;if(!_1f2.disabled&&!_1f2.readOnly&&(q===_1f2._lastQuery)){when(_1f5.total,function(_1f6){res.total=_1f6;var _1f7=_1f2.pageSize;if(isNaN(_1f7)||_1f7>res.total){_1f7=res.total;}res.nextPage=function(_1f8){_1f3.direction=_1f8=_1f8!==false;_1f3.count=_1f7;if(_1f8){_1f3.start+=res.length;if(_1f3.start>=res.total){_1f3.count=0;}}else{_1f3.start-=_1f7;if(_1f3.start<0){_1f3.count=Math.max(_1f7+_1f3.start,0);_1f3.start=0;}}if(_1f3.count<=0){res.length=0;_1f2.onSearch(res,_1ec,_1f3);}else{_1f4();}};_1f2.onSearch(res,_1ec,_1f3);});}},function(err){_1f2._fetchHandle=null;if(!_1f2._cancelingQuery){console.error(_1f2.declaredClass+" "+err.toString());}});};lang.mixin(_1f3,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_1ec[this.searchAttr]=q;this._queryDeferHandle=this.defer(_1f4,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_1ee.byId(list);}}this.inherited(arguments);}});});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_1f9,dojo,_1fa,_1fb,_1fc,dom,_1fd,_1fe,_1ff,all,_200,_201,has,_202,don,_203){new Date("X");function _204(text){return eval("("+text+")");};var _205=0;_1ff.after(_1fa,"extend",function(){_205++;},true);function _206(ctor){var map=ctor._nameCaseMap,_207=ctor.prototype;if(!map||map._extendCnt<_205){map=ctor._nameCaseMap={};for(var name in _207){if(name.charAt(0)==="_"){continue;}map[name.toLowerCase()]=name;}map._extendCnt=_205;}return map;};function _208(_209,_20a){if(!_20a){_20a=_1f9;}var _20b=_20a._dojoParserCtorMap||(_20a._dojoParserCtorMap={});var ts=_209.join();if(!_20b[ts]){var _20c=[];for(var i=0,l=_209.length;i<l;i++){var t=_209[i];_20c[_20c.length]=(_20b[t]=_20b[t]||(_1fa.getObject(t)||(~t.indexOf("/")&&_20a(t))));}var ctor=_20c.shift();_20b[ts]=_20c.length?(ctor.createSubclass?ctor.createSubclass(_20c):ctor.extend.apply(ctor,_20c)):ctor;}return _20b[ts];};var _20d={_clearCache:function(){_205++;_ctorMap={};},_functionFromScript:function(_20e,_20f){var _210="",_211="",_212=(_20e.getAttribute(_20f+"args")||_20e.getAttribute("args")),_213=_20e.getAttribute("with");var _214=(_212||"").split(/\s*,\s*/);if(_213&&_213.length){_1fb.forEach(_213.split(/\s*,\s*/),function(part){_210+="with("+part+"){";_211+="}";});}return new Function(_214,_210+_20e.innerHTML+_211);},instantiate:function(_215,_216,_217){_216=_216||{};_217=_217||{};var _218=(_217.scope||dojo._scopeName)+"Type",_219="data-"+(_217.scope||dojo._scopeName)+"-",_21a=_219+"type",_21b=_219+"mixins";var list=[];_1fb.forEach(_215,function(node){var type=_218 in _216?_216[_218]:node.getAttribute(_21a)||node.getAttribute(_218);if(type){var _21c=node.getAttribute(_21b),_21d=_21c?[type].concat(_21c.split(/\s*,\s*/)):[type];list.push({node:node,types:_21d});}});return this._instantiate(list,_216,_217);},_instantiate:function(_21e,_21f,_220,_221){var _222=_1fb.map(_21e,function(obj){var ctor=obj.ctor||_208(obj.types,_220.contextRequire);if(!ctor){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(ctor,obj.node,_21f,_220,obj.scripts,obj.inherited);},this);function _223(_224){if(!_21f._started&&!_220.noStart){_1fb.forEach(_224,function(_225){if(typeof _225.startup==="function"&&!_225._started){_225.startup();}});}return _224;};if(_221){return all(_222).then(_223);}else{return _223(_222);}},construct:function(ctor,node,_226,_227,_228,_229){var _22a=ctor&&ctor.prototype;_227=_227||{};var _22b={};if(_227.defaults){_1fa.mixin(_22b,_227.defaults);}if(_229){_1fa.mixin(_22b,_229);}var _22c;if(has("dom-attributes-explicit")){_22c=node.attributes;}else{if(has("dom-attributes-specified-flag")){_22c=_1fb.filter(node.attributes,function(a){return a.specified;});}else{var _22d=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false),_22e=_22d.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_22c=_1fb.map(_22e.split(/\s+/),function(name){var _22f=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_22f=="enctype"?node.getAttribute(_22f):node.getAttributeNode(_22f).value};});}}var _230=_227.scope||dojo._scopeName,_231="data-"+_230+"-",hash={};if(_230!=="dojo"){hash[_231+"props"]="data-dojo-props";hash[_231+"type"]="data-dojo-type";hash[_231+"mixins"]="data-dojo-mixins";hash[_230+"type"]="dojotype";hash[_231+"id"]="data-dojo-id";}var i=0,item,_232=[],_233,_234;while(item=_22c[i++]){var name=item.name,_235=name.toLowerCase(),_236=item.value;switch(hash[_235]||_235){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_234=_236;break;case "data-dojo-id":case "jsid":_233=_236;break;case "data-dojo-attach-point":case "dojoattachpoint":_22b.dojoAttachPoint=_236;break;case "data-dojo-attach-event":case "dojoattachevent":_22b.dojoAttachEvent=_236;break;case "class":_22b["class"]=node.className;break;case "style":_22b["style"]=node.style&&node.style.cssText;break;default:if(!(name in _22a)){var map=_206(ctor);name=map[_235]||name;}if(name in _22a){switch(typeof _22a[name]){case "string":_22b[name]=_236;break;case "number":_22b[name]=_236.length?Number(_236):NaN;break;case "boolean":_22b[name]=_236.toLowerCase()!="false";break;case "function":if(_236===""||_236.search(/[^\w\.]+/i)!=-1){_22b[name]=new Function(_236);}else{_22b[name]=_1fa.getObject(_236,false)||new Function(_236);}_232.push(name);break;default:var pVal=_22a[name];_22b[name]=(pVal&&"length" in pVal)?(_236?_236.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_236==""?new Date(""):_236=="now"?new Date():_200.fromISOString(_236)):(pVal instanceof _1fe)?(dojo.baseUrl+_236):_204(_236);}}else{_22b[name]=_236;}}}for(var j=0;j<_232.length;j++){var _237=_232[j].toLowerCase();node.removeAttribute(_237);node[_237]=null;}if(_234){try{_234=_204.call(_227.propsThis,"{"+_234+"}");_1fa.mixin(_22b,_234);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_234+"'");}}_1fa.mixin(_22b,_226);if(!_228){_228=(ctor&&(ctor._noScript||_22a._noScript)?[]:_202("> script[type^='dojo/']",node));}var _238=[],_239=[],_23a=[],ons=[];if(_228){for(i=0;i<_228.length;i++){var _23b=_228[i];node.removeChild(_23b);var _23c=(_23b.getAttribute(_231+"event")||_23b.getAttribute("event")),prop=_23b.getAttribute(_231+"prop"),_23d=_23b.getAttribute(_231+"method"),_23e=_23b.getAttribute(_231+"advice"),_23f=_23b.getAttribute("type"),nf=this._functionFromScript(_23b,_231);if(_23c){if(_23f=="dojo/connect"){_238.push({method:_23c,func:nf});}else{if(_23f=="dojo/on"){ons.push({event:_23c,func:nf});}else{_22b[_23c]=nf;}}}else{if(_23f=="dojo/aspect"){_238.push({method:_23d,advice:_23e,func:nf});}else{if(_23f=="dojo/watch"){_23a.push({prop:prop,func:nf});}else{_239.push(nf);}}}}}var _240=ctor.markupFactory||_22a.markupFactory;var _241=_240?_240(_22b,node,ctor):new ctor(_22b,node);function _242(_243){if(_233){_1fa.setObject(_233,_243);}for(i=0;i<_238.length;i++){_1ff[_238[i].advice||"after"](_243,_238[i].method,_1fa.hitch(_243,_238[i].func),true);}for(i=0;i<_239.length;i++){_239[i].call(_243);}for(i=0;i<_23a.length;i++){_243.watch(_23a[i].prop,_23a[i].func);}for(i=0;i<ons.length;i++){don(_243,ons[i].event,ons[i].func);}return _243;};if(_241.then){return _241.then(_242);}else{return _242(_241);}},scan:function(root,_244){var list=[],mids=[],_245={};var _246=(_244.scope||dojo._scopeName)+"Type",_247="data-"+(_244.scope||dojo._scopeName)+"-",_248=_247+"type",_249=_247+"textdir",_24a=_247+"mixins";var node=root.firstChild;var _24b=_244.inherited;if(!_24b){function _24c(node,attr){return (node.getAttribute&&node.getAttribute(attr))||(node.parentNode&&_24c(node.parentNode,attr));};_24b={dir:_24c(root,"dir"),lang:_24c(root,"lang"),textDir:_24c(root,_249)};for(var key in _24b){if(!_24b[key]){delete _24b[key];}}}var _24d={inherited:_24b};var _24e;var _24f;function _250(_251){if(!_251.inherited){_251.inherited={};var node=_251.node,_252=_250(_251.parent);var _253={dir:node.getAttribute("dir")||_252.dir,lang:node.getAttribute("lang")||_252.lang,textDir:node.getAttribute(_249)||_252.textDir};for(var key in _253){if(_253[key]){_251.inherited[key]=_253[key];}}}return _251.inherited;};while(true){if(!node){if(!_24d||!_24d.node){break;}node=_24d.node.nextSibling;_24f=false;_24d=_24d.parent;_24e=_24d.scripts;continue;}if(node.nodeType!=1){node=node.nextSibling;continue;}if(_24e&&node.nodeName.toLowerCase()=="script"){type=node.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_24e.push(node);}node=node.nextSibling;continue;}if(_24f){node=node.nextSibling;continue;}var type=node.getAttribute(_248)||node.getAttribute(_246);var _254=node.firstChild;if(!type&&(!_254||(_254.nodeType==3&&!_254.nextSibling))){node=node.nextSibling;continue;}var _255;var ctor=null;if(type){var _256=node.getAttribute(_24a),_257=_256?[type].concat(_256.split(/\s*,\s*/)):[type];try{ctor=_208(_257,_244.contextRequire);}catch(e){}if(!ctor){_1fb.forEach(_257,function(t){if(~t.indexOf("/")&&!_245[t]){_245[t]=true;mids[mids.length]=t;}});}var _258=ctor&&!ctor.prototype._noScript?[]:null;_255={types:_257,ctor:ctor,parent:_24d,node:node,scripts:_258};_255.inherited=_250(_255);list.push(_255);}else{_255={node:node,scripts:_24e,parent:_24d};}_24e=_258;_24f=node.stopParser||(ctor&&ctor.prototype.stopParser&&!(_244.template));_24d=_255;node=_254;}var d=new _201();if(mids.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+mids.join(", "));}var r=_244.contextRequire||_1f9;r(mids,function(){d.resolve(_1fb.filter(list,function(_259){if(!_259.ctor){try{_259.ctor=_208(_259.types,_244.contextRequire);}catch(e){}}var _25a=_259.parent;while(_25a&&!_25a.types){_25a=_25a.parent;}var _25b=_259.ctor&&_259.ctor.prototype;_259.instantiateChildren=!(_25b&&_25b.stopParser&&!(_244.template));_259.instantiate=!_25a||(_25a.instantiate&&_25a.instantiateChildren);return _259.instantiate;}));});}else{d.resolve(list);}return d.promise;},_require:function(_25c,_25d){var hash=_204("{"+_25c.innerHTML+"}"),vars=[],mids=[],d=new _201();var _25e=(_25d&&_25d.contextRequire)||_1f9;for(var name in hash){vars.push(name);mids.push(hash[name]);}_25e(mids,function(){for(var i=0;i<vars.length;i++){_1fa.setObject(vars[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(root,_25f){var _260=new _201(),_261=_260.promise;_260.resolve(true);var self=this;_202("script[type='dojo/require']",root).forEach(function(node){_261=_261.then(function(){return self._require(node,_25f);});node.parentNode.removeChild(node);});return _261;},parse:function(_262,_263){if(_262&&typeof _262!="string"&&!("nodeType" in _262)){_263=_262;_262=_263.rootNode;}var root=_262?dom.byId(_262):_1fd.body();_263=_263||{};var _264=_263.template?{template:true}:{},_265=[],self=this;var p=this._scanAmd(root,_263).then(function(){return self.scan(root,_263);}).then(function(_266){return self._instantiate(_266,_264,_263,true);}).then(function(_267){return _265=_265.concat(_267);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_1fa.mixin(_265,p);return _265;}};if(1){dojo.parser=_20d;}if(_1fc.parseOnLoad){_203(100,_20d,"parse");}return _20d;});},"dojo/dnd/Manager":function(){define(["../_base/array","../_base/declare","../_base/lang","../_base/window","../dom-class","../Evented","../has","../keys","../on","../topic","../touch","./common","./autoscroll","./Avatar"],function(_268,_269,lang,win,_26a,_26b,has,keys,on,_26c,_26d,dnd,_26e,_26f){var _270=_269("dojo.dnd.Manager",[_26b],{constructor:function(){this.avatar=null;this.source=null;this.nodes=[];this.copy=true;this.target=null;this.canDropFlag=false;this.events=[];},OFFSET_X:has("touch")?4:16,OFFSET_Y:has("touch")?4:16,overSource:function(_271){if(this.avatar){this.target=(_271&&_271.targetState!="Disabled")?_271:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_26c.publish("/dnd/source/over",_271);},outSource:function(_272){if(this.avatar){if(this.target==_272){this.target=null;this.canDropFlag=false;this.avatar.update();_26c.publish("/dnd/source/over",null);}}else{_26c.publish("/dnd/source/over",null);}},startDrag:function(_273,_274,copy){_26e.autoScrollStart(win.doc);this.source=_273;this.nodes=_274;this.copy=Boolean(copy);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_26c.publish("/dnd/start",_273,_274,this.copy);function _275(e){e.preventDefault();e.stopPropagation();};this.events=[on(win.doc,_26d.move,lang.hitch(this,"onMouseMove")),on(win.doc,_26d.release,lang.hitch(this,"onMouseUp")),on(win.doc,"keydown",lang.hitch(this,"onKeyDown")),on(win.doc,"keyup",lang.hitch(this,"onKeyUp")),on(win.doc,"dragstart",_275),on(win.body(),"selectstart",_275)];var c="dojoDnd"+(copy?"Copy":"Move");_26a.add(win.body(),c);},canDrop:function(flag){var _276=Boolean(this.target&&flag);if(this.canDropFlag!=_276){this.canDropFlag=_276;this.avatar.update();}},stopDrag:function(){_26a.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_268.forEach(this.events,function(_277){_277.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _26f(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_26e.autoScrollNodes(e);var s=a.node.style;s.left=(e.pageX+this.OFFSET_X)+"px";s.top=(e.pageY+this.OFFSET_Y)+"px";var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));if(this.copy!=copy){this._setCopyStatus(copy);}}if(has("touch")){e.preventDefault();}},onMouseUp:function(e){if(this.avatar){if(this.target&&this.canDropFlag){var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));_26c.publish("/dnd/drop/before",this.source,this.nodes,copy,this.target,e);_26c.publish("/dnd/drop",this.source,this.nodes,copy,this.target,e);}else{_26c.publish("/dnd/cancel");}this.stopDrag();}},onKeyDown:function(e){if(this.avatar){switch(e.keyCode){case keys.CTRL:var copy=Boolean(this.source.copyState(true));if(this.copy!=copy){this._setCopyStatus(copy);}break;case keys.ESCAPE:_26c.publish("/dnd/cancel");this.stopDrag();break;}}},onKeyUp:function(e){if(this.avatar&&e.keyCode==keys.CTRL){var copy=Boolean(this.source.copyState(false));if(this.copy!=copy){this._setCopyStatus(copy);}}},_setCopyStatus:function(copy){this.copy=copy;this.source._markDndStatus(this.copy);this.updateAvatar();_26a.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_270.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _270();}return dnd._manager;};return _270;});},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_278,_279,_27a,_27b){return _278("dijit.form.ToggleButton",[_27a,_27b],{baseClass:"dijitToggleButton",setChecked:function(_27c){_279.deprecated("setChecked("+_27c+") is deprecated. Use set('checked',"+_27c+") instead.","","2.0");this.set("checked",_27c);}});});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_27d){var _27e={};lang.setObject("dojo.date.stamp",_27e);_27e.fromISOString=function(_27f,_280){if(!_27e._isoRegExp){_27e._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _281=_27e._isoRegExp.exec(_27f),_282=null;if(_281){_281.shift();if(_281[1]){_281[1]--;}if(_281[6]){_281[6]*=1000;}if(_280){_280=new Date(_280);_27d.forEach(_27d.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _280["get"+prop]();}),function(_283,_284){_281[_284]=_281[_284]||_283;});}_282=new Date(_281[0]||1970,_281[1]||0,_281[2]||1,_281[3]||0,_281[4]||0,_281[5]||0,_281[6]||0);if(_281[0]<100){_282.setFullYear(_281[0]||1970);}var _285=0,_286=_281[7]&&_281[7].charAt(0);if(_286!="Z"){_285=((_281[8]||0)*60)+(Number(_281[9])||0);if(_286!="-"){_285*=-1;}}if(_286){_285-=_282.getTimezoneOffset();}if(_285){_282.setTime(_282.getTime()+_285*60000);}}return _282;};_27e.toISOString=function(_287,_288){var _289=function(n){return (n<10)?"0"+n:n;};_288=_288||{};var _28a=[],_28b=_288.zulu?"getUTC":"get",date="";if(_288.selector!="time"){var year=_287[_28b+"FullYear"]();date=["0000".substr((year+"").length)+year,_289(_287[_28b+"Month"]()+1),_289(_287[_28b+"Date"]())].join("-");}_28a.push(date);if(_288.selector!="date"){var time=[_289(_287[_28b+"Hours"]()),_289(_287[_28b+"Minutes"]()),_289(_287[_28b+"Seconds"]())].join(":");var _28c=_287[_28b+"Milliseconds"]();if(_288.milliseconds){time+="."+(_28c<100?"0":"")+_289(_28c);}if(_288.zulu){time+="Z";}else{if(_288.selector!="time"){var _28d=_287.getTimezoneOffset();var _28e=Math.abs(_28d);time+=(_28d>0?"-":"+")+_289(Math.floor(_28e/60))+":"+_289(_28e%60);}}_28a.push(time);}return _28a.join("T");};return _27e;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_28f,lang,_290,when){return _28f("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_291){if(_291){this.set(_291);}},_get:function(name,_292){return typeof this[_292.g]==="function"?this[_292.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_293){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _294=this._getAttrNames(name),_295=this._get(name,_294),_296=this[_294.s],_297;if(typeof _296==="function"){_297=_296.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_293;}if(this._watchCallbacks){var self=this;when(_297,function(){self._watchCallbacks(name,_295,_293);});}return this;},_changeAttrValue:function(name,_298){var _299=this.get(name);this[name]=_298;if(this._watchCallbacks){this._watchCallbacks(name,_299,_298);}return this;},watch:function(name,_29a){var _29b=this._watchCallbacks;if(!_29b){var self=this;_29b=this._watchCallbacks=function(name,_29c,_29d,_29e){var _29f=function(_2a0){if(_2a0){_2a0=_2a0.slice();for(var i=0,l=_2a0.length;i<l;i++){_2a0[i].call(self,name,_29c,_29d);}}};_29f(_29b["_"+name]);if(!_29e){_29f(_29b["*"]);}};}if(!_29a&&typeof name==="function"){_29a=name;name="*";}else{name="_"+name;}var _2a1=_29b[name];if(typeof _2a1!=="object"){_2a1=_29b[name]=[];}_2a1.push(_29a);var _2a2={};_2a2.unwatch=_2a2.remove=function(){var _2a3=_290.indexOf(_2a1,_29a);if(_2a3>-1){_2a1.splice(_2a3,1);}};return _2a2;}});});},"dijit/layout/AccordionContainer":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],function(_2a4,_2a5,_2a6,fx,dom,_2a7,_2a8,_2a9,_2aa,keys,lang,has,_2ab,_2ac,_2ad,_2ae,_2af,_2b0,_2b1,_2b2,_2b3,_2b4,_2b5){function size(_2b6,dim){_2b6.resize?_2b6.resize(dim):_2aa.setMarginBox(_2b6.domNode,dim);};var _2b7=_2a6("dijit.layout._AccordionButton",[_2af,_2b1,_2b2],{templateString:_2b5,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent;},buildRendering:function(){this.inherited(arguments);var _2b8=this.id.replace(" ","_");_2a7.set(this.titleTextNode,"id",_2b8+"_title");this.focusNode.setAttribute("aria-labelledby",_2a7.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _2aa.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _2b9=this.getParent();_2b9.selectChild(this.contentWidget,true);_2ac.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_2ba){this._set("selected",_2ba);this.focusNode.setAttribute("aria-expanded",_2ba?"true":"false");this.focusNode.setAttribute("aria-selected",_2ba?"true":"false");this.focusNode.setAttribute("tabIndex",_2ba?"0":"-1");}});if(has("dojo-bidi")){_2b7.extend({_setLabelAttr:function(_2bb){this._set("label",_2bb);_2a7.set(this.titleTextNode,"innerHTML",_2bb);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_2bc){this._set("title",_2bc);_2a7.set(this.titleTextNode,"title",_2bc);this.applyTextDir(this.titleTextNode);}});}var _2bd=_2a6("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_2af,_2b2],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_2a9.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _2be=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_2be._buttonWidget=(new cls({contentWidget:_2be,label:_2be.title,title:_2be.tooltip,dir:_2be.dir,lang:_2be.lang,textDir:_2be.textDir||this.textDir,iconClass:_2be.iconClass,id:_2be.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_2a9.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_2a9.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _2bf=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_2c0,_2c1){_2bf.set("label",_2c1);})),cw.watch("tooltip",lang.hitch(this,function(name,_2c2,_2c3){_2bf.set("title",_2c3);})),cw.watch("iconClass",lang.hitch(this,function(name,_2c4,_2c5){_2bf.set("iconClass",_2c5);}))];},_setSelectedAttr:function(_2c6){this._set("selected",_2c6);this.button.set("selected",_2c6);if(_2c6){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_2a5.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_2c7){this.contentWidget.destroyRecursive(_2c7);}});if(has("dojo-bidi")){_2bd=_2a6("dijit.layout._AccordionInnerContainer",_2bd,{postCreate:function(){this.inherited(arguments);var _2c8=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_2c9,_2ca){_2c8.set("textDir",_2ca);}));}});}var _2cb=_2a6("dijit.layout.AccordionContainer",_2b3,{duration:_2ad.defaultDuration,buttonWidget:_2b7,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _2cc=this.selectedChildWidget;if(!_2cc){return;}var _2cd=_2cc._wrapperWidget.domNode,_2ce=_2aa.getMarginExtents(_2cd),_2cf=_2aa.getPadBorderExtents(_2cd),_2d0=_2cc._wrapperWidget.containerNode,_2d1=_2aa.getMarginExtents(_2d0),_2d2=_2aa.getPadBorderExtents(_2d0),_2d3=this._contentBox;var _2d4=0;_2a5.forEach(this.getChildren(),function(_2d5){if(_2d5!=_2cc){_2d4+=_2aa.getMarginSize(_2d5._wrapperWidget.domNode).h;}});this._verticalSpace=_2d3.h-_2d4-_2ce.h-_2cf.h-_2d1.h-_2d2.h-_2cc._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_2ce.w-_2cf.w-_2d1.w-_2d2.w};if(_2cc){size(_2cc,this._containerContentBox);}},_setupChild:function(_2d6){_2d6._wrapperWidget=_2bd({contentWidget:_2d6,buttonWidget:this.buttonWidget,id:_2d6.id+"_wrapper",dir:_2d6.dir,lang:_2d6.lang,textDir:_2d6.textDir||this.textDir,parent:this});this.inherited(arguments);_2a9.place(_2d6.domNode,_2d6._wrapper,"replace");},removeChild:function(_2d7){if(_2d7._wrapperWidget){_2a9.place(_2d7.domNode,_2d7._wrapperWidget.domNode,"after");_2d7._wrapperWidget.destroy();delete _2d7._wrapperWidget;}_2a8.remove(_2d7.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _2a5.map(this.inherited(arguments),function(_2d8){return _2d8.declaredClass=="dijit.layout._AccordionInnerContainer"?_2d8.contentWidget:_2d8;},this);},destroy:function(){if(this._animation){this._animation.stop();}_2a5.forEach(this.getChildren(),function(_2d9){if(_2d9._wrapperWidget){_2d9._wrapperWidget.destroy();}else{_2d9.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_2da){_2da._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_2db){_2db._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_2dc,_2dd,_2de){if(has("ie")<8){_2de=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_2dc){_2dc._wrapperWidget.set("selected",true);var d=this._showChild(_2dc);if(this.doLayout){size(_2dc,this._containerContentBox);}}if(_2dd){_2dd._wrapperWidget.set("selected",false);if(!_2de){this._hideChild(_2dd);}}if(_2de){var _2df=_2dc._wrapperWidget.containerNode,_2e0=_2dd._wrapperWidget.containerNode;var _2e1=_2dc._wrapperWidget.containerNode,_2e2=_2aa.getMarginExtents(_2e1),_2e3=_2aa.getPadBorderExtents(_2e1),_2e4=_2e2.h+_2e3.h;_2e0.style.height=(self._verticalSpace-_2e4)+"px";this._animation=new fx.Animation({node:_2df,duration:this.duration,curve:[1,this._verticalSpace-_2e4-1],onAnimate:function(_2e5){_2e5=Math.floor(_2e5);_2df.style.height=_2e5+"px";_2e0.style.height=(self._verticalSpace-_2e4-_2e5)+"px";},onEnd:function(){delete self._animation;_2df.style.height="auto";_2dd._wrapperWidget.containerNode.style.display="none";_2e0.style.height="auto";self._hideChild(_2dd);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_2e6){if(this.disabled||e.altKey||!(_2e6||e.ctrlKey)){return;}var c=e.keyCode;if((_2e6&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_2e6&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_2ae(0,function(){var _2e7=["dijit/layout/AccordionPane"];_2a4(_2e7);});}_2cb._InnerContainer=_2bd;_2cb._Button=_2b7;return _2cb;});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],function(_2e8,keys,_2e9,_2ea,_2eb){return _2e8("dijit.form.ComboButton",_2ea,{templateString:_2eb,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_2e9.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_2e9.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_2ec){if(!this.disabled){_2e9.focus(_2ec=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_2ed,_2ee,_2ef,keys,lang,_2f0,_2f1,has,_2f2,_2f3,_2f4){var _2f5=_2ee("dijit.form._AutoCompleterMixin",_2f4,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_2f6){var pos=0;if(typeof (_2f6.selectionStart)=="number"){pos=_2f6.selectionStart;}else{if(has("ie")){var tr=_2f6.ownerDocument.selection.createRange().duplicate();var ntr=_2f6.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_2f7,_2f8){_2f8=parseInt(_2f8);_2f3.selectInputText(_2f7,_2f8,_2f8);},_setDisabledAttr:function(_2f9){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_2f9?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _2fa=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_2fa=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_2fa);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_2fa){if(_2fa==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_2fa==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _2fb=this.get("displayedValue");if(pw&&(_2fb==pw._messages["previousMessage"]||_2fb==pw._messages["nextMessage"])){break;}if(_2fa){this._selectOption(_2fa);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_2f3.selectInputText(fn,fn.value.length);var _2fc=this.ignoreCase?"toLowerCase":"substr";if(text[_2fc](0).indexOf(this.focusNode.value[_2fc](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_2f3.selectInputText(fn,cpos);}}else{fn.value=text;_2f3.selectInputText(fn);}},_openResultList:function(_2fd,_2fe,_2ff){var _300=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_2fd.length&&_2ff.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_301){_2fd.nextPage(_301!==-1);this.focus();});this.dropDown.createOptions(_2fd,_2ff,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _2ff){if(_2ff.direction){this.dropDown.highlightFirstOption();}else{if(!_2ff.direction){this.dropDown.highlightLastOption();}}if(_300){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_2fe[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");}},_setBlurValue:function(){var _302=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_302==pw._messages["previousMessage"]||_302==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_302);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_303,_304){var _305="";if(item){if(!_304){_304=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_305=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_304;}this.set("value",_305,_303,_304,item);},_announceOption:function(node){if(!node){return;}var _306;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_306=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_306=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_306);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_2ef.get(node,"id"));this._autoCompleteText(_306);},_selectOption:function(_307){this.closeDropDown();if(_307){this._announceOption(_307);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _308=this.id+"_popup",_309=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _309({onChange:lang.hitch(this,this._selectOption),id:_308,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef){var _30a=this.srcNodeRef;this.store=new _2f2({},_30a);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _30b=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_30b):item[_30b];}}}},postCreate:function(){var _30c=_2f0("label[for=\""+this.id+"\"]");if(_30c.length){if(!_30c[0].id){_30c[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_30c[0].id);}this.inherited(arguments);_2ed.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _30d=this.labelFunc(item,this.store),_30e=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_30d=this.doHighlight(_30d,this._lastInput);_30e="html";}return {html:_30e=="html",label:_30d};},doHighlight:function(_30f,find){var _310=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_2f1.escapeString(find);return this._escapeHtml(_30f.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_310),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_311){return (_311._oldAPI?_311.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_312,_313,_314,item){this._set("item",item||null);if(_312==null){_312="";}this.inherited(arguments);}});if(has("dojo-bidi")){_2f5.extend({_setTextDirAttr:function(_315){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_315);}}});}return _2f5;});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_316,has,_317,_318){return _316("dijit.form.MappedTextBox",_318,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_317.place("<input type='hidden'"+((this.name&&!has("msapp"))?" name=\""+this.name.replace(/"/g,"&quot;")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_319,_31a,_31b,lang,_31c,_31d,_31e,_31f,_320){return _319("dijit.form.ComboBoxMixin",[_31f,_31d],{dropDownClass:_31e,hasDownArrow:true,templateString:_320,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_321){if(!_321.get){lang.mixin(_321,{_oldAPI:true,get:function(id){var _322=new _31a();this.fetchItemByIdentity({identity:id,onItem:function(_323){_322.resolve(_323);},onError:function(_324){_322.reject(_324);}});return _322.promise;},query:function(_325,_326){var _327=new _31a(function(){_328.abort&&_328.abort();});_327.total=new _31a();var _328=this.fetch(lang.mixin({query:_325,onBegin:function(_329){_327.total.resolve(_329);},onComplete:function(_32a){_327.resolve(_32a);},onError:function(_32b){_327.reject(_32b);}},_326));return _31c(_327);}});}this._set("store",_321);},postMixInProperties:function(){var _32c=this.params.store||this.store;if(_32c){this._setStoreAttr(_32c);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _32d=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_31b.deprecated(_32d+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_31b.deprecated(_32d+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_31b.deprecated(_32d+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_32e){new _32e({objectStore:this}).fetch(args);}));}});}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list");}});});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/sniff","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_32f,_330,dom,has,keys,lang,on,_331){var _332=_330("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_333,_334,_335){var _336;if(_333!==undefined){_336=this.filter(_333);if(typeof _335!="string"){if(_336!==null&&((typeof _336!="number")||!isNaN(_336))){_335=this.filter(this.format(_336,this.constraints));}else{_335="";}if(this.compare(_336,this.filter(this.parse(_335,this.constraints)))!=0){_335=null;}}}if(_335!=null&&((typeof _335)!="number"||!isNaN(_335))&&this.textbox.value!=_335){this.textbox.value=_335;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_336,_334]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_337){if(_337==null){_337="";}else{if(typeof _337!="string"){_337=String(_337);}}this.textbox.value=_337;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_338){return _338==null?"":(_338.toString?_338.toString():_338);},parse:function(_339){return _339;},_refreshState:function(){},onInput:function(){},_onInput:function(evt){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||evt);delete this._lastInputProducingEvent;if(this.intermediateChanges){this._handleOnChange(this.get("value"),false);}},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _33a(e){var _33b;if(e.type=="keydown"&&e.keyCode!=229){_33b=e.keyCode;switch(_33b){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_33b){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_33b>=65&&_33b<=90)||(_33b>=48&&_33b<=57)||_33b==keys.SPACE){return;}var _33c=false;for(var i in keys){if(keys[i]===e.keyCode){_33c=true;break;}}if(!_33c){return;}}}_33b=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_33b){_33b=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_33b){_33b=229;}if(e.type=="keypress"){if(typeof _33b!="string"){return;}if((_33b>="a"&&_33b<="z")||(_33b>="A"&&_33b<="Z")||(_33b>="0"&&_33b<="9")||(_33b===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}var faux={faux:true},attr;for(attr in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(attr)){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_33b,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});this._lastInputProducingEvent=faux;if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}if(has("ie")<=9){switch(e.keyCode){case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:break;default:if(e.keyCode==keys.ENTER&&this.textbox.tagName.toLowerCase()!="textarea"){break;}this.defer(function(){if(this.textbox.value!==this._lastInputEventValue){on.emit(this.textbox,"input",{bubbles:true});}});}}};this.own(on(this.textbox,"keydown, keypress, paste, cut, compositionend",lang.hitch(this,_33a)),on(this.textbox,"input",lang.hitch(this,"_onInput")),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=on.once(this.domNode,"mouseup, touchend",lang.hitch(this,function(evt){if(!this._isTextSelected()){_332.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_332=_330("dijit.form._TextBoxMixin",_332,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_332._setSelectionRange=_331._setSelectionRange=function(_33d,_33e,stop){if(_33d.setSelectionRange){_33d.setSelectionRange(_33e,stop);}};_332.selectInputText=_331.selectInputText=function(_33f,_340,stop){_33f=dom.byId(_33f);if(isNaN(_340)){_340=0;}if(isNaN(stop)){stop=_33f.value?_33f.value.length:0;}try{_33f.focus();_332._setSelectionRange(_33f,_340,stop);}catch(e){}};return _332;});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_341,_342,has,_343){return _341("dijit.form.SimpleTextarea",_343,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} data-dojo-attach-point='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_342.add(this.textbox,"dijitTextAreaCols");}},filter:function(_344){if(_344){_344=_344.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _345=parseInt(this.maxLength);var _346=this.textbox.value.replace(/\r/g,"");var _347=_346.length-_345;if(_347>0){var _348=this.textbox;if(_348.selectionStart){var pos=_348.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_346.substring(0,pos-_347-cr)+_346.substring(pos-cr);_348.setSelectionRange(pos-_347,pos-_347);}else{if(this.ownerDocument.selection){_348.focus();var _349=this.ownerDocument.selection.createRange();_349.moveStart("character",-_347);_349.text="";_349.select();}}}}this.inherited(arguments);}});});},"dijit/_base/window":function(){define(["dojo/window","../main"],function(_34a,_34b){_34b.getDocumentWindow=function(doc){return _34a.get(doc);};});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_34c,_34d,lang,_34e,pm,_34f,_350){return _34c("dijit.PopupMenuItem",_350,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _351=_34e("*",this.srcNodeRef);this.inherited(arguments,[_351[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_352,_353){var _354=this.popup;pm.open(lang.delegate(_352,{popup:this.popup,around:this.domNode}));if(_353&&_354.focus){_354.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_34e("[widgetId]",this.dropDownContainer)[0];this.popup=_34f.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_34d.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_355){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_355);}delete this.popup;}this.inherited(arguments);}});});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_356,_357,_358,_359,has,_35a,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");try{div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url(\""+(_357.blankGif||_356.toUrl("./resources/blank.gif"))+"\");";win.body().appendChild(div);var cs=_359.getComputedStyle(div),_35b=cs.backgroundImage;return cs.borderTopColor==cs.borderRightColor||(_35b&&(_35b=="none"||_35b=="url(invalid-url:)"));}catch(e){console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+e.toString());return false;}finally{if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}}});_35a(function(){if(has("highcontrast")){_358.add(win.body(),"dj_a11y");}});return has;});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_35c,_35d,_35e){return _35c("dijit.form.RadioButton",[_35d,_35e],{baseClass:"dijitRadio"});});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_35f,keys,_360,has,_361){var ret=_360("dijit._OnDijitClickMixin",null,{connect:function(obj,_362,_363){return this.inherited(arguments,[obj,_362=="ondijitclick"?_361:_362,_363]);}});ret.a11yclick=_361;return ret;});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_364,_365,_366,_367,_368,_369,_36a,_36b,i18n,_36c,keys,lang,on,has,when,_36d,fm,_36e,_36f,_370,_371,_372,_373,_374,_375){var _376=_367("dijit._InlineEditor",[_36e,_36f,_370],{templateString:_375,contextRequire:_364,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_365.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var Cls=typeof this.editor=="string"?(lang.getObject(this.editor)||_364(this.editor)):this.editor;var _377=this.sourceStyle,_378="line-height:"+_377.lineHeight+";",_379=_36b.getComputedStyle(this.domNode);_365.forEach(["Weight","Family","Size","Style"],function(prop){var _37a=_377["font"+prop],_37b=_379["font"+prop];if(_37b!=_37a){_378+="font-"+prop+":"+_377["font"+prop]+";";}},this);_365.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_377[prop];},this);var _37c=this.inlineEditBox.width;if(_37c=="100%"){_378+="width:100%;";this.domNode.style.display="block";}else{_378+="width:"+(_37c+(Number(_37c)==_37c?"px":""))+";";}var _37d=lang.delegate(this.inlineEditBox.editorParams,{style:_378,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_37d,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_36a.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_366.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_366.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get(("displayedValue" in ew||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_373.selectInputText(this.editWidget.focusNode);});}}}});var _37e=_367("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_36e,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_374,editorWrapper:_376,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_36d,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_369.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_37f){_36c.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_37f);},_setDisabledAttr:function(_380){this.domNode.setAttribute("aria-disabled",_380?"true":"false");if(_380){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_369.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_380);this._set("disabled",_380);},_onMouseOver:function(){if(!this.disabled){_369.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_369.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_368.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _381=_36a.create("span",null,this.domNode,"before");var Ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new Ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_36b.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_381);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_369.add(this.displayNode,"dijitOffScreen");_369.remove(ww.domNode,"dijitOffScreen");_36b.set(ww.domNode,{visibility:"visible"});_368.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_382){var ww=this.wrapperWidget;_36b.set(ww.domNode,{visibility:"hidden"});_369.add(ww.domNode,"dijitOffScreen");_369.remove(this.displayNode,"dijitOffScreen");_368.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_382){fm.focus(this.displayNode);}},save:function(_383){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _384=ww.getValue();this.set("value",_384);this._showText(_383);},setValue:function(val){_36c.deprecated("dijit.InlineEditBox.setValue() is deprecated. Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _385=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");if(this.editorParams&&this.editorParams.type==="password"){this.displayNode.innerHTML="********";}else{this.displayNode.innerHTML=_385||this.noValueIndicator;}this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_36c.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_386){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_386);}});if(has("dojo-bidi")){_37e=_367("dijit.InlineEditBox",_37e,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_37e._InlineEditor=_376;return _37e;});},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_387,lang,win){var trim=lang.trim;var each=_387.forEach;var _388=function(){return win.doc;};var _389=(_388().compatMode)=="BackCompat";var _38a=">~+";var _38b=false;var _38c=function(){return true;};var _38d=function(_38e){if(_38a.indexOf(_38e.slice(-1))>=0){_38e+=" * ";}else{_38e+=" ";}var ts=function(s,e){return trim(_38e.slice(s,e));};var _38f=[];var _390=-1,_391=-1,_392=-1,_393=-1,_394=-1,inId=-1,_395=-1,_396,lc="",cc="",_397;var x=0,ql=_38e.length,_398=null,_399=null;var _39a=function(){if(_395>=0){var tv=(_395==x)?null:ts(_395,x);_398[(_38a.indexOf(tv)<0)?"tag":"oper"]=tv;_395=-1;}};var _39b=function(){if(inId>=0){_398.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _39c=function(){if(_394>=0){_398.classes.push(ts(_394+1,x).replace(/\\/g,""));_394=-1;}};var _39d=function(){_39b();_39a();_39c();};var _39e=function(){_39d();if(_393>=0){_398.pseudos.push({name:ts(_393+1,x)});}_398.loops=(_398.pseudos.length||_398.attrs.length||_398.classes.length);_398.oquery=_398.query=ts(_397,x);_398.otag=_398.tag=(_398["oper"])?null:(_398.tag||"*");if(_398.tag){_398.tag=_398.tag.toUpperCase();}if(_38f.length&&(_38f[_38f.length-1].oper)){_398.infixOper=_38f.pop();_398.query=_398.infixOper.query+" "+_398.query;}_38f.push(_398);_398=null;};for(;lc=cc,cc=_38e.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_398){_397=x;_398={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return _38b?this.otag:this.tag;}};_395=x;}if(_396){if(cc==_396){_396=null;}continue;}else{if(cc=="'"||cc=="\""){_396=cc;continue;}}if(_390>=0){if(cc=="]"){if(!_399.attr){_399.attr=ts(_390+1,x);}else{_399.matchFor=ts((_392||_390+1),x);}var cmf=_399.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_399.matchFor=cmf.slice(1,-1);}}if(_399.matchFor){_399.matchFor=_399.matchFor.replace(/\\/g,"");}_398.attrs.push(_399);_399=null;_390=_392=-1;}else{if(cc=="="){var _39f=("|~^$*".indexOf(lc)>=0)?lc:"";_399.type=_39f+cc;_399.attr=ts(_390+1,x-_39f.length);_392=x+1;}}}else{if(_391>=0){if(cc==")"){if(_393>=0){_399.value=ts(_391+1,x);}_393=_391=-1;}}else{if(cc=="#"){_39d();inId=x+1;}else{if(cc=="."){_39d();_394=x;}else{if(cc==":"){_39d();_393=x;}else{if(cc=="["){_39d();_390=x;_399={};}else{if(cc=="("){if(_393>=0){_399={name:ts(_393+1,x),value:null};_398.pseudos.push(_399);}_391=x;}else{if((cc==" ")&&(lc!=cc)){_39e();}}}}}}}}}return _38f;};var _3a0=function(_3a1,_3a2){if(!_3a1){return _3a2;}if(!_3a2){return _3a1;}return function(){return _3a1.apply(window,arguments)&&_3a2.apply(window,arguments);};};var _3a3=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _3a4=function(n){return (1==n.nodeType);};var _3a5="";var _3a6=function(elem,attr){if(!elem){return _3a5;}if(attr=="class"){return elem.className||_3a5;}if(attr=="for"){return elem.htmlFor||_3a5;}if(attr=="style"){return elem.style.cssText||_3a5;}return (_38b?elem.getAttribute(attr):elem.getAttribute(attr,2))||_3a5;};var _3a7={"*=":function(attr,_3a8){return function(elem){return (_3a6(elem,attr).indexOf(_3a8)>=0);};},"^=":function(attr,_3a9){return function(elem){return (_3a6(elem,attr).indexOf(_3a9)==0);};},"$=":function(attr,_3aa){return function(elem){var ea=" "+_3a6(elem,attr);var _3ab=ea.lastIndexOf(_3aa);return _3ab>-1&&(_3ab==(ea.length-_3aa.length));};},"~=":function(attr,_3ac){var tval=" "+_3ac+" ";return function(elem){var ea=" "+_3a6(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3ad){var _3ae=_3ad+"-";return function(elem){var ea=_3a6(elem,attr);return ((ea==_3ad)||(ea.indexOf(_3ae)==0));};},"=":function(attr,_3af){return function(elem){return (_3a6(elem,attr)==_3af);};}};var _3b0=_388().documentElement;var _3b1=!(_3b0.nextElementSibling||"nextElementSibling" in _3b0);var _3b2=!_3b1?"nextElementSibling":"nextSibling";var _3b3=!_3b1?"previousElementSibling":"previousSibling";var _3b4=(_3b1?_3a4:_38c);var _3b5=function(node){while(node=node[_3b3]){if(_3b4(node)){return false;}}return true;};var _3b6=function(node){while(node=node[_3b2]){if(_3b4(node)){return false;}}return true;};var _3b7=function(node){var root=node.parentNode;root=root.nodeType!=7?root:root.nextSibling;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}if(has("ie")&&typeof root.setAttribute!=="undefined"){root.setAttribute("_l",l);}else{root["_l"]=l;}ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_3b2]){if(_3b4(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _3b8=function(elem){return !((_3b7(elem))%2);};var _3b9=function(elem){return ((_3b7(elem))%2);};var _3ba={"checked":function(name,_3bb){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_3bc){return function(elem){return elem.disabled;};},"enabled":function(name,_3bd){return function(elem){return !elem.disabled;};},"first-child":function(){return _3b5;},"last-child":function(){return _3b6;},"only-child":function(name,_3be){return function(node){return _3b5(node)&&_3b6(node);};},"empty":function(name,_3bf){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_3c0){var cz=_3c0.charAt(0);if(cz=="\""||cz=="'"){_3c0=_3c0.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_3c0)>=0);};},"not":function(name,_3c1){var p=_38d(_3c1)[0];var _3c2={el:1};if(p.tag!="*"){_3c2.tag=1;}if(!p.classes.length){_3c2.classes=1;}var ntf=_3c3(p,_3c2);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3c4){var pi=parseInt;if(_3c4=="odd"){return _3b9;}else{if(_3c4=="even"){return _3b8;}}if(_3c4.indexOf("n")!=-1){var _3c5=_3c4.split("n",2);var pred=_3c5[0]?((_3c5[0]=="-")?-1:pi(_3c5[0])):1;var idx=_3c5[1]?pi(_3c5[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_3b7(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_3c4=idx;}}var _3c6=pi(_3c4);return function(elem){return (_3b7(elem)==_3c6);};}};var _3c7=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_38b?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _3c3=function(_3c8,_3c9){if(!_3c8){return _38c;}_3c9=_3c9||{};var ff=null;if(!("el" in _3c9)){ff=_3a0(ff,_3a4);}if(!("tag" in _3c9)){if(_3c8.tag!="*"){ff=_3a0(ff,function(elem){return (elem&&((_38b?elem.tagName:elem.tagName.toUpperCase())==_3c8.getTag()));});}}if(!("classes" in _3c9)){each(_3c8.classes,function(_3ca,idx,arr){var re=new RegExp("(?:^|\\s)"+_3ca+"(?:\\s|$)");ff=_3a0(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _3c9)){each(_3c8.pseudos,function(_3cb){var pn=_3cb.name;if(_3ba[pn]){ff=_3a0(ff,_3ba[pn](pn,_3cb.value));}});}if(!("attrs" in _3c9)){each(_3c8.attrs,function(attr){var _3cc;var a=attr.attr;if(attr.type&&_3a7[attr.type]){_3cc=_3a7[attr.type](a,attr.matchFor);}else{if(a.length){_3cc=_3c7(a);}}if(_3cc){ff=_3a0(ff,_3cc);}});}if(!("id" in _3c9)){if(_3c8.id){ff=_3a0(ff,function(elem){return (!!elem&&(elem.id==_3c8.id));});}}if(!ff){if(!("default" in _3c9)){ff=_38c;}}return ff;};var _3cd=function(_3ce){return function(node,ret,bag){while(node=node[_3b2]){if(_3b1&&(!_3a4(node))){continue;}if((!bag||_3cf(node,bag))&&_3ce(node)){ret.push(node);}break;}return ret;};};var _3d0=function(_3d1){return function(root,ret,bag){var te=root[_3b2];while(te){if(_3b4(te)){if(bag&&!_3cf(te,bag)){break;}if(_3d1(te)){ret.push(te);}}te=te[_3b2];}return ret;};};var _3d2=function(_3d3,_3d4){var _3d5=function(_3d6){var _3d7=[];try{_3d7=Array.prototype.slice.call(_3d6);}catch(e){for(var i=0,len=_3d6.length;i<len;i++){_3d7.push(_3d6[i]);}}return _3d7;};_3d3=_3d3||_38c;return function(root,ret,bag){var te,x=0,tret=[];tret=_3d5(root.children||root.childNodes);if(_3d4){_387.forEach(tret,function(node){if(node.nodeType===1){tret=tret.concat(_3d5(node.getElementsByTagName("*")));}});}while(te=tret[x++]){if(_3b4(te)&&(!bag||_3cf(te,bag))&&(_3d3(te,x))){ret.push(te);}}return ret;};};var _3d8=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _3d9={};var _3da=function(_3db){var _3dc=_3d9[_3db.query];if(_3dc){return _3dc;}var io=_3db.infixOper;var oper=(io?io.oper:"");var _3dd=_3c3(_3db,{el:1});var qt=_3db.tag;var _3de=("*"==qt);var ecs=_388()["getElementsByClassName"];if(!oper){if(_3db.id){_3dd=(!_3db.loops&&_3de)?_38c:_3c3(_3db,{el:1,id:1});_3dc=function(root,arr){var te=dom.byId(_3db.id,(root.ownerDocument||root));if(root.ownerDocument&&!_3d8(root,root.ownerDocument)){var _3df=root.nodeType===11?root.childNodes:[root];_387.some(_3df,function(_3e0){var _3e1=_3d2(function(node){return node.id===_3db.id;},true)(_3e0,[]);if(_3e1.length){te=_3e1[0];return false;}});}if(!te||!_3dd(te)){return;}if(9==root.nodeType){return _3a3(te,arr);}else{if(_3d8(te,root)){return _3a3(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_3db.classes.length&&!_389){_3dd=_3c3(_3db,{el:1,classes:1,id:1});var _3e2=_3db.classes.join(" ");_3dc=function(root,arr,bag){var ret=_3a3(0,arr),te,x=0;var tret=root.getElementsByClassName(_3e2);while((te=tret[x++])){if(_3dd(te,root)&&_3cf(te,bag)){ret.push(te);}}return ret;};}else{if(!_3de&&!_3db.loops){_3dc=function(root,arr,bag){var ret=_3a3(0,arr),te,x=0;var tag=_3db.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_3cf(te,bag)){ret.push(te);}}return ret;};}else{_3dd=_3c3(_3db,{el:1,tag:1,id:1});_3dc=function(root,arr,bag){var ret=_3a3(0,arr),te,x=0;var tag=_3db.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_3dd(te,root)&&_3cf(te,bag)){ret.push(te);}}return ret;};}}}}else{var _3e3={el:1};if(_3de){_3e3.tag=1;}_3dd=_3c3(_3db,_3e3);if("+"==oper){_3dc=_3cd(_3dd);}else{if("~"==oper){_3dc=_3d0(_3dd);}else{if(">"==oper){_3dc=_3d2(_3dd);}}}}return _3d9[_3db.query]=_3dc;};var _3e4=function(root,_3e5){var _3e6=_3a3(root),qp,x,te,qpl=_3e5.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_3e5[i];x=_3e6.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_3da(qp);for(var j=0;(te=_3e6[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_3e6=ret;}return ret;};var _3e7={},_3e8={};var _3e9=function(_3ea){var _3eb=_38d(trim(_3ea));if(_3eb.length==1){var tef=_3da(_3eb[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _3e4(root,_3eb);};};var _3ec=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _3ed=!!_388()[qsa];var _3ee=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _3ef=function(_3f0,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_3f0;};var _3f1=/([^[]*)([^\]]*])?/g;var _3f2=function(_3f3,_3f4,att){return _3f4.replace(_3ee,_3ef)+(att||"");};var _3f5=function(_3f6,_3f7){_3f6=_3f6.replace(_3f1,_3f2);if(_3ed){var _3f8=_3e8[_3f6];if(_3f8&&!_3f7){return _3f8;}}var _3f9=_3e7[_3f6];if(_3f9){return _3f9;}var qcz=_3f6.charAt(0);var _3fa=(-1==_3f6.indexOf(" "));if((_3f6.indexOf("#")>=0)&&(_3fa)){_3f7=true;}var _3fb=(_3ed&&(!_3f7)&&(_38a.indexOf(qcz)==-1)&&(!has("ie")||(_3f6.indexOf(":")==-1))&&(!(_389&&(_3f6.indexOf(".")>=0)))&&(_3f6.indexOf(":contains")==-1)&&(_3f6.indexOf(":checked")==-1)&&(_3f6.indexOf("|=")==-1));if(_3fb){var tq=(_38a.indexOf(_3f6.charAt(_3f6.length-1))>=0)?(_3f6+" *"):_3f6;return _3e8[_3f6]=function(root){if(9==root.nodeType||_3fa){try{var r=root[qsa](tq);r[_3ec]=true;return r;}catch(e){}}return _3f5(_3f6,true)(root);};}else{var _3fc=_3f6.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _3e7[_3f6]=((_3fc.length<2)?_3e9(_3f6):function(root){var _3fd=0,ret=[],tp;while((tp=_3fc[_3fd++])){ret=ret.concat(_3e9(tp)(root));}return ret;});}};var _3fe=0;var _3ff=has("ie")?function(node){if(_38b){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_3fe)||_3fe);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_3fe));};var _3cf=function(node,bag){if(!bag){return 1;}var id=_3ff(node);if(!bag[id]){return bag[id]=1;}return 0;};var _400="_zipIdx";var _401=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_3fe++;var x,te;if(has("ie")&&_38b){var _402=_3fe+"";for(x=0;x<arr.length;x++){if((te=arr[x])&&te.getAttribute(_400)!=_402){ret.push(te);te.setAttribute(_400,_402);}}}else{if(has("ie")&&arr.commentStrip){try{for(x=0;x<arr.length;x++){if((te=arr[x])&&_3a4(te)){ret.push(te);}}}catch(e){}}else{for(x=0;x<arr.length;x++){if((te=arr[x])&&te[_400]!=_3fe){ret.push(te);te[_400]=_3fe;}}}}return ret;};var _403=function(_404,root){root=root||_388();var od=root.ownerDocument||root;_38b=(od.createElement("div").tagName==="div");var r=_3f5(_404)(root);if(r&&r.nozip){return r;}return _401(r);};_403.filter=function(_405,_406,root){var _407=[],_408=_38d(_406),_409=(_408.length==1&&!/[^\w#\.]/.test(_406))?_3c3(_408[0]):function(node){return _387.indexOf(_403(_406,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_405[x];x++){if(_409(te)){_407.push(te);}}return _407;};return _403;});},"dojo/dnd/autoscroll":function(){define(["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_40a,_40b,_40c){var _40d={};lang.setObject("dojo.dnd.autoscroll",_40d);_40d.getViewport=_40c.getBox;_40d.V_TRIGGER_AUTOSCROLL=32;_40d.H_TRIGGER_AUTOSCROLL=32;_40d.V_AUTOSCROLL_VALUE=16;_40d.H_AUTOSCROLL_VALUE=16;var _40e,doc=win.doc,_40f=Infinity,_410=Infinity;_40d.autoScrollStart=function(d){doc=d;_40e=_40c.getBox(doc);var html=win.body(doc).parentNode;_40f=Math.max(html.scrollHeight-_40e.h,0);_410=Math.max(html.scrollWidth-_40e.w,0);};_40d.autoScroll=function(e){var v=_40e||_40c.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_40d.H_TRIGGER_AUTOSCROLL){dx=-_40d.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_40d.H_TRIGGER_AUTOSCROLL){dx=Math.min(_40d.H_AUTOSCROLL_VALUE,_410-html.scrollLeft);}}if(e.clientY<_40d.V_TRIGGER_AUTOSCROLL){dy=-_40d.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_40d.V_TRIGGER_AUTOSCROLL){dy=Math.min(_40d.V_AUTOSCROLL_VALUE,_40f-html.scrollTop);}}window.scrollBy(dx,dy);};_40d._validNodes={"div":1,"p":1,"td":1};_40d._validOverflow={"auto":1,"scroll":1};_40d.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_411,_412;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _40d._validNodes)){var s=_40b.getComputedStyle(n),_413=(s.overflowX.toLowerCase() in _40d._validOverflow),_414=(s.overflowY.toLowerCase() in _40d._validOverflow);if(_413||_414){b=_40a.getContentBox(n,s);t=_40a.position(n,true);}if(_413){w=Math.min(_40d.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_411=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_414){h=Math.min(_40d.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_412=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_40d.autoScroll(e);};return _40d;});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_415,_416,_417,lang,_418,_419){return _416("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_418("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_41a){if(_41a.name==this.name&&_41a.form==this.focusNode.form){var _41b=_419.getEnclosingWidget(_41a);if(_41b){ary.push(_41b);}}}));return ary;},_setCheckedAttr:function(_41c){this.inherited(arguments);if(!this._created){return;}if(_41c){_415.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_41d){if(_41d!=this&&_41d.checked){_41d.set("checked",false);}}));}},_getSubmitValue:function(_41e){return _41e==null?"on":_41e;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_415.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_41f){_417.set(this.focusNode||this.domNode,"checked",_41f.checked);}));return false;}var _420=false;var _421;_415.some(this._getRelatedWidgets(),function(_422){if(_422.checked){_421=_422;return true;}return false;});this.checked=true;_421&&(_421.checked=false);if(this.onClick(e)===false||e.defaultPrevented){_420=true;}this.checked=false;_421&&(_421.checked=true);if(_420){e.preventDefault();}else{this.set("checked",true);}return !_420;}});});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(lang,_423,_424,_425,_426,_427,_428){return _423("dojo.data.ItemFileWriteStore",_427,{constructor:function(_429){this._features["dojo.data.api.Write"]=true;this._features["dojo.data.api.Notification"]=true;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};if(!this._datatypeMap["Date"].serialize){this._datatypeMap["Date"].serialize=function(obj){return _428.toISOString(obj,{zulu:true});};}if(_429&&(_429.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_42a){if(!_42a){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_42b,_42c){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _42b!="object"&&typeof _42b!="undefined"){throw new Error("newItem() was passed something other than an object");}var _42d=null;var _42e=this._getIdentifierAttribute();if(_42e===Number){_42d=this._arrayOfAllItems.length;}else{_42d=_42b[_42e];if(typeof _42d==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(lang.isArray(_42d)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_42d]==="undefined");}this._assert(typeof this._pending._newItems[_42d]==="undefined");this._assert(typeof this._pending._deletedItems[_42d]==="undefined");var _42f={};_42f[this._storeRefPropName]=this;_42f[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_42d]=_42f;_42f[_42e]=[_42d];}this._arrayOfAllItems.push(_42f);var _430=null;if(_42c&&_42c.parent&&_42c.attribute){_430={item:_42c.parent,attribute:_42c.attribute,oldValue:undefined};var _431=this.getValues(_42c.parent,_42c.attribute);if(_431&&_431.length>0){var _432=_431.slice(0,_431.length);if(_431.length===1){_430.oldValue=_431[0];}else{_430.oldValue=_431.slice(0,_431.length);}_432.push(_42f);this._setValueOrValues(_42c.parent,_42c.attribute,_432,false);_430.newValue=this.getValues(_42c.parent,_42c.attribute);}else{this._setValueOrValues(_42c.parent,_42c.attribute,_42f,false);_430.newValue=_42f;}}else{_42f[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_42f);}this._pending._newItems[_42d]=_42f;for(var key in _42b){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _433=_42b[key];if(!lang.isArray(_433)){_433=[_433];}_42f[key]=_433;if(this.referenceIntegrity){for(var i=0;i<_433.length;i++){var val=_433[i];if(this.isItem(val)){this._addReferenceToMap(val,_42f,key);}}}}this.onNew(_42f,_430);return _42f;},_removeArrayElement:function(_434,_435){var _436=_424.indexOf(_434,_435);if(_436!=-1){_434.splice(_436,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _437=item[this._itemNumPropName];var _438=this.getIdentity(item);if(this.referenceIntegrity){var _439=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=lang.clone(item[this._reverseRefMap]);}_424.forEach(_439,function(_43a){_424.forEach(this.getValues(item,_43a),function(_43b){if(this.isItem(_43b)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_43b),attr:_43a});this._removeReferenceFromMap(_43b,item,_43a);}},this);},this);var _43c=item[this._reverseRefMap];if(_43c){for(var _43d in _43c){var _43e=null;if(this._itemsByIdentity){_43e=this._itemsByIdentity[_43d];}else{_43e=this._arrayOfAllItems[_43d];}if(_43e){for(var _43f in _43c[_43d]){var _440=this.getValues(_43e,_43f)||[];var _441=_424.filter(_440,function(_442){return !(this.isItem(_442)&&this.getIdentity(_442)==_438);},this);this._removeReferenceFromMap(item,_43e,_43f);if(_441.length<_440.length){this._setValueOrValues(_43e,_43f,_441,true);}}}}}}this._arrayOfAllItems[_437]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_438];}this._pending._deletedItems[_438]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_443,_444){return this._setValueOrValues(item,_443,_444,true);},setValues:function(item,_445,_446){return this._setValueOrValues(item,_445,_446,true);},unsetAttribute:function(item,_447){return this._setValueOrValues(item,_447,[],true);},_setValueOrValues:function(item,_448,_449,_44a){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(lang.isString(_448));this._assert(typeof _449!=="undefined");var _44b=this._getIdentifierAttribute();if(_448==_44b){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _44c=this._getValueOrValues(item,_448);var _44d=this.getIdentity(item);if(!this._pending._modifiedItems[_44d]){var _44e={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_44e[key]=item[key];}else{if(key===this._reverseRefMap){_44e[key]=lang.clone(item[key]);}else{_44e[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_44d]=_44e;}var _44f=false;if(lang.isArray(_449)&&_449.length===0){_44f=delete item[_448];_449=undefined;if(this.referenceIntegrity&&_44c){var _450=_44c;if(!lang.isArray(_450)){_450=[_450];}for(var i=0;i<_450.length;i++){var _451=_450[i];if(this.isItem(_451)){this._removeReferenceFromMap(_451,item,_448);}}}}else{var _452;if(lang.isArray(_449)){_452=_449.slice(0,_449.length);}else{_452=[_449];}if(this.referenceIntegrity){if(_44c){var _450=_44c;if(!lang.isArray(_450)){_450=[_450];}var map={};_424.forEach(_450,function(_453){if(this.isItem(_453)){var id=this.getIdentity(_453);map[id.toString()]=true;}},this);_424.forEach(_452,function(_454){if(this.isItem(_454)){var id=this.getIdentity(_454);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_454,item,_448);}}},this);for(var rId in map){var _455;if(this._itemsByIdentity){_455=this._itemsByIdentity[rId];}else{_455=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_455,item,_448);}}else{for(var i=0;i<_452.length;i++){var _451=_452[i];if(this.isItem(_451)){this._addReferenceToMap(_451,item,_448);}}}}item[_448]=_452;_44f=true;}if(_44a){this.onSet(item,_448,_44c,_449);}return _44f;},_addReferenceToMap:function(_456,_457,_458){var _459=this.getIdentity(_457);var _45a=_456[this._reverseRefMap];if(!_45a){_45a=_456[this._reverseRefMap]={};}var _45b=_45a[_459];if(!_45b){_45b=_45a[_459]={};}_45b[_458]=true;},_removeReferenceFromMap:function(_45c,_45d,_45e){var _45f=this.getIdentity(_45d);var _460=_45c[this._reverseRefMap];var _461;if(_460){for(_461 in _460){if(_461==_45f){delete _460[_461][_45e];if(this._isEmpty(_460[_461])){delete _460[_461];}}}if(this._isEmpty(_460)){delete _45c[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i<this._arrayOfAllItems.length;i++){var item=this._arrayOfAllItems[i];if(item&&item[this._reverseRefMap]){}}},_getValueOrValues:function(item,_462){var _463=undefined;if(this.hasAttribute(item,_462)){var _464=this.getValues(item,_462);if(_464.length==1){_463=_464[0];}else{_463=_464;}}return _463;},_flatten:function(_465){if(this.isItem(_465)){return {_reference:this.getIdentity(_465)};}else{if(typeof _465==="object"){for(var type in this._datatypeMap){var _466=this._datatypeMap[type];if(lang.isObject(_466)&&!lang.isFunction(_466)){if(_465 instanceof _466.type){if(!_466.serialize){throw new Error("ItemFileWriteStore: No serializer defined for type mapping: ["+type+"]");}return {_type:type,_value:_466.serialize(_465)};}}else{if(_465 instanceof _466){return {_type:type,_value:_465.toString()};}}}}return _465;}},_getNewFileContentString:function(){var _467={};var _468=this._getIdentifierAttribute();if(_468!==Number){_467.identifier=_468;}if(this._labelAttr){_467.label=this._labelAttr;}_467.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var item=this._arrayOfAllItems[i];if(item!==null){var _469={};for(var key in item){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _46a=this.getValues(item,key);if(_46a.length==1){_469[key]=this._flatten(_46a[0]);}else{var _46b=[];for(var j=0;j<_46a.length;++j){_46b.push(this._flatten(_46a[j]));_469[key]=_46b;}}}}_467.items.push(_469);}}var _46c=true;return _425.toJson(_467,_46c);},_isEmpty:function(_46d){var _46e=true;if(lang.isObject(_46d)){var i;for(i in _46d){_46e=false;break;}}else{if(lang.isArray(_46d)){if(_46d.length>0){_46e=false;}}}return _46e;},save:function(_46f){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _470=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_46f&&_46f.onComplete){var _471=_46f.scope||_426.global;_46f.onComplete.call(_471);}};var _472=function(err){self._saveInProgress=false;if(_46f&&_46f.onError){var _473=_46f.scope||_426.global;_46f.onError.call(_473,err);}};if(this._saveEverything){var _474=this._getNewFileContentString();this._saveEverything(_470,_472,_474);}if(this._saveCustom){this._saveCustom(_470,_472);}if(!this._saveEverything&&!this._saveCustom){_470();}},revert:function(){this._assert(!this._saveInProgress);var _475;for(_475 in this._pending._modifiedItems){var _476=this._pending._modifiedItems[_475];var _477=null;if(this._itemsByIdentity){_477=this._itemsByIdentity[_475];}else{_477=this._arrayOfAllItems[_475];}_476[this._storeRefPropName]=this;for(var key in _477){delete _477[key];}lang.mixin(_477,_476);}var _478;for(_475 in this._pending._deletedItems){_478=this._pending._deletedItems[_475];_478[this._storeRefPropName]=this;var _479=_478[this._itemNumPropName];if(_478["backup_"+this._reverseRefMap]){_478[this._reverseRefMap]=_478["backup_"+this._reverseRefMap];delete _478["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_479]=_478;if(this._itemsByIdentity){this._itemsByIdentity[_475]=_478;}if(_478[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_478);}}for(_475 in this._pending._deletedItems){_478=this._pending._deletedItems[_475];if(_478["backupRefs_"+this._reverseRefMap]){_424.forEach(_478["backupRefs_"+this._reverseRefMap],function(_47a){var _47b;if(this._itemsByIdentity){_47b=this._itemsByIdentity[_47a.id];}else{_47b=this._arrayOfAllItems[_47a.id];}this._addReferenceToMap(_47b,_478,_47a.attr);},this);delete _478["backupRefs_"+this._reverseRefMap];}}for(_475 in this._pending._newItems){var _47c=this._pending._newItems[_475];_47c[this._storeRefPropName]=null;this._arrayOfAllItems[_47c[this._itemNumPropName]]=null;if(_47c[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_47c);}if(this._itemsByIdentity){delete this._itemsByIdentity[_475];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _47d=this.getIdentity(item);return new Boolean(this._pending._newItems[_47d]||this._pending._modifiedItems[_47d]||this._pending._deletedItems[_47d]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_47e,_47f,_480){},onNew:function(_481,_482){},onDelete:function(_483){},close:function(_484){if(this.clearOnClose){if(!this.isDirty()){this.inherited(arguments);}else{throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store. Please save or revert the changes before invoking close.");}}}});});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_485,_486){var _487=_486.prototype.onMove;return _485("dojo.dnd.TimedMoveable",_486,{timeout:40,constructor:function(node,_488){if(!_488){_488={};}if(_488.timeout&&typeof _488.timeout=="number"&&_488.timeout>=0){this.timeout=_488.timeout;}},onMoveStop:function(_489){if(_489._timer){clearTimeout(_489._timer);_487.call(this,_489,_489._leftTop);}_486.prototype.onMoveStop.apply(this,arguments);},onMove:function(_48a,_48b){_48a._leftTop=_48b;if(!_48a._timer){var _48c=this;_48a._timer=setTimeout(function(){_48a._timer=null;_487.call(_48c,_48a,_48a._leftTop);},this.timeout);}}});});},"dojo/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_48d,lang,_48e,_48f,_490){var _491=_48d.NodeList;lang.extend(_491,{_anim:function(obj,_492,args){args=args||{};var a=_490.combine(this.map(function(item){var _493={node:item};lang.mixin(_493,args);return obj[_492](_493);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_490,"wipeIn",args);},wipeOut:function(args){return this._anim(_490,"wipeOut",args);},slideTo:function(args){return this._anim(_490,"slideTo",args);},fadeIn:function(args){return this._anim(_48f,"fadeIn",args);},fadeOut:function(args){return this._anim(_48f,"fadeOut",args);},animateProperty:function(args){return this._anim(_48f,"animateProperty",args);},anim:function(_494,_495,_496,_497,_498){var _499=_490.combine(this.map(function(item){return _48f.animateProperty({node:item,properties:_494,duration:_495||350,easing:_496});}));if(_497){_48e.after(_499,"onEnd",_497,true);}return _499.play(_498||0);}});return _491;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_49a,on,_49b,_49c){return _49a("dijit.form._ListMouseMixin",_49c,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_49d){this._setSelectedAttr(_49d,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_49d);});},_onMouseDown:function(evt,_49e){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_49e,false);},_onMouseUp:function(evt,_49f){this._isDragging=false;var _4a0=this.selected;var _4a1=this._hoveredNode;if(_4a0&&_49f==_4a0){this.defer(function(){this._onClick(evt,_4a0);});}else{if(_4a1){this.defer(function(){this._onClick(evt,_4a1);});}}},_onMouseOut:function(evt,_4a2){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_4a3){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_4a3;this.onHover(_4a3);if(this._isDragging){this._setSelectedAttr(_4a3,false);}}});});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_4a4){dojo.cookie=function(name,_4a5,_4a6){var c=document.cookie,ret;if(arguments.length==1){var _4a7=c.match(new RegExp("(?:^|; )"+_4a4.escapeString(name)+"=([^;]*)"));ret=_4a7?decodeURIComponent(_4a7[1]):undefined;}else{_4a6=_4a6||{};var exp=_4a6.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_4a6.expires=d;}if(exp&&exp.toUTCString){_4a6.expires=exp.toUTCString();}_4a5=encodeURIComponent(_4a5);var _4a8=name+"="+_4a5,_4a9;for(_4a9 in _4a6){_4a8+="; "+_4a9;var _4aa=_4a6[_4a9];if(_4aa!==true){_4a8+="="+_4aa;}}document.cookie=_4a8;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_4ab,_4ac,_4ad,lang,_4ae,_4af,_4b0,_4b1){return _4ac("dijit.ProgressBar",[_4af,_4b0],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_4b1,_indeterminateHighContrastImagePath:_4ab.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},_setDirAttr:function(val){var rtl=val.toLowerCase()=="rtl";_4ad.toggle(this.domNode,"dijitProgressBarRtl",rtl);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_4b2){lang.mixin(this,_4b2||{});var tip=this.internalProgress,ap=this.domNode;var _4b3=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_4b3=Math.min(parseFloat(this.progress)/100,1);this.progress=_4b3*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_4b3=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-labelledby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_4b3);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_4b3*100)+"%";this.onChange();},_setValueAttr:function(v){this._set("value",v);if(v==Infinity){this.update({indeterminate:true});}else{this.update({indeterminate:false,progress:v});}},_setLabelAttr:function(_4b4){this._set("label",_4b4);this.update();},_setIndeterminateAttr:function(_4b5){this._set("indeterminate",_4b5);this.update();},report:function(_4b6){return this.label?this.label:(this.indeterminate?"&#160;":_4ae.format(_4b6,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_4b7,win,_4b8){var _4b9=_4b8._createWrapper;_4b8._createWrapper=function(_4ba){if(!_4ba.declaredClass){_4ba={_popupWrapper:(_4ba.parentNode&&_4b7.contains(_4ba.parentNode,"dijitPopup"))?_4ba.parentNode:null,domNode:_4ba,destroy:function(){},ownerDocument:_4ba.ownerDocument,ownerDocumentBody:win.body(_4ba.ownerDocument)};}return _4b9.call(this,_4ba);};var _4bb=_4b8.open;_4b8.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _4bb.call(this,args);};return _4b8;});},"dojo/promise/all":function(){define(["../_base/array","../_base/lang","../Deferred","../when"],function(_4bc,lang,_4bd,when){"use strict";var some=_4bc.some;return function all(_4be){var _4bf,_4bc;if(lang.isArray(_4be)){_4bc=_4be;}else{if(_4be&&typeof _4be==="object"){_4bf=_4be;}}var _4c0;var _4c1=[];if(_4bf){_4bc=[];for(var key in _4bf){if(Object.hasOwnProperty.call(_4bf,key)){_4c1.push(key);_4bc.push(_4bf[key]);}}_4c0={};}else{if(_4bc){_4c0=[];}}if(!_4bc||!_4bc.length){return new _4bd().resolve(_4c0);}var _4c2=new _4bd();_4c2.promise.always(function(){_4c0=_4c1=null;});var _4c3=_4bc.length;some(_4bc,function(_4c4,_4c5){if(!_4bf){_4c1.push(_4c5);}when(_4c4,function(_4c6){if(!_4c2.isFulfilled()){_4c0[_4c1[_4c5]]=_4c6;if(--_4c3===0){_4c2.resolve(_4c0);}}},_4c2.reject);return _4c2.isFulfilled();});return _4c2.promise;};});},"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_4c7,_4c8,_4c9,_4ca,_4cb,has,i18n,_4cc,_4cd,_4ce,_4cf){var _4d0=_4cd("dijit.ColorPalette",[_4c9,_4ca,_4cb],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_4c8,baseClass:"dijitColorPalette",_dyeFactory:function(_4d1,row,col,_4d2){return new this._dyeClass(_4d1,row,col,_4d2);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_4cd(_4d0._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_4d0._Color=_4cd("dijit._Color",_4cc,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' title='${title}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' title='${title}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_4c7.toUrl("./themes/a11y/colors7x10.png"),"3x4":_4c7.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_4d3,row,col,_4d4){this._title=_4d4;this._row=row;this._col=col;this.setColor(_4cc.named[_4d3]);},getValue:function(){return this.toHex();},fillCell:function(cell,_4d5){var html=_4cf.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_4d5,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_4ce.place(html,cell);}});return _4d0;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4d6=function(){var n=null,_4d7=arguments,uri=[_4d7[0]];for(var i=1;i<_4d7.length;i++){if(!_4d7[i]){continue;}var _4d8=new _4d6(_4d7[i]+""),_4d9=new _4d6(uri[0]+"");if(_4d8.path==""&&!_4d8.scheme&&!_4d8.authority&&!_4d8.query){if(_4d8.fragment!=n){_4d9.fragment=_4d8.fragment;}_4d8=_4d9;}else{if(!_4d8.scheme){_4d8.scheme=_4d9.scheme;if(!_4d8.authority){_4d8.authority=_4d9.authority;if(_4d8.path.charAt(0)!="/"){var path=_4d9.path.substring(0,_4d9.path.lastIndexOf("/")+1)+_4d8.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_4d8.path=segs.join("/");}}}}uri=[];if(_4d8.scheme){uri.push(_4d8.scheme,":");}if(_4d8.authority){uri.push("//",_4d8.authority);}uri.push(_4d8.path);if(_4d8.query){uri.push("?",_4d8.query);}if(_4d8.fragment){uri.push("#",_4d8.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_4d6.prototype.toString=function(){return this.uri;};return dojo._Url=_4d6;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_4da,has,_4db){var _4dc;if(1){_4dc=function(url,sync,load){_4db(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_4da.getText){_4dc=_4da.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _4dd={},_4de=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _4df=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_4df){text=_4df[1];}}else{text="";}return text;},_4e0={},_4e1={};dojo.cache=function(_4e2,url,_4e3){var key;if(typeof _4e2=="string"){if(/\//.test(_4e2)){key=_4e2;_4e3=url;}else{key=_4da.toUrl(_4e2.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_4e2+"";_4e3=url;}var val=(_4e3!=undefined&&typeof _4e3!="string")?_4e3.value:_4e3,_4e4=_4e3&&_4e3.sanitize;if(typeof val=="string"){_4dd[key]=val;return _4e4?_4de(val):val;}else{if(val===null){delete _4dd[key];return null;}else{if(!(key in _4dd)){_4dc(key,true,function(text){_4dd[key]=text;});}return _4e4?_4de(_4dd[key]):_4dd[key];}}};return {dynamic:true,normalize:function(id,_4e5){var _4e6=id.split("!"),url=_4e6[0];return (/^\./.test(url)?_4e5(url):url)+(_4e6[1]?"!"+_4e6[1]:"");},load:function(id,_4e7,load){var _4e8=id.split("!"),_4e9=_4e8.length>1,_4ea=_4e8[0],url=_4e7.toUrl(_4e8[0]),_4eb="url:"+url,text=_4e0,_4ec=function(text){load(_4e9?_4de(text):text);};if(_4ea in _4dd){text=_4dd[_4ea];}else{if(_4e7.cache&&_4eb in _4e7.cache){text=_4e7.cache[_4eb];}else{if(url in _4dd){text=_4dd[url];}}}if(text===_4e0){if(_4e1[url]){_4e1[url].push(_4ec);}else{var _4ed=_4e1[url]=[_4ec];_4dc(url,!_4e7.async,function(text){_4dd[_4ea]=_4dd[url]=text;for(var i=0;i<_4ed.length;){_4ed[i++](text);}delete _4e1[url];});}}else{_4ec(text);}}};});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_4ee,_4ef,_4f0,_4f1,lang,_4f2,_4f3,_4f4){var _4f5=_4ef("dijit.layout.LayoutContainer",_4f3,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_4ee.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_4f6){this.inherited(arguments);var _4f7=_4f6.region;if(_4f7){_4f0.add(_4f6.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _4f8=_4ee.map(this.getChildren(),function(_4f9,idx){return {pane:_4f9,weight:[_4f9.region=="center"?Infinity:0,_4f9.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_4f9.region)?1:-1),idx]};},this);_4f8.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});return _4ee.map(_4f8,function(w){return w.pane;});},layout:function(){_4f4.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren());},addChild:function(_4fa,_4fb){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_4fc){this.inherited(arguments);if(this._started){this.layout();}_4f0.remove(_4fc.domNode,this.baseClass+"Pane");_4f1.set(_4fc.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_4f1.set(_4fc.domNode,/top|bottom/.test(_4fc.region)?"width":"height","auto");}});_4f5.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};lang.extend(_4f2,_4f5.ChildWidgetProperties);return _4f5;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_4fd,lang,_4fe,has,_4ff){var html=_4ff.doc.documentElement,ie=has("ie"),_500=has("trident"),_501=has("opera"),maj=Math.floor,ff=has("ff"),_502=_4fd.boxModel.replace(/-/,""),_503={"dj_quirks":has("quirks"),"dj_opera":_501,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_edge":has("edge"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_503["dj_ie"]=true;_503["dj_ie"+maj(ie)]=true;_503["dj_iequirks"]=has("quirks");}if(_500){_503["dj_trident"]=true;_503["dj_trident"+maj(_500)]=true;}if(ff){_503["dj_ff"+maj(ff)]=true;}_503["dj_"+_502]=true;var _504="";for(var clz in _503){if(_503[clz]){_504+=clz+" ";}}html.className=lang.trim(html.className+" "+_504);_4fe(function(){if(!_4fd.isBodyLtr()){var _505="dj_rtl dijitRtl "+_504.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_505+"dj_rtl dijitRtl "+_504.replace(/ /g,"-rtl "));}});return has;});},"dijit/Tooltip":function(){define(["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(_506,_507,fx,dom,_508,_509,_50a,lang,_50b,on,has,_50c,_50d,_50e,_50f,_510,_511,_512){var _513=_507("dijit._MasterTooltip",[_50e,_50f],{duration:_50c.defaultDuration,templateString:_511,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _510(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(_514,_515,_516,rtl,_517,_518,_519){if(this.aroundNode&&this.aroundNode===_515&&this.containerNode.innerHTML==_514){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_514;if(_517){this.set("textDir",_517);}this.containerNode.align=rtl?"right":"left";var pos=_50d.around(this.domNode,_515,_516&&_516.length?_516:_51a.defaultPosition,!rtl,lang.hitch(this,"orient"));var _51b=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_51b.y+((_51b.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=_51b.x+((_51b.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_50a.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_515;this.onMouseEnter=_518||noop;this.onMouseLeave=_519||noop;},orient:function(node,_51c,_51d,_51e,_51f){this.connectorNode.style.top="";var _520=_51e.h,_521=_51e.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_51c+"-"+_51d];this.domNode.style.width="auto";var size=_509.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _522=Math.min((Math.max(_521,1)),size.w);_509.setMarginBox(this.domNode,{w:_522});if(_51d.charAt(0)=="B"&&_51c.charAt(0)=="B"){var bb=_509.position(node);var _523=this.connectorNode.offsetHeight;if(bb.h>_520){var _524=_520-((_51f.h+_523)>>1);this.connectorNode.style.top=_524+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_51f.h/2-_523/2,0),bb.h-_523)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_521);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_525){if(this._onDeck&&this._onDeck[1]==_525){this._onDeck=null;}else{if(this.aroundNode===_525){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=noop;},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_513.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_506.forEach(node.children,function(_526){this._setAutoTextDir(_526);},this);},_setTextDirAttr:function(_527){this._set("textDir",_527);if(_527=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_512.showTooltip=function(_528,_529,_52a,rtl,_52b,_52c,_52d){if(_52a){_52a=_506.map(_52a,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_51a._masterTT){_512._masterTT=_51a._masterTT=new _513();}return _51a._masterTT.show(_528,_529,_52a,rtl,_52b,_52c,_52d);};_512.hideTooltip=function(_52e){return _51a._masterTT&&_51a._masterTT.hide(_52e);};var _52f="DORMANT",_530="SHOW TIMER",_531="SHOWING",_532="HIDE TIMER";function noop(){};var _51a=_507("dijit.Tooltip",_50e,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_533){_506.forEach(this._connections||[],function(_534){_506.forEach(_534,function(_535){_535.remove();});},this);this._connectIds=_506.filter(lang.isArrayLike(_533)?_533:(_533?[_533]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_506.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_536=this.selector,_537=_536?function(_538){return on.selector(_536,_538);}:function(_539){return _539;},self=this;return [on(node,_537(_50b.enter),function(){self._onHover(this);}),on(node,_537("focusin"),function(){self._onHover(this);}),on(node,_537(_50b.leave),lang.hitch(self,"_onUnHover")),on(node,_537("focusout"),lang.hitch(self,"set","state",_52f))];},this);this._set("connectId",_533);},addTarget:function(node){var id=node.id||node;if(_506.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_506.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_508.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_506.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_52f,_setStateAttr:function(val){if(this.state==val||(val==_530&&this.state==_531)||(val==_532&&this.state==_52f)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _52f:if(this._connectNode){_51a.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _530:if(this.state!=_531){this._showTimer=this.defer(function(){this.set("state",_531);},this.showDelay);}break;case _531:var _53a=this.getContent(this._connectNode);if(!_53a){this.set("state",_52f);return;}_51a.show(_53a,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_531),lang.hitch(this,"set","state",_532));this.onShow(this._connectNode,this.position);break;case _532:this._hideTimer=this.defer(function(){this.set("state",_52f);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_53b){if(this._connectNode&&_53b!=this._connectNode){this.set("state",_52f);}this._connectNode=_53b;this.set("state",_530);},_onUnHover:function(_53c){this.set("state",_532);},open:function(_53d){this.set("state",_52f);this._connectNode=_53d;this.set("state",_531);},close:function(){this.set("state",_52f);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_52f);_506.forEach(this._connections||[],function(_53e){_506.forEach(_53e,function(_53f){_53f.remove();});},this);this.inherited(arguments);}});_51a._MasterTooltip=_513;_51a.show=_512.showTooltip;_51a.hide=_512.hideTooltip;_51a.defaultPosition=["after-centered","before-centered"];return _51a;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_540,lang){var _541=/[&<>'"\/]/g;var _542={"&":"&amp;","<":"&lt;",">":"&gt;","\"":"&quot;","'":"&#x27;","/":"&#x2F;"};var _543={};lang.setObject("dojo.string",_543);_543.escape=function(str){if(!str){return "";}return str.replace(_541,function(c){return _542[c];});};_543.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_543.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_543.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_543.substitute=function(_544,map,_545,_546){_546=_546||_540.global;_545=_545?lang.hitch(_546,_545):function(v){return v;};return _544.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_547,key,_548){if(key==""){return "$";}var _549=lang.getObject(key,false,map);if(_548){_549=lang.getObject(_548,false,_546).call(_546,_549,key);}var _54a=_545(_549,key);if(typeof _54a==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _54a.toString();});};_543.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _543;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_54b,_54c,_54d){return _54b("dijit.layout.AccordionPane",_54d,{constructor:function(){_54c.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/dijit":function(){define(["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_54e){return _54e;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],function(_54f,_550,lang,_551,_552,_553,_554,_555,_556,_557){return _54f("dijit.form.DropDownButton",[_554,_555,_556],{baseClass:"dijitDropDownButton",templateString:_557,_fillContent:function(){var _558=this.srcNodeRef;var dest=this.containerNode;if(_558&&dest){while(_558.hasChildNodes()){var _559=_558.firstChild;if(_559.hasAttribute&&(_559.hasAttribute("data-dojo-type")||_559.hasAttribute("dojoType")||_559.hasAttribute("data-"+_550._scopeName+"-type")||_559.hasAttribute(_550._scopeName+"Type"))){this.dropDownContainer=this.ownerDocument.createElement("div");this.dropDownContainer.appendChild(_559);}else{dest.appendChild(_559);}}}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){this.dropDown=_552.byNode(this.dropDownContainer.firstChild);delete this.dropDownContainer;}if(this.dropDown){_553.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _55a=this.dropDown;return (!!_55a&&(!_55a.href||_55a.isLoaded));},loadDropDown:function(_55b){var _55c=this.dropDown;var _55d=_55c.on("load",lang.hitch(this,function(){_55d.remove();_55b();}));_55c.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_55e,_55f,keys,lang,on,has,_560){return _55e("dijit.form._FormValueMixin",_560,{readOnly:false,_setReadOnlyAttr:function(_561){if(has("trident")&&"disabled" in this){_55f.set(this.focusNode,"readOnly",_561||this.disabled);}else{_55f.set(this.focusNode,"readOnly",_561);}this._set("readOnly",_561);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_562,_563){this._handleOnChange(_562,_563);},_handleOnChange:function(_564,_565){this._set("value",_564);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);}});});},"dijit/form/_FormWidgetMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],function(_566,_567,_568,_569,lang,_56a,on,has,_56b,a11y){return _567("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_56c){this._set("disabled",_56c);if(/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)){_568.set(this.focusNode,"disabled",_56c);if(has("trident")&&"readOnly" in this){_568.set(this.focusNode,"readonly",_56c||this.readOnly);}}else{this.focusNode.setAttribute("aria-disabled",_56c?"true":"false");}if(this.valueNode){_568.set(this.valueNode,"disabled",_56c);}if(_56c){this._set("hovering",false);this._set("active",false);var _56d="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_566.forEach(lang.isArray(_56d)?_56d:[_56d],function(_56e){var node=this[_56e];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _56f=this.own(on(this.focusNode,"focus",function(){_570.remove();_56f.remove();}))[0];var _571=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _570=this.own(on(this.ownerDocumentBody,_571,lang.hitch(this,function(evt){_570.remove();_56f.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_56b.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_569.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_572,_573){if(this._lastValueReported==undefined&&(_573===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_572;}this._pendingOnChange=this._pendingOnChange||(typeof _572!=typeof this._lastValueReported)||(this.compare(_572,this._lastValueReported)!=0);if((this.intermediateChanges||_573||_573===undefined)&&this._pendingOnChange){this._lastValueReported=_572;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_572);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(keys,_574,on,_575){function _576(e){if((e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName)){for(var node=e.target;node;node=node.parentNode){if(node.dojoClick){return true;}}}};var _577;on(document,"keydown",function(e){if(_576(e)){_577=e.target;e.preventDefault();}else{_577=null;}});on(document,"keyup",function(e){if(_576(e)&&e.target==_577){_577=null;on.emit(e.target,"click",{cancelable:true,bubbles:true,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,altKey:e.altKey,_origType:e.type});}});var _578=function(node,_579){node.dojoClick=true;return on(node,"click",_579);};_578.click=_578;_578.press=function(node,_57a){var _57b=on(node,_575.press,function(evt){if(evt.type=="mousedown"&&!_574.isLeft(evt)){return;}_57a(evt);}),_57c=on(node,"keydown",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_57a(evt);}});return {remove:function(){_57b.remove();_57c.remove();}};};_578.release=function(node,_57d){var _57e=on(node,_575.release,function(evt){if(evt.type=="mouseup"&&!_574.isLeft(evt)){return;}_57d(evt);}),_57f=on(node,"keyup",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_57d(evt);}});return {remove:function(){_57e.remove();_57f.remove();}};};_578.move=_575.move;return _578;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_580,_581,_582){return _582("dijit.Destroyable",null,{destroy:function(_583){this._destroyed=true;},own:function(){var _584=["destroyRecursive","destroy","remove"];_580.forEach(arguments,function(_585){var _586;var odh=_581.before(this,"destroy",function(_587){_585[_586](_587);});var hdhs=[];function _588(){odh.remove();_580.forEach(hdhs,function(hdh){hdh.remove();});};if(_585.then){_586="cancel";_585.then(_588,_588);}else{_580.forEach(_584,function(_589){if(typeof _585[_589]==="function"){if(!_586){_586=_589;}hdhs.push(_581.after(_585,_589,_588,true));}});}},this);return arguments;}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","../registry","../Viewport","./utils"],function(_58a,_58b,_58c,_58d,_58e,lang,_58f,_590,_591,_592){return _58b("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _593=this.getParent();this._childOfLayoutWidget=_593&&_593.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_591.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){if(!this.doLayout){return;}var _594=[],_595=false;_58f("> *",this.containerNode).some(function(node){var _596=_590.byNode(node);if(_596&&_596.resize){_594.push(_596);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_595=true;}}});this._singleChild=_594.length==1&&!_595?_594[0]:null;_58c.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_597,_598){this._resizeCalled=true;this._scheduleLayout(_597,_598);},_scheduleLayout:function(_599,_59a){if(this._isShown()){this._layout(_599,_59a);}else{this._needLayout=true;this._changeSize=_599;this._resultSize=_59a;}},_layout:function(_59b,_59c){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_59b){_58d.setMarginBox(this.domNode,_59b);}var cn=this.containerNode;if(cn===this.domNode){var mb=_59c||{};lang.mixin(mb,_59b||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_58d.getMarginBox(cn),mb);}this._contentBox=_592.marginBox2contentBox(cn,mb);}else{this._contentBox=_58d.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_58d.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _59d=this.getChildren(),_59e,i=0;while(_59e=_59d[i++]){if(_59e.resize){_59e.resize();}}}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_59f=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_58c.contains(node,"dijitHidden")&&_59f&&_59f.style&&(_59f.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_5a0,_5a1,_5a2,_5a3){var _5a4=_5a1("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5a5){if(this._hash[_5a5.id]){throw new Error("Tried to register widget with id=="+_5a5.id+" but that id is already registered");}this._hash[_5a5.id]=_5a5;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_5a6){_5a6=_5a6||_5a2.global;var i=0,id;for(id in this._hash){func.call(_5a6,this._hash[id],i++,this._hash);}return this;},filter:function(_5a7,_5a8){_5a8=_5a8||_5a2.global;var res=new _5a4(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_5a7.call(_5a8,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _5a4(),id,_5a9;for(id in this._hash){_5a9=this._hash[id];if(_5a9.declaredClass==cls){res.add(_5a9);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_5aa){return _5a0.map(this.toArray(),func,_5aa);},every:function(func,_5ab){_5ab=_5ab||_5a2.global;var x=0,i;for(i in this._hash){if(!func.call(_5ab,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_5ac){_5ac=_5ac||_5a2.global;var x=0,i;for(i in this._hash){if(func.call(_5ac,this._hash[i],x++,this._hash)){return true;}}return false;}});_5a0.forEach(["forEach","filter","byClass","map","every","some"],function(func){_5a3[func]=_5a4.prototype[func];});return _5a4;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../has","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_5ad,_5ae,lang,dom,_5af,_5b0,has,on,_5b1,_5b2,dnd,_5b3,win){var _5b4;var _5b5=function(){};function _5b6(){if("touchAction" in document.body.style){_5b4="touchAction";}else{if("msTouchAction" in document.body.style){_5b4="msTouchAction";}}_5b5=function _5b5(node,_5b7){node.style[_5b4]=_5b7;};_5b5(arguments[0],arguments[1]);};if(has("touch-action")){_5b5=_5b6;}var _5b8=_5ae("dojo.dnd.Moveable",[_5b0],{handle:"",delay:0,skip:false,constructor:function(node,_5b9){this.node=dom.byId(node);_5b5(this.node,"none");if(!_5b9){_5b9={};}this.handle=_5b9.handle?dom.byId(_5b9.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_5b9.delay>0?_5b9.delay:0;this.skip=_5b9.skip;this.mover=_5b9.mover?_5b9.mover:_5b3;this.events=[on(this.handle,_5b2.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_5ba,node,Ctor){return new Ctor(node,_5ba);},destroy:function(){_5ad.forEach(this.events,function(_5bb){_5bb.remove();});_5b5(this.node,"");this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_5b2.move,lang.hitch(this,"onMouseMove")),on(this.handle.ownerDocument,_5b2.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_5bc){_5b1.publish("/dnd/move/start",_5bc);_5af.add(win.body(),"dojoMove");_5af.add(this.node,"dojoMoveItem");},onMoveStop:function(_5bd){_5b1.publish("/dnd/move/stop",_5bd);_5af.remove(win.body(),"dojoMove");_5af.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_5be,_5bf){this.onMoving(_5be,_5bf);var s=_5be.node.style;s.left=_5bf.l+"px";s.top=_5bf.t+"px";this.onMoved(_5be,_5bf);},onMoving:function(){},onMoved:function(){}});return _5b8;});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_5c0,_5c1,has,keys,lang,on,_5c2,_5c3,_5c4,_5c5,_5c6,_5c7,_5c8){var _5c9=_5c0("dijit.TooltipDialog",[_5c3,_5c6,_5c5,_5c4],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_5c7,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_5ca,_5cb){var newC={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_5ca+"-"+_5cb];_5c1.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_5c2.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _5cc=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_5cc.y+((_5cc.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_5cc.x+((_5cc.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems();if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_5c2.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_5c2.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_5c9.extend({_setTitleAttr:function(_5cd){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_5cd):_5cd;this._set("title",_5cd);},_setTextDirAttr:function(_5ce){if(!this._created||this.textDir!=_5ce){this._set("textDir",_5ce);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _5c9;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_5cf){return function(_5d0,_5d1){switch(typeof _5d0){default:throw new Error("Can not query with a "+typeof _5d0);case "object":case "undefined":var _5d2=_5d0;_5d0=function(_5d3){for(var key in _5d2){var _5d4=_5d2[key];if(_5d4&&_5d4.test){if(!_5d4.test(_5d3[key],_5d3)){return false;}}else{if(_5d4!=_5d3[key]){return false;}}}return true;};break;case "string":if(!this[_5d0]){throw new Error("No filter function "+_5d0+" was found in store");}_5d0=this[_5d0];case "function":}function _5d5(_5d6){var _5d7=_5cf.filter(_5d6,_5d0);var _5d8=_5d1&&_5d1.sort;if(_5d8){_5d7.sort(typeof _5d8=="function"?_5d8:function(a,b){for(var sort,i=0;sort=_5d8[i];i++){var _5d9=a[sort.attribute];var _5da=b[sort.attribute];_5d9=_5d9!=null?_5d9.valueOf():_5d9;_5da=_5da!=null?_5da.valueOf():_5da;if(_5d9!=_5da){return !!sort.descending==(_5d9==null||_5d9>_5da)?-1:1;}}return 0;});}if(_5d1&&(_5d1.start||_5d1.count)){var _5db=_5d7.length;_5d7=_5d7.slice(_5d1.start||0,(_5d1.start||0)+(_5d1.count||Infinity));_5d7.total=_5db;}return _5d7;};_5d5.matches=_5d0;return _5d5;};});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_5dc,_5dd,lang,on,has,_5de){var _5df=(_5de.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_5e0,node,_5e1,obj,_5e2,_5e3,_5e4){if(obj!=this._obj){this.stop();this._initialDelay=_5e3||500;this._subsequentDelay=_5e2||0.9;this._minDelay=_5e4||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_5e0,_5e1);this._evt={faux:true};for(var attr in evt){if(attr!="layerX"&&attr!="layerY"){var v=evt[attr];if(typeof v!="function"&&typeof v!="undefined"){this._evt[attr]=v;}}}this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_5e5,_5e6,_5e7,_5e8,_5e9,_5ea){var type="keyCode" in _5e5?"keydown":"charCode" in _5e5?"keypress":_5dd._keypress,attr="keyCode" in _5e5?"keyCode":"charCode" in _5e5?"charCode":"charOrCode";var _5eb=[on(node,type,lang.hitch(this,function(evt){if(evt[attr]==_5e5[attr]&&(_5e5.ctrlKey===undefined||_5e5.ctrlKey==evt.ctrlKey)&&(_5e5.altKey===undefined||_5e5.altKey==evt.altKey)&&(_5e5.metaKey===undefined||_5e5.metaKey==(evt.metaKey||false))&&(_5e5.shiftKey===undefined||_5e5.shiftKey==evt.shiftKey)){evt.stopPropagation();evt.preventDefault();_5df.trigger(evt,_5e6,node,_5e7,_5e5,_5e8,_5e9,_5ea);}else{if(_5df._obj==_5e5){_5df.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_5df._obj==_5e5){_5df.stop();}}))];return {remove:function(){_5dc.forEach(_5eb,function(h){h.remove();});}};},addMouseListener:function(node,_5ec,_5ed,_5ee,_5ef,_5f0){var _5f1=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_5df.trigger(evt,_5ec,node,_5ed,node,_5ee,_5ef,_5f0);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_5df.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_5df.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_5df.trigger(evt,_5ec,node,_5ed,node,_5ee,_5ef,_5f0);setTimeout(lang.hitch(this,_5df.stop),50);}}))];return {remove:function(){_5dc.forEach(_5f1,function(h){h.remove();});}};},addListener:function(_5f2,_5f3,_5f4,_5f5,_5f6,_5f7,_5f8,_5f9){var _5fa=[this.addKeyListener(_5f3,_5f4,_5f5,_5f6,_5f7,_5f8,_5f9),this.addMouseListener(_5f2,_5f5,_5f6,_5f7,_5f8,_5f9)];return {remove:function(){_5dc.forEach(_5fa,function(h){h.remove();});}};}});return _5df;});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_5fb,dom,_5fc,_5fd,_5fe,has,lang,_5ff,_600,_601,_602,_603){var _604=_5fb("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_5ff,_600,_601,_602],{templateString:_603,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _605="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_605=val.charAt(ndx+1);var _606=val.substr(0,ndx);var _607=val.substr(ndx+3);text=_606+_605+_607;val=_606+"<span class=\"dijitMenuItemShortcutKey\">"+_605+"</span>"+_607;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_605);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_608){if(_608&&!("label" in this.params)){this._set("label",_608.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _609=this.id+"_text";_5fc.set(this.containerNode,"id",_609);if(this.accelKeyNode){_5fc.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_setSelected:function(_60a){_5fd.toggle(this.domNode,"dijitMenuItemSelected",_60a);},setLabel:function(_60b){_5fe.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_60b);},setDisabled:function(_60c){_5fe.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_60c);},_setDisabledAttr:function(_60d){this.focusNode.setAttribute("aria-disabled",_60d?"true":"false");this._set("disabled",_60d);},_setAccelKeyAttr:function(_60e){if(this.accelKeyNode){this.accelKeyNode.style.display=_60e?"":"none";this.accelKeyNode.innerHTML=_60e;_5fc.set(this.containerNode,"colSpan",_60e?"1":"2");}this._set("accelKey",_60e);}});if(has("dojo-bidi")){_604=_5fb("dijit.MenuItem",_604,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _604;});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_60f,dom,_610,_611,has,i18n,lang,_612,_613,Menu,_614,_615){var _616=_60f("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_612.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_615,_setNameAttr:"focusNode",scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_611.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _617=i18n.getLocalization("dijit","common");if(this.closeNode){_610.set(this.closeNode,"title",_617.itemClose);}}},_setDisabledAttr:function(_618){this.inherited(arguments);if(this.closeNode){if(_618){_610.remove(this.closeNode,"title");}else{var _619=i18n.getLocalization("dijit","common");_610.set(this.closeNode,"title",_619.itemClose);}}},_setLabelAttr:function(_61a){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_616=_60f("dijit.layout._TabButton",_616,{_setLabelAttr:function(_61b){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _61c=_60f("dijit.layout.TabController",_612,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'></div>",tabPosition:"top",buttonWidget:_616,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _61d=new Menu({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(node){return _611.contains(node,"dijitClosable")&&!_611.contains(node,"dijitTabDisabled");}});this.own(_61d);var _61e=i18n.getLocalization("dijit","common"),_61f=this;_61d.addChild(new _614({label:_61e.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _620=_613.byNode(this.getParent().currentTarget);_61f.onCloseButtonClick(_620.page);}}));}});_61c.TabButton=_616;return _61c;});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_621,dom,_622,_623){return _621("dijit.ToolbarSeparator",[_622,_623],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/layout/_LayoutWidget":function(){define(["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_624,_625,_626,_627,_628,_629,_62a,_62b){return _628("dijit.layout._LayoutWidget",[_624,_625,_626],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);_629.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _62c=this.getParent&&this.getParent();if(!(_62c&&_62c.isLayoutContainer)){this.resize();this.own(_627.on("resize",lang.hitch(this,"resize")));}},resize:function(_62d,_62e){var node=this.domNode;if(_62d){_62a.setMarginBox(node,_62d);}var mb=_62e||{};lang.mixin(mb,_62d||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_62a.getMarginBox(node),mb);}var cs=_62b.getComputedStyle(node);var me=_62a.getMarginExtents(node,cs);var be=_62a.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_62a.getPadExtents(node,cs);this._contentBox={l:_62b.toPixelValue(node,cs.paddingLeft),t:_62b.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_62f){var cls=this.baseClass+"-child "+(_62f.baseClass?this.baseClass+"-"+_62f.baseClass:"");_629.add(_62f.domNode,cls);},addChild:function(_630,_631){this.inherited(arguments);if(this._started){this._setupChild(_630);}},removeChild:function(_632){var cls=this.baseClass+"-child"+(_632.baseClass?" "+this.baseClass+"-"+_632.baseClass:"");_629.remove(_632.domNode,cls);this.inherited(arguments);}});});},"dijit/popup":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],function(_633,_634,_635,dom,_636,_637,_638,_639,has,keys,lang,on,_63a,_63b,_63c,_63d){function _63e(){if(this._popupWrapper){_637.destroy(this._popupWrapper);delete this._popupWrapper;}};var _63f=_635(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _640=this._firstAroundPosition,_641=_638.position(this._firstAroundNode,true),dx=_641.x-_640.x,dy=_641.y-_640.y;if(dx||dy){this._firstAroundPosition=_641;for(var i=0;i<this._stack.length;i++){var _642=this._stack[i].wrapper.style;_642.top=(parseFloat(_642.top)+dy)+"px";if(_642.right=="auto"){_642.left=(parseFloat(_642.left)+dx)+"px";}else{_642.right=(parseFloat(_642.right)-dx)+"px";}}}this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),dx||dy?10:50);}},_createWrapper:function(_643){var _644=_643._popupWrapper,node=_643.domNode;if(!_644){_644=_637.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_643["aria-label"]||_643.label||_643.name||_643.id},_643.ownerDocumentBody);_644.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_643._popupWrapper=_644;_634.after(_643,"destroy",_63e,true);if("ontouchend" in document){on(_644,"touchend",function(evt){if(!/^(input|button|textarea)$/i.test(evt.target.tagName)){evt.preventDefault();}});}_644.dojoClick=true;}return _644;},moveOffScreen:function(_645){var _646=this._createWrapper(_645);var ltr=_638.isBodyLtr(_645.ownerDocument),_647={visibility:"hidden",top:"-9999px",display:""};_647[ltr?"left":"right"]="-9999px";_647[ltr?"right":"left"]="auto";_639.set(_646,_647);return _646;},hide:function(_648){var _649=this._createWrapper(_648);_639.set(_649,{display:"none",height:"auto",overflowY:"visible",border:""});var node=_648.domNode;if("_originalStyle" in node){node.style.cssText=node._originalStyle;}},getTopPopup:function(){var _64a=this._stack;for(var pi=_64a.length-1;pi>0&&_64a[pi].parent===_64a[pi-1].widget;pi--){}return _64a[pi];},open:function(args){var _64b=this._stack,_64c=args.popup,node=_64c.domNode,_64d=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_638.isBodyLtr(_64c.ownerDocument),_64e=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_64b.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_64b[_64b.length-1].widget.domNode))){this.close(_64b[_64b.length-1].widget);}var _64f=this.moveOffScreen(_64c);if(_64c.startup&&!_64c._started){_64c.startup();}var _650,_651=_638.position(node);if("maxHeight" in args&&args.maxHeight!=-1){_650=args.maxHeight||Infinity;}else{var _652=_63c.getEffectiveBox(this.ownerDocument),_653=_64e?_638.position(_64e,false):{y:args.y-(args.padding||0),h:(args.padding||0)*2};_650=Math.floor(Math.max(_653.y,_652.h-(_653.y+_653.h)));}if(_651.h>_650){var cs=_639.getComputedStyle(node),_654=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_639.set(_64f,{overflowY:"scroll",height:_650+"px",border:_654});node._originalStyle=node.style.cssText;node.style.border="none";}_636.set(_64f,{id:id,style:{zIndex:this._beginZIndex+_64b.length},"class":"dijitPopup "+(_64c.baseClass||_64c["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(_64b.length==0&&_64e){this._firstAroundNode=_64e;this._firstAroundPosition=_638.position(_64e,true);this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_64c.bgIframe){_64c.bgIframe=new _63b(_64f);}var _655=_64c.orient?lang.hitch(_64c,"orient"):null,best=_64e?_63a.around(_64f,_64e,_64d,ltr,_655):_63a.at(_64f,args,_64d=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding,_655);_64f.style.visibility="visible";node.style.visibility="visible";var _656=[];_656.push(on(_64f,"keydown",lang.hitch(this,function(evt){if(evt.keyCode==keys.ESCAPE&&args.onCancel){evt.stopPropagation();evt.preventDefault();args.onCancel();}else{if(evt.keyCode==keys.TAB){evt.stopPropagation();evt.preventDefault();var _657=this.getTopPopup();if(_657&&_657.onCancel){_657.onCancel();}}}})));if(_64c.onCancel&&args.onCancel){_656.push(_64c.on("cancel",args.onCancel));}_656.push(_64c.on(_64c.onExecute?"execute":"change",lang.hitch(this,function(){var _658=this.getTopPopup();if(_658&&_658.onExecute){_658.onExecute();}})));_64b.push({widget:_64c,wrapper:_64f,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_656});if(_64c.onOpen){_64c.onOpen(best);}return best;},close:function(_659){var _65a=this._stack;while((_659&&_633.some(_65a,function(elem){return elem.widget==_659;}))||(!_659&&_65a.length)){var top=_65a.pop(),_65b=top.widget,_65c=top.onClose;if(_65b.bgIframe){_65b.bgIframe.destroy();delete _65b.bgIframe;}if(_65b.onClose){_65b.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_65b&&_65b.domNode){this.hide(_65b);}if(_65c){_65c();}}if(_65a.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_63d.popup=new _63f());});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_65d,_65e,lang,_65f,_660){var _661={};_65d.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_661[name]=_65f[name];});lang.mixin(_661,{defaultDuration:_65e["defaultDuration"]||200});lang.mixin(_660,_661);return _660;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],function(_662,_663,_664,_665,keys,lang,on,_666,_667,_668,_669,_66a,_66b,_66c){var _66d=_663("dijit.layout._StackButton",_66c,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _66e=_663("dijit.layout.StackController",[_669,_66a,_66b],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:_66d,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _668.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_666.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_666.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_666.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_666.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_666.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _66f=_668.getEnclosingWidget(evt.target);if(_66f!=this.containerNode&&!_66f.disabled&&_66f.page){for(var _670=evt.target;_670!==this.containerNode;_670=_670.parentNode){if(_664.contains(_670,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_66f.page);break;}else{if(_670==_66f.domNode){this.onButtonClick(_66f.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_662.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _671=_668.byId(this.containerId).containerNode,_672=lang.hitch(this,"pane2button"),_673={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_674=function(attr,_675){return on(_671,"attrmodified-"+attr,function(evt){var _676=_672(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_676){_676.set(_675,evt.detail.newValue);}});};for(var attr in _673){this.own(_674(attr,_673[attr]));}},destroy:function(_677){this.destroyDescendants(_677);this.inherited(arguments);},onAddChild:function(page,_678){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _679=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_679,_678);page.controlButton=_679;if(!this._currentChild){this.onSelectChild(page);}var _67a=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_679.id:_679.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_67a);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _67b=this.pane2button(page.id);if(_67b){this.removeChild(_67b);_67b.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _67c=this.pane2button(this._currentChild.id);_67c.set("checked",false);_67c.focusNode.setAttribute("tabIndex","-1");}var _67d=this.pane2button(page.id);_67d.set("checked",true);this._currentChild=page;_67d.focusNode.setAttribute("tabIndex","0");var _67e=_668.byId(this.containerId);},onButtonClick:function(page){var _67f=this.pane2button(page.id);_667.focus(_67f.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_67f.set("checked",true);}var _680=_668.byId(this.containerId);_680.selectChild(page);},onCloseButtonClick:function(page){var _681=_668.byId(this.containerId);_681.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_667.focus(b.focusNode||b.domNode);}}},adjacent:function(_682){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_682=!_682;}var _683=this.getChildren();var idx=_662.indexOf(_683,this.pane2button(this._currentChild.id)),_684=_683[idx];var _685;do{idx=(idx+(_682?1:_683.length-1))%_683.length;_685=_683[idx];}while(_685.disabled&&_685!=_684);return _685;},onkeydown:function(e,_686){if(this.disabled||e.altKey){return;}var _687=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_687=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_687=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_687=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_687=true;}break;case keys.HOME:var _688=this.getChildren();for(var idx=0;idx<_688.length;idx++){var _689=_688[idx];if(!_689.disabled){this.onButtonClick(_689.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _688=this.getChildren();for(var idx=_688.length-1;idx>=0;idx--){var _689=_688[idx];if(!_689.disabled){this.onButtonClick(_689.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_687!==null){this.onButtonClick(this.adjacent(_687).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_66e.StackButton=_66d;return _66e;});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_68a,_68b,lang,has,win,dom,_68c,_68d,_68e,on,_68f,dnd,_690){return _68b("dojo.dnd.Mover",[_68e],{constructor:function(node,e,host){this.node=dom.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;function _691(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_68f.move,lang.hitch(this,"onFirstMove")),on(d,_68f.move,lang.hitch(this,"onMouseMove")),on(d,_68f.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_691),on(d.body,"selectstart",_691)];_690.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_690.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_68c.getMarginBox(this.node);var b=win.doc.body;var bs=_68d.getComputedStyle(b);var bm=_68c.getMarginBox(b,bs);var bc=_68c.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_68a.forEach(this.events,function(_692){_692.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/request/default":function(){define(["exports","require","../has"],function(_693,_694,has){var _695=has("config-requestProvider"),_696;if(1||has("host-webworker")){_696="./xhr";}else{if(0){_696="./node";}}if(!_695){_695=_696;}_693.getPlatformDefaultId=function(){return _696;};_693.load=function(id,_697,_698,_699){_694([id=="platform"?_696:_695],function(_69a){_698(_69a);});};});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_69b,_69c,_69d,_69e){return _69b("dijit.layout.TabContainer",_69c,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_69f){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_69d=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _69d({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_69f);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_69e:_69d;}}});});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_6a0,_6a1,_6a2,_6a3,_6a4,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _6a5=new function(){var _6a6=[];this.pop=function(){var _6a7;if(_6a6.length){_6a7=_6a6.pop();_6a7.style.display="";}else{if(has("ie")<9){var burl=_6a2["dojoBlankHtmlUrl"]||_6a0.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_6a7=document.createElement(html);}else{_6a7=_6a3.create("iframe");_6a7.src="javascript:\"\"";_6a7.className="dijitBackgroundIframe";_6a7.setAttribute("role","presentation");_6a4.set(_6a7,"opacity",0.1);}_6a7.tabIndex=-1;}return _6a7;};this.push=function(_6a8){_6a8.style.display="none";_6a6.push(_6a8);};}();_6a1.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("config-bgIframe")){var _6a9=(this.iframe=_6a5.pop());node.appendChild(_6a9);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,"resize",node));}else{_6a4.set(_6a9,{width:"100%",height:"100%"});}}};lang.extend(_6a1.BackgroundIframe,{resize:function(node){if(this.iframe){_6a4.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){this.iframe.parentNode.removeChild(this.iframe);_6a5.push(this.iframe);delete this.iframe;}}});return _6a1.BackgroundIframe;});},"dojo/dnd/Avatar":function(){define(["../_base/declare","../_base/window","../dom","../dom-attr","../dom-class","../dom-construct","../hccss","../query"],function(_6aa,win,dom,_6ab,_6ac,_6ad,has,_6ae){return _6aa("dojo.dnd.Avatar",null,{constructor:function(_6af){this.manager=_6af;this.construct();},construct:function(){var a=_6ad.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_6b0=this.manager.source,node,b=_6ad.create("tbody",null,a),tr=_6ad.create("tr",null,b),td=_6ad.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_6ad.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_6ad.create("span",{innerHTML:_6b0.generateText?this._generateText():""},td);_6ab.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i<k;++i){if(_6b0.creator){node=_6b0._normalizedCreator(_6b0.getItem(this.manager.nodes[i].id).data,"avatar").node;}else{node=this.manager.nodes[i].cloneNode(true);if(node.tagName.toLowerCase()=="tr"){var _6b1=_6ad.create("table"),_6b2=_6ad.create("tbody",null,_6b1);_6b2.appendChild(node);node=_6b1;}}node.id="";tr=_6ad.create("tr",null,b);td=_6ad.create("td",null,tr);td.appendChild(node);_6ab.set(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});}this.node=a;},destroy:function(){_6ad.destroy(this.node);this.node=false;},update:function(){_6ac.toggle(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);if(has("highcontrast")){var icon=dom.byId("a11yIcon");var text="+";if(this.manager.canDropFlag&&!this.manager.copy){text="< ";}else{if(!this.manager.canDropFlag&&!this.manager.copy){text="o";}else{if(!this.manager.canDropFlag){text="x";}}}icon.innerHTML=text;}_6ae(("tr.dojoDndAvatarHeader td span"+(has("highcontrast")?" span":"")),this.node).forEach(function(node){node.innerHTML=this.manager.source.generateText?this._generateText():"";},this);},_generateText:function(){return this.manager.nodes.length.toString();}});});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html","../a11yclick"],function(_6b3,_6b4,_6b5,has,_6b6,lang,_6b7,_6b8,_6b9,_6ba){if(has("dijit-legacy-requires")){_6b7(0,function(){var _6bb=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_6b3(_6bb);});}var _6bc=_6b4("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_6b8,_6b9],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_6ba,_setValueAttr:"valueNode",_setNameAttr:function(name){if(this.valueNode){this.valueNode.setAttribute("name",name);}},postCreate:function(){this.inherited(arguments);this._setLabelFromContainer();},_setLabelFromContainer:function(){if(this.containerNode&&!this.label){this.label=lang.trim(this.containerNode.innerHTML);this.onLabelSet();}},_setShowLabelAttr:function(val){if(this.containerNode){_6b5.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_6bd){_6b6.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_6bd);},onLabelSet:function(){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_6bc=_6b4("dijit.form.Button",_6bc,{onLabelSet:function(){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_6be){if(this._created&&this.textDir!=_6be){this._set("textDir",_6be);this._setLabelAttr(this.label);}}});}return _6bc;});},"dojo/dnd/move":function(){define(["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_6bf,_6c0,_6c1,dnd,_6c2,_6c3){var _6c4=_6bf("dojo.dnd.move.constrainedMoveable",_6c3,{constraints:function(){},within:false,constructor:function(node,_6c5){if(!_6c5){_6c5={};}this.constraints=_6c5.constraints;this.within=_6c5.within;},onFirstMove:function(_6c6){var c=this.constraintBox=this.constraints.call(this,_6c6);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_6c0.getMarginSize(_6c6.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_6c7,_6c8){var c=this.constraintBox,s=_6c7.node.style;this.onMoving(_6c7,_6c8);_6c8.l=_6c8.l<c.l?c.l:c.r<_6c8.l?c.r:_6c8.l;_6c8.t=_6c8.t<c.t?c.t:c.b<_6c8.t?c.b:_6c8.t;s.left=_6c8.l+"px";s.top=_6c8.t+"px";this.onMoved(_6c7,_6c8);}});var _6c9=_6bf("dojo.dnd.move.boxConstrainedMoveable",_6c4,{box:{},constructor:function(node,_6ca){var box=_6ca&&_6ca.box;this.constraints=function(){return box;};}});var _6cb=_6bf("dojo.dnd.move.parentConstrainedMoveable",_6c4,{area:"content",constructor:function(node,_6cc){var area=_6cc&&_6cc.area;this.constraints=function(){var n=this.node.parentNode,s=_6c1.getComputedStyle(n),mb=_6c0.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_6c0.getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=_6c0.getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=_6c0.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_6c4,boxConstrainedMoveable:_6c9,parentConstrainedMoveable:_6cb};});},"dijit/_WidgetBase":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","dojo/has!dojo-bidi?./_BidiMixin","./registry"],function(_6cd,_6ce,_6cf,_6d0,_6d1,_6d2,dom,_6d3,_6d4,_6d5,_6d6,_6d7,has,_6d8,lang,on,_6d9,_6da,_6db,win,_6dc,_6dd,_6de){has.add("dijit-legacy-requires",!_6d8.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_6d9(0,function(){var _6df=["dijit/_base/manager"];_6cd(_6df);});}var _6e0={};function _6e1(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _6e2(attr){return function(val){_6d3[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _6e3(a,b){return a===b||(a!==a&&b!==b);};var _6e4=_6d2("dijit._WidgetBase",[_6da,_6dc],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_6e2("lang"),dir:"",_setDirAttr:_6e2("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_6d0.blankGif||_6cd.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var ctor=this.constructor;if(!ctor._setterAttrs){var _6e5=ctor.prototype,_6e6=ctor._setterAttrs=[],_6e7=(ctor._onMap={});for(var name in _6e5.attributeMap){_6e6.push(name);}for(name in _6e5){if(/^on/.test(name)){_6e7[name.substring(2).toLowerCase()]=name;}if(/^_set[A-Z](.*)Attr$/.test(name)){name=name.charAt(4).toLowerCase()+name.substr(5,name.length-9);if(!_6e5.attributeMap||!(name in _6e5.attributeMap)){_6e6.push(name);}}}}},postscript:function(_6e8,_6e9){this.create(_6e8,_6e9);},create:function(_6ea,_6eb){this._introspect();this.srcNodeRef=dom.byId(_6eb);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&this.srcNodeRef.id&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_6ea){this.params=_6ea;lang.mixin(this,_6ea);}this.postMixInProperties();if(!this.id){this.id=_6de.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=win.body(this.ownerDocument);_6de.add(this);this.buildRendering();var _6ec;if(this.domNode){this._applyAttributes();var _6ed=this.srcNodeRef;if(_6ed&&_6ed.parentNode&&this.domNode!==_6ed){_6ed.parentNode.replaceChild(this.domNode,_6ed);_6ec=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_6ec){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _6ee={};for(var key in this.params||{}){_6ee[key]=this._get(key);}_6ce.forEach(this.constructor._setterAttrs,function(key){if(!(key in _6ee)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _6ee){this.set(key,_6ee[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _6ef=this.baseClass.split(" ");if(!this.isLeftToRight()){_6ef=_6ef.concat(_6ce.map(_6ef,function(name){return name+"Rtl";}));}_6d4.add(this.domNode,_6ef);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_6ce.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_6f0){this._beingDestroyed=true;this.destroyDescendants(_6f0);this.destroy(_6f0);},destroy:function(_6f1){this._beingDestroyed=true;this.uninitialize();function _6f2(w){if(w.destroyRecursive){w.destroyRecursive(_6f1);}else{if(w.destroy){w.destroy(_6f1);}}};_6ce.forEach(this._connects,lang.hitch(this,"disconnect"));_6ce.forEach(this._supportingWidgets,_6f2);if(this.domNode){_6ce.forEach(_6de.findWidgets(this.domNode,this.containerNode),_6f2);}this.destroyRendering(_6f1);_6de.remove(this.id);this._destroyed=true;},destroyRendering:function(_6f3){if(this.bgIframe){this.bgIframe.destroy(_6f3);delete this.bgIframe;}if(this.domNode){if(_6f3){_6d3.remove(this.domNode,"widgetId");}else{_6d5.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_6f3){_6d5.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_6f4){_6ce.forEach(this.getChildren(),function(_6f5){if(_6f5.destroyRecursive){_6f5.destroyRecursive(_6f4);}});},uninitialize:function(){return false;},_setStyleAttr:function(_6f6){var _6f7=this.domNode;if(lang.isObject(_6f6)){_6d7.set(_6f7,_6f6);}else{if(_6f7.style.cssText){_6f7.style.cssText+="; "+_6f6;}else{_6f7.style.cssText=_6f6;}}this._set("style",_6f6);},_attrToDom:function(attr,_6f8,_6f9){_6f9=arguments.length>=3?_6f9:this.attributeMap[attr];_6ce.forEach(lang.isArray(_6f9)?_6f9:[_6f9],function(_6fa){var _6fb=this[_6fa.node||_6fa||"domNode"];var type=_6fa.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_6f8)){_6f8=lang.hitch(this,_6f8);}var _6fc=_6fa.attribute?_6fa.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_6fb.tagName){_6d3.set(_6fb,_6fc,_6f8);}else{_6fb.set(_6fc,_6f8);}break;case "innerText":_6fb.innerHTML="";_6fb.appendChild(this.ownerDocument.createTextNode(_6f8));break;case "textContent":_6fb.textContent=_6f8;break;case "innerHTML":_6fb.innerHTML=_6f8;break;case "class":_6d4.replace(_6fb,_6f8,this[attr]);break;case "toggleClass":_6d4.toggle(_6fb,_6fa.className||attr,_6f8);break;}},this);},get:function(name){var _6fd=this._getAttrNames(name);return this[_6fd.g]?this[_6fd.g]():this._get(name);},set:function(name,_6fe){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _6ff=this._getAttrNames(name),_700=this[_6ff.s];if(lang.isFunction(_700)){var _701=_700.apply(this,Array.prototype.slice.call(arguments,1));}else{var _702=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_702]&&this[_702].tagName,_703=tag&&(_6e0[tag]||(_6e0[tag]=_6e1(this[_702]))),map=name in this.attributeMap?this.attributeMap[name]:_6ff.s in this?this[_6ff.s]:((_703&&_6ff.l in _703&&typeof _6fe!="function")||/^aria-|^data-|^role$/.test(name))?_702:null;if(map!=null){this._attrToDom(name,_6fe,map);}this._set(name,_6fe);}return _701||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_704){var _705=this[name];this[name]=_704;if(this._created&&!_6e3(_705,_704)){if(this._watchCallbacks){this._watchCallbacks(name,_705,_704);}this.emit("attrmodified-"+name,{detail:{prevValue:_705,newValue:_704}});}},_get:function(name){return this[name];},emit:function(type,_706,_707){_706=_706||{};if(_706.bubbles===undefined){_706.bubbles=true;}if(_706.cancelable===undefined){_706.cancelable=true;}if(!_706.detail){_706.detail={};}_706.detail.widget=this;var ret,_708=this["on"+type];if(_708){ret=_708.apply(this,_707?_707:[_706]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_706);}return ret;},on:function(type,func){var _709=this._onMap(type);if(_709){return _6cf.after(this,_709,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_6de.findWidgets(this.containerNode):[];},getParent:function(){return _6de.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_70a,_70b){return this.own(_6d1.connect(obj,_70a,this,_70b))[0];},disconnect:function(_70c){_70c.remove();},subscribe:function(t,_70d){return this.own(_6db.subscribe(t,lang.hitch(this,_70d)))[0];},unsubscribe:function(_70e){_70e.remove();},isLeftToRight:function(){return this.dir?(this.dir.toLowerCase()=="ltr"):_6d6.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_6d7.get(this.domNode,"display")!="none");},placeAt:function(_70f,_710){var _711=!_70f.tagName&&_6de.byId(_70f);if(_711&&_711.addChild&&(!_710||typeof _710==="number")){_711.addChild(this,_710);}else{var ref=_711&&("domNode" in _711)?(_711.containerNode&&!/after|before|replace/.test(_710||"")?_711.containerNode:_711.domNode):dom.byId(_70f,this.ownerDocument);_6d5.place(this.domNode,ref,_710);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_712){var _713=setTimeout(lang.hitch(this,function(){if(!_713){return;}_713=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_712||0);return {remove:function(){if(_713){clearTimeout(_713);_713=null;}return null;}};}});if(has("dojo-bidi")){_6e4.extend(_6dd);}return _6e4;});},"dijit/layout/_TabContainerBase":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","./StackContainer","./utils","../_TemplatedMixin","dojo/text!./templates/TabContainer.html"],function(_714,_715,_716,_717,_718,_719,_71a,_71b){return _714("dijit.layout._TabContainerBase",[_718,_71a],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_71b,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_717.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_715.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_715.add(this.domNode,"dijitTabContainerNested");_715.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_715.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_715.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_715.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_715.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},removeChild:function(_71c){_715.remove(_71c.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _71d=this.tabPosition.replace(/-h/,"");this.tablist.region=_71d;var _71e=[this.tablist,{domNode:this.tablistSpacer,region:_71d},{domNode:this.containerNode,region:"center"}];_719.layoutChildren(this.domNode,this._contentBox,_71e);this._containerContentBox=_719.marginBox2contentBox(this.containerNode,_71e[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _71f=_716.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_71f});}if(sc&&sc.resize){sc.resize();}}},destroy:function(_720){if(this.tablist){this.tablist.destroy(_720);}this.inherited(arguments);}});});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_721,_722,_723,has,_724,_725,_726,_727){return _721("dijit.form.Form",[_724,_725,_726,_727],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form data-dojo-attach-point='containerNode' data-dojo-attach-event='onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}></form>",postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(_728){_722.set(this.domNode,"encType",_728);if(has("ie")){this.domNode.encoding=_728;}this._set("encType",_728);},reset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e?e.target:this.domNode,target:e?e.target:this.domNode};if(!(this.onReset(faux)===false)&&faux.returnValue){this.inherited(arguments,[]);}},onReset:function(){return true;},_onReset:function(e){this.reset(e);e.stopPropagation();e.preventDefault();return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_723.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){e.stopPropagation();e.preventDefault();}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_729,_72a,_72b){var base=null;return _729("dojo.store.Memory",base,{constructor:function(_72c){for(var i in _72c){this[i]=_72c[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_72b,get:function(id){return this.data[this.index[id]];},getIdentity:function(_72d){return _72d[this.idProperty];},put:function(_72e,_72f){var data=this.data,_730=this.index,_731=this.idProperty;var id=_72e[_731]=(_72f&&"id" in _72f)?_72f.id:_731 in _72e?_72e[_731]:Math.random();if(id in _730){if(_72f&&_72f.overwrite===false){throw new Error("Object already exists");}data[_730[id]]=_72e;}else{_730[id]=data.push(_72e)-1;}return id;},add:function(_732,_733){(_733=_733||{}).overwrite=false;return this.put(_732,_733);},remove:function(id){var _734=this.index;var data=this.data;if(id in _734){data.splice(_734[id],1);this.setData(data);return true;}},query:function(_735,_736){return _72a(this.queryEngine(_735,_736)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier||this.idProperty;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"dijit/_base/sniff":function(){define(["dojo/uacss"],function(){});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_737,_738,has,keys,_739,_73a,_73b,_73c){if(has("dijit-legacy-requires")){_739(0,function(){var _73d=["dijit/ToolbarSeparator"];_737(_73d);});}return _738("dijit.Toolbar",[_73a,_73c,_73b],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],function(_73e,_73f,_740,_741,_742,has,lang,on,_743,_744,when,_745,_746,_747){if(has("dijit-legacy-requires")){_743(0,function(){var _748=["dijit/layout/StackController"];require(_748);});}var _749=_740("dijit.layout.StackContainer",_747,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_741.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _74a=this.getChildren();_73e.forEach(_74a,this._setupChild,this);if(this.persist){this.selectedChildWidget=_745.byId(_73f(this.id+"_selectedChild"));}else{_73e.some(_74a,function(_74b){if(_74b.selected){this.selectedChildWidget=_74b;}return _74b.selected;},this);}var _74c=this.selectedChildWidget;if(!_74c&&_74a[0]){_74c=this.selectedChildWidget=_74a[0];_74c.selected=true;}_744.publish(this.id+"-startup",{children:_74a,selected:_74c,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _74d=this.selectedChildWidget;if(_74d){this._showChild(_74d);}}this.inherited(arguments);},_setupChild:function(_74e){var _74f=_74e.domNode,_750=_742.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",_74e.domNode,"replace"),_751=_74e["aria-label"]||_74e.title||_74e.label;if(_751){_750.setAttribute("aria-label",_751);}_742.place(_74f,_750);_74e._wrapper=_750;this.inherited(arguments);if(_74f.style.display=="none"){_74f.style.display="block";}_74e.domNode.removeAttribute("title");},addChild:function(_752,_753){this.inherited(arguments);if(this._started){_744.publish(this.id+"-addChild",_752,_753);this.layout();if(!this.selectedChildWidget){this.selectChild(_752);}}},removeChild:function(page){var idx=_73e.indexOf(this.getChildren(),page);this.inherited(arguments);_742.destroy(page._wrapper);delete page._wrapper;if(this._started){_744.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _754=this.getChildren();if(_754.length){this.selectChild(_754[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_755){var d;page=_745.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_755);this._set("selectedChildWidget",page);_744.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_73f(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_756,_757){if(_757){this._hideChild(_757);}var d=this._showChild(_756);if(_756.resize){if(this.doLayout){_756.resize(this._containerContentBox||this._contentBox);}else{_756.resize();}}return d;},_adjacent:function(_758){var _759=this.getChildren();var _75a=_73e.indexOf(_759,this.selectedChildWidget);_75a+=_758?1:_759.length-1;return _759[_75a%_759.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_744.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _75b=this.selectedChildWidget;if(_75b&&_75b.resize){if(this.doLayout){_75b.resize(this._containerContentBox||this._contentBox);}else{_75b.resize();}}},_showChild:function(page){var _75c=this.getChildren();page.isFirstChild=(page==_75c[0]);page.isLastChild=(page==_75c[_75c.length-1]);page._set("selected",true);if(page._wrapper){_741.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_741.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _75d=!page.onClose||page.onClose(this,page);if(_75d){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_75e){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_73e.forEach(this.getChildren(),function(_75f){if(!_75e){this.removeChild(_75f);}_75f.destroyRecursive(_75e);},this);this._descendantsBeingDestroyed=false;}});_749.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_746,_749.ChildWidgetProperties);return _749;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _760={};lang.setObject("dojo.regexp",_760);_760.escapeString=function(str,_761){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_761&&_761.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_760.buildGroupRE=function(arr,re,_762){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _760.group(b.join("|"),_762);};_760.group=function(_763,_764){return "("+(_764?"?:":"")+_763+")";};return _760;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_MenuBase"],function(_765,keys,_766,_767){return _765("dijit.DropDownMenu",_767,{templateString:_766,baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev();},_onDownArrow:function(){this.focusNext();},_onRightArrow:function(evt){this._moveToPopup(evt);evt.stopPropagation();evt.preventDefault();},_onLeftArrow:function(evt){if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{evt.stopPropagation();evt.preventDefault();}}});});},"dijit/_AttachMixin":function(){define(["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],function(_768,_769,_76a,_76b,lang,_76c,on,_76d,_76e){var _76f=lang.delegate(_76d,{"mouseenter":_76c.enter,"mouseleave":_76c.leave,"keypress":_76a._keypress});var _770;var _771=_76b("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[];},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent();},_beforeFillContent:function(){},_attachTemplateNodes:function(_772){var node=_772;while(true){if(node.nodeType==1&&(this._processTemplateNode(node,function(n,p){return n.getAttribute(p);},this._attach)||this.searchContainerNode)&&node.firstChild){node=node.firstChild;}else{if(node==_772){return;}while(!node.nextSibling){node=node.parentNode;if(node==_772){return;}}node=node.nextSibling;}}},_processTemplateNode:function(_773,_774,_775){var ret=true;var _776=this.attachScope||this,_777=_774(_773,"dojoAttachPoint")||_774(_773,"data-dojo-attach-point");if(_777){var _778,_779=_777.split(/\s*,\s*/);while((_778=_779.shift())){if(lang.isArray(_776[_778])){_776[_778].push(_773);}else{_776[_778]=_773;}ret=(_778!="containerNode");this._attachPoints.push(_778);}}var _77a=_774(_773,"dojoAttachEvent")||_774(_773,"data-dojo-attach-event");if(_77a){var _77b,_77c=_77a.split(/\s*,\s*/);var trim=lang.trim;while((_77b=_77c.shift())){if(_77b){var _77d=null;if(_77b.indexOf(":")!=-1){var _77e=_77b.split(":");_77b=trim(_77e[0]);_77d=trim(_77e[1]);}else{_77b=trim(_77b);}if(!_77d){_77d=_77b;}this._attachEvents.push(_775(_773,_77b,lang.hitch(_776,_77d)));}}}return ret;},_attach:function(node,type,func){type=type.replace(/^on/,"").toLowerCase();if(type=="dijitclick"){type=_770||(_770=_768("./a11yclick"));}else{type=_76f[type]||type;}return on(node,type,func);},_detachTemplateNodes:function(){var _77f=this.attachScope||this;_769.forEach(this._attachPoints,function(_780){delete _77f[_780];});this._attachPoints=[];_769.forEach(this._attachEvents,function(_781){_781.remove();});this._attachEvents=[];},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments);}});lang.extend(_76e,{dojoAttachEvent:"",dojoAttachPoint:""});return _771;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_782,_783,_784,lang,on,_785){return _783("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_786){var res=[];_782.forEach(_786||this.getChildren(),function(_787){if("value" in _787){res.push(_787);}else{res=res.concat(this._getDescendantFormWidgets(_787.getChildren()));}},this);return res;},reset:function(){_782.forEach(this._getDescendantFormWidgets(),function(_788){if(_788.reset){_788.reset();}});},validate:function(){var _789=false;return _782.every(_782.map(this._getDescendantFormWidgets(),function(_78a){_78a._hasBeenBlurred=true;var _78b=_78a.disabled||!_78a.validate||_78a.validate();if(!_78b&&!_789){_785.scrollIntoView(_78a.containerNode||_78a.domNode);_78a.focus();_789=true;}return _78b;}),function(item){return item;});},setValues:function(val){_784.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_782.forEach(this._getDescendantFormWidgets(),function(_78c){if(!_78c.name){return;}var _78d=map[_78c.name]||(map[_78c.name]=[]);_78d.push(_78c);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _78e=map[name],_78f=lang.getObject(name,false,obj);if(_78f===undefined){continue;}_78f=[].concat(_78f);if(typeof _78e[0].checked=="boolean"){_782.forEach(_78e,function(w){w.set("value",_782.indexOf(_78f,w._get("value"))!=-1);});}else{if(_78e[0].multiple){_78e[0].set("value",_78f);}else{_782.forEach(_78e,function(w,i){w.set("value",_78f[i]);});}}}},getValues:function(){_784.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_782.forEach(this._getDescendantFormWidgets(),function(_790){var name=_790.name;if(!name||_790.disabled){return;}var _791=_790.get("value");if(typeof _790.checked=="boolean"){if(/Radio/.test(_790.declaredClass)){if(_791!==false){lang.setObject(name,_791,obj);}else{_791=lang.getObject(name,false,obj);if(_791===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_791!==false){ary.push(_791);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_791);}else{lang.setObject(name,[prev,_791],obj);}}else{lang.setObject(name,_791,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _792=_782.map(this._descendants,function(w){return w.get("state")||"";});return _782.indexOf(_792,"Error")>=0?"Error":_782.indexOf(_792,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_793){this._descendants=this._getDescendantFormWidgets();_782.forEach(this._descendants,function(_794){if(!_794._started){_794.startup();}});if(!_793){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_795,_796){this.onValidStateChange(_796=="");});},destroy:function(){this.inherited(arguments);}});});},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_797,_798){var _799={};lang.setObject("dojo.data.util.simpleFetch",_799);_799.errorHandler=function(_79a,_79b){if(_79b.onError){var _79c=_79b.scope||_797.global;_79b.onError.call(_79c,_79a,_79b);}};_799.fetchHandler=function(_79d,_79e){var _79f=_79e.abort||null,_7a0=false,_7a1=_79e.start?_79e.start:0,_7a2=(_79e.count&&(_79e.count!==Infinity))?(_7a1+_79e.count):_79d.length;_79e.abort=function(){_7a0=true;if(_79f){_79f.call(_79e);}};var _7a3=_79e.scope||_797.global;if(!_79e.store){_79e.store=this;}if(_79e.onBegin){_79e.onBegin.call(_7a3,_79d.length,_79e);}if(_79e.sort){_79d.sort(_798.createSortFunction(_79e.sort,this));}if(_79e.onItem){for(var i=_7a1;(i<_79d.length)&&(i<_7a2);++i){var item=_79d[i];if(!_7a0){_79e.onItem.call(_7a3,item,_79e);}}}if(_79e.onComplete&&!_7a0){var _7a4=null;if(!_79e.onItem){_7a4=_79d.slice(_7a1,_7a2);}_79e.onComplete.call(_7a3,_7a4,_79e);}};_799.fetch=function(_7a5){_7a5=_7a5||{};if(!_7a5.store){_7a5.store=this;}this._fetchItems(_7a5,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _7a5;};return _799;});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_7a6,_7a7,_7a8,dom,_7a9,_7aa,_7ab,keys,lang,on,has,win,_7ac,pm,_7ad,_7ae){if(has("dijit-legacy-requires")){_7ae(0,function(){var _7af=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_7a6(_7af);});}return _7a8("dijit.Menu",_7ad,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_7a7.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_7b0){return _7ac.get(this._iframeContentDocument(_7b0))||this._iframeContentDocument(_7b0)["__parent__"]||(_7b0.name&&document.frames[_7b0.name])||null;},_iframeContentDocument:function(_7b1){return _7b1.contentDocument||(_7b1.contentWindow&&_7b1.contentWindow.document)||(_7b1.name&&document.frames[_7b1.name]&&document.frames[_7b1.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _7b2=node,_7b3=this._iframeContentWindow(_7b2);cn=win.body(_7b3.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _7b4={node:node,iframe:_7b2};_7a9.set(node,"_dijitMenu"+this.id,this._bindings.push(_7b4));var _7b5=lang.hitch(this,function(cn){var _7b6=this.selector,_7b7=_7b6?function(_7b8){return on.selector(_7b6,_7b8);}:function(_7b9){return _7b9;},self=this;return [on(cn,_7b7(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()<self._lastKeyDown+500){return;}self._scheduleOpen(this,_7b2,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_7b7("keydown"),function(evt){if(evt.keyCode==93||(evt.shiftKey&&evt.keyCode==keys.F10)||(self.leftClickToOpen&&evt.keyCode==keys.SPACE)){evt.stopPropagation();evt.preventDefault();self._scheduleOpen(this,_7b2,null,evt.target);self._lastKeyDown=(new Date()).getTime();}})];});_7b4.connects=cn?_7b5(cn):[];if(_7b2){_7b4.onloadHandler=lang.hitch(this,function(){var _7ba=this._iframeContentWindow(_7b2),cn=win.body(_7ba.document);_7b4.connects=_7b5(cn);});if(_7b2.addEventListener){_7b2.addEventListener("load",_7b4.onloadHandler,false);}else{_7b2.attachEvent("onload",_7b4.onloadHandler);}}},unBindDomNode:function(_7bb){var node;try{node=dom.byId(_7bb,this.ownerDocument);}catch(e){return;}var _7bc="_dijitMenu"+this.id;if(node&&_7a9.has(node,_7bc)){var bid=_7a9.get(node,_7bc)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _7bd=b.iframe;if(_7bd){if(_7bd.removeEventListener){_7bd.removeEventListener("load",b.onloadHandler,false);}else{_7bd.detachEvent("onload",b.onloadHandler);}}_7a9.remove(node,_7bc);delete this._bindings[bid];}},_scheduleOpen:function(_7be,_7bf,_7c0,_7c1){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_7c1,delegatedTarget:_7be,iframe:_7bf,coords:_7c0});},1);}},_openMyself:function(args){var _7c2=args.target,_7c3=args.iframe,_7c4=args.coords,_7c5=!_7c4;this.currentTarget=args.delegatedTarget;if(_7c4){if(_7c3){var ifc=_7aa.position(_7c3,true),_7c6=this._iframeContentWindow(_7c3),_7c7=_7aa.docScroll(_7c6.document);var cs=_7ab.getComputedStyle(_7c3),tp=_7ab.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_7c3,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_7c3,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_7c3,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_7c3,cs.borderTopWidth):0);_7c4.x+=ifc.x+left-_7c7.x;_7c4.y+=ifc.y+top-_7c7.y;}}else{_7c4=_7aa.position(_7c2,true);_7c4.x+=10;_7c4.y+=10;}var self=this;var _7c8=this._focusManager.get("prevNode");var _7c9=this._focusManager.get("curNode");var _7ca=!_7c9||(dom.isDescendant(_7c9,this.domNode))?_7c8:_7c9;function _7cb(){if(self.refocus&&_7ca){_7ca.focus();}pm.close(self);};pm.open({popup:this,x:_7c4.x,y:_7c4.y,onExecute:_7cb,onCancel:_7cb,orient:this.isLeftToRight()?"L":"R"});this.focus();if(!_7c5){this.defer(function(){this._cleanUp(true);});}this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_7a7.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_7cc,_7cd){return _7cc("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_7ce){this._set("readOnly",_7ce);_7cd.set(this.focusNode,"readOnly",_7ce);},_setLabelAttr:undefined,_getSubmitValue:function(_7cf){return (_7cf==null||_7cf==="")?"on":_7cf;},_setValueAttr:function(_7d0){_7d0=this._getSubmitValue(_7d0);this._set("value",_7d0);_7cd.set(this.focusNode,"value",_7d0);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_7cd.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){e.stopPropagation();e.preventDefault();return false;}return this.inherited(arguments);}});});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when","dojo/i18n!../nls/loading"],function(_7d1,lang,_7d2,_7d3,_7d4,_7d5,html,_7d6,_7d7,_7d8,dom,_7d9,_7da,xhr,i18n,when){return _7d7("dijit.layout.ContentPane",[_7d2,_7d3,_7d4],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_7d1._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,markupFactory:function(_7db,node,ctor){var self=new ctor(_7db,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_7dc,_7dd){if((!_7dc||!_7dc.template)&&_7dd&&!("href" in _7dc)&&!("content" in _7dc)){_7dd=dom.byId(_7dd);var df=_7dd.ownerDocument.createDocumentFragment();while(_7dd.firstChild){df.appendChild(_7dd.firstChild);}_7dc=lang.delegate(_7dc,{content:df});}this.inherited(arguments,[_7dc,_7dd]);},postMixInProperties:function(){this.inherited(arguments);var _7de=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_7d5.substitute(this.loadingMessage,_7de);this.errorMessage=_7d5.substitute(this.errorMessage,_7de);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_7d6.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_7d6.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_7d6.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_7d1.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_7d1.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_7df){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _7e0={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_7e0,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_7e0)),_7e1;hand.then(function(html){_7e1=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _7e1;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_7e2){if(this.isLoaded){this._onUnloadHandler();}var _7e3=this._contentSetter;_7d6.forEach(this.getChildren(),function(_7e4){if(_7e4.destroyRecursive){_7e4.destroyRecursive(_7e2);}else{if(_7e4.destroy){_7e4.destroy(_7e2);}}_7e4._destroyed=true;});if(_7e3){_7d6.forEach(_7e3.parseResults,function(_7e5){if(!_7e5._destroyed){if(_7e5.destroyRecursive){_7e5.destroyRecursive(_7e2);}else{if(_7e5.destroy){_7e5.destroy(_7e2);}}_7e5._destroyed=true;}});delete _7e3.parseResults;}if(!_7e2){_7da.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_7e6){cont=this.preprocessContent(cont);this.destroyDescendants();var _7e7=this._contentSetter;if(!(_7e7&&_7e7 instanceof html._ContentSetter)){_7e7=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _7e8=this.onContentError(e);try{this.containerNode.innerHTML=_7e8;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _7e9=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_7e7.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_7e9);var self=this;return when(p&&p.then?p:_7e7.parseDeferred,function(){delete self._contentSetterParams;if(!_7e6){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},preprocessContent:function(_7ea){return _7ea;},_onError:function(type,err,_7eb){this.onLoadDeferred.reject(err);var _7ec=this["on"+type+"Error"].call(this,err);if(_7eb){console.error(_7eb,err);}else{if(_7ec){this._setContent(_7ec,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_7ed,_7ee,_7ef,_7f0,keys,lang,_7f1,_7f2,_7f3,_7f4){return _7ee("dijit._KeyNavContainer",[_7f3,_7f4,_7f2],{connectKeyNavHandlers:function(_7f5,_7f6){var _7f7=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_7ed.forEach(_7f5,function(code){_7f7[code]=prev;});_7ed.forEach(_7f6,function(code){_7f7[code]=next;});_7f7[keys.HOME]=lang.hitch(this,"focusFirstChild");_7f7[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_7f0.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_7ed.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_7f8,_7f9){this.inherited(arguments);this._startupChild(_7f8);},_startupChild:function(_7fa){_7fa.set("tabIndex","-1");},_getFirst:function(){var _7fb=this.getChildren();return _7fb.length?_7fb[0]:null;},_getLast:function(){var _7fc=this.getChildren();return _7fc.length?_7fc[_7fc.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(node){var node=_7f1.byNode(node);return node&&node.getParent()==this;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_7fd,_7fe,_7ff,_800,lang){function _801(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_802,dim){var _803=_802.resize?_802.resize(dim):_7ff.setMarginBox(_802.domNode,dim);if(_803){lang.mixin(_802,_803);}else{lang.mixin(_802,_7ff.getMarginBox(_802.domNode));lang.mixin(_802,dim);}};var _804={marginBox2contentBox:function(node,mb){var cs=_800.getComputedStyle(node);var me=_7ff.getMarginExtents(node,cs);var pb=_7ff.getPadBorderExtents(node,cs);return {l:_800.toPixelValue(node,cs.paddingLeft),t:_800.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_805,dim,_806,_807,_808){dim=lang.mixin({},dim);_7fe.add(_805,"dijitLayoutContainer");_806=_7fd.filter(_806,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_7fd.filter(_806,function(item){return item.region=="center"||item.layoutAlign=="client";}));_7fd.forEach(_806,function(_809){var elm=_809.domNode,pos=(_809.region||_809.layoutAlign);if(!pos){throw new Error("No region setting for "+_809.id);}var _80a=elm.style;_80a.left=dim.l+"px";_80a.top=dim.t+"px";_80a.position="absolute";_7fe.add(elm,"dijitAlign"+_801(pos));var _80b={};if(_807&&_807==_809.id){_80b[_809.region=="top"||_809.region=="bottom"?"h":"w"]=_808;}if(pos=="leading"){pos=_809.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_809.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_80b.w=dim.w;size(_809,_80b);dim.h-=_809.h;if(pos=="top"){dim.t+=_809.h;}else{_80a.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_80b.h=dim.h;size(_809,_80b);dim.w-=_809.w;if(pos=="left"){dim.l+=_809.w;}else{_80a.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_809,dim);}}}});}};lang.setObject("dijit.layout.utils",_804);return _804;});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_80c,_80d){return _80c("dijit._Contained",null,{_getSibling:function(_80e){var p=this.getParent();return (p&&p._getSiblingOfChild&&p._getSiblingOfChild(this,_80e=="previous"?-1:1))||null;},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_80f,dom,lang,_810,_811,_812){function _813(_814){return {id:_814.value,value:_814.value,name:lang.trim(_814.innerText||_814.textContent||"")};};return _80f("dijit.form.DataList",_811,{constructor:function(_815,_816){this.domNode=dom.byId(_816);lang.mixin(this,_815);if(this.id){_812.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_810("option",this.domNode).map(_813)}]);},destroy:function(){_812.remove(this.id);},fetchSelectedItem:function(){var _817=_810("> option[selected]",this.domNode)[0]||_810("> option",this.domNode)[0];return _817&&_813(_817);}});});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_818,_819,_81a,has,_81b,_81c,_81d,_81e,_81f){if(has("dijit-legacy-requires")){_81c(0,function(){var _820=["dijit/form/RadioButton"];_818(_820);});}return _819("dijit.form.CheckBox",[_81d,_81e],{templateString:_81f,baseClass:"dijitCheckBox",_setValueAttr:function(_821,_822){if(typeof _821=="string"){this.inherited(arguments);_821=true;}if(this._created){this.set("checked",_821,_822);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_81b("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_81b("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dnd/common","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_823,_824,_825,lang,_826,dom,_827,on,_828,_829,_82a){return _824("dijit.tree._dndSelector",_82a,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_828.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_828.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_828.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_829.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_829.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _82b=[],sel=this.selection;for(var i in sel){_82b.push(sel[i]);}return _82b;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_82c){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_82c){this.anchor=node;}return node;},removeTreeNode:function(node){var _82d=_823.filter(this.getSelectedTreeNodes(),function(_82e){return !dom.isDescendant(_82e.domNode,node.domNode);});this.setSelection(_82d);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_82f){var _830=this.getSelectedTreeNodes();_823.forEach(this._setDifference(_830,_82f),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_823.forEach(this._setDifference(_82f,_830),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_823.forEach(ys,function(y){y.__exclude__=true;});var ret=_823.filter(xs,function(x){return !x.__exclude__;});_823.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _831=this.getSelectedTreeNodes();var _832=[],_833=[];_823.forEach(_831,function(node){var ary=node.getTreePath();_833.push(node);_832.push(ary);},this);var _834=_823.map(_833,function(node){return node.item;});this.tree._set("paths",_832);this.tree._set("path",_832[0]||[]);this.tree._set("selectedNodes",_833);this.tree._set("selectedNode",_833[0]||null);this.tree._set("selectedItems",_834);this.tree._set("selectedItem",_834[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_827.isLeft(e)){e.preventDefault();}var _835=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_835){return;}var copy=_826.getCopyKeyState(e),id=_835.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_835,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_826.getCopyKeyState(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_836,_837){if(this.singular){if(this.anchor==node&&_836){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_837&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_838,end,_839=this.anchor;if(cr<0){_838=_839;end=node;}else{_838=node;end=_839;}var _83a=[];while(_838!=end){_83a.push(_838);_838=this.tree._getNext(_838);}_83a.push(end);this.setSelection(_83a);}else{if(this.selection[node.id]&&_836){this.removeTreeNode(node);}else{if(_836){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _83b=this.selection[key];return {data:_83b,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_825.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_83c,_83d,_83e,_83f){return _83d("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_840,_841){var _842=this.containerNode;if(_841>0){_842=_842.firstChild;while(_841>0){if(_842.nodeType==1){_841--;}_842=_842.nextSibling;}if(_842){_841="before";}else{_842=this.containerNode;_841="last";}}_83e.place(_840.domNode,_842,_841);if(this._started&&!_840._started){_840.startup();}},removeChild:function(_843){if(typeof _843=="number"){_843=this.getChildren()[_843];}if(_843){var node=_843.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_844,dir){var _845=this.getChildren(),idx=_83c.indexOf(_845,_844);return _845[idx+dir];},getIndexOfChild:function(_846){return _83c.indexOf(this.getChildren(),_846);}});});},"dojo/data/ItemFileReadStore":function(){define(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_847,lang,_848,_849,xhr,_84a,_84b,_84c,_84d){var _84e=_848("dojo.data.ItemFileReadStore",[_84a],{constructor:function(_84f){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_84f.url;this._ccUrl=_84f.url;this.url=_84f.url;this._jsonData=_84f.data;this.data=null;this._datatypeMap=_84f.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_850){return _84d.fromISOString(_850);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_84f.urlPreventCache!==undefined){this.urlPreventCache=_84f.urlPreventCache?true:false;}if(_84f.hierarchical!==undefined){this.hierarchical=_84f.hierarchical?true:false;}if(_84f.clearOnClose){this.clearOnClose=true;}if("failOk" in _84f){this.failOk=_84f.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_851){if(typeof _851!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_852,_853){var _854=this.getValues(item,_852);return (_854.length>0)?_854[0]:_853;},getValues:function(item,_855){this._assertIsItem(item);this._assertIsAttribute(_855);return (item[_855]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _856=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_856.push(key);}}return _856;},hasAttribute:function(item,_857){this._assertIsItem(item);this._assertIsAttribute(_857);return (_857 in item);},containsValue:function(item,_858,_859){var _85a=undefined;if(typeof _859==="string"){_85a=_84b.patternToRegExp(_859,false);}return this._containsValue(item,_858,_859,_85a);},_containsValue:function(item,_85b,_85c,_85d){return _849.some(this.getValues(item,_85b),function(_85e){if(_85e!==null&&!lang.isObject(_85e)&&_85d){if(_85e.toString().match(_85d)){return true;}}else{if(_85c===_85e){return true;}}});},isItem:function(_85f){if(_85f&&_85f[this._storeRefPropName]===this){if(this._arrayOfAllItems[_85f[this._itemNumPropName]]===_85f){return true;}}return false;},isItemLoaded:function(_860){return this.isItem(_860);},loadItem:function(_861){this._assertIsItem(_861.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_862,_863,_864){var _865=[],i,key;if(_862.query){var _866,_867=_862.queryOptions?_862.queryOptions.ignoreCase:false;var _868={};for(key in _862.query){_866=_862.query[key];if(typeof _866==="string"){_868[key]=_84b.patternToRegExp(_866,_867);}else{if(_866 instanceof RegExp){_868[key]=_866;}}}for(i=0;i<_863.length;++i){var _869=true;var _86a=_863[i];if(_86a===null){_869=false;}else{for(key in _862.query){_866=_862.query[key];if(!this._containsValue(_86a,key,_866,_868[key])){_869=false;}}}if(_869){_865.push(_86a);}}_864(_865,_862);}else{for(i=0;i<_863.length;++i){var item=_863[i];if(item!==null){_865.push(item);}}_864(_865,_862);}},_fetchItems:function(_86b,_86c,_86d){var self=this;if(this._loadFinished){this.filter(_86b,this._getItemsArray(_86b.queryOptions),_86c);}else{if(this._jsonFileUrl!==this._ccUrl){_847.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_86b,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_86c)});}else{this._loadInProgress=true;var _86e={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _86f=xhr.get(_86e);_86f.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_86b,self._getItemsArray(_86b.queryOptions),_86c);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_86d(e,_86b);}});_86f.addErrback(function(_870){self._loadInProgress=false;_86d(_870,_86b);});var _871=null;if(_86b.abort){_871=_86b.abort;}_86b.abort=function(){var df=_86f;if(df&&df.fired===-1){df.cancel();df=null;}if(_871){_871.call(_86b);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_86b,this._getItemsArray(_86b.queryOptions),_86c);}catch(e){_86d(e,_86b);}}else{_86d(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_86b);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _872=this._queuedFetches[i],_873=_872.args,_874=_872.filter,_875=_872.findCallback;if(_874){_874(_873,this._getItemsArray(_873.queryOptions),_875);}else{this.fetchItemByIdentity(_873);}}this._queuedFetches=[];}},_getItemsArray:function(_876){if(_876&&_876.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_877){if(this.clearOnClose&&this._loadFinished&&!this._loadInProgress){if(((this._jsonFileUrl==""||this._jsonFileUrl==null)&&(this.url==""||this.url==null))&&this.data==null){}this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._itemsByIdentity=null;this._loadInProgress=false;this._queuedFetches=[];}},_getItemsFromLoadedData:function(_878){var _879=false,self=this;function _87a(_87b){return (_87b!==null)&&(typeof _87b==="object")&&(!lang.isArray(_87b)||_879)&&(!lang.isFunction(_87b))&&(_87b.constructor==Object||lang.isArray(_87b))&&(typeof _87b._reference==="undefined")&&(typeof _87b._type==="undefined")&&(typeof _87b._value==="undefined")&&self.hierarchical;};function _87c(_87d){self._arrayOfAllItems.push(_87d);for(var _87e in _87d){var _87f=_87d[_87e];if(_87f){if(lang.isArray(_87f)){var _880=_87f;for(var k=0;k<_880.length;++k){var _881=_880[k];if(_87a(_881)){_87c(_881);}}}else{if(_87a(_87f)){_87c(_87f);}}}}};this._labelAttr=_878.label;var i,item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_878.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];if(lang.isArray(item)){_879=true;}_87c(item);item[this._rootItemPropName]=true;}var _882={},key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _883=item[key];if(_883!==null){if(!lang.isArray(_883)){item[key]=[_883];}}else{item[key]=[null];}}_882[key]=key;}}while(_882[this._storeRefPropName]){this._storeRefPropName+="_";}while(_882[this._itemNumPropName]){this._itemNumPropName+="_";}while(_882[this._reverseRefMap]){this._reverseRefMap+="_";}var _884;var _885=_878.identifier;if(_885){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_885;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_884=item[_885];var _886=_884[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_886)){this._itemsByIdentity[_886]=item;}else{if(this._jsonFileUrl){throw new Error(this.declaredClass+": The json data as specified by: ["+this._jsonFileUrl+"] is malformed. Items within the list have identifier: ["+_885+"]. Value collided: ["+_886+"]");}else{if(this._jsonData){throw new Error(this.declaredClass+": The json data provided by the creation arguments is malformed. Items within the list have identifier: ["+_885+"]. Value collided: ["+_886+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];item[this._storeRefPropName]=this;item[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){_884=item[key];for(var j=0;j<_884.length;++j){_883=_884[j];if(_883!==null&&typeof _883=="object"){if(("_type" in _883)&&("_value" in _883)){var type=_883._type;var _887=this._datatypeMap[type];if(!_887){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(lang.isFunction(_887)){_884[j]=new _887(_883._value);}else{if(lang.isFunction(_887.deserialize)){_884[j]=_887.deserialize(_883._value);}else{throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");}}}}if(_883._reference){var _888=_883._reference;if(!lang.isObject(_888)){_884[j]=this._getItemByIdentity(_888);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _889=this._arrayOfAllItems[k],_88a=true;for(var _88b in _888){if(_889[_88b]!=_888[_88b]){_88a=false;}}if(_88a){_884[j]=_889;}}}if(this.referenceIntegrity){var _88c=_884[j];if(this.isItem(_88c)){this._addReferenceToMap(_88c,item,key);}}}else{if(this.isItem(_883)){if(this.referenceIntegrity){this._addReferenceToMap(_883,item,key);}}}}}}}},_addReferenceToMap:function(_88d,_88e,_88f){},getIdentity:function(item){var _890=this._features["dojo.data.api.Identity"];if(_890===Number){return item[this._itemNumPropName];}else{var _891=item[_890];if(_891){return _891[0];}}return null;},fetchItemByIdentity:function(_892){var item,_893;if(!this._loadFinished){var self=this;if(this._jsonFileUrl!==this._ccUrl){_847.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null&&this._jsonData==null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_892});}else{this._loadInProgress=true;var _894={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _895=xhr.get(_894);_895.addCallback(function(data){var _896=_892.scope?_892.scope:_847.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;item=self._getItemByIdentity(_892.identity);if(_892.onItem){_892.onItem.call(_896,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_892.onError){_892.onError.call(_896,error);}}});_895.addErrback(function(_897){self._loadInProgress=false;if(_892.onError){var _898=_892.scope?_892.scope:_847.global;_892.onError.call(_898,_897);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;item=self._getItemByIdentity(_892.identity);if(_892.onItem){_893=_892.scope?_892.scope:_847.global;_892.onItem.call(_893,item);}}}}else{item=this._getItemByIdentity(_892.identity);if(_892.onItem){_893=_892.scope?_892.scope:_847.global;_892.onItem.call(_893,item);}}},_getItemByIdentity:function(_899){var item=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_899)){item=this._itemsByIdentity[_899];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_899)){item=this._arrayOfAllItems[_899];}}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _89a=this._features["dojo.data.api.Identity"];if(_89a===Number){return null;}else{return [_89a];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){_847.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){var _89b={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _89c=xhr.get(_89b);_89c.addCallback(function(data){try{if(self._loadInProgress!==true&&!self._loadFinished){self._getItemsFromLoadedData(data);self._loadFinished=true;}else{if(self._loadInProgress){throw new Error(this.declaredClass+": Unable to perform a synchronous load, an async load is in progress.");}}}catch(e){throw e;}});_89c.addErrback(function(_89d){throw _89d;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});lang.extend(_84e,_84c);return _84e;});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_89e,lang,_89f,_8a0,dom,_8a1,_8a2){var _8a3=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_8a1.empty,_setNodeContent:function(node,cont){_8a1.empty(node);if(cont){if(typeof cont=="number"){cont=cont.toString();}if(typeof cont=="string"){cont=_8a1.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _8a4=cont.length,i=0;i<cont.length;i=_8a4==cont.length?i+1:0){_8a1.place(cont[i],node,"last");}}else{_8a1.place(cont,node,"last");}}return node;},_ContentSetter:_8a0("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_89e._scopeName,startup:true,constructor:function(_8a5,node){lang.mixin(this,_8a5||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_8a3++].join("_");}},set:function(cont,_8a6){if(undefined!==cont){this.content=cont;}if(typeof cont=="number"){cont=cont.toString();}if(_8a6){this._mixin(_8a6);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _8a7=this.onContentError(e);try{node.innerHTML=_8a7;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_89f.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_8a1.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _8a8=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_8a8){cont=_8a8[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_8a9){var _8aa={},key;for(key in _8a9){if(key in _8aa){continue;}this[key]=_8a9[key];}},_parse:function(){var _8ab=this.node;try{var _8ac={};_89f.forEach(["dir","lang","textDir"],function(name){if(this[name]){_8ac[name]=this[name];}},this);var self=this;this.parseDeferred=_8a2.parse({rootNode:_8ab,noStart:!this.startup,inherited:_8ac,scope:this.parserScope}).then(function(_8ad){return self.parseResults=_8ad;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+self.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_8ae){var _8af=this["on"+type+"Error"].call(this,err);if(_8ae){console.error(_8ae,err);}else{if(_8af){html._setNodeContent(this.node,_8af,true);}}}}),set:function(node,cont,_8b0){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(typeof cont=="number"){cont=cont.toString();}if(!_8b0){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_8b0,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","./_CssStateMixin","./a11yclick","./focus","./typematic"],function(_8b1,_8b2,_8b3,_8b4,keys,lang,on,_8b5,_8b6,_8b7,_8b8){var _8b9=_8b1("dijit._PaletteMixin",_8b5,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_8ba){var _8bb=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _8bb(_8ba);},_preparePalette:function(_8bc,_8bd){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_8b6,lang.hitch(this,"_onCellClick")));for(var row=0;row<_8bc.length;row++){var _8be=_8b4.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_8bc[row].length;col++){var _8bf=_8bc[row][col];if(_8bf){var _8c0=this._dyeFactory(_8bf,row,col,_8bd[_8bf]);var _8c1=_8b4.create("td",{"class":this.cellClass,tabIndex:"-1",title:_8bd[_8bf],role:"gridcell"},_8be);_8c0.fillCell(_8c1,url);_8c1.idx=this._cells.length;this._cells.push({node:_8c1,dye:_8c0});}}}this._xDim=_8bc[0].length;this._yDim=_8bc.length;var _8c2={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _8c2){this.own(_8b8.addKeyListener(this.domNode,{keyCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _8c3=_8c2[key];return function(_8c4){this._navigateByKey(_8c3,_8c4);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_8b7.focus(this._currentFocus);},_onCellClick:function(evt){var _8c5=evt.target;while(_8c5.tagName!="TD"){if(!_8c5.parentNode||_8c5==this.gridNode){return;}_8c5=_8c5.parentNode;}var _8c6=this._getDye(_8c5).getValue();this._setCurrent(_8c5);_8b7.focus(_8c5);this._setValueAttr(_8c6,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(node){if("_currentFocus" in this){_8b2.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_8b2.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_8c7,_8c8){if(this._selectedCell>=0){_8b3.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_8c7){for(var i=0;i<this._cells.length;i++){if(_8c7==this._cells[i].dye.getValue()){this._selectedCell=i;_8b3.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_8c7:null);if(_8c8||_8c8===undefined){this.onChange(_8c7);}},onChange:function(){},_navigateByKey:function(_8c9,_8ca){if(_8ca==-1){return;}var _8cb=this._currentFocus.idx+_8c9;if(_8cb<this._cells.length&&_8cb>-1){var _8cc=this._cells[_8cb].node;this._setCurrent(_8cc);this.defer(lang.hitch(_8b7,"focus",_8cc));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});return _8b9;});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_8cd,_8ce,lang,i18n,_8cf,_8d0,_8d1){var _8d2=_8cd("dijit.form.ValidationTextBox",_8cf,{templateString:_8d1,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_8d3){if(_8d3!=_8d2.prototype[attr]){_8ce.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_8d3);}},_setRegExpGenAttr:function(_8d4){this._deprecateRegExp("regExpGen",_8d4);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_8d5){this._deprecateRegExp("regExp",_8d5);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_8d6,_8d7){return (new RegExp("^(?:"+this._computeRegexp(_8d7)+")"+(this.required?"":"?")+"$")).test(_8d6)&&(!this.required||!this._isEmpty(_8d6))&&(this._isEmpty(_8d6)||this.parse(_8d6,_8d7)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_8d8){return (this.trim?/^\s*$/:/^$/).test(_8d8);},getErrorMessage:function(){var _8d9=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _8da=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_8d9:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_8da:_8d9;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_8db){var _8dc="";var _8dd=this.disabled||this.isValid(_8db);if(_8dd){this._maskValidSubsetError=true;}var _8de=this._isEmpty(this.textbox.value);var _8df=!_8dd&&_8db&&this._isValidSubset();this._set("state",_8dd?"":(((((!this._hasBeenBlurred||_8db)&&_8de)||_8df)&&(this._maskValidSubsetError||(_8df&&!this._hasBeenBlurred&&_8db)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_8db&&_8df;_8dc=this.getErrorMessage(_8db);}else{if(this.state=="Incomplete"){_8dc=this.getPromptMessage(_8db);this._maskValidSubsetError=!this._hasBeenBlurred||_8db;}else{if(_8de){_8dc=this.getPromptMessage(_8db);}}}this.set("message",_8dc);return _8dd;},displayMessage:function(_8e0){if(_8e0&&this.focused){_8d0.show(_8e0,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_8d0.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_8e1){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_8e2){if(!_8e2.locale&&this.lang){_8e2.locale=this.lang;}this._set("constraints",_8e2);this._refreshState();},_setPatternAttr:function(_8e3){this._set("pattern",_8e3);this._refreshState();},_computeRegexp:function(_8e4){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_8e4);}if(p!=this._lastRegExp){var _8e5="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_8e5+=re;break;case ")":_8e5+="|$)";break;default:_8e5+="(?:"+re+"|$)";break;}});}try{"".search(_8e5);}catch(e){_8e5=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_8e5+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_8e6){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_8e7){this._set("required",_8e7);this.focusNode.setAttribute("aria-required",_8e7);this._refreshState();},_setMessageAttr:function(_8e8){this._set("message",_8e8);this.displayMessage(_8e8);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_8d0.hide(this.domNode);this.inherited(arguments);}});return _8d2;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_8e9,dom,lang,has,_8ea,_8eb){var _8ec=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _8ed="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _8ee=oSel.getRangeAt(0);if((_8ee.startContainer==_8ee.endContainer)&&((_8ee.endOffset-_8ee.startOffset)==1)&&(_8ee.startContainer.nodeType!=3)){_8ed="control";}}return _8ed;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _8ef=win.getSelection();return _8ef?_8ef.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _8f0=win.getSelection();if(_8f0&&_8f0.rangeCount){var i;var html="";for(i=0;i<_8f0.rangeCount;i++){var frag=_8f0.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _8f1=win.getSelection();return _8f1.anchorNode.childNodes[_8f1.anchorOffset];}else{var _8f2=doc.selection.createRange();if(_8f2&&_8f2.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _8f3=doc.getSelection();if(_8f3){var node=_8f3.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_8f4){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_8f5){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _8f6=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _8f7=String(tags[i]).toLowerCase();if(_8f6==_8f7){return _8f7;}}}return "";};this.getParentOfType=function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;};this.collapse=function(_8f8){if(doc.getSelection){var _8f9=win.getSelection();if(_8f9.removeAllRanges){if(_8f8){_8f9.collapseToStart();}else{_8f9.collapseToEnd();}}else{_8f9.collapse(_8f8);}}else{var _8fa=doc.selection.createRange();_8fa.collapse(_8f8);_8fa.select();}};this.remove=function(){var sel=doc.selection;if(doc.getSelection){sel=win.getSelection();sel.deleteFromDocument();return sel;}else{if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}};this.selectElementChildren=function(_8fb,_8fc){var _8fd;_8fb=dom.byId(_8fb);if(doc.getSelection){var _8fe=win.getSelection();if(has("opera")){if(_8fe.rangeCount){_8fd=_8fe.getRangeAt(0);}else{_8fd=doc.createRange();}_8fd.setStart(_8fb,0);_8fd.setEnd(_8fb,(_8fb.nodeType==3)?_8fb.length:_8fb.childNodes.length);_8fe.addRange(_8fd);}else{_8fe.selectAllChildren(_8fb);}}else{_8fd=_8fb.ownerDocument.body.createTextRange();_8fd.moveToElementText(_8fb);if(!_8fc){try{_8fd.select();}catch(e){}}}};this.selectElement=function(_8ff,_900){var _901;_8ff=dom.byId(_8ff);if(doc.getSelection){var _902=doc.getSelection();_901=doc.createRange();if(_902.removeAllRanges){if(has("opera")){if(_902.getRangeAt(0)){_901=_902.getRangeAt(0);}}_901.selectNode(_8ff);_902.removeAllRanges();_902.addRange(_901);}}else{try{var tg=_8ff.tagName?_8ff.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_901=_8ea.body(doc).createControlRange();}else{_901=_8ea.body(doc).createRange();}_901.addElement(_8ff);if(!_900){_901.select();}}catch(e){this.selectElementChildren(_8ff,_900);}}};this.inSelection=function(node){if(node){var _903;var _904;if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.rangeCount>0){_904=sel.getRangeAt(0);}if(_904&&_904.compareBoundaryPoints&&doc.createRange){try{_903=doc.createRange();_903.setStart(node,0);if(_904.compareBoundaryPoints(_904.START_TO_END,_903)===1){return true;}}catch(e){}}}else{_904=doc.selection.createRange();try{_903=node.ownerDocument.body.createTextRange();_903.moveToElementText(node);}catch(e2){}if(_904&&_903){if(_904.compareEndPoints("EndToStart",_903)===1){return true;}}}}return false;};this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_8eb.curNode;if(doc.getSelection){sel=win.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;};this.moveToBookmark=function(_905){var mark=_905.mark;if(mark){if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var n=mark.node;n.selectionStart=mark.start;n.selectionEnd=mark.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(doc.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=doc.body.createControlRange();_8e9.forEach(mark,function(n){rg.addElement(n);});}else{rg=doc.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}};this.isCollapsed=function(){return this.getBookmark().isCollapsed;};};var _906=new _8ec(window);_906.SelectionManager=_8ec;return _906;});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./LayoutContainer","./utils"],function(_907,_908,_909,_90a,_90b,_90c,_90d,keys,lang,on,_90e,_90f,_910,_911,_912,_913){var _914=_909("dijit.layout._Splitter",[_910,_911],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_90a.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _915=_908(this._cookieName);if(_915){this.child.domNode.style[this.horizontal?"height":"width"]=_915;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_916=_90c.getMarginBox(this.child.domNode)[dim],_917=_907.filter(this.container.getChildren(),function(_918){return _918.region=="center";})[0];var _919=_90c.getContentBox(_917.domNode)[dim]-10;return Math.min(this.child.maxSize,_916+_919);},_startDrag:function(e){if(!this.cover){this.cover=_90b.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_90a.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_90b.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_90a.add(this.domNode,"dijitSplitterShadow");_90b.place(this.fake,this.domNode,"after");}_90a.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_90a.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _91a=this._factor,_91b=this.horizontal,axis=_91b?"pageY":"pageX",_91c=e[axis],_91d=this.domNode.style,dim=_91b?"h":"w",_91e=_90d.getComputedStyle(this.child.domNode),_91f=_90c.getMarginBox(this.child.domNode,_91e)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_90c.getPadBorderExtents(this.child.domNode,_91e)[dim]+10),_920=this.region,_921=_920=="top"||_920=="bottom"?"top":"left",_922=parseInt(_91d[_921],10),_923=this._resize,_924=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_90e.move,this._drag=function(e,_925){var _926=e[axis]-_91c,_927=_91a*_926+_91f,_928=Math.max(Math.min(_927,max),min);if(_923||_925){_924(_928);}_91d[_921]=_926+_922+_91a*(_928-_927)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_90e.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_90a.toggle(this.domNode,"dijitSplitterHover",o);_90a.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_90a.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_90b.destroy(this.fake);}_90a.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_908(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _929=this.horizontal;var tick=1;switch(e.keyCode){case _929?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _929?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _92a=_90c.getMarginSize(this.child.domNode)[_929?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_92a,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _92b=_909("dijit.layout._Gutter",[_910,_911],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_90a.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _92c=_909("dijit.layout.BorderContainer",_912,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_914,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_92d){this.inherited(arguments);var _92e=_92d.region,ltr=_92d.isLeftToRight();if(_92e=="leading"){_92e=ltr?"left":"right";}if(_92e=="trailing"){_92e=ltr?"right":"left";}if(_92e){if(_92e!="center"&&(_92d.splitter||this.gutters)&&!_92d._splitterWidget){var _92f=_92d.splitter?this._splitterClass:_92b;if(lang.isString(_92f)){_92f=lang.getObject(_92f);}var _930=new _92f({id:_92d.id+"_splitter",container:this,child:_92d,region:_92e,live:this.liveSplitters});_930.isSplitter=true;_92d._splitterWidget=_930;var _931=_92e=="bottom"||_92e==(this.isLeftToRight()?"right":"left");_90b.place(_930.domNode,_92d.domNode,_931?"before":"after");_930.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_932){var _933=_932._splitterWidget;if(_933){_933.destroy();delete _932._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _907.filter(this.inherited(arguments),function(_934){return !_934.isSplitter;});},getSplitter:function(_935){return _907.filter(this.getChildren(),function(_936){return _936.region==_935;})[0]._splitterWidget;},resize:function(_937,_938){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_90d.getComputedStyle(node);this.pe=_90c.getPadExtents(node,this.cs);this.pe.r=_90d.toPixelValue(node,this.cs.paddingRight);this.pe.b=_90d.toPixelValue(node,this.cs.paddingBottom);_90d.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_939,_93a){if(!this._borderBox||!this._borderBox.h){return;}var _93b=[];_907.forEach(this._getOrderedChildren(),function(pane){_93b.push(pane);if(pane._splitterWidget){_93b.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_913.layoutChildren(this.domNode,dim,_93b,_939,_93a);},destroyRecursive:function(){_907.forEach(this.getChildren(),function(_93c){var _93d=_93c._splitterWidget;if(_93d){_93d.destroy();}delete _93c._splitterWidget;});this.inherited(arguments);}});_92c.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_92c.ChildWidgetProperties,_912.ChildWidgetProperties);lang.extend(_90f,_92c.ChildWidgetProperties);_92c._Splitter=_914;_92c._Gutter=_92b;return _92c;});},"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_93e){return _93e._base;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_93f,dom,geom,_940,_941){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_93f.body(doc),_942=_941.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_941.create("div",{style:{overflow:"hidden",direction:"ltr"}},_942,"last"),ret=geom.position(div).x!=0;_942.removeChild(div);body.removeChild(_942);return ret;});has.add("position-fixed-support",function(win,doc){var body=_93f.body(doc),_943=_941.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_944=_941.create("span",{style:{position:"fixed",left:"0",top:"0"}},_943,"last"),ret=geom.position(_944).x!=geom.position(_943).x;_943.removeChild(_944);body.removeChild(_943);return ret;});var _945={getBox:function(doc){doc=doc||_93f.doc;var _946=(doc.compatMode=="BackCompat")?_93f.body(doc):doc.documentElement,_947=geom.docScroll(doc),w,h;if(has("touch")){var _948=_945.get(doc);w=_948.innerWidth||_946.clientWidth;h=_948.innerHeight||_946.clientHeight;}else{w=_946.clientWidth;h=_946.clientHeight;}return {l:_947.x,t:_947.y,w:w,h:h};},get:function(doc){if(has("ie")&&_945!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_93f.doc,body=_93f.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie")||has("trident"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _949=doc.compatMode=="BackCompat",_94a=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_94b=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_94c=(isWK||_949)?body:html,_94d=pos||geom.position(node),el=node.parentNode,_94e=function(el){return (isIE<=6||(isIE==7&&_949))?false:(has("position-fixed-support")&&(_940.get(el,"position").toLowerCase()=="fixed"));},self=this,_94f=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_94e(node)){return;}while(el){if(el==body){el=_94c;}var _950=geom.position(el),_951=_94e(el),rtl=_940.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_94c){_950.w=_94a;_950.h=_94b;if(_94c==html&&(isIE||has("trident"))&&rtl){_950.x+=_94c.offsetWidth-_950.w;}_950.x=0;_950.y=0;}else{var pb=geom.getPadBorderExtents(el);_950.w-=pb.w;_950.h-=pb.h;_950.x+=pb.l;_950.y+=pb.t;var _952=el.clientWidth,_953=_950.w-_952;if(_952>0&&_953>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_950.x+=_953;}_950.w=_952;}_952=el.clientHeight;_953=_950.h-_952;if(_952>0&&_953>0){_950.h=_952;}}if(_951){if(_950.y<0){_950.h+=_950.y;_950.y=0;}if(_950.x<0){_950.w+=_950.x;_950.x=0;}if(_950.y+_950.h>_94b){_950.h=_94b-_950.y;}if(_950.x+_950.w>_94a){_950.w=_94a-_950.x;}}var l=_94d.x-_950.x,t=_94d.y-_950.y,r=l+_94d.w-_950.w,bot=t+_94d.h-_950.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_94c||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_949)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_94f(el,s,0);s=el.scrollLeft-old;_94d.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_94c||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_94f(el,0,s);s=el.scrollTop-old;_94d.y-=s;}el=(el!=_94c)&&!_951&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_945);return _945;});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_954,_955,_956){var _957={};lang.setObject("dojo.number",_957);_957.format=function(_958,_959){_959=lang.mixin({},_959||{});var _95a=i18n.normalizeLocale(_959.locale),_95b=i18n.getLocalization("dojo.cldr","number",_95a);_959.customs=_95b;var _95c=_959.pattern||_95b[(_959.type||"decimal")+"Format"];if(isNaN(_958)||Math.abs(_958)==Infinity){return null;}return _957._applyPattern(_958,_95c,_959);};_957._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_957._applyPattern=function(_95d,_95e,_95f){_95f=_95f||{};var _960=_95f.customs.group,_961=_95f.customs.decimal,_962=_95e.split(";"),_963=_962[0];_95e=_962[(_95d<0)?1:0]||("-"+_963);if(_95e.indexOf("%")!=-1){_95d*=100;}else{if(_95e.indexOf("‰")!=-1){_95d*=1000;}else{if(_95e.indexOf("¤")!=-1){_960=_95f.customs.currencyGroup||_960;_961=_95f.customs.currencyDecimal||_961;_95e=_95e.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(_964,_965,_966,_967){var prop=["symbol","currency","displayName"][_966.length-1],_968=_95f[prop]||_95f.currency||"";if(!_968){return "";}return _965+_968+_967;});}else{if(_95e.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _969=_957._numberPatternRE;var _96a=_963.match(_969);if(!_96a){throw new Error("unable to find a number expression in pattern: "+_95e);}if(_95f.fractional===false){_95f.places=0;}return _95e.replace(_969,_957._formatAbsolute(_95d,_96a[0],{decimal:_961,group:_960,places:_95f.places,round:_95f.round}));};_957.round=function(_96b,_96c,_96d){var _96e=10/(_96d||10);return (_96e*+_96b).toFixed(_96c)/_96e;};if((0.9).toFixed()==0){var _96f=_957.round;_957.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _96f(v,p,m)+(v>0?d:-d);};}_957._formatAbsolute=function(_970,_971,_972){_972=_972||{};if(_972.places===true){_972.places=0;}if(_972.places===Infinity){_972.places=6;}var _973=_971.split("."),_974=typeof _972.places=="string"&&_972.places.indexOf(","),_975=_972.places;if(_974){_975=_972.places.substring(_974+1);}else{if(!(_975>=0)){_975=(_973[1]||[]).length;}}if(!(_972.round<0)){_970=_957.round(_970,_975,_972.round);}var _976=String(Math.abs(_970)).split("."),_977=_976[1]||"";if(_973[1]||_972.places){if(_974){_972.places=_972.places.substring(0,_974);}var pad=_972.places!==undefined?_972.places:(_973[1]&&_973[1].lastIndexOf("0")+1);if(pad>_977.length){_976[1]=_955.pad(_977,pad,"0",true);}if(_975<_977.length){_976[1]=_977.substr(0,_975);}}else{if(_976[1]){_976.pop();}}var _978=_973[0].replace(",","");pad=_978.indexOf("0");if(pad!=-1){pad=_978.length-pad;if(pad>_976[0].length){_976[0]=_955.pad(_976[0],pad);}if(_978.indexOf("#")==-1){_976[0]=_976[0].substr(_976[0].length-pad);}}var _979=_973[0].lastIndexOf(","),_97a,_97b;if(_979!=-1){_97a=_973[0].length-_979-1;var _97c=_973[0].substr(0,_979);_979=_97c.lastIndexOf(",");if(_979!=-1){_97b=_97c.length-_979-1;}}var _97d=[];for(var _97e=_976[0];_97e;){var off=_97e.length-_97a;_97d.push((off>0)?_97e.substr(off):_97e);_97e=(off>0)?_97e.slice(0,off):"";if(_97b){_97a=_97b;_97b=undefined;}}_976[0]=_97d.reverse().join(_972.group||",");return _976.join(_972.decimal||".");};_957.regexp=function(_97f){return _957._parseInfo(_97f).regexp;};_957._parseInfo=function(_980){_980=_980||{};var _981=i18n.normalizeLocale(_980.locale),_982=i18n.getLocalization("dojo.cldr","number",_981),_983=_980.pattern||_982[(_980.type||"decimal")+"Format"],_984=_982.group,_985=_982.decimal,_986=1;if(_983.indexOf("%")!=-1){_986/=100;}else{if(_983.indexOf("‰")!=-1){_986/=1000;}else{var _987=_983.indexOf("¤")!=-1;if(_987){_984=_982.currencyGroup||_984;_985=_982.currencyDecimal||_985;}}}var _988=_983.split(";");if(_988.length==1){_988.push("-"+_988[0]);}var re=_956.buildGroupRE(_988,function(_989){_989="(?:"+_956.escapeString(_989,".")+")";return _989.replace(_957._numberPatternRE,function(_98a){var _98b={signed:false,separator:_980.strict?_984:[_984,""],fractional:_980.fractional,decimal:_985,exponent:false},_98c=_98a.split("."),_98d=_980.places;if(_98c.length==1&&_986!=1){_98c[1]="###";}if(_98c.length==1||_98d===0){_98b.fractional=false;}else{if(_98d===undefined){_98d=_980.pattern?_98c[1].lastIndexOf("0")+1:Infinity;}if(_98d&&_980.fractional==undefined){_98b.fractional=true;}if(!_980.places&&(_98d<_98c[1].length)){_98d+=","+_98c[1].length;}_98b.places=_98d;}var _98e=_98c[0].split(",");if(_98e.length>1){_98b.groupSize=_98e.pop().length;if(_98e.length>1){_98b.groupSize2=_98e.pop().length;}}return "("+_957._realNumberRegexp(_98b)+")";});},true);if(_987){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_98f,_990,_991,_992){var prop=["symbol","currency","displayName"][_991.length-1],_993=_956.escapeString(_980[prop]||_980.currency||"");if(!_993){return "";}_990=_990?"[\\s\\xa0]":"";_992=_992?"[\\s\\xa0]":"";if(!_980.strict){if(_990){_990+="*";}if(_992){_992+="*";}return "(?:"+_990+_993+_992+")?";}return _990+_993+_992;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_984,decimal:_985,factor:_986};};_957.parse=function(_994,_995){var info=_957._parseInfo(_995),_996=(new RegExp("^"+info.regexp+"$")).exec(_994);if(!_996){return NaN;}var _997=_996[1];if(!_996[1]){if(!_996[2]){return NaN;}_997=_996[2];info.factor*=-1;}_997=_997.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _997*info.factor;};_957._realNumberRegexp=function(_998){_998=_998||{};if(!("places" in _998)){_998.places=Infinity;}if(typeof _998.decimal!="string"){_998.decimal=".";}if(!("fractional" in _998)||/^0/.test(_998.places)){_998.fractional=[true,false];}if(!("exponent" in _998)){_998.exponent=[true,false];}if(!("eSigned" in _998)){_998.eSigned=[true,false];}var _999=_957._integerRegexp(_998),_99a=_956.buildGroupRE(_998.fractional,function(q){var re="";if(q&&(_998.places!==0)){re="\\"+_998.decimal;if(_998.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_998.places+"}";}}return re;},true);var _99b=_956.buildGroupRE(_998.exponent,function(q){if(q){return "([eE]"+_957._integerRegexp({signed:_998.eSigned})+")";}return "";});var _99c=_999+_99a;if(_99a){_99c="(?:(?:"+_99c+")|(?:"+_99a+"))";}return _99c+_99b;};_957._integerRegexp=function(_99d){_99d=_99d||{};if(!("signed" in _99d)){_99d.signed=[true,false];}if(!("separator" in _99d)){_99d.separator="";}else{if(!("groupSize" in _99d)){_99d.groupSize=3;}}var _99e=_956.buildGroupRE(_99d.signed,function(q){return q?"[-+]":"";},true);var _99f=_956.buildGroupRE(_99d.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_956.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_99d.groupSize,grp2=_99d.groupSize2;if(grp2){var _9a0="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_9a0+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_9a0;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _99e+_99f;};return _957;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_9a1,_9a2,_9a3,lang){lang.extend(_9a2,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _9a3("dijit._FocusMixin",null,{_focusManager:_9a1});});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _9a4={};lang.setObject("dojo.data.util.filter",_9a4);_9a4.patternToRegExp=function(_9a5,_9a6){var rxp="^";var c=null;for(var i=0;i<_9a5.length;i++){c=_9a5.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_9a5.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_9a6){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _9a4;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_9a7,_9a8,_9a9,lang,_9aa){return _9a9("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var node=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_9aa.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(lang.hitch(this,function(_9ab){this._startupWidgets=_9ab;for(var i=0;i<_9ab.length;i++){this._processTemplateNode(_9ab[i],function(n,p){return n[p];},function(_9ac,type,_9ad){if(type in _9ac){return _9ac.connect(_9ac,type,_9ad);}else{return _9ac.on(type,_9ad,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");}}},_processTemplateNode:function(_9ae,_9af,_9b0){if(_9af(_9ae,"dojoType")||_9af(_9ae,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_9a7.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(lang,_9b1,_9b2,_9b3){return _9b1("dojo.fx.Toggler",null,{node:null,showFunc:_9b2.fadeIn,hideFunc:_9b2.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _9b4=this;lang.mixin(_9b4,args);_9b4.node=args.node;_9b4._showArgs=lang.mixin({},args);_9b4._showArgs.node=_9b4.node;_9b4._showArgs.duration=_9b4.showDuration;_9b4.showAnim=_9b4.showFunc(_9b4._showArgs);_9b4._hideArgs=lang.mixin({},args);_9b4._hideArgs.node=_9b4.node;_9b4._hideArgs.duration=_9b4.hideDuration;_9b4.hideAnim=_9b4.hideFunc(_9b4._hideArgs);_9b3.after(_9b4.showAnim,"beforeBegin",lang.hitch(_9b4.hideAnim,"stop",true),true);_9b3.after(_9b4.hideAnim,"beforeBegin",lang.hitch(_9b4.showAnim,"stop",true),true);},show:function(_9b5){return this.showAnim.play(_9b5||0);},hide:function(_9b6){return this.hideAnim.play(_9b6||0);}});});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_9b7,lang,when,_9b8,_9b9){return _9b7("dijit.form.FilteringSelect",[_9b8,_9b9],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_9ba,_9bb,_9bc,_9bd){if((_9bb&&_9bb[this.searchAttr]!==this._lastQuery)||(!_9bb&&_9ba.length&&this.store.getIdentity(_9ba[0])!=this._lastQuery)){return;}if(!_9ba.length){this.set("value","",_9bd||(_9bd===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_9ba[0],_9bd);}},_openResultList:function(_9be,_9bf,_9c0){if(_9bf[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_9c1,_9c2,_9c3,item){if(!this._onChangeActive){_9c2=null;}if(item===undefined){if(_9c1===null||_9c1===""){_9c1="";if(!lang.isString(_9c3)){this._setDisplayedValueAttr(_9c3||"",_9c2);return;}}var self=this;this._lastQuery=_9c1;when(this.store.get(_9c1),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_9c2);});}else{this.valueNode.value=_9c1;this.inherited(arguments,[_9c1,_9c2,_9c3,item]);}},_setItemAttr:function(item,_9c4,_9c5){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_9c6,_9c7){if(_9c6==null){_9c6="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_9c7=false;}if(this.store){this.closeDropDown();var _9c8=lang.clone(this.query);var qs=this._getDisplayQueryString(_9c6),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_9c8[this.searchAttr]=q;this.textbox.value=_9c6;this._lastDisplayedValue=_9c6;this._set("displayedValue",_9c6);var _9c9=this;var _9ca={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_9ca,this.fetchProperties);this._fetchHandle=this.store.query(_9c8,_9ca);when(this._fetchHandle,function(_9cb){_9c9._fetchHandle=null;_9c9._callbackSetLabel(_9cb||[],_9c8,_9ca,_9c7);},function(err){_9c9._fetchHandle=null;if(!_9c9._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _9cc={};lang.setObject("dojo.data.util.sorter",_9cc);_9cc.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_9cc.createSortFunction=function(_9cd,_9ce){var _9cf=[];function _9d0(attr,dir,comp,s){return function(_9d1,_9d2){var a=s.getValue(_9d1,attr);var b=s.getValue(_9d2,attr);return dir*comp(a,b);};};var _9d3;var map=_9ce.comparatorMap;var bc=_9cc.basicComparator;for(var i=0;i<_9cd.length;i++){_9d3=_9cd[i];var attr=_9d3.attribute;if(attr){var dir=(_9d3.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_9cf.push(_9d0(attr,dir,comp,_9ce));}}return function(rowA,rowB){var i=0;while(i<_9cf.length){var ret=_9cf[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _9cc;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_9d4,dom,has,_9d5){var _9d6=_9d4("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _9d7=e.defaultPrevented;if(!_9d7&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _9d8=_9d5.byNode(node);if(_9d8&&typeof _9d8._onSubmit=="function"){_9d8._onSubmit(e);e.preventDefault();_9d7=true;break;}}}return !_9d7;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_9d9){this._set("label",_9d9);var _9da=this.containerNode||this.focusNode;_9da.innerHTML=_9d9;this.onLabelSet();},onLabelSet:function(){}});if(has("dojo-bidi")){_9d6=_9d4("dijit.form._ButtonMixin",_9d6,{onLabelSet:function(){this.inherited(arguments);var _9db=this.containerNode||this.focusNode;this.applyTextDir(_9db);}});}return _9d6;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_9dc,_9dd){var _9de={};lang.setObject("dojo.colors",_9de);var _9df=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_9dc.fromRgb=function(_9e0,obj){var m=_9e0.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_9dd.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _9dc.fromArray(a,obj);}return _9dc.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_9df(m1,m2,H+1/3)*256,_9df(m1,m2,H)*256,_9df(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _9dc.fromArray(a,obj);}}return null;};var _9e1=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_9dc.prototype.sanitize=function(){var t=this;t.r=Math.round(_9e1(t.r,0,255));t.g=Math.round(_9e1(t.g,0,255));t.b=Math.round(_9e1(t.b,0,255));t.a=_9e1(t.a,0,1);return this;};_9de.makeGrey=_9dc.makeGrey=function(g,a){return _9dc.fromArray([g,g,g,a]);};lang.mixin(_9dc.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _9dc;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_9e2,win,_9e3){var _9e4={},hash={};var _9e5={length:0,add:function(_9e6){if(hash[_9e6.id]){throw new Error("Tried to register widget with id=="+_9e6.id+" but that id is already registered");}hash[_9e6.id]=_9e6;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_9e7){var id;do{id=_9e7+"_"+(_9e7 in _9e4?++_9e4[_9e7]:_9e4[_9e7]=0);}while(hash[id]);return _9e3._scopeName=="dijit"?id:_9e3._scopeName+"_"+id;},findWidgets:function(root,_9e8){var _9e9=[];function _9ea(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _9eb=node.getAttribute("widgetId");if(_9eb){var _9ec=hash[_9eb];if(_9ec){_9e9.push(_9ec);}}else{if(node!==_9e8){_9ea(node);}}}}};_9ea(root);return _9e9;},_destroyAll:function(){_9e3._curFocus=null;_9e3._prevFocus=null;_9e3._activeStack=[];_9e2.forEach(_9e5.findWidgets(win.body()),function(_9ed){if(!_9ed._destroyed){if(_9ed.destroyRecursive){_9ed.destroyRecursive();}else{if(_9ed.destroy){_9ed.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_9e3.registry=_9e5;return _9e5;});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/touch"],function(_9ee,_9ef,_9f0,lang,on,_9f1){return _9ef("dijit.tree._dndContainer",null,{constructor:function(tree,_9f2){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_9f2);this.containerState="";_9f0.add(this.node,"dojoDndContainer");this.events=[on(this.node,_9f1.enter,lang.hitch(this,"onOverEvent")),on(this.node,_9f1.leave,lang.hitch(this,"onOutEvent")),_9ee.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_9ee.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_9f3){this.current=_9f3;},onMouseOut:function(){this.current=null;},_changeState:function(type,_9f4){var _9f5="dojoDnd"+type;var _9f6=type.toLowerCase()+"State";_9f0.replace(this.node,_9f5+_9f4,_9f5+this[_9f6]);this[_9f6]=_9f4;},_addItemClass:function(node,type){_9f0.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_9f0.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_9f7,lang,_9f8){var _9f9={hasWaiRole:function(elem,role){var _9fa=this.getWaiRole(elem);return role?(_9fa.indexOf(role)>-1):(_9fa.length>0);},getWaiRole:function(elem){return lang.trim((_9f7.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_9f7.set(elem,"role",role);},removeWaiRole:function(elem,role){var _9fb=_9f7.get(elem,"role");if(!_9fb){return;}if(role){var t=lang.trim((" "+_9fb+" ").replace(" "+role+" "," "));_9f7.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_9fc){return elem.hasAttribute?elem.hasAttribute("aria-"+_9fc):!!elem.getAttribute("aria-"+_9fc);},getWaiState:function(elem,_9fd){return elem.getAttribute("aria-"+_9fd)||"";},setWaiState:function(elem,_9fe,_9ff){elem.setAttribute("aria-"+_9fe,_9ff);},removeWaiState:function(elem,_a00){elem.removeAttribute("aria-"+_a00);}};lang.mixin(_9f8,_9f9);return _9f8;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_a01,_a02,_a03,_a04,_a05,dom,_a06,_a07,lang,_a08,when,_a09,_a0a){var _a0b=_a05("dijit.form._FormSelectWidget",_a0a,{multiple:false,options:null,store:null,_setStoreAttr:function(val){if(this._created){this._deprecatedSetStore(val);}},query:null,_setQueryAttr:function(_a0c){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_a0c});}},queryOptions:null,_setQueryOptionsAttr:function(_a0d){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_a0d});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_a0e){var opts=this.options||[];if(_a0e==null){return opts;}if(lang.isArrayLike(_a0e)){return _a01.map(_a0e,"return this.getOptions(item);",this);}if(lang.isString(_a0e)){_a0e={value:_a0e};}if(lang.isObject(_a0e)){if(!_a01.some(opts,function(_a0f,idx){for(var a in _a0e){if(!(a in _a0f)||_a0f[a]!=_a0e[a]){return false;}}_a0e=idx;return true;})){_a0e=-1;}}if(_a0e>=0&&_a0e<opts.length){return opts[_a0e];}return null;},addOption:function(_a10){_a01.forEach(lang.isArrayLike(_a10)?_a10:[_a10],function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_a11){var _a12=this.getOptions(lang.isArrayLike(_a11)?_a11:[_a11]);_a01.forEach(_a12,function(_a13){if(_a13){this.options=_a01.filter(this.options,function(node){return (node.value!==_a13.value||node.label!==_a13.label);});this._removeOptionItem(_a13);}},this);this._loadChildren();},updateOption:function(_a14){_a01.forEach(lang.isArrayLike(_a14)?_a14:[_a14],function(i){var _a15=this.getOptions({value:i.value}),k;if(_a15){for(k in i){_a15[k]=i[k];}}},this);this._loadChildren();},setStore:function(_a16,_a17,_a18){_a07.deprecated(this.declaredClass+"::setStore(store, selectedValue, fetchArgs) is deprecated. Use set('query', fetchArgs.query), set('queryOptions', fetchArgs.queryOptions), set('store', store), or set('value', selectedValue) instead.","","2.0");this._deprecatedSetStore(_a16,_a17,_a18);},_deprecatedSetStore:function(_a19,_a1a,_a1b){var _a1c=this.store;_a1b=_a1b||{};if(_a1c!==_a19){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_a19.get){lang.mixin(_a19,{_oldAPI:true,get:function(id){var _a1d=new _a02();this.fetchItemByIdentity({identity:id,onItem:function(_a1e){_a1d.resolve(_a1e);},onError:function(_a1f){_a1d.reject(_a1f);}});return _a1d.promise;},query:function(_a20,_a21){var _a22=new _a02(function(){if(_a23.abort){_a23.abort();}});_a22.total=new _a02();var _a23=this.fetch(lang.mixin({query:_a20,onBegin:function(_a24){_a22.total.resolve(_a24);},onComplete:function(_a25){_a22.resolve(_a25);},onError:function(_a26){_a22.reject(_a26);}},_a21));return new _a09(_a22);}});if(_a19.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_a03.after(_a19,"onNew",lang.hitch(this,"_onNewItem"),true),_a03.after(_a19,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_a03.after(_a19,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_a19);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_a1b.query){this._set("query",_a1b.query);}if(_a1b.queryOptions){this._set("queryOptions",_a1b.queryOptions);}if(_a19&&_a19.query){this._loadingStore=true;this.onLoadDeferred=new _a02();this._queryRes=_a19.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_a27){if(this.sortByLabel&&!_a1b.sort&&_a27.length){if(_a19.getValue){_a27.sort(_a04.createSortFunction([{attribute:_a19.getLabelAttributes(_a27[0])[0]}],_a19));}else{var _a28=this.labelAttr;_a27.sort(function(a,b){return a[_a28]>b[_a28]?1:b[_a28]>a[_a28]?-1:0;});}}if(_a1b.onFetch){_a27=_a1b.onFetch.call(this,_a27,_a1b);}_a01.forEach(_a27,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_a29,_a2a,_a2b){if(_a2a==_a2b){this._onSetItem(_a29);}else{if(_a2a!=-1){this._onDeleteItem(_a29);}if(_a2b!=-1){this._onNewItem(_a29);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_a1a);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_a27);}this.onLoadDeferred.resolve(true);this.onSetStore();}),lang.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _a1c;},_setValueAttr:function(_a2c,_a2d){if(!this._onChangeActive){_a2d=null;}if(this._loadingStore){this._pendingValue=_a2c;return;}if(_a2c==null){return;}if(lang.isArrayLike(_a2c)){_a2c=_a01.map(_a2c,function(_a2e){return lang.isObject(_a2e)?_a2e:{value:_a2e};});}else{if(lang.isObject(_a2c)){_a2c=[_a2c];}else{_a2c=[{value:_a2c}];}}_a2c=_a01.filter(this.getOptions(_a2c),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_a2c[0]||!_a2c[0].value)&&!!opts.length){_a2c[0]=opts[0];}_a01.forEach(opts,function(opt){opt.selected=_a01.some(_a2c,function(v){return v.value===opt.value;});});var val=_a01.map(_a2c,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_a01.map(_a2c,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_a2d]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_a01.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_a2f){this.set("value",this.getOptions(typeof _a2f=="string"?{label:_a2f}:_a2f));},_loadChildren:function(){if(this._loadingStore){return;}_a01.forEach(this._getChildren(),function(_a30){_a30.destroyRecursive();});_a01.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_a01.forEach(this._getChildren(),function(_a31){var _a32=_a01.some(val,function(v){return _a31.option&&(v===_a31.option.value);});if(_a32&&!self.multiple){self.focusedChild=_a31;}_a06.toggle(_a31.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_a32);_a31.domNode.setAttribute("aria-selected",_a32?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_a01.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _a01.map(_a01.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_a33){if(!_a33||!_a33.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _a34=this.store;this.removeOption({value:_a34.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _a35=this.store,_a36=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_a35.getLabel(item),_a37=(_a36?_a35.getIdentity(item):null);return {value:_a37,label:_a36,item:item};},_addOptionForItem:function(item){var _a38=this.store;if(_a38.isItemLoaded&&!_a38.isItemLoaded(item)){_a38.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _a39=this._getOptionObjForItem(item);this.addOption(_a39);},constructor:function(_a3a){this._oValue=(_a3a||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_a08("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_a07._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_a03.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _a3b=this.store;if(_a3b&&(_a3b.getIdentity||_a3b.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_a3b,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _a0b;});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_a3c,_a3d,_a3e,_a3f,_a40,i18n,keys,lang,on,has,_a41,_a42,_a43,_a44,_a45,_a46,_a47,_a48,_a49){var _a4a=_a3d("dijit.form._SelectMenu",_a43,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _a4b=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_a3c.forEach(this.parentWidget._getChildren(),function(_a4c){if(_a4c.option&&(val===_a4c.option.value)){_a4b=true;this.focusChild(_a4c,false);}},this);}if(!_a4b){this.inherited(arguments);}}});var _a4d=_a3d("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_a41,_a42,_a47],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_a49,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:false,_childrenLoaded:false,labelType:"html",_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _a4a({id:this.id+"_menu",parentWidget:this});_a3f.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_a4e){if(!_a4e.value&&!_a4e.label){return new _a45({ownerDocument:this.ownerDocument});}else{var _a4f=lang.hitch(this,"_setValueAttr",_a4e);var item=new _a44({option:_a4e,label:(this.labelType==="text"?(_a4e.label||"").toString().replace(/&/g,"&amp;").replace(/</g,"&lt;"):_a4e.label)||this.emptyLabel,onClick:_a4f,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:_a4e.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_a50){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_a50));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},focusChild:function(_a51){if(_a51){this.set("value",_a51.option);}},_getFirst:function(){var _a52=this._getChildren();return _a52.length?_a52[0]:null;},_getLast:function(){var _a53=this._getChildren();return _a53.length?_a53[_a53.length-1]:null;},childSelector:function(node){var node=_a48.byNode(node);return node&&node.getParent()==this.dropDown;},onKeyboardSearch:function(item,evt,_a54,_a55){if(item){this.focusChild(item);}},_loadChildren:function(_a56){if(_a56===true){if(this.dropDown){delete this.dropDown.focusedChild;this.focusedChild=null;}if(this.options.length){this.inherited(arguments);}else{_a3c.forEach(this._getChildren(),function(_a57){_a57.destroyRecursive();});var item=new _a44({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value,false);}},_refreshState:function(){if(this._started){this.validate(this.focused);}},startup:function(){this.inherited(arguments);this._refreshState();},_setValueAttr:function(_a58){this.inherited(arguments);_a3e.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setNameAttr:"valueNode",_setDisabledAttr:function(_a59){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_a5a){this._set("required",_a5a);this.focusNode.setAttribute("aria-required",_a5a);this._refreshState();},_setOptionsAttr:function(_a5b){this._isLoaded=false;this._set("options",_a5b);},_setDisplay:function(_a5c){var lbl=(this.labelType==="text"?(_a5c||"").replace(/&/g,"&amp;").replace(/</g,"&lt;"):_a5c)||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" aria-selected=\"true\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_a5d){var _a5e=this.disabled||this.isValid(_a5d);this._set("state",_a5e?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_a5e?"false":"true");var _a5f=_a5e?"":this._missingMsg;if(_a5f&&this.focused&&this._hasBeenBlurred){_a46.show(_a5f,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_a46.hide(this.domNode);}this._set("message",_a5f);return _a5e;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_a46.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");var _a60=this._keyNavCodes;delete _a60[keys.LEFT_ARROW];delete _a60[keys.RIGHT_ARROW];},_setStyleAttr:function(_a61){this.inherited(arguments);_a3f.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_a62){this._loadChildren(true);this._isLoaded=true;_a62();},destroy:function(_a63){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_a63);delete this.dropDown;}_a46.hide(this.domNode);this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_a46.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_a4d=_a3d("dijit.form.Select",_a4d,{_setDisplay:function(_a64){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_a4d._Menu=_a4a;function _a65(_a66){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_a66,evt));}else{this.inherited(_a66,arguments);}};};_a4d.prototype._onContainerKeydown=_a65("_onContainerKeydown");_a4d.prototype._onContainerKeypress=_a65("_onContainerKeypress");return _a4d;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_a67,lang,when){var _a68=function(_a69){if(!_a69){return _a69;}var _a6a=!!_a69.then;if(_a6a){_a69=lang.delegate(_a69);}function _a6b(_a6c){_a69[_a6c]=function(){var args=arguments;var _a6d=when(_a69,function(_a6e){Array.prototype.unshift.call(args,_a6e);return _a68(_a67[_a6c].apply(_a67,args));});if(_a6c!=="forEach"||_a6a){return _a6d;}};};_a6b("forEach");_a6b("filter");_a6b("map");if(_a69.total==null){_a69.total=when(_a69,function(_a6f){return _a6f.length;});}return _a69;};lang.setObject("dojo.store.util.QueryResults",_a68);return _a68;});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_a70,_a71,_a72,keys,lang,on,_a73,_a74){return _a71("dijit._KeyNavMixin",_a74,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_a72.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _a75=this._keyNavCodes={};_a75[keys.HOME]=lang.hitch(this,"focusFirstChild");_a75[keys.END]=lang.hitch(this,"focusLastChild");_a75[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_a75[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_a75[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_a75[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_a76=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",lang.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",lang.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",lang.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_a76,"focusin"),function(evt){self._onChildFocus(_a73.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_a77,last){if(!_a77){return;}if(this.focusedChild&&_a77!==this.focusedChild){this._onChildBlur(this.focusedChild);}_a77.set("tabIndex",this.tabIndex);_a77.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_a72.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_a72.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_a78){if(_a78&&_a78!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_a78.set("tabIndex",this.tabIndex);this.lastFocused=_a78;this._set("focusedChild",_a78);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_a79,_a7a){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_a7b){var _a7c=item.domNode,text=item.label||(_a7c.focusNode?_a7c.focusNode.label:"")||_a7c.innerText||_a7c.textContent||"",_a7d=text.replace(/^\s+/,"").substr(0,_a7b.length).toLowerCase();return (!!_a7b.length&&_a7d==_a7b)?-1:0;},_onContainerKeydown:function(evt){var func=this._keyNavCodes[evt.keyCode];if(func){func(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==keys.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=keys.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_a7e){var _a7f=null,_a80,_a81=0,_a82=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_a7e;var _a83=/^(.)\1*$/.test(this._searchString);var _a84=_a83?1:this._searchString.length;_a80=this._searchString.substr(0,_a84);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _a85=this.focusedChild||null;if(_a84==1||!_a85){_a85=this._getNextFocusableChild(_a85,1);if(!_a85){return;}}var stop=_a85;do{var rc=this._keyboardSearchCompare(_a85,_a80);if(!!rc&&_a81++==0){_a7f=_a85;}if(rc==-1){_a81=-1;break;}_a85=this._getNextFocusableChild(_a85,1);}while(_a85&&_a85!=stop);});_a82();this.onKeyboardSearch(_a7f,evt,_a80,_a81);},_onChildBlur:function(){},_getNextFocusableChild:function(_a86,dir){var _a87=_a86;do{if(!_a86){_a86=this[dir>0?"_getFirst":"_getLast"]();if(!_a86){break;}}else{_a86=this._getNext(_a86,dir);}if(_a86!=null&&_a86!=_a87&&_a86.isFocusable()){return _a86;}}while(_a86!=_a87);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_a88,dir){if(_a88){_a88=_a88.domNode;while(_a88){_a88=_a88[dir<0?"previousSibling":"nextSibling"];if(_a88&&"getAttribute" in _a88){var w=_a73.byNode(_a88);if(w){return w;}}}}return null;}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_a89,on,_a8a){return _a89("dijit.form._ListBase",null,{selected:null,_listConnect:function(_a8b,_a8c){var self=this;return self.own(on(self.containerNode,on.selector(function(_a8d,_a8e,_a8f){return _a8d.parentNode==_a8f;},_a8b),function(evt){self[_a8c](evt,this);}));},selectFirstNode:function(){var _a90=this.containerNode.firstChild;while(_a90&&_a90.style.display=="none"){_a90=_a90.nextSibling;}this._setSelectedAttr(_a90,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _a91=this.selected;if(!_a91){this.selectFirstNode();}else{var next=_a91.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _a92=this.selected;if(!_a92){this.selectLastNode();}else{var prev=_a92.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_a93){if(this.selected!=node){var _a94=this.selected;if(_a94){this.onDeselect(_a94);}if(node){if(_a93){_a8a.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_a95,has,_a96,_a97,_a98,_a99,_a9a,_a9b){if(has("dijit-legacy-requires")){_a97(0,function(){var _a9c=["dijit/form/_FormValueWidget"];require(_a9c);});}return _a95("dijit.form._FormWidget",[_a98,_a9a,_a99,_a9b],{setDisabled:function(_a9d){_a96.deprecated("setDisabled("+_a9d+") is deprecated. Use set('disabled',"+_a9d+") instead.","","2.0");this.set("disabled",_a9d);},setValue:function(_a9e){_a96.deprecated("dijit.form._FormWidget:setValue("+_a9e+") is deprecated. Use set('value',"+_a9e+") instead.","","2.0");this.set("value",_a9e);},getValue:function(){_a96.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=(this.name&&!has("msapp"))?("name=\""+this.name.replace(/"/g,"&quot;")+"\""):"";this.inherited(arguments);}});});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_a9f,lang,dom){var _aa0=lang.getObject("dojo.dnd",true);_aa0.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_aa0._uniqueId=0;_aa0.getUniqueId=function(){var id;do{id=_a9f._scopeName+"Unique"+(++_aa0._uniqueId);}while(dom.byId(id));return id;};_aa0._empty={};_aa0.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _aa0;});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_aa1,_aa2,_aa3,_aa4){return _aa1("dijit.CheckedMenuItem",_aa3,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_aa4,checked:false,_setCheckedAttr:function(_aa5){this.domNode.setAttribute("aria-checked",_aa5?"true":"false");this._set("checked",_aa5);},iconClass:"",role:"menuitemcheckbox",checkedChar:"&#10003;",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_aa6,on,_aa7,has,_aa8){var _aa9=new _aa6();var _aaa;_aa7(function(){var _aab=_aa8.getBox();_aa9._rlh=on(window,"resize",function(){var _aac=_aa8.getBox();if(_aab.h==_aac.h&&_aab.w==_aac.w){return;}_aab=_aac;_aa9.emit("resize");});if(has("ie")==8){var _aad=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_aad){_aad=screen.deviceXDPI;_aa9.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_aaa=evt.target;});on(document,"focusout",function(evt){_aaa=null;});}});_aa9.getEffectiveBox=function(doc){var box=_aa8.getBox(doc);var tag=_aaa&&_aaa.tagName&&_aaa.tagName.toLowerCase();if(has("ios")&&_aaa&&!_aaa.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_aaa.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_aaa.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _aa9;});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_aae,lang,_aaf,_ab0,_ab1){var _ab2={};_ab2.getViewport=function(){return _aaf.getBox();};_ab2.placeOnScreen=_ab0.at;_ab2.placeOnScreenAroundElement=function(node,_ab3,_ab4,_ab5){var _ab6;if(lang.isArray(_ab4)){_ab6=_ab4;}else{_ab6=[];for(var key in _ab4){_ab6.push({aroundCorner:key,corner:_ab4[key]});}}return _ab0.around(node,_ab3,_ab6,true,_ab5);};_ab2.placeOnScreenAroundNode=_ab2.placeOnScreenAroundElement;_ab2.placeOnScreenAroundRectangle=_ab2.placeOnScreenAroundElement;_ab2.getPopupAroundAlignment=function(_ab7,_ab8){var _ab9={};_aae.forEach(_ab7,function(pos){var ltr=_ab8;switch(pos){case "after":_ab9[_ab8?"BR":"BL"]=_ab8?"BL":"BR";break;case "before":_ab9[_ab8?"BL":"BR"]=_ab8?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_ab9[ltr?"BL":"BR"]=ltr?"TL":"TR";_ab9[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_ab9[ltr?"TL":"TR"]=ltr?"BL":"BR";_ab9[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _ab9;};lang.mixin(_ab1,_ab2);return _ab1;});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_aba,dom,_abb,_abc,_abd,_abe){return _aba("dijit.MenuSeparator",[_abb,_abc,_abd],{templateString:_abe,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_abf,_ac0,_ac1,keys,_ac2,_ac3,_ac4,_ac5){return _abf("dijit.form._ComboBoxMenu",[_ac2,_ac3,_ac5,_ac4],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;' role='listbox'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_ac0.add(this.previousButton,"dijitMenuItemRtl");_ac0.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_ac0.add(node,"dijitMenuItemHover");},onUnhover:function(node){_ac0.remove(node,"dijitMenuItemHover");},onSelect:function(node){_ac0.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_ac0.remove(node,"dijitMenuItemSelected");},_page:function(up){var _ac6=0;var _ac7=this.domNode.scrollTop;var _ac8=_ac1.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_ac6<_ac8){var _ac9=this.getHighlightedOption();if(up){if(!_ac9.previousSibling||_ac9.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_ac9.nextSibling||_ac9.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _aca=this.domNode.scrollTop;_ac6+=(_aca-_ac7)*(up?-1:1);_ac7=_aca;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/touch","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","./layout/utils","dojo/text!./templates/Dialog.html","./a11yclick","dojo/i18n!./nls/common"],function(_acb,_acc,_acd,_ace,_acf,dom,_ad0,_ad1,_ad2,fx,i18n,keys,lang,on,_ad3,has,_ad4,_ad5,_ad6,_ad7,_ad8,_ad9,_ada,_adb,_adc,_add,_ade,_adf,_ae0,_ae1,_ae2){var _ae3=new _acf();_ae3.resolve(true);function nop(){};var _ae4=_ace("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_adb,_add,_ade,_adc],{templateString:_ae2,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_ad9.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _ae5=i18n.getLocalization("dijit","common");lang.mixin(this,_ae5);this.inherited(arguments);},postCreate:function(){_ad2.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_acd.after(this,"onExecute",lang.hitch(this,"hide"),true);_acd.after(this,"onCancel",lang.hitch(this,"hide"),true);on(this.closeButtonNode,_ad4.press,function(e){e.stopPropagation();});this._modalconnects=[];},onLoad:function(){this.resize();this._position();if(this.autofocus&&_ae6.isTop(this)){this._getFocusItems();_ad8.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems();_ad8.focus(this._firstFocusItem);},_endDrag:function(){var _ae7=_ad1.position(this.domNode),_ae8=_ad5.getBox(this.ownerDocument);_ae7.y=Math.min(Math.max(_ae7.y,0),(_ae8.h-_ae7.h));_ae7.x=Math.min(Math.max(_ae7.x,0),(_ae8.w-_ae7.w));this._relativePosition=_ae7;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_ad7:_ad6)(node,{handle:this.titleBar});_acd.after(this._moveable,"onMoveStop",lang.hitch(this,"_endDrag"),true);}else{_ad0.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_acc.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:lang.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this.resize();},_position:function(){if(!_ad0.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_ae9=_ad5.getBox(this.ownerDocument),p=this._relativePosition,bb=_ad1.position(node),l=Math.floor(_ae9.l+(p?Math.min(p.x,_ae9.w-bb.w):(_ae9.w-bb.w)/2)),t=Math.floor(_ae9.t+(p?Math.min(p.y,_ae9.h-bb.h):(_ae9.h-bb.h)/2));_ad2.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==keys.TAB){this._getFocusItems();var node=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_ad8.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_ad8.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==keys.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return _ae3.promise;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_ae6.hide(this);}var win=_ad5.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize",null)));this._modalconnects.push(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));_ad2.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this.resize();this._position();var _aea;this._fadeInDeferred=new _acf(lang.hitch(this,function(){_aea.stop();delete this._fadeInDeferred;}));this._fadeInDeferred.then(undefined,nop);var _aeb=this._fadeInDeferred.promise;_aea=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_ae6.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_ae6.isTop(this)){this._getFocusItems();_ad8.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _aeb;},hide:function(){if(!this._alreadyInitialized||!this.open){return _ae3.promise;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _aec;this._fadeOutDeferred=new _acf(lang.hitch(this,function(){_aec.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(undefined,nop);this._fadeOutDeferred.then(lang.hitch(this,"onHide"));var _aed=this._fadeOutDeferred.promise;_aec=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_ae6.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return _aed;},resize:function(dim){if(this.domNode.style.display!="none"){this._checkIfSingleChild();if(!dim){if(this._shrunk){if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}_acc.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(node){if(node){_ad2.set(node,{position:"static",width:"auto",height:"auto"});}});this.domNode.style.position="absolute";}var _aee=_ad5.getBox(this.ownerDocument);_aee.w*=this.maxRatio;_aee.h*=this.maxRatio;var bb=_ad1.position(this.domNode);this._shrunk=false;if(bb.w>=_aee.w){dim={w:_aee.w};_ad1.setMarginBox(this.domNode,dim);bb=_ad1.position(this.domNode);this._shrunk=true;}if(bb.h>=_aee.h){if(!dim){dim={w:bb.w};}dim.h=_aee.h;this._shrunk=true;}if(dim){if(!dim.w){dim.w=bb.w;}if(!dim.h){dim.h=bb.h;}}}if(dim){_ad1.setMarginBox(this.domNode,dim);var _aef=[];if(this.titleBar){_aef.push({domNode:this.titleBar,region:"top"});}if(this.actionBarNode){_aef.push({domNode:this.actionBarNode,region:"bottom"});}var _af0={domNode:this.containerNode,region:"center"};_aef.push(_af0);var _af1=_ae1.marginBox2contentBox(this.domNode,dim);_ae1.layoutChildren(this.domNode,_af1,_aef);if(this._singleChild){var cb=_ae1.marginBox2contentBox(this.containerNode,_af0);this._singleChild.resize({w:cb.w,h:cb.h});}else{this.containerNode.style.overflow="auto";this._layoutChildren();}}else{this._layoutChildren();}if(!has("touch")&&!dim){this._position();}}},_layoutChildren:function(){_acc.forEach(this.getChildren(),function(_af2){if(_af2.resize){_af2.resize();}});},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_ae6.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_ae4=_ace("dijit._DialogBase",_ae4,{_setTitleAttr:function(_af3){this._set("title",_af3);this.titleNode.innerHTML=_af3;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_af4){if(this._created&&this.textDir!=_af4){this._set("textDir",_af4);this.set("title",this.title);}}});}var _af5=_ace("dijit.Dialog",[_ae0,_ae4],{});_af5._DialogBase=_ae4;var _ae6=_af5._DialogLevelManager={_beginZIndex:950,show:function(_af6,_af7){ds[ds.length-1].focus=_ad8.curNode;var _af8=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_af5._DialogLevelManager._beginZIndex;_ad2.set(_af6.domNode,"zIndex",_af8);_adf.show(_af7,_af8-1);ds.push({dialog:_af6,underlayAttrs:_af7,zIndex:_af8});},hide:function(_af9){if(ds[ds.length-1].dialog==_af9){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_adf.hide();}else{_adf.show(pd.underlayAttrs,pd.zIndex-1);}if(_af9.refocus){var _afa=pd.focus;if(pd.dialog&&(!_afa||!dom.isDescendant(_afa,pd.dialog.domNode))){pd.dialog._getFocusItems();_afa=pd.dialog._firstFocusItem;}if(_afa){try{_afa.focus();}catch(e){}}}}else{var idx=_acc.indexOf(_acc.map(ds,function(elem){return elem.dialog;}),_af9);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_afb){return ds[ds.length-1].dialog==_afb;}};var ds=_af5._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_ad8.watch("curNode",function(attr,_afc,node){var _afd=ds[ds.length-1].dialog;if(node&&_afd&&!_afd._fadeOutDeferred&&node.ownerDocument==_afd.ownerDocument){do{if(node==_afd.domNode||_ad0.contains(node,"dijitPopup")){return;}}while(node=node.parentNode);_afd.focus();}});if(has("dijit-legacy-requires")){_ad3(0,function(){var _afe=["dijit/TooltipDialog"];_acb(_afe);});}return _af5;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_aff,dom,lang,_b00,win,_b01,_b02,_b03){var _b04={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _b03.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_b02:new _b02.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_b05){var sel=win.global==window?_b02:new _b02.SelectionManager(win.global);return sel.moveToBookmark(_b05);},getFocus:function(menu,_b06){var node=!_b01.curNode||(menu&&dom.isDescendant(_b01.curNode,menu.domNode))?_b03._prevFocus:_b01.curNode;return {node:node,bookmark:node&&(node==_b01.curNode)&&win.withGlobal(_b06||win.global,_b03.getBookmark),openedForWindow:_b06};},_activeStack:[],registerIframe:function(_b07){return _b01.registerIframe(_b07);},unregisterIframe:function(_b08){_b08&&_b08.remove();},registerWin:function(_b09,_b0a){return _b01.registerWin(_b09,_b0a);},unregisterWin:function(_b0b){_b0b&&_b0b.remove();}};_b01.focus=function(_b0c){if(!_b0c){return;}var node="node" in _b0c?_b0c.node:_b0c,_b0d=_b0c.bookmark,_b0e=_b0c.openedForWindow,_b0f=_b0d?_b0d.isCollapsed:false;if(node){var _b10=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_b10&&_b10.focus){try{_b10.focus();}catch(e){}}_b01._onFocusNode(node);}if(_b0d&&win.withGlobal(_b0e||win.global,_b03.isCollapsed)&&!_b0f){if(_b0e){_b0e.focus();}try{win.withGlobal(_b0e||win.global,_b03.moveToBookmark,null,[_b0d]);}catch(e2){}}};_b01.watch("curNode",function(name,_b11,_b12){_b03._curFocus=_b12;_b03._prevFocus=_b11;if(_b12){_b00.publish("focusNode",_b12);}});_b01.watch("activeStack",function(name,_b13,_b14){_b03._activeStack=_b14;});_b01.on("widget-blur",function(_b15,by){_b00.publish("widgetBlur",_b15,by);});_b01.on("widget-focus",function(_b16,by){_b00.publish("widgetFocus",_b16,by);});lang.mixin(_b03,_b04);return _b03;});},"dijit/tree/dndSource":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/common","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_b17,_b18,_b19,_b1a,_b1b,lang,_b1c,on,_b1d,_b1e,_b1f,_b20){var _b21=_b18("dijit.tree.dndSource",_b20,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_b22){if(!_b22){_b22={};}lang.mixin(this,_b22);var type=_b22.accept instanceof Array?_b22.accept:["text","treeNode"];this.accept=null;if(type.length){this.accept={};for(var i=0;i<type.length;++i){this.accept[type[i]]=1;}}this.isDragging=false;this.mouseDown=false;this.targetAnchor=null;this.targetBox=null;this.dropPosition="";this._lastX=0;this._lastY=0;this.sourceState="";if(this.isSource){_b1a.add(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_b1a.add(this.node,"dojoDndTarget");}this.topics=[_b1e.subscribe("/dnd/source/over",lang.hitch(this,"onDndSourceOver")),_b1e.subscribe("/dnd/start",lang.hitch(this,"onDndStart")),_b1e.subscribe("/dnd/drop",lang.hitch(this,"onDndDrop")),_b1e.subscribe("/dnd/cancel",lang.hitch(this,"onDndCancel"))];},checkAcceptance:function(){return true;},copyState:function(_b23){return this.copyOnly||_b23;},destroy:function(){this.inherited(arguments);var h;while(h=this.topics.pop()){h.remove();}this.targetAnchor=null;},_onDragMouse:function(e,_b24){var m=_b1f.manager(),_b25=this.targetAnchor,_b26=this.current,_b27=this.dropPosition;var _b28="Over";if(_b26&&this.betweenThreshold>0){if(!this.targetBox||_b25!=_b26){this.targetBox=_b1b.position(_b26.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_b28="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_b28="After";}}}if(_b24||_b26!=_b25||_b28!=_b27){if(_b25){this._removeItemClass(_b25.rowNode,_b27);}if(_b26){this._addItemClass(_b26.rowNode,_b28);}if(!_b26){m.canDrop(false);}else{if(_b26==this.tree.rootNode&&_b28!="Over"){m.canDrop(false);}else{var _b29=false,_b2a=false;if(m.source==this){_b2a=(_b28==="Over");for(var _b2b in this.selection){var _b2c=this.selection[_b2b];if(_b2c.item===_b26.item){_b29=true;break;}if(_b2c.getParent().id!==_b26.id){_b2a=false;}}}m.canDrop(!_b29&&!_b2a&&!this._isParentChildDrop(m.source,_b26.rowNode)&&this.checkItemAcceptance(_b26.rowNode,m.source,_b28.toLowerCase()));}}this.targetAnchor=_b26;this.dropPosition=_b28;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_b1f.manager();if(this.isDragging){this._onDragMouse(e);}else{if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>=this.dragThreshold||Math.abs(e.pageY-this._lastY)>=this.dragThreshold)){var _b2d=this.getSelectedTreeNodes();if(_b2d.length){if(_b2d.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_b2d[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_b2d=r;}_b2d=_b17.map(_b2d,function(n){return n.domNode;});m.startDrag(this,_b2d,this.copyState(_b19.getCopyKeyState(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){if(e.type=="touchstart"||_b1c.isLeft(e)){this.mouseDown=true;this.mouseButton=e.button;this._lastX=e.pageX;this._lastY=e.pageY;}this.inherited(arguments);},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;this.inherited(arguments);}},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor();},checkItemAcceptance:function(){return true;},onDndSourceOver:function(_b2e){if(this!=_b2e){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_b1f.manager();m.canDrop(false);}}},onDndStart:function(_b2f,_b30,copy){if(this.isSource){this._changeState("Source",this==_b2f?(copy?"Copied":"Moved"):"");}var _b31=this.checkAcceptance(_b2f,_b30);this._changeState("Target",_b31?"":"Disabled");if(this==_b2f){_b1f.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_b32){return _b17.map(_b32,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_b33,_b34,copy){if(this.containerState=="Over"){var tree=this.tree,_b35=tree.model,_b36=this.targetAnchor,_b37=false;this.isDragging=false;var _b38;var _b39;var _b3a;_b38=(_b36&&_b36.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_b38=(_b36.getParent()&&_b36.getParent().item)||tree.item;_b39=_b36.getIndexInParent();if(this.dropPosition=="After"){_b39=_b36.getIndexInParent()+1;_b3a=_b36.getNextSibling()&&_b36.getNextSibling().item;}else{_b3a=_b36.item;}}else{_b38=(_b36&&_b36.item)||tree.item;_b37=true;}var _b3b;_b17.forEach(_b34,function(node,idx){var _b3c=_b33.getItem(node.id);if(_b17.indexOf(_b3c.type,"treeNode")!=-1){var _b3d=_b3c.data,_b3e=_b3d.item,_b3f=_b3d.getParent().item;}if(_b33==this){if(typeof _b39=="number"){if(_b38==_b3f&&_b3d.getIndexInParent()<_b39){_b39-=1;}}_b35.pasteItem(_b3e,_b3f,_b38,copy,_b39,_b3a);}else{if(_b35.isItem(_b3e)){_b35.pasteItem(_b3e,_b3f,_b38,copy,_b39,_b3a);}else{if(!_b3b){_b3b=this.itemCreator(_b34,_b36.rowNode,_b33);}_b35.newItem(_b3b[idx],_b38,_b39,_b3a);}}},this);if(_b37){this.tree._expandNode(_b36);}}this.onDndCancel();},onDndCancel:function(){this._unmarkTargetAnchor();this.isDragging=false;this.mouseDown=false;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","");},onOverEvent:function(){this.inherited(arguments);_b1f.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_b1f.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_b40,_b41){if(!_b40.tree||_b40.tree!=this.tree){return false;}var root=_b40.tree.domNode;var ids=_b40.selection;var node=_b41.parentNode;while(node!=root&&!ids[node.id]){node=node.parentNode;}return node.id&&ids[node.id];},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition);this.targetAnchor=null;this.targetBox=null;this.dropPosition=null;},_markDndStatus:function(copy){this._changeState("Source",copy?"Copied":"Moved");}});return _b21;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_b42,dom,_b43,_b44,lang,has,_b45){var _b46;var a11y={_isElementShown:function(elem){var s=_b44.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_b43.get(elem,"type")!="hidden");},hasDefaultTabStop:function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _b43.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _b47=elem.contentDocument;if("designMode" in _b47&&_b47.designMode=="on"){return true;}body=_b47.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}},effectiveTabIndex:function(elem){if(_b43.get(elem,"disabled")){return _b46;}else{if(_b43.has(elem,"tabIndex")){return +_b43.get(elem,"tabIndex");}else{return a11y.hasDefaultTabStop(elem)?0:_b46;}}},isTabNavigable:function(elem){return a11y.effectiveTabIndex(elem)>=0;},isFocusable:function(elem){return a11y.effectiveTabIndex(elem)>=-1;},_getTabNavigable:function(root){var _b48,last,_b49,_b4a,_b4b,_b4c,_b4d={};function _b4e(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _b4f=a11y._isElementShown,_b50=a11y.effectiveTabIndex;var _b51=function(_b52){for(var _b53=_b52.firstChild;_b53;_b53=_b53.nextSibling){if(_b53.nodeType!=1||(has("ie")<=9&&_b53.scopeName!=="HTML")||!_b4f(_b53)){continue;}var _b54=_b50(_b53);if(_b54>=0){if(_b54==0){if(!_b48){_b48=_b53;}last=_b53;}else{if(_b54>0){if(!_b49||_b54<_b4a){_b4a=_b54;_b49=_b53;}if(!_b4b||_b54>=_b4c){_b4c=_b54;_b4b=_b53;}}}var rn=_b4e(_b53);if(_b43.get(_b53,"checked")&&rn){_b4d[rn]=_b53;}}if(_b53.nodeName.toUpperCase()!="SELECT"){_b51(_b53);}}};if(_b4f(root)){_b51(root);}function rs(node){return _b4d[_b4e(node)]||node;};return {first:rs(_b48),last:rs(last),lowest:rs(_b49),highest:rs(_b4b)};},getFirstInTabbingOrder:function(root,doc){var _b55=a11y._getTabNavigable(dom.byId(root,doc));return _b55.lowest?_b55.lowest:_b55.first;},getLastInTabbingOrder:function(root,doc){var _b56=a11y._getTabNavigable(dom.byId(root,doc));return _b56.last?_b56.last:_b56.highest;}};1&&lang.mixin(_b45,a11y);return a11y;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_b57,_b58){return _b57("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _b59=this.checked;this._set("checked",!_b59);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_b59);return ret;},_setCheckedAttr:function(_b5a,_b5b){this._set("checked",_b5a);var node=this.focusNode||this.domNode;if(this._created){if(_b58.get(node,"checked")!=!!_b5a){_b58.set(node,"checked",!!_b5a);}}node.setAttribute(this._aria_attr,String(_b5a));this._handleOnChange(_b5a,_b5b);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_Widget":function(){define(["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_b5c,_b5d,_b5e,_b5f,has,_b60,lang,_b61,_b62,_b63,_b64,_b65,_b66){function _b67(){};function _b68(_b69){return function(obj,_b6a,_b6b,_b6c){if(obj&&typeof _b6a=="string"&&obj[_b6a]==_b67){return obj.on(_b6a.substring(2).toLowerCase(),lang.hitch(_b6b,_b6c));}return _b69.apply(_b5e,arguments);};};_b5c.around(_b5e,"connect",_b68);if(_b60.connect){_b5c.around(_b60,"connect",_b68);}var _b6d=_b5f("dijit._Widget",[_b64,_b65,_b66],{onClick:_b67,onDblClick:_b67,onKeyDown:_b67,onKeyPress:_b67,onKeyUp:_b67,onMouseDown:_b67,onMouseMove:_b67,onMouseOut:_b67,onMouseOver:_b67,onMouseLeave:_b67,onMouseEnter:_b67,onMouseUp:_b67,constructor:function(_b6e){this._toConnect={};for(var name in _b6e){if(this[name]===_b67){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_b6e[name];delete _b6e[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_b67){return _b5e.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_b6f){_b60.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_b6f);},attr:function(name,_b70){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_b60.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_b61("[widgetId]",this.containerNode).map(_b63.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_b62(0,function(){var _b71=["dijit/_base"];require(_b71);});}return _b6d;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_b72,dom,_b73,lang,on,has,_b74,_b75,win){var ios4=has("ios")<5;var _b76=has("pointer-events")||has("MSPointer"),_b77=(function(){var _b78={};for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_b78[type]=has("MSPointer")?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type;}return _b78;})();var _b79=has("touch-events");var _b7a,_b7b,_b7c=false,_b7d,_b7e,_b7f,_b80,_b81,_b82;var _b83;function _b84(_b85,_b86,_b87){if(_b76&&_b87){return function(node,_b88){return on(node,_b87,_b88);};}else{if(_b79){return function(node,_b89){var _b8a=on(node,_b86,function(evt){_b89.call(this,evt);_b83=(new Date()).getTime();}),_b8b=on(node,_b85,function(evt){if(!_b83||(new Date()).getTime()>_b83+1000){_b89.call(this,evt);}});return {remove:function(){_b8a.remove();_b8b.remove();}};};}else{return function(node,_b8c){return on(node,_b85,_b8c);};}}};function _b8d(node){do{if(node.dojoClick!==undefined){return node;}}while(node=node.parentNode);};function _b8e(e,_b8f,_b90){if(_b74.isRight(e)){return;}var _b91=_b8d(e.target);_b7b=!e.target.disabled&&_b91&&_b91.dojoClick;if(_b7b){_b7c=(_b7b=="useTarget");_b7d=(_b7c?_b91:e.target);if(_b7c){e.preventDefault();}_b7e=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX;_b7f=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY;_b80=(typeof _b7b=="object"?_b7b.x:(typeof _b7b=="number"?_b7b:0))||4;_b81=(typeof _b7b=="object"?_b7b.y:(typeof _b7b=="number"?_b7b:0))||4;if(!_b7a){_b7a=true;function _b92(e){if(_b7c){_b7b=dom.isDescendant(win.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)),_b7d);}else{_b7b=_b7b&&(e.changedTouches?e.changedTouches[0].target:e.target)==_b7d&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_b7e)<=_b80&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_b7f)<=_b81;}};win.doc.addEventListener(_b8f,function(e){if(_b74.isRight(e)){return;}_b92(e);if(_b7c){e.preventDefault();}},true);win.doc.addEventListener(_b90,function(e){if(_b74.isRight(e)){return;}_b92(e);if(_b7b){_b82=(new Date()).getTime();var _b93=(_b7c?_b7d:e.target);if(_b93.tagName==="LABEL"){_b93=dom.byId(_b93.getAttribute("for"))||_b93;}var src=(e.changedTouches)?e.changedTouches[0]:e;function _b94(type){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(type,true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);return evt;};var _b95=_b94("mousedown");var _b96=_b94("mouseup");var _b97=_b94("click");setTimeout(function(){on.emit(_b93,"mousedown",_b95);on.emit(_b93,"mouseup",_b96);on.emit(_b93,"click",_b97);_b82=(new Date()).getTime();},0);}},true);function _b98(type){win.doc.addEventListener(type,function(e){var _b99=e.target;if(_b7b&&!e._dojo_click&&(new Date()).getTime()<=_b82+1000&&!(_b99.tagName=="INPUT"&&_b73.contains(_b99,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(type=="click"&&(_b99.tagName!="INPUT"||(_b99.type=="radio"&&(_b73.contains(_b99,"dijitCheckBoxInput")||_b73.contains(_b99,"mblRadioButton")))||(_b99.type=="checkbox"&&(_b73.contains(_b99,"dijitCheckBoxInput")||_b73.contains(_b99,"mblCheckBox"))))&&_b99.tagName!="TEXTAREA"&&_b99.tagName!="AUDIO"&&_b99.tagName!="VIDEO"){e.preventDefault();}}},true);};_b98("click");_b98("mousedown");_b98("mouseup");}}};var _b9a;if(has("touch")){if(_b76){_b75(function(){win.doc.addEventListener(_b77.down,function(evt){_b8e(evt,_b77.move,_b77.up);},true);});}else{_b75(function(){_b9a=win.body();win.doc.addEventListener("touchstart",function(evt){_b83=(new Date()).getTime();var _b9b=_b9a;_b9a=evt.target;on.emit(_b9b,"dojotouchout",{relatedTarget:_b9a,bubbles:true});on.emit(_b9a,"dojotouchover",{relatedTarget:_b9b,bubbles:true});_b8e(evt,"touchmove","touchend");},true);function _b9c(evt){var _b9d=lang.delegate(evt,{bubbles:true});if(has("ios")>=6){_b9d.touches=evt.touches;_b9d.altKey=evt.altKey;_b9d.changedTouches=evt.changedTouches;_b9d.ctrlKey=evt.ctrlKey;_b9d.metaKey=evt.metaKey;_b9d.shiftKey=evt.shiftKey;_b9d.targetTouches=evt.targetTouches;}return _b9d;};on(win.doc,"touchmove",function(evt){_b83=(new Date()).getTime();var _b9e=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_b9e){if(_b9a!==_b9e){on.emit(_b9a,"dojotouchout",{relatedTarget:_b9e,bubbles:true});on.emit(_b9e,"dojotouchover",{relatedTarget:_b9a,bubbles:true});_b9a=_b9e;}if(!on.emit(_b9e,"dojotouchmove",_b9c(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_b83=(new Date()).getTime();var node=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset))||win.body();on.emit(node,"dojotouchend",_b9c(evt));});});}}var _b9f={press:_b84("mousedown","touchstart",_b77.down),move:_b84("mousemove","dojotouchmove",_b77.move),release:_b84("mouseup","dojotouchend",_b77.up),cancel:_b84(_b74.leave,"touchcancel",_b76?_b77.cancel:null),over:_b84("mouseover","dojotouchover",_b77.over),out:_b84("mouseout","dojotouchout",_b77.out),enter:_b74._eventHandler(_b84("mouseover","dojotouchover",_b77.over)),leave:_b74._eventHandler(_b84("mouseout","dojotouchout",_b77.out))};1&&(dojo.touch=_b9f);return _b9f;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_ba0,dojo,_ba1,_ba2,_ba3,dom,_ba4,geom,_ba5,_ba6){if(!dojo.isAsync){_ba5(0,function(){var _ba7=["./fx/Toggler"];_ba6(_ba7);});}var _ba8=dojo.fx={};var _ba9={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _baa=function(_bab){this._index=-1;this._animations=_bab||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_ba1.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_baa.prototype=new _ba0();lang.extend(_baa,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_ba2.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_ba2.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_bac,_bad){if(!this._current){this._current=this._animations[this._index=0];}if(!_bad&&this._current.status()=="playing"){return this;}var _bae=_ba2.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_baf=_ba2.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_bb0=_ba2.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_bae.remove();_baf.remove();_bb0.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_ba2.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_ba2.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_ba2.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_bb1,_bb2){this.pause();var _bb3=this.duration*_bb1;this._current=null;_ba1.some(this._animations,function(a,_bb4){if(_bb3<=a.duration){this._current=a;this._index=_bb4;return true;}_bb3-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_bb3/this._current.duration);}if(_bb2){this.play();}return this;},stop:function(_bb5){if(this._current){if(_bb5){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_ba2.after(this._current,"onStop",lang.hitch(this,function(arg){this._fire("onStop",arguments);e.remove();}),true);this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){this.stop();if(this._onAnimateCtx){this._onAnimateCtx.remove();}if(this._onEndCtx){this._onEndCtx.remove();}}});lang.extend(_baa,_ba9);_ba8.chain=function(_bb6){return new _baa(lang.isArray(_bb6)?_bb6:Array.prototype.slice.call(_bb6,0));};var _bb7=function(_bb8){this._animations=_bb8||[];this._connects=[];this._finished=0;this.duration=0;_ba1.forEach(_bb8,function(a){var _bb9=a.duration;if(a.delay){_bb9+=a.delay;}if(this.duration<_bb9){this.duration=_bb9;}this._connects.push(_ba2.after(a,"onEnd",lang.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _ba3.Animation({curve:[0,1],duration:this.duration});var self=this;_ba1.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_ba2.after(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);},true));});};lang.extend(_bb7,{_doAction:function(_bba,args){_ba1.forEach(this._animations,function(a){a[_bba].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_bbb,args){var t=this._pseudoAnimation;t[_bbb].apply(t,args);},play:function(_bbc,_bbd){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_bbe,_bbf){var ms=this.duration*_bbe;_ba1.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_bbf);});this._call("gotoPercent",arguments);return this;},stop:function(_bc0){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){this.stop();_ba1.forEach(this._connects,function(_bc1){_bc1.remove();});}});lang.extend(_bb7,_ba9);_ba8.combine=function(_bc2){return new _bb7(lang.isArray(_bc2)?_bc2:Array.prototype.slice.call(_bc2,0));};_ba8.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_ba3.animateProperty(lang.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _bc3=_ba4.get(node,"height");return Math.max(_bc3,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_ba2.after(anim,"onStop",fini,true);_ba2.after(anim,"onEnd",fini,true);return anim;};_ba8.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_ba3.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_ba2.after(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";},true);var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_ba2.after(anim,"onStop",fini,true);_ba2.after(anim,"onEnd",fini,true);return anim;};_ba8.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_ba4.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=geom.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=_ba3.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_ba2.after(anim,"beforeBegin",init,true);return anim;};return _ba8;});},"dojo/request":function(){define(["./request/default!"],function(_bc4){return _bc4;});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_bc5,a11y){return _bc5("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _bc6=a11y._getTabNavigable(this.domNode);this._firstFocusItem=_bc6.lowest||_bc6.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_bc6.last||_bc6.highest||this._firstFocusItem;}});});},"dijit/Tree":function(){define(["dojo/_base/array","dojo/aspect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/promise/all","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/errors/create","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./a11yclick","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","./_KeyNavMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector","dojo/query!css2"],function(_bc7,_bc8,_bc9,_bca,_bcb,all,dom,_bcc,_bcd,_bce,_bcf,_bd0,has,_bd1,keys,lang,on,_bd2,_bd3,when,_bd4,_bd5,_bd6,_bd7,_bd8,_bd9,_bda,_bdb,_bdc,_bdd,_bde,_bdf,_be0,_be1,_be2){function _be3(d){return lang.delegate(d.promise||d,{addCallback:function(_be4){this.then(_be4);},addErrback:function(_be5){this.otherwise(_be5);}});};var _be6=_bca("dijit._TreeNode",[_bd8,_bd9,_bda,_bdb,_bdc],{item:null,isTreeNode:true,label:"",_setLabelAttr:function(val){this.labelNode[this.labelType=="html"?"innerHTML":"innerText" in this.labelNode?"innerText":"textContent"]=val;this._set("label",val);if(has("dojo-bidi")){this.applyTextDir(this.labelNode);}},labelType:"text",isExpandable:null,isExpanded:false,state:"NotLoaded",templateString:_bde,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_be7){var _be8=(Math.max(_be7,0)*this.tree._nodePixelIndent)+"px";_bce.set(this.domNode,"backgroundPosition",_be8+" 0px");_bce.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_be8);_bc7.forEach(this.getChildren(),function(_be9){_be9.set("indent",_be7+1);});this._set("indent",_be7);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_bea=tree.model;if(tree._v10Compat&&item===_bea.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");this.tree._startPaint(true);},_applyClassAndStyle:function(item,_beb,_bec){var _bed="_"+_beb+"Class";var _bee=_beb+"Node";var _bef=this[_bed];this[_bed]=this.tree["get"+_bec+"Class"](item,this.isExpanded);_bcc.replace(this[_bee],this[_bed]||"",_bef||"");_bce.set(this[_bee],this.tree["get"+_bec+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _bf0=this.getParent(),_bf1=!_bf0||!_bf0.rowNode||_bf0.rowNode.style.display=="none";_bcc.toggle(this.domNode,"dijitTreeIsRoot",_bf1);_bcc.toggle(this.domNode,"dijitTreeIsLast",!_bf1&&!this.getNextSibling());},_setExpando:function(_bf2){var _bf3=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_bf4=["*","-","+","*"],idx=_bf2?0:(this.isExpandable?(this.isExpanded?1:2):3);_bcc.replace(this.expandoNode,_bf3[idx],_bf3);this.expandoNodeText.innerHTML=_bf4[idx];},expand:function(){if(this._expandDeferred){return _be3(this._expandDeferred);}if(this._collapseDeferred){this._collapseDeferred.cancel();delete this._collapseDeferred;}this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_bcc.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","true");}var _bf5=_bd0.wipeIn({node:this.containerNode,duration:_bd7.defaultDuration});var def=(this._expandDeferred=new _bcb(function(){_bf5.stop();}));_bc8.after(_bf5,"onEnd",function(){def.resolve(true);},true);_bf5.play();return _be3(def);},collapse:function(){if(this._collapseDeferred){return _be3(this._collapseDeferred);}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","false");}_bcc.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _bf6=_bd0.wipeOut({node:this.containerNode,duration:_bd7.defaultDuration});var def=(this._collapseDeferred=new _bcb(function(){_bf6.stop();}));_bc8.after(_bf6,"onEnd",function(){def.resolve(true);},true);_bf6.play();return _be3(def);},indent:0,setChildItems:function(_bf7){var tree=this.tree,_bf8=tree.model,defs=[];var _bf9=tree.focusedChild;var _bfa=this.getChildren();_bc7.forEach(_bfa,function(_bfb){_bda.prototype.removeChild.call(this,_bfb);},this);this.defer(function(){_bc7.forEach(_bfa,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);function _bfc(node){var id=_bf8.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _bfd=_bc7.indexOf(ary,node);if(_bfd!=-1){ary.splice(_bfd,1);}}_bc7.forEach(node.getChildren(),_bfc);};_bfc(node);if(tree.persist){var _bfe=_bc7.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_bfe.length)==_bfe){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}if(tree.lastFocusedChild&&!dom.isDescendant(tree.lastFocusedChild.domNode,tree.domNode)){delete tree.lastFocusedChild;}if(_bf9&&!dom.isDescendant(_bf9.domNode,tree.domNode)){tree.focus();}node.destroyRecursive();}});});this.state="Loaded";if(_bf7&&_bf7.length>0){this.isExpandable=true;_bc7.forEach(_bf7,function(item){var id=_bf8.getIdentity(item),_bff=tree._itemNodesMap[id],node;if(_bff){for(var i=0;i<_bff.length;i++){if(_bff[i]&&!_bff[i].getParent()){node=_bff[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_bf8.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_bff){_bff.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_bc7.forEach(this.getChildren(),function(_c00){_c00._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _be3(def);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _c01=this.getChildren();if(_c01.length==0){this.isExpandable=false;this.collapse();}_bc7.forEach(_c01,function(_c02){_c02._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_c03){this.labelNode.setAttribute("aria-selected",_c03?"true":"false");_bcc.toggle(this.rowNode,"dijitTreeRowSelected",_c03);},focus:function(){_bd5.focus(this.focusNode);}});if(has("dojo-bidi")){_be6.extend({_setTextDirAttr:function(_c04){if(_c04&&((this.textDir!=_c04)||!this._created)){this._set("textDir",_c04);this.applyTextDir(this.labelNode);_bc7.forEach(this.getChildren(),function(_c05){_c05.set("textDir",_c04);},this);}}});}var Tree=_bca("dijit.Tree",[_bd8,_bdd,_bd9,_bdc],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_bdf,persist:false,autoExpand:false,dndController:_be2,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_c06,_c07){_bd2.publish(this.id,lang.mixin({tree:this,event:_c06},_c07||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _bcb();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_bd3.enter),function(evt){self._onNodeMouseEnter(_bd6.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_bd3.leave),function(evt){self._onNodeMouseLeave(_bd6.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_bd4.press),function(evt){self._onNodePress(_bd6.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_bd4),function(evt){self._onClick(_bd6.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_bd6.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_bc8.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_bc8.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_bc8.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _c08={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_c08[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_c08);}this._load();this.onLoadDeferred=_be3(this.pendingCommandsPromise);this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_bd1.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _c09={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_c09.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_c09.getChildren=lang.hitch(this,function(item,_c0a,_c0b){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_c0a,_c0b);});}this.model=new _be1(_c09);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");this.domNode.removeAttribute("aria-expanded");this.domNode.removeAttribute("aria-multiselectable");if(this["aria-label"]){rn.containerNode.setAttribute("aria-label",this["aria-label"]);this.domNode.removeAttribute("aria-label");}else{if(this["aria-labelledby"]){rn.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]);this.domNode.removeAttribute("aria-labelledby");}}rn.labelNode.setAttribute("role","presentation");rn.labelNode.removeAttribute("aria-selected");rn.containerNode.setAttribute("role","tree");rn.containerNode.setAttribute("aria-expanded","true");rn.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular);}else{this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular);this.rootLoadingIndicator.style.display="none";}this.containerNode.appendChild(rn.domNode);var _c0c=this.model.getIdentity(item);if(this._itemNodesMap[_c0c]){this._itemNodesMap[_c0c].push(rn);}else{this._itemNodesMap[_c0c]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){if(!this._destroyed){this.rootLoadingIndicator.style.display="none";this.expandChildrenDeferred.resolve(true);}}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _c0d=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_c0d]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_c0e){var tree=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(lang.hitch(this,function(){var _c0f=_bc7.map(_c0e,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _c10=[];_bc7.forEach(_c0f,function(id){_c10=_c10.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_c10);}));},_setPathAttr:function(path){if(path.length){return _be3(this.set("paths",[path]).then(function(_c11){return _c11[0];}));}else{return _be3(this.set("paths",[]).then(function(_c12){return _c12[0];}));}},_setPathsAttr:function(_c13){var tree=this;function _c14(path,_c15){var _c16=path.shift();var _c17=_bc7.filter(_c15,function(node){return node.getIdentity()==_c16;})[0];if(!!_c17){if(path.length){return tree._expandNode(_c17).then(function(){return _c14(path,_c17.getChildren());});}else{return _c17;}}else{throw new Tree.PathError("Could not expand path at "+_c16);}};return _be3(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return all(_bc7.map(_c13,function(path){path=_bc7.map(path,function(item){return item&&lang.isObject(item)?tree.model.getIdentity(item):item;});if(path.length){return _c14(path,[tree.rootNode]);}else{throw new Tree.PathError("Empty path");}}));}).then(function setNodes(_c18){tree.set("selectedNodes",_c18);return tree.paths;}));},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_c19){this.dndController.setSelection(_c19);},expandAll:function(){var _c1a=this;function _c1b(node){return _c1a._expandNode(node).then(function(){var _c1c=_bc7.filter(node.getChildren()||[],function(node){return node.isExpandable;});return all(_bc7.map(_c1c,_c1b));});};return _be3(_c1b(this.rootNode));},collapseAll:function(){var _c1d=this;function _c1e(node){var _c1f=_bc7.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=all(_bc7.map(_c1f,_c1e));if(!node.isExpanded||(node==_c1d.rootNode&&!_c1d.showRoot)){return defs;}else{return defs.then(function(){return _c1d._collapseNode(node);});}};return _be3(_c1e(this.rootNode));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_c20){return (!item||this.model.mayHaveChildren(item))?(_c20?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onDownArrow:function(evt,node){var _c21=this._getNext(node);if(_c21&&_c21.isTreeNode){this.focusNode(_c21);}},_onUpArrow:function(evt,node){var _c22=node.getPreviousSibling();if(_c22){node=_c22;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _c23=node.getChildren();node=_c23[_c23.length-1];}}else{var _c24=node.getParent();if(!(!this.showRoot&&_c24===this.rootNode)){node=_c24;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(evt,node){if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(evt,node){if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _c25=node.getParent();if(_c25&&_c25.isTreeNode&&!(!this.showRoot&&_c25===this.rootNode)){this.focusNode(_c25);}}},focusLastChild:function(){var node=this._getLast();if(node&&node.isTreeNode){this.focusNode(node);}},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_getLast:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();if(!c.length){break;}node=c[c.length-1];}return node;},_getNext:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _c26=node.getNextSibling();if(_c26){return _c26;}node=node.getParent();}return null;}},childSelector:".dijitTreeRow",isExpandoNode:function(node,_c27){return dom.isDescendant(node,_c27.expandoNode)||dom.isDescendant(node,_c27.expandoNodeText);},_onNodePress:function(_c28,e){this.focusNode(_c28);},__click:function(_c29,e,_c2a,func){var _c2b=e.target,_c2c=this.isExpandoNode(_c2b,_c29);if(_c29.isExpandable&&(_c2a||_c2c)){this._onExpandoClick({node:_c29});}else{this._publish("execute",{item:_c29.item,node:_c29,evt:e});this[func](_c29.item,_c29,e);this.focusNode(_c29);}e.stopPropagation();e.preventDefault();},_onClick:function(_c2d,e){this.__click(_c2d,e,this.openOnClick,"onClick");},_onDblClick:function(_c2e,e){this.__click(_c2e,e,this.openOnDblClick,"onDblClick");},_onExpandoClick:function(_c2f){var node=_c2f.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){_bd1.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(node);},_getRootOrFirstNode:function(){_bd1.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","","2.0");return this._getFirst();},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.state=="Loading"){return;}if(node.isExpanded){var ret=node.collapse();this.onClose(node.item,node);this._state(node,false);this._startPaint(ret);return ret;}},_expandNode:function(node){if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _c30=this.model,item=node.item,_c31=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _bcb();_c30.getChildren(item,function(_c32){node.unmarkProcessing();node.setChildItems(_c32).then(function(){node._loadDeferred.resolve(_c32);});},function(err){console.error(_c31,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}var def=node._loadDeferred.then(lang.hitch(this,function(){var def2=node.expand();this.onOpen(node.item,node);this._state(node,true);return def2;}));this._startPaint(def);return def;},focusNode:function(node){var tmp=[];for(var _c33=this.domNode;_c33&&_c33.tagName&&_c33.tagName.toUpperCase()!=="IFRAME";_c33=_c33.parentNode){tmp.push({domNode:_c33.contentWindow||_c33,scrollLeft:_c33.scrollLeft||0,scrollTop:_c33.scrollTop||0});}this.focusChild(node);this.defer(function(){for(var i=0,max=tmp.length;i<max;i++){tmp[i].domNode.scrollLeft=tmp[i].scrollLeft;tmp[i].domNode.scrollTop=tmp[i].scrollTop;}},0);},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _c34=this.model,_c35=_c34.getIdentity(item),_c36=this._itemNodesMap[_c35];if(_c36){var _c37=this.getLabel(item),_c38=this.getTooltip(item);_bc7.forEach(_c36,function(node){node.set({item:item,label:_c37,tooltip:_c38});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_c39,_c3a){var _c3b=this.model,_c3c=_c3b.getIdentity(_c39),_c3d=this._itemNodesMap[_c3c];if(_c3d){_bc7.forEach(_c3d,function(_c3e){_c3e.setChildItems(_c3a);});}},_onItemDelete:function(item){var _c3f=this.model,_c40=_c3f.getIdentity(item),_c41=this._itemNodesMap[_c40];if(_c41){_bc7.forEach(_c41,function(node){this.dndController.removeTreeNode(node);var _c42=node.getParent();if(_c42){_c42.removeChild(node);}if(this.lastFocusedChild&&!dom.isDescendant(this.lastFocusedChild.domNode,this.domNode)){delete this.lastFocusedChild;}if(this.focusedChild&&!dom.isDescendant(this.focusedChild.domNode,this.domNode)){this.focus();}node.destroyRecursive();},this);delete this._itemNodesMap[_c40];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_bc9(this.cookieName);if(oreo){_bc7.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_c43){if(!this.persist){return false;}var path=_bc7.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_c43){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}this._saveExpandedNodes();}},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_bc9(this.cookieName,ary.join(","),{expires:365});}},destroy:function(){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_c44){if(_c44){_bcd.setMarginBox(this.domNode,_c44);}this._nodePixelIndent=_bcd.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(lang.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths();}));},_outstandingPaintOperations:0,_startPaint:function(p){this._outstandingPaintOperations++;if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var oc=lang.hitch(this,function(){this._outstandingPaintOperations--;if(this._outstandingPaintOperations<=0&&!this._adjustWidthsTimer&&this._started){this._adjustWidthsTimer=this.defer("_adjustWidths");}});when(p,oc,oc);},_adjustWidths:function(){if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>this.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _be6(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_c45){if(_c45&&this.textDir!=_c45){this._set("textDir",_c45);this.rootNode.set("textDir",_c45);}}});}Tree.PathError=_bcf("TreePathError");Tree._TreeNode=_be6;return Tree;});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_c46,has,_c47,_c48){return _c46("dijit.form._FormValueWidget",[_c47,_c48],{_layoutHackIE7:function(){if(has("ie")==7){var _c49=this.domNode;var _c4a=_c49.parentNode;var _c4b=_c49.firstChild||_c49;var _c4c=_c4b.style.filter;var _c4d=this;while(_c4a&&_c4a.clientHeight==0){(function ping(){var _c4e=_c4d.connect(_c4a,"onscroll",function(){_c4d.disconnect(_c4e);_c4b.style.filter=(new Date()).getMilliseconds();_c4d.defer(function(){_c4b.style.filter=_c4c;});});})();_c4a=_c4a.parentNode;}}}});});},"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow\" role=\"presentation\"\n\t\t><span data-dojo-attach-point=\"expandoNode\" class=\"dijitInline dijitTreeExpando\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTreeIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span data-dojo-attach-point=\"labelNode,focusNode\" class=\"dijitTreeLabel\" role=\"treeitem\"\n\t\t\t\t tabindex=\"-1\" aria-selected=\"false\" id=\"${id}_label\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeNodeContainer\" role=\"presentation\"\n\t\t style=\"display: none;\" aria-labelledby=\"${id}_label\"></div>\n</div>\n","url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\" role=\"separator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>\n","url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><span data-dojo-attach-point=\"indeterminateHighContrastImage\"\n\t\t class=\"dijitInline dijitProgressBarIndeterminateHighContrastImage\"></span\n></div>\n","url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:__onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode,_popupStateNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onclick:_onClick\" data-dojo-attach-point=\"valueNode\" aria-hidden=\"true\"\n/></span>\n","url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\taria-haspopup=\"true\"\n\tdata-dojo-attach-point=\"_popupStateNode\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"${type}\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\"\n\t/></div\n></div>\n","url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset\" data-dojo-attach-point=\"focusNode\" role=\"${role}\" tabIndex=\"-1\" aria-checked=\"${checked}\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span class=\"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span class=\"dijitMenuItemIconChar dijitCheckedMenuItemIconChar\">${!checkedChar}</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode,textDirNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n","url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\" data-dojo-attach-event=\"mouseenter:onMouseEnter,mouseleave:onMouseLeave\"\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n></div>\n","url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"./form/Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"./form/Button\" data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\" role=\"grid\">\n\t<table data-dojo-attach-point=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"presentation\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"ondijitclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"focusNode\" role=\"button\">\n\t<span role=\"presentation\" class=\"dijitInline dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>","url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:__onClick,onkeydown:_onButtonKeyDown\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeydown:_onArrowKeyDown\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\"\n\t\t\t\tclass=\"dijitOffScreen\" aria-hidden=\"true\" data-dojo-attach-event=\"onclick:_onClick\"\n\t\t/></td></tr></tbody\n></table>\n","url:dijit/templates/Tree.html":"<div role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n\t<div class=\"dijitTreeExpando dijitTreeExpandoLoading\" data-dojo-attach-point=\"rootLoadingIndicator\"></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\">\n\t</div>\n</div>\n","url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabindex=\"-1\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n\t${!actionBarTemplate}\n</div>\n\n","url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode,_popupStateNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\" data-dojo-attach-point=\"containerNode,textDirNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n","url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,textDirNode\"\n\t\trole=\"presentation\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<span data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<span class=\"dijitInline dijitIcon dijitMenuExpand\"></span>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</span>\n\t</td>\n</tr>\n","url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTabButtonIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\n","url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"ondijitclick:_onClick\"\n/></div>\n","url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_menuBtn\"\n\t\t data-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t data-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_leftBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_rightBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'\n\t\t\t data-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:__onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\ttabIndex=\"-1\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","url:dijit/templates/TooltipDialog.html":"<div role=\"alertdialog\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"contentsNode\" class=\"dijitTooltipContents dijitTooltipFocusNode\">\n\t\t\t<div data-dojo-attach-point=\"containerNode\"></div>\n\t\t\t${!actionBarTemplate}\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","*now":function(r){r(["dojo/i18n!*preload*dojo/nls/tt-rss-layer*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dojo/tt-rss-layer",[],1);