From: Andrew Dolgov Date: Mon, 18 Mar 2013 06:37:03 +0000 (+0400) Subject: dojo: add some more controls to the layer X-Git-Tag: 1.7.5~140 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e10856876067b5cfa40791a3b340a605ea4201c7;p=tt-rss.git dojo: add some more controls to the layer --- diff --git a/lib/dojo-src/tt-rss.profile.js b/lib/dojo-src/tt-rss.profile.js index 32fe5378..1c1e2351 100644 --- a/lib/dojo-src/tt-rss.profile.js +++ b/lib/dojo-src/tt-rss.profile.js @@ -30,6 +30,7 @@ dependencies = { "dijit.Dialog", "dijit.form.Button", "dijit.form.CheckBox", + "dijit.form.ComboButton", "dijit.form.DropDownButton", "dijit.form.FilteringSelect", "dijit.form.Form", @@ -38,8 +39,13 @@ dependencies = { "dijit.form.SimpleTextarea", "dijit.form.TextBox", "dijit.form.ValidationTextBox", + "dijit.Viewport", "dijit.InlineEditBox", + "dijit.ToolbarSeparator", + "dijit.PopupMenuItem", + "dijit.CheckedMenuItem", "dijit.layout.AccordionContainer", + "dijit.layout.AccordionPane", "dijit.layout.BorderContainer", "dijit.layout.ContentPane", "dijit.layout.TabContainer", @@ -47,6 +53,7 @@ dependencies = { "dijit.ProgressBar", "dijit.ProgressBar", "dijit.Toolbar", + "dijit.TooltipDialog", "dijit.Tree", "dijit.tree.dndSource", ] diff --git a/lib/dojo/tt-rss-layer.js b/lib/dojo/tt-rss-layer.js index 55ee99db..5b54ca25 100644 --- a/lib/dojo/tt-rss-layer.js +++ b/lib/dojo/tt-rss-layer.js @@ -12,4 +12,4 @@ */ //>>built -require({cache:{"dijit/form/TextBox":function(){require({cache:{"url:dijit/form/templates/TextBox.html":"
\n"}});define("dijit/form/TextBox",["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a){var _b=_1("dijit.form.TextBox",[_7,_8],{templateString:_9,_singleNodeTemplate:"",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _c=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_c=="hidden"||_c=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(_6("ie")<9){this.defer(function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _d=this.domNode.getElementsByTagName("INPUT");if(_d){for(var i=0;i<_d.length;i++){_d[i].style.fontFamily=ff;}}}}}catch(e){}});}},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){this.defer(function(){this._handleOnChange(this.get("value"),false);});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{onmousedown:function(e){e.preventDefault();},className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_e,_f,_10){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(_11){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_11);},_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")){_b.prototype._isTextSelected=function(){var _12=this.ownerDocument.selection.createRange();var _13=_12.parentElement();return _13==this.textbox&&_12.text.length>0;};_a._setSelectionRange=_8._setSelectionRange=function(_14,_15,_16){if(_14.createTextRange){var r=_14.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_15);r.moveEnd("character",_16-_15);r.select();}};}return _b;});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window","../main"],function(_17,_18){_18.scrollIntoView=function(_19,pos){_17.scrollIntoView(_19,pos);};});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/sniff","dojo/_base/unload"],function(_1a,_1b,_1c,_1d,_1e,_1f,_20,_21,has,_22){var _23=_20("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(_24){var _25=this.declaredClass,_26=this;return _1d.substitute(_24,this,function(_27,key){if(key.charAt(0)=="!"){_27=_1a.getObject(key.substr(1),false,_26);}if(typeof _27=="undefined"){throw new Error(_25+" template:"+key);}if(_27==null){return "";}return key.charAt(0)=="!"?_27:_27.toString().replace(/"/g,""");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_1e(this.templatePath,{sanitize:true});}var _28=_23.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var _29;if(_1a.isString(_28)){_29=_21.toDom(this._stringRepl(_28),this.ownerDocument);if(_29.nodeType!=1){throw new Error("Invalid template: "+_28);}}else{_29=_28.cloneNode(true);}this.domNode=_29;this.inherited(arguments);this._attachTemplateNodes(_29,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_2a){var _2b=this.containerNode;if(_2a&&_2b){while(_2a.hasChildNodes()){_2b.appendChild(_2a.firstChild);}}},_attachTemplateNodes:function(_2c,_2d){var _2e=_1a.isArray(_2c)?_2c:(_2c.all||_2c.getElementsByTagName("*"));var x=_1a.isArray(_2c)?0:-1;for(;x<0||_2e[x];x++){var _2f=(x==-1)?_2c:_2e[x];if(this.widgetsInTemplate&&(_2d(_2f,"dojoType")||_2d(_2f,"data-dojo-type"))){continue;}var _30=_2d(_2f,"dojoAttachPoint")||_2d(_2f,"data-dojo-attach-point");if(_30){var _31,_32=_30.split(/\s*,\s*/);while((_31=_32.shift())){if(_1a.isArray(this[_31])){this[_31].push(_2f);}else{this[_31]=_2f;}this._attachPoints.push(_31);}}var _33=_2d(_2f,"dojoAttachEvent")||_2d(_2f,"data-dojo-attach-event");if(_33){var _34,_35=_33.split(/\s*,\s*/);var _36=_1a.trim;while((_34=_35.shift())){if(_34){var _37=null;if(_34.indexOf(":")!=-1){var _38=_34.split(":");_34=_36(_38[0]);_37=_36(_38[1]);}else{_34=_36(_34);}if(!_37){_37=_34;}this._attachEvents.push(this.connect(_2f,_1b[_34]||_34,_37));}}}}},destroyRendering:function(){_1f.forEach(this._attachPoints,function(_39){delete this[_39];},this);this._attachPoints=[];_1f.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_23._templateCache={};_23.getCachedTemplate=function(_3a,_3b,doc){var _3c=_23._templateCache;var key=_3a;var _3d=_3c[key];if(_3d){try{if(!_3d.ownerDocument||_3d.ownerDocument==(doc||document)){return _3d;}}catch(e){}_21.destroy(_3d);}_3a=_1d.trim(_3a);if(_3b||_3a.match(/\$\{([^\}]+)\}/g)){return (_3c[key]=_3a);}else{var _3e=_21.toDom(_3a,doc);if(_3e.nodeType!=1){throw new Error("Invalid template: "+_3a);}return (_3c[key]=_3e);}};if(has("ie")){_22.addOnWindowUnload(function(){var _3f=_23._templateCache;for(var key in _3f){var _40=_3f[key];if(typeof _40=="object"){_21.destroy(_40);}delete _3f[key];}});}_1a.extend(_1c,{dojoAttachEvent:"",dojoAttachPoint:""});return _23;});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/window","./registry"],function(_41,_42,dom,_43,has,_44,on,_45,win,_46){var _47=_42("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_41.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(_48){this.watch(_48,_44.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(_49){if(!this.disabled){switch(_49.type){case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":this._set("active",true);break;case "mouseup":case "touchend":this._set("active",false);break;}}},_setStateClass:function(){var _4a=this.baseClass.split(" ");function _4b(_4c){_4a=_4a.concat(_41.map(_4a,function(c){return c+_4c;}),"dijit"+_4c);};if(!this.isLeftToRight()){_4b("Rtl");}var _4d=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_4b(_4d);}if(this.state){_4b(this.state);}if(this.selected){_4b("Selected");}if(this._opened){_4b("Opened");}if(this.disabled){_4b("Disabled");}else{if(this.readOnly){_4b("ReadOnly");}else{if(this.active){_4b("Active");}else{if(this.hovering){_4b("Hover");}}}}if(this.focused){_4b("Focused");}var tn=this.stateNode||this.domNode,_4e={};_41.forEach(tn.className.split(" "),function(c){_4e[c]=true;});if("_stateClasses" in this){_41.forEach(this._stateClasses,function(c){delete _4e[c];});}_41.forEach(_4a,function(c){_4e[c]=true;});var _4f=[];for(var c in _4e){_4f.push(c);}tn.className=_4f.join(" ");this._stateClasses=_4a;},_subnodeCssMouseEvent:function(_50,_51,evt){if(this.disabled||this.readOnly){return;}function _52(_53){_43.toggle(_50,_51+"Hover",_53);};function _54(_55){_43.toggle(_50,_51+"Active",_55);};function _56(_57){_43.toggle(_50,_51+"Focused",_57);};switch(evt.type){case "mouseover":_52(true);break;case "mouseout":_52(false);_54(false);break;case "mousedown":case "touchstart":_54(true);break;case "mouseup":case "touchend":_54(false);break;case "focus":case "focusin":_56(true);break;case "blur":case "focusout":_56(false);break;}},_trackMouseState:function(_58,_59){_58._cssState=_59;}});_45(function(){function _5a(evt){if(!dom.isDescendant(evt.relatedTarget,evt.target)){for(var _5b=evt.target;_5b&&_5b!=evt.relatedTarget;_5b=_5b.parentNode){if(_5b._cssState){var _5c=_46.getEnclosingWidget(_5b);if(_5c){if(_5b==_5c.domNode){_5c._cssMouseEvent(evt);}else{_5c._subnodeCssMouseEvent(_5b,_5b._cssState,evt);}}}}}};function _5d(evt){evt.target=evt.srcElement;_5a(evt);};var _5e=win.body(),_5f=(has("touch")?[]:["mouseover","mouseout"]).concat(["mousedown","touchstart","mouseup","touchend"]);_41.forEach(_5f,function(_60){if(_5e.addEventListener){_5e.addEventListener(_60,_5a,true);}else{_5e.attachEvent("on"+_60,_5d);}});on(_5e,"focusin, focusout",function(evt){var _61=evt.target;if(_61._cssState&&!_61.getAttribute("widgetId")){var _62=_46.getEnclosingWidget(_61);_62._subnodeCssMouseEvent(_61,_61._cssState,evt);}});});return _47;});},"dijit/layout/ScrollingTabController":function(){require({cache:{"url:dijit/layout/templates/ScrollingTabController.html":"
\n\t
\n\t
\n\t
\n\t
\n\t\t
\n\t
\n
","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"
\n\t\"\"\n\t\n
"}});define("dijit/layout/ScrollingTabController",["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"],function(_63,_64,_65,_66,_67,fx,_68,on,_69,has,_6a,_6b,_6c,_6d,_6e,_6f,_70,_71,_72,_73){var _74=_64("dijit.layout.ScrollingTabController",[_6d,_6f],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_6b,useMenu:true,useSlider:true,tabStripClass:"",widgetsInTemplate:true,_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";_65.add(n,"tabStrip-disabled");}_65.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_67.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",_68.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(_75,_76){this.inherited(arguments);_67.set(this.containerNode,"width",(_67.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_77,_78){var _79=this.pane2button[_77.id];if(this._selectedTab===_79.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_69("> .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+=_66.getMarginSize(btn).w;return true;}else{_67.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _7a=this.getChildren();if(_7a.length){var _7b=_7a[this.isLeftToRight()?0:_7a.length-1].domNode,_7c=_7a[this.isLeftToRight()?_7a.length-1:0].domNode;return _7c.offsetLeft+_7c.offsetWidth-_7b.offsetLeft;}else{return 0;}},_enableBtn:function(_7d){var _7e=this._getTabsWidth();_7d=_7d||_67.get(this.scrollNode,"width");return _7e>0&&_7d<_7e;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_6e.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_66.setContentSize(this.domNode,cb);var _7f=this._enableBtn(this._contentBox.w);this._buttons.style("display",_7f?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_6e.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,layoutAlign:"client"}]);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("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_67.get(this.containerNode,"width")-_67.get(this.scrollNode,"width")+(has("ie")>=8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _80=_67.get(this.containerNode,"width")-_67.get(this.scrollNode,"width");return (has("ie")>=8?-1:1)*(val-_80);}},onSelectChild:function(_81){var tab=this.pane2button[_81.id];if(!tab||!_81){return;}var _82=tab.domNode;if(_82!=this._selectedTab){this._selectedTab=_82;if(this._postResize){var sl=this._getScroll();if(sl>_82.offsetLeft||sl+_67.get(this.scrollNode,"width")<_82.offsetLeft+_67.get(_82,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _83=this.getChildren(),_84=_67.get(this.scrollNode,"width"),_85=_67.get(this.containerNode,"width"),_86=_85-_84,_87=this._getTabsWidth();if(_83.length&&_87>_84){return {min:this.isLeftToRight()?0:_83[_83.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_83[_83.length-1].domNode.offsetLeft+_83[_83.length-1].domNode.offsetWidth)-_84:_86};}else{var _88=this.isLeftToRight()?0:_86;return {min:_88,max:_88};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_89=_67.get(this.scrollNode,"width"),_8a=this._getScrollBounds();var pos=(n.offsetLeft+_67.get(n,"width")/2)-_89/2;pos=Math.min(Math.max(pos,_8a.min),_8a.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _8b=this._getScrollBounds();x=Math.min(Math.max(x,_8b.min),_8b.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _8c=this,w=this.scrollNode,_8d=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _8e=w.scrollLeft,_8f=_8c._convertToScrollLeft(x);_8d.curve=new fx._Line(_8e,_8f);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_8d;this._setButtonClass(x);return _8d;},_getBtnNode:function(e){var n=e.target;while(n&&!_65.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(_90,_91){if(_91&&_65.contains(_91,"dijitTabDisabled")){return;}var _92=_67.get(this.scrollNode,"width");var d=(_92*0.75)*_90;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_93){var _94=this._getScrollBounds();this._leftBtn.set("disabled",_93<=_94.min);this._rightBtn.set("disabled",_93>=_94.max);}});var _95=_64("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_6c,tabIndex:"",isFocusable:function(){return false;}});_64("dijit.layout._ScrollingTabControllerButton",[_72,_95]);_64("dijit.layout._ScrollingTabControllerMenuButton",[_72,_73,_95],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_96){this.dropDown=new _70({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _97=_6a.byId(this.containerId);_63.forEach(_97.getChildren(),function(_98){var _99=new _71({id:_98.id+"_stcMi",label:_98.title,iconClass:_98.iconClass,disabled:_98.disabled,ownerDocument:this.ownerDocument,dir:_98.dir,lang:_98.lang,textDir:_98.textDir,onClick:function(){_97.selectChild(_98);}});this.dropDown.addChild(_99);},this);_96();},closeDropDown:function(_9a){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});return _74;});},"dijit/DialogUnderlay":function(){define("dijit/DialogUnderlay",["dojo/_base/declare","dojo/dom-attr","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_9b,_9c,_9d,_9e,_9f,_a0){return _9b("dijit.DialogUnderlay",[_9e,_9f],{templateString:"
",dialogId:"","class":"",_setDialogIdAttr:function(id){_9c.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_a1){this.node.className="dijitDialogUnderlay "+_a1;this._set("class",_a1);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _a2=_9d.getBox(this.ownerDocument);os.top=_a2.t+"px";os.left=_a2.l+"px";is.width=_a2.w+"px";is.height=_a2.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _a0(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","./main"],function(_a3,_a4,_a5,_a6,win,_a7,_a8){function _a9(_aa,_ab,_ac,_ad){var _ae=_a7.getBox(_aa.ownerDocument);if(!_aa.parentNode||String(_aa.parentNode.tagName).toLowerCase()!="body"){win.body(_aa.ownerDocument).appendChild(_aa);}var _af=null;_a3.some(_ab,function(_b0){var _b1=_b0.corner;var pos=_b0.pos;var _b2=0;var _b3={w:{"L":_ae.l+_ae.w-pos.x,"R":pos.x-_ae.l,"M":_ae.w}[_b1.charAt(1)],h:{"T":_ae.t+_ae.h-pos.y,"B":pos.y-_ae.t,"M":_ae.h}[_b1.charAt(0)]};var s=_aa.style;s.left=s.right="auto";if(_ac){var res=_ac(_aa,_b0.aroundCorner,_b1,_b3,_ad);_b2=typeof res=="undefined"?0:res;}var _b4=_aa.style;var _b5=_b4.display;var _b6=_b4.visibility;if(_b4.display=="none"){_b4.visibility="hidden";_b4.display="";}var bb=_a4.position(_aa);_b4.display=_b5;_b4.visibility=_b6;var _b7={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(_ae.l,Math.min(_ae.l+_ae.w,pos.x+(bb.w>>1))-bb.w)}[_b1.charAt(1)],_b8={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(_ae.t,Math.min(_ae.t+_ae.h,pos.y+(bb.h>>1))-bb.h)}[_b1.charAt(0)],_b9=Math.max(_ae.l,_b7),_ba=Math.max(_ae.t,_b8),_bb=Math.min(_ae.l+_ae.w,_b7+bb.w),_bc=Math.min(_ae.t+_ae.h,_b8+bb.h),_bd=_bb-_b9,_be=_bc-_ba;_b2+=(bb.w-_bd)+(bb.h-_be);if(_af==null||_b2<_af.overflow){_af={corner:_b1,aroundCorner:_b0.aroundCorner,x:_b9,y:_ba,w:_bd,h:_be,overflow:_b2,spaceAvailable:_b3};}return !_b2;});if(_af.overflow&&_ac){_ac(_aa,_af.aroundCorner,_af.corner,_af.spaceAvailable,_ad);}var l=_a4.isBodyLtr(_aa.ownerDocument),s=_aa.style;s.top=_af.y+"px";s[l?"left":"right"]=(l?_af.x:_ae.w-_af.x-_af.w)+"px";s[l?"right":"left"]="auto";return _af;};var _bf={at:function(_c0,pos,_c1,_c2){var _c3=_a3.map(_c1,function(_c4){var c={corner:_c4,pos:{x:pos.x,y:pos.y}};if(_c2){c.pos.x+=_c4.charAt(1)=="L"?_c2.x:-_c2.x;c.pos.y+=_c4.charAt(0)=="T"?_c2.y:-_c2.y;}return c;});return _a9(_c0,_c3);},around:function(_c5,_c6,_c7,_c8,_c9){var _ca=(typeof _c6=="string"||"offsetWidth" in _c6)?_a4.position(_c6,true):_c6;if(_c6.parentNode){var _cb=_a5.getComputedStyle(_c6).position=="absolute";var _cc=_c6.parentNode;while(_cc&&_cc.nodeType==1&&_cc.nodeName!="BODY"){var _cd=_a4.position(_cc,true),pcs=_a5.getComputedStyle(_cc);if(/relative|absolute/.test(pcs.position)){_cb=false;}if(!_cb&&/hidden|auto|scroll/.test(pcs.overflow)){var _ce=Math.min(_ca.y+_ca.h,_cd.y+_cd.h);var _cf=Math.min(_ca.x+_ca.w,_cd.x+_cd.w);_ca.x=Math.max(_ca.x,_cd.x);_ca.y=Math.max(_ca.y,_cd.y);_ca.h=_ce-_ca.y;_ca.w=_cf-_ca.x;}if(pcs.position=="absolute"){_cb=true;}_cc=_cc.parentNode;}}var x=_ca.x,y=_ca.y,_d0="w" in _ca?_ca.w:(_ca.w=_ca.width),_d1="h" in _ca?_ca.h:(_a6.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_ca.height+", width:"+_d0+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_ca.height+", w:"+_d0+" }","","2.0"),_ca.h=_ca.height);var _d2=[];function _d3(_d4,_d5){_d2.push({aroundCorner:_d4,corner:_d5,pos:{x:{"L":x,"R":x+_d0,"M":x+(_d0>>1)}[_d4.charAt(1)],y:{"T":y,"B":y+_d1,"M":y+(_d1>>1)}[_d4.charAt(0)]}});};_a3.forEach(_c7,function(pos){var ltr=_c8;switch(pos){case "above-centered":_d3("TM","BM");break;case "below-centered":_d3("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":_d3(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":_d3(ltr?"TL":"TR",ltr?"TR":"TL");_d3(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":_d3(ltr?"BL":"BR",ltr?"TL":"TR");_d3(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":_d3(ltr?"TL":"TR",ltr?"BL":"BR");_d3(ltr?"TR":"TL",ltr?"BR":"BL");break;default:_d3(pos.aroundCorner,pos.corner);}});var _d6=_a9(_c5,_d2,_c9,{w:_d0,h:_d1});_d6.aroundNodePos=_ca;return _d6;}};return _a8.place=_bf;});},"dijit/_HasDropDown":function(){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/window","./registry","./focus","./popup","./_FocusMixin"],function(_d7,_d8,_d9,dom,_da,_db,_dc,_dd,has,_de,_df,on,_e0,_e1,_e2,_e3,_e4){return _d7("dijit._HasDropDown",_e4,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}e.preventDefault();this._docHandler=this.connect(this.ownerDocument,"mouseup","_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _e5=this.dropDown,_e6=false;if(e&&this._opened){var c=_dc.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&&!_e6){if(_db.contains(t,"dijitPopup")){_e6=true;}else{t=t.parentNode;}}if(_e6){t=e.target;if(_e5.onItemClick){var _e7;while(t&&!(_e7=_e1.byNode(t))){t=t.parentNode;}if(_e7&&_e7.onClick&&_e7.getParent){_e7.getParent().onItemClick(_e7,e);}}return;}}}if(this._opened){if(_e5.focus&&_e5.autoFocus!==false){this._focusDropDownTimer=this.defer(function(){_e5.focus();delete this._focusDropDownTimer;});}}else{this.defer("focus");}if(has("touch")){this._justGotMouseUp=true;this.defer(function(){this._justGotMouseUp=false;});}},_onDropDownClick:function(e){if(has("touch")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_d9.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _e8={"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";_db.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_e8+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _e9=this.focusNode||this.domNode;this.own(on(this._buttonNode,"mousedown",_df.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",_df.hitch(this,"_onDropDownClick")),on(_e9,"keydown",_df.hitch(this,"_onKey")),on(_e9,"keyup",_df.hitch(this,"_onKeyUp")));},destroy:function(){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,_ea=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_d9.stop(e);return;}}if(d&&this._opened&&e.keyCode==_de.ESCAPE){this.closeDropDown();_d9.stop(e);}else{if(!this._opened&&(e.keyCode==_de.DOWN_ARROW||((e.keyCode==_de.ENTER||e.keyCode==_de.SPACE)&&((_ea.tagName||"").toLowerCase()!=="input"||(_ea.type&&_ea.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_d9.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(_df.hitch(d,"focus"),1);}}},_onBlur:function(){var _eb=_e2.curNode&&this.dropDown&&dom.isDescendant(_e2.curNode,this.dropDown.domNode);this.closeDropDown(_eb);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_ec){_ec();},loadAndOpenDropDown:function(){var d=new _d8(),_ed=_df.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_ed);}else{_ed();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _ee=this.dropDown,_ef=_ee.domNode,_f0=this._aroundNode||this.domNode,_f1=this;if(!this._preparedNode){this._preparedNode=true;if(_ef.style.width){this._explicitDDWidth=true;}if(_ef.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _f2={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_f2.width="";}if(!this._explicitDDHeight){_f2.height="";}_dd.set(_ef,_f2);var _f3=this.maxHeight;if(_f3==-1){var _f4=_e0.getBox(this.ownerDocument),_f5=_dc.position(_f0,false);_f3=Math.floor(Math.max(_f5.y,_f4.h-(_f5.y+_f5.h)));}_e3.moveOffScreen(_ee);if(_ee.startup&&!_ee._started){_ee.startup();}var mb=_dc.getMarginSize(_ef);var _f6=(_f3&&mb.h>_f3);_dd.set(_ef,{overflowX:"visible",overflowY:_f6?"auto":"visible"});if(_f6){mb.h=_f3;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_f0.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_f0.offsetWidth);}else{delete mb.w;}}if(_df.isFunction(_ee.resize)){_ee.resize(mb);}else{_dc.setMarginBox(_ef,mb);}}var _f7=_e3.open({parent:this,popup:_ee,around:_f0,orient:this.dropDownPosition,onExecute:function(){_f1.closeDropDown(true);},onCancel:function(){_f1.closeDropDown(true);},onClose:function(){_da.set(_f1._popupStateNode,"popupActive",false);_db.remove(_f1._popupStateNode,"dijitHasDropDownOpen");_f1._set("_opened",false);}});_da.set(this._popupStateNode,"popupActive","true");_db.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this.domNode.setAttribute("aria-expanded","true");return _f7;},closeDropDown:function(_f8){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this.domNode.setAttribute("aria-expanded","false");if(_f8){this.focus();}_e3.close(this.dropDown);this._opened=false;}}});});},"dijit/tree/TreeStoreModel":function(){define("dijit/tree/TreeStoreModel",["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_f9,_fa,_fb,_fc){return _fb("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_fd){_fc.mixin(this,_fd);this.connects=[];var _fe=this.store;if(!_fe.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_fe.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_fa.after(_fe,"onNew",_fc.hitch(this,"onNewItem"),true),_fa.after(_fe,"onDelete",_fc.hitch(this,"onDeleteItem"),true),_fa.after(_fe,"onSet",_fc.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_ff,_100){if(this.root){_ff(this.root);}else{this.store.fetch({query:this.query,onComplete:_fc.hitch(this,function(_101){if(_101.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_101.length+" items, but must return exactly one");}this.root=_101[0];_ff(this.root);}),onError:_100});}},mayHaveChildren:function(item){return _f9.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_102,_103,_104){var _105=this.store;if(!_105.isItemLoaded(_102)){var _106=_fc.hitch(this,arguments.callee);_105.loadItem({item:_102,onItem:function(_107){_106(_107,_103,_104);},onError:_104});return;}var _108=[];for(var i=0;i=0){_11f.set(this.focusedChild.focusNode,"tabIndex",this.tabIndex);this.focusedChild.focusNode.focus();}pm.close(this.currentPopup);this.currentPopup=null;}if(this.focusedChild){this.focusedChild._setSelected(false);this.onItemUnhover(this.focusedChild);this.focusedChild=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_131,_132,dom,_133,_134,_135,lang,on,_136,has,_137,_138,win,_139,a11y,_13a,_13b){var _13c=_132([_137,_135],{curNode:null,activeStack:[],constructor:function(){var _13d=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);}});_131.before(_134,"empty",_13d);_131.before(_134,"destroy",_13d);},registerIframe:function(_13e){return this.registerWin(_13e.contentWindow,_13e);},registerWin:function(_13f,_140){var _141=this;var _142=function(evt){_141._justMouseDowned=true;setTimeout(function(){_141._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_141._onTouchNode(_140||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_13f.document.documentElement:_13f.document;if(doc){if(has("ie")){_13f.document.body.attachEvent("onmousedown",_142);var _143=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_141._onFocusNode(_140||evt.srcElement);}else{_141._onTouchNode(_140||evt.srcElement);}};doc.attachEvent("onfocusin",_143);var _144=function(evt){_141._onBlurNode(_140||evt.srcElement);};doc.attachEvent("onfocusout",_144);return {remove:function(){_13f.document.detachEvent("onmousedown",_142);doc.detachEvent("onfocusin",_143);doc.detachEvent("onfocusout",_144);doc=null;}};}else{doc.body.addEventListener("mousedown",_142,true);doc.body.addEventListener("touchstart",_142,true);var _145=function(evt){_141._onFocusNode(_140||evt.target);};doc.addEventListener("focus",_145,true);var _146=function(evt){_141._onBlurNode(_140||evt.target);};doc.addEventListener("blur",_146,true);return {remove:function(){doc.body.removeEventListener("mousedown",_142,true);doc.body.removeEventListener("touchstart",_142,true);doc.removeEventListener("focus",_145,true);doc.removeEventListener("blur",_146,true);doc=null;}};}}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _147=[];try{while(node){var _148=_133.get(node,"dijitPopupParent");if(_148){node=_13a.byId(_148).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_139.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_149=id&&_13a.byId(id);if(_149&&!(by=="mouse"&&_149.get("disabled"))){_147.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_147,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_14a,by){var _14b=this.activeStack;this.set("activeStack",_14a);for(var _14c=0;_14c=_14c;i--){_14d=_13a.byId(_14b[i]);if(_14d){_14d._hasBeenBlurred=true;_14d.set("focused",false);if(_14d._focusManager==this){_14d._onBlur(by);}this.emit("widget-blur",_14d,by);}}for(i=_14c;i<_14a.length;i++){_14d=_13a.byId(_14a[i]);if(_14d){_14d.set("focused",true);if(_14d._focusManager==this){_14d._onFocus(by);}this.emit("widget-focus",_14d,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _14e=new _13c();_136(function(){var _14f=_14e.registerWin(_139.get(win.doc));if(has("ie")){_138.addOnWindowUnload(function(){if(_14f){_14f.remove();_14f=null;}});}});_13b.focus=function(node){_14e.focus(node);};for(var attr in _14e){if(!/^_/.test(attr)){_13b.focus[attr]=typeof _14e[attr]=="function"?lang.hitch(_14e,attr):_14e[attr];}}_14e.watch(function(attr,_150,_151){_13b.focus[attr]=_151;});return _14e;});},"dojo/i18n":function(){define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_152,has,_153,_154,lang,xhr,json,_155){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _156=dojo.i18n={},_157=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_158=function(root,_159,_15a,_15b){for(var _15c=[_15a+_15b],_15d=_159.split("-"),_15e="",i=0;i<_15d.length;i++){_15e+=(_15e?"-":"")+_15d[i];if(!root||root[_15e]){_15c.push(_15a+_15e+"/"+_15b);}}return _15c;},_15f={},_160=function(_161,_162,_163){_163=_163?_163.toLowerCase():dojo.locale;_161=_161.replace(/\./g,"/");_162=_162.replace(/\./g,"/");return (/root/i.test(_163))?(_161+"/nls/"+_162):(_161+"/nls/"+_163+"/"+_162);},_164=dojo.getL10nName=function(_165,_166,_167){return _165=_155.id+"!"+_160(_165,_166,_167);},_168=function(_169,_16a,_16b,_16c,_16d,load){_169([_16a],function(root){var _16e=lang.clone(root.root),_16f=_158(!root._v1x&&root,_16d,_16b,_16c);_169(_16f,function(){for(var i=1;i<_16f.length;i++){_16e=lang.mixin(lang.clone(_16e),arguments[i]);}var _170=_16a+"/"+_16d;_15f[_170]=_16e;load();});});},_171=function(id,_172){return /^\./.test(id)?_172(id):id;},_173=function(_174){var list=_154.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_174);return list;},load=function(id,_175,load){if(has("dojo-preload-i18n-Api")){var _176=id.split("*"),_177=_176[1]=="preload";if(_177){if(!_15f[id]){_15f[id]=1;_178(_176[2],json.parse(_176[3]),1,_175);}load(1);}if(_177||_179(id,_175,load)){return;}}var _17a=_157.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]:_173(_17f),_182=_181.length,_183=function(){if(!--_182){load(lang.delegate(_15f[_180]));}};_153.forEach(_181,function(_184){var _185=_17d+"/"+_184;if(has("dojo-preload-i18n-Api")){_186(_185);}if(!_15f[_185]){_168(_175,_17d,_17b,_17c,_184,_183);}else{_183();}});};if(has("dojo-unit-tests")){var _187=_156.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _188=_156.normalizeLocale=function(_189){var _18a=_189?_189.toLowerCase():dojo.locale;return _18a=="root"?"ROOT":_18a;},isXd=function(mid,_18b){return (1&&1)?_18b.isXdUrl(_152.toUrl(mid+".js")):true;},_18c=0,_18d=[],_178=_156._preloadLocalizations=function(_18e,_18f,_190,_191){_191=_191||_152;function _192(mid,_193){if(isXd(mid,_191)||_190){_191([mid],_193);}else{_19d([mid],_193,_191);}};function _194(_195,func){var _196=_195.split("-");while(_196.length){if(func(_196.join("-"))){return;}_196.pop();}func("ROOT");};function _197(_198){_198=_188(_198);_194(_198,function(loc){if(_153.indexOf(_18f,loc)>=0){var mid=_18e.replace(/\./g,"/")+"_"+loc;_18c++;_192(mid,function(_199){for(var p in _199){_15f[_152.toAbsMid(p)+"/"+loc]=_199[p];}--_18c;while(!_18c&&_18d.length){load.apply(null,_18d.shift());}});return true;}return false;});};_197();_153.forEach(dojo.config.extraLocale,_197);},_179=function(id,_19a,load){if(_18c){_18d.push([id,_19a,load]);}return _18c;},_186=function(){};}if(1){var _19b={},_19c=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;"+"}"),_19d=function(deps,_19e,_19f){var _1a0=[];_153.forEach(deps,function(mid){var url=_19f.toUrl(mid+".js");function load(text){var _1a1=_19c(text,_186,mid,_19b);if(_1a1===_19b){_1a0.push(_15f[url]=_19b.result);}else{if(_1a1 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_1a1);_1a1={};}_1a0.push(_15f[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_1a1:{root:_1a1,_v1x:1}));}};if(_15f[url]){_1a0.push(_15f[url]);}else{var _1a2=_19f.syncLoadNls(mid);if(_1a2){_1a0.push(_1a2);}else{if(!xhr){try{_19f.getText(url,true,load);}catch(e){_1a0.push(_15f[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_1a0.push(_15f[url]={});}});}}}});_19e&&_19e.apply(null,_1a0);};_186=function(_1a3){for(var _1a4,_1a5=_1a3.split("/"),_1a6=dojo.global[_1a5[0]],i=1;_1a6&&i<_1a5.length-1;_1a6=_1a6[_1a5[i++]]){}if(_1a6){_1a4=_1a6[_1a5[i]];if(!_1a4){_1a4=_1a6[_1a5[i].replace(/-/g,"_")];}if(_1a4){_15f[_1a3]=_1a4;}}return _1a4;};_156.getLocalization=function(_1a7,_1a8,_1a9){var _1aa,_1ab=_160(_1a7,_1a8,_1a9);load(_1ab,(!isXd(_1ab,_152)?function(deps,_1ac){_19d(deps,_1ac,_152);}:_152),function(_1ad){_1aa=_1ad;});return _1aa;};if(has("dojo-unit-tests")){_187.push(function(doh){doh.register("tests.i18n.unit",function(t){var _1ae;_1ae=_19c("{prop:1}",_186,"nonsense",_19b);t.is({prop:1},_1ae);t.is(undefined,_1ae[1]);_1ae=_19c("({prop:1})",_186,"nonsense",_19b);t.is({prop:1},_1ae);t.is(undefined,_1ae[1]);_1ae=_19c("{'prop-x':1}",_186,"nonsense",_19b);t.is({"prop-x":1},_1ae);t.is(undefined,_1ae[1]);_1ae=_19c("({'prop-x':1})",_186,"nonsense",_19b);t.is({"prop-x":1},_1ae);t.is(undefined,_1ae[1]);_1ae=_19c("define({'prop-x':1})",_186,"nonsense",_19b);t.is(_19b,_1ae);t.is({"prop-x":1},_19b.result);_1ae=_19c("define('some/module', {'prop-x':1})",_186,"nonsense",_19b);t.is(_19b,_1ae);t.is({"prop-x":1},_19b.result);_1ae=_19c("this is total nonsense and should throw an error",_186,"nonsense",_19b);t.is(_1ae instanceof Error,true);});});}}return lang.mixin(_156,{dynamic:true,normalize:_171,load:load,cache:_15f});});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_1af,has,_1b0,win){_1b0(90,function(){if(has("highcontrast")){_1af.add(win.body(),"dijit_a11y");}});return has;});},"dijit/tree/ForestStoreModel":function(){define("dijit/tree/ForestStoreModel",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_1b1,_1b2,_1b3,lang,_1b4){return _1b2("dijit.tree.ForestStoreModel",_1b4,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_1b5){this.root={store:this,root:true,id:_1b5.rootId,label:_1b5.rootLabel,children:_1b5.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_1b6,_1b7,_1b8){if(_1b6===this.root){if(this.root.children){_1b7(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1b9){this.root.children=_1b9;_1b7(_1b9);}),onError:_1b8});}}else{this.inherited(arguments);}},isItem:function(_1ba){return (_1ba===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_1bb){if(_1bb.identity==this.root.id){var _1bc=_1bb.scope||_1b3.global;if(_1bb.onItem){_1bb.onItem.call(_1bc,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,_1bd,_1be){if(_1bd===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_1bf,_1c0,_1c1,_1c2,_1c3){if(_1c0===this.root){if(!_1c2){this.onLeaveRoot(_1bf);}}this.inherited(arguments,[_1bf,_1c0===this.root?null:_1c0,_1c1===this.root?null:_1c1,_1c2,_1c3]);if(_1c1===this.root){this.onAddToRoot(_1bf);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _1c4=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1c5){this.root.children=_1c5;if(_1c4.length!=_1c5.length||_1b1.some(_1c4,function(item,idx){return _1c5[idx]!=item;})){this.onChildrenChange(this.root,_1c5);}})});},onNewItem:function(item,_1c6){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_1b1.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_1c7,_1c8,_1c9){this._requeryTop();this.inherited(arguments);}});});},"url:dijit/layout/templates/AccordionButton.html":"
\n\t
+-\"\"\n\t\t\n\t
\n
\n","dijit/form/_ComboBoxMenuMixin":function(){define("dijit/form/_ComboBoxMenuMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_1ca,_1cb,_1cc,i18n){return _1cb("dijit.form._ComboBoxMenuMixin",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(_1cd){this.value=_1cd;this.onChange(_1cd);},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,_1ce){var _1cf=this._createMenuItem();var _1d0=_1ce(item);if(_1d0.html){_1cf.innerHTML=_1d0.label;}else{_1cf.appendChild(_1cf.ownerDocument.createTextNode(_1d0.label));}if(_1cf.innerHTML==""){_1cf.innerHTML=" ";}this.applyTextDir(_1cf,(_1cf.innerText||_1cf.textContent||""));return _1cf;},createOptions:function(_1d1,_1d2,_1d3){this.items=_1d1;this.previousButton.style.display=(_1d2.start==0)?"none":"";_1cc.set(this.previousButton,"id",this.id+"_prev");_1ca.forEach(_1d1,function(item,i){var _1d4=this._createOption(item,_1d3);_1d4.setAttribute("item",i);_1cc.set(_1d4,"id",this.id+i);this.nextButton.parentNode.insertBefore(_1d4,this.nextButton);},this);var _1d5=false;if(_1d1.total&&!_1d1.total.then&&_1d1.total!=-1){if((_1d2.start+_1d2.count)<_1d1.total){_1d5=true;}else{if((_1d2.start+_1d2.count)>_1d1.total&&_1d2.count==_1d1.length){_1d5=true;}}}else{if(_1d2.count==_1d1.length){_1d5=true;}}this.nextButton.style.display=_1d5?"":"none";_1cc.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _1d6=this.containerNode;while(_1d6.childNodes.length>2){_1d6.removeChild(_1d6.childNodes[_1d6.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;}});});},"dijit/form/_SearchMixin":function(){define("dijit/form/_SearchMixin",["dojo/data/util/filter","dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/sniff","dojo/string","dojo/when","../registry"],function(_1d7,_1d8,_1d9,keys,lang,_1da,has,_1db,when,_1dc){return _1d8("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_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;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT){return;}var _1dd=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_1dd=true;break;default:_1dd=typeof key=="string"||key==229;}if(_1dd){if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_startSearch:function(text){this._abortQuery();var _1de=this,_1da=lang.clone(this.query),_1df={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_1db.substitute(this.queryExpr,[text]),q,_1e0=function(){var _1e1=_1de._fetchHandle=_1de.store.query(_1da,_1df);if(_1de.disabled||_1de.readOnly||(q!==_1de._lastQuery)){return;}when(_1e1,function(res){_1de._fetchHandle=null;if(!_1de.disabled&&!_1de.readOnly&&(q===_1de._lastQuery)){when(_1e1.total,function(_1e2){res.total=_1e2;var _1e3=_1de.pageSize;if(isNaN(_1e3)||_1e3>res.total){_1e3=res.total;}res.nextPage=function(_1e4){_1df.direction=_1e4=_1e4!==false;_1df.count=_1e3;if(_1e4){_1df.start+=res.length;if(_1df.start>=res.total){_1df.count=0;}}else{_1df.start-=_1e3;if(_1df.start<0){_1df.count=Math.max(_1e3+_1df.start,0);_1df.start=0;}}if(_1df.count<=0){res.length=0;_1de.onSearch(res,_1da,_1df);}else{_1e0();}};_1de.onSearch(res,_1da,_1df);});}},function(err){_1de._fetchHandle=null;if(!_1de._cancelingQuery){console.error(_1de.declaredClass+" "+err.toString());}});};lang.mixin(_1df,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=_1d7.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_1da[this.searchAttr]=q;this._queryDeferHandle=this.defer(_1e0,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_1dc.byId(list);}}this.inherited(arguments);}});});},"dojo/parser":function(){define("dojo/parser",["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_1e5,dojo,_1e6,_1e7,_1e8,_1e9,_1ea,_1eb,_1ec,_1ed,_1ee,_1ef,has,_1f0,don,_1f1){new Date("X");var _1f2=0;_1ed.after(_1e6,"extend",function(){_1f2++;},true);function _1f3(ctor){var map=ctor._nameCaseMap,_1f4=ctor.prototype;if(!map||map._extendCnt<_1f2){map=ctor._nameCaseMap={};for(var name in _1f4){if(name.charAt(0)==="_"){continue;}map[name.toLowerCase()]=name;}map._extendCnt=_1f2;}return map;};var _1f5={};function _1f6(_1f7){var ts=_1f7.join();if(!_1f5[ts]){var _1f8=[];for(var i=0,l=_1f7.length;i.*$/,"");_215=_1e7.map(_217.split(/\s+/),function(name){var _218=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_218=="enctype"?node.getAttribute(_218):node.getAttributeNode(_218).value};});}}var _219=_210.scope||dojo._scopeName,_21a="data-"+_219+"-",hash={};if(_219!=="dojo"){hash[_21a+"props"]="data-dojo-props";hash[_21a+"type"]="data-dojo-type";hash[_21a+"mixins"]="data-dojo-mixins";hash[_219+"type"]="dojoType";hash[_21a+"id"]="data-dojo-id";}var i=0,item,_21b=[],_21c,_21d;while(item=_215[i++]){var name=item.name,_21e=name.toLowerCase(),_21f=item.value;switch(hash[_21e]||_21e){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_21d=_21f;break;case "data-dojo-id":case "jsid":_21c=_21f;break;case "data-dojo-attach-point":case "dojoattachpoint":_214.dojoAttachPoint=_21f;break;case "data-dojo-attach-event":case "dojoattachevent":_214.dojoAttachEvent=_21f;break;case "class":_214["class"]=node.className;break;case "style":_214["style"]=node.style&&node.style.cssText;break;default:if(!(name in _213)){var map=_1f3(ctor);name=map[_21e]||name;}if(name in _213){switch(typeof _213[name]){case "string":_214[name]=_21f;break;case "number":_214[name]=_21f.length?Number(_21f):NaN;break;case "boolean":_214[name]=_21f.toLowerCase()!="false";break;case "function":if(_21f===""||_21f.search(/[^\w\.]+/i)!=-1){_214[name]=new Function(_21f);}else{_214[name]=_1e6.getObject(_21f,false)||new Function(_21f);}_21b.push(name);break;default:var pVal=_213[name];_214[name]=(pVal&&"length" in pVal)?(_21f?_21f.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_21f==""?new Date(""):_21f=="now"?new Date():_1ee.fromISOString(_21f)):(pVal instanceof _1eb)?(dojo.baseUrl+_21f):_1ec.fromJson(_21f);}}else{_214[name]=_21f;}}}for(var j=0;j<_21b.length;j++){var _220=_21b[j].toLowerCase();node.removeAttribute(_220);node[_220]=null;}if(_21d){try{_21d=_1ec.fromJson.call(_210.propsThis,"{"+_21d+"}");_1e6.mixin(_214,_21d);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_21d+"'");}}_1e6.mixin(_214,_20f);if(!_211){_211=(ctor&&(ctor._noScript||_213._noScript)?[]:_1f0("> script[type^='dojo/']",node));}var _221=[],_222=[],_223=[],ons=[];if(_211){for(i=0;i<_211.length;i++){var _224=_211[i];node.removeChild(_224);var _225=(_224.getAttribute(_21a+"event")||_224.getAttribute("event")),prop=_224.getAttribute(_21a+"prop"),_226=_224.getAttribute(_21a+"method"),_227=_224.getAttribute(_21a+"advice"),_228=_224.getAttribute("type"),nf=this._functionFromScript(_224,_21a);if(_225){if(_228=="dojo/connect"){_221.push({method:_225,func:nf});}else{if(_228=="dojo/on"){ons.push({event:_225,func:nf});}else{_214[_225]=nf;}}}else{if(_228=="dojo/aspect"){_221.push({method:_226,advice:_227,func:nf});}else{if(_228=="dojo/watch"){_223.push({prop:prop,func:nf});}else{_222.push(nf);}}}}}var _229=ctor.markupFactory||_213.markupFactory;var _22a=_229?_229(_214,node,ctor):new ctor(_214,node);if(_21c){_1e6.setObject(_21c,_22a);}for(i=0;i<_221.length;i++){_1ed[_221[i].advice||"after"](_22a,_221[i].method,_1e6.hitch(_22a,_221[i].func),true);}for(i=0;i<_222.length;i++){_222[i].call(_22a);}for(i=0;i<_223.length;i++){_22a.watch(_223[i].prop,_223[i].func);}for(i=0;i\n","dojo/dnd/Manager":function(){define("dojo/dnd/Manager",["../_base/array","../_base/declare","../_base/event","../_base/lang","../_base/window","../dom-class","../Evented","../has","../keys","../on","../topic","../touch","./common","./autoscroll","./Avatar"],function(_24b,_24c,_24d,lang,win,_24e,_24f,has,keys,on,_250,_251,dnd,_252,_253){var _254=_24c("dojo.dnd.Manager",[_24f],{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")?0:16,OFFSET_Y:has("touch")?-64:16,overSource:function(_255){if(this.avatar){this.target=(_255&&_255.targetState!="Disabled")?_255:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_250.publish("/dnd/source/over",_255);},outSource:function(_256){if(this.avatar){if(this.target==_256){this.target=null;this.canDropFlag=false;this.avatar.update();_250.publish("/dnd/source/over",null);}}else{_250.publish("/dnd/source/over",null);}},startDrag:function(_257,_258,copy){_252.autoScrollStart(win.doc);this.source=_257;this.nodes=_258;this.copy=Boolean(copy);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_250.publish("/dnd/start",_257,_258,this.copy);this.events=[on(win.doc,_251.move,lang.hitch(this,"onMouseMove")),on(win.doc,_251.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",_24d.stop),on(win.body(),"selectstart",_24d.stop)];var c="dojoDnd"+(copy?"Copy":"Move");_24e.add(win.body(),c);},canDrop:function(flag){var _259=Boolean(this.target&&flag);if(this.canDropFlag!=_259){this.canDropFlag=_259;this.avatar.update();}},stopDrag:function(){_24e.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_24b.forEach(this.events,function(_25a){_25a.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _253(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_252.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)));_250.publish("/dnd/drop/before",this.source,this.nodes,copy,this.target,e);_250.publish("/dnd/drop",this.source,this.nodes,copy,this.target,e);}else{_250.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:_250.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();_24e.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_254.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _254();}return dnd._manager;};return _254;});},"dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_25b,_25c,_25d,_25e){return _25b("dijit.form.ToggleButton",[_25d,_25e],{baseClass:"dijitToggleButton",setChecked:function(_25f){_25c.deprecated("setChecked("+_25f+") is deprecated. Use set('checked',"+_25f+") instead.","","2.0");this.set("checked",_25f);}});});},"dojo/date/stamp":function(){define("dojo/date/stamp",["../_base/lang","../_base/array"],function(lang,_260){var _261={};lang.setObject("dojo.date.stamp",_261);_261.fromISOString=function(_262,_263){if(!_261._isoRegExp){_261._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _264=_261._isoRegExp.exec(_262),_265=null;if(_264){_264.shift();if(_264[1]){_264[1]--;}if(_264[6]){_264[6]*=1000;}if(_263){_263=new Date(_263);_260.forEach(_260.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _263["get"+prop]();}),function(_266,_267){_264[_267]=_264[_267]||_266;});}_265=new Date(_264[0]||1970,_264[1]||0,_264[2]||1,_264[3]||0,_264[4]||0,_264[5]||0,_264[6]||0);if(_264[0]<100){_265.setFullYear(_264[0]||1970);}var _268=0,_269=_264[7]&&_264[7].charAt(0);if(_269!="Z"){_268=((_264[8]||0)*60)+(Number(_264[9])||0);if(_269!="-"){_268*=-1;}}if(_269){_268-=_265.getTimezoneOffset();}if(_268){_265.setTime(_265.getTime()+_268*60000);}}return _265;};_261.toISOString=function(_26a,_26b){var _26c=function(n){return (n<10)?"0"+n:n;};_26b=_26b||{};var _26d=[],_26e=_26b.zulu?"getUTC":"get",date="";if(_26b.selector!="time"){var year=_26a[_26e+"FullYear"]();date=["0000".substr((year+"").length)+year,_26c(_26a[_26e+"Month"]()+1),_26c(_26a[_26e+"Date"]())].join("-");}_26d.push(date);if(_26b.selector!="date"){var time=[_26c(_26a[_26e+"Hours"]()),_26c(_26a[_26e+"Minutes"]()),_26c(_26a[_26e+"Seconds"]())].join(":");var _26f=_26a[_26e+"Milliseconds"]();if(_26b.milliseconds){time+="."+(_26f<100?"0":"")+_26c(_26f);}if(_26b.zulu){time+="Z";}else{if(_26b.selector!="time"){var _270=_26a.getTimezoneOffset();var _271=Math.abs(_270);time+=(_270>0?"-":"+")+_26c(Math.floor(_271/60))+":"+_26c(_271%60);}}_26d.push(time);}return _26d.join("T");};return _261;});},"dojo/Stateful":function(){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array","dojo/when"],function(_272,lang,_273,when){return _272("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(_274){if(_274){this.set(_274);}},_get:function(name,_275){return typeof this[_275.g]==="function"?this[_275.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_276){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _277=this._getAttrNames(name),_278=this._get(name,_277),_279=this[_277.s],_27a;if(typeof _279==="function"){_27a=_279.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_276;}if(this._watchCallbacks){var self=this;when(_27a,function(){self._watchCallbacks(name,_278,_276);});}return this;},_changeAttrValue:function(name,_27b){var _27c=this.get(name);this[name]=_27b;if(this._watchCallbacks){this._watchCallbacks(name,_27c,_27b);}return this;},watch:function(name,_27d){var _27e=this._watchCallbacks;if(!_27e){var self=this;_27e=this._watchCallbacks=function(name,_27f,_280,_281){var _282=function(_283){if(_283){_283=_283.slice();for(var i=0,l=_283.length;i-1){_284.splice(_286,1);}};return _285;}});});},"dijit/layout/AccordionContainer":function(){require({cache:{"url:dijit/layout/templates/AccordionButton.html":"
\n\t
+-\"\"\n\t\t\n\t
\n
\n"}});define("dijit/layout/AccordionContainer",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","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"],function(_287,_288,_289,_28a,fx,dom,_28b,_28c,_28d,_28e,keys,lang,has,_28f,_290,_291,_292,_293,_294,_295,_296,_297,_298,_299){var _29a=_289("dijit.layout._AccordionButton",[_293,_295,_296],{templateString:_299,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 _29b=this.id.replace(" ","_");_28b.set(this.titleTextNode,"id",_29b+"_title");this.focusNode.setAttribute("aria-labelledby",_28b.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _28e.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _29c=this.getParent();_29c.selectChild(this.contentWidget,true);_290.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_29d){this._set("selected",_29d);this.focusNode.setAttribute("aria-expanded",_29d?"true":"false");this.focusNode.setAttribute("aria-selected",_29d?"true":"false");this.focusNode.setAttribute("tabIndex",_29d?"0":"-1");}});var _29e=_289("dijit.layout._AccordionInnerContainer",[_293,_296],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_28d.place("