",this.contentWidget.domNode,"after");var _9f3=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_9f3._buttonWidget=(new cls({contentWidget:_9f3,label:_9f3.title,title:_9f3.tooltip,dir:_9f3.dir,lang:_9f3.lang,textDir:_9f3.textDir||this.textDir,iconClass:_9f3.iconClass,id:_9f3.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_9de.place("
",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_9de.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _9f4=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_9f5,_9f6){_9f4.set("label",_9f6);})),cw.watch("tooltip",lang.hitch(this,function(name,_9f7,_9f8){_9f4.set("title",_9f8);})),cw.watch("iconClass",lang.hitch(this,function(name,_9f9,_9fa){_9f4.set("iconClass",_9fa);}))];},_setSelectedAttr:function(_9fb){this._set("selected",_9fb);this.button.set("selected",_9fb);if(_9fb){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_9da.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_9fc){this.contentWidget.destroyRecursive(_9fc);}});if(has("dojo-bidi")){_9f2=_9db("dijit.layout._AccordionInnerContainer",_9f2,{postCreate:function(){this.inherited(arguments);var _9fd=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_9fe,_9ff){_9fd.set("textDir",_9ff);}));}});}var _a00=_9db("dijit.layout.AccordionContainer",_9e8,{duration:_9e2.defaultDuration,buttonWidget:_9ec,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 _a01=this.selectedChildWidget;if(!_a01){return;}var _a02=_a01._wrapperWidget.domNode,_a03=_9df.getMarginExtents(_a02),_a04=_9df.getPadBorderExtents(_a02),_a05=_a01._wrapperWidget.containerNode,_a06=_9df.getMarginExtents(_a05),_a07=_9df.getPadBorderExtents(_a05),_a08=this._contentBox;var _a09=0;_9da.forEach(this.getChildren(),function(_a0a){if(_a0a!=_a01){_a09+=_9df.getMarginSize(_a0a._wrapperWidget.domNode).h;}});this._verticalSpace=_a08.h-_a09-_a03.h-_a04.h-_a06.h-_a07.h-_a01._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_a03.w-_a04.w-_a06.w-_a07.w};if(_a01){size(_a01,this._containerContentBox);}},_setupChild:function(_a0b){_a0b._wrapperWidget=_9f2({contentWidget:_a0b,buttonWidget:this.buttonWidget,id:_a0b.id+"_wrapper",dir:_a0b.dir,lang:_a0b.lang,textDir:_a0b.textDir||this.textDir,parent:this});this.inherited(arguments);_9de.place(_a0b.domNode,_a0b._wrapper,"replace");},removeChild:function(_a0c){if(_a0c._wrapperWidget){_9de.place(_a0c.domNode,_a0c._wrapperWidget.domNode,"after");_a0c._wrapperWidget.destroy();delete _a0c._wrapperWidget;}_9dd.remove(_a0c.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _9da.map(this.inherited(arguments),function(_a0d){return _a0d.declaredClass=="dijit.layout._AccordionInnerContainer"?_a0d.contentWidget:_a0d;},this);},destroy:function(){if(this._animation){this._animation.stop();}_9da.forEach(this.getChildren(),function(_a0e){if(_a0e._wrapperWidget){_a0e._wrapperWidget.destroy();}else{_a0e.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_a0f){_a0f._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_a10){_a10._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_a11,_a12,_a13){if(has("ie")<8){_a13=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_a11){_a11._wrapperWidget.set("selected",true);var d=this._showChild(_a11);if(this.doLayout){size(_a11,this._containerContentBox);}}if(_a12){_a12._wrapperWidget.set("selected",false);if(!_a13){this._hideChild(_a12);}}if(_a13){var _a14=_a11._wrapperWidget.containerNode,_a15=_a12._wrapperWidget.containerNode;var _a16=_a11._wrapperWidget.containerNode,_a17=_9df.getMarginExtents(_a16),_a18=_9df.getPadBorderExtents(_a16),_a19=_a17.h+_a18.h;_a15.style.height=(self._verticalSpace-_a19)+"px";this._animation=new fx.Animation({node:_a14,duration:this.duration,curve:[1,this._verticalSpace-_a19-1],onAnimate:function(_a1a){_a1a=Math.floor(_a1a);_a14.style.height=_a1a+"px";_a15.style.height=(self._verticalSpace-_a19-_a1a)+"px";},onEnd:function(){delete self._animation;_a14.style.height="auto";_a12._wrapperWidget.containerNode.style.display="none";_a15.style.height="auto";self._hideChild(_a12);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_a1b){if(this.disabled||e.altKey||!(_a1b||e.ctrlKey)){return;}var c=e.keyCode;if((_a1b&&(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((_a1b&&(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")){_9e3(0,function(){var _a1c=["dijit/layout/AccordionPane"];_9d9(_a1c);});}_a00._InnerContainer=_9f2;_a00._Button=_9ec;return _a00;});},"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(_a1d,_a1e,_a1f,_a20,_a21,has,lang,on,_a22,_a23,when,_a24,_a25,_a26){if(has("dijit-legacy-requires")){_a22(0,function(){var _a27=["dijit/layout/StackController"];require(_a27);});}var _a28=_a1f("dijit.layout.StackContainer",_a26,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_a20.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 _a29=this.getChildren();_a1d.forEach(_a29,this._setupChild,this);if(this.persist){this.selectedChildWidget=_a24.byId(_a1e(this.id+"_selectedChild"));}else{_a1d.some(_a29,function(_a2a){if(_a2a.selected){this.selectedChildWidget=_a2a;}return _a2a.selected;},this);}var _a2b=this.selectedChildWidget;if(!_a2b&&_a29[0]){_a2b=this.selectedChildWidget=_a29[0];_a2b.selected=true;}_a23.publish(this.id+"-startup",{children:_a29,selected:_a2b,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _a2c=this.selectedChildWidget;if(_a2c){this._showChild(_a2c);}}this.inherited(arguments);},_setupChild:function(_a2d){var _a2e=_a2d.domNode,_a2f=_a21.place("
",_a2d.domNode,"replace"),_a30=_a2d["aria-label"]||_a2d.title||_a2d.label;if(_a30){_a2f.setAttribute("aria-label",_a30);}_a21.place(_a2e,_a2f);_a2d._wrapper=_a2f;this.inherited(arguments);if(_a2e.style.display=="none"){_a2e.style.display="block";}_a2d.domNode.removeAttribute("title");},addChild:function(_a31,_a32){this.inherited(arguments);if(this._started){_a23.publish(this.id+"-addChild",_a31,_a32);this.layout();if(!this.selectedChildWidget){this.selectChild(_a31);}}},removeChild:function(page){var idx=_a1d.indexOf(this.getChildren(),page);this.inherited(arguments);_a21.destroy(page._wrapper);delete page._wrapper;if(this._started){_a23.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _a33=this.getChildren();if(_a33.length){this.selectChild(_a33[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_a34){var d;page=_a24.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_a34);this._set("selectedChildWidget",page);_a23.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_a1e(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_a35,_a36){if(_a36){this._hideChild(_a36);}var d=this._showChild(_a35);if(_a35.resize){if(this.doLayout){_a35.resize(this._containerContentBox||this._contentBox);}else{_a35.resize();}}return d;},_adjacent:function(_a37){var _a38=this.getChildren();var _a39=_a1d.indexOf(_a38,this.selectedChildWidget);_a39+=_a37?1:_a38.length-1;return _a38[_a39%_a38.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_a23.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _a3a=this.selectedChildWidget;if(_a3a&&_a3a.resize){if(this.doLayout){_a3a.resize(this._containerContentBox||this._contentBox);}else{_a3a.resize();}}},_showChild:function(page){var _a3b=this.getChildren();page.isFirstChild=(page==_a3b[0]);page.isLastChild=(page==_a3b[_a3b.length-1]);page._set("selected",true);if(page._wrapper){_a20.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_a20.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _a3c=!page.onClose||page.onClose(this,page);if(_a3c){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_a3d){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_a1d.forEach(this.getChildren(),function(_a3e){if(!_a3d){this.removeChild(_a3e);}_a3e.destroyRecursive(_a3d);},this);this._descendantsBeingDestroyed=false;}});_a28.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_a25,_a28.ChildWidgetProperties);return _a28;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_a3f){dojo.cookie=function(name,_a40,_a41){var c=document.cookie,ret;if(arguments.length==1){var _a42=c.match(new RegExp("(?:^|; )"+_a3f.escapeString(name)+"=([^;]*)"));ret=_a42?decodeURIComponent(_a42[1]):undefined;}else{_a41=_a41||{};var exp=_a41.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_a41.expires=d;}if(exp&&exp.toUTCString){_a41.expires=exp.toUTCString();}_a40=encodeURIComponent(_a40);var _a43=name+"="+_a40,_a44;for(_a44 in _a41){_a43+="; "+_a44;var _a45=_a41[_a44];if(_a45!==true){_a43+="="+_a45;}}document.cookie=_a43;}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;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_a46,_a47,_a48){return _a46("dijit.layout.AccordionPane",_a48,{constructor:function(){_a47.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected: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(_a49,_a4a,_a4b,_a4c,_a4d,_a4e,_a4f,keys,lang,on,_a50,_a51,_a52,_a53,_a54,_a55){var _a56=_a4b("dijit.layout._Splitter",[_a52,_a53],{live:true,templateString:"
",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);_a4c.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _a57=_a4a(this._cookieName);if(_a57){this.child.domNode.style[this.horizontal?"height":"width"]=_a57;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_a58=_a4e.getMarginBox(this.child.domNode)[dim],_a59=_a49.filter(this.container.getChildren(),function(_a5a){return _a5a.region=="center";})[0];var _a5b=_a4e.getContentBox(_a59.domNode)[dim]-10;return Math.min(this.child.maxSize,_a58+_a5b);},_startDrag:function(e){if(!this.cover){this.cover=_a4d.place("
",this.child.domNode,"after");}_a4c.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_a4d.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_a4c.add(this.domNode,"dijitSplitterShadow");_a4d.place(this.fake,this.domNode,"after");}_a4c.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_a4c.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _a5c=this._factor,_a5d=this.horizontal,axis=_a5d?"pageY":"pageX",_a5e=e[axis],_a5f=this.domNode.style,dim=_a5d?"h":"w",_a60=_a4f.getComputedStyle(this.child.domNode),_a61=_a4e.getMarginBox(this.child.domNode,_a60)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_a4e.getPadBorderExtents(this.child.domNode,_a60)[dim]+10),_a62=this.region,_a63=_a62=="top"||_a62=="bottom"?"top":"left",_a64=parseInt(_a5f[_a63],10),_a65=this._resize,_a66=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_a50.move,this._drag=function(e,_a67){var _a68=e[axis]-_a5e,_a69=_a5c*_a68+_a61,_a6a=Math.max(Math.min(_a69,max),min);if(_a65||_a67){_a66(_a6a);}_a5f[_a63]=_a68+_a64+_a5c*(_a6a-_a69)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_a50.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_a4c.toggle(this.domNode,"dijitSplitterHover",o);_a4c.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_a4c.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_a4d.destroy(this.fake);}_a4c.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){_a4a(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 _a6b=this.horizontal;var tick=1;switch(e.keyCode){case _a6b?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _a6b?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _a6c=_a4e.getMarginSize(this.child.domNode)[_a6b?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_a6c,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 _a6d=_a4b("dijit.layout._Gutter",[_a52,_a53],{templateString:"
",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_a4c.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _a6e=_a4b("dijit.layout.BorderContainer",_a54,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_a56,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_a6f){this.inherited(arguments);var _a70=_a6f.region,ltr=_a6f.isLeftToRight();if(_a70=="leading"){_a70=ltr?"left":"right";}if(_a70=="trailing"){_a70=ltr?"right":"left";}if(_a70){if(_a70!="center"&&(_a6f.splitter||this.gutters)&&!_a6f._splitterWidget){var _a71=_a6f.splitter?this._splitterClass:_a6d;if(lang.isString(_a71)){_a71=lang.getObject(_a71);}var _a72=new _a71({id:_a6f.id+"_splitter",container:this,child:_a6f,region:_a70,live:this.liveSplitters});_a72.isSplitter=true;_a6f._splitterWidget=_a72;var _a73=_a70=="bottom"||_a70==(this.isLeftToRight()?"right":"left");_a4d.place(_a72.domNode,_a6f.domNode,_a73?"before":"after");_a72.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_a74){var _a75=_a74._splitterWidget;if(_a75){_a75.destroy();delete _a74._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _a49.filter(this.inherited(arguments),function(_a76){return !_a76.isSplitter;});},getSplitter:function(_a77){return _a49.filter(this.getChildren(),function(_a78){return _a78.region==_a77;})[0]._splitterWidget;},resize:function(_a79,_a7a){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_a4f.getComputedStyle(node);this.pe=_a4e.getPadExtents(node,this.cs);this.pe.r=_a4f.toPixelValue(node,this.cs.paddingRight);this.pe.b=_a4f.toPixelValue(node,this.cs.paddingBottom);_a4f.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_a7b,_a7c){if(!this._borderBox||!this._borderBox.h){return;}var _a7d=[];_a49.forEach(this._getOrderedChildren(),function(pane){_a7d.push(pane);if(pane._splitterWidget){_a7d.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};_a55.layoutChildren(this.domNode,dim,_a7d,_a7b,_a7c);},destroyRecursive:function(){_a49.forEach(this.getChildren(),function(_a7e){var _a7f=_a7e._splitterWidget;if(_a7f){_a7f.destroy();}delete _a7e._splitterWidget;});this.inherited(arguments);}});_a6e.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_a6e.ChildWidgetProperties,_a54.ChildWidgetProperties);lang.extend(_a51,_a6e.ChildWidgetProperties);_a6e._Splitter=_a56;_a6e._Gutter=_a6d;return _a6e;});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_a80,_a81,_a82,_a83,lang,_a84,_a85,_a86){var _a87=_a81("dijit.layout.LayoutContainer",_a85,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_a80.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_a88){this.inherited(arguments);var _a89=_a88.region;if(_a89){_a82.add(_a88.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _a8a=_a80.map(this.getChildren(),function(_a8b,idx){return {pane:_a8b,weight:[_a8b.region=="center"?Infinity:0,_a8b.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_a8b.region)?1:-1),idx]};},this);_a8a.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i
",tabPosition:"top",buttonWidget:_aa8,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _aaf=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 _aa3.contains(node,"dijitClosable")&&!_aa3.contains(node,"dijitTabDisabled");}});this.own(_aaf);var _ab0=i18n.getLocalization("dijit","common"),_ab1=this;_aaf.addChild(new _aa6({label:_ab0.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _ab2=_aa5.byNode(this.getParent().currentTarget);_ab1.onCloseButtonClick(_ab2.page);}}));}});_aae.TabButton=_aa8;return _aae;});},"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(_ab3,_ab4,_ab5,_ab6,keys,lang,on,_ab7,_ab8,_ab9,_aba,_abb,_abc,_abd){var _abe=_ab4("dijit.layout._StackButton",_abd,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _abf=_ab4("dijit.layout.StackController",[_aba,_abb,_abc],{baseClass:"dijitStackController",templateString:"
",containerId:"",buttonWidget:_abe,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _ab9.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_ab7.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_ab7.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_ab7.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_ab7.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_ab7.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _ac0=_ab9.getEnclosingWidget(evt.target);if(_ac0!=this.containerNode&&!_ac0.disabled&&_ac0.page){for(var _ac1=evt.target;_ac1!==this.containerNode;_ac1=_ac1.parentNode){if(_ab5.contains(_ac1,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_ac0.page);break;}else{if(_ac1==_ac0.domNode){this.onButtonClick(_ac0.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_ab3.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _ac2=_ab9.byId(this.containerId).containerNode,_ac3=lang.hitch(this,"pane2button"),_ac4={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_ac5=function(attr,_ac6){return on(_ac2,"attrmodified-"+attr,function(evt){var _ac7=_ac3(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_ac7){_ac7.set(_ac6,evt.detail.newValue);}});};for(var attr in _ac4){this.own(_ac5(attr,_ac4[attr]));}},destroy:function(_ac8){this.destroyDescendants(_ac8);this.inherited(arguments);},onAddChild:function(page,_ac9){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _aca=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(_aca,_ac9);page.controlButton=_aca;if(!this._currentChild){this.onSelectChild(page);}var _acb=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_aca.id:_aca.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_acb);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _acc=this.pane2button(page.id);if(_acc){this.removeChild(_acc);_acc.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _acd=this.pane2button(this._currentChild.id);_acd.set("checked",false);_acd.focusNode.setAttribute("tabIndex","-1");}var _ace=this.pane2button(page.id);_ace.set("checked",true);this._currentChild=page;_ace.focusNode.setAttribute("tabIndex","0");var _acf=_ab9.byId(this.containerId);},onButtonClick:function(page){var _ad0=this.pane2button(page.id);_ab8.focus(_ad0.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_ad0.set("checked",true);}var _ad1=_ab9.byId(this.containerId);_ad1.selectChild(page);},onCloseButtonClick:function(page){var _ad2=_ab9.byId(this.containerId);_ad2.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_ab8.focus(b.focusNode||b.domNode);}}},adjacent:function(_ad3){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_ad3=!_ad3;}var _ad4=this.getChildren();var idx=_ab3.indexOf(_ad4,this.pane2button(this._currentChild.id)),_ad5=_ad4[idx];var _ad6;do{idx=(idx+(_ad3?1:_ad4.length-1))%_ad4.length;_ad6=_ad4[idx];}while(_ad6.disabled&&_ad6!=_ad5);return _ad6;},onkeydown:function(e,_ad7){if(this.disabled||e.altKey){return;}var _ad8=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_ad8=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_ad8=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_ad8=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_ad8=true;}break;case keys.HOME:var _ad9=this.getChildren();for(var idx=0;idx<_ad9.length;idx++){var _ada=_ad9[idx];if(!_ada.disabled){this.onButtonClick(_ada.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _ad9=this.getChildren();for(var idx=_ad9.length-1;idx>=0;idx--){var _ada=_ad9[idx];if(!_ada.disabled){this.onButtonClick(_ada.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(_ad8!==null){this.onButtonClick(this.adjacent(_ad8).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_abf.StackButton=_abe;return _abf;});},"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(_adb,_adc,_add,dom,_ade,_adf,_ae0,keys,lang,on,has,win,_ae1,pm,_ae2,_ae3){if(has("dijit-legacy-requires")){_ae3(0,function(){var _ae4=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_adb(_ae4);});}return _add("dijit.Menu",_ae2,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_adc.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_ae5){return _ae1.get(this._iframeContentDocument(_ae5))||this._iframeContentDocument(_ae5)["__parent__"]||(_ae5.name&&document.frames[_ae5.name])||null;},_iframeContentDocument:function(_ae6){return _ae6.contentDocument||(_ae6.contentWindow&&_ae6.contentWindow.document)||(_ae6.name&&document.frames[_ae6.name]&&document.frames[_ae6.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _ae7=node,_ae8=this._iframeContentWindow(_ae7);cn=win.body(_ae8.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _ae9={node:node,iframe:_ae7};_ade.set(node,"_dijitMenu"+this.id,this._bindings.push(_ae9));var _aea=lang.hitch(this,function(cn){var _aeb=this.selector,_aec=_aeb?function(_aed){return on.selector(_aeb,_aed);}:function(_aee){return _aee;},self=this;return [on(cn,_aec(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()
.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+=_b04.getMarginSize(btn).w;return true;}else{_b05.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _b14=this.getChildren();if(_b14.length){var _b15=_b14[this.isLeftToRight()?0:_b14.length-1].domNode,_b16=_b14[this.isLeftToRight()?_b14.length-1:0].domNode;return _b16.offsetLeft+_b16.offsetWidth-_b15.offsetLeft;}else{return 0;}},_enableBtn:function(_b17){var _b18=this._getTabsWidth();_b17=_b17||_b05.get(this.scrollNode,"width");return _b18>0&&_b17<_b18;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_b0b.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_b04.setContentSize(this.domNode,cb);var _b19=this._enableBtn(this._contentBox.w);this._buttons.style("display",_b19?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_b0b.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:_b05.get(this.containerNode,"width")-_b05.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 _b1a=_b05.get(this.containerNode,"width")-_b05.get(this.scrollNode,"width");return (has("trident")||has("edge")?-1:1)*(val-_b1a);}},onSelectChild:function(page,_b1b){var tab=this.pane2button(page.id);if(!tab){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_b05.get(this.scrollNode,"width")_b1d){return {min:this.isLeftToRight()?0:_b1c[_b1c.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_b1c[_b1c.length-1].domNode.offsetLeft+_b1c[_b1c.length-1].domNode.offsetWidth)-_b1d:_b1f};}else{var _b21=this.isLeftToRight()?0:_b1f;return {min:_b21,max:_b21};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_b22=_b05.get(this.scrollNode,"width"),_b23=this._getScrollBounds();var pos=(n.offsetLeft+_b05.get(n,"width")/2)-_b22/2;pos=Math.min(Math.max(pos,_b23.min),_b23.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _b24=this._getScrollBounds();x=Math.min(Math.max(x,_b24.min),_b24.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var self=this,w=this.scrollNode,anim=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var oldS=w.scrollLeft,newS=self._convertToScrollLeft(x);anim.curve=new fx._Line(oldS,newS);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=anim;this._setButtonClass(x);return anim;},_getBtnNode:function(e){var n=e.target;while(n&&!_b03.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(_b25,node){if(node&&_b03.contains(node,"dijitTabDisabled")){return;}var _b26=_b05.get(this.scrollNode,"width");var d=(_b26*0.75)*_b25;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_b27){var _b28=this._getScrollBounds();this._leftBtn.set("disabled",_b27<=_b28.min);this._rightBtn.set("disabled",_b27>=_b28.max);}});var _b29=_b02("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_b09,tabIndex:"",isFocusable:function(){return false;}});_b02("dijit.layout._ScrollingTabControllerButton",[_b0e,_b29]);_b02("dijit.layout._ScrollingTabControllerMenuButton",[_b0e,_b0f,_b29],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_b2a){this.dropDown=new Menu({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _b2b=_b07.byId(this.containerId);_b01.forEach(_b2b.getChildren(),function(page){var _b2c=new _b0d({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||_b2b.textDir,onClick:function(){_b2b.selectChild(page);}});this.dropDown.addChild(_b2c);},this);_b2a();},closeDropDown:function(_b2d){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _b10;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_b2e,_b2f,_b30,lang,_b31,_b32,_b33,_b34){return _b2f("dijit.ProgressBar",[_b32,_b33],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_b34,_indeterminateHighContrastImagePath:_b2e.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";_b30.toggle(this.domNode,"dijitProgressBarRtl",rtl);_b30.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_b35){lang.mixin(this,_b35||{});var tip=this.internalProgress,ap=this.domNode;var _b36=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_b36=Math.min(parseFloat(this.progress)/100,1);this.progress=_b36*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_b36=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(_b36);_b30.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_b30.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_b36*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(_b37){this._set("label",_b37);this.update();},_setIndeterminateAttr:function(_b38){this._set("indeterminate",_b38);this.update();},report:function(_b39){return this.label?this.label:(this.indeterminate?" ":_b31.format(_b39,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_b3a,_b3b,_b3c){var _b3d={};lang.setObject("dojo.number",_b3d);_b3d.format=function(_b3e,_b3f){_b3f=lang.mixin({},_b3f||{});var _b40=i18n.normalizeLocale(_b3f.locale),_b41=i18n.getLocalization("dojo.cldr","number",_b40);_b3f.customs=_b41;var _b42=_b3f.pattern||_b41[(_b3f.type||"decimal")+"Format"];if(isNaN(_b3e)||Math.abs(_b3e)==Infinity){return null;}return _b3d._applyPattern(_b3e,_b42,_b3f);};_b3d._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_b3d._applyPattern=function(_b43,_b44,_b45){_b45=_b45||{};var _b46=_b45.customs.group,_b47=_b45.customs.decimal,_b48=_b44.split(";"),_b49=_b48[0];_b44=_b48[(_b43<0)?1:0]||("-"+_b49);if(_b44.indexOf("%")!=-1){_b43*=100;}else{if(_b44.indexOf("‰")!=-1){_b43*=1000;}else{if(_b44.indexOf("¤")!=-1){_b46=_b45.customs.currencyGroup||_b46;_b47=_b45.customs.currencyDecimal||_b47;_b44=_b44.replace(/([\s\xa0\u202f]*)(\u00a4{1,3})([\s\xa0\u202f]*)/,function(_b4a,_b4b,_b4c,_b4d){var prop=["symbol","currency","displayName"][_b4c.length-1],_b4e=_b45[prop]||_b45.currency||"";if(!_b4e){return "";}return _b4b+_b4e+_b4d;});}else{if(_b44.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _b4f=_b3d._numberPatternRE;var _b50=_b49.match(_b4f);if(!_b50){throw new Error("unable to find a number expression in pattern: "+_b44);}if(_b45.fractional===false){_b45.places=0;}return _b44.replace(_b4f,_b3d._formatAbsolute(_b43,_b50[0],{decimal:_b47,group:_b46,places:_b45.places,round:_b45.round}));};_b3d.round=function(_b51,_b52,_b53){var _b54=10/(_b53||10);return (_b54*+_b51).toFixed(_b52)/_b54;};if((0.9).toFixed()==0){var _b55=_b3d.round;_b3d.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 _b55(v,p,m)+(v>0?d:-d);};}_b3d._formatAbsolute=function(_b56,_b57,_b58){_b58=_b58||{};if(_b58.places===true){_b58.places=0;}if(_b58.places===Infinity){_b58.places=6;}var _b59=_b57.split("."),_b5a=typeof _b58.places=="string"&&_b58.places.indexOf(","),_b5b=_b58.places;if(_b5a){_b5b=_b58.places.substring(_b5a+1);}else{if(!(_b5b>=0)){_b5b=(_b59[1]||[]).length;}}if(!(_b58.round<0)){_b56=_b3d.round(_b56,_b5b,_b58.round);}var _b5c=String(Math.abs(_b56)).split("."),_b5d=_b5c[1]||"";if(_b59[1]||_b58.places){if(_b5a){_b58.places=_b58.places.substring(0,_b5a);}var pad=_b58.places!==undefined?_b58.places:(_b59[1]&&_b59[1].lastIndexOf("0")+1);if(pad>_b5d.length){_b5c[1]=_b3b.pad(_b5d,pad,"0",true);}if(_b5b<_b5d.length){_b5c[1]=_b5d.substr(0,_b5b);}}else{if(_b5c[1]){_b5c.pop();}}var _b5e=_b59[0].replace(",","");pad=_b5e.indexOf("0");if(pad!=-1){pad=_b5e.length-pad;if(pad>_b5c[0].length){_b5c[0]=_b3b.pad(_b5c[0],pad);}if(_b5e.indexOf("#")==-1){_b5c[0]=_b5c[0].substr(_b5c[0].length-pad);}}var _b5f=_b59[0].lastIndexOf(","),_b60,_b61;if(_b5f!=-1){_b60=_b59[0].length-_b5f-1;var _b62=_b59[0].substr(0,_b5f);_b5f=_b62.lastIndexOf(",");if(_b5f!=-1){_b61=_b62.length-_b5f-1;}}var _b63=[];for(var _b64=_b5c[0];_b64;){var off=_b64.length-_b60;_b63.push((off>0)?_b64.substr(off):_b64);_b64=(off>0)?_b64.slice(0,off):"";if(_b61){_b60=_b61;_b61=undefined;}}_b5c[0]=_b63.reverse().join(_b58.group||",");return _b5c.join(_b58.decimal||".");};_b3d.regexp=function(_b65){return _b3d._parseInfo(_b65).regexp;};_b3d._parseInfo=function(_b66){_b66=_b66||{};var _b67=i18n.normalizeLocale(_b66.locale),_b68=i18n.getLocalization("dojo.cldr","number",_b67),_b69=_b66.pattern||_b68[(_b66.type||"decimal")+"Format"],_b6a=_b68.group,_b6b=_b68.decimal,_b6c=1;if(_b69.indexOf("%")!=-1){_b6c/=100;}else{if(_b69.indexOf("‰")!=-1){_b6c/=1000;}else{var _b6d=_b69.indexOf("¤")!=-1;if(_b6d){_b6a=_b68.currencyGroup||_b6a;_b6b=_b68.currencyDecimal||_b6b;}}}var _b6e=_b69.split(";");if(_b6e.length==1){_b6e.push("-"+_b6e[0]);}var re=_b3c.buildGroupRE(_b6e,function(_b6f){_b6f="(?:"+_b3c.escapeString(_b6f,".")+")";return _b6f.replace(_b3d._numberPatternRE,function(_b70){var _b71={signed:false,separator:_b66.strict?_b6a:[_b6a,""],fractional:_b66.fractional,decimal:_b6b,exponent:false},_b72=_b70.split("."),_b73=_b66.places;if(_b72.length==1&&_b6c!=1){_b72[1]="###";}if(_b72.length==1||_b73===0){_b71.fractional=false;}else{if(_b73===undefined){_b73=_b66.pattern?_b72[1].lastIndexOf("0")+1:Infinity;}if(_b73&&_b66.fractional==undefined){_b71.fractional=true;}if(!_b66.places&&(_b73<_b72[1].length)){_b73+=","+_b72[1].length;}_b71.places=_b73;}var _b74=_b72[0].split(",");if(_b74.length>1){_b71.groupSize=_b74.pop().length;if(_b74.length>1){_b71.groupSize2=_b74.pop().length;}}return "("+_b3d._realNumberRegexp(_b71)+")";});},true);if(_b6d){re=re.replace(/([\s\xa0\u202f]*)(\u00a4{1,3})([\s\xa0\u202f]*)/g,function(_b75,_b76,_b77,_b78){var prop=["symbol","currency","displayName"][_b77.length-1],_b79=_b3c.escapeString(_b66[prop]||_b66.currency||"");if(!_b79){return "";}_b76=_b76?"[\\s\\xa0\\u202f]":"";_b78=_b78?"[\\s\\xa0\\u202f]":"";if(!_b66.strict){if(_b76){_b76+="*";}if(_b78){_b78+="*";}return "(?:"+_b76+_b79+_b78+")?";}return _b76+_b79+_b78;});}return {regexp:re.replace(/[\xa0\u202f ]/g,"[\\s\\xa0\\u202f]"),group:_b6a,decimal:_b6b,factor:_b6c};};_b3d.parse=function(_b7a,_b7b){var info=_b3d._parseInfo(_b7b),_b7c=(new RegExp("^"+info.regexp+"$")).exec(_b7a);if(!_b7c){return NaN;}var _b7d=_b7c[1];if(!_b7c[1]){if(!_b7c[2]){return NaN;}_b7d=_b7c[2];info.factor*=-1;}_b7d=_b7d.replace(new RegExp("["+info.group+"\\s\\xa0\\u202f"+"]","g"),"").replace(info.decimal,".");return _b7d*info.factor;};_b3d._realNumberRegexp=function(_b7e){_b7e=_b7e||{};if(!("places" in _b7e)){_b7e.places=Infinity;}if(typeof _b7e.decimal!="string"){_b7e.decimal=".";}if(!("fractional" in _b7e)||/^0/.test(_b7e.places)){_b7e.fractional=[true,false];}if(!("exponent" in _b7e)){_b7e.exponent=[true,false];}if(!("eSigned" in _b7e)){_b7e.eSigned=[true,false];}var _b7f=_b3d._integerRegexp(_b7e),_b80=_b3c.buildGroupRE(_b7e.fractional,function(q){var re="";if(q&&(_b7e.places!==0)){re="\\"+_b7e.decimal;if(_b7e.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_b7e.places+"}";}}return re;},true);var _b81=_b3c.buildGroupRE(_b7e.exponent,function(q){if(q){return "([eE]"+_b3d._integerRegexp({signed:_b7e.eSigned})+")";}return "";});var _b82=_b7f+_b80;if(_b80){_b82="(?:(?:"+_b82+")|(?:"+_b80+"))";}return _b82+_b81;};_b3d._integerRegexp=function(_b83){_b83=_b83||{};if(!("signed" in _b83)){_b83.signed=[true,false];}if(!("separator" in _b83)){_b83.separator="";}else{if(!("groupSize" in _b83)){_b83.groupSize=3;}}var _b84=_b3c.buildGroupRE(_b83.signed,function(q){return q?"[-+]":"";},true);var _b85=_b3c.buildGroupRE(_b83.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_b3c.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}else{if(sep==" "){sep="\\s\\u202f";}}}var grp=_b83.groupSize,grp2=_b83.groupSize2;if(grp2){var _b86="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_b86+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_b86;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _b84+_b85;};return _b3d;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_b87,_b88,has,keys,_b89,_b8a,_b8b,_b8c){if(has("dijit-legacy-requires")){_b89(0,function(){var _b8d=["dijit/ToolbarSeparator"];_b87(_b8d);});}return _b88("dijit.Toolbar",[_b8a,_b8c,_b8b],{templateString:""+"
",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"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(_b8e,_b8f,has,keys,lang,on,_b90,_b91,_b92,_b93,_b94,_b95,_b96){var _b97=_b8e("dijit.TooltipDialog",[_b91,_b94,_b93,_b92],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_b95,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_b98,_b99){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"}[_b98+"-"+_b99];_b8f.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_b90.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _b9a=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_b9a.y+((_b9a.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=_b9a.x+((_b9a.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){_b90.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_b90.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_b97.extend({_setTitleAttr:function(_b9b){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_b9b):_b9b;this._set("title",_b9b);},_setTextDirAttr:function(_b9c){if(!this._created||this.textDir!=_b9c){this._set("textDir",_b9c);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _b97;});},"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(_b9d,_b9e,_b9f,_ba0,_ba1,all,dom,_ba2,_ba3,_ba4,_ba5,_ba6,has,_ba7,keys,lang,on,_ba8,_ba9,when,_baa,_bab,_bac,_bad,_bae,_baf,_bb0,_bb1,_bb2,_bb3,_bb4,_bb5,_bb6,_bb7,_bb8){function _bb9(d){return lang.delegate(d.promise||d,{addCallback:function(_bba){this.then(_bba);},addErrback:function(_bbb){this.otherwise(_bbb);}});};var _bbc=_ba0("dijit._TreeNode",[_bae,_baf,_bb0,_bb1,_bb2],{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:_bb4,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(_bbd){var _bbe=(Math.max(_bbd,0)*this.tree._nodePixelIndent)+"px";_ba4.set(this.domNode,"backgroundPosition",_bbe+" 0px");_ba4.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_bbe);_b9d.forEach(this.getChildren(),function(_bbf){_bbf.set("indent",_bbd+1);});this._set("indent",_bbd);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_bc0=tree.model;if(tree._v10Compat&&item===_bc0.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,_bc1,_bc2){var _bc3="_"+_bc1+"Class";var _bc4=_bc1+"Node";var _bc5=this[_bc3];this[_bc3]=this.tree["get"+_bc2+"Class"](item,this.isExpanded);_ba2.replace(this[_bc4],this[_bc3]||"",_bc5||"");_ba4.set(this[_bc4],this.tree["get"+_bc2+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _bc6=this.getParent(),_bc7=!_bc6||!_bc6.rowNode||_bc6.rowNode.style.display=="none";_ba2.toggle(this.domNode,"dijitTreeIsRoot",_bc7);_ba2.toggle(this.domNode,"dijitTreeIsLast",!_bc7&&!this.getNextSibling());},_setExpando:function(_bc8){var _bc9=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_bca=["*","-","+","*"],idx=_bc8?0:(this.isExpandable?(this.isExpanded?1:2):3);_ba2.replace(this.expandoNode,_bc9[idx],_bc9);this.expandoNodeText.innerHTML=_bca[idx];},expand:function(){if(this._expandDeferred){return _bb9(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");}_ba2.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 _bcb=_ba6.wipeIn({node:this.containerNode,duration:_bad.defaultDuration});var def=(this._expandDeferred=new _ba1(function(){_bcb.stop();}));_b9e.after(_bcb,"onEnd",function(){def.resolve(true);},true);_bcb.play();return _bb9(def);},collapse:function(){if(this._collapseDeferred){return _bb9(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");}_ba2.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _bcc=_ba6.wipeOut({node:this.containerNode,duration:_bad.defaultDuration});var def=(this._collapseDeferred=new _ba1(function(){_bcc.stop();}));_b9e.after(_bcc,"onEnd",function(){def.resolve(true);},true);_bcc.play();return _bb9(def);},indent:0,setChildItems:function(_bcd){var tree=this.tree,_bce=tree.model,defs=[];var _bcf=tree.focusedChild;var _bd0=this.getChildren();_b9d.forEach(_bd0,function(_bd1){_bb0.prototype.removeChild.call(this,_bd1);},this);this.defer(function(){_b9d.forEach(_bd0,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);function _bd2(node){var id=_bce.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _bd3=_b9d.indexOf(ary,node);if(_bd3!=-1){ary.splice(_bd3,1);}}_b9d.forEach(node.getChildren(),_bd2);};_bd2(node);if(tree.persist){var _bd4=_b9d.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_bd4.length)==_bd4){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}if(tree.lastFocusedChild&&!dom.isDescendant(tree.lastFocusedChild.domNode,tree.domNode)){delete tree.lastFocusedChild;}if(_bcf&&!dom.isDescendant(_bcf.domNode,tree.domNode)){tree.focus();}node.destroyRecursive();}});});this.state="Loaded";if(_bcd&&_bcd.length>0){this.isExpandable=true;_b9d.forEach(_bcd,function(item){var id=_bce.getIdentity(item),_bd5=tree._itemNodesMap[id],node;if(_bd5){for(var i=0;i<_bd5.length;i++){if(_bd5[i]&&!_bd5[i].getParent()){node=_bd5[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_bce.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(_bd5){_bd5.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_b9d.forEach(this.getChildren(),function(_bd6){_bd6._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _bb9(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 _bd7=this.getChildren();if(_bd7.length==0){this.isExpandable=false;this.collapse();}_b9d.forEach(_bd7,function(_bd8){_bd8._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_bd9){this.labelNode.setAttribute("aria-selected",_bd9?"true":"false");_ba2.toggle(this.rowNode,"dijitTreeRowSelected",_bd9);},focus:function(){_bab.focus(this.focusNode);}});if(has("dojo-bidi")){_bbc.extend({_setTextDirAttr:function(_bda){if(_bda&&((this.textDir!=_bda)||!this._created)){this._set("textDir",_bda);this.applyTextDir(this.labelNode);_b9d.forEach(this.getChildren(),function(_bdb){_bdb.set("textDir",_bda);},this);}}});}var Tree=_ba0("dijit.Tree",[_bae,_bb3,_baf,_bb2],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_bb5,persist:false,autoExpand:false,dndController:_bb8,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(_bdc,_bdd){_ba8.publish(this.id,lang.mixin({tree:this,event:_bdc},_bdd||{}));},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 _ba1();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_ba9.enter),function(evt){self._onNodeMouseEnter(_bac.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_ba9.leave),function(evt){self._onNodeMouseLeave(_bac.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_baa.press),function(evt){self._onNodePress(_bac.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_baa),function(evt){self._onClick(_bac.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_bac.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_b9e.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_b9e.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_b9e.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 _bde={};for(var i=0;ithis.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _bbc(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_c1b){if(_c1b&&this.textDir!=_c1b){this._set("textDir",_c1b);this.rootNode.set("textDir",_c1b);}}});}Tree.PathError=_ba5("TreePathError");Tree._TreeNode=_bbc;return Tree;});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_c1c,_c1d,_c1e,lang){return _c1e("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(args){lang.mixin(this,args);this.connects=[];var _c1f=this.store;if(!_c1f.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_c1f.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_c1d.after(_c1f,"onNew",lang.hitch(this,"onNewItem"),true),_c1d.after(_c1f,"onDelete",lang.hitch(this,"onDeleteItem"),true),_c1d.after(_c1f,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_c20,_c21){if(this.root){_c20(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_c22){if(_c22.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_c22.length+" items, but must return exactly one");}this.root=_c22[0];_c20(this.root);}),onError:_c21});}},mayHaveChildren:function(item){return _c1c.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_c23,_c24,_c25){var _c26=this.store;if(!_c26.isItemLoaded(_c23)){var _c27=lang.hitch(this,arguments.callee);_c26.loadItem({item:_c23,onItem:function(_c28){_c27(_c28,_c24,_c25);},onError:_c25});return;}var _c29=[];for(var i=0;i0){if(!this.targetBox||_c87!=_c88){this.targetBox=_c7d.position(_c88.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_c8a="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_c8a="After";}}}if(_c86||_c88!=_c87||_c8a!=_c89){if(_c87){this._removeItemClass(_c87.rowNode,_c89);}if(_c88){this._addItemClass(_c88.rowNode,_c8a);}if(!_c88){m.canDrop(false);}else{if(_c88==this.tree.rootNode&&_c8a!="Over"){m.canDrop(false);}else{var _c8b=false,_c8c=false;if(m.source==this){_c8c=(_c8a==="Over");for(var _c8d in this.selection){var _c8e=this.selection[_c8d];if(_c8e.item===_c88.item){_c8b=true;break;}if(_c8e.getParent().id!==_c88.id){_c8c=false;}}}m.canDrop(!_c8b&&!_c8c&&!this._isParentChildDrop(m.source,_c88.rowNode)&&this.checkItemAcceptance(_c88.rowNode,m.source,_c8a.toLowerCase()));}}this.targetAnchor=_c88;this.dropPosition=_c8a;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_c81.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 _c8f=this.getSelectedTreeNodes();if(_c8f.length){if(_c8f.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_c8f[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_c8f=r;}_c8f=_c79.map(_c8f,function(n){return n.domNode;});m.startDrag(this,_c8f,this.copyState(_c7b.getCopyKeyState(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){if(e.type=="touchstart"||_c7e.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(_c90){if(this!=_c90){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_c81.manager();m.canDrop(false);}}},onDndStart:function(_c91,_c92,copy){if(this.isSource){this._changeState("Source",this==_c91?(copy?"Copied":"Moved"):"");}var _c93=this.checkAcceptance(_c91,_c92);this._changeState("Target",_c93?"":"Disabled");if(this==_c91){_c81.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_c94){return _c79.map(_c94,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_c95,_c96,copy){if(this.containerState=="Over"){var tree=this.tree,_c97=tree.model,_c98=this.targetAnchor,_c99=false;this.isDragging=false;var _c9a;var _c9b;var _c9c;_c9a=(_c98&&_c98.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_c9a=(_c98.getParent()&&_c98.getParent().item)||tree.item;_c9b=_c98.getIndexInParent();if(this.dropPosition=="After"){_c9b=_c98.getIndexInParent()+1;_c9c=_c98.getNextSibling()&&_c98.getNextSibling().item;}else{_c9c=_c98.item;}}else{_c9a=(_c98&&_c98.item)||tree.item;_c99=true;}var _c9d;_c79.forEach(_c96,function(node,idx){var _c9e=_c95.getItem(node.id);if(_c79.indexOf(_c9e.type,"treeNode")!=-1){var _c9f=_c9e.data,_ca0=_c9f.item,_ca1=_c9f.getParent().item;}if(_c95==this){if(typeof _c9b=="number"){if(_c9a==_ca1&&_c9f.getIndexInParent()<_c9b){_c9b-=1;}}_c97.pasteItem(_ca0,_ca1,_c9a,copy,_c9b,_c9c);}else{if(_c97.isItem(_ca0)){_c97.pasteItem(_ca0,_ca1,_c9a,copy,_c9b,_c9c);}else{if(!_c9d){_c9d=this.itemCreator(_c96,_c98.rowNode,_c95);}_c97.newItem(_c9d[idx],_c9a,_c9b,_c9c);}}},this);if(_c99){this.tree._expandNode(_c98);}}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);_c81.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_c81.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_ca2,_ca3){if(!_ca2.tree||_ca2.tree!=this.tree){return false;}var root=_ca2.tree.domNode;var ids=_ca2.selection;var node=_ca3.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 _c83;});},"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(_ca4,_ca5,lang,win,_ca6,_ca7,has,keys,on,_ca8,_ca9,dnd,_caa,_cab){var _cac=_ca5("dojo.dnd.Manager",[_ca7],{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(_cad){if(this.avatar){this.target=(_cad&&_cad.targetState!="Disabled")?_cad:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_ca8.publish("/dnd/source/over",_cad);},outSource:function(_cae){if(this.avatar){if(this.target==_cae){this.target=null;this.canDropFlag=false;this.avatar.update();_ca8.publish("/dnd/source/over",null);}}else{_ca8.publish("/dnd/source/over",null);}},startDrag:function(_caf,_cb0,copy){_caa.autoScrollStart(win.doc);this.source=_caf;this.nodes=_cb0;this.copy=Boolean(copy);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_ca8.publish("/dnd/start",_caf,_cb0,this.copy);function _cb1(e){e.preventDefault();e.stopPropagation();};this.events=[on(win.doc,_ca9.move,lang.hitch(this,"onMouseMove")),on(win.doc,_ca9.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",_cb1),on(win.body(),"selectstart",_cb1)];var c="dojoDnd"+(copy?"Copy":"Move");_ca6.add(win.body(),c);},canDrop:function(flag){var _cb2=Boolean(this.target&&flag);if(this.canDropFlag!=_cb2){this.canDropFlag=_cb2;this.avatar.update();}},stopDrag:function(){_ca6.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_ca4.forEach(this.events,function(_cb3){_cb3.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _cab(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_caa.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)));_ca8.publish("/dnd/drop/before",this.source,this.nodes,copy,this.target,e);_ca8.publish("/dnd/drop",this.source,this.nodes,copy,this.target,e);}else{_ca8.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:_ca8.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();_ca6.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_cac.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _cac();}return dnd._manager;};return _cac;});},"dojo/dnd/Avatar":function(){define(["../_base/declare","../_base/window","../dom","../dom-attr","../dom-class","../dom-construct","../hccss","../query"],function(_cb4,win,dom,_cb5,_cb6,_cb7,has,_cb8){return _cb4("dojo.dnd.Avatar",null,{constructor:function(_cb9){this.manager=_cb9;this.construct();},construct:function(){var a=_cb7.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_cba=this.manager.source,node,b=_cb7.create("tbody",null,a),tr=_cb7.create("tr",null,b),td=_cb7.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_cb7.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_cb7.create("span",{innerHTML:_cba.generateText?this._generateText():""},td);_cb5.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i\n\t\n\n","url:dijit/templates/MenuSeparator.html":"\n","url:dijit/form/templates/Select.html":"
\n","*now":function(r){r(["dojo/i18n!*preload*dojo/nls/tt-rss-layer*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dojo/tt-rss-layer",[],1);