/*
	Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dijit/_editor/plugins/FontChoice":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/i18n","dojo/_base/lang","dojo/store/Memory","../../registry","../../_Widget","../../_TemplatedMixin","../../_WidgetsInTemplateMixin","../../form/FilteringSelect","../_Plugin","../range","dojo/i18n!../nls/FontChoice"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d){var _e=_2("dijit._editor.plugins._FontDropDown",[_8,_9,_a],{label:"",plainText:false,templateString:"<span style='white-space: nowrap' class='dijit dijitReset dijitInline'>"+"<label class='dijitLeft dijitInline' for='${selectId}'>${label}</label>"+"<input data-dojo-type='dijit.form.FilteringSelect' required='false' "+"data-dojo-props='labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' "+"class='${comboClass}' "+"tabIndex='-1' id='${selectId}' data-dojo-attach-point='select' value=''/>"+"</span>",postMixInProperties:function(){this.inherited(arguments);this.strings=_4.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=_7.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments);},postCreate:function(){this.select.set("store",new _6({idProperty:"value",data:_1.map(this.values,function(_f){var _10=this.strings[_f]||_f;return {label:this.getLabel(_f,_10),name:_10,value:_f};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_11,_12){_12=_12!==false;this.select.set("value",_1.indexOf(this.values,_11)<0?"":_11,_12);if(!_12){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_13){this.disabled=_13;this.select.set("disabled",_13);}});var _14=_2("dijit._editor.plugins._FontNameDropDown",_e,{generic:false,command:"fontName",comboClass:"dijitFontNameCombo",postMixInProperties:function(){if(!this.values){this.values=this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"];}this.inherited(arguments);},getLabel:function(_15,_16){if(this.plainText){return _16;}else{return "<div style='font-family: "+_15+"'>"+_16+"</div>";}},_setValueAttr:function(_17,_18){_18=_18!==false;if(this.generic){var map={"Arial":"sans-serif","Helvetica":"sans-serif","Myriad":"sans-serif","Times":"serif","Times New Roman":"serif","Comic Sans MS":"cursive","Apple Chancery":"cursive","Courier":"monospace","Courier New":"monospace","Papyrus":"fantasy","Estrangelo Edessa":"cursive","Gabriola":"fantasy"};_17=map[_17]||_17;}this.inherited(arguments,[_17,_18]);}});var _19=_2("dijit._editor.plugins._FontSizeDropDown",_e,{command:"fontSize",comboClass:"dijitFontSizeCombo",values:[1,2,3,4,5,6,7],getLabel:function(_1a,_1b){if(this.plainText){return _1b;}else{return "<font size="+_1a+"'>"+_1b+"</font>";}},_setValueAttr:function(_1c,_1d){_1d=_1d!==false;if(_1c.indexOf&&_1c.indexOf("px")!=-1){var _1e=parseInt(_1c,10);_1c={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_1e]||_1c;}this.inherited(arguments,[_1c,_1d]);}});var _1f=_2("dijit._editor.plugins._FormatBlockDropDown",_e,{command:"formatBlock",comboClass:"dijitFormatBlockCombo",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_20,_21){if(this.plainText||_20=="noFormat"){return _21;}else{return "<"+_20+">"+_21+"</"+_20+">";}},_execCommand:function(_22,_23,_24){if(_24==="noFormat"){var _25;var end;var sel=_d.getSelection(_22.window);if(sel&&sel.rangeCount>0){var _26=sel.getRangeAt(0);var _27,tag;if(_26){_25=_26.startContainer;end=_26.endContainer;while(_25&&_25!==_22.editNode&&_25!==_22.document.body&&_25.nodeType!==1){_25=_25.parentNode;}while(end&&end!==_22.editNode&&end!==_22.document.body&&end.nodeType!==1){end=end.parentNode;}var _28=_5.hitch(this,function(_29,ary){if(_29.childNodes&&_29.childNodes.length){var i;for(i=0;i<_29.childNodes.length;i++){var c=_29.childNodes[i];if(c.nodeType==1){if(_22._sCall("inSelection",[c])){var tag=c.tagName?c.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){ary.push(c);}_28(c,ary);}}}}});var _2a=_5.hitch(this,function(_2b){if(_2b&&_2b.length){_22.beginEditing();while(_2b.length){this._removeFormat(_22,_2b.pop());}_22.endEditing();}});var _2c=[];if(_25==end){var _2d;_27=_25;while(_27&&_27!==_22.editNode&&_27!==_22.document.body){if(_27.nodeType==1){tag=_27.tagName?_27.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){_2d=_27;break;}}_27=_27.parentNode;}_28(_25,_2c);if(_2d){_2c=[_2d].concat(_2c);}_2a(_2c);}else{_27=_25;while(_22._sCall("inSelection",[_27])){if(_27.nodeType==1){tag=_27.tagName?_27.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){_2c.push(_27);}_28(_27,_2c);}_27=_27.nextSibling;}_2a(_2c);}_22.onDisplayChanged();}}}else{_22.execCommand(_23,_24);}},_removeFormat:function(_2e,_2f){if(_2e.customUndo){while(_2f.firstChild){_3.place(_2f.firstChild,_2f,"before");}_2f.parentNode.removeChild(_2f);}else{_2e._sCall("selectElementChildren",[_2f]);var _30=_2e._sCall("getSelectedHtml",[]);_2e._sCall("selectElement",[_2f]);_2e.execCommand("inserthtml",_30||"");}}});var _31=_2("dijit._editor.plugins.FontChoice",_c,{useDefaultCommand:false,_initButton:function(){var _32={fontName:_14,fontSize:_19,formatBlock:_1f}[this.command],_33=this.params;if(this.params.custom){_33.values=this.params.custom;}var _34=this.editor;this.button=new _32(_5.delegate({dir:_34.dir,lang:_34.lang},_33));this.connect(this.button.select,"onChange",function(_35){if(this.editor.focused){this.editor.focus();}if(this.command=="fontName"&&_35.indexOf(" ")!=-1){_35="'"+_35+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_35);}else{this.editor.execCommand(this.command,_35);}});},updateState:function(){var _36=this.editor;var _37=this.command;if(!_36||!_36.isLoaded||!_37.length){return;}if(this.button){var _38=this.get("disabled");this.button.set("disabled",_38);if(_38){return;}var _39;try{_39=_36.queryCommandValue(_37)||"";}catch(e){_39="";}var _3a=_5.isString(_39)&&(_39.match(/'([^']*)'/)||_39.match(/"([^"]*)"/));if(_3a){_39=_3a[1];}if(_37==="formatBlock"){if(!_39||_39=="p"){_39=null;var _3b;var sel=_d.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _3c=sel.getRangeAt(0);if(_3c){_3b=_3c.endContainer;}}while(_3b&&_3b!==_36.editNode&&_3b!==_36.document){var tg=_3b.tagName?_3b.tagName.toLowerCase():"";if(tg&&_1.indexOf(this.button.values,tg)>-1){_39=tg;break;}_3b=_3b.parentNode;}if(!_39){_39="noFormat";}}else{if(_1.indexOf(this.button.values,_39)<0){_39="noFormat";}}}if(_39!==this.button.get("value")){this.button.set("value",_39,false);}}}});_1.forEach(["fontName","fontSize","formatBlock"],function(_3d){_c.registry[_3d]=function(_3e){return new _31({command:_3d,plainText:_3e.plainText});};});_31._FontDropDown=_e;_31._FontNameDropDown=_14;_31._FontSizeDropDown=_19;_31._FormatBlockDropDown=_1f;return _31;});},"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\" aria-checked=\"${checked}\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n","dijit/form/TextBox":function(){define(["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(_3f,_40,_41,_42,_43,has,_44,_45,_46,_47){var _48=_3f("dijit.form.TextBox",[_44,_45],{templateString:_46,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:has("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _49=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_49=="hidden"||_49=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(has("ie")<9){this.defer(function(){try{var s=_41.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _4a=this.domNode.getElementsByTagName("INPUT");if(_4a){for(var i=0;i<_4a.length;i++){_4a[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_40.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();},_onInput:function(evt){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_4b,_4c,_4d){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_42.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_4e){_42.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_4e);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(has("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(has("ie")<9){_48.prototype._isTextSelected=function(){var _4f=this.ownerDocument.selection.createRange();var _50=_4f.parentElement();return _50==this.textbox&&_4f.text.length>0;};_47._setSelectionRange=_45._setSelectionRange=function(_51,_52,_53){if(_51.createTextRange){var r=_51.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_52);r.moveEnd("character",_53-_52);r.select();}};}return _48;});},"dojo/currency":function(){define(["./_base/array","./_base/lang","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_54,_55,_56,_57,_58,_59){var _5a={};_55.setObject("dojo.currency",_5a);_5a._mixInDefaults=function(_5b){_5b=_5b||{};_5b.type="currency";var _5c=_57.getLocalization("dojo.cldr","currency",_5b.locale)||{};var iso=_5b.currency;var _5d=_59.getData(iso);_54.forEach(["displayName","symbol","group","decimal"],function(_5e){_5d[_5e]=_5c[iso+"_"+_5e];});_5d.fractional=[true,false];return _55.mixin(_5d,_5b);};_5a.format=function(_5f,_60){return _56.format(_5f,_5a._mixInDefaults(_60));};_5a.regexp=function(_61){return _56.regexp(_5a._mixInDefaults(_61));};_5a.parse=function(_62,_63){return _56.parse(_62,_5a._mixInDefaults(_63));};return _5a;});},"dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom"],function(_64,_65,_66,_67,_68,fx,_69,on,_6a,has,_6b,_6c,_6d,_6e,_6f,_70,_71,_72,_73,_74){var _75=_65("dijit.layout.ScrollingTabController",[_6e,_70],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_6c,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";_66.add(n,"tabStrip-disabled");}_66.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_68.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",_69.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(_76,_77){this.inherited(arguments);_68.set(this.containerNode,"width",(_68.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_78,_79){var _7a=this.pane2button[_78.id];if(this._selectedTab===_7a.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_6a("> .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+=_67.getMarginSize(btn).w;return true;}else{_68.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _7b=this.getChildren();if(_7b.length){var _7c=_7b[this.isLeftToRight()?0:_7b.length-1].domNode,_7d=_7b[this.isLeftToRight()?_7b.length-1:0].domNode;return _7d.offsetLeft+_7d.offsetWidth-_7c.offsetLeft;}else{return 0;}},_enableBtn:function(_7e){var _7f=this._getTabsWidth();_7e=_7e||_68.get(this.scrollNode,"width");return _7f>0&&_7e<_7f;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_6f.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_67.setContentSize(this.domNode,cb);var _80=this._enableBtn(this._contentBox.w);this._buttons.style("display",_80?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_6f.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:_68.get(this.containerNode,"width")-_68.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 _81=_68.get(this.containerNode,"width")-_68.get(this.scrollNode,"width");return (has("ie")>=8?-1:1)*(val-_81);}},onSelectChild:function(_82){var tab=this.pane2button[_82.id];if(!tab||!_82){return;}var _83=tab.domNode;if(_83!=this._selectedTab){this._selectedTab=_83;if(this._postResize){var sl=this._getScroll();if(sl>_83.offsetLeft||sl+_68.get(this.scrollNode,"width")<_83.offsetLeft+_68.get(_83,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _84=this.getChildren(),_85=_68.get(this.scrollNode,"width"),_86=_68.get(this.containerNode,"width"),_87=_86-_85,_88=this._getTabsWidth();if(_84.length&&_88>_85){return {min:this.isLeftToRight()?0:_84[_84.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_84[_84.length-1].domNode.offsetLeft+_84[_84.length-1].domNode.offsetWidth)-_85:_87};}else{var _89=this.isLeftToRight()?0:_87;return {min:_89,max:_89};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_8a=_68.get(this.scrollNode,"width"),_8b=this._getScrollBounds();var pos=(n.offsetLeft+_68.get(n,"width")/2)-_8a/2;pos=Math.min(Math.max(pos,_8b.min),_8b.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _8c=this._getScrollBounds();x=Math.min(Math.max(x,_8c.min),_8c.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _8d=this,w=this.scrollNode,_8e=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _8f=w.scrollLeft,_90=_8d._convertToScrollLeft(x);_8e.curve=new fx._Line(_8f,_90);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_8e;this._setButtonClass(x);return _8e;},_getBtnNode:function(e){var n=e.target;while(n&&!_66.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(_91,_92){if(_92&&_66.contains(_92,"dijitTabDisabled")){return;}var _93=_68.get(this.scrollNode,"width");var d=(_93*0.75)*_91;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_94){var _95=this._getScrollBounds();this._leftBtn.set("disabled",_94<=_95.min);this._rightBtn.set("disabled",_94>=_95.max);}});var _96=_65("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_6d,tabIndex:"",isFocusable:function(){return false;}});_65("dijit.layout._ScrollingTabControllerButton",[_73,_96]);_65("dijit.layout._ScrollingTabControllerMenuButton",[_73,_74,_96],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_97){this.dropDown=new _71({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _98=_6b.byId(this.containerId);_64.forEach(_98.getChildren(),function(_99){var _9a=new _72({id:_99.id+"_stcMi",label:_99.title,iconClass:_99.iconClass,disabled:_99.disabled,ownerDocument:this.ownerDocument,dir:_99.dir,lang:_99.lang,textDir:_99.textDir,onClick:function(){_98.selectChild(_99);}});this.dropDown.addChild(_9a);},this);_97();},closeDropDown:function(_9b){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _75;});},"url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\" role=\"presentation\"\n\t\t/></td></tr></tbody\n></table>\n","dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_9c,_9d,_9e,_9f,_a0,_a1){return _9c("dijit.DialogUnderlay",[_9f,_a0],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_9d.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_a2){this.node.className="dijitDialogUnderlay "+_a2;this._set("class",_a2);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _a3=_9e.getBox(this.ownerDocument);os.top=_a3.t+"px";os.left=_a3.l+"px";is.width=_a3.w+"px";is.height=_a3.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _a1(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/sniff"],function(_a4,_a5,has){var _a6={};_a5.setObject("dijit._editor.html",_a6);var _a7=_a6.escapeXml=function(str,_a8){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_a8){str=str.replace(/'/gm,"&#39;");}return str;};_a6.getNodeHtml=function(_a9){var _aa=[];_a6.getNodeHtmlHelper(_a9,_aa);return _aa.join("");};_a6.getNodeHtmlHelper=function(_ab,_ac){switch(_ab.nodeType){case 1:var _ad=_ab.nodeName.toLowerCase();if(!_ad||_ad.charAt(0)=="/"){return "";}_ac.push("<",_ad);var _ae=[],_af={};var _b0;if(has("dom-attributes-explicit")||has("dom-attributes-specified-flag")){var i=0;while((_b0=_ab.attributes[i++])){var n=_b0.name;if(n.substr(0,3)!=="_dj"&&(!has("dom-attributes-specified-flag")||_b0.specified)&&!(n in _af)){var v=_b0.value;if(n=="src"||n=="href"){if(_ab.getAttribute("_djrealurl")){v=_ab.getAttribute("_djrealurl");}}if(has("ie")===8&&n==="style"){v=v.replace("HEIGHT:","height:").replace("WIDTH:","width:");}_ae.push([n,v]);_af[n]=v;}}}else{var _b1=/^input$|^img$/i.test(_ab.nodeName)?_ab:_ab.cloneNode(false);var s=_b1.outerHTML;var _b2=/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi;var _b3=s.match(_b2);s=s.substr(0,s.indexOf(">"));_a4.forEach(_b3,function(_b4){if(_b4){var idx=_b4.indexOf("=");if(idx>0){var key=_b4.substring(0,idx);if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(_ab.getAttribute("_djrealurl")){_ae.push([key,_ab.getAttribute("_djrealurl")]);return;}}var val,_b5;switch(key){case "style":val=_ab.style.cssText.toLowerCase();break;case "class":val=_ab.className;break;case "width":if(_ad==="img"){_b5=/width=(\S+)/i.exec(s);if(_b5){val=_b5[1];}break;}case "height":if(_ad==="img"){_b5=/height=(\S+)/i.exec(s);if(_b5){val=_b5[1];}break;}default:val=_ab.getAttribute(key);}if(val!=null){_ae.push([key,val.toString()]);}}}}},this);}_ae.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((_b0=_ae[j++])){_ac.push(" ",_b0[0],"=\"",(typeof _b0[1]==="string"?_a7(_b0[1],true):_b0[1]),"\"");}switch(_ad){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_ac.push(" />");break;case "script":_ac.push(">",_ab.innerHTML,"</",_ad,">");break;default:_ac.push(">");if(_ab.hasChildNodes()){_a6.getChildrenHtmlHelper(_ab,_ac);}_ac.push("</",_ad,">");}break;case 4:case 3:_ac.push(_a7(_ab.nodeValue,true));break;case 8:_ac.push("<!--",_a7(_ab.nodeValue,true),"-->");break;default:_ac.push("<!-- Element not recognized - Type: ",_ab.nodeType," Name: ",_ab.nodeName,"-->");}};_a6.getChildrenHtml=function(_b6){var _b7=[];_a6.getChildrenHtmlHelper(_b6,_b7);return _b7.join("");};_a6.getChildrenHtmlHelper=function(dom,_b8){if(!dom){return;}var _b9=dom["childNodes"]||dom;var _ba=!has("ie")||_b9!==dom;var _bb,i=0;while((_bb=_b9[i++])){if(!_ba||_bb.parentNode==dom){_a6.getNodeHtmlHelper(_bb,_b8);}}};return _a6;});},"dijit/_HasDropDown":function(){define(["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","./registry","./focus","./popup","./_FocusMixin","./Viewport"],function(_bc,_bd,_be,dom,_bf,_c0,_c1,_c2,has,_c3,_c4,on,_c5,_c6,_c7,_c8,_c9){return _bc("dijit._HasDropDown",_c8,{_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;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this._docHandler=this.connect(this.ownerDocument,"mouseup","_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _ca=this.dropDown,_cb=false;if(e&&this._opened){var c=_c1.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&&!_cb){if(_c0.contains(t,"dijitPopup")){_cb=true;}else{t=t.parentNode;}}if(_cb){t=e.target;if(_ca.onItemClick){var _cc;while(t&&!(_cc=_c5.byNode(t))){t=t.parentNode;}if(_cc&&_cc.onClick&&_cc.getParent){_cc.getParent().onItemClick(_cc,e);}}return;}}}if(this._opened){if(_ca.focus&&(_ca.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_ca.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){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){_be.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _cd={"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";_c0.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_cd+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _ce=this.focusNode||this.domNode;this.own(on(this._buttonNode,"mousedown",_c4.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",_c4.hitch(this,"_onDropDownClick")),on(_ce,"keydown",_c4.hitch(this,"_onKey")),on(_ce,"keyup",_c4.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,_cf=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_be.stop(e);return;}}if(d&&this._opened&&e.keyCode==_c3.ESCAPE){this.closeDropDown();_be.stop(e);}else{if(!this._opened&&(e.keyCode==_c3.DOWN_ARROW||((e.keyCode==_c3.ENTER||e.keyCode==_c3.SPACE)&&((_cf.tagName||"").toLowerCase()!=="input"||(_cf.type&&_cf.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_be.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(_c4.hitch(d,"focus"),1);}}},_onBlur:function(){var _d0=_c6.curNode&&this.dropDown&&dom.isDescendant(_c6.curNode,this.dropDown.domNode);this.closeDropDown(_d0);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_d1){_d1();},loadAndOpenDropDown:function(){var d=new _bd(),_d2=_c4.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_d2);}else{_d2();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _d3=this.dropDown,_d4=_d3.domNode,_d5=this._aroundNode||this.domNode,_d6=this;if(!this._preparedNode){this._preparedNode=true;if(_d4.style.width){this._explicitDDWidth=true;}if(_d4.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _d7={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_d7.width="";}if(!this._explicitDDHeight){_d7.height="";}_c2.set(_d4,_d7);var _d8=this.maxHeight;if(_d8==-1){var _d9=_c9.getEffectiveBox(this.ownerDocument),_da=_c1.position(_d5,false);_d8=Math.floor(Math.max(_da.y,_d9.h-(_da.y+_da.h)));}_c7.moveOffScreen(_d3);if(_d3.startup&&!_d3._started){_d3.startup();}var mb=_c1.getMarginSize(_d4);var _db=(_d8&&mb.h>_d8);_c2.set(_d4,{overflow:_db?"auto":"visible"});if(_db){mb.h=_d8;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_d5.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_d5.offsetWidth);}else{delete mb.w;}}if(_c4.isFunction(_d3.resize)){_d3.resize(mb);}else{_c1.setMarginBox(_d4,mb);}}var _dc=_c7.open({parent:this,popup:_d3,around:_d5,orient:this.dropDownPosition,onExecute:function(){_d6.closeDropDown(true);},onCancel:function(){_d6.closeDropDown(true);},onClose:function(){_bf.set(_d6._popupStateNode,"popupActive",false);_c0.remove(_d6._popupStateNode,"dijitHasDropDownOpen");_d6._set("_opened",false);}});_bf.set(this._popupStateNode,"popupActive","true");_c0.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_d3.id);if(_d4.getAttribute("role")!=="presentation"&&!_d4.getAttribute("aria-labelledby")){_d4.setAttribute("aria-labelledby",this.id);}return _dc;},closeDropDown:function(_dd){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_dd){this.focus();}_c7.close(this.dropDown);this._opened=false;}}});});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_de,_df,_e0,_e1){return _e0("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_e2){_e1.mixin(this,_e2);this.connects=[];var _e3=this.store;if(!_e3.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_e3.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_df.after(_e3,"onNew",_e1.hitch(this,"onNewItem"),true),_df.after(_e3,"onDelete",_e1.hitch(this,"onDeleteItem"),true),_df.after(_e3,"onSet",_e1.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_e4,_e5){if(this.root){_e4(this.root);}else{this.store.fetch({query:this.query,onComplete:_e1.hitch(this,function(_e6){if(_e6.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_e6.length+" items, but must return exactly one");}this.root=_e6[0];_e4(this.root);}),onError:_e5});}},mayHaveChildren:function(_e7){return _de.some(this.childrenAttrs,function(_e8){return this.store.hasAttribute(_e7,_e8);},this);},getChildren:function(_e9,_ea,_eb){var _ec=this.store;if(!_ec.isItemLoaded(_e9)){var _ed=_e1.hitch(this,arguments.callee);_ec.loadItem({item:_e9,onItem:function(_ee){_ed(_ee,_ea,_eb);},onError:_eb});return;}var _ef=[];for(var i=0;i<this.childrenAttrs.length;i++){var _f0=_ec.getValues(_e9,this.childrenAttrs[i]);_ef=_ef.concat(_f0);}var _f1=0;if(!this.deferItemLoadingUntilExpand){_de.forEach(_ef,function(_f2){if(!_ec.isItemLoaded(_f2)){_f1++;}});}if(_f1==0){_ea(_ef);}else{_de.forEach(_ef,function(_f3,idx){if(!_ec.isItemLoaded(_f3)){_ec.loadItem({item:_f3,onItem:function(_f4){_ef[idx]=_f4;if(--_f1==0){_ea(_ef);}},onError:_eb});}});}},isItem:function(_f5){return this.store.isItem(_f5);},fetchItemByIdentity:function(_f6){this.store.fetchItemByIdentity(_f6);},getIdentity:function(_f7){return this.store.getIdentity(_f7);},getLabel:function(_f8){if(this.labelAttr){return this.store.getValue(_f8,this.labelAttr);}else{return this.store.getLabel(_f8);}},newItem:function(_f9,_fa,_fb){var _fc={parent:_fa,attribute:this.childrenAttrs[0]},_fd;if(this.newItemIdAttr&&_f9[this.newItemIdAttr]){this.fetchItemByIdentity({identity:_f9[this.newItemIdAttr],scope:this,onItem:function(_fe){if(_fe){this.pasteItem(_fe,null,_fa,true,_fb);}else{_fd=this.store.newItem(_f9,_fc);if(_fd&&(_fb!=undefined)){this.pasteItem(_fd,_fa,_fa,false,_fb);}}}});}else{_fd=this.store.newItem(_f9,_fc);if(_fd&&(_fb!=undefined)){this.pasteItem(_fd,_fa,_fa,false,_fb);}}},pasteItem:function(_ff,_100,_101,_102,_103){var _104=this.store,_105=this.childrenAttrs[0];if(_100){_de.forEach(this.childrenAttrs,function(attr){if(_104.containsValue(_100,attr,_ff)){if(!_102){var _106=_de.filter(_104.getValues(_100,attr),function(x){return x!=_ff;});_104.setValues(_100,attr,_106);}_105=attr;}});}if(_101){if(typeof _103=="number"){var _107=_104.getValues(_101,_105).slice();_107.splice(_103,0,_ff);_104.setValues(_101,_105,_107);}else{_104.setValues(_101,_105,_104.getValues(_101,_105).concat(_ff));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_108){if(!_108){return;}this.getChildren(_108.item,_e1.hitch(this,function(_109){this.onChildrenChange(_108.item,_109);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_10a){if(_de.indexOf(this.childrenAttrs,_10a)!=-1){this.getChildren(item,_e1.hitch(this,function(_10b){this.onChildrenChange(item,_10b);}));}else{this.onChange(item);}}});});},"dijit/_editor/plugins/EnterKeyHandling":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/_base/window","dojo/window","../_Plugin","../RichText","../range","../../_base/focus"],function(_10c,_10d,_10e,keys,lang,has,win,_10f,_110,_111,_112,_113){return _10c("dijit._editor.plugins.EnterKeyHandling",_110,{blockNodeForEnter:"BR",constructor:function(args){if(args){if("blockNodeForEnter" in args){args.blockNodeForEnter=args.blockNodeForEnter.toUpperCase();}lang.mixin(this,args);}},setEditor:function(_114){if(this.editor===_114){return;}this.editor=_114;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_114.onLoadDeferred.then(lang.hitch(this,function(d){this.connect(_114.document,"onkeypress",function(e){if(e.charOrCode==keys.ENTER){var ne=lang.mixin({},e);ne.shiftKey=true;if(!this.handleEnterKey(ne)){_10e.stop(e);}}});if(has("ie")>=9&&has("ie")<=10){this.connect(_114.document,"onpaste",function(e){setTimeout(dojo.hitch(this,function(){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();r.move("character",1);r.select();}),0);});}return d;}));}else{if(this.blockNodeForEnter){var h=lang.hitch(this,this.handleEnterKey);_114.addKeyHandler(13,0,0,h);_114.addKeyHandler(13,0,1,h);this.connect(this.editor,"onKeyPressed","onKeyPressed");}}},onKeyPressed:function(){if(this._checkListLater){if(win.withGlobal(this.editor.window,"isCollapsed",_113)){var _115=this.editor._sCall("getAncestorElement",["LI"]);if(!_115){_111.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _116=this.editor._sCall("getAncestorElement",[this.blockNodeForEnter]);if(_116){_116.innerHTML=this.bogusHtmlContent;if(has("ie")<=9){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();}}else{console.error("onKeyPressed: Cannot find the new block node");}}else{if(has("mozilla")){if(_115.parentNode.parentNode.nodeName=="LI"){_115=_115.parentNode.parentNode;}}var fc=_115.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_115.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _117=_112.create(this.editor.window);_117.setStart(_115.firstChild,0);var _118=_112.getSelection(this.editor.window,true);_118.removeAllRanges();_118.addRange(_117);}}}this._checkListLater=false;}if(this._pressedEnterInBlock){if(this._pressedEnterInBlock.previousSibling){this.removeTrailingBr(this._pressedEnterInBlock.previousSibling);}delete this._pressedEnterInBlock;}},bogusHtmlContent:"&#160;",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){var _119,_11a,_11b,_11c,_11d,_11e,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _11f=this.editor._sCall("getParentElement",[]);var _120=_112.getAncestor(_11f,this.blockNodes);if(_120){if(_120.tagName=="LI"){return true;}_119=_112.getSelection(this.editor.window);_11a=_119.getRangeAt(0);if(!_11a.collapsed){_11a.deleteContents();_119=_112.getSelection(this.editor.window);_11a=_119.getRangeAt(0);}if(_112.atBeginningOfContainer(_120,_11a.startContainer,_11a.startOffset)){br=doc.createElement("br");_11b=_112.create(this.editor.window);_120.insertBefore(br,_120.firstChild);_11b.setStartAfter(br);_119.removeAllRanges();_119.addRange(_11b);}else{if(_112.atEndOfContainer(_120,_11a.startContainer,_11a.startOffset)){_11b=_112.create(this.editor.window);br=doc.createElement("br");_120.appendChild(br);_120.appendChild(doc.createTextNode(" "));_11b.setStart(_120.lastChild,0);_119.removeAllRanges();_119.addRange(_11b);}else{rs=_11a.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;_11c=doc.createTextNode(txt.substring(0,_11a.startOffset));_11d=doc.createTextNode(txt.substring(_11a.startOffset));_11e=doc.createElement("br");if(_11d.nodeValue==""&&has("webkit")){_11d=doc.createTextNode(" ");}_10d.place(_11c,rs,"after");_10d.place(_11e,_11c,"after");_10d.place(_11d,_11e,"after");_10d.destroy(rs);_11b=_112.create(this.editor.window);_11b.setStart(_11d,0);_119.removeAllRanges();_119.addRange(_11b);return false;}return true;}}}else{_119=_112.getSelection(this.editor.window);if(_119.rangeCount){_11a=_119.getRangeAt(0);if(_11a&&_11a.startContainer){if(!_11a.collapsed){_11a.deleteContents();_119=_112.getSelection(this.editor.window);_11a=_119.getRangeAt(0);}rs=_11a.startContainer;if(rs&&rs.nodeType==3){var _121=_11a.startOffset;if(rs.length<_121){ret=this._adjustNodeAndOffset(rs,_121);rs=ret.node;_121=ret.offset;}txt=rs.nodeValue;_11c=doc.createTextNode(txt.substring(0,_121));_11d=doc.createTextNode(txt.substring(_121));_11e=doc.createElement("br");if(!_11d.length){_11d=doc.createTextNode(" ");}if(_11c.length){_10d.place(_11c,rs,"after");}else{_11c=rs;}_10d.place(_11e,_11c,"after");_10d.place(_11d,_11e,"after");_10d.destroy(rs);_11b=_112.create(this.editor.window);_11b.setStart(_11d,0);_11b.setEnd(_11d,_11d.length);_119.removeAllRanges();_119.addRange(_11b);this.editor._sCall("collapse",[true]);}else{var _122;if(_11a.startOffset>=0){_122=rs.childNodes[_11a.startOffset];}var _11e=doc.createElement("br");var _11d=doc.createTextNode(" ");if(!_122){rs.appendChild(_11e);rs.appendChild(_11d);}else{_10d.place(_11e,_122,"before");_10d.place(_11d,_11e,"after");}_11b=_112.create(this.editor.window);_11b.setStart(_11d,0);_11b.setEnd(_11d,_11d.length);_119.removeAllRanges();_119.addRange(_11b);this.editor._sCall("collapse",[true]);}}}else{_111.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _123=true;_119=_112.getSelection(this.editor.window);_11a=_119.getRangeAt(0);if(!_11a.collapsed){_11a.deleteContents();_119=_112.getSelection(this.editor.window);_11a=_119.getRangeAt(0);}var _124=_112.getBlockAncestor(_11a.endContainer,null,this.editor.editNode);var _125=_124.blockNode;if((this._checkListLater=(_125&&(_125.nodeName=="LI"||_125.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_125;}if(/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(_125.innerHTML)){_125.innerHTML="";if(has("webkit")){_11b=_112.create(this.editor.window);_11b.setStart(_125,0);_119.removeAllRanges();_119.addRange(_11b);}this._checkListLater=false;}return true;}if(!_124.blockNode||_124.blockNode===this.editor.editNode){try{_111.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_124={blockNode:this.editor._sCall("getAncestorElement",[this.blockNodeForEnter]),blockContainer:this.editor.editNode};if(_124.blockNode){if(_124.blockNode!=this.editor.editNode&&(!(_124.blockNode.textContent||_124.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_124.blockNode);return false;}}else{_124.blockNode=this.editor.editNode;}_119=_112.getSelection(this.editor.window);_11a=_119.getRangeAt(0);}var _126=doc.createElement(this.blockNodeForEnter);_126.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_124.blockNode);var _127=_11a.endOffset;var node=_11a.endContainer;if(node.length<_127){var ret=this._adjustNodeAndOffset(node,_127);node=ret.node;_127=ret.offset;}if(_112.atEndOfContainer(_124.blockNode,node,_127)){if(_124.blockNode===_124.blockContainer){_124.blockNode.appendChild(_126);}else{_10d.place(_126,_124.blockNode,"after");}_123=false;_11b=_112.create(this.editor.window);_11b.setStart(_126,0);_119.removeAllRanges();_119.addRange(_11b);if(this.editor.height){_10f.scrollIntoView(_126);}}else{if(_112.atBeginningOfContainer(_124.blockNode,_11a.startContainer,_11a.startOffset)){_10d.place(_126,_124.blockNode,_124.blockNode===_124.blockContainer?"first":"before");if(_126.nextSibling&&this.editor.height){_11b=_112.create(this.editor.window);_11b.setStart(_126.nextSibling,0);_119.removeAllRanges();_119.addRange(_11b);_10f.scrollIntoView(_126.nextSibling);}_123=false;}else{if(_124.blockNode===_124.blockContainer){_124.blockNode.appendChild(_126);}else{_10d.place(_126,_124.blockNode,"after");}_123=false;if(_124.blockNode.style){if(_126.style){if(_124.blockNode.style.cssText){_126.style.cssText=_124.blockNode.style.cssText;}}}rs=_11a.startContainer;var _128;if(rs&&rs.nodeType==3){var _129,_12a;_127=_11a.endOffset;if(rs.length<_127){ret=this._adjustNodeAndOffset(rs,_127);rs=ret.node;_127=ret.offset;}txt=rs.nodeValue;_11c=doc.createTextNode(txt.substring(0,_127));_11d=doc.createTextNode(txt.substring(_127,txt.length));_10d.place(_11c,rs,"before");_10d.place(_11d,rs,"after");_10d.destroy(rs);var _12b=_11c.parentNode;while(_12b!==_124.blockNode){var tg=_12b.tagName;var _12c=doc.createElement(tg);if(_12b.style){if(_12c.style){if(_12b.style.cssText){_12c.style.cssText=_12b.style.cssText;}}}if(_12b.tagName==="FONT"){if(_12b.color){_12c.color=_12b.color;}if(_12b.face){_12c.face=_12b.face;}if(_12b.size){_12c.size=_12b.size;}}_129=_11d;while(_129){_12a=_129.nextSibling;_12c.appendChild(_129);_129=_12a;}_10d.place(_12c,_12b,"after");_11c=_12b;_11d=_12c;_12b=_12b.parentNode;}_129=_11d;if(_129.nodeType==1||(_129.nodeType==3&&_129.nodeValue)){_126.innerHTML="";}_128=_129;while(_129){_12a=_129.nextSibling;_126.appendChild(_129);_129=_12a;}}_11b=_112.create(this.editor.window);var _12d;var _12e=_128;if(this.blockNodeForEnter!=="BR"){while(_12e){_12d=_12e;_12a=_12e.firstChild;_12e=_12a;}if(_12d&&_12d.parentNode){_126=_12d.parentNode;_11b.setStart(_126,0);_119.removeAllRanges();_119.addRange(_11b);if(this.editor.height){_10f.scrollIntoView(_126);}if(has("mozilla")){this._pressedEnterInBlock=_124.blockNode;}}else{_123=true;}}else{_11b.setStart(_126,0);_119.removeAllRanges();_119.addRange(_11b);if(this.editor.height){_10f.scrollIntoView(_126);}if(has("mozilla")){this._pressedEnterInBlock=_124.blockNode;}}}}return _123;},_adjustNodeAndOffset:function(node,_12f){while(node.length<_12f&&node.nextSibling&&node.nextSibling.nodeType==3){_12f=_12f-node.length;node=node.nextSibling;}return {"node":node,"offset":_12f};},removeTrailingBr:function(_130){var para=/P|DIV|LI/i.test(_130.tagName)?_130:this.editor._sCall("getParentOfType",[_130,["P","DIV","LI"]]);if(!para){return;}if(para.lastChild){if((para.childNodes.length>1&&para.lastChild.nodeType==3&&/^[\s\xAD]*$/.test(para.lastChild.nodeValue))||para.lastChild.tagName=="BR"){_10d.destroy(para.lastChild);}}if(!para.childNodes.length){para.innerHTML=this.bogusHtmlContent;}}});});},"dijit/_MenuBase":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./popup","./registry","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_131,_132,dom,_133,_134,lang,_135,on,_136,_137,pm,_138,_139,_13a,_13b){return _132("dijit._MenuBase",[_139,_13b,_13a],{parentMenu:null,popupDelay:500,autoFocus:false,childSelector:function(node){var _13c=_138.byNode(node);return node.parentNode==this.containerNode&&_13c&&_13c.focus;},postCreate:function(){var self=this,_13d=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_13d,_135.enter),function(){self.onItemHover(_138.byNode(this));}),on(this.containerNode,on.selector(_13d,_135.leave),function(){self.onItemUnhover(_138.byNode(this));}),on(this.containerNode,on.selector(_13d,_137),function(evt){self.onItemClick(_138.byNode(this),evt);evt.stopPropagation();evt.preventDefault();}));this.inherited(arguments);},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _13e=this._getTopMenu();if(_13e&&_13e._isMenuBar){_13e.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _13f=this.currentPopup.parentMenu;if(_13f.focusedChild){_13f.focusedChild._setSelected(false);}_13f.focusedChild=this.currentPopup.from_item;_13f.focusedChild._setSelected(true);this._stopPendingCloseTimer(this.currentPopup);}},onItemHover:function(item){if(this.isActive){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=this.defer("_openPopup",this.popupDelay);}}if(this.focusedChild){this.focusChild(item);}this._hoveredChild=item;item._set("hovering",true);},_onChildBlur:function(item){this._stopPopupTimer();item._setSelected(false);var _140=item.popup;if(_140){this._stopPendingCloseTimer(_140);_140._pendingClose_timer=this.defer(function(){_140._pendingClose_timer=null;if(_140.parentMenu){_140.parentMenu.currentPopup=null;}pm.close(_140);},this.popupDelay);}},onItemUnhover:function(item){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==item){this._hoveredChild=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(_141){if(_141._pendingClose_timer){_141._pendingClose_timer=_141._pendingClose_timer.remove();}},_stopFocusTimer:function(){if(this._focus_timer){this._focus_timer=this._focus_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(typeof this.isShowingNow=="undefined"){this._markActive();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this._openPopup(evt.type=="keypress");}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openPopup:function(_142){this._stopPopupTimer();var _143=this.focusedChild;if(!_143){return;}var _144=_143.popup;if(!_144.isShowingNow){if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_144.parentMenu=this;_144.from_item=_143;var self=this;pm.open({parent:this,popup:_144,around:_143.domNode,orient:this._orient||["after","before"],onCancel:function(){self.focusChild(_143);self._cleanUp();_143._setSelected(true);self.focusedChild=_143;},onExecute:lang.hitch(this,"_cleanUp")});this.currentPopup=_144;if(this.popupHoverHandle){this.popupHoverHandle.remove();}this.own(this.popupHoverHandle=on.once(_144.domNode,"mouseover",lang.hitch(self,"_onPopupHover")));}if(_142&&_144.focus){_144._focus_timer=this.defer(lang.hitch(_144,function(){this._focus_timer=null;this.focus();}));}},_markActive:function(){this.isActive=true;_134.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_134.replace(this.domNode,"dijitMenuPassive","dijitMenuActive");},onClose:function(){this._stopFocusTimer();this._markInactive();this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopup){if(_131.indexOf(this._focusManager.activeStack,this.id)>=0){_133.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/tree/ForestStoreModel":function(){define("dijit/tree/ForestStoreModel",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_145,_146,_147,lang,_148){return _146("dijit.tree.ForestStoreModel",_148,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_149){this.root={store:this,root:true,id:_149.rootId,label:_149.rootLabel,children:_149.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_14a,_14b,_14c){if(_14a===this.root){if(this.root.children){_14b(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_14d){this.root.children=_14d;_14b(_14d);}),onError:_14c});}}else{this.inherited(arguments);}},isItem:function(_14e){return (_14e===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_14f){if(_14f.identity==this.root.id){var _150=_14f.scope||_147.global;if(_14f.onItem){_14f.onItem.call(_150,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,_151,_152){if(_151===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_153,_154,_155,_156,_157){if(_154===this.root){if(!_156){this.onLeaveRoot(_153);}}this.inherited(arguments,[_153,_154===this.root?null:_154,_155===this.root?null:_155,_156,_157]);if(_155===this.root){this.onAddToRoot(_153);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _158=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_159){this.root.children=_159;if(_158.length!=_159.length||_145.some(_158,function(item,idx){return _159[idx]!=item;})){this.onChildrenChange(this.root,_159);}})});},onNewItem:function(item,_15a){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_145.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_15b,_15c,_15d){this._requeryTop();this.inherited(arguments);}});});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_15e,_15f,_160){var _161=_160._MenuBarItemMixin;return _15e("dijit.PopupMenuBarItem",[_15f,_161],{});});},"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","dijit/TitlePane":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/event","dojo/fx","dojo/_base/kernel","dojo/keys","./_CssStateMixin","./_TemplatedMixin","./layout/ContentPane","dojo/text!./templates/TitlePane.html","./_base/manager"],function(_162,_163,dom,_164,_165,_166,_167,_168,_169,keys,_16a,_16b,_16c,_16d,_16e){return _163("dijit.TitlePane",[_16c,_16b,_16a],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_16e.defaultDuration,baseClass:"dijitTitlePane",templateString:_16d,doLayout:false,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.titleNode,false);},postCreate:function(){this.inherited(arguments);if(this.toggleable){this._trackMouseState(this.titleBarNode,"dijitTitlePaneTitle");}var _16f=this.hideNode,_170=this.wipeNode;this._wipeIn=_168.wipeIn({node:_170,duration:this.duration,beforeBegin:function(){_16f.style.display="";}});this._wipeOut=_168.wipeOut({node:_170,duration:this.duration,onEnd:function(){_16f.style.display="none";}});},_setOpenAttr:function(open,_171){_162.forEach([this._wipeIn,this._wipeOut],function(_172){if(_172&&_172.status()=="playing"){_172.stop();}});if(_171){var anim=this[open?"_wipeIn":"_wipeOut"];anim.play();}else{this.hideNode.style.display=this.wipeNode.style.display=open?"":"none";}if(this._started){if(open){this._onShow();}else{this.onHide();}}this.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_173){this.focusNode.setAttribute("role",_173?"button":"heading");if(_173){this.focusNode.setAttribute("aria-controls",this.id+"_pane");this.focusNode.setAttribute("tabIndex",this.tabIndex);this.focusNode.setAttribute("aria-pressed",this.open);}else{_164.remove(this.focusNode,"aria-controls");_164.remove(this.focusNode,"tabIndex");_164.remove(this.focusNode,"aria-pressed");}this._set("toggleable",_173);this._setCss();},_setContentAttr:function(_174){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_166.setMarginBox(this.wipeNode,{h:_166.getMarginBox(this.wipeNode).h});this.inherited(arguments);if(this._wipeIn){this._wipeIn.play();}else{this.hideNode.style.display="";}}},toggle:function(){this._setOpenAttr(!this.open,true);},_setCss:function(){var node=this.titleBarNode||this.focusNode;var _175=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_165.replace(node,this._titleBarClass,_175||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==keys.ENTER||e.keyCode==keys.SPACE){if(this.toggleable){this.toggle();_167.stop(e);}}else{if(e.keyCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_176){_169.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_176);}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_177,_178,_179,i18n){return _178("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(_17a){this.value=_17a;this.onChange(_17a);},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,_17b){var _17c=this._createMenuItem();var _17d=_17b(item);if(_17d.html){_17c.innerHTML=_17d.label;}else{_17c.appendChild(_17c.ownerDocument.createTextNode(_17d.label));}if(_17c.innerHTML==""){_17c.innerHTML="&#160;";}this.applyTextDir(_17c,(_17c.innerText||_17c.textContent||""));return _17c;},createOptions:function(_17e,_17f,_180){this.items=_17e;this.previousButton.style.display=(_17f.start==0)?"none":"";_179.set(this.previousButton,"id",this.id+"_prev");_177.forEach(_17e,function(item,i){var _181=this._createOption(item,_180);_181.setAttribute("item",i);_179.set(_181,"id",this.id+i);this.nextButton.parentNode.insertBefore(_181,this.nextButton);},this);var _182=false;if(_17e.total&&!_17e.total.then&&_17e.total!=-1){if((_17f.start+_17f.count)<_17e.total){_182=true;}else{if((_17f.start+_17f.count)>_17e.total&&_17f.count==_17e.length){_182=true;}}}else{if(_17f.count==_17e.length){_182=true;}}this.nextButton.style.display=_182?"":"none";_179.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _183=this.containerNode;while(_183.childNodes.length>2){_183.removeChild(_183.childNodes[_183.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(_184,_185,_186,keys,lang,_187,has,_188,when,_189){return _185("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_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("type" in evt&&evt.type.substring(0,3)=="key"&&(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT)){return;}var _18a=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_18a=true;break;default:_18a=typeof key=="string"||key==229;}if(_18a){if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_startSearch:function(text){this._abortQuery();var _18b=this,_187=lang.clone(this.query),_18c={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_188.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_18d=function(){var _18e=_18b._fetchHandle=_18b.store.query(_187,_18c);if(_18b.disabled||_18b.readOnly||(q!==_18b._lastQuery)){return;}when(_18e,function(res){_18b._fetchHandle=null;if(!_18b.disabled&&!_18b.readOnly&&(q===_18b._lastQuery)){when(_18e.total,function(_18f){res.total=_18f;var _190=_18b.pageSize;if(isNaN(_190)||_190>res.total){_190=res.total;}res.nextPage=function(_191){_18c.direction=_191=_191!==false;_18c.count=_190;if(_191){_18c.start+=res.length;if(_18c.start>=res.total){_18c.count=0;}}else{_18c.start-=_190;if(_18c.start<0){_18c.count=Math.max(_190+_18c.start,0);_18c.start=0;}}if(_18c.count<=0){res.length=0;_18b.onSearch(res,_187,_18c);}else{_18d();}};_18b.onSearch(res,_187,_18c);});}},function(err){_18b._fetchHandle=null;if(!_18b._cancelingQuery){console.error(_18b.declaredClass+" "+err.toString());}});};lang.mixin(_18c,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=_184.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_187[this.searchAttr]=q;this._queryDeferHandle=this.defer(_18d,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_189.byId(list);}}this.inherited(arguments);}});});},"url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode,_popupStateNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\"\n/></span>\n","dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_192,_193,_194,_195){return _192("dijit.form.ToggleButton",[_194,_195],{baseClass:"dijitToggleButton",setChecked:function(_196){_193.deprecated("setChecked("+_196+") is deprecated. Use set('checked',"+_196+") instead.","","2.0");this.set("checked",_196);}});});},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_197,_198,keys,_199,_19a){return _197("dijit.form.NumberSpinner",[_199,_19a.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(val,_19b){var tc=this.constraints,v=isNaN(val),_19c=!isNaN(tc.max),_19d=!isNaN(tc.min);if(v&&_19b!=0){val=(_19b>0)?_19d?tc.min:_19c?tc.max:0:_19c?this.constraints.max:_19d?tc.min:0;}var _19e=val+_19b;if(v||isNaN(_19e)){return val;}if(_19c&&(_19e>tc.max)){_19e=tc.max;}if(_19d&&(_19e<tc.min)){_19e=tc.min;}return _19e;},_onKeyPress:function(e){if(this.disabled||this.readOnly){return;}if((e.charOrCode==keys.HOME||e.charOrCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _19f=this.constraints[(e.charOrCode==keys.HOME?"min":"max")];if(typeof _19f=="number"){this._setValueAttr(_19f,false);}_198.stop(e);}}});});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_1a0,_1a1,_1a2,_1a3){return _1a0("dijit.form.Textarea",[_1a3,_1a2],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_1a1.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});});},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_1a4,_1a5,_1a6){return _1a4("dijit.form.DateTextBox",_1a6,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_1a5,_selector:"date",value:new Date("")});});},"dijit/layout/AccordionContainer":function(){require({cache:{"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\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(_1a7,_1a8,_1a9,_1aa,fx,dom,_1ab,_1ac,_1ad,_1ae,keys,lang,has,_1af,_1b0,_1b1,_1b2,_1b3,_1b4,_1b5,_1b6,_1b7,_1b8,_1b9){var _1ba=_1a9("dijit.layout._AccordionButton",[_1b3,_1b5,_1b6],{templateString:_1b9,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 _1bb=this.id.replace(" ","_");_1ab.set(this.titleTextNode,"id",_1bb+"_title");this.focusNode.setAttribute("aria-labelledby",_1ab.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _1ae.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _1bc=this.getParent();_1bc.selectChild(this.contentWidget,true);_1b0.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_1bd){this._set("selected",_1bd);this.focusNode.setAttribute("aria-expanded",_1bd?"true":"false");this.focusNode.setAttribute("aria-selected",_1bd?"true":"false");this.focusNode.setAttribute("tabIndex",_1bd?"0":"-1");}});var _1be=_1a9("dijit.layout._AccordionInnerContainer",[_1b3,_1b6],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_1ad.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _1bf=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_1bf._buttonWidget=(new cls({contentWidget:_1bf,label:_1bf.title,title:_1bf.tooltip,dir:_1bf.dir,lang:_1bf.lang,textDir:_1bf.textDir,iconClass:_1bf.iconClass,id:_1bf.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_1ad.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_1ad.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _1c0=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_1c1,_1c2){_1c0.set("label",_1c2);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_1c3,_1c4){_1c0.set("title",_1c4);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_1c5,_1c6){_1c0.set("iconClass",_1c6);}))];},_setSelectedAttr:function(_1c7){this._set("selected",_1c7);this.button.set("selected",_1c7);if(_1c7){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_1a8.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_1c8){this.contentWidget.destroyRecursive(_1c8);}});var _1c9=_1a9("dijit.layout.AccordionContainer",_1b7,{duration:_1b1.defaultDuration,buttonWidget:_1ba,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 _1ca=this.selectedChildWidget;if(!_1ca){return;}var _1cb=_1ca._wrapperWidget.domNode,_1cc=_1ae.getMarginExtents(_1cb),_1cd=_1ae.getPadBorderExtents(_1cb),_1ce=_1ca._wrapperWidget.containerNode,_1cf=_1ae.getMarginExtents(_1ce),_1d0=_1ae.getPadBorderExtents(_1ce),_1d1=this._contentBox;var _1d2=0;_1a8.forEach(this.getChildren(),function(_1d3){if(_1d3!=_1ca){_1d2+=_1ae.getMarginSize(_1d3._wrapperWidget.domNode).h;}});this._verticalSpace=_1d1.h-_1d2-_1cc.h-_1cd.h-_1cf.h-_1d0.h-_1ca._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_1cc.w-_1cd.w-_1cf.w-_1d0.w};if(_1ca){_1ca.resize(this._containerContentBox);}},_setupChild:function(_1d4){_1d4._wrapperWidget=_1be({contentWidget:_1d4,buttonWidget:this.buttonWidget,id:_1d4.id+"_wrapper",dir:_1d4.dir,lang:_1d4.lang,textDir:_1d4.textDir,parent:this});this.inherited(arguments);},addChild:function(_1d5,_1d6){if(this._started){var _1d7=this.containerNode;if(_1d6&&typeof _1d6=="number"){var _1d8=_1b3.prototype.getChildren.call(this);if(_1d8&&_1d8.length>=_1d6){_1d7=_1d8[_1d6-1].domNode;_1d6="after";}}_1ad.place(_1d5.domNode,_1d7,_1d6);if(!_1d5._started){_1d5.startup();}this._setupChild(_1d5);_1af.publish(this.id+"-addChild",_1d5,_1d6);this.layout();if(!this.selectedChildWidget){this.selectChild(_1d5);}}else{this.inherited(arguments);}},removeChild:function(_1d9){if(_1d9._wrapperWidget){_1ad.place(_1d9.domNode,_1d9._wrapperWidget.domNode,"after");_1d9._wrapperWidget.destroy();delete _1d9._wrapperWidget;}_1ac.remove(_1d9.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _1a8.map(this.inherited(arguments),function(_1da){return _1da.declaredClass=="dijit.layout._AccordionInnerContainer"?_1da.contentWidget:_1da;},this);},destroy:function(){if(this._animation){this._animation.stop();}_1a8.forEach(this.getChildren(),function(_1db){if(_1db._wrapperWidget){_1db._wrapperWidget.destroy();}else{_1db.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_1dc){_1dc._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_1dd){_1dd._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_1de,_1df,_1e0){if(has("ie")<8){_1e0=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_1de){_1de._wrapperWidget.set("selected",true);var d=this._showChild(_1de);if(this.doLayout&&_1de.resize){_1de.resize(this._containerContentBox);}}if(_1df){_1df._wrapperWidget.set("selected",false);if(!_1e0){this._hideChild(_1df);}}if(_1e0){var _1e1=_1de._wrapperWidget.containerNode,_1e2=_1df._wrapperWidget.containerNode;var _1e3=_1de._wrapperWidget.containerNode,_1e4=_1ae.getMarginExtents(_1e3),_1e5=_1ae.getPadBorderExtents(_1e3),_1e6=_1e4.h+_1e5.h;_1e2.style.height=(self._verticalSpace-_1e6)+"px";this._animation=new fx.Animation({node:_1e1,duration:this.duration,curve:[1,this._verticalSpace-_1e6-1],onAnimate:function(_1e7){_1e7=Math.floor(_1e7);_1e1.style.height=_1e7+"px";_1e2.style.height=(self._verticalSpace-_1e6-_1e7)+"px";},onEnd:function(){delete self._animation;_1e1.style.height="auto";_1df._wrapperWidget.containerNode.style.display="none";_1e2.style.height="auto";self._hideChild(_1df);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_1e8){if(this.disabled||e.altKey||!(_1e8||e.ctrlKey)){return;}var c=e.charOrCode;if((_1e8&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_1aa.stop(e);}else{if((_1e8&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_1aa.stop(e);}}}});if(has("dijit-legacy-requires")){_1b2(0,function(){var _1e9=["dijit/layout/AccordionPane"];_1a7(_1e9);});}_1c9._InnerContainer=_1be;_1c9._Button=_1ba;return _1c9;});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_1ea,_1eb,keys,_1ec,_1ed,_1ee){return _1ea("dijit.form.ComboButton",_1ed,{templateString:_1ee,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_1ec.focus(this._popupStateNode);_1eb.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_1ec.focus(this.titleNode);_1eb.stop(evt);}},focus:function(_1ef){if(!this.disabled){_1ec.focus(_1ef=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/layout/SplitContainer":function(){define("dijit/layout/SplitContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","../registry","../_WidgetBase","./_LayoutWidget"],function(_1f0,_1f1,_1f2,dom,_1f3,_1f4,_1f5,_1f6,_1f7,_1f8,lang,on,has,_1f9,_1fa,_1fb){var _1fc=_1f2("dijit.layout.SplitContainer",_1fb,{constructor:function(){_1f8.deprecated("dijit.layout.SplitContainer is deprecated","use BorderContainer with splitter instead",2);},activeSizing:false,sizerWidth:7,orientation:"horizontal",persist:true,baseClass:"dijitSplitContainer",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.isHorizontal=(this.orientation=="horizontal");},postCreate:function(){this.inherited(arguments);this.sizers=[];if(has("mozilla")){this.domNode.style.overflow="-moz-scrollbars-none";}if(typeof this.sizerWidth=="object"){try{this.sizerWidth=parseInt(this.sizerWidth.toString());}catch(e){this.sizerWidth=7;}}var _1fd=this.ownerDocument.createElement("div");this.virtualSizer=_1fd;_1fd.style.position="relative";_1fd.style.zIndex=10;_1fd.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_1fd);dom.setSelectable(_1fd,false);},destroy:function(){delete this.virtualSizer;if(this._ownconnects){var h;while(h=this._ownconnects.pop()){h.remove();}}this.inherited(arguments);},startup:function(){if(this._started){return;}_1f0.forEach(this.getChildren(),function(_1fe,i,_1ff){this._setupChild(_1fe);if(i<_1ff.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_200){this.inherited(arguments);_200.domNode.style.position="absolute";_1f3.add(_200.domNode,"dijitSplitPane");},_onSizerMouseDown:function(e){if(e.target.id){for(var i=0;i<this.sizers.length;i++){if(this.sizers[i].id==e.target.id){break;}}if(i<this.sizers.length){this.beginSizing(e,i);}}},_addSizer:function(_201){_201=_201===undefined?this.sizers.length:_201;var _202=this.ownerDocument.createElement("div");_202.id=_1f9.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_201,0,_202);this.domNode.appendChild(_202);_202.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _203=this.ownerDocument.createElement("div");_203.className="thumb";_202.appendChild(_203);this.connect(_202,"onmousedown","_onSizerMouseDown");dom.setSelectable(_202,false);},removeChild:function(_204){if(this.sizers.length){var i=_1f0.indexOf(this.getChildren(),_204);if(i!=-1){if(i==this.sizers.length){i--;}_1f4.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_205,_206){this.inherited(arguments);if(this._started){var _207=this.getChildren();if(_207.length>1){this._addSizer(_206);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _208=this.getChildren();if(!_208.length){return;}var _209=this.isHorizontal?this.paneWidth:this.paneHeight;if(_208.length>1){_209-=this.sizerWidth*(_208.length-1);}var _20a=0;_1f0.forEach(_208,function(_20b){_20a+=_20b.sizeShare;});var _20c=_209/_20a;var _20d=0;_1f0.forEach(_208.slice(0,_208.length-1),function(_20e){var size=Math.round(_20c*_20e.sizeShare);_20e.sizeActual=size;_20d+=size;});_208[_208.length-1].sizeActual=_209-_20d;this._checkSizes();var pos=0;var size=_208[0].sizeActual;this._movePanel(_208[0],pos,size);_208[0].position=pos;pos+=size;if(!this.sizers){return;}_1f0.some(_208.slice(1),function(_20f,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_20f.sizeActual;this._movePanel(_20f,pos,size);_20f.position=pos;pos+=size;},this);},_movePanel:function(_210,pos,size){var box;if(this.isHorizontal){_210.domNode.style.left=pos+"px";_210.domNode.style.top=0;box={w:size,h:this.paneHeight};if(_210.resize){_210.resize(box);}else{_1f5.setMarginBox(_210.domNode,box);}}else{_210.domNode.style.left=0;_210.domNode.style.top=pos+"px";box={w:this.paneWidth,h:size};if(_210.resize){_210.resize(box);}else{_1f5.setMarginBox(_210.domNode,box);}}},_moveSlider:function(_211,pos,size){if(this.isHorizontal){_211.style.left=pos+"px";_211.style.top=0;_1f5.setMarginBox(_211,{w:size,h:this.paneHeight});}else{_211.style.left=0;_211.style.top=pos+"px";_1f5.setMarginBox(_211,{w:this.paneWidth,h:size});}},_growPane:function(_212,pane){if(_212>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_212){pane.sizeActual=pane.sizeActual-_212;_212=0;}else{_212-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _212;},_checkSizes:function(){var _213=0;var _214=0;var _215=this.getChildren();_1f0.forEach(_215,function(_216){_214+=_216.sizeActual;_213+=_216.sizeMin;});if(_213<=_214){var _217=0;_1f0.forEach(_215,function(_218){if(_218.sizeActual<_218.sizeMin){_217+=_218.sizeMin-_218.sizeActual;_218.sizeActual=_218.sizeMin;}});if(_217>0){var list=this.isDraggingLeft?_215.reverse():_215;_1f0.forEach(list,function(_219){_217=this._growPane(_217,_219);},this);}}else{_1f0.forEach(_215,function(_21a){_21a.sizeActual=Math.round(_214*(_21a.sizeMin/_213));});}},beginSizing:function(e,i){var _21b=this.getChildren();this.paneBefore=_21b[i];this.paneAfter=_21b[i+1];this.paneBefore.sizeBeforeDrag=this.paneBefore.sizeActual;this.paneAfter.sizeBeforeDrag=this.paneAfter.sizeActual;this.paneAfter.positionBeforeDrag=this.paneAfter.position;this.isSizing=true;this.sizingSplitter=this.sizers[i];this.sizingSplitter.positionBeforeDrag=_1f6.get(this.sizingSplitter,(this.isHorizontal?"left":"top"));if(!this.cover){this.cover=_1f4.create("div",{style:{position:"absolute",zIndex:5,top:0,left:0,width:"100%",height:"100%"}},this.domNode);}else{this.cover.style.zIndex=5;}this.sizingSplitter.style.zIndex=6;this.startPoint=this.lastPoint=(this.isHorizontal?e.pageX:e.pageY);this.maxDelta=this.paneAfter.sizeActual-this.paneAfter.sizeMin;this.minDelta=-1*(this.paneBefore.sizeActual-this.paneBefore.sizeMin);if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[on(this.ownerDocument.documentElement,"mousemove",lang.hitch(this,"changeSizing")),on(this.ownerDocument.documentElement,"mouseup",lang.hitch(this,"endSizing"))];_1f7.stop(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;var _21c=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);if(this.activeSizing){this._updateSize(_21c);}else{this._moveSizingLine(_21c);}_1f7.stop(e);},endSizing:function(){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}var _21d=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);this._updateSize(_21d);this.isSizing=false;if(this.persist){this._saveState(this);}var h;while(h=this._ownconnects.pop()){h.remove();}},_updateSize:function(_21e){this.paneBefore.sizeActual=this.paneBefore.sizeBeforeDrag+_21e;this.paneAfter.position=this.paneAfter.positionBeforeDrag+_21e;this.paneAfter.sizeActual=this.paneAfter.sizeBeforeDrag-_21e;_1f0.forEach(this.getChildren(),function(_21f){_21f.sizeShare=_21f.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine(0);_1f5.setMarginBox(this.virtualSizer,this.isHorizontal?{w:this.sizerWidth,h:this.paneHeight}:{w:this.paneWidth,h:this.sizerWidth});this.virtualSizer.style.display="block";},_hideSizingLine:function(){this.virtualSizer.style.display="none";},_moveSizingLine:function(_220){var pos=_220+this.sizingSplitter.positionBeforeDrag;_1f6.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_1f0.forEach(this.getChildren(),function(_221,i){var _222=this._getCookieName(i);var _223=_1f1(_222);if(_223){var pos=parseInt(_223);if(typeof pos=="number"){_221.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_1f0.forEach(this.getChildren(),function(_224,i){_1f1(this._getCookieName(i),_224.sizeShare,{expires:365});},this);}});_1fc.ChildWidgetProperties={sizeMin:10,sizeShare:10};lang.extend(_1fa,_1fc.ChildWidgetProperties);return _1fc;});},"url:dijit/templates/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\" data-dojo-attach-point=\"gridNode\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"decrementMonth\" scope=\"col\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\" scope=\"col\">\n\t\t\t\t<div data-dojo-attach-point=\"monthNode\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' scope=\"col\" data-dojo-attach-point=\"incrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr role=\"row\">\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"onclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\" role=\"presentation\">\n\t\t\t\t<div class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span data-dojo-attach-point=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\" role=\"button\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" role=\"button\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\" role=\"button\"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n","dijit/form/_AutoCompleterMixin":function(){define(["dojo/data/util/filter","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","dojo/string","./DataList","../registry","./_TextBoxMixin","./_SearchMixin"],function(_225,_226,_227,_228,keys,lang,_229,_22a,has,_22b,_22c,_22d,_22e,_22f){return _226("dijit.form._AutoCompleterMixin",_22f,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_230){var pos=0;if(typeof (_230.selectionStart)=="number"){pos=_230.selectionStart;}else{if(has("ie")){var tr=_230.ownerDocument.selection.createRange().duplicate();var ntr=_230.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_231,_232){_232=parseInt(_232);_22e.selectInputText(_231,_232,_232);},_setDisabledAttr:function(_233){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_233?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _234=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_234=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_234);}_228.stop(evt);break;case keys.ENTER:if(_234){if(_234==pw.nextButton){this._nextSearch(1);_228.stop(evt);break;}else{if(_234==pw.previousButton){this._nextSearch(-1);_228.stop(evt);break;}}_228.stop(evt);}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _235=this.get("displayedValue");if(pw&&(_235==pw._messages["previousMessage"]||_235==pw._messages["nextMessage"])){break;}if(_234){this._selectOption(_234);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_22e.selectInputText(fn,fn.value.length);var _236=this.ignoreCase?"toLowerCase":"substr";if(text[_236](0).indexOf(this.focusNode.value[_236](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_22e.selectInputText(fn,cpos);}}else{fn.value=text;_22e.selectInputText(fn);}},_openResultList:function(_237,_238,_239){var _23a=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_237.length&&_239.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_23b){_237.nextPage(_23b!==-1);this.focus();});this.dropDown.createOptions(_237,_239,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _239){if(_239.direction){this.dropDown.highlightFirstOption();}else{if(!_239.direction){this.dropDown.highlightLastOption();}}if(_23a){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_238[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");}},_setBlurValue:function(){var _23c=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_23c==pw._messages["previousMessage"]||_23c==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_23c);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_23d,_23e){var _23f="";if(item){if(!_23e){_23e=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_23f=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_23e;}this.set("value",_23f,_23d,_23e,item);},_announceOption:function(node){if(!node){return;}var _240;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_240=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_240=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_240);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_227.get(node,"id"));this._autoCompleteText(_240);},_selectOption:function(_241){this.closeDropDown();if(_241){this._announceOption(_241);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _242=this.id+"_popup",_243=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _243({onChange:lang.hitch(this,this._selectOption),id:_242,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store){var _244=this.srcNodeRef;this.store=new _22c({},_244);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _245=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_245):item[_245];}}}},postCreate:function(){var _246=_229("label[for=\""+this.id+"\"]");if(_246.length){if(!_246[0].id){_246[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_246[0].id);}this.inherited(arguments);this.connect(this,"onSearch","_openResultList");},_getMenuLabelFromItem:function(item){var _247=this.labelFunc(item,this.store),_248=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_247=this.doHighlight(_247,this._lastInput);_248="html";}return {html:_248=="html",label:_247};},doHighlight:function(_249,find){var _24a=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_22a.escapeString(find);return this._escapeHtml(_249.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_24a),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_24b){return (_24b._oldAPI?_24b.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_24c,_24d,_24e,item){this._set("item",item||null);if(_24c==null){_24c="";}this.inherited(arguments);},_setTextDirAttr:function(_24f){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_24f);}}});});},"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\" role=\"grid\">\n\t<table dojoAttachPoint=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"presentation\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"onclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\"  data-dojo-attach-point=\"focusNode\" role=\"button\">\n\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>","dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_250,_251,_252){return _250("dijit.form.MappedTextBox",_252,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_251.place("<input type='hidden'"+(this.name?" name=\""+this.name.replace(/"/g,"&quot;")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_253,_254,_255,lang,_256,_257,_258,_259,_25a){return _253("dijit.form.ComboBoxMixin",[_259,_257],{dropDownClass:_258,hasDownArrow:true,templateString:_25a,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_25b){if(!_25b.get){lang.mixin(_25b,{_oldAPI:true,get:function(id){var _25c=new _254();this.fetchItemByIdentity({identity:id,onItem:function(_25d){_25c.resolve(_25d);},onError:function(_25e){_25c.reject(_25e);}});return _25c.promise;},query:function(_25f,_260){var _261=new _254(function(){_262.abort&&_262.abort();});_261.total=new _254();var _262=this.fetch(lang.mixin({query:_25f,onBegin:function(_263){_261.total.resolve(_263);},onComplete:function(_264){_261.resolve(_264);},onError:function(_265){_261.reject(_265);}},_260));return _256(_261);}});}this._set("store",_25b);},postMixInProperties:function(){var _266=this.params.store||this.store;if(_266){this._setStoreAttr(_266);}this.inherited(arguments);if(!this.params.store&&!this.store._oldAPI){var _267=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_255.deprecated(_267+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_255.deprecated(_267+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return item.name;},fetch:function(args){_255.deprecated(_267+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_268){new _268({objectStore:this}).fetch(args);}));}});}}});});},"dojo/_base/query":function(){define(["../query","./NodeList"],function(_269){return _269;});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_26a,_26b,dom,_26c,keys,lang,on,_26d){var _26e=_26b("dijit.form._TextBoxMixin",null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_26f,_270,_271){var _272;if(_26f!==undefined){_272=this.filter(_26f);if(typeof _271!="string"){if(_272!==null&&((typeof _272!="number")||!isNaN(_272))){_271=this.filter(this.format(_272,this.constraints));}else{_271="";}}}if(_271!=null&&((typeof _271)!="number"||!isNaN(_271))&&this.textbox.value!=_271){this.textbox.value=_271;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_271);}this.inherited(arguments,[_272,_270]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_273){if(_273==null){_273="";}else{if(typeof _273!="string"){_273=String(_273);}}this.textbox.value=_273;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_273);}},format:function(_274){return _274==null?"":(_274.toString?_274.toString():_274);},parse:function(_275){return _275;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(evt){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._processInput(evt);if(this.intermediateChanges){this.defer(function(){this._handleOnChange(this.get("value"),false);});}},_processInput:function(evt){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _276=function(e){var _277;if(e.type=="keydown"){_277=e.keyCode;switch(_277){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_277){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_277>=65&&_277<=90)||(_277>=48&&_277<=57)||_277==keys.SPACE){return;}var _278=false;for(var i in keys){if(keys[i]===e.keyCode){_278=true;break;}}if(!_278){return;}}}_277=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_277){_277=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_277){_277=229;}if(e.type=="keypress"){if(typeof _277!="string"){return;}if((_277>="a"&&_277<="z")||(_277>="A"&&_277<="Z")||(_277>="0"&&_277<="9")||(_277===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux={faux:true},attr;for(attr in e){if(attr!="layerX"&&attr!="layerY"){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_277,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}this.defer(function(){this._onInput(faux);});};this.own(on(this.textbox,"keydown, keypress, paste, cut, input, compositionend",lang.hitch(this,_276)));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;if(!this._isTextSelected()){_26e.selectInputText(this.textbox);}});this.defer(function(){if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_279){if(!this._created||this.textDir!=_279){this._set("textDir",_279);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_26e._setSelectionRange=_26d._setSelectionRange=function(_27a,_27b,stop){if(_27a.setSelectionRange){_27a.setSelectionRange(_27b,stop);}};_26e.selectInputText=_26d.selectInputText=function(_27c,_27d,stop){_27c=dom.byId(_27c);if(isNaN(_27d)){_27d=0;}if(isNaN(stop)){stop=_27c.value?_27c.value.length:0;}try{_27c.focus();_26e._setSelectionRange(_27c,_27d,stop);}catch(e){}};return _26e;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_27e,_27f,has,_280){return _27e("dijit.form.SimpleTextarea",_280,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} data-dojo-attach-point='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_27f.add(this.textbox,"dijitTextAreaCols");}},filter:function(_281){if(_281){_281=_281.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _282=parseInt(this.maxLength);var _283=this.textbox.value.replace(/\r/g,"");var _284=_283.length-_282;if(_284>0){var _285=this.textbox;if(_285.selectionStart){var pos=_285.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_283.substring(0,pos-_284-cr)+_283.substring(pos-cr);_285.setSelectionRange(pos-_284,pos-_284);}else{if(this.ownerDocument.selection){_285.focus();var _286=this.ownerDocument.selection.createRange();_286.moveStart("character",-_284);_286.text="";_286.select();}}}}this.inherited(arguments);}});});},"url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" data-dojo-attach-point='iconNode'/>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t  role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\n","dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/query","./registry","./MenuItem","./hccss"],function(_287,_288,_289,_28a,_28b){return _287("dijit.PopupMenuItem",_28b,{_fillContent:function(){if(this.srcNodeRef){var _28c=_289("*",this.srcNodeRef);this.inherited(arguments,[_28c[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_289("[widgetId]",this.dropDownContainer)[0];this.popup=_28a.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_288.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_28d){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_28d);}delete this.popup;}this.inherited(arguments);}});});},"dijit/_TimePicker":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/query","dojo/mouse","./typematic","./_Widget","./_TemplatedMixin","./form/_FormValueWidget","dojo/text!./templates/TimePicker.html"],function(_28e,_28f,_290,_291,_292,_293,_294,_295,_296,keys,lang,has,_297,_298,_299,_29a,_29b,_29c,_29d){var _29e=_292("dijit._TimePicker",[_29a,_29b],{templateString:_29d,baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_291.toISOString,setValue:function(_29f){_296.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_29f);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_2a0,_2a1,_2a2,_2a3){var _2a4=[],_2a5=_2a3?_2a3.date:this._refDate,n,i=_2a0,max=this._maxIncrement+Math.abs(i),chk=_2a2?-1:1,dec=_2a2?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_2a2&&n.date>_2a5)||(!_2a2&&n.date<_2a5)){break;}_2a4[_2a2?"unshift":"push"](n);_2a5=n.date;}i+=inc;}while(_2a4.length<_2a1&&(i*chk)<max);return _2a4;},_showText:function(){var _2a6=_291.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_2a6(this.clickableIncrement);this._visibleIncrementDate=_2a6(this.visibleIncrement);this._visibleRangeDate=_2a6(this.visibleRange);var _2a7=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_2a8=_2a7(this._clickableIncrementDate),_2a9=_2a7(this._visibleIncrementDate),_2aa=_2a7(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_2a8*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_2aa/_2a8;this._visibleIncrement=_2a9/_2a8;this._maxIncrement=(60*60*24)/_2a8;var _2ab=Math.min(this._totalIncrements,10),_2ac=this._getFilteredNodes(0,(_2ab>>1)+1,false),_2ad=[],_2ae=_2ab-_2ac.length,_2af=this._getFilteredNodes(0,_2ae,true,_2ac[0]);if(_2af.length<_2ae&&_2ac.length>0){_2ad=this._getFilteredNodes(_2ac[_2ac.length-1].idx+1,_2ae-_2af.length,false,_2ac[_2ac.length-1]);}_28e.forEach(_2af.concat(_2ac,_2ad),function(n){this.timeMenu.appendChild(n);},this);if(!_2af.length&&!_2ac.length&&!_2ad.length&&this.filterString){this.filterString="";this._showText();}},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_2b0){for(var key in {clickableIncrement:1,visibleIncrement:1,visibleRange:1}){if(key in _2b0){this[key]=_2b0[key];}}if(!_2b0.locale){_2b0.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,_298.wheel,"_mouseWheeled");this.own(_299.addMouseListener(this.upArrow,this,"_onArrowUp",33,250),_299.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_293.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_2b1){var date=new Date(this._refDate);var _2b2=this._clickableIncrementDate;date.setTime(date.getTime()+_2b2.getHours()*_2b1*3600000+_2b2.getMinutes()*_2b1*60000+_2b2.getSeconds()*_2b1*1000);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _2b3=_290.format(date,this.constraints);if(this.filterString&&_2b3.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=this.ownerDocument.createElement("div");div.className=this.baseClass+"Item";div.date=date;div.idx=_2b1;_294.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_2b3},div);if(_2b1%this._visibleIncrement<1&&_2b1%this._visibleIncrement>-1){_293.add(div,this.baseClass+"Marker");}else{if(!(_2b1%this._clickableIncrement)){_293.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_293.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_28f.compare(this.value,date,this.constraints.selector)){div.selected=true;_293.add(div,this.baseClass+"ItemSelected");if(_293.contains(div,this.baseClass+"Marker")){_293.add(div,this.baseClass+"MarkerSelected");}else{_293.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _2b4=tgt.target.date||tgt.target.parentNode.date;if(!_2b4||this.isDisabledDate(_2b4)){return;}this._highlighted_option=null;this.set("value",_2b4);this.onChange(_2b4);},onChange:function(){},_highlightOption:function(node,_2b5){if(!node){return;}if(_2b5){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}_293.toggle(node,this.baseClass+"ItemHover",_2b5);if(_293.contains(node,this.baseClass+"Marker")){_293.toggle(node,this.baseClass+"MarkerHover",_2b5);}else{_293.toggle(node,this.baseClass+"TickHover",_2b5);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_293.contains(tgr,this.baseClass+"Item")){return;}this._highlightOption(tgr,true);},onmouseout:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlightOption(tgr,false);},_mouseWheeled:function(e){this._keyboardSelected=null;_295.stop(e);this[(e.wheelDelta>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_2b6){if(_2b6===-1){_293.remove(this.upArrow,"dijitUpArrowActive");return;}else{if(_2b6===0){_293.add(this.upArrow,"dijitUpArrowActive");}}if(!this.timeMenu.childNodes.length){return;}var _2b7=this.timeMenu.childNodes[0].idx;var divs=this._getFilteredNodes(_2b7,1,true,this.timeMenu.childNodes[0]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(divs[0],this.timeMenu.childNodes[0]);}},_onArrowDown:function(_2b8){if(_2b8===-1){_293.remove(this.downArrow,"dijitDownArrowActive");return;}else{if(_2b8===0){_293.add(this.downArrow,"dijitDownArrowActive");}}if(!this.timeMenu.childNodes.length){return;}var _2b9=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].idx+1;var divs=this._getFilteredNodes(_2b9,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){if(e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.UP_ARROW){_295.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _2ba=this.timeMenu,tgt=this._highlighted_option||_297("."+this.baseClass+"ItemSelected",_2ba)[0];if(!tgt){tgt=_2ba.childNodes[0];}else{if(_2ba.childNodes.length){if(e.keyCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.keyCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.keyCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.keyCode==keys.ENTER||e.keyCode===keys.TAB){if(!this._keyboardSelected&&e.keyCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.keyCode===keys.TAB;}}return undefined;}});return _29e;});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_2bb,_2bc,_2bd){return _2bb("dijit.form.RadioButton",[_2bc,_2bd],{baseClass:"dijitRadio"});});},"url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"topDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" data-dojo-attach-event=\"press:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"containerNode,bottomDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n","url:dijit/templates/TimePicker.html":"<div id=\"widget_${id}\" class=\"dijitMenu\"\n    ><div data-dojo-attach-point=\"upArrow\" class=\"dijitButtonNode dijitUpArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&#160;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9650;</div></div\n    ><div data-dojo-attach-point=\"timeMenu,focusNode\" data-dojo-attach-event=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n    ><div data-dojo-attach-point=\"downArrow\" class=\"dijitButtonNode dijitDownArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&#160;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div></div\n></div>\n","dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/_base/event","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/when","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_2be,_2bf,_2c0,_2c1,_2c2,_2c3,_2c4,_2c5,i18n,_2c6,keys,lang,has,when,fm,_2c7,_2c8,_2c9,_2ca,_2cb,_2cc,_2cd,_2ce){var _2cf=_2c0("dijit._InlineEditor",[_2c7,_2c8,_2c9],{templateString:_2ce,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_2bf.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var Cls=typeof this.editor=="string"?(lang.getObject(this.editor)||_2be(this.editor)):this.editor;var _2d0=this.sourceStyle,_2d1="line-height:"+_2d0.lineHeight+";",_2d2=_2c4.getComputedStyle(this.domNode);_2bf.forEach(["Weight","Family","Size","Style"],function(prop){var _2d3=_2d0["font"+prop],_2d4=_2d2["font"+prop];if(_2d4!=_2d3){_2d1+="font-"+prop+":"+_2d0["font"+prop]+";";}},this);_2bf.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_2d0[prop];},this);var _2d5=this.inlineEditBox.width;if(_2d5=="100%"){_2d1+="width:100%;";this.domNode.style.display="block";}else{_2d1+="width:"+(_2d5+(Number(_2d5)==_2d5?"px":""))+";";}var _2d6=lang.delegate(this.inlineEditBox.editorParams,{style:_2d1,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_2d6,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_2c3.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get(("displayedValue" in ew||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_2c5.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_2c5.stop(e);this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_2cc.selectInputText(this.editWidget.focusNode);});}}}});var _2d7=_2c0("dijit.InlineEditBox",_2c7,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_2cd,editorWrapper:_2cf,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;var _2d8={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _2d8){this.connect(this.displayNode,name,_2d8[name]);}this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_2c2.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_2d9){_2c6.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_2d9);},_setDisabledAttr:function(_2da){this.domNode.setAttribute("aria-disabled",_2da?"true":"false");if(_2da){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_2c2.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_2da);this._set("disabled",_2da);},_onMouseOver:function(){if(!this.disabled){_2c2.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_2c2.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_2c5.stop(e);}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_2c1.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _2db=_2c3.create("span",null,this.domNode,"before");var Ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new Ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_2c4.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_2db);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_2c2.add(this.displayNode,"dijitOffScreen");_2c2.remove(ww.domNode,"dijitOffScreen");_2c4.set(ww.domNode,{visibility:"visible"});_2c1.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){ww.saveButton.set("disabled","intermediateChanges" in ew);this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_2dc){var ww=this.wrapperWidget;_2c4.set(ww.domNode,{visibility:"hidden"});_2c2.add(ww.domNode,"dijitOffScreen");_2c2.remove(this.displayNode,"dijitOffScreen");_2c1.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_2dc){fm.focus(this.displayNode);}},save:function(_2dd){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _2de=ww.getValue();this.set("value",_2de);this._showText(_2dd);},setValue:function(val){_2c6.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _2df=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_2df||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_2c6.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_2e0){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_2e0);},_setTextDirAttr:function(_2e1){if(!this._created||this.textDir!=_2e1){this._set("textDir",_2e1);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_2d7._InlineEditor=_2cf;return _2d7;});},"dojo/dnd/autoscroll":function(){define(["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_2e2,_2e3,_2e4){var _2e5={};lang.setObject("dojo.dnd.autoscroll",_2e5);_2e5.getViewport=_2e4.getBox;_2e5.V_TRIGGER_AUTOSCROLL=32;_2e5.H_TRIGGER_AUTOSCROLL=32;_2e5.V_AUTOSCROLL_VALUE=16;_2e5.H_AUTOSCROLL_VALUE=16;var _2e6,doc=win.doc,_2e7=Infinity,_2e8=Infinity;_2e5.autoScrollStart=function(d){doc=d;_2e6=_2e4.getBox(doc);var html=win.body(doc).parentNode;_2e7=Math.max(html.scrollHeight-_2e6.h,0);_2e8=Math.max(html.scrollWidth-_2e6.w,0);};_2e5.autoScroll=function(e){var v=_2e6||_2e4.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_2e5.H_TRIGGER_AUTOSCROLL){dx=-_2e5.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_2e5.H_TRIGGER_AUTOSCROLL){dx=Math.min(_2e5.H_AUTOSCROLL_VALUE,_2e8-html.scrollLeft);}}if(e.clientY<_2e5.V_TRIGGER_AUTOSCROLL){dy=-_2e5.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_2e5.V_TRIGGER_AUTOSCROLL){dy=Math.min(_2e5.V_AUTOSCROLL_VALUE,_2e7-html.scrollTop);}}window.scrollBy(dx,dy);};_2e5._validNodes={"div":1,"p":1,"td":1};_2e5._validOverflow={"auto":1,"scroll":1};_2e5.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_2e9,_2ea;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _2e5._validNodes)){var s=_2e3.getComputedStyle(n),_2eb=(s.overflow.toLowerCase() in _2e5._validOverflow),_2ec=(s.overflowX.toLowerCase() in _2e5._validOverflow),_2ed=(s.overflowY.toLowerCase() in _2e5._validOverflow);if(_2eb||_2ec||_2ed){b=_2e2.getContentBox(n,s);t=_2e2.position(n,true);}if(_2eb||_2ec){w=Math.min(_2e5.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_2e9=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_2eb||_2ed){h=Math.min(_2e5.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_2ea=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_2e5.autoScroll(e);};return _2e5;});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","../registry"],function(_2ee,_2ef,_2f0,_2f1,lang,_2f2,_2f3){return _2ef("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_2f2("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_2f4){if(_2f4.name==this.name&&_2f4.form==this.focusNode.form){var _2f5=_2f3.getEnclosingWidget(_2f4);if(_2f5){ary.push(_2f5);}}}));return ary;},_setCheckedAttr:function(_2f6){this.inherited(arguments);if(!this._created){return;}if(_2f6){_2ee.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_2f7){if(_2f7!=this&&_2f7.checked){_2f7.set("checked",false);}}));}},_getSubmitValue:function(_2f8){return _2f8==null?"on":_2f8;},_onClick:function(e){if(this.checked||this.disabled){_2f1.stop(e);return false;}if(this.readOnly){_2f1.stop(e);_2ee.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_2f9){_2f0.set(this.focusNode||this.domNode,"checked",_2f9.checked);}));return false;}return this.inherited(arguments);}});});},"url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow dijitInline\" role=\"presentation\"\n\t\t><div data-dojo-attach-point=\"indentNode\" class=\"dijitInline\"></div\n\t\t><img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"expandoNode\" class=\"dijitTreeExpando\" role=\"presentation\"\n\t\t/><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"\n\t\t></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"iconNode\" class=\"dijitIcon dijitTreeIcon\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"labelNode\" class=\"dijitTreeLabel\" role=\"treeitem\"\n\t\t\t\t\ttabindex=\"-1\" aria-selected=\"false\" id=\"${id}_label\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\"\n\t\t style=\"display: none;\" aria-labelledby=\"${id}_label\"></div>\n</div>\n","dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_2fa,_2fb){var _2fc=_2fb.prototype.onMove;return _2fa("dojo.dnd.TimedMoveable",_2fb,{timeout:40,constructor:function(node,_2fd){if(!_2fd){_2fd={};}if(_2fd.timeout&&typeof _2fd.timeout=="number"&&_2fd.timeout>=0){this.timeout=_2fd.timeout;}},onMoveStop:function(_2fe){if(_2fe._timer){clearTimeout(_2fe._timer);_2fc.call(this,_2fe,_2fe._leftTop);}_2fb.prototype.onMoveStop.apply(this,arguments);},onMove:function(_2ff,_300){_2ff._leftTop=_300;if(!_2ff._timer){var _301=this;_2ff._timer=setTimeout(function(){_2ff._timer=null;_2fc.call(_301,_2ff,_2ff._leftTop);},this.timeout);}}});});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_302,_303,_304){return _304("dijit.layout.LinkPane",[_302,_303],{templateString:"<div class=\"dijitLinkPane\" data-dojo-attach-point=\"containerNode\"></div>",postMixInProperties:function(){if(this.srcNodeRef){this.title+=this.srcNodeRef.innerHTML;}this.inherited(arguments);},_fillContent:function(){}});});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/mouse","dojo/on","dojo/touch","./_ListBase"],function(_305,_306,on,_307,_308){return _305("dijit.form._ListMouseMixin",_308,{postCreate:function(){this.inherited(arguments);this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_309){this._setSelectedAttr(_309,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_309);});},_onMouseDown:function(evt,_30a){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_30a,false);},_onMouseUp:function(evt,_30b){this._isDragging=false;var _30c=this.selected;var _30d=this._hoveredNode;if(_30c&&_30b==_30c){this.defer(function(){this._onClick(evt,_30c);});}else{if(_30d){this.defer(function(){this._onClick(evt,_30d);});}}},_onMouseOut:function(evt,_30e){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_30f){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_30f;this.onHover(_30f);if(this._isDragging){this._setSelectedAttr(_30f,false);}}});});},"url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\n","dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(dojo,lang){var _310={};lang.setObject("dojo.cldr.monetary",_310);_310.getData=function(code){var _311={ADP:0,AFN:0,ALL:0,AMD:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,COP:0,CRC:0,DJF:0,ESP:0,GNF:0,GYD:0,HUF:0,IDR:0,IQD:0,IRR:3,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:0,MRO:0,MUR:0,OMR:3,PKR:0,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TZS:0,UGX:0,UZS:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0};var _312={CHF:5};var _313=_311[code],_314=_312[code];if(typeof _313=="undefined"){_313=2;}if(typeof _314=="undefined"){_314=0;}return {places:_313,round:_314};};return _310;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_315){dojo.cookie=function(name,_316,_317){var c=document.cookie,ret;if(arguments.length==1){var _318=c.match(new RegExp("(?:^|; )"+_315.escapeString(name)+"=([^;]*)"));ret=_318?decodeURIComponent(_318[1]):undefined;}else{_317=_317||{};var exp=_317.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_317.expires=d;}if(exp&&exp.toUTCString){_317.expires=exp.toUTCString();}_316=encodeURIComponent(_316);var _319=name+"="+_316,_31a;for(_31a in _317){_319+="; "+_31a;var _31b=_317[_31a];if(_31b!==true){_319+="="+_31b;}}document.cookie=_319;}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;});},"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\taria-haspopup=\"true\"\n\tdata-dojo-attach-point=\"_popupStateNode\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\"\n\t/></div\n></div>\n","dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_31c,_31d,_31e,lang,_31f,_320,_321,_322){return _31d("dijit.ProgressBar",[_320,_321],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_322,_indeterminateHighContrastImagePath:_31c.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},update:function(_323){lang.mixin(this,_323||{});var tip=this.internalProgress,ap=this.domNode;var _324=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_324=Math.min(parseFloat(this.progress)/100,1);this.progress=_324*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_324=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(_324);_31e.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_324*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(_325){this._set("label",_325);this.update();},_setIndeterminateAttr:function(_326){this.indeterminate=_326;this.update();},report:function(_327){return this.label?this.label:(this.indeterminate?"&#160;":_31f.format(_327,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(_328,lang,_329,_32a){var _32b=_328("dijit.form.NumberTextBoxMixin",null,{pattern:_329.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:_329.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_32c){var _32d=typeof _32c.places=="number"?_32c.places:0;if(_32d){_32d++;}if(typeof _32c.max!="number"){_32c.max=9*Math.pow(10,15-_32d);}if(typeof _32c.min!="number"){_32c.min=-9*Math.pow(10,15-_32d);}this.inherited(arguments,[_32c]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled||this.readOnly){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _32e=this.format(val,this.constraints);if(_32e!==undefined){this.textbox.value=_32e;}}this.inherited(arguments);},format:function(_32f,_330){var _331=String(_32f);if(typeof _32f!="number"){return _331;}if(isNaN(_32f)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_32f,_330))&&_330.exponent!==false&&/\de[-+]?\d/i.test(_331)){return _331;}if(this.editOptions&&this.focused){_330=lang.mixin({},_330,this.editOptions);}return this._formatter(_32f,_330);},_parser:_329.parse,parse:function(_332,_333){var v=this._parser(_332,lang.mixin({},_333,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_332,_333);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_334){return (_334==null||_334==="")?NaN:this.inherited(arguments);},serialize:function(_335,_336){return (typeof _335!="number"||isNaN(_335))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.mixin({},this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_337,_338,_339){if(_337!==undefined&&_339===undefined){_339=String(_337);if(typeof _337=="number"){if(isNaN(_337)){_339="";}else{if(("rangeCheck" in this&&this.rangeCheck(_337,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_339)){_339=undefined;}}}else{if(!_337){_339="";_337=NaN;}else{_337=undefined;}}}this.inherited(arguments,[_337,_338,_339]);},_getValueAttr:function(){var v=this.inherited(arguments);if(isNaN(v)&&this.textbox.value!==""){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+_329._realNumberRegexp(lang.mixin({},this.constraints))+"$").test(this.textbox.value))){var n=Number(this.textbox.value);return isNaN(n)?undefined:n;}else{return undefined;}}else{return v;}},isValid:function(_33a){if(!this.focused||this._isEmpty(this.textbox.value)){return this.inherited(arguments);}else{var v=this.get("value");if(!isNaN(v)&&this.rangeCheck(v,this.constraints)){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)){return true;}else{return this.inherited(arguments);}}else{return false;}}}});var _33b=_328("dijit.form.NumberTextBox",[_32a,_32b],{baseClass:"dijitTextBox dijitNumberTextBox"});_33b.Mixin=_32b;return _33b;});},"dijit/form/TimeTextBox":function(){define("dijit/form/TimeTextBox",["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_33c,keys,lang,_33d,_33e){return _33c("dijit.form.TimeTextBox",_33e,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_33d,_selector:"time",value:new Date(""),_onKey:function(evt){if(this.disabled||this.readOnly){return;}this.inherited(arguments);switch(evt.keyCode){case keys.ENTER:case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:break;default:this.defer(function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();});}}});});},"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_33f,_340,_341,_342,_343,has,i18n,_344,_345,_346,_347){var _348=_345("dijit.ColorPalette",[_341,_342,_343],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_340,baseClass:"dijitColorPalette",_dyeFactory:function(_349,row,col,_34a){return new this._dyeClass(_349,row,col,_34a);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_345(_348._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_348._Color=_345("dijit._Color",_344,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' title='${title}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' title='${title}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_33f.toUrl("./themes/a11y/colors7x10.png"),"3x4":_33f.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_34b,row,col,_34c){this._title=_34c;this._row=row;this._col=col;this.setColor(_344.named[_34b]);},getValue:function(){return this.toHex();},fillCell:function(cell,_34d){var html=_347.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_34d,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_346.place(html,cell);}});return _348;});},"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_34e,_34f,lang,_350){return _34f("dijit.form.CurrencyTextBox",_350,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",pattern:function(_351){return "("+(this.focused?this.inherited(arguments,[lang.mixin({},_351,this.editOptions)])+"|":"")+_34e.regexp(_351)+")";},_formatter:_34e.format,_parser:_34e.parse,parse:function(_352,_353){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_352)){v=lang.hitch(lang.mixin({},this,{_parser:_350.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_354){if(!_354.currency&&this.currency){_354.currency=this.currency;}this.inherited(arguments,[_34e._mixInDefaults(lang.mixin(_354,{exponent:false}))]);}});});},"url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n","url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n","url:dijit/form/templates/VerticalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderV\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td data-dojo-attach-point=\"leftDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV\"></td\n\t\t><td class=\"dijitReset dijitSliderDecorationC\" style=\"height:100%;\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" data-dojo-attach-event=\"press:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableV\" style=\"vertical-align:top;\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point=\"containerNode,rightDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></table>\n","dijit/layout/LayoutContainer":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","../_WidgetBase","./_LayoutWidget","./utils"],function(_355,lang,_356,_357,_358,_359){var _35a=_356("dijit.layout.LayoutContainer",_358,{baseClass:"dijitLayoutContainer",constructor:function(){_355.deprecated("dijit.layout.LayoutContainer is deprecated","use BorderContainer instead",2);},layout:function(){_359.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_35b,_35c){this.inherited(arguments);if(this._started){_359.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_35d){this.inherited(arguments);if(this._started){_359.layoutChildren(this.domNode,this._contentBox,this.getChildren());}}});_35a.ChildWidgetProperties={layoutAlign:"none"};lang.extend(_357,_35a.ChildWidgetProperties);return _35a;});},"dijit/Tooltip":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_35e,_35f,fx,dom,_360,_361,_362,lang,_363,on,has,_364,_365,_366,_367,_368,_369,_36a){var _36b=_35f("dijit._MasterTooltip",[_366,_367],{duration:_364.defaultDuration,templateString:_369,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _368(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_36c,_36d,_36e,rtl,_36f){if(this.aroundNode&&this.aroundNode===_36d&&this.containerNode.innerHTML==_36c){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_36c;if(_36f){this.set("textDir",_36f);}this.containerNode.align=rtl?"right":"left";var pos=_365.around(this.domNode,_36d,_36e&&_36e.length?_36e:_370.defaultPosition,!rtl,lang.hitch(this,"orient"));var _371=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_371.y+((_371.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=_371.x+((_371.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_362.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_36d;},orient:function(node,_372,_373,_374,_375){this.connectorNode.style.top="";var _376=_374.h,_377=_374.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_372+"-"+_373];this.domNode.style.width="auto";var size=_361.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _378=Math.min((Math.max(_377,1)),size.w);_361.setMarginBox(this.domNode,{w:_378});if(_373.charAt(0)=="B"&&_372.charAt(0)=="B"){var bb=_361.position(node);var _379=this.connectorNode.offsetHeight;if(bb.h>_376){var _37a=_376-((_375.h+_379)>>1);this.connectorNode.style.top=_37a+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_375.h/2-_379/2,0),bb.h-_379)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_377);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_37b){if(this._onDeck&&this._onDeck[1]==_37b){this._onDeck=null;}else{if(this.aroundNode===_37b){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_35e.forEach(node.children,function(_37c){this._setAutoTextDir(_37c);},this);},_setTextDirAttr:function(_37d){this._set("textDir",_37d);if(_37d=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_36a.showTooltip=function(_37e,_37f,_380,rtl,_381){if(_380){_380=_35e.map(_380,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_370._masterTT){_36a._masterTT=_370._masterTT=new _36b();}return _370._masterTT.show(_37e,_37f,_380,rtl,_381);};_36a.hideTooltip=function(_382){return _370._masterTT&&_370._masterTT.hide(_382);};var _370=_35f("dijit.Tooltip",_366,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_383){_35e.forEach(this._connections||[],function(_384){_35e.forEach(_384,function(_385){_385.remove();});},this);this._connectIds=_35e.filter(lang.isArrayLike(_383)?_383:(_383?[_383]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_35e.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_386=this.selector,_387=_386?function(_388){return on.selector(_386,_388);}:function(_389){return _389;},self=this;return [on(node,_387(_363.enter),function(){self._onHover(this);}),on(node,_387("focusin"),function(){self._onHover(this);}),on(node,_387(_363.leave),lang.hitch(self,"_onUnHover")),on(node,_387("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_383);},addTarget:function(node){var id=node.id||node;if(_35e.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_35e.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_360.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_35e.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_38a){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_38a);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_38b){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _38c=this.getContent(_38b);if(!_38c){return;}_370.show(_38c,_38b,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_38b;this.onShow(_38b,this.position);},close:function(){if(this._connectNode){_370.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}},onShow:function(){},onHide:function(){},destroy:function(){this.close();_35e.forEach(this._connections||[],function(_38d){_35e.forEach(_38d,function(_38e){_38e.remove();});},this);this.inherited(arguments);}});_370._MasterTooltip=_36b;_370.show=_36a.showTooltip;_370.hide=_36a.hideTooltip;_370.defaultPosition=["after-centered","before-centered"];return _370;});},"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\" role=\"separator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>","dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_38f,_390,_391){return _38f("dijit.form.VerticalSlider",_390,{templateString:_391,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_392,lang,_393,_394,_395,_396,_397,_398,_399){return _392("dijit.form.DropDownButton",[_396,_397,_398],{baseClass:"dijitDropDownButton",templateString:_399,_fillContent:function(){if(this.srcNodeRef){var _39a=_393("*",this.srcNodeRef);this.inherited(arguments,[_39a[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _39b=_393("[widgetId]",this.dropDownContainer)[0];this.dropDown=_394.byNode(_39b);delete this.dropDownContainer;}if(this.dropDown){_395.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _39c=this.dropDown;return (!!_39c&&(!_39c.href||_39c.isLoaded));},loadDropDown:function(_39d){var _39e=this.dropDown;var _39f=_39e.on("load",lang.hitch(this,function(){_39f.remove();_39d();}));_39e.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div  data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><img data-dojo-attach-point=\"indeterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\" alt=\"\"\n/></div>\n","dojo/date":function(){define(["./has","./_base/lang"],function(has,lang){var date={};date.getDaysInMonth=function(_3a0){var _3a1=_3a0.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_3a1==1&&date.isLeapYear(_3a0)){return 29;}return days[_3a1];};date.isLeapYear=function(_3a2){var year=_3a2.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};date.getTimezoneName=function(_3a3){var str=_3a3.toString();var tz="";var _3a4;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_3a4=str.match(pat))){tz=_3a4[1];}else{str=_3a3.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_3a4=str.match(pat))){tz=_3a4[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};date.compare=function(_3a5,_3a6,_3a7){_3a5=new Date(+_3a5);_3a6=new Date(+(_3a6||new Date()));if(_3a7=="date"){_3a5.setHours(0,0,0,0);_3a6.setHours(0,0,0,0);}else{if(_3a7=="time"){_3a5.setFullYear(0,0,0);_3a6.setFullYear(0,0,0);}}if(_3a5>_3a6){return 1;}if(_3a5<_3a6){return -1;}return 0;};date.add=function(date,_3a8,_3a9){var sum=new Date(+date);var _3aa=false;var _3ab="Date";switch(_3a8){case "day":break;case "weekday":var days,_3ac;var mod=_3a9%5;if(!mod){days=(_3a9>0)?5:-5;_3ac=(_3a9>0)?((_3a9-5)/5):((_3a9+5)/5);}else{days=mod;_3ac=parseInt(_3a9/5);}var strt=date.getDay();var adj=0;if(strt==6&&_3a9>0){adj=1;}else{if(strt==0&&_3a9<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_3a9>0)?2:-2;}_3a9=(7*_3ac)+days+adj;break;case "year":_3ab="FullYear";_3aa=true;break;case "week":_3a9*=7;break;case "quarter":_3a9*=3;case "month":_3aa=true;_3ab="Month";break;default:_3ab="UTC"+_3a8.charAt(0).toUpperCase()+_3a8.substring(1)+"s";}if(_3ab){sum["set"+_3ab](sum["get"+_3ab]()+_3a9);}if(_3aa&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};date.difference=function(_3ad,_3ae,_3af){_3ae=_3ae||new Date();_3af=_3af||"day";var _3b0=_3ae.getFullYear()-_3ad.getFullYear();var _3b1=1;switch(_3af){case "quarter":var m1=_3ad.getMonth();var m2=_3ae.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_3b0*4);_3b1=q2-q1;break;case "weekday":var days=Math.round(date.difference(_3ad,_3ae,"day"));var _3b2=parseInt(date.difference(_3ad,_3ae,"week"));var mod=days%7;if(mod==0){days=_3b2*5;}else{var adj=0;var aDay=_3ad.getDay();var bDay=_3ae.getDay();_3b2=parseInt(days/7);mod=days%7;var _3b3=new Date(_3ad);_3b3.setDate(_3b3.getDate()+(_3b2*7));var _3b4=_3b3.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_3b4+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_3b4+mod)<0:adj=2;}}}days+=adj;days-=(_3b2*2);}_3b1=days;break;case "year":_3b1=_3b0;break;case "month":_3b1=(_3ae.getMonth()-_3ad.getMonth())+(_3b0*12);break;case "week":_3b1=parseInt(date.difference(_3ad,_3ae,"day")/7);break;case "day":_3b1/=24;case "hour":_3b1/=60;case "minute":_3b1/=60;case "second":_3b1/=1000;case "millisecond":_3b1*=_3ae.getTime()-_3ad.getTime();}return Math.round(_3b1);};1&&lang.mixin(lang.getObject("dojo.date",true),date);return date;});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","dojo/sniff","../registry","../Viewport","./utils"],function(_3b5,_3b6,_3b7,_3b8,_3b9,lang,_3ba,has,_3bb,_3bc,_3bd){return _3b6("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _3be=this.getParent();this._childOfLayoutWidget=_3be&&_3be.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_3bc.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){var _3bf=[],_3c0=false;_3ba("> *",this.containerNode).some(function(node){var _3c1=_3bb.byNode(node);if(_3c1&&_3c1.resize){_3bf.push(_3c1);}else{if(node.offsetHeight){_3c0=true;}}});this._singleChild=_3bf.length==1&&!_3c0?_3bf[0]:null;_3b7.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_3c2,_3c3){this._resizeCalled=true;this._scheduleLayout(_3c2,_3c3);},_scheduleLayout:function(_3c4,_3c5){if(this._isShown()){this._layout(_3c4,_3c5);}else{this._needLayout=true;this._changeSize=_3c4;this._resultSize=_3c5;}},_layout:function(_3c6,_3c7){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_3c6){_3b8.setMarginBox(this.domNode,_3c6);}var cn=this.containerNode;if(cn===this.domNode){var mb=_3c7||{};lang.mixin(mb,_3c6||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_3b8.getMarginBox(cn),mb);}this._contentBox=_3bd.marginBox2contentBox(cn,mb);}else{this._contentBox=_3b8.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_3b8.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_3b5.forEach(this.getChildren(),function(_3c8){if(_3c8.resize){_3c8.resize();}});}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_3c9=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_3b7.contains(node,"dijitHidden")&&_3c9&&_3c9.style&&(_3c9.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_3ca,i18n,_3cb){var _3cc=_3ca("dijit.form.RangeBoundTextBox",_3cb,{rangeMessage:"",rangeCheck:function(_3cd,_3ce){return ("min" in _3ce?(this.compare(_3cd,_3ce.min)>=0):true)&&("max" in _3ce?(this.compare(_3cd,_3ce.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");if(val==null){return false;}var _3cf=false;if("min" in this.constraints){var min=this.constraints.min;_3cf=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min)<0;}if(!_3cf&&("max" in this.constraints)){var max=this.constraints.max;_3cf=this.compare(val,((typeof max!="number")||max>0)?max:0)>0;}return _3cf;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_3d0){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_3d0));},getErrorMessage:function(_3d1){var v=this.get("value");if(v!=null&&v!==""&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_3d1)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},applyTextDir:function(){}});return _3cc;});},"dijit/_editor/RichText":function(){define("dijit/_editor/RichText",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/query","dojo/ready","dojo/sniff","dojo/topic","dojo/_base/unload","dojo/_base/url","dojo/_base/window","../_Widget","../_CssStateMixin","./selection","./range","./html","../focus","../main"],function(_3d2,_3d3,_3d4,_3d5,dom,_3d6,_3d7,_3d8,_3d9,_3da,_3db,_3dc,keys,lang,on,_3dd,_3de,has,_3df,_3e0,_3e1,win,_3e2,_3e3,_3e4,_3e5,_3e6,_3e7,_3e8){var _3e9=_3d4("dijit._editor.RichText",[_3e2,_3e3],{constructor:function(_3ea){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_3ea&&lang.isString(_3ea.value)){this.value=_3ea.value;}this.onLoadDeferred=new _3d5();},baseClass:"dijitEditor",inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:false,disableSpellCheck:false,postCreate:function(){if("textarea"===this.domNode.tagName.toLowerCase()){console.warn("RichText should not be used with the TEXTAREA tag.  See dijit._editor.RichText docs.");}this.contentPreFilters=[lang.trim,lang.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);if(has("mozilla")){this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters);this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters);}if(has("webkit")){this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters);this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters);}if(has("ie")||has("trident")){this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters);this.contentDomPostFilters=[lang.hitch(this,"_stripBreakerNodes")].concat(this.contentDomPostFilters);}this.contentDomPostFilters=[lang.hitch(this,"_stripTrailingEmptyNodes")].concat(this.contentDomPostFilters);this.inherited(arguments);_3df.publish(_3e8._scopeName+"._editor.RichText::init",this);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=lang.hitch(this,function(cmd,arg){return function(){return !this.execCommand(cmd,arg);};});var _3eb={b:exec("bold"),i:exec("italic"),u:exec("underline"),a:exec("selectall"),s:function(){this.save(true);},m:function(){this.isTabIndent=!this.isTabIndent;},"1":exec("formatblock","h1"),"2":exec("formatblock","h2"),"3":exec("formatblock","h3"),"4":exec("formatblock","h4"),"\\":exec("insertunorderedlist")};if(!has("ie")){_3eb.Z=exec("redo");}var key;for(key in _3eb){this.addKeyHandler(key,true,false,_3eb[key]);}},events:["onKeyPress","onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_3e9._editorCommandsLocalized){this._local2NativeFormatNames=_3e9._local2NativeFormatNames;this._native2LocalFormatNames=_3e9._native2LocalFormatNames;return;}_3e9._editorCommandsLocalized=true;_3e9._local2NativeFormatNames={};_3e9._native2LocalFormatNames={};this._local2NativeFormatNames=_3e9._local2NativeFormatNames;this._native2LocalFormatNames=_3e9._native2LocalFormatNames;var _3ec=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _3ed="",_3ee,i=0;while((_3ee=_3ec[i++])){if(_3ee.charAt(1)!=="l"){_3ed+="<"+_3ee+"><span>content</span></"+_3ee+"><br/>";}else{_3ed+="<"+_3ee+"><li>content</li></"+_3ee+"><br/>";}}var _3ef={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_3d8.create("div",{style:_3ef,innerHTML:_3ed});this.ownerDocumentBody.appendChild(div);var _3f0=lang.hitch(this,function(){var node=div.firstChild;while(node){try{this._sCall("selectElement",[node.firstChild]);var _3f1=node.tagName.toLowerCase();this._local2NativeFormatNames[_3f1]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_3f1]]=_3f1;node=node.nextSibling.nextSibling;}catch(e){}}_3d8.destroy(div);});this.defer(_3f0);},open:function(_3f2){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _3d5();}if(!this.isClosed){this.close();}_3df.publish(_3e8._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_3f2.nodeName){this.domNode=_3f2;}var dn=this.domNode;var html;if(lang.isString(this.value)){html=this.value;delete this.value;dn.innerHTML="";}else{if(dn.nodeName&&dn.nodeName.toLowerCase()=="textarea"){var ta=(this.textarea=dn);this.name=ta.name;html=ta.value;dn=this.domNode=this.ownerDocument.createElement("div");dn.setAttribute("widgetId",this.id);ta.removeAttribute("widgetId");dn.cssText=ta.cssText;dn.className+=" "+ta.className;_3d8.place(dn,ta,"before");var _3f3=lang.hitch(this,function(){_3da.set(ta,{display:"block",position:"absolute",top:"-1000px"});if(has("ie")){var s=ta.style;this.__overflow=s.overflow;s.overflow="hidden";}});if(has("ie")){this.defer(_3f3,10);}else{_3f3();}if(ta.form){var _3f4=ta.value;this.reset=function(){var _3f5=this.getValue();if(_3f5!==_3f4){this.replaceValue(_3f4);}};on(ta.form,"submit",lang.hitch(this,function(){_3d6.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_3e6.getChildrenHtml(dn);dn.innerHTML="";}}this.value=html;if(dn.nodeName&&dn.nodeName==="LI"){dn.innerHTML=" <br>";}this.header=dn.ownerDocument.createElement("div");dn.appendChild(this.header);this.editingArea=dn.ownerDocument.createElement("div");dn.appendChild(this.editingArea);this.footer=dn.ownerDocument.createElement("div");dn.appendChild(this.footer);if(!this.name){this.name=this.id+"_AUTOGEN";}if(this.name!==""&&(!_3d3["useXDomain"]||_3d3["allowXdRichTextSave"])){var _3f6=dom.byId(_3e8._scopeName+"._editor.RichText.value");if(_3f6&&_3f6.value!==""){var _3f7=_3f6.value.split(this._SEPARATOR),i=0,dat;while((dat=_3f7[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){html=data[1];_3f7=_3f7.splice(i,1);_3f6.value=_3f7.join(this._SEPARATOR);break;}}}if(!_3e9._globalSaveHandler){_3e9._globalSaveHandler={};_3e0.addOnUnload(function(){var id;for(id in _3e9._globalSaveHandler){var f=_3e9._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_3e9._globalSaveHandler[this.id]=lang.hitch(this,"_saveContent");}this.isClosed=false;var ifr=(this.editorObject=this.iframe=this.ownerDocument.createElement("iframe"));ifr.id=this.id+"_iframe";ifr.style.border="none";ifr.style.width="100%";if(this._layoutMode){ifr.style.height="100%";}else{if(has("ie")>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}}ifr.frameBorder=0;ifr._loadFunc=lang.hitch(this,function(w){this.window=w;this.document=w.document;if(has("ie")){this._localizeEditorCommands();}this.onLoad(html);});var src=this._getIframeDocTxt().replace(/\\/g,"\\\\").replace(/'/g,"\\'"),s;if(has("ie")<11){s="javascript:document.open();try{parent.window;}catch(e){document.domain=\""+document.domain+"\";}"+"document.write('"+src+"');document.close()";}else{s="javascript: '"+src+"'";}if(has("ie")==9){this.editingArea.appendChild(ifr);ifr.src=s;}else{ifr.setAttribute("src",s);this.editingArea.appendChild(ifr);}if(has("safari")<=4){src=ifr.getAttribute("src");if(!src||src.indexOf("javascript")===-1){this.defer(function(){ifr.setAttribute("src",s);});}}if(dn.nodeName==="LI"){dn.lastChild.style.marginTop="-1.2em";}_3d7.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _3f8=_3da.getComputedStyle(this.domNode);var html="<div id='dijitEditorBody'></div>";var font=[_3f8.fontWeight,_3f8.fontSize,_3f8.fontFamily].join(" ");var _3f9=_3f8.lineHeight;if(_3f9.indexOf("px")>=0){_3f9=parseFloat(_3f9)/parseFloat(_3f8.fontSize);}else{if(_3f9.indexOf("em")>=0){_3f9=parseFloat(_3f9);}else{_3f9="normal";}}var _3fa="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_3fb){_3fb=_3fb.replace(/^;/ig,"")+";";var s=_3fb.split(":")[0];if(s){s=lang.trim(s);s=s.toLowerCase();var i;var sC="";for(i=0;i<s.length;i++){var c=s.charAt(i);switch(c){case "-":i++;c=s.charAt(i).toUpperCase();default:sC+=c;}}_3da.set(self.domNode,sC,"");}_3fa+=_3fb+";";});var _3fc=_3dd("label[for=\""+this.id+"\"]");var _3fd="";if(_3fc.length){_3fd=_3fc[0].innerHTML;}else{if(this["aria-label"]){_3fd=this["aria-label"];}else{if(this["aria-labelledby"]){_3fd=dom.byId(this["aria-labelledby"]).innerHTML;}}}this.iframe.setAttribute("title",_3fd);return ["<!DOCTYPE html>",this.isLeftToRight()?"<html lang='"+this.lang+"'>\n<head>\n":"<html dir='rtl' lang='"+this.lang+"'>\n<head>\n",_3fd?"<title>"+_3fd+"</title>":"","<meta http-equiv='Content-Type' content='text/html'>\n","<style>\n","\tbody,html {\n","\t\tbackground:transparent;\n","\t\tpadding: 1px 0 0 0;\n","\t\tmargin: -1px 0 0 0;\n","\t}\n","\tbody,html,#dijitEditorBody { outline: none; }","html { height: 100%; width: 100%; overflow: hidden; }\n",this.height?"\tbody,#dijitEditorBody { height: 100%; width: 100%; overflow: auto; }\n":"\tbody,#dijitEditorBody { min-height: "+this.minHeight+"; width: 100%; overflow-x: auto; overflow-y: hidden; }\n","\tbody{\n","\t\ttop:0px;\n","\t\tleft:0px;\n","\t\tright:0px;\n","\t\tfont:",font,";\n",((this.height||has("opera"))?"":"\t\tposition: fixed;\n"),"\t\tline-height:",_3f9,";\n","\t}\n","\tp{ margin: 1em 0; }\n","\tli > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; }\n",(has("ie")||has("trident")?"":"\tli{ min-height:1.2em; }\n"),"</style>\n",this._applyEditingAreaStyleSheets(),"\n","</head>\n<body role='main' ","onload='frameElement && frameElement._loadFunc(window,document)' ","style='"+_3fa+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _3fe=[];if(this.styleSheets){_3fe=this.styleSheets.split(";");this.styleSheets="";}_3fe=_3fe.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_3fe[i++])){var _3ff=(new _3e1(win.global.location,url)).toString();this.editingAreaStyleSheets.push(_3ff);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_3ff+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _3e1(win.global.location,url)).toString();}if(_3d2.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);this.onLoadDeferred.then(lang.hitch(this,function(){if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _400=this.document.createElement("link");_400.rel="stylesheet";_400.type="text/css";_400.href=url;head.appendChild(_400);}}));},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _3e1(win.global.location,url)).toString();}var _401=_3d2.indexOf(this.editingAreaStyleSheets,url);if(_401===-1){return;}delete this.editingAreaStyleSheets[_401];_3dd("link[href=\""+url+"\"]",this.window.document).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_402){_402=!!_402;this._set("disabled",_402);if(!this.isLoaded){return;}var _403=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_403){this.editNode.unselectable="on";}this.editNode.contentEditable=!_402;this.editNode.tabIndex=_402?"-1":this.tabIndex;if(_403){this.defer(function(){if(this.editNode){this.editNode.unselectable="off";}});}if(has("mozilla")&&!_402&&this._mozSettingProps){var ps=this._mozSettingProps;var n;for(n in ps){if(ps.hasOwnProperty(n)){try{this.document.execCommand(n,false,ps[n]);}catch(e2){}}}}this._disabledOK=true;},onLoad:function(html){if(!this.window.__registeredWindow){this.window.__registeredWindow=true;this._iframeRegHandle=_3e7.registerIframe(this.iframe);}this.editNode=this.document.body.firstChild;var _404=this;this.beforeIframeNode=_3d8.place("<div tabIndex=-1></div>",this.iframe,"before");this.afterIframeNode=_3d8.place("<div tabIndex=-1></div>",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){_404.editNode.focus();};this.focusNode=this.editNode;var _405=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;_3d2.forEach(_405,function(item){this.connect(ap,item.toLowerCase(),item);},this);this.own(on(ap,"mouseup",lang.hitch(this,"onClick")));if(has("ie")){this.connect(this.document,"onmousedown","_onIEMouseDown");this.editNode.style.zoom=1;}else{this.connect(this.document,"onmousedown",function(){delete this._cursorToStart;});}if(has("webkit")){this._webkitListener=this.connect(this.document,"onmouseup","onDisplayChanged");this.connect(this.document,"onmousedown",function(e){var t=e.target;if(t&&(t===this.document.body||t===this.document)){this.defer("placeCursorAtEnd");}});}if(has("ie")){try{this.document.execCommand("RespectVisibilityInDesign",true,null);}catch(e){}}this.isLoaded=true;this.set("disabled",this.disabled);var _406=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred){this.onLoadDeferred.resolve(true);}this.onDisplayChanged();if(this.focusOnLoad){_3de(lang.hitch(this,"defer","focus",this.updateInterval));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.then(_406);}else{_406();}},onKeyDown:function(e){if(e.keyCode===keys.TAB&&this.isTabIndent){_3db.stop(e);if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(e.keyCode==keys.TAB&&!this.isTabIndent&&!e.ctrlKey&&!e.altKey){if(e.shiftKey){this.beforeIframeNode.focus();}else{this.afterIframeNode.focus();}}if(has("ie")<9&&e.keyCode===keys.BACKSPACE&&this.document.selection.type==="Control"){e.stopPropagation();e.preventDefault();this.execCommand("delete");}else{if((65<=e.keyCode&&e.keyCode<=90)||(e.keyCode>=37&&e.keyCode<=40)){e.charCode=e.keyCode;this.onKeyPress(e);}}if(has("ff")){if(e.keyCode===keys.PAGE_UP||e.keyCode===keys.PAGE_DOWN){if(this.editNode.clientHeight>=this.editNode.scrollHeight){e.preventDefault();}}}return true;},onKeyUp:function(){},setDisabled:function(_407){_3dc.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_407);},_setValueAttr:function(_408){this.setValue(_408);},_setDisableSpellCheckAttr:function(_409){if(this.document){_3d6.set(this.document.body,"spellcheck",!_409);}else{this.onLoadDeferred.then(lang.hitch(this,function(){_3d6.set(this.document.body,"spellcheck",!_409);}));}this._set("disableSpellCheck",_409);},onKeyPress:function(e){if(e.keyCode===keys.SHIFT||e.keyCode===keys.ALT||e.keyCode===keys.META||e.keyCode===keys.CTRL||(e.keyCode==keys.TAB&&!this.isTabIndent&&!e.ctrlKey&&!e.altKey)){return true;}var c=(e.keyChar&&e.keyChar.toLowerCase())||e.keyCode,_40a=this._keyHandlers[c],args=arguments;if(_40a&&!e.altKey){_3d2.some(_40a,function(h){if(!(h.shift^e.shiftKey)&&!(h.ctrl^(e.ctrlKey||e.metaKey))){if(!h.handler.apply(this,args)){e.preventDefault();}return true;}},this);}if(!this._onKeyHitch){this._onKeyHitch=lang.hitch(this,"onKeyPressed");}this.defer("_onKeyHitch",1);return true;},addKeyHandler:function(key,ctrl,_40b,_40c){if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_40b||false,ctrl:ctrl||false,handler:_40c});},onKeyPressed:function(){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onIEMouseDown:function(){if(!this.focused&&!this.disabled){this.focus();}},_onBlur:function(e){if(has("ie")||has("trident")){this.defer(function(){if(!_3e7.curNode){this.ownerDocumentBody.focus();}});}this.inherited(arguments);var _40d=this.getValue(true);if(_40d!==this.value){this.onChange(_40d);}this._set("value",_40d);},_onFocus:function(e){if(!this.disabled){if(!this._disabledOK){this.set("disabled",false);}this.inherited(arguments);}},blur:function(){if(!has("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(this.ownerDocumentBody.focus){this.ownerDocumentBody.focus();}}},focus:function(){if(!this.isLoaded){this.focusOnLoad=true;return;}if(this._cursorToStart){delete this._cursorToStart;if(this.editNode.childNodes){this.placeCursorAtStart();return;}}if(has("ie")<9){this.iframe.fireEvent("onfocus",document.createEventObject());}else{this.editNode.focus();}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(){if(this._updateTimer){this._updateTimer.remove();}this._updateTimer=this.defer("onNormalizedDisplayChanged",this.updateInterval);},onNormalizedDisplayChanged:function(){delete this._updateTimer;},onChange:function(){},_normalizeCommand:function(cmd,_40e){var _40f=cmd.toLowerCase();if(_40f==="formatblock"){if(has("safari")&&_40e===undefined){_40f="heading";}}else{if(_40f==="hilitecolor"&&!has("mozilla")){_40f="backcolor";}}return _40f;},_qcaCache:{},queryCommandAvailable:function(_410){var ca=this._qcaCache[_410];if(ca!==undefined){return ca;}return (this._qcaCache[_410]=this._queryCommandAvailable(_410));},_queryCommandAvailable:function(_411){var ie=1;var _412=1<<1;var _413=1<<2;var _414=1<<3;function _415(_416){return {ie:Boolean(_416&ie),mozilla:Boolean(_416&_412),webkit:Boolean(_416&_413),opera:Boolean(_416&_414)};};var _417=null;switch(_411.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":_417=_415(_412|ie|_413|_414);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":case "tabindent":_417=_415(_412|ie|_414|_413);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_417=_415(ie);break;case "cut":case "copy":case "paste":_417=_415(ie|_412|_413|_414);break;case "inserttable":_417=_415(_412|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_417=_415(ie|_412);break;default:return false;}return ((has("ie")||has("trident"))&&_417.ie)||(has("mozilla")&&_417.mozilla)||(has("webkit")&&_417.webkit)||(has("opera")&&_417.opera);},execCommand:function(_418,_419){var _41a;if(this.focused){this.focus();}_418=this._normalizeCommand(_418,_419);if(_419!==undefined){if(_418==="heading"){throw new Error("unimplemented");}else{if(_418==="formatblock"&&(has("ie")||has("trident"))){_419="<"+_419+">";}}}var _41b="_"+_418+"Impl";if(this[_41b]){_41a=this[_41b](_419);}else{_419=arguments.length>1?_419:null;if(_419||_418!=="createlink"){_41a=this.document.execCommand(_418,false,_419);}}this.onDisplayChanged();return _41a;},queryCommandEnabled:function(_41c){if(this.disabled||!this._disabledOK){return false;}_41c=this._normalizeCommand(_41c);var _41d="_"+_41c+"EnabledImpl";if(this[_41d]){return this[_41d](_41c);}else{return this._browserQueryCommandEnabled(_41c);}},queryCommandState:function(_41e){if(this.disabled||!this._disabledOK){return false;}_41e=this._normalizeCommand(_41e);try{return this.document.queryCommandState(_41e);}catch(e){return false;}},queryCommandValue:function(_41f){if(this.disabled||!this._disabledOK){return false;}var r;_41f=this._normalizeCommand(_41f);if((has("ie")||has("trident"))&&_41f==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_41f)];}else{if(has("mozilla")&&_41f==="hilitecolor"){var _420;try{_420=this.document.queryCommandValue("styleWithCSS");}catch(e){_420=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_41f);this.document.execCommand("styleWithCSS",false,_420);}else{r=this.document.queryCommandValue(_41f);}}return r;},_sCall:function(name,args){return win.withGlobal(this.window,name,_3e4,args);},placeCursorAtStart:function(){this.focus();var _421=false;if(has("mozilla")){var _422=this.editNode.firstChild;while(_422){if(_422.nodeType===3){if(_422.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_421=true;this._sCall("selectElement",[_422]);break;}}else{if(_422.nodeType===1){_421=true;var tg=_422.tagName?_422.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this._sCall("selectElement",[_422]);}else{this._sCall("selectElementChildren",[_422]);}break;}}_422=_422.nextSibling;}}else{_421=true;this._sCall("selectElementChildren",[this.editNode]);}if(_421){this._sCall("collapse",[true]);}},placeCursorAtEnd:function(){this.focus();var _423=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_423=true;this._sCall("selectElement",[last]);break;}}else{if(last.nodeType===1){_423=true;this._sCall("selectElement",[last.lastChild||last]);break;}}last=last.previousSibling;}}else{_423=true;this._sCall("selectElementChildren",[this.editNode]);}if(_423){this._sCall("collapse",[false]);}},getValue:function(_424){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this.isLoaded?this._postFilterContent(null,_424):this.value;},_getValueAttr:function(){return this.getValue(true);},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.then(lang.hitch(this,function(){this.setValue(html);}));return;}this._cursorToStart=true;if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;if(!html&&has("webkit")){html="&#160;";}node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();this._set("value",this.getValue(true));},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!has("mozilla")){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}this._set("value",this.getValue(true));},_preFilterContent:function(html){var ec=html;_3d2.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_3d2.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_425){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_425){dom=lang.clone(dom);}_3d2.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_3e6.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_3d2.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _426=dom.byId(_3e8._scopeName+"._editor.RichText.value");if(_426){if(_426.value){_426.value+=this._SEPARATOR;}_426.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_427){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_427){str=str.replace(/'/gm,"&#39;");}return str;},getNodeHtml:function(node){_3dc.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _3e6.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_3dc.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _3e6.getChildrenHtml(dom);},close:function(save){if(this.isClosed){return;}if(!arguments.length){save=true;}if(save){this._set("value",this.getValue(true));}if(this.interval){clearInterval(this.interval);}if(this._webkitListener){this.disconnect(this._webkitListener);delete this._webkitListener;}if(has("ie")){this.iframe.onfocus=null;}this.iframe._loadFunc=null;if(this._iframeRegHandle){this._iframeRegHandle.remove();delete this._iframeRegHandle;}if(this.textarea){var s=this.textarea.style;s.position="";s.left=s.top="";if(has("ie")){s.overflow=this.__overflow;this.__overflow=null;}this.textarea.value=this.value;_3d8.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_3d7.remove(this.domNode,this.baseClass);this.isClosed=true;this.isLoaded=false;delete this.editNode;delete this.focusNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;},destroy:function(){if(!this.isClosed){this.close(false);}if(this._updateTimer){this._updateTimer.remove();}this.inherited(arguments);if(_3e9._globalSaveHandler){delete _3e9._globalSaveHandler[this.id];}},_removeMozBogus:function(html){return html.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"").replace(/_moz_resizing="(true|false)"/gi,"");},_removeWebkitBogus:function(html){html=html.replace(/\sclass="webkit-block-placeholder"/gi,"");html=html.replace(/\sclass="apple-style-span"/gi,"");html=html.replace(/<meta charset=\"utf-8\" \/>/gi,"");return html;},_normalizeFontStyle:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_preFixUrlAttributes:function(html){return html.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");},_browserQueryCommandEnabled:function(_428){if(!_428){return false;}var elem=has("ie")<9?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_428);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _429=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_429=true;}else{_429=this.document.queryCommandEnabled("createlink");}}else{_429=this._browserQueryCommandEnabled("createlink");}return _429;},_unlinkEnabledImpl:function(){var _42a=true;if(has("mozilla")||has("webkit")){_42a=this._sCall("hasAncestorElement",["a"]);}else{_42a=this._browserQueryCommandEnabled("unlink");}return _42a;},_inserttableEnabledImpl:function(){var _42b=true;if(has("mozilla")||has("webkit")){_42b=true;}else{_42b=this._browserQueryCommandEnabled("inserttable");}return _42b;},_cutEnabledImpl:function(){var _42c=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_42c=!!sel;}else{_42c=this._browserQueryCommandEnabled("cut");}return _42c;},_copyEnabledImpl:function(){var _42d=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_42d=!!sel;}else{_42d=this._browserQueryCommandEnabled("copy");}return _42d;},_pasteEnabledImpl:function(){var _42e=true;if(has("webkit")){return true;}else{_42e=this._browserQueryCommandEnabled("paste");}return _42e;},_inserthorizontalruleImpl:function(_42f){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_42f);},_unlinkImpl:function(_430){if((this.queryCommandEnabled("unlink"))&&(has("mozilla")||has("webkit"))){var a=this._sCall("getAncestorElement",["a"]);this._sCall("selectElement",[a]);return this.document.execCommand("unlink",false,null);}return this.document.execCommand("unlink",false,_430);},_hilitecolorImpl:function(_431){var _432;var _433=this._handleTextColorOrProperties("hilitecolor",_431);if(!_433){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_432=this.document.execCommand("hilitecolor",false,_431);this.document.execCommand("styleWithCSS",false,false);}else{_432=this.document.execCommand("hilitecolor",false,_431);}}return _432;},_backcolorImpl:function(_434){if(has("ie")){_434=_434?_434:null;}var _435=this._handleTextColorOrProperties("backcolor",_434);if(!_435){_435=this.document.execCommand("backcolor",false,_434);}return _435;},_forecolorImpl:function(_436){if(has("ie")){_436=_436?_436:null;}var _437=false;_437=this._handleTextColorOrProperties("forecolor",_436);if(!_437){_437=this.document.execCommand("forecolor",false,_436);}return _437;},_inserthtmlImpl:function(_438){_438=this._preFilterContent(_438);var rv=true;if(has("ie")<9){var _439=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_439.item(0);while(_439.length){_439.remove(_439.item(0));}n.outerHTML=_438;}else{_439.pasteHTML(_438);}_439.select();}else{if(has("trident")<8){var _439;var _43a=_3e5.getSelection(this.window);if(_43a&&_43a.rangeCount&&_43a.getRangeAt){_439=_43a.getRangeAt(0);_439.deleteContents();var div=_3d8.create("div");div.innerHTML=_438;var node,_43b;var n=this.document.createDocumentFragment();while((node=div.firstChild)){_43b=n.appendChild(node);}_439.insertNode(n);if(_43b){_439=_439.cloneRange();_439.setStartAfter(_43b);_439.collapse(false);_43a.removeAllRanges();_43a.addRange(_439);}}}else{if(has("mozilla")&&!_438.length){this._sCall("remove");}else{rv=this.document.execCommand("inserthtml",false,_438);}}}return rv;},_boldImpl:function(_43c){var _43d=false;if(has("ie")||has("trident")){this._adaptIESelection();_43d=this._adaptIEFormatAreaAndExec("bold");}if(!_43d){_43d=this.document.execCommand("bold",false,_43c);}return _43d;},_italicImpl:function(_43e){var _43f=false;if(has("ie")||has("trident")){this._adaptIESelection();_43f=this._adaptIEFormatAreaAndExec("italic");}if(!_43f){_43f=this.document.execCommand("italic",false,_43e);}return _43f;},_underlineImpl:function(_440){var _441=false;if(has("ie")||has("trident")){this._adaptIESelection();_441=this._adaptIEFormatAreaAndExec("underline");}if(!_441){_441=this.document.execCommand("underline",false,_440);}return _441;},_strikethroughImpl:function(_442){var _443=false;if(has("ie")||has("trident")){this._adaptIESelection();_443=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_443){_443=this.document.execCommand("strikethrough",false,_442);}return _443;},_superscriptImpl:function(_444){var _445=false;if(has("ie")||has("trident")){this._adaptIESelection();_445=this._adaptIEFormatAreaAndExec("superscript");}if(!_445){_445=this.document.execCommand("superscript",false,_444);}return _445;},_subscriptImpl:function(_446){var _447=false;if(has("ie")||has("trident")){this._adaptIESelection();_447=this._adaptIEFormatAreaAndExec("subscript");}if(!_447){_447=this.document.execCommand("subscript",false,_446);}return _447;},_fontnameImpl:function(_448){var _449;if(has("ie")||has("trident")){_449=this._handleTextColorOrProperties("fontname",_448);}if(!_449){_449=this.document.execCommand("fontname",false,_448);}return _449;},_fontsizeImpl:function(_44a){var _44b;if(has("ie")||has("trident")){_44b=this._handleTextColorOrProperties("fontsize",_44a);}if(!_44b){_44b=this.document.execCommand("fontsize",false,_44a);}return _44b;},_insertorderedlistImpl:function(_44c){var _44d=false;if(has("ie")||has("trident")){_44d=this._adaptIEList("insertorderedlist",_44c);}if(!_44d){_44d=this.document.execCommand("insertorderedlist",false,_44c);}return _44d;},_insertunorderedlistImpl:function(_44e){var _44f=false;if(has("ie")||has("trident")){_44f=this._adaptIEList("insertunorderedlist",_44e);}if(!_44f){_44f=this.document.execCommand("insertunorderedlist",false,_44e);}return _44f;},getHeaderHeight:function(){return this._getNodeChildrenHeight(this.header);},getFooterHeight:function(){return this._getNodeChildrenHeight(this.footer);},_getNodeChildrenHeight:function(node){var h=0;if(node&&node.childNodes){var i;for(i=0;i<node.childNodes.length;i++){var size=_3d9.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_450){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_450);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_450)==="");}}return false;},_removeStartingRangeFromRange:function(node,_451){if(node.nextSibling){_451.setStart(node.nextSibling,0);}else{var _452=node.parentNode;while(_452&&_452.nextSibling==null){_452=_452.parentNode;}if(_452){_451.setStart(_452.nextSibling,0);}}return _451;},_adaptIESelection:function(){var _453=_3e5.getSelection(this.window);if(_453&&_453.rangeCount&&!_453.isCollapsed){var _454=_453.getRangeAt(0);var _455=_454.startContainer;var _456=_454.startOffset;while(_455.nodeType===3&&_456>=_455.length&&_455.nextSibling){_456=_456-_455.length;_455=_455.nextSibling;}var _457=null;while(this._isNodeEmpty(_455,_456)&&_455!==_457){_457=_455;_454=this._removeStartingRangeFromRange(_455,_454);_455=_454.startContainer;_456=0;}_453.removeAllRanges();_453.addRange(_454);}},_adaptIEFormatAreaAndExec:function(_458){var _459=_3e5.getSelection(this.window);var doc=this.document;var rs,ret,_45a,txt,_45b,_45c,_45d,_45e;if(_458&&_459&&_459.isCollapsed){var _45f=this.queryCommandValue(_458);if(_45f){var _460=this._tagNamesForCommand(_458);_45a=_459.getRangeAt(0);var fs=_45a.startContainer;if(fs.nodeType===3){var _461=_45a.endOffset;if(fs.length<_461){ret=this._adjustNodeAndOffset(rs,_461);fs=ret.node;_461=ret.offset;}}var _462;while(fs&&fs!==this.editNode){var _463=fs.tagName?fs.tagName.toLowerCase():"";if(_3d2.indexOf(_460,_463)>-1){_462=fs;break;}fs=fs.parentNode;}if(_462){rs=_45a.startContainer;var _464=doc.createElement(_462.tagName);_3d8.place(_464,_462,"after");if(rs&&rs.nodeType===3){var _465,_466;var _467=_45a.endOffset;if(rs.length<_467){ret=this._adjustNodeAndOffset(rs,_467);rs=ret.node;_467=ret.offset;}txt=rs.nodeValue;_45b=doc.createTextNode(txt.substring(0,_467));var _468=txt.substring(_467,txt.length);if(_468){_45c=doc.createTextNode(_468);}_3d8.place(_45b,rs,"before");if(_45c){_45d=doc.createElement("span");_45d.className="ieFormatBreakerSpan";_3d8.place(_45d,rs,"after");_3d8.place(_45c,_45d,"after");_45c=_45d;}_3d8.destroy(rs);var _469=_45b.parentNode;var _46a=[];var _46b;while(_469!==_462){var tg=_469.tagName;_46b={tagName:tg};_46a.push(_46b);var _46c=doc.createElement(tg);if(_469.style){if(_46c.style){if(_469.style.cssText){_46c.style.cssText=_469.style.cssText;_46b.cssText=_469.style.cssText;}}}if(_469.tagName==="FONT"){if(_469.color){_46c.color=_469.color;_46b.color=_469.color;}if(_469.face){_46c.face=_469.face;_46b.face=_469.face;}if(_469.size){_46c.size=_469.size;_46b.size=_469.size;}}if(_469.className){_46c.className=_469.className;_46b.className=_469.className;}if(_45c){_465=_45c;while(_465){_466=_465.nextSibling;_46c.appendChild(_465);_465=_466;}}if(_46c.tagName==_469.tagName){_45d=doc.createElement("span");_45d.className="ieFormatBreakerSpan";_3d8.place(_45d,_469,"after");_3d8.place(_46c,_45d,"after");}else{_3d8.place(_46c,_469,"after");}_45b=_469;_45c=_46c;_469=_469.parentNode;}if(_45c){_465=_45c;if(_465.nodeType===1||(_465.nodeType===3&&_465.nodeValue)){_464.innerHTML="";}while(_465){_466=_465.nextSibling;_464.appendChild(_465);_465=_466;}}var _46d;if(_46a.length){_46b=_46a.pop();var _46e=doc.createElement(_46b.tagName);if(_46b.cssText&&_46e.style){_46e.style.cssText=_46b.cssText;}if(_46b.className){_46e.className=_46b.className;}if(_46b.tagName==="FONT"){if(_46b.color){_46e.color=_46b.color;}if(_46b.face){_46e.face=_46b.face;}if(_46b.size){_46e.size=_46b.size;}}_3d8.place(_46e,_464,"before");while(_46a.length){_46b=_46a.pop();var _46f=doc.createElement(_46b.tagName);if(_46b.cssText&&_46f.style){_46f.style.cssText=_46b.cssText;}if(_46b.className){_46f.className=_46b.className;}if(_46b.tagName==="FONT"){if(_46b.color){_46f.color=_46b.color;}if(_46b.face){_46f.face=_46b.face;}if(_46b.size){_46f.size=_46b.size;}}_46e.appendChild(_46f);_46e=_46f;}_45e=doc.createTextNode(".");_45d.appendChild(_45e);_46e.appendChild(_45e);_46d=_3e5.create(this.window);_46d.setStart(_45e,0);_46d.setEnd(_45e,_45e.length);_459.removeAllRanges();_459.addRange(_46d);this._sCall("collapse",[false]);_45e.parentNode.innerHTML="";}else{_45d=doc.createElement("span");_45d.className="ieFormatBreakerSpan";_45e=doc.createTextNode(".");_45d.appendChild(_45e);_3d8.place(_45d,_464,"before");_46d=_3e5.create(this.window);_46d.setStart(_45e,0);_46d.setEnd(_45e,_45e.length);_459.removeAllRanges();_459.addRange(_46d);this._sCall("collapse",[false]);_45e.parentNode.innerHTML="";}if(!_464.firstChild){_3d8.destroy(_464);}return true;}}return false;}else{_45a=_459.getRangeAt(0);rs=_45a.startContainer;if(rs&&rs.nodeType===3){var _461=_45a.startOffset;if(rs.length<_461){ret=this._adjustNodeAndOffset(rs,_461);rs=ret.node;_461=ret.offset;}txt=rs.nodeValue;_45b=doc.createTextNode(txt.substring(0,_461));var _468=txt.substring(_461);if(_468!==""){_45c=doc.createTextNode(txt.substring(_461));}_45d=doc.createElement("span");_45e=doc.createTextNode(".");_45d.appendChild(_45e);if(_45b.length){_3d8.place(_45b,rs,"after");}else{_45b=rs;}_3d8.place(_45d,_45b,"after");if(_45c){_3d8.place(_45c,_45d,"after");}_3d8.destroy(rs);var _46d=_3e5.create(this.window);_46d.setStart(_45e,0);_46d.setEnd(_45e,_45e.length);_459.removeAllRanges();_459.addRange(_46d);doc.execCommand(_458);_3d8.place(_45d.firstChild,_45d,"before");_3d8.destroy(_45d);_46d.setStart(_45e,0);_46d.setEnd(_45e,_45e.length);_459.removeAllRanges();_459.addRange(_46d);this._sCall("collapse",[false]);_45e.parentNode.innerHTML="";return true;}}}else{return false;}},_adaptIEList:function(_470){var _471=_3e5.getSelection(this.window);if(_471.isCollapsed){if(_471.rangeCount&&!this.queryCommandValue(_470)){var _472=_471.getRangeAt(0);var sc=_472.startContainer;if(sc&&sc.nodeType==3){if(!_472.startOffset){var _473="ul";if(_470==="insertorderedlist"){_473="ol";}var list=this.document.createElement(_473);var li=_3d8.create("li",null,list);_3d8.place(list,sc,"before");li.appendChild(sc);_3d8.create("br",null,list,"after");var _474=_3e5.create(this.window);_474.setStart(sc,0);_474.setEnd(sc,sc.length);_471.removeAllRanges();_471.addRange(_474);this._sCall("collapse",[true]);return true;}}}}return false;},_handleTextColorOrProperties:function(_475,_476){var _477=_3e5.getSelection(this.window);var doc=this.document;var rs,ret,_478,txt,_479,_47a,_47b,_47c;_476=_476||null;if(_475&&_477&&_477.isCollapsed){if(_477.rangeCount){_478=_477.getRangeAt(0);rs=_478.startContainer;if(rs&&rs.nodeType===3){var _47d=_478.startOffset;if(rs.length<_47d){ret=this._adjustNodeAndOffset(rs,_47d);rs=ret.node;_47d=ret.offset;}txt=rs.nodeValue;_479=doc.createTextNode(txt.substring(0,_47d));var _47e=txt.substring(_47d);if(_47e!==""){_47a=doc.createTextNode(txt.substring(_47d));}_47b=doc.createElement("span");_47c=doc.createTextNode(".");_47b.appendChild(_47c);var _47f=doc.createElement("span");_47b.appendChild(_47f);if(_479.length){_3d8.place(_479,rs,"after");}else{_479=rs;}_3d8.place(_47b,_479,"after");if(_47a){_3d8.place(_47a,_47b,"after");}_3d8.destroy(rs);var _480=_3e5.create(this.window);_480.setStart(_47c,0);_480.setEnd(_47c,_47c.length);_477.removeAllRanges();_477.addRange(_480);if(has("webkit")){var _481="color";if(_475==="hilitecolor"||_475==="backcolor"){_481="backgroundColor";}_3da.set(_47b,_481,_476);this._sCall("remove",[]);_3d8.destroy(_47f);_47b.innerHTML="&#160;";this._sCall("selectElement",[_47b]);this.focus();}else{this.execCommand(_475,_476);_3d8.place(_47b.firstChild,_47b,"before");_3d8.destroy(_47b);_480.setStart(_47c,0);_480.setEnd(_47c,_47c.length);_477.removeAllRanges();_477.addRange(_480);this._sCall("collapse",[false]);_47c.parentNode.removeChild(_47c);}return true;}}}return false;},_adjustNodeAndOffset:function(node,_482){while(node.length<_482&&node.nextSibling&&node.nextSibling.nodeType===3){_482=_482-node.length;node=node.nextSibling;}return {"node":node,"offset":_482};},_tagNamesForCommand:function(_483){if(_483==="bold"){return ["b","strong"];}else{if(_483==="italic"){return ["i","em"];}else{if(_483==="strikethrough"){return ["s","strike"];}else{if(_483==="superscript"){return ["sup"];}else{if(_483==="subscript"){return ["sub"];}else{if(_483==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){if(!this.isLoaded){return;}_3dd(".ieFormatBreakerSpan",node).forEach(function(b){while(b.firstChild){_3d8.place(b.firstChild,b,"before");}_3d8.destroy(b);});return node;},_stripTrailingEmptyNodes:function(node){function _484(node){return (/^(p|div|br)$/i.test(node.nodeName)&&node.children.length==0&&/^[\s\xA0]*$/.test(node.textContent||node.innerText||""))||(node.nodeType===3&&/^[\s\xA0]*$/.test(node.nodeValue));};while(node.lastChild&&_484(node.lastChild)){_3d8.destroy(node.lastChild);}return node;}});return _3e9;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/event","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_485,_486,_487,lang,dom,_488,_489,on,_48a,_48b,dnd,_48c,win){var _48d=_486("dojo.dnd.Moveable",[_489],{handle:"",delay:0,skip:false,constructor:function(node,_48e){this.node=dom.byId(node);if(!_48e){_48e={};}this.handle=_48e.handle?dom.byId(_48e.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_48e.delay>0?_48e.delay:0;this.skip=_48e.skip;this.mover=_48e.mover?_48e.mover:_48c;this.events=[on(this.handle,_48b.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_48f,node,Ctor){return new Ctor(node,_48f);},destroy:function(){_485.forEach(this.events,function(_490){_490.remove();});this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_48b.move,lang.hitch(this,"onMouseMove")),on(this.handle,_48b.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}_487.stop(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}_487.stop(e);},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}_487.stop(e);},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){_487.stop(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_491){_48a.publish("/dnd/move/start",_491);_488.add(win.body(),"dojoMove");_488.add(this.node,"dojoMoveItem");},onMoveStop:function(_492){_48a.publish("/dnd/move/stop",_492);_488.remove(win.body(),"dojoMove");_488.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_493,_494){this.onMoving(_493,_494);var s=_493.node.style;s.left=_494.l+"px";s.top=_494.t+"px";this.onMoved(_493,_494);},onMoving:function(){},onMoved:function(){}});return _48d;});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_495,_496,_497,keys,lang,_498,_499,_49a,_49b,_49c,_49d,_49e){return _495("dijit.TooltipDialog",[_499,_49c,_49b,_49a],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_49d,_setTitleAttr:function(_49f){this.containerNode.title=_49f;this._set("title",_49f);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_4a0,_4a1){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"}[_4a0+"-"+_4a1];_496.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_498.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _4a2=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_4a2.y+((_4a2.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=_4a2.x+((_4a2.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.containerNode);}var _4a3=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){this.defer("onCancel");_497.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_4a3){_498.focus(this._lastFocusItem);}_497.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_4a3){_498.focus(this._firstFocusItem);}_497.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_4a4){return function(_4a5,_4a6){switch(typeof _4a5){default:throw new Error("Can not query with a "+typeof _4a5);case "object":case "undefined":var _4a7=_4a5;_4a5=function(_4a8){for(var key in _4a7){var _4a9=_4a7[key];if(_4a9&&_4a9.test){if(!_4a9.test(_4a8[key],_4a8)){return false;}}else{if(_4a9!=_4a8[key]){return false;}}}return true;};break;case "string":if(!this[_4a5]){throw new Error("No filter function "+_4a5+" was found in store");}_4a5=this[_4a5];case "function":}function _4aa(_4ab){var _4ac=_4a4.filter(_4ab,_4a5);var _4ad=_4a6&&_4a6.sort;if(_4ad){_4ac.sort(typeof _4ad=="function"?_4ad:function(a,b){for(var sort,i=0;sort=_4ad[i];i++){var _4ae=a[sort.attribute];var _4af=b[sort.attribute];_4ae=_4ae!=null?_4ae.valueOf():_4ae;_4af=_4af!=null?_4af.valueOf():_4af;if(_4ae!=_4af){return !!sort.descending==(_4ae==null||_4ae>_4af)?-1:1;}}return 0;});}if(_4a6&&(_4a6.start||_4a6.count)){var _4b0=_4ac.length;_4ac=_4ac.slice(_4a6.start||0,(_4a6.start||0)+(_4a6.count||Infinity));_4ac.total=_4b0;}return _4ac;};_4aa.matches=_4a5;return _4aa;};});},"dijit/form/_ExpandingTextAreaMixin":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/_base/window","../Viewport"],function(_4b1,_4b2,has,lang,on,win,_4b3){has.add("textarea-needs-help-shrinking",function(){var body=win.body(),te=_4b2.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},body,"last");var _4b4=te.scrollHeight>=te.clientHeight;body.removeChild(te);return _4b4;});return _4b1("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _4b5=this.textbox;_4b5.style.overflowY="hidden";this.own(on(_4b5,"focus, resize",lang.hitch(this,"_resizeLater")));},startup:function(){this.inherited(arguments);this.own(_4b3.on("resize",lang.hitch(this,"_resizeLater")));this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _4b6=this.textbox;_4b6.rows=(_4b6.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _4b7=this.textbox;function _4b8(){var _4b9=false;if(_4b7.value===""){_4b7.value=" ";_4b9=true;}var sh=_4b7.scrollHeight;if(_4b9){_4b7.value="";}return sh;};if(_4b7.style.overflowY=="hidden"){_4b7.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_4b8()||_4b7.offsetHeight){var newH=_4b8()+Math.max(_4b7.offsetHeight-_4b7.clientHeight,0);var _4ba=newH+"px";if(_4ba!=_4b7.style.height){_4b7.style.height=_4ba;_4b7.rows=1;}if(has("textarea-needs-help-shrinking")){var _4bb=_4b8(),_4bc=_4bb,_4bd=_4b7.style.minHeight,_4be=4,_4bf,_4c0=_4b7.scrollTop;_4b7.style.minHeight=_4ba;_4b7.style.height="auto";while(newH>0){_4b7.style.minHeight=Math.max(newH-_4be,4)+"px";_4bf=_4b8();var _4c1=_4bc-_4bf;newH-=_4c1;if(_4c1<_4be){break;}_4bc=_4bf;_4be<<=1;}_4b7.style.height=newH+"px";_4b7.style.minHeight=_4bd;_4b7.scrollTop=_4c0;}_4b7.style.overflowY=_4b8()>_4b7.clientHeight?"auto":"hidden";if(_4b7.style.overflowY=="hidden"){_4b7.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_4c2,dom,_4c3,_4c4,_4c5,has,_4c6,_4c7,_4c8,_4c9,_4ca){return _4c2("dijit.MenuItem",[_4c6,_4c7,_4c8,_4c9],{templateString:_4ca,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this.containerNode.innerHTML=val;this._set("label",val);if(this.textDir==="auto"){this.applyTextDir(this.focusNode,this.label);}},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_4cb){if(_4cb&&!("label" in this.params)){this.set("label",_4cb.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _4cc=this.id+"_text";_4c3.set(this.containerNode,"id",_4cc);if(this.accelKeyNode){_4c3.set(this.accelKeyNode,"id",this.id+"_accel");_4cc+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_4cc);dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_onFocus:function(){this._setSelected(true);this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_4cd){_4c4.toggle(this.domNode,"dijitMenuItemSelected",_4cd);},setLabel:function(_4ce){_4c5.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_4ce);},setDisabled:function(_4cf){_4c5.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_4cf);},_setDisabledAttr:function(_4d0){this.focusNode.setAttribute("aria-disabled",_4d0?"true":"false");this._set("disabled",_4d0);},_setAccelKeyAttr:function(_4d1){this.accelKeyNode.style.display=_4d1?"":"none";this.accelKeyNode.innerHTML=_4d1;_4c3.set(this.containerNode,"colSpan",_4d1?"1":"2");this._set("accelKey",_4d1);},_setTextDirAttr:function(_4d2){if(!this._created||this.textDir!=_4d2){this._set("textDir",_4d2);this.applyTextDir(this.focusNode,this.label);}}});});},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_4d3,_4d4,_4d5){var _4d6=_4d3("dijit._MenuBarItemMixin",null,{templateString:_4d5,_setIconClassAttr:null});var _4d7=_4d3("dijit.MenuBarItem",[_4d4,_4d6],{});_4d7._MenuBarItemMixin=_4d6;return _4d7;});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_4d8,dom,_4d9,_4da,i18n,lang,_4db,_4dc,Menu,_4dd,_4de){var _4df=_4d8("dijit.layout._TabButton",_4db.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_4de,scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_4da.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _4e0=i18n.getLocalization("dijit","common");if(this.closeNode){_4d9.set(this.closeNode,"title",_4e0.itemClose);}}},_setDisabledAttr:function(_4e1){this.inherited(arguments);if(this.closeNode){if(_4e1){_4d9.remove(this.closeNode,"title");}else{var _4e2=i18n.getLocalization("dijit","common");_4d9.set(this.closeNode,"title",_4e2.itemClose);}}},_setLabelAttr:function(_4e3){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});var _4e4=_4d8("dijit.layout.TabController",_4db,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:_4df,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _4e5=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 _4da.contains(node,"dijitClosable")&&!_4da.contains(node,"dijitTabDisabled");}});this.own(_4e5);var _4e6=i18n.getLocalization("dijit","common"),_4e7=this;_4e5.addChild(new _4dd({label:_4e6.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _4e8=_4dc.byNode(this.getParent().currentTarget);_4e7.onCloseButtonClick(_4e8.page);}}));}});_4e4.TabButton=_4df;return _4e4;});},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(lang,i18n){var _4e9={};lang.setObject("dojo.cldr.supplemental",_4e9);_4e9.getFirstDayOfWeek=function(_4ea){var _4eb={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0};var _4ec=_4e9._region(_4ea);var dow=_4eb[_4ec];return (dow===undefined)?1:dow;};_4e9._region=function(_4ed){_4ed=i18n.normalizeLocale(_4ed);var tags=_4ed.split("-");var _4ee=tags[1];if(!_4ee){_4ee={aa:"et",ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in",av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",zza:"tr"}[tags[0]];}else{if(_4ee.length==4){_4ee=tags[2];}}return _4ee;};_4e9.getWeekend=function(_4ef){var _4f0={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5},_4f1={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6},_4f2=_4e9._region(_4ef),_4f3=_4f0[_4f2],end=_4f1[_4f2];if(_4f3===undefined){_4f3=6;}if(end===undefined){end=0;}return {start:_4f3,end:end};};return _4e9;});},"dijit/MenuBar":function(){require({cache:{"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\"  role=\"menubar\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress: _onKeyPress\"></div>\n"}});define("dijit/MenuBar",["dojo/_base/declare","dojo/_base/event","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(_4f4,_4f5,keys,_4f6,_4f7){return _4f4("dijit.MenuBar",_4f6,{templateString:_4f7,baseClass:"dijitMenuBar",_isMenuBar:true,postCreate:function(){this.inherited(arguments);var l=this.isLeftToRight();this.connectKeyNavHandlers(l?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],l?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);this._orient=["below"];},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}},focusChild:function(item){var _4f8=this.focusedChild,_4f9=_4f8&&_4f8.popup&&_4f8.popup.isShowingNow;this.inherited(arguments);if(_4f9&&item.popup&&!item.disabled){this._openPopup(true);}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case keys.DOWN_ARROW:this._moveToPopup(evt);_4f5.stop(evt);}},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow&&(evt.type!=="keypress"||evt.keyCode!==keys.DOWN_ARROW)){item.popup.onCancel();}else{this.inherited(arguments);}}});});},"dijit/ToolbarSeparator":function(){define("dijit/ToolbarSeparator",["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_4fa,dom,_4fb,_4fc){return _4fa("dijit.ToolbarSeparator",[_4fb,_4fc],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/i18n!../nls/common"],function(_4fd,_4fe,_4ff,_500,keys,lang,on,_501,_502,_503,_504,_505,_506){var _507=_4fe("dijit.layout._StackButton",_506,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _508=_4fe("dijit.layout.StackController",[_503,_504,_505],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:_507,buttonWidgetCloseClass:"dijitStackCloseButton",constructor:function(_509){this.pane2button={};},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");this.connect(this.containerNode,"click",function(evt){var _50a=_502.getEnclosingWidget(evt.target);if(_50a!=this.containerNode&&!_50a.disabled&&_50a.page){for(var _50b=evt.target;_50b!==this.containerNode;_50b=_50b.parentNode){if(_4ff.contains(_50b,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_50a.page);break;}else{if(_50b==_50a.domNode){this.onButtonClick(_50a.page);break;}}}}});},onStartup:function(info){_4fd.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _50c=_502.byId(this.containerId).containerNode,_50d=this.pane2button,_50e={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled"},_50f=function(attr,_510){return on(_50c,"attrmodified-"+attr,function(evt){var _511=_50d[evt.detail&&evt.detail.widget&&evt.detail.widget.id];if(_511){_511.set(_510,evt.detail.newValue);}});};for(var attr in _50e){this.own(_50f(attr,_50e[attr]));}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_502.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_512){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _513=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_513,_512);this.pane2button[page.id]=_513;page.controlButton=_513;if(!this._currentChild){this.onSelectChild(page);}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _514=this.pane2button[page.id];if(_514){this.removeChild(_514);delete this.pane2button[page.id];_514.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _515=this.pane2button[this._currentChild.id];_515.set("checked",false);_515.focusNode.setAttribute("tabIndex","-1");}var _516=this.pane2button[page.id];_516.set("checked",true);this._currentChild=page;_516.focusNode.setAttribute("tabIndex","0");var _517=_502.byId(this.containerId);},onButtonClick:function(page){var _518=this.pane2button[page.id];_501.focus(_518.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_518.set("checked",true);}var _519=_502.byId(this.containerId);_519.selectChild(page);},onCloseButtonClick:function(page){var _51a=_502.byId(this.containerId);_51a.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_501.focus(b.focusNode||b.domNode);}}},adjacent:function(_51b){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_51b=!_51b;}var _51c=this.getChildren();var idx=_4fd.indexOf(_51c,this.pane2button[this._currentChild.id]),_51d=_51c[idx];var _51e;do{idx=(idx+(_51b?1:_51c.length-1))%_51c.length;_51e=_51c[idx];}while(_51e.disabled&&_51e!=_51d);return _51e;},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _51f=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_51f=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_51f=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_51f=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_51f=true;}break;case keys.HOME:var _520=this.getChildren();for(var idx=0;idx<_520.length;idx++){var _521=_520[idx];if(!_521.disabled){this.onButtonClick(_521.page);break;}}_500.stop(e);break;case keys.END:var _520=this.getChildren();for(var idx=_520.length-1;idx>=0;idx--){var _521=_520[idx];if(!_521.disabled){this.onButtonClick(_521.page);break;}}_500.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_500.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.onButtonClick(this.adjacent(!e.shiftKey).page);_500.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_500.stop(e);}}}}if(_51f!==null){this.onButtonClick(this.adjacent(_51f).page);_500.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_508.StackButton=_507;return _508;});},"url:dijit/templates/TooltipDialog.html":"<div role=\"alertdialog\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class=\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/event","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_522,_523,_524,lang,has,win,dom,_525,_526,_527,on,_528,dnd,_529){return _523("dojo.dnd.Mover",[_527],{constructor:function(node,e,host){this.node=dom.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;this.events=[on(d,_528.move,lang.hitch(this,"onFirstMove")),on(d,_528.move,lang.hitch(this,"onMouseMove")),on(d,_528.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_524.stop),on(d.body,"selectstart",_524.stop)];_529.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_529.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);_524.stop(e);},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}_524.stop(e);},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_525.getMarginBox(this.node);var b=win.doc.body;var bs=_526.getComputedStyle(b);var bm=_525.getMarginBox(b,bs);var bc=_525.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_522.forEach(this.events,function(_52a){_52a.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_52b,_52c,_52d){return _52b("dijit.form.HorizontalRule",[_52c,_52d],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,buildRendering:function(){this.inherited(arguments);var _52e;if(this.count==1){_52e=this._genHTML(50,0);}else{var i;var _52f=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_52e=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_52e+=this._genHTML(_52f*i,i);}_52e+=this._genHTML(100,this.count-1);}else{_52e=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_52e+=this._genHTML(100-_52f*i,i);}_52e+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_52e;}});});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_530,_531,_532,_533){return _530("dijit.layout.TabContainer",_531,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_534){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_532=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _532({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_534);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_533:_532;}}});});},"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t   data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","dijit/form/_Spinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/mouse","../typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_535,_536,keys,lang,has,_537,_538,_539,_53a,_53b){return _535("dijit.form._Spinner",_539,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_53a,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_53c,_53d,_53e){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_53d*_53e),false);_53b.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_53f,node,evt){var inc=this.smallDelta;if(node==this.textbox){var key=evt.charOrCode;inc=(key==keys.PAGE_UP||key==keys.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==keys.UP_ARROW||key==keys.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_53f==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){_536.stop(evt);var _540=evt.wheelDelta/120;if(Math.floor(_540)!=_540){_540=evt.wheelDelta>0?1:-1;}var _541=evt.detail?(evt.detail*-1):_540;if(_541!==0){var node=this[(_541>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_541,this.smallDelta);if(this._wheelTimer){this._wheelTimer.remove();}this._wheelTimer=this.defer(function(){this._arrowReleased(node);},50);}},_setConstraintsAttr:function(_542){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){this.focusNode.setAttribute("aria-valuemin",this.constraints.min);}else{this.focusNode.removeAttribute("aria-valuemin");}if(this.constraints.max!==undefined){this.focusNode.setAttribute("aria-valuemax",this.constraints.max);}else{this.focusNode.removeAttribute("aria-valuemax");}}},_setValueAttr:function(_543,_544){this.focusNode.setAttribute("aria-valuenow",_543);this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,_537.wheel,"_mouseWheeled");this.own(_538.addListener(this.upArrowNode,this.textbox,{charOrCode:keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_538.addListener(this.downArrowNode,this.textbox,{charOrCode:keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_538.addListener(this.upArrowNode,this.textbox,{charOrCode:keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_538.addListener(this.downArrowNode,this.textbox,{charOrCode:keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_545,_546,_547,has,_548,lang,_549,_54a,_54b,_54c){if(has("dijit-legacy-requires")){_549(0,function(){var _54d=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_545(_54d);});}return _546("dijit.form.Button",[_54a,_54b],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_54c,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();e.stopPropagation();}}return ok;},_fillContent:function(_54e){if(_54e&&(!this.params||!("label" in this.params))){var _54f=lang.trim(_54e.innerHTML);if(_54f){this.label=_54f;}}},_setShowLabelAttr:function(val){if(this.containerNode){_547.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_550){_548.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_550);},_setLabelAttr:function(_551){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","dojo/dnd/move":function(){define(["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_552,_553,_554,dnd,_555,_556){var _557=_552("dojo.dnd.move.constrainedMoveable",_556,{constraints:function(){},within:false,constructor:function(node,_558){if(!_558){_558={};}this.constraints=_558.constraints;this.within=_558.within;},onFirstMove:function(_559){var c=this.constraintBox=this.constraints.call(this,_559);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_553.getMarginSize(_559.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_55a,_55b){var c=this.constraintBox,s=_55a.node.style;this.onMoving(_55a,_55b);_55b.l=_55b.l<c.l?c.l:c.r<_55b.l?c.r:_55b.l;_55b.t=_55b.t<c.t?c.t:c.b<_55b.t?c.b:_55b.t;s.left=_55b.l+"px";s.top=_55b.t+"px";this.onMoved(_55a,_55b);}});var _55c=_552("dojo.dnd.move.boxConstrainedMoveable",_557,{box:{},constructor:function(node,_55d){var box=_55d&&_55d.box;this.constraints=function(){return box;};}});var _55e=_552("dojo.dnd.move.parentConstrainedMoveable",_557,{area:"content",constructor:function(node,_55f){var area=_55f&&_55f.area;this.constraints=function(){var n=this.node.parentNode,s=_554.getComputedStyle(n),mb=_553.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_553.getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=_553.getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=_553.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_557,boxConstrainedMoveable:_55c,parentConstrainedMoveable:_55e};});},"dijit/layout/_TabContainerBase":function(){define(["dojo/text!./templates/TabContainer.html","./StackContainer","./utils","../_TemplatedMixin","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_560,_561,_562,_563,_564,_565,_566,_567){return _564("dijit.layout._TabContainerBase",[_561,_563],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_560,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_567.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_565.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_565.add(this.domNode,"dijitTabContainerNested");_565.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_565.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_565.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_565.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_565.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _568=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_568;var _569=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_568},{domNode:this.containerNode,layoutAlign:"client"}];_562.layoutChildren(this.domNode,this._contentBox,_569);this._containerContentBox=_562.marginBox2contentBox(this.containerNode,_569[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _56a=_566.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_56a});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_56b,_56c,_56d,_56e,has,_56f,_570,_571,_572){return _56b("dijit.form.Form",[_56f,_570,_571,_572],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form data-dojo-attach-point='containerNode' data-dojo-attach-event='onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}></form>",postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(_573){this.encType=_573;_56c.set(this.domNode,"encType",_573);if(has("ie")){this.domNode.encoding=_573;}},reset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e?e.target:this.domNode,target:e?e.target:this.domNode};if(!(this.onReset(faux)===false)&&faux.returnValue){this.inherited(arguments,[]);}},onReset:function(){return true;},_onReset:function(e){this.reset(e);_56d.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_56e.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_56d.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_574,_575,_576){var base=null;return _574("dojo.store.Memory",base,{constructor:function(_577){for(var i in _577){this[i]=_577[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_576,get:function(id){return this.data[this.index[id]];},getIdentity:function(_578){return _578[this.idProperty];},put:function(_579,_57a){var data=this.data,_57b=this.index,_57c=this.idProperty;var id=_579[_57c]=(_57a&&"id" in _57a)?_57a.id:_57c in _579?_579[_57c]:Math.random();if(id in _57b){if(_57a&&_57a.overwrite===false){throw new Error("Object already exists");}data[_57b[id]]=_579;}else{_57b[id]=data.push(_579)-1;}return id;},add:function(_57d,_57e){(_57e=_57e||{}).overwrite=false;return this.put(_57d,_57e);},remove:function(id){var _57f=this.index;var data=this.data;if(id in _57f){data.splice(_57f[id],1);this.setData(data);return true;}},query:function(_580,_581){return _575(this.queryEngine(_580,_581)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier||this.idProperty;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n","dijit/Editor":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/i18n","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/string","dojo/topic","dojo/_base/window","./_base/focus","./_Container","./Toolbar","./ToolbarSeparator","./layout/_LayoutWidget","./form/ToggleButton","./_editor/_Plugin","./_editor/plugins/EnterKeyHandling","./_editor/html","./_editor/range","./_editor/RichText","./main","dojo/i18n!./_editor/nls/commands"],function(_582,_583,_584,_585,i18n,_586,_587,_588,_589,_58a,keys,lang,has,_58b,_58c,win,_58d,_58e,_58f,_590,_591,_592,_593,_594,html,_595,_596,_597){var _598=_584("dijit.Editor",_596,{plugins:null,extraPlugins:null,constructor:function(){if(!lang.isArray(this.plugins)){this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull",_594];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")||has("trident")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _585();this.inherited(arguments);},postCreate:function(){this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);if(lang.isArray(this.extraPlugins)){this.plugins=this.plugins.concat(this.extraPlugins);}this.inherited(arguments);this.commands=i18n.getLocalization("dijit._editor","commands",this.lang);if(!this.toolbar){this.toolbar=new _58f({ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,"aria-label":this.id});this.header.appendChild(this.toolbar.domNode);}_583.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.resolve(true);_587.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_587.add(this.iframe,"dijitEditorIFrame");_586.set(this.iframe,"allowTransparency",true);if(has("webkit")){_589.set(this.domNode,"KhtmlUserSelect","none");}this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_583.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_599,_59a){var args=lang.isString(_599)?{name:_599}:lang.isFunction(_599)?{ctor:_599}:_599;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_593.registry[args.name]){o.plugin=_593.registry[args.name](args);}else{_58c.publish(_597._scopeName+".Editor.getPlugin",o);}}if(!o.plugin){try{var pc=args.ctor||lang.getObject(args.name)||_582(args.name);if(pc){o.plugin=new pc(args);}}catch(e){throw new Error(this.id+": cannot find plugin ["+args.name+"]");}}if(!o.plugin){throw new Error(this.id+": cannot find plugin ["+args.name+"]");}_599=o.plugin;}if(arguments.length>1){this._plugins[_59a]=_599;}else{this._plugins.push(_599);}_599.setEditor(this);if(lang.isFunction(_599.setToolbar)){_599.setToolbar(this.toolbar);}},resize:function(size){if(size){_591.prototype.resize.apply(this,arguments);}},layout:function(){var _59b=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_588.getPadBorderExtents(this.iframe.parentNode).h+_588.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_59b+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _59c;var b=this.document.body;var _59d=b.clientWidth;var _59e=b.clientHeight;var _59f=b.clientLeft;var _5a0=b.offsetWidth;var _5a1=b.offsetHeight;var _5a2=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_59d<_5a0&&e.x>_59d&&e.x<_5a0){_59c=true;}}else{if(e.x<_59f&&e.x>_5a2){_59c=true;}}if(!_59c){if(_59e<_5a1&&e.y>_59e&&e.y<_5a1){_59c=true;}}if(!_59c){delete this._cursorToStart;delete this._savedSelection;if(e.target.tagName=="BODY"){this.defer("placeCursorAtEnd");}this.inherited(arguments);}},onBeforeActivate:function(){this._restoreSelection();},onBeforeDeactivate:function(e){if(this.customUndo){this.endEditing(true);}if(e.target.tagName!="BODY"){this._saveSelection();}},customUndo:true,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){this._editTimer.remove();}this._editTimer=this.defer("endEditing",this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{if(this.customUndo){this.endEditing();this._beginEditing();}var r=this.inherited(arguments);if(this.customUndo){this._endEditing();}return r;}},_pasteImpl:function(){return this._clipboardCommand("paste");},_cutImpl:function(){return this._clipboardCommand("cut");},_copyImpl:function(){return this._clipboardCommand("copy");},_clipboardCommand:function(cmd){var r;try{r=this.document.execCommand(cmd,false,null);if(has("webkit")&&!r){throw {code:1011};}}catch(e){if(e.code==1011||(e.code==9&&has("opera"))){var sub=_58b.substitute,_5a3={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_5a3[cmd]])]));}r=false;}return r;},queryCommandEnabled:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return cmd=="undo"?(this._steps.length>1):(this._undoedSteps.length>0);}else{return this.inherited(arguments);}},_moveToBookmark:function(b){var _5a4=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_5a5,_5a6,sel;if(mark){if(has("ie")<9){if(lang.isArray(mark)){_5a4=[];_583.forEach(mark,function(n){_5a4.push(_595.getNode(n,this.editNode));},this);win.withGlobal(this.window,"moveToBookmark",_58d,[{mark:_5a4,isCollapsed:col}]);}else{if(mark.startContainer&&mark.endContainer){sel=_595.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_595.create(this.window);_5a5=_595.getNode(mark.startContainer,this.editNode);_5a6=_595.getNode(mark.endContainer,this.editNode);if(_5a5&&_5a6){r.setStart(_5a5,mark.startOffset);r.setEnd(_5a6,mark.endOffset);sel.addRange(r);}}}}}else{sel=_595.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_595.create(this.window);_5a5=_595.getNode(mark.startContainer,this.editNode);_5a6=_595.getNode(mark.endContainer,this.editNode);if(_5a5&&_5a6){r.setStart(_5a5,mark.startOffset);r.setEnd(_5a6,mark.endOffset);sel.addRange(r);}}}}},_changeToStep:function(from,to){this.setValue(to.text);var b=to.bookmark;if(!b){return;}this._moveToBookmark(b);},undo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._steps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(s,this._steps[this._steps.length-1]);this._undoedSteps.push(s);this.onDisplayChanged();delete this._undoRedoActive;ret=true;}delete this._undoRedoActive;}return ret;},redo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._undoedSteps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(this._steps[this._steps.length-1],s);this._steps.push(s);this.onDisplayChanged();ret=true;}delete this._undoRedoActive;}return ret;},endEditing:function(_5a7){if(this._editTimer){this._editTimer=this._editTimer.remove();}if(this._inEditing){this._endEditing(_5a7);this._inEditing=false;}},_getBookmark:function(){var b=win.withGlobal(this.window,_58d.getBookmark);var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9){var sel=_595.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _5a8;if(sel.rangeCount){_5a8=sel.getRangeAt(0);}if(_5a8){b.mark=_5a8.cloneRange();}else{b.mark=win.withGlobal(this.window,_58d.getBookmark);}}}else{_583.forEach(b.mark,function(n){tmp.push(_595.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_595.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_595.getIndex(b.mark.endContainer,this.editNode).o,endOffset:b.mark.endOffset};}}catch(e){b.mark=null;}}return b;},_beginEditing:function(){if(this._steps.length===0){this._steps.push({"text":html.getChildrenHtml(this.editNode),"bookmark":this._getBookmark()});}},_endEditing:function(){var v=html.getChildrenHtml(this.editNode);this._undoedSteps=[];this._steps.push({text:v,bookmark:this._getBookmark()});},onKeyDown:function(e){if(!has("ie")&&!this.iframe&&e.keyCode==keys.TAB&&!this.tabIndent){this._saveSelection();}if(!this.customUndo){this.inherited(arguments);return;}var k=e.keyCode;if(e.ctrlKey&&!e.altKey){if(k==90||k==122){_58a.stop(e);this.undo();return;}else{if(k==89||k==121){_58a.stop(e);this.redo();return;}}}this.inherited(arguments);switch(k){case keys.ENTER:case keys.BACKSPACE:case keys.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");}else{this.beginEditing("paste");}this.defer("endEditing",1);break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCode<keys.F1||e.keyCode>keys.F15)){this.beginEditing();break;}case keys.ALT:this.endEditing();break;case keys.UP_ARROW:case keys.DOWN_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:case keys.HOME:case keys.END:case keys.PAGE_UP:case keys.PAGE_DOWN:this.endEditing(true);break;case keys.CTRL:case keys.SHIFT:case keys.TAB:break;}},_onBlur:function(){this.inherited(arguments);this.endEditing(true);},_saveSelection:function(){try{this._savedSelection=this._getBookmark();}catch(e){}},_restoreSelection:function(){if(this._savedSelection){delete this._cursorToStart;if(win.withGlobal(this.window,"isCollapsed",_58d)){this._moveToBookmark(this._savedSelection);}delete this._savedSelection;}},onClick:function(){this.endEditing(true);this.inherited(arguments);},replaceValue:function(html){if(!this.customUndo){this.inherited(arguments);}else{if(this.isClosed){this.setValue(html);}else{this.beginEditing();if(!html){html="&#160;";}this.setValue(html);this.endEditing();}}},_setDisabledAttr:function(_5a9){this.setValueDeferred.then(lang.hitch(this,function(){if((!this.disabled&&_5a9)||(!this._buttonEnabledPlugins&&_5a9)){_583.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_5a9){_583.forEach(this._plugins,function(p){p.set("disabled",false);});}}}));this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_589.set(this.document.body,"color",_589.get(this.iframe,"color"));}}catch(e){}}});function _5aa(args){return new _593({command:args.name});};function _5ab(args){return new _593({buttonClass:_592,command:args.name});};lang.mixin(_593.registry,{"undo":_5aa,"redo":_5aa,"cut":_5aa,"copy":_5aa,"paste":_5aa,"insertOrderedList":_5aa,"insertUnorderedList":_5aa,"indent":_5aa,"outdent":_5aa,"justifyCenter":_5aa,"justifyFull":_5aa,"justifyLeft":_5aa,"justifyRight":_5aa,"delete":_5aa,"selectAll":_5aa,"removeFormat":_5aa,"unlink":_5aa,"insertHorizontalRule":_5aa,"bold":_5ab,"italic":_5ab,"underline":_5ab,"strikethrough":_5ab,"subscript":_5ab,"superscript":_5ab,"|":function(){return new _593({setEditor:function(_5ac){this.editor=_5ac;this.button=new _590({ownerDocument:_5ac.ownerDocument});}});}});return _598;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_5ad,_5ae,has,keys,_5af,_5b0,_5b1,_5b2){if(has("dijit-legacy-requires")){_5af(0,function(){var _5b3=["dijit/ToolbarSeparator"];_5ad(_5b3);});}return _5ae("dijit.Toolbar",[_5b0,_5b2,_5b1],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",postCreate:function(){this.inherited(arguments);this.connectKeyNavHandlers(this.isLeftToRight()?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],this.isLeftToRight()?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);}});});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/ready","dojo/topic","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_5b4,_5b5,_5b6,_5b7,has,lang,_5b8,_5b9,_5ba,_5bb,_5bc){if(has("dijit-legacy-requires")){_5b8(0,function(){var _5bd=["dijit/layout/StackController"];require(_5bd);});}var _5be=_5b6("dijit.layout.StackContainer",_5bc,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_5b7.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _5bf=this.getChildren();_5b4.forEach(_5bf,this._setupChild,this);if(this.persist){this.selectedChildWidget=_5ba.byId(_5b5(this.id+"_selectedChild"));}else{_5b4.some(_5bf,function(_5c0){if(_5c0.selected){this.selectedChildWidget=_5c0;}return _5c0.selected;},this);}var _5c1=this.selectedChildWidget;if(!_5c1&&_5bf[0]){_5c1=this.selectedChildWidget=_5bf[0];_5c1.selected=true;}_5b9.publish(this.id+"-startup",{children:_5bf,selected:_5c1});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _5c2=this.selectedChildWidget;if(_5c2){this._showChild(_5c2);}}this.inherited(arguments);},_setupChild:function(_5c3){this.inherited(arguments);_5b7.replace(_5c3.domNode,"dijitHidden","dijitVisible");_5c3.domNode.title="";},addChild:function(_5c4,_5c5){this.inherited(arguments);if(this._started){_5b9.publish(this.id+"-addChild",_5c4,_5c5);this.layout();if(!this.selectedChildWidget){this.selectChild(_5c4);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_5b9.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _5c6=this.getChildren();if(_5c6.length){this.selectChild(_5c6[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_5c7){page=_5ba.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_5c7);this._set("selectedChildWidget",page);_5b9.publish(this.id+"-selectChild",page);if(this.persist){_5b5(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_5c8,_5c9){if(_5c9){this._hideChild(_5c9);}var d=this._showChild(_5c8);if(_5c8.resize){if(this.doLayout){_5c8.resize(this._containerContentBox||this._contentBox);}else{_5c8.resize();}}return d;},_adjacent:function(_5ca){var _5cb=this.getChildren();var _5cc=_5b4.indexOf(_5cb,this.selectedChildWidget);_5cc+=_5ca?1:_5cb.length-1;return _5cb[_5cc%_5cb.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_5b9.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _5cd=this.selectedChildWidget;if(_5cd&&_5cd.resize){if(this.doLayout){_5cd.resize(this._containerContentBox||this._contentBox);}else{_5cd.resize();}}},_showChild:function(page){var _5ce=this.getChildren();page.isFirstChild=(page==_5ce[0]);page.isLastChild=(page==_5ce[_5ce.length-1]);page._set("selected",true);_5b7.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_5b7.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _5cf=page.onClose(this,page);if(_5cf){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_5d0){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_5b4.forEach(this.getChildren(),function(_5d1){if(!_5d0){this.removeChild(_5d1);}_5d1.destroyRecursive(_5d0);},this);this._descendantsBeingDestroyed=false;}});_5be.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_5bb,_5be.ChildWidgetProperties);return _5be;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _5d2={};lang.setObject("dojo.regexp",_5d2);_5d2.escapeString=function(str,_5d3){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_5d3&&_5d3.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_5d2.buildGroupRE=function(arr,re,_5d4){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _5d2.group(b.join("|"),_5d4);};_5d2.group=function(_5d5,_5d6){return "("+(_5d6?"?:":"")+_5d5+")";};return _5d2;});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_5d7,_5d8,_5d9){return _5d7("dijit.form.ComboBox",[_5d8,_5d9],{});});},"dijit/_editor/plugins/LinkDialog":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/_base/query","dojo/string","../../_Widget","../_Plugin","../../form/DropDownButton","../range"],function(_5da,_5db,_5dc,keys,lang,has,_5dd,_5de,_5df,_5e0,_5e1,_5e2){var _5e3=_5db("dijit._editor.plugins.LinkDialog",_5e0,{buttonClass:_5e1,useDefaultCommand:false,urlRegExp:"((https?|ftps?|file)\\://|./|../|/|)(/[a-zA-Z]{1,1}:/|)(((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)*(?:[a-zA-Z](?:[-\\da-zA-Z]{0,80}[\\da-zA-Z])?)\\.?)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:\\d+)?(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]{0,}(?:\\?[^?#\\s/]*)?(?:#.*)?)?)?",emailRegExp:"<?(mailto\\:)([!#-'*+\\-\\/-9=?A-Z^-~]+[.])*[!#-'*+\\-\\/-9=?A-Z^-~]+"+"@"+"((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)+(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)\\.?)|localhost|^[^-][a-zA-Z0-9_-]*>?",htmlTemplate:"<a href=\"${urlInput}\" _djrealurl=\"${urlInput}\""+" target=\"${targetSelect}\""+">${textInput}</a>",tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,linkDialogTemplate:["<table role='presentation'><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' "+"id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_targetSelect'>${target}</label>","</td><td>","<select id='${id}_targetSelect' name='targetSelect' data-dojo-type='dijit.form.Select'>","<option selected='selected' value='_self'>${currentWindow}</option>","<option value='_blank'>${newWindow}</option>","<option value='_top'>${topWindow}</option>","<option value='_parent'>${parentWindow}</option>","</select>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),_initButton:function(){this.inherited(arguments);this.button.loadDropDown=lang.hitch(this,"_loadDropDown");this._connectTagEvents();},_loadDropDown:function(_5e4){_5da(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_5e5,_5e6){var _5e7=this;this.tag=this.command=="insertImage"?"img":"a";var _5e8=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _5e9=(this.dropDown=this.button.dropDown=new _5e5({title:_5e8[this.command+"Title"],ownerDocument:this.editor.ownerDocument,dir:this.editor.dir,execute:lang.hitch(this,"setValue"),onOpen:function(){_5e7._onOpenDialog();_5e5.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_5e7,"_onCloseDialog"),0);}}));_5e8.urlRegExp=this.urlRegExp;_5e8.id=_5e6.getUniqueId(this.editor.id);this._uniqueId=_5e8.id;this._setContent(_5e9.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_5de.substitute(this.linkDialogTemplate,_5e8));_5e9.startup();this._urlInput=_5e6.byId(this._uniqueId+"_urlInput");this._textInput=_5e6.byId(this._uniqueId+"_textInput");this._setButton=_5e6.byId(this._uniqueId+"_setButton");this.connect(_5e6.byId(this._uniqueId+"_cancelButton"),"onClick",function(){this.dropDown.onCancel();});if(this._urlInput){this.connect(this._urlInput,"onChange","_checkAndFixInput");}if(this._textInput){this.connect(this._textInput,"onChange","_checkAndFixInput");}this._urlRegExp=new RegExp("^"+this.urlRegExp+"$","i");this._emailRegExp=new RegExp("^"+this.emailRegExp+"$","i");this._urlInput.isValid=lang.hitch(this,function(){var _5ea=this._urlInput.get("value");return this._urlRegExp.test(_5ea)||this._emailRegExp.test(_5ea);});this.connect(_5e9.domNode,"onkeypress",function(e){if(e&&e.charOrCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_5e9.onExecute();_5e9.execute(_5e9.get("value"));}}});_5e4();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _5eb=function(url){var _5ec=false;var _5ed=false;if(url&&url.length>1){url=lang.trim(url);if(url.indexOf("mailto:")!==0){if(url.indexOf("/")>0){if(url.indexOf("://")===-1){if(url.charAt(0)!=="/"&&url.indexOf("./")&&url.indexOf("../")!==0){if(self._hostRxp.test(url)){_5ec=true;}}}}else{if(self._userAtRxp.test(url)){_5ed=true;}}}}if(_5ec){self._urlInput.set("value","http://"+url);}if(_5ed){self._urlInput.set("value","mailto:"+url);}self._setButton.set("disabled",!self._isValid());};if(this._delayedCheck){clearTimeout(this._delayedCheck);this._delayedCheck=null;}this._delayedCheck=setTimeout(function(){_5eb(url);},250);},_connectTagEvents:function(){this.editor.onLoadDeferred.then(lang.hitch(this,function(){this.connect(this.editor.editNode,"ondblclick",this._onDblClick);}));},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid();},_setContent:function(_5ee){this.dropDown.set({parserScope:"dojo",content:_5ee});},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,"&quot;");}return args;},setValue:function(args){this._onCloseDialog();if(has("ie")<9){var sel=_5e2.getSelection(this.editor.window);var _5ef=sel.getRangeAt(0);var a=_5ef.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=this.editor._sCall("getSelectedElement",[this.tag]);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){this.editor._sCall("selectElementChildren",[a]);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_5de.substitute(this.htmlTemplate,args));_5dd("a",this.editor.document).forEach(function(a){if(!a.innerHTML&&!_5dc.has(a,"name")){a.parentNode.removeChild(a);}},this);},_onCloseDialog:function(){if(this.editor.focused){this.editor.focus();}},_getCurrentValues:function(a){var url,text,_5f0;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_5f0=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;this.editor._sCall("selectElement",[a,true]);}else{text=this.editor._sCall("getSelectedText");}return {urlInput:url||"",textInput:text||"",targetSelect:_5f0||""};},_onOpenDialog:function(){var a,b,fc;if(has("ie")){var sel=_5e2.getSelection(this.editor.window);if(sel.rangeCount){var _5f1=sel.getRangeAt(0);a=_5f1.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=this.editor._sCall("getSelectedElement",[this.tag]);}if(!a||(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){b=this.editor._sCall("getAncestorElement",[this.tag]);if(b&&(b.nodeName&&b.nodeName.toLowerCase()==this.tag)){a=b;this.editor._sCall("selectElement",[a]);}else{if(_5f1.startContainer===_5f1.endContainer){fc=_5f1.startContainer.firstChild;if(fc&&(fc.nodeName&&fc.nodeName.toLowerCase()==this.tag)){a=fc;this.editor._sCall("selectElement",[a]);}}}}}}else{a=this.editor._sCall("getAncestorElement",[this.tag]);}this.dropDown.reset();this._setButton.set("disabled",true);this.dropDown.set("value",this._getCurrentValues(a));},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_5dc.get(t,"href")){var _5f2=this.editor;this.editor._sCall("selectElement",[t]);_5f2.onDisplayChanged();if(_5f2._updateTimer){_5f2._updateTimer.remove();delete _5f2._updateTimer;}_5f2.onNormalizedDisplayChanged();var _5f3=this.button;setTimeout(function(){_5f3.set("disabled",false);_5f3.loadAndOpenDropDown().then(function(){if(_5f3.dropDown.focus){_5f3.dropDown.focus();}});},10);}}}});var _5f4=_5db("dijit._editor.plugins.ImgLinkDialog",[_5e3],{linkDialogTemplate:["<table role='presentation'><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input dojoType='dijit.form.ValidationTextBox' regExp='${urlRegExp}' "+"required='true' id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='false' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","</td><td>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),htmlTemplate:"<img src=\"${urlInput}\" _djrealurl=\"${urlInput}\" alt=\"${textInput}\" />",tag:"img",_getCurrentValues:function(img){var url,text;if(img&&img.tagName.toLowerCase()===this.tag){url=img.getAttribute("_djrealurl")||img.getAttribute("src");text=img.getAttribute("alt");this.editor._sCall("selectElement",[img,true]);}else{text=this.editor._sCall("getSelectedText",[]);}return {urlInput:url||"",textInput:text||""};},_isValid:function(){return this._urlInput.isValid();},_connectTagEvents:function(){this.inherited(arguments);this.editor.onLoadDeferred.then(lang.hitch(this,function(){this.connect(this.editor.editNode,"onmousedown",this._selectTag);}));},_selectTag:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag){this.editor._sCall("selectElement",[t]);}}},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,"&quot;");}if(args&&args.textInput){args.textInput=args.textInput.replace(/"/g,"&quot;");}return args;},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_5dc.get(t,"src")){var _5f5=this.editor;this.editor._sCall("selectElement",[t]);_5f5.onDisplayChanged();if(_5f5._updateTimer){_5f5._updateTimer.remove();delete _5f5._updateTimer;}_5f5.onNormalizedDisplayChanged();var _5f6=this.button;setTimeout(function(){_5f6.set("disabled",false);_5f6.loadAndOpenDropDown().then(function(){if(_5f6.dropDown.focus){_5f6.dropDown.focus();}});},10);}}}});_5e0.registry["createLink"]=function(){return new _5e3({command:"createLink"});};_5e0.registry["insertImage"]=function(){return new _5f4({command:"insertImage"});};_5e3.ImgLinkDialog=_5f4;return _5e3;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_5f7,_5f8,keys,_5f9,_5fa,_5fb){return _5f7("dijit.DropDownMenu",[_5fb,_5fa],{templateString:_5f9,baseClass:"dijitMenu",postCreate:function(){this.inherited(arguments);var l=this.isLeftToRight();this._openSubMenuKey=l?keys.RIGHT_ARROW:keys.LEFT_ARROW;this._closeSubMenuKey=l?keys.LEFT_ARROW:keys.RIGHT_ARROW;this.connectKeyNavHandlers([keys.UP_ARROW],[keys.DOWN_ARROW]);},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case this._openSubMenuKey:this._moveToPopup(evt);_5f8.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_5f8.stop(evt);}break;}}});});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_5fc,_5fd,_5fe,lang,on,_5ff){return _5fd("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_600){var res=[];_5fc.forEach(_600||this.getChildren(),function(_601){if("value" in _601){res.push(_601);}else{res=res.concat(this._getDescendantFormWidgets(_601.getChildren()));}},this);return res;},reset:function(){_5fc.forEach(this._getDescendantFormWidgets(),function(_602){if(_602.reset){_602.reset();}});},validate:function(){var _603=false;return _5fc.every(_5fc.map(this._getDescendantFormWidgets(),function(_604){_604._hasBeenBlurred=true;var _605=_604.disabled||!_604.validate||_604.validate();if(!_605&&!_603){_5ff.scrollIntoView(_604.containerNode||_604.domNode);_604.focus();_603=true;}return _605;}),function(item){return item;});},setValues:function(val){_5fe.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_5fc.forEach(this._getDescendantFormWidgets(),function(_606){if(!_606.name){return;}var _607=map[_606.name]||(map[_606.name]=[]);_607.push(_606);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _608=map[name],_609=lang.getObject(name,false,obj);if(_609===undefined){continue;}if(!lang.isArray(_609)){_609=[_609];}if(typeof _608[0].checked=="boolean"){_5fc.forEach(_608,function(w){w.set("value",_5fc.indexOf(_609,w.value)!=-1);});}else{if(_608[0].multiple){_608[0].set("value",_609);}else{_5fc.forEach(_608,function(w,i){w.set("value",_609[i]);});}}}},getValues:function(){_5fe.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_5fc.forEach(this._getDescendantFormWidgets(),function(_60a){var name=_60a.name;if(!name||_60a.disabled){return;}var _60b=_60a.get("value");if(typeof _60a.checked=="boolean"){if(/Radio/.test(_60a.declaredClass)){if(_60b!==false){lang.setObject(name,_60b,obj);}else{_60b=lang.getObject(name,false,obj);if(_60b===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_60b!==false){ary.push(_60b);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_60b);}else{lang.setObject(name,[prev,_60b],obj);}}else{lang.setObject(name,_60b,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _60c=_5fc.map(this._descendants,function(w){return w.get("state")||"";});return _5fc.indexOf(_60c,"Error")>=0?"Error":_5fc.indexOf(_60c,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_60d){this._descendants=this._getDescendantFormWidgets();_5fc.forEach(this._descendants,function(_60e){if(!_60e._started){_60e.startup();}});if(!_60d){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_60f,_610){this.onValidStateChange(_610=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/Menu":function(){define("dijit/Menu",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","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(_611,_612,_613,_614,dom,_615,_616,_617,keys,lang,on,has,win,_618,pm,_619,_61a){if(has("dijit-legacy-requires")){_61a(0,function(){var _61b=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_611(_61b);});}return _613("dijit.Menu",_619,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_612.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_61c){return _618.get(this._iframeContentDocument(_61c))||this._iframeContentDocument(_61c)["__parent__"]||(_61c.name&&win.doc.frames[_61c.name])||null;},_iframeContentDocument:function(_61d){return _61d.contentDocument||(_61d.contentWindow&&_61d.contentWindow.document)||(_61d.name&&win.doc.frames[_61d.name]&&win.doc.frames[_61d.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _61e=node,_61f=this._iframeContentWindow(_61e);cn=win.body(_61f.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _620={node:node,iframe:_61e};_615.set(node,"_dijitMenu"+this.id,this._bindings.push(_620));var _621=lang.hitch(this,function(cn){var _622=this.selector,_623=_622?function(_624){return on.selector(_622,_624);}:function(_625){return _625;},self=this;return [on(cn,_623(this.leftClickToOpen?"click":"contextmenu"),function(evt){_614.stop(evt);if((new Date()).getTime()<this._lastKeyDown+500){return;}self._scheduleOpen(this,_61e,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_623("keydown"),function(evt){if(evt.keyCode==93||(evt.shiftKey&&evt.keyCode==keys.F10)||(this.leftClickToOpen&&evt.keyCode==keys.SPACE)){_614.stop(evt);self._scheduleOpen(this,_61e,null,evt.target);this._lastKeyDown=(new Date()).getTime();}})];});_620.connects=cn?_621(cn):[];if(_61e){_620.onloadHandler=lang.hitch(this,function(){var _626=this._iframeContentWindow(_61e);cn=win.body(_626.document);_620.connects=_621(cn);});if(_61e.addEventListener){_61e.addEventListener("load",_620.onloadHandler,false);}else{_61e.attachEvent("onload",_620.onloadHandler);}}},unBindDomNode:function(_627){var node;try{node=dom.byId(_627,this.ownerDocument);}catch(e){return;}var _628="_dijitMenu"+this.id;if(node&&_615.has(node,_628)){var bid=_615.get(node,_628)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _629=b.iframe;if(_629){if(_629.removeEventListener){_629.removeEventListener("load",b.onloadHandler,false);}else{_629.detachEvent("onload",b.onloadHandler);}}_615.remove(node,_628);delete this._bindings[bid];}},_scheduleOpen:function(_62a,_62b,_62c,_62d){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_62d,delegatedTarget:_62a,iframe:_62b,coords:_62c});},1);}},_openMyself:function(args){var _62e=args.target,_62f=args.iframe,_630=args.coords;this.currentTarget=args.delegatedTarget;if(_630){if(_62f){var ifc=_616.position(_62f,true),_631=this._iframeContentWindow(_62f),_632=_616.docScroll(_631.document);var cs=_617.getComputedStyle(_62f),tp=_617.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_62f,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_62f,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_62f,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_62f,cs.borderTopWidth):0);_630.x+=ifc.x+left-_632.x;_630.y+=ifc.y+top-_632.y;}}else{_630=_616.position(_62e,true);_630.x+=10;_630.y+=10;}var self=this;var _633=this._focusManager.get("prevNode");var _634=this._focusManager.get("curNode");var _635=!_634||(dom.isDescendant(_634,this.domNode))?_633:_634;function _636(){if(self.refocus&&_635){_635.focus();}pm.close(self);};pm.open({popup:this,x:_630.x,y:_630.y,onExecute:_636,onCancel:_636,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_612.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_637,_638,_639){return _637("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_63a){this._set("readOnly",_63a);_638.set(this.focusNode,"readOnly",_63a);},_setLabelAttr:undefined,_getSubmitValue:function(_63b){return (_63b==null||_63b==="")?"on":_63b;},_setValueAttr:function(_63c){_63c=this._getSubmitValue(_63c);this._set("value",_63c);_638.set(this.focusNode,"value",_63c);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_638.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_639.stop(e);return false;}return this.inherited(arguments);}});});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],function(_63d,lang,_63e,_63f,_640,_641,html,_642,_643,_644,_645,dom,_646,_647,xhr,i18n,when){return _644("dijit.layout.ContentPane",[_63e,_63f,_640],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_63d._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,create:function(_648,_649){if((!_648||!_648.template)&&_649&&!("href" in _648)&&!("content" in _648)){_649=dom.byId(_649);var df=_649.ownerDocument.createDocumentFragment();while(_649.firstChild){df.appendChild(_649.firstChild);}_648=lang.delegate(_648,{content:df});}this.inherited(arguments,[_648,_649]);},postMixInProperties:function(){this.inherited(arguments);var _64a=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_641.substitute(this.loadingMessage,_64a);this.errorMessage=_641.substitute(this.errorMessage,_64a);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_643.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_643.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_643.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_63d.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _645(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_63d.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _645(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_64b){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _645(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _64c={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_64c,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_64c)),_64d;hand.then(function(html){_64d=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _64d;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_64e){if(this.isLoaded){this._onUnloadHandler();}var _64f=this._contentSetter;_643.forEach(this.getChildren(),function(_650){if(_650.destroyRecursive){_650.destroyRecursive(_64e);}else{if(_650.destroy){_650.destroy(_64e);}}_650._destroyed=true;});if(_64f){_643.forEach(_64f.parseResults,function(_651){if(!_651._destroyed){if(_651.destroyRecursive){_651.destroyRecursive(_64e);}else{if(_651.destroy){_651.destroy(_64e);}}_651._destroyed=true;}});delete _64f.parseResults;}if(!_64e){_647.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_652){this.destroyDescendants();var _653=this._contentSetter;if(!(_653&&_653 instanceof html._ContentSetter)){_653=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _654=this.onContentError(e);try{this.containerNode.innerHTML=_654;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _655=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_653.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_655);var self=this;return when(p&&p.then?p:_653.parseDeferred,function(){delete self._contentSetterParams;if(!_652){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},_onError:function(type,err,_656){this.onLoadDeferred.reject(err);var _657=this["on"+type+"Error"].call(this,err);if(_656){console.error(_656,err);}else{if(_657){this._setContent(_657,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/_KeyNavContainer":function(){define(["dojo/_base/kernel","./_Container","./_FocusMixin","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/event","dojo/dom-attr","dojo/_base/lang"],function(_658,_659,_65a,_65b,keys,_65c,_65d,_65e,lang){return _65c("dijit._KeyNavContainer",[_65a,_659],{tabIndex:"0",connectKeyNavHandlers:function(_65f,_660){var _661=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_65b.forEach(_65f,function(code){_661[code]=prev;});_65b.forEach(_660,function(code){_661[code]=next;});_661[keys.HOME]=lang.hitch(this,"focusFirstChild");_661[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_658.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_65b.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_662,_663){this.inherited(arguments);this._startupChild(_662);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},focusChild:function(_664,last){if(!_664){return;}if(this.focusedChild&&_664!==this.focusedChild){this._onChildBlur(this.focusedChild);}_664.set("tabIndex",this.tabIndex);_664.focus(last?"end":"start");this._set("focusedChild",_664);},_startupChild:function(_665){_665.set("tabIndex","-1");this.connect(_665,"_onFocus",function(){_665.set("tabIndex",this.tabIndex);});this.connect(_665,"_onBlur",function(){_665.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_65e.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_65e.set(this.domNode,"tabIndex",this.tabIndex);}this.focusedChild=null;this.inherited(arguments);},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();_65d.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_666,dir){if(_666){_666=this._getSiblingOfChild(_666,dir);}var _667=this.getChildren();for(var i=0;i<_667.length;i++){if(!_666){_666=_667[(dir>0)?0:(_667.length-1)];}if(_666.isFocusable()){return _666;}_666=this._getSiblingOfChild(_666,dir);}return null;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","../main"],function(_668,_669,_66a,_66b,lang,_66c){var _66d=lang.getObject("layout",true,_66c);_66d.marginBox2contentBox=function(node,mb){var cs=_66b.getComputedStyle(node);var me=_66a.getMarginExtents(node,cs);var pb=_66a.getPadBorderExtents(node,cs);return {l:_66b.toPixelValue(node,cs.paddingLeft),t:_66b.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _66e(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_66f,dim){var _670=_66f.resize?_66f.resize(dim):_66a.setMarginBox(_66f.domNode,dim);if(_670){lang.mixin(_66f,_670);}else{lang.mixin(_66f,_66a.getMarginBox(_66f.domNode));lang.mixin(_66f,dim);}};_66d.layoutChildren=function(_671,dim,_672,_673,_674){dim=lang.mixin({},dim);_669.add(_671,"dijitLayoutContainer");_672=_668.filter(_672,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_668.filter(_672,function(item){return item.region=="center"||item.layoutAlign=="client";}));_668.forEach(_672,function(_675){var elm=_675.domNode,pos=(_675.region||_675.layoutAlign);if(!pos){throw new Error("No region setting for "+_675.id);}var _676=elm.style;_676.left=dim.l+"px";_676.top=dim.t+"px";_676.position="absolute";_669.add(elm,"dijitAlign"+_66e(pos));var _677={};if(_673&&_673==_675.id){_677[_675.region=="top"||_675.region=="bottom"?"h":"w"]=_674;}if(pos=="top"||pos=="bottom"){_677.w=dim.w;size(_675,_677);dim.h-=_675.h;if(pos=="top"){dim.t+=_675.h;}else{_676.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_677.h=dim.h;size(_675,_677);dim.w-=_675.w;if(pos=="left"){dim.l+=_675.w;}else{_676.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_675,dim);}}}});};return {marginBox2contentBox:_66d.marginBox2contentBox,layoutChildren:_66d.layoutChildren};});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_678,dom,lang,_679,_67a,_67b){function _67c(_67d){return {id:_67d.value,value:_67d.value,name:lang.trim(_67d.innerText||_67d.textContent||"")};};return _678("dijit.form.DataList",_67a,{constructor:function(_67e,_67f){this.domNode=dom.byId(_67f);lang.mixin(this,_67e);if(this.id){_67b.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_679("option",this.domNode).map(_67c)}]);},destroy:function(){_67b.remove(this.id);},fetchSelectedItem:function(){var _680=_679("> option[selected]",this.domNode)[0]||_679("> option",this.domNode)[0];return _680&&_67c(_680);}});});},"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabindex=\"0\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_681,_682,_683,has,_684,_685,_686,_687,_688){if(has("dijit-legacy-requires")){_685(0,function(){var _689=["dijit/form/RadioButton"];_681(_689);});}return _682("dijit.form.CheckBox",[_686,_687],{templateString:_688,baseClass:"dijitCheckBox",_setValueAttr:function(_68a,_68b){if(typeof _68a=="string"){this.inherited(arguments);_68a=true;}if(this._created){this.set("checked",_68a,_68b);}},_getValueAttr:function(){return (this.checked?this.value:false);},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_684("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_684("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../form/Button"],function(_68c,_68d,lang,_68e){var _68f=_68d("dijit._editor._Plugin",null,{constructor:function(args){this.params=args||{};lang.mixin(this,this.params);this._connects=[];this._attrPairNames={};},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:true,buttonClass:_68e,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _690=this.getLabel(this.command),_691=this.editor,_692=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _693=lang.mixin({label:_690,ownerDocument:_691.ownerDocument,dir:_691.dir,lang:_691.lang,showLabel:false,iconClass:_692,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});this.button=new this.buttonClass(_693);}}if(this.get("disabled")&&this.button){this.button.set("disabled",this.get("disabled"));}},destroy:function(){var h;while(h=this._connects.pop()){h.remove();}if(this.dropDown){this.dropDown.destroyRecursive();}},connect:function(o,f,tf){this._connects.push(_68c.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_694,_695;if(!e||!e.isLoaded||!c.length){return;}var _696=this.get("disabled");if(this.button){try{_695=!_696&&e.queryCommandEnabled(c);if(this.enabled!==_695){this.enabled=_695;this.button.set("disabled",!_695);}if(_695){if(typeof this.button.checked=="boolean"){_694=e.queryCommandState(c);if(this.checked!==_694){this.checked=_694;this.button.set("checked",e.queryCommandState(c));}}}}catch(e){}}},setEditor:function(_697){this.editor=_697;this._initButton();if(this.button&&this.useDefaultCommand){if(this.editor.queryCommandAvailable(this.command)){this.connect(this.button,"onClick",lang.hitch(this.editor,"execCommand",this.command,this.commandArg));}else{this.button.domNode.style.display="none";}}this.connect(this.editor,"onNormalizedDisplayChanged","updateState");},setToolbar:function(_698){if(this.button){_698.addChild(this.button);}},set:function(name,_699){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _69a=this._getAttrNames(name);if(this[_69a.s]){var _69b=this[_69a.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_699);}return _69b||this;},get:function(name){var _69c=this._getAttrNames(name);return this[_69c.g]?this[_69c.g]():this[name];},_setDisabledAttr:function(_69d){this.disabled=_69d;this.updateState();},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(name,_69e){this[name]=_69e;}});_68f.registry={};return _68f;});},"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\"  role=\"menubar\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress: _onKeyPress\"></div>\n","dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/cookie","dojo/mouse","dojo/on","dojo/touch","./_dndContainer"],function(_69f,_6a0,_6a1,_6a2,_6a3,lang,_6a4,_6a5,on,_6a6,_6a7){return _6a1("dijit.tree._dndSelector",_6a7,{constructor:function(){this.selection={};this.anchor=null;if(!this.cookieName&&this.tree.id){this.cookieName=this.tree.id+"SaveSelectedCookie";}this.events.push(on(this.tree.domNode,_6a6.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_6a6.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_6a6.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _6a8=[],sel=this.selection;for(var i in sel){_6a8.push(sel[i]);}return _6a8;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_6a9){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_6a9){this.anchor=node;}return node;},removeTreeNode:function(node){this.setSelection(this._setDifference(this.getSelectedTreeNodes(),[node]));return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_6aa){var _6ab=this.getSelectedTreeNodes();_69f.forEach(this._setDifference(_6ab,_6aa),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_69f.forEach(this._setDifference(_6aa,_6ab),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_69f.forEach(ys,function(y){y.__exclude__=true;});var ret=_69f.filter(xs,function(x){return !x.__exclude__;});_69f.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _6ac=this.getSelectedTreeNodes();var _6ad=[],_6ae=[],_6af=[];_69f.forEach(_6ac,function(node){var ary=node.getTreePath(),_6b0=this.tree.model;_6ae.push(node);_6ad.push(ary);ary=_69f.map(ary,function(item){return _6b0.getIdentity(item);},this);_6af.push(ary.join("/"));},this);var _6b1=_69f.map(_6ae,function(node){return node.item;});this.tree._set("paths",_6ad);this.tree._set("path",_6ad[0]||[]);this.tree._set("selectedNodes",_6ae);this.tree._set("selectedNode",_6ae[0]||null);this.tree._set("selectedItems",_6b1);this.tree._set("selectedItem",_6b1[0]||null);if(this.tree.persist&&_6af.length>0){_6a4(this.cookieName,_6af.join(","),{expires:365});}},_getSavedPaths:function(){var tree=this.tree;if(tree.persist&&tree.dndController.cookieName){var oreo,_6b2=[];oreo=_6a4(tree.dndController.cookieName);if(oreo){_6b2=_69f.map(oreo.split(","),function(path){return path.split("/");});}return _6b2;}},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_6a5.isLeft(e)){e.preventDefault();}else{if(e.type!="touchstart"){return;}}var _6b3=this.current,copy=_6a0.isCopyKey(e),id=_6b3.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_6b3,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_6a0.isCopyKey(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_6b4,_6b5){if(this.singular){if(this.anchor==node&&_6b4){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_6b5&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_6b6,end,_6b7=this.anchor;if(cr<0){_6b6=_6b7;end=node;}else{_6b6=node;end=_6b7;}var _6b8=[];while(_6b6!=end){_6b8.push(_6b6);_6b6=this.tree._getNextNode(_6b6);}_6b8.push(end);this.setSelection(_6b8);}else{if(this.selection[node.id]&&_6b4){this.removeTreeNode(node);}else{if(_6b4){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _6b9=this.selection[key];return {data:_6b9,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_6a3.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_6ba,lang,_6bb,_6bc,dom,_6bd,_6be){var html={};lang.setObject("dojo.html",html);var _6bf=0;html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};html._emptyNode=_6bd.empty;html._setNodeContent=function(node,cont){_6bd.empty(node);if(cont){if(typeof cont=="string"){cont=_6bd.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _6c0=cont.length,i=0;i<cont.length;i=_6c0==cont.length?i+1:0){_6bd.place(cont[i],node,"last");}}else{_6bd.place(cont,node,"last");}}return node;};html._ContentSetter=_6bc("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_6ba._scopeName,startup:true,constructor:function(_6c1,node){lang.mixin(this,_6c1||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_6bf++].join("_");}},set:function(cont,_6c2){if(undefined!==cont){this.content=cont;}if(_6c2){this._mixin(_6c2);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _6c3=this.onContentError(e);try{node.innerHTML=_6c3;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_6bb.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_6bd.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _6c4=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_6c4){cont=_6c4[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_6c5){var _6c6={},key;for(key in _6c5){if(key in _6c6){continue;}this[key]=_6c5[key];}},_parse:function(){var _6c7=this.node;try{var _6c8={};_6bb.forEach(["dir","lang","textDir"],function(name){if(this[name]){_6c8[name]=this[name];}},this);var self=this;this.parseDeferred=_6be.parse({rootNode:_6c7,noStart:!this.startup,inherited:_6c8,scope:this.parserScope}).then(function(_6c9){return self.parseResults=_6c9;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_6ca){var _6cb=this["on"+type+"Error"].call(this,err);if(_6ca){console.error(_6ca,err);}else{if(_6cb){html._setNodeContent(this.node,_6cb,true);}}}});html.set=function(node,cont,_6cc){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_6cc){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_6cc,{content:cont,node:node}));return op.set();}};return html;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","./_CssStateMixin","./focus","./typematic"],function(_6cd,_6ce,_6cf,_6d0,_6d1,keys,lang,_6d2,_6d3,_6d4){return _6cd("dijit._PaletteMixin",[_6d2],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_6d5){var _6d6=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _6d6(_6d5);},_preparePalette:function(_6d7,_6d8){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_6d7.length;row++){var _6d9=_6d0.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_6d7[row].length;col++){var _6da=_6d7[row][col];if(_6da){var _6db=this._dyeFactory(_6da,row,col,_6d8[_6da]);var _6dc=_6d0.create("td",{"class":this.cellClass,tabIndex:"-1",title:_6d8[_6da],role:"gridcell"},_6d9);_6db.fillCell(_6dc,url);_6dc.idx=this._cells.length;this._cells.push({node:_6dc,dye:_6db});}}}this._xDim=_6d7[0].length;this._yDim=_6d7.length;var _6dd={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _6dd){this.own(_6d4.addKeyListener(this.domNode,{charOrCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _6de=_6dd[key];return function(_6df){this._navigateByKey(_6de,_6df);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_6d3.focus(this._currentFocus);},_onCellClick:function(evt){var _6e0=evt.target;while(_6e0.tagName!="TD"){if(!_6e0.parentNode||_6e0==this.gridNode){return;}_6e0=_6e0.parentNode;}var _6e1=this._getDye(_6e0).getValue();this._setCurrent(_6e0);_6d3.focus(_6e0);this._setValueAttr(_6e1,true);_6d1.stop(evt);},_setCurrent:function(node){if("_currentFocus" in this){_6ce.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_6ce.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_6e2,_6e3){if(this._selectedCell>=0){_6cf.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_6e2){for(var i=0;i<this._cells.length;i++){if(_6e2==this._cells[i].dye.getValue()){this._selectedCell=i;_6cf.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_6e2:null);if(_6e3||_6e3===undefined){this.onChange(_6e2);}},onChange:function(){},_navigateByKey:function(_6e4,_6e5){if(_6e5==-1){return;}var _6e6=this._currentFocus.idx+_6e4;if(_6e6<this._cells.length&&_6e6>-1){var _6e7=this._cells[_6e6].node;this._setCurrent(_6e7);this.defer(lang.hitch(_6d3,"focus",_6e7));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});});},"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\" id=\"${id}_titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"arrowNode\" class=\"dijitArrowNode\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\" aria-labelledby=\"${id}_titleBarNode\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_6e8,_6e9,i18n,_6ea,_6eb,_6ec){var _6ed;return _6ed=_6e8("dijit.form.ValidationTextBox",_6ea,{templateString:_6ec,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_6ee){if(_6ee!=_6ed.prototype[attr]){_6e9.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0");this.set("pattern",_6ee);}},_setRegExpGenAttr:function(_6ef){this._deprecateRegExp("regExpGen",_6ef);this.regExpGen=this._getPatternAttr;},_setRegExpAttr:function(_6f0){this._deprecateRegExp("regExp",_6f0);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_6f1,_6f2){return (new RegExp("^(?:"+this._getPatternAttr(_6f2)+")"+(this.required?"":"?")+"$")).test(_6f1)&&(!this.required||!this._isEmpty(_6f1))&&(this._isEmpty(_6f1)||this.parse(_6f1,_6f2)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_6f3){return (this.trim?/^\s*$/:/^$/).test(_6f3);},getErrorMessage:function(){var _6f4=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _6f5=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_6f4:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_6f5:_6f4;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_6f6){var _6f7="";var _6f8=this.disabled||this.isValid(_6f6);if(_6f8){this._maskValidSubsetError=true;}var _6f9=this._isEmpty(this.textbox.value);var _6fa=!_6f8&&_6f6&&this._isValidSubset();this._set("state",_6f8?"":(((((!this._hasBeenBlurred||_6f6)&&_6f9)||_6fa)&&(this._maskValidSubsetError||(_6fa&&!this._hasBeenBlurred&&_6f6)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_6f8?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_6f6&&_6fa;_6f7=this.getErrorMessage(_6f6);}else{if(this.state=="Incomplete"){_6f7=this.getPromptMessage(_6f6);this._maskValidSubsetError=!this._hasBeenBlurred||_6f6;}else{if(_6f9){_6f7=this.getPromptMessage(_6f6);}}}this.set("message",_6f7);return _6f8;},displayMessage:function(_6fb){if(_6fb&&this.focused){_6eb.show(_6fb,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_6eb.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_6fc){this.constraints={};this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_6fd){if(!_6fd.locale&&this.lang){_6fd.locale=this.lang;}this._set("constraints",_6fd);this._refreshState();},_setPatternAttr:function(_6fe){this._set("pattern",_6fe);this._refreshState();},_getPatternAttr:function(_6ff){var p=this.pattern;var type=(typeof p).toLowerCase();if(type=="function"){p=this.pattern(_6ff||this.constraints);}if(p!=this._lastRegExp){var _700="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_700+=re;break;case ")":_700+="|$)";break;default:_700+="(?:"+re+"|$)";break;}});}try{"".search(_700);}catch(e){_700=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_700+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_701){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_702){this._set("required",_702);this.focusNode.setAttribute("aria-required",_702);this._refreshState();},_setMessageAttr:function(_703){this._set("message",_703);this.displayMessage(_703);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"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/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./_LayoutWidget","./utils"],function(_704,_705,_706,_707,_708,_709,_70a,_70b,keys,lang,on,_70c,_70d,_70e,_70f,_710,_711){var _712=_706("dijit.layout._Splitter",[_70e,_70f],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeypress:_onKeyPress,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_707.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _713=_705(this._cookieName);if(_713){this.child.domNode.style[this.horizontal?"height":"width"]=_713;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_714=_709.getMarginBox(this.child.domNode)[dim],_715=_704.filter(this.container.getChildren(),function(_716){return _716.region=="center";})[0],_717=_709.getMarginBox(_715.domNode)[dim];return Math.min(this.child.maxSize,_714+_717);},_startDrag:function(e){if(!this.cover){this.cover=_708.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_707.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_708.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_707.add(this.domNode,"dijitSplitterShadow");_708.place(this.fake,this.domNode,"after");}_707.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_707.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _718=this._factor,_719=this.horizontal,axis=_719?"pageY":"pageX",_71a=e[axis],_71b=this.domNode.style,dim=_719?"h":"w",_71c=_709.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_71d=this.region,_71e=_71d=="top"||_71d=="bottom"?"top":"left",_71f=parseInt(_71b[_71e],10),_720=this._resize,_721=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_70c.move,this._drag=function(e,_722){var _723=e[axis]-_71a,_724=_718*_723+_71c,_725=Math.max(Math.min(_724,max),min);if(_720||_722){_721(_725);}_71b[_71e]=_723+_71f+_718*(_725-_724)+"px";}),on(de,"dragstart",_70b.stop),on(this.ownerDocumentBody,"selectstart",_70b.stop),on(de,_70c.release,lang.hitch(this,"_stopDrag"))]);_70b.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_707.toggle(this.domNode,"dijitSplitterHover",o);_707.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_707.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_708.destroy(this.fake);}_707.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){_705(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyPress:function(e){this._resize=true;var _726=this.horizontal;var tick=1;switch(e.charOrCode){case _726?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _726?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _727=_709.getMarginSize(this.child.domNode)[_726?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_727,this._computeMaxSize()),this.child.minSize));_70b.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _728=_706("dijit.layout._Gutter",[_70e,_70f],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_707.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _729=_706("dijit.layout.BorderContainer",_710,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_712,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_704.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_72a){var _72b=_72a.region;if(_72b){this.inherited(arguments);_707.add(_72a.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_72b=="leading"){_72b=ltr?"left":"right";}if(_72b=="trailing"){_72b=ltr?"right":"left";}if(_72b!="center"&&(_72a.splitter||this.gutters)&&!_72a._splitterWidget){var _72c=_72a.splitter?this._splitterClass:_728;if(lang.isString(_72c)){_72c=lang.getObject(_72c);}var _72d=new _72c({id:_72a.id+"_splitter",container:this,child:_72a,region:_72b,live:this.liveSplitters});_72d.isSplitter=true;_72a._splitterWidget=_72d;_708.place(_72d.domNode,_72a.domNode,"after");_72d.startup();}_72a.region=_72b;}},layout:function(){this._layoutChildren();},addChild:function(_72e,_72f){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_730){var _731=_730.region;var _732=_730._splitterWidget;if(_732){_732.destroy();delete _730._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_707.remove(_730.domNode,this.baseClass+"Pane");_70a.set(_730.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_70a.set(_730.domNode,_731=="top"||_731=="bottom"?"width":"height","auto");},getChildren:function(){return _704.filter(this.inherited(arguments),function(_733){return !_733.isSplitter;});},getSplitter:function(_734){return _704.filter(this.getChildren(),function(_735){return _735.region==_734;})[0]._splitterWidget;},resize:function(_736,_737){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_70a.getComputedStyle(node);this.pe=_709.getPadExtents(node,this.cs);this.pe.r=_70a.toPixelValue(node,this.cs.paddingRight);this.pe.b=_70a.toPixelValue(node,this.cs.paddingBottom);_70a.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_738,_739){if(!this._borderBox||!this._borderBox.h){return;}var _73a=_704.map(this.getChildren(),function(_73b,idx){return {pane:_73b,weight:[_73b.region=="center"?Infinity:0,_73b.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_73b.region)?1:-1),idx]};},this);_73a.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});var _73c=[];_704.forEach(_73a,function(_73d){var pane=_73d.pane;_73c.push(pane);if(pane._splitterWidget){_73c.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};_711.layoutChildren(this.domNode,dim,_73c,_738,_739);},destroyRecursive:function(){_704.forEach(this.getChildren(),function(_73e){var _73f=_73e._splitterWidget;if(_73f){_73f.destroy();}delete _73e._splitterWidget;});this.inherited(arguments);}});_729.ChildWidgetProperties={region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity};lang.extend(_70d,_729.ChildWidgetProperties);_729._Splitter=_712;_729._Gutter=_728;return _729;});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_740,_741,_742){var _743={};lang.setObject("dojo.number",_743);_743.format=function(_744,_745){_745=lang.mixin({},_745||{});var _746=i18n.normalizeLocale(_745.locale),_747=i18n.getLocalization("dojo.cldr","number",_746);_745.customs=_747;var _748=_745.pattern||_747[(_745.type||"decimal")+"Format"];if(isNaN(_744)||Math.abs(_744)==Infinity){return null;}return _743._applyPattern(_744,_748,_745);};_743._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_743._applyPattern=function(_749,_74a,_74b){_74b=_74b||{};var _74c=_74b.customs.group,_74d=_74b.customs.decimal,_74e=_74a.split(";"),_74f=_74e[0];_74a=_74e[(_749<0)?1:0]||("-"+_74f);if(_74a.indexOf("%")!=-1){_749*=100;}else{if(_74a.indexOf("‰")!=-1){_749*=1000;}else{if(_74a.indexOf("¤")!=-1){_74c=_74b.customs.currencyGroup||_74c;_74d=_74b.customs.currencyDecimal||_74d;_74a=_74a.replace(/\u00a4{1,3}/,function(_750){var prop=["symbol","currency","displayName"][_750.length-1];return _74b[prop]||_74b.currency||"";});}else{if(_74a.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _751=_743._numberPatternRE;var _752=_74f.match(_751);if(!_752){throw new Error("unable to find a number expression in pattern: "+_74a);}if(_74b.fractional===false){_74b.places=0;}return _74a.replace(_751,_743._formatAbsolute(_749,_752[0],{decimal:_74d,group:_74c,places:_74b.places,round:_74b.round}));};_743.round=function(_753,_754,_755){var _756=10/(_755||10);return (_756*+_753).toFixed(_754)/_756;};if((0.9).toFixed()==0){var _757=_743.round;_743.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 _757(v,p,m)+(v>0?d:-d);};}_743._formatAbsolute=function(_758,_759,_75a){_75a=_75a||{};if(_75a.places===true){_75a.places=0;}if(_75a.places===Infinity){_75a.places=6;}var _75b=_759.split("."),_75c=typeof _75a.places=="string"&&_75a.places.indexOf(","),_75d=_75a.places;if(_75c){_75d=_75a.places.substring(_75c+1);}else{if(!(_75d>=0)){_75d=(_75b[1]||[]).length;}}if(!(_75a.round<0)){_758=_743.round(_758,_75d,_75a.round);}var _75e=String(Math.abs(_758)).split("."),_75f=_75e[1]||"";if(_75b[1]||_75a.places){if(_75c){_75a.places=_75a.places.substring(0,_75c);}var pad=_75a.places!==undefined?_75a.places:(_75b[1]&&_75b[1].lastIndexOf("0")+1);if(pad>_75f.length){_75e[1]=_741.pad(_75f,pad,"0",true);}if(_75d<_75f.length){_75e[1]=_75f.substr(0,_75d);}}else{if(_75e[1]){_75e.pop();}}var _760=_75b[0].replace(",","");pad=_760.indexOf("0");if(pad!=-1){pad=_760.length-pad;if(pad>_75e[0].length){_75e[0]=_741.pad(_75e[0],pad);}if(_760.indexOf("#")==-1){_75e[0]=_75e[0].substr(_75e[0].length-pad);}}var _761=_75b[0].lastIndexOf(","),_762,_763;if(_761!=-1){_762=_75b[0].length-_761-1;var _764=_75b[0].substr(0,_761);_761=_764.lastIndexOf(",");if(_761!=-1){_763=_764.length-_761-1;}}var _765=[];for(var _766=_75e[0];_766;){var off=_766.length-_762;_765.push((off>0)?_766.substr(off):_766);_766=(off>0)?_766.slice(0,off):"";if(_763){_762=_763;delete _763;}}_75e[0]=_765.reverse().join(_75a.group||",");return _75e.join(_75a.decimal||".");};_743.regexp=function(_767){return _743._parseInfo(_767).regexp;};_743._parseInfo=function(_768){_768=_768||{};var _769=i18n.normalizeLocale(_768.locale),_76a=i18n.getLocalization("dojo.cldr","number",_769),_76b=_768.pattern||_76a[(_768.type||"decimal")+"Format"],_76c=_76a.group,_76d=_76a.decimal,_76e=1;if(_76b.indexOf("%")!=-1){_76e/=100;}else{if(_76b.indexOf("‰")!=-1){_76e/=1000;}else{var _76f=_76b.indexOf("¤")!=-1;if(_76f){_76c=_76a.currencyGroup||_76c;_76d=_76a.currencyDecimal||_76d;}}}var _770=_76b.split(";");if(_770.length==1){_770.push("-"+_770[0]);}var re=_742.buildGroupRE(_770,function(_771){_771="(?:"+_742.escapeString(_771,".")+")";return _771.replace(_743._numberPatternRE,function(_772){var _773={signed:false,separator:_768.strict?_76c:[_76c,""],fractional:_768.fractional,decimal:_76d,exponent:false},_774=_772.split("."),_775=_768.places;if(_774.length==1&&_76e!=1){_774[1]="###";}if(_774.length==1||_775===0){_773.fractional=false;}else{if(_775===undefined){_775=_768.pattern?_774[1].lastIndexOf("0")+1:Infinity;}if(_775&&_768.fractional==undefined){_773.fractional=true;}if(!_768.places&&(_775<_774[1].length)){_775+=","+_774[1].length;}_773.places=_775;}var _776=_774[0].split(",");if(_776.length>1){_773.groupSize=_776.pop().length;if(_776.length>1){_773.groupSize2=_776.pop().length;}}return "("+_743._realNumberRegexp(_773)+")";});},true);if(_76f){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_777,_778,_779,_77a){var prop=["symbol","currency","displayName"][_779.length-1],_77b=_742.escapeString(_768[prop]||_768.currency||"");_778=_778?"[\\s\\xa0]":"";_77a=_77a?"[\\s\\xa0]":"";if(!_768.strict){if(_778){_778+="*";}if(_77a){_77a+="*";}return "(?:"+_778+_77b+_77a+")?";}return _778+_77b+_77a;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_76c,decimal:_76d,factor:_76e};};_743.parse=function(_77c,_77d){var info=_743._parseInfo(_77d),_77e=(new RegExp("^"+info.regexp+"$")).exec(_77c);if(!_77e){return NaN;}var _77f=_77e[1];if(!_77e[1]){if(!_77e[2]){return NaN;}_77f=_77e[2];info.factor*=-1;}_77f=_77f.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _77f*info.factor;};_743._realNumberRegexp=function(_780){_780=_780||{};if(!("places" in _780)){_780.places=Infinity;}if(typeof _780.decimal!="string"){_780.decimal=".";}if(!("fractional" in _780)||/^0/.test(_780.places)){_780.fractional=[true,false];}if(!("exponent" in _780)){_780.exponent=[true,false];}if(!("eSigned" in _780)){_780.eSigned=[true,false];}var _781=_743._integerRegexp(_780),_782=_742.buildGroupRE(_780.fractional,function(q){var re="";if(q&&(_780.places!==0)){re="\\"+_780.decimal;if(_780.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_780.places+"}";}}return re;},true);var _783=_742.buildGroupRE(_780.exponent,function(q){if(q){return "([eE]"+_743._integerRegexp({signed:_780.eSigned})+")";}return "";});var _784=_781+_782;if(_782){_784="(?:(?:"+_784+")|(?:"+_782+"))";}return _784+_783;};_743._integerRegexp=function(_785){_785=_785||{};if(!("signed" in _785)){_785.signed=[true,false];}if(!("separator" in _785)){_785.separator="";}else{if(!("groupSize" in _785)){_785.groupSize=3;}}var _786=_742.buildGroupRE(_785.signed,function(q){return q?"[-+]":"";},true);var _787=_742.buildGroupRE(_785.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_742.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_785.groupSize,grp2=_785.groupSize2;if(grp2){var _788="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_788+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_788;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _786+_787;};return _743;});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _789={};lang.setObject("dojo.data.util.filter",_789);_789.patternToRegExp=function(_78a,_78b){var rxp="^";var c=null;for(var i=0;i<_78a.length;i++){c=_78a.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_78a.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_78b){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _789;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/parser"],function(_78c,_78d,_78e){return _78d("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;var cw=(this._startupWidgets=_78e.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));if(!cw.isFulfilled()){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin.   Must pre-load all supporting widgets before instantiation.");}this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_78c.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);}});});},"dijit/form/HorizontalRuleLabels":function(){define(["dojo/_base/declare","dojo/number","dojo/query","./HorizontalRule"],function(_78f,_790,_791,_792){return _78f("dijit.form.HorizontalRuleLabels",_792,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><div class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</div></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[ndx]+this._suffix;},getLabels:function(){var _793=this.labels;if(!_793.length&&this.srcNodeRef){_793=_791("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}if(!_793.length&&this.count>1){var _794=this.minimum;var inc=(this.maximum-_794)/(this.count-1);for(var i=0;i<this.count;i++){_793.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_790.format(_794,this.constraints));_794+=inc;}}return _793;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});});},"url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\"\n\t \trole=\"menuitem\" tabIndex=\"-1\">\n\t<span data-dojo-attach-point=\"containerNode\"></span>\n</div>\n","dijit/form/FilteringSelect":function(){define(["dojo/data/util/filter","dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_795,_796,lang,when,_797,_798){return _796("dijit.form.FilteringSelect",[_797,_798],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_799,_79a,_79b,_79c){if((_79a&&_79a[this.searchAttr]!==this._lastQuery)||(!_79a&&_799.length&&this.store.getIdentity(_799[0])!=this._lastQuery)){return;}if(!_799.length){this.set("value","",_79c||(_79c===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_799[0],_79c);}},_openResultList:function(_79d,_79e,_79f){if(_79e[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_7a0,_7a1,_7a2,item){if(!this._onChangeActive){_7a1=null;}if(item===undefined){if(_7a0===null||_7a0===""){_7a0="";if(!lang.isString(_7a2)){this._setDisplayedValueAttr(_7a2||"",_7a1);return;}}var self=this;this._lastQuery=_7a0;when(this.store.get(_7a0),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_7a1);});}else{this.valueNode.value=_7a0;this.inherited(arguments);}},_setItemAttr:function(item,_7a3,_7a4){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_7a5,_7a6){if(_7a5==null){_7a5="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_7a6=false;}if(this.store){this.closeDropDown();var _7a7=lang.clone(this.query);var qs=this._getDisplayQueryString(_7a5),q;if(this.store._oldAPI){q=qs;}else{q=_795.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_7a7[this.searchAttr]=q;this.textbox.value=_7a5;this._lastDisplayedValue=_7a5;this._set("displayedValue",_7a5);var _7a8=this;var _7a9={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_7a9,this.fetchProperties);this._fetchHandle=this.store.query(_7a7,_7a9);when(this._fetchHandle,function(_7aa){_7a8._fetchHandle=null;_7a8._callbackSetLabel(_7aa||[],_7a7,_7a9,_7a6);},function(err){_7a8._fetchHandle=null;if(!_7a8._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _7ab={};lang.setObject("dojo.data.util.sorter",_7ab);_7ab.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_7ab.createSortFunction=function(_7ac,_7ad){var _7ae=[];function _7af(attr,dir,comp,s){return function(_7b0,_7b1){var a=s.getValue(_7b0,attr);var b=s.getValue(_7b1,attr);return dir*comp(a,b);};};var _7b2;var map=_7ad.comparatorMap;var bc=_7ab.basicComparator;for(var i=0;i<_7ac.length;i++){_7b2=_7ac[i];var attr=_7b2.attribute;if(attr){var dir=(_7b2.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_7ae.push(_7af(attr,dir,comp,_7ad));}}return function(rowA,rowB){var i=0;while(i<_7ae.length){var ret=_7ae[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _7ab;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_7b3,dom,_7b4,_7b5){return _7b3("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_7b4.stop(e);return false;}var _7b6=this.onClick(e)===false;if(!_7b6&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _7b7=_7b5.byNode(node);if(_7b7&&typeof _7b7._onSubmit=="function"){_7b7._onSubmit(e);_7b6=true;break;}}}if(_7b6){e.preventDefault();}return !_7b6;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_7b8){this._set("label",_7b8);(this.containerNode||this.focusNode).innerHTML=_7b8;}});});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_7b9,_7ba){var _7bb={};lang.setObject("dojo.colors",_7bb);var _7bc=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_7b9.fromRgb=function(_7bd,obj){var m=_7bd.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_7ba.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _7b9.fromArray(a,obj);}return _7b9.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_7bc(m1,m2,H+1/3)*256,_7bc(m1,m2,H)*256,_7bc(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _7b9.fromArray(a,obj);}}return null;};var _7be=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_7b9.prototype.sanitize=function(){var t=this;t.r=Math.round(_7be(t.r,0,255));t.g=Math.round(_7be(t.g,0,255));t.b=Math.round(_7be(t.b,0,255));t.a=_7be(t.a,0,1);return this;};_7bb.makeGrey=_7b9.makeGrey=function(g,a){return _7b9.fromArray([g,g,g,a]);};lang.mixin(_7b9.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _7b9;});},"url:dijit/form/templates/Spinner.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdata-dojo-attach-point=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9650; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\tdata-dojo-attach-point=\"downArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' data-dojo-attach-point=\"textbox,focusNode\" type=\"${type}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n","dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/on","dojo/touch"],function(_7bf,_7c0,_7c1,_7c2,lang,on,_7c3){return _7c0("dijit.tree._dndContainer",null,{constructor:function(tree,_7c4){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_7c4);this.current=null;this.containerState="";_7c1.add(this.node,"dojoDndContainer");this.events=[on(this.node,_7c3.enter,lang.hitch(this,"onOverEvent")),on(this.node,_7c3.leave,lang.hitch(this,"onOutEvent")),_7bf.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_7bf.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_7c2,"stop")),on(this.node,"selectstart",lang.hitch(_7c2,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_7c5){this.current=_7c5;},onMouseOut:function(){this.current=null;},_changeState:function(type,_7c6){var _7c7="dojoDnd"+type;var _7c8=type.toLowerCase()+"State";_7c1.replace(this.node,_7c7+_7c6,_7c7+this[_7c8]);this[_7c8]=_7c6;},_addItemClass:function(node,type){_7c1.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_7c1.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dojo/date/locale":function(){define(["../_base/lang","../_base/array","../date","../cldr/supplemental","../i18n","../regexp","../string","../i18n!../cldr/nls/gregorian","module"],function(lang,_7c9,date,_7ca,i18n,_7cb,_7cc,_7cd,_7ce){var _7cf={};lang.setObject(_7ce.id.replace(/\//g,"."),_7cf);function _7d0(_7d1,_7d2,_7d3,_7d4){return _7d4.replace(/([a-z])\1*/ig,function(_7d5){var s,pad,c=_7d5.charAt(0),l=_7d5.length,_7d6=["abbr","wide","narrow"];switch(c){case "G":s=_7d2[(l<4)?"eraAbbr":"eraNames"][_7d1.getFullYear()<0?0:1];break;case "y":s=_7d1.getFullYear();switch(l){case 1:break;case 2:if(!_7d3.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_7d1.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_7d1.getMonth();if(l<3){s=m+1;pad=true;}else{var _7d7=["months",c=="L"?"standAlone":"format",_7d6[l-3]].join("-");s=_7d2[_7d7][m];}break;case "w":var _7d8=0;s=_7cf._getWeekOfYear(_7d1,_7d8);pad=true;break;case "d":s=_7d1.getDate();pad=true;break;case "D":s=_7cf._getDayOfYear(_7d1);pad=true;break;case "e":case "c":var d=_7d1.getDay();if(l<2){s=(d-_7ca.getFirstDayOfWeek(_7d3.locale)+8)%7;break;}case "E":d=_7d1.getDay();if(l<3){s=d+1;pad=true;}else{var _7d9=["days",c=="c"?"standAlone":"format",_7d6[l-3]].join("-");s=_7d2[_7d9][d];}break;case "a":var _7da=_7d1.getHours()<12?"am":"pm";s=_7d3[_7da]||_7d2["dayPeriods-format-wide-"+_7da];break;case "h":case "H":case "K":case "k":var h=_7d1.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_7d1.getMinutes();pad=true;break;case "s":s=_7d1.getSeconds();pad=true;break;case "S":s=Math.round(_7d1.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=_7cf._getZone(_7d1,true,_7d3);if(s){break;}l=4;case "Z":var _7db=_7cf._getZone(_7d1,false,_7d3);var tz=[(_7db<=0?"+":"-"),_7cc.pad(Math.floor(Math.abs(_7db)/60),2),_7cc.pad(Math.abs(_7db)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_7d4);}if(pad){s=_7cc.pad(s,l);}return s;});};_7cf._getZone=function(_7dc,_7dd,_7de){if(_7dd){return date.getTimezoneName(_7dc);}else{return _7dc.getTimezoneOffset();}};_7cf.format=function(_7df,_7e0){_7e0=_7e0||{};var _7e1=i18n.normalizeLocale(_7e0.locale),_7e2=_7e0.formatLength||"short",_7e3=_7cf._getGregorianBundle(_7e1),str=[],_7e4=lang.hitch(this,_7d0,_7df,_7e3,_7e0);if(_7e0.selector=="year"){return _7e5(_7e3["dateFormatItem-yyyy"]||"yyyy",_7e4);}var _7e6;if(_7e0.selector!="date"){_7e6=_7e0.timePattern||_7e3["timeFormat-"+_7e2];if(_7e6){str.push(_7e5(_7e6,_7e4));}}if(_7e0.selector!="time"){_7e6=_7e0.datePattern||_7e3["dateFormat-"+_7e2];if(_7e6){str.push(_7e5(_7e6,_7e4));}}return str.length==1?str[0]:_7e3["dateTimeFormat-"+_7e2].replace(/\'/g,"").replace(/\{(\d+)\}/g,function(_7e7,key){return str[key];});};_7cf.regexp=function(_7e8){return _7cf._parseInfo(_7e8).regexp;};_7cf._parseInfo=function(_7e9){_7e9=_7e9||{};var _7ea=i18n.normalizeLocale(_7e9.locale),_7eb=_7cf._getGregorianBundle(_7ea),_7ec=_7e9.formatLength||"short",_7ed=_7e9.datePattern||_7eb["dateFormat-"+_7ec],_7ee=_7e9.timePattern||_7eb["timeFormat-"+_7ec],_7ef;if(_7e9.selector=="date"){_7ef=_7ed;}else{if(_7e9.selector=="time"){_7ef=_7ee;}else{_7ef=_7eb["dateTimeFormat-"+_7ec].replace(/\{(\d+)\}/g,function(_7f0,key){return [_7ee,_7ed][key];});}}var _7f1=[],re=_7e5(_7ef,lang.hitch(this,_7f2,_7f1,_7eb,_7e9));return {regexp:re,tokens:_7f1,bundle:_7eb};};_7cf.parse=function(_7f3,_7f4){var _7f5=/[\u200E\u200F\u202A\u202E]/g,info=_7cf._parseInfo(_7f4),_7f6=info.tokens,_7f7=info.bundle,re=new RegExp("^"+info.regexp.replace(_7f5,"")+"$",info.strict?"":"i"),_7f8=re.exec(_7f3&&_7f3.replace(_7f5,""));if(!_7f8){return null;}var _7f9=["abbr","wide","narrow"],_7fa=[1970,0,1,0,0,0,0],amPm="",_7fb=_7c9.every(_7f8,function(v,i){if(!i){return true;}var _7fc=_7f6[i-1],l=_7fc.length,c=_7fc.charAt(0);switch(c){case "y":if(l!=2&&_7f4.strict){_7fa[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_7fd=year.substring(0,2)*100,_7fe=Math.min(Number(year.substring(2,4))+20,99);_7fa[0]=(v<_7fe)?_7fd+v:_7fd-100+v;}else{if(_7f4.strict){return false;}_7fa[0]=v;}}break;case "M":case "L":if(l>2){var _7ff=_7f7["months-"+(c=="L"?"standAlone":"format")+"-"+_7f9[l-3]].concat();if(!_7f4.strict){v=v.replace(".","").toLowerCase();_7ff=_7c9.map(_7ff,function(s){return s.replace(".","").toLowerCase();});}v=_7c9.indexOf(_7ff,v);if(v==-1){return false;}}else{v--;}_7fa[1]=v;break;case "E":case "e":case "c":var days=_7f7["days-"+(c=="c"?"standAlone":"format")+"-"+_7f9[l-3]].concat();if(!_7f4.strict){v=v.toLowerCase();days=_7c9.map(days,function(d){return d.toLowerCase();});}v=_7c9.indexOf(days,v);if(v==-1){return false;}break;case "D":_7fa[1]=0;case "d":_7fa[2]=v;break;case "a":var am=_7f4.am||_7f7["dayPeriods-format-wide-am"],pm=_7f4.pm||_7f7["dayPeriods-format-wide-pm"];if(!_7f4.strict){var _800=/\./g;v=v.replace(_800,"").toLowerCase();am=am.replace(_800,"").toLowerCase();pm=pm.replace(_800,"").toLowerCase();}if(_7f4.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_7fa[3]=v;break;case "m":_7fa[4]=v;break;case "s":_7fa[5]=v;break;case "S":_7fa[6]=v;}return true;});var _801=+_7fa[3];if(amPm==="p"&&_801<12){_7fa[3]=_801+12;}else{if(amPm==="a"&&_801==12){_7fa[3]=0;}}var _802=new Date(_7fa[0],_7fa[1],_7fa[2],_7fa[3],_7fa[4],_7fa[5],_7fa[6]);if(_7f4.strict){_802.setFullYear(_7fa[0]);}var _803=_7f6.join(""),_804=_803.indexOf("d")!=-1,_805=_803.indexOf("M")!=-1;if(!_7fb||(_805&&_802.getMonth()>_7fa[1])||(_804&&_802.getDate()>_7fa[2])){return null;}if((_805&&_802.getMonth()<_7fa[1])||(_804&&_802.getDate()<_7fa[2])){_802=date.add(_802,"hour",1);}return _802;};function _7e5(_806,_807,_808,_809){var _80a=function(x){return x;};_807=_807||_80a;_808=_808||_80a;_809=_809||_80a;var _80b=_806.match(/(''|[^'])+/g),_80c=_806.charAt(0)=="'";_7c9.forEach(_80b,function(_80d,i){if(!_80d){_80b[i]="";}else{_80b[i]=(_80c?_808:_807)(_80d.replace(/''/g,"'"));_80c=!_80c;}});return _809(_80b.join(""));};function _7f2(_80e,_80f,_810,_811){_811=_7cb.escapeString(_811);if(!_810.strict){_811=_811.replace(" a"," ?a");}return _811.replace(/([a-z])\1*/ig,function(_812){var s,c=_812.charAt(0),l=_812.length,p2="",p3="";if(_810.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":case "L":s=(l>2)?"\\S+?":"1[0-2]|"+p2+"[1-9]";break;case "D":s="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+p2+"[1-9][0-9]|"+p3+"[1-9]";break;case "d":s="3[01]|[12]\\d|"+p2+"[1-9]";break;case "w":s="[1-4][0-9]|5[0-3]|"+p2+"[1-9]";break;case "E":case "e":case "c":s="\\S+";break;case "h":s="1[0-2]|"+p2+"[1-9]";break;case "k":s="1[01]|"+p2+"\\d";break;case "H":s="1\\d|2[0-3]|"+p2+"\\d";break;case "K":s="1\\d|2[0-4]|"+p2+"[1-9]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_810.am||_80f["dayPeriods-format-wide-am"],pm=_810.pm||_80f["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_810.strict){if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}if(s.indexOf(".")!=-1){s+="|"+s.replace(/\./g,"");}}s=s.replace(/\./g,"\\.");break;default:s=".*";}if(_80e){_80e.push(_812);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _813=[];_7cf.addCustomFormats=function(_814,_815){_813.push({pkg:_814,name:_815});};_7cf._getGregorianBundle=function(_816){var _817={};_7c9.forEach(_813,function(desc){var _818=i18n.getLocalization(desc.pkg,desc.name,_816);_817=lang.mixin(_817,_818);},this);return _817;};_7cf.addCustomFormats(_7ce.id.replace(/\/date\/locale$/,".cldr"),"gregorian");_7cf.getNames=function(item,type,_819,_81a){var _81b,_81c=_7cf._getGregorianBundle(_81a),_81d=[item,_819,type];if(_819=="standAlone"){var key=_81d.join("-");_81b=_81c[key];if(_81b[0]==1){_81b=undefined;}}_81d[1]="format";return (_81b||_81c[_81d.join("-")]).concat();};_7cf.isWeekend=function(_81e,_81f){var _820=_7ca.getWeekend(_81f),day=(_81e||new Date()).getDay();if(_820.end<_820.start){_820.end+=7;if(day<_820.start){day+=7;}}return day>=_820.start&&day<=_820.end;};_7cf._getDayOfYear=function(_821){return date.difference(new Date(_821.getFullYear(),0,1,_821.getHours()),_821)+1;};_7cf._getWeekOfYear=function(_822,_823){if(arguments.length==1){_823=0;}var _824=new Date(_822.getFullYear(),0,1).getDay(),adj=(_824-_823+7)%7,week=Math.floor((_7cf._getDayOfYear(_822)+adj-1)/7);if(_824==_823){week++;}return week;};return _7cf;});},"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit/form/Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_825,_826){return _825("dijit.form.VerticalRule",_826,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_827,_828,_829,_82a,_82b,dom,_82c,_82d,lang,_82e,when,_82f,_830){var _831=_82b("dijit.form._FormSelectWidget",_830,{multiple:false,options:null,store:null,query:null,queryOptions:null,labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_832){var opts=this.options||[];if(_832==null){return opts;}if(lang.isArray(_832)){return _827.map(_832,"return this.getOptions(item);",this);}if(lang.isString(_832)){_832={value:_832};}if(lang.isObject(_832)){if(!_827.some(opts,function(_833,idx){for(var a in _832){if(!(a in _833)||_833[a]!=_832[a]){return false;}}_832=idx;return true;})){_832=-1;}}if(_832>=0&&_832<opts.length){return opts[_832];}return null;},addOption:function(_834){_827.forEach(lang.isArray(_834)?_834:[_834],function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_835){var _836=this.getOptions(lang.isArray(_835)?_835:[_835]);_827.forEach(_836,function(_837){if(_837){this.options=_827.filter(this.options,function(node){return (node.value!==_837.value||node.label!==_837.label);});this._removeOptionItem(_837);}},this);this._loadChildren();},updateOption:function(_838){_827.forEach(lang.isArray(_838)?_838:[_838],function(i){var _839=this.getOptions({value:i.value}),k;if(_839){for(k in i){_839[k]=i[k];}}},this);this._loadChildren();},setStore:function(_83a,_83b,_83c){var _83d=this.store;_83c=_83c||{};if(_83d!==_83a){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_83a.get){lang.mixin(_83a,{_oldAPI:true,get:function(id){var _83e=new _828();this.fetchItemByIdentity({identity:id,onItem:function(_83f){_83e.resolve(_83f);},onError:function(_840){_83e.reject(_840);}});return _83e.promise;},query:function(_841,_842){var _843=new _828(function(){if(_844.abort){_844.abort();}});_843.total=new _828();var _844=this.fetch(lang.mixin({query:_841,onBegin:function(_845){_843.total.resolve(_845);},onComplete:function(_846){_843.resolve(_846);},onError:function(_847){_843.reject(_847);}},_842));return new _82f(_843);}});if(_83a.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_829.after(_83a,"onNew",lang.hitch(this,"_onNewItem"),true),_829.after(_83a,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_829.after(_83a,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_83a);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_83c.query){this._set("query",_83c.query);this._set("queryOptions",_83c.queryOptions);}if(_83a){this._loadingStore=true;this.onLoadDeferred=new _828();this._queryRes=_83a.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_848){if(this.sortByLabel&&!_83c.sort&&_848.length){if(_83a.getValue){_848.sort(_82a.createSortFunction([{attribute:_83a.getLabelAttributes(_848[0])[0]}],_83a));}else{var _849=this.labelAttr;_848.sort(function(a,b){return a[_849]>b[_849]?1:b[_849]>a[_849]?-1:0;});}}if(_83c.onFetch){_848=_83c.onFetch.call(this,_848,_83c);}_827.forEach(_848,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_84a,_84b,_84c){if(_84b==_84c){this._onSetItem(_84a);}else{if(_84b!=-1){this._onDeleteItem(_84a);}if(_84c!=-1){this._onNewItem(_84a);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_83b);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_848);}this.onLoadDeferred.resolve(true);this.onSetStore();}),function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);});}return _83d;},_setValueAttr:function(_84d,_84e){if(!this._onChangeActive){_84e=null;}if(this._loadingStore){this._pendingValue=_84d;return;}if(_84d==null){return;}if(lang.isArray(_84d)){_84d=_827.map(_84d,function(_84f){return lang.isObject(_84f)?_84f:{value:_84f};});}else{if(lang.isObject(_84d)){_84d=[_84d];}else{_84d=[{value:_84d}];}}_84d=_827.filter(this.getOptions(_84d),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_84d[0]||!_84d[0].value)&&!!opts.length){_84d[0]=opts[0];}_827.forEach(opts,function(opt){opt.selected=_827.some(_84d,function(v){return v.value===opt.value;});});var val=_827.map(_84d,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_827.map(_84d,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_84e]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_827.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_850){this.set("value",this.getOptions(typeof _850=="string"?{label:_850}:_850));},_loadChildren:function(){if(this._loadingStore){return;}_827.forEach(this._getChildren(),function(_851){_851.destroyRecursive();});_827.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){_827.forEach(this._getChildren(),function(_852){var _853=_827.some(val,function(v){return _852.option&&(v===_852.option.value);});_82c.toggle(_852.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_853);_852.domNode.setAttribute("aria-selected",_853?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_827.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _827.map(_827.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_854){if(!_854||!_854.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _855=this.store;this.removeOption({value:_855.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _856=this.store,_857=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_856.getLabel(item),_858=(_857?_856.getIdentity(item):null);return {value:_858,label:_857,item:item};},_addOptionForItem:function(item){var _859=this.store;if(_859.isItemLoaded&&!_859.isItemLoaded(item)){_859.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _85a=this._getOptionObjForItem(item);this.addOption(_85a);},constructor:function(_85b){this._oValue=(_85b||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_82e("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_82d._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_829.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _85c=this.store;if(_85c&&(_85c.getIdentity||_85c.getFeatures()["dojo.data.api.Identity"])){this.store=null;this.setStore(_85c,this._oValue);}},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _831;});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/event","dojo/i18n","dojo/_base/lang","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../Menu","../MenuItem","../MenuSeparator","../Tooltip","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_85d,_85e,_85f,_860,_861,_862,i18n,lang,has,_863,_864,Menu,_865,_866,_867,_868){var _869=_85e("dijit.form._SelectMenu",Menu,{autoFocus:true,buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=this.ownerDocument.createElement("div"));n.style.cssText="overflow-x: hidden; overflow-y: scroll";if(o.parentNode){o.parentNode.replaceChild(n,o);}_860.remove(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";n.setAttribute("role","listbox");o.setAttribute("role","presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onselectstart",_862.stop);},focus:function(){var _86a=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_85d.forEach(this.parentWidget._getChildren(),function(_86b){if(_86b.option&&(val===_86b.option.value)){_86a=true;this.focusChild(_86b,false);}},this);}if(!_86a){this.inherited(arguments);}},resize:function(mb){if(mb){_861.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _86c=_85e("dijit.form.Select",[_863,_864],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_868,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:false,_childrenLoaded:false,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this.value=this.options[si>=0?si:0].value;}this.dropDown=new _869({id:this.id+"_menu",parentWidget:this});_860.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_86d){if(!_86d.value&&!_86d.label){return new _866({ownerDocument:this.ownerDocument});}else{var _86e=lang.hitch(this,"_setValueAttr",_86d);var item=new _865({option:_86d,label:_86d.label||this.emptyLabel,onClick:_86e,ownerDocument:this.ownerDocument,dir:this.dir,disabled:_86d.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_86f){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_86f));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_870){if(_870===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_85d.forEach(this._getChildren(),function(_871){_871.destroyRecursive();});var item=new _865({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value,false);}},_refreshState:function(){if(this._started){this.validate(this.focused);}},startup:function(){this.inherited(arguments);this._refreshState();},_setValueAttr:function(_872){this.inherited(arguments);_85f.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setDisabledAttr:function(_873){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_874){this._set("required",_874);this.focusNode.setAttribute("aria-required",_874);this._refreshState();},_setOptionsAttr:function(_875){this._isLoaded=false;this._set("options",_875);},_setDisplay:function(_876){var lbl=_876||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_877){var _878=this.disabled||this.isValid(_877);this._set("state",_878?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_878?"false":"true");var _879=_878?"":this._missingMsg;if(_879&&this.focused&&this._hasBeenBlurred){_867.show(_879,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_867.hide(this.domNode);}this._set("message",_879);return _878;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_867.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onselectstart",_862.stop);this.domNode.setAttribute("aria-expanded","false");},_setStyleAttr:function(_87a){this.inherited(arguments);_860.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_87b){this._loadChildren(true);this._isLoaded=true;_87b();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},destroy:function(_87c){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_87c);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_867.hide(this.domNode);this.inherited(arguments);this.validate(false);}});_86c._Menu=_869;return _86c;});},"dijit/_editor/range":function(){define("dijit/_editor/range",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","../main"],function(_87d,_87e,lang,win,_87f){_87f.range={};_87f.range.getIndex=function(node,_880){var ret=[],retR=[];var _881=node;var _882,n;while(node!=_880){var i=0;_882=node.parentNode;while((n=_882.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_882.childNodes.length);node=_882;}if(ret.length>0&&_881.nodeType==3){n=_881.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_881.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};};_87f.range.getNode=function(_883,_884){if(!lang.isArray(_883)||_883.length==0){return _884;}var node=_884;_87d.every(_883,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;};_87f.range.getCommonAncestor=function(n1,n2,root){root=root||n1.ownerDocument.body;var _885=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_885(n1);var n2as=_885(n2);var m=Math.min(n1as.length,n2as.length);var com=n1as[0];for(var i=1;i<m;i++){if(n1as[i]===n2as[i]){com=n1as[i];}else{break;}}return com;};_87f.range.getAncestor=function(node,_886,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_886.test(name)){return node;}node=node.parentNode;}return null;};_87f.range.BlockTagNames=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/;_87f.range.getBlockAncestor=function(node,_887,root){root=root||node.ownerDocument.body;_887=_887||_87f.range.BlockTagNames;var _888=null,_889;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_888&&_887.test(name)){_888=node;}if(!_889&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_889=node;}node=node.parentNode;}return {blockNode:_888,blockContainer:_889||node.ownerDocument.body};};_87f.range.atBeginningOfContainer=function(_88a,node,_88b){var _88c=false;var _88d=(_88b==0);if(!_88d&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_88b))){_88d=true;}}if(_88d){var _88e=node;_88c=true;while(_88e&&_88e!==_88a){if(_88e.previousSibling){_88c=false;break;}_88e=_88e.parentNode;}}return _88c;};_87f.range.atEndOfContainer=function(_88f,node,_890){var _891=false;var _892=(_890==(node.length||node.childNodes.length));if(!_892&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_890))){_892=true;}}if(_892){var _893=node;_891=true;while(_893&&_893!==_88f){if(_893.nextSibling){_891=false;break;}_893=_893.parentNode;}}return _891;};_87f.range.adjacentNoneTextNode=function(_894,next){var node=_894;var len=(0-_894.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];};_87f.range.create=function(win){win=win||window;if(win.getSelection){return win.document.createRange();}else{return new _87f.range.W3CRange();}};_87f.range.getSelection=function(_895,_896){if(_895.getSelection){return _895.getSelection();}else{var s=new _87f.range.ie.selection(_895);if(!_896){s._getCurrentSelection();}return s;}};if(!window.getSelection){_87f.range.ie={cachedSelection:{},selection:function(_897){this._ranges=[];this.addRange=function(r,_898){this._ranges.push(r);if(!_898){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _899=function(){var r=_897.document.selection.createRange();var type=_897.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _87f.range.W3CRange(_87f.range.ie.decomposeControlRange(r));}else{return new _87f.range.W3CRange(_87f.range.ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_899();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_89a){var _89b=_89a.item(0),_89c=_89a.item(_89a.length-1);var _89d=_89b.parentNode,_89e=_89c.parentNode;var _89f=_87f.range.getIndex(_89b,_89d).o[0];var _8a0=_87f.range.getIndex(_89c,_89e).o[0]+1;return [_89d,_89f,_89e,_8a0];},getEndPoint:function(_8a1,end){var _8a2=_8a1.duplicate();_8a2.collapse(!end);var _8a3="EndTo"+(end?"End":"Start");var _8a4=_8a2.parentElement();var _8a5,_8a6,_8a7;if(_8a4.childNodes.length>0){_87d.every(_8a4.childNodes,function(node,i){var _8a8;if(node.nodeType!=3){_8a2.moveToElementText(node);if(_8a2.compareEndPoints(_8a3,_8a1)>0){if(_8a7&&_8a7.nodeType==3){_8a5=_8a7;_8a8=true;}else{_8a5=_8a4;_8a6=i;return false;}}else{if(i==_8a4.childNodes.length-1){_8a5=_8a4;_8a6=_8a4.childNodes.length;return false;}}}else{if(i==_8a4.childNodes.length-1){_8a5=node;_8a8=true;}}if(_8a8&&_8a5){var _8a9=_87f.range.adjacentNoneTextNode(_8a5)[0];if(_8a9){_8a5=_8a9.nextSibling;}else{_8a5=_8a4.firstChild;}var _8aa=_87f.range.adjacentNoneTextNode(_8a5);_8a9=_8aa[0];var _8ab=_8aa[1];if(_8a9){_8a2.moveToElementText(_8a9);_8a2.collapse(false);}else{_8a2.moveToElementText(_8a4);}_8a2.setEndPoint(_8a3,_8a1);_8a6=_8a2.text.length-_8ab;return false;}_8a7=node;return true;});}else{_8a5=_8a4;_8a6=0;}if(!end&&_8a5.nodeType==1&&_8a6==_8a5.childNodes.length){var _8ac=_8a5.nextSibling;if(_8ac&&_8ac.nodeType==3){_8a5=_8ac;_8a6=0;}}return [_8a5,_8a6];},setEndPoint:function(_8ad,_8ae,_8af){var _8b0=_8ad.duplicate(),node,len;if(_8ae.nodeType!=3){if(_8af>0){node=_8ae.childNodes[_8af-1];if(node){if(node.nodeType==3){_8ae=node;_8af=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_8ae=node.nextSibling;_8af=0;}else{_8b0.moveToElementText(node.nextSibling?node:_8ae);var _8b1=node.parentNode;var _8b2=_8b1.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_8b0.collapse(false);_8b1.removeChild(_8b2);}}}}else{_8b0.moveToElementText(_8ae);_8b0.collapse(true);}}if(_8ae.nodeType==3){var _8b3=_87f.range.adjacentNoneTextNode(_8ae);var _8b4=_8b3[0];len=_8b3[1];if(_8b4){_8b0.moveToElementText(_8b4);_8b0.collapse(false);if(_8b4.contentEditable!="inherit"){len++;}}else{_8b0.moveToElementText(_8ae.parentNode);_8b0.collapse(true);_8b0.move("character",1);_8b0.move("character",-1);}_8af+=len;if(_8af>0){if(_8b0.move("character",_8af)!=_8af){console.error("Error when moving!");}}}return _8b0;},decomposeTextRange:function(_8b5){var _8b6=_87f.range.ie.getEndPoint(_8b5);var _8b7=_8b6[0],_8b8=_8b6[1];var _8b9=_8b6[0],_8ba=_8b6[1];if(_8b5.htmlText.length){if(_8b5.htmlText==_8b5.text){_8ba=_8b8+_8b5.text.length;}else{_8b6=_87f.range.ie.getEndPoint(_8b5,true);_8b9=_8b6[0],_8ba=_8b6[1];}}return [_8b7,_8b8,_8b9,_8ba];},setRange:function(_8bb,_8bc,_8bd,_8be,_8bf,_8c0){var _8c1=_87f.range.ie.setEndPoint(_8bb,_8bc,_8bd);_8bb.setEndPoint("StartToStart",_8c1);if(!_8c0){var end=_87f.range.ie.setEndPoint(_8bb,_8be,_8bf);}_8bb.setEndPoint("EndToEnd",end||_8c1);return _8bb;}};_87e("dijit.range.W3CRange",null,{constructor:function(){if(arguments.length>0){this.setStart(arguments[0][0],arguments[0][1]);this.setEnd(arguments[0][2],arguments[0][3]);}else{this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}},_updateInternal:function(){if(this.startContainer!==this.endContainer){this.commonAncestorContainer=_87f.range.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_8c2){_8c2=parseInt(_8c2);if(this.startContainer===node&&this.startOffset==_8c2){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_8c2;if(!this.endContainer){this.setEnd(node,_8c2);}else{this._updateInternal();}},setEnd:function(node,_8c3){_8c3=parseInt(_8c3);if(this.endContainer===node&&this.endOffset==_8c3){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_8c3;if(!this.startContainer){this.setStart(node,_8c3);}else{this._updateInternal();}},setStartAfter:function(node,_8c4){this._setPoint("setStart",node,_8c4,1);},setStartBefore:function(node,_8c5){this._setPoint("setStart",node,_8c5,0);},setEndAfter:function(node,_8c6){this._setPoint("setEnd",node,_8c6,1);},setEndBefore:function(node,_8c7){this._setPoint("setEnd",node,_8c7,0);},_setPoint:function(what,node,_8c8,ext){var _8c9=_87f.range.getIndex(node,node.parentNode).o;this[what](node.parentNode,_8c9.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();_87f.range.ie.setRange(r,this.startContainer,this.startOffset,this.endContainer,this.endOffset,this.collapsed);return r;},getBookmark:function(){this._getIERange();return this._cachedBookmark;},_select:function(){var r=this._getIERange();r.select();},deleteContents:function(){var s=this.startContainer,r=this._getIERange();if(s.nodeType===3&&!this.startOffset){this.setStartBefore(s);}r.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=true;},cloneRange:function(){var r=new _87f.range.W3CRange([this.startContainer,this.startOffset,this.endContainer,this.endOffset]);r._body=this._body;return r;},detach:function(){this._body=null;this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}});}return _87f.range;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_8ca,lang,_8cb){var _8cc=function(_8cd){if(!_8cd){return _8cd;}var _8ce=!!_8cd.then;if(_8ce){_8cd=lang.delegate(_8cd);}function _8cf(_8d0){_8cd[_8d0]=function(){var args=arguments;var _8d1=_8cb.when(_8cd,function(_8d2){Array.prototype.unshift.call(args,_8d2);return _8cc(_8ca[_8d0].apply(_8ca,args));});if(_8d0!=="forEach"||_8ce){return _8d1;}};};_8cf("forEach");_8cf("filter");_8cf("map");if(_8cd.total==null){_8cd.total=_8cb.when(_8cd,function(_8d3){return _8d3.length;});}return _8cd;};lang.setObject("dojo.store.util.QueryResults",_8cc);return _8cc;});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_8d4,on,_8d5){return _8d4("dijit.form._ListBase",null,{selected:null,_listConnect:function(_8d6,_8d7){var self=this;return self.own(on(self.containerNode,on.selector(function(_8d8,_8d9,_8da){return _8d8.parentNode==_8da;},_8d6),function(evt){self[_8d7](evt,this);}));},selectFirstNode:function(){var _8db=this.containerNode.firstChild;while(_8db&&_8db.style.display=="none"){_8db=_8db.nextSibling;}this._setSelectedAttr(_8db,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _8dc=this.selected;if(!_8dc){this.selectFirstNode();}else{var next=_8dc.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _8dd=this.selected;if(!_8dd){this.selectLastNode();}else{var prev=_8dd.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_8de){if(this.selected!=node){var _8df=this.selected;if(_8df){this.onDeselect(_8df);this.selected=null;}if(node){this.selected=node;if(_8de){_8d5.scrollIntoView(node);}this.onSelect(node);}}else{if(node){this.onSelect(node);}}}});});},"dojo/DeferredList":function(){define(["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_8e0,_8e1){dojo.DeferredList=function(list,_8e2,_8e3,_8e4,_8e5){var _8e6=[];_8e0.call(this);var self=this;if(list.length===0&&!_8e2){this.resolve([0,[]]);}var _8e7=0;_8e1.forEach(list,function(item,i){item.then(function(_8e8){if(_8e2){self.resolve([i,_8e8]);}else{_8e9(true,_8e8);}},function(_8ea){if(_8e3){self.reject(_8ea);}else{_8e9(false,_8ea);}if(_8e4){return null;}throw _8ea;});function _8e9(_8eb,_8ec){_8e6[i]=[_8eb,_8ec];_8e7++;if(_8e7===list.length){self.resolve(_8e6);}};});};dojo.DeferredList.prototype=new _8e0();dojo.DeferredList.prototype.gatherResults=function(_8ed){var d=new dojo.DeferredList(_8ed,false,true,false);d.addCallback(function(_8ee){var ret=[];_8e1.forEach(_8ee,function(_8ef){ret.push(_8ef[1]);});return ret;});return d;};return dojo.DeferredList;});},"dojo/dnd/common":function(){define(["../_base/connect","../_base/kernel","../_base/lang","../dom"],function(_8f0,_8f1,lang,dom){var _8f2=lang.getObject("dojo.dnd",true);_8f2.getCopyKeyState=_8f0.isCopyKey;_8f2._uniqueId=0;_8f2.getUniqueId=function(){var id;do{id=_8f1._scopeName+"Unique"+(++_8f2._uniqueId);}while(dom.byId(id));return id;};_8f2._empty={};_8f2.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _8f2;});},"dijit/CalendarLite":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/dom","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/sniff","dojo/string","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html","./hccss"],function(_8f3,_8f4,_8f5,date,_8f6,_8f7,dom,_8f8,_8f9,lang,has,_8fa,_8fb,_8fc,_8fd){var _8fe=_8f4("dijit.CalendarLite",[_8fb,_8fc],{templateString:_8fd,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\" scope=\"col\"><span class=\"dijitCalendarDayLabel\">${d}</span></th>",dateTemplateString:"<td class=\"dijitReset\" role=\"gridcell\" data-dojo-attach-point=\"dateCells\"><span class=\"dijitCalendarDateLabel\" data-dojo-attach-point=\"dateLabels\"></span></td>",weekTemplateString:"<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">${d}${d}${d}${d}${d}${d}${d}</tr>",value:new Date(""),datePackage:"",dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),_setSummaryAttr:"gridNode",baseClass:"dijitCalendar",_isValidDate:function(_8ff){return _8ff&&!isNaN(_8ff)&&typeof _8ff=="object"&&_8ff.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){if(this.value&&!isNaN(this.value)){var _900=new this.dateClassObj(this.value);_900.setHours(0,0,0,0);if(_900.getDate()<this.value.getDate()){_900=this.dateModule.add(_900,"hour",1);}return _900;}else{return null;}},_setValueAttr:function(_901,_902){if(typeof _901=="string"){_901=_8f7.fromISOString(_901);}_901=this._patchDate(_901);if(this._isValidDate(_901)&&!this.isDisabledDate(_901,this.lang)){this._set("value",_901);this.set("currentFocus",_901);this._markSelectedDates([_901]);if(this._created&&(_902||typeof _902=="undefined")){this.onChange(this.get("value"));}}else{this._set("value",null);this._markSelectedDates([]);}},_patchDate:function(_903){if(_903){_903=new this.dateClassObj(_903);_903.setHours(1,0,0,0);}return _903;},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(node.ownerDocument.createTextNode(text));},_populateGrid:function(){var _904=new this.dateClassObj(this.currentFocus);_904.setDate(1);var _905=_904.getDay(),_906=this.dateModule.getDaysInMonth(_904),_907=this.dateModule.getDaysInMonth(this.dateModule.add(_904,"month",-1)),_908=new this.dateClassObj(),_909=_8f5.getFirstDayOfWeek(this.lang);if(_909>_905){_909-=7;}if(!this.summary){var _90a=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_904);this.gridNode.setAttribute("summary",_90a[_904.getMonth()]);}this._date2cell={};_8f3.forEach(this.dateCells,function(_90b,idx){var i=idx+_909;var date=new this.dateClassObj(_904),_90c,_90d="dijitCalendar",adj=0;if(i<_905){_90c=_907-_905+i+1;adj=-1;_90d+="Previous";}else{if(i>=(_905+_906)){_90c=i-_905-_906+1;adj=1;_90d+="Next";}else{_90c=i-_905+1;_90d+="Current";}}if(adj){date=this.dateModule.add(date,"month",adj);}date.setDate(_90c);if(!this.dateModule.compare(date,_908,"date")){_90d="dijitCalendarCurrentDate "+_90d;}if(this.isDisabledDate(date,this.lang)){_90d="dijitCalendarDisabledDate "+_90d;_90b.setAttribute("aria-disabled","true");}else{_90d="dijitCalendarEnabledDate "+_90d;_90b.removeAttribute("aria-disabled");_90b.setAttribute("aria-selected","false");}var _90e=this.getClassForDate(date,this.lang);if(_90e){_90d=_90e+" "+_90d;}_90b.className=_90d+"Month dijitCalendarDateTemplate";var _90f=date.valueOf();this._date2cell[_90f]=_90b;_90b.dijitDateValue=_90f;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);},_populateControls:function(){var _910=new this.dateClassObj(this.currentFocus);_910.setDate(1);this.monthWidget.set("month",_910);var y=_910.getFullYear()-1;var d=new this.dateClassObj();_8f3.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],this.dateLocaleModule.format(d,{selector:"year",locale:this.lang}));},this);},goToToday:function(){this.set("value",new this.dateClassObj());},constructor:function(_911){this.dateModule=_911.datePackage?lang.getObject(_911.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=_911.datePackage?lang.getObject(_911.datePackage+".locale",false):_8f6;},_createMonthWidget:function(){return _8fe._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_912=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_913=_8f5.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_8fa.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _912[_913++%7];});var r=_8fa.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[r,r,r,r,r,r].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);dom.setSelectable(this.domNode,false);var _914=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",_914,false);},postCreate:function(){this.inherited(arguments);this._connectControls();},_connectControls:function(){var _915=lang.hitch(this,function(_916,part,_917){this.connect(this[_916],"onclick",function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,part,_917));});});_915("incrementMonth","month",1);_915("decrementMonth","month",-1);_915("nextYearLabelNode","year",1);_915("previousYearLabelNode","year",-1);},_setCurrentFocusAttr:function(date,_918){var _919=this.currentFocus,_91a=this._getNodeByDate(_919);date=this._patchDate(date);this._set("currentFocus",date);if(!this._date2cell||this.dateModule.difference(_919,date,"month")!=0){this._populateGrid();this._populateControls();this._markSelectedDates([this.value]);}var _91b=this._getNodeByDate(date);_91b.setAttribute("tabIndex",this.tabIndex);if(this.focused||_918){_91b.focus();}if(_91a&&_91a!=_91b){if(has("webkit")){_91a.setAttribute("tabIndex","-1");}else{_91a.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){_8f9.stop(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_8f8.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},_getNodeByDate:function(_91c){_91c=this._patchDate(_91c);return _91c&&this._date2cell?this._date2cell[_91c.valueOf()]:null;},_markSelectedDates:function(_91d){function mark(_91e,cell){_8f8.toggle(cell,"dijitCalendarSelectedDate",_91e);cell.setAttribute("aria-selected",_91e?"true":"false");};_8f3.forEach(this._selectedCells||[],lang.partial(mark,false));this._selectedCells=_8f3.filter(_8f3.map(_91d,this._getNodeByDate,this),function(n){return n;});_8f3.forEach(this._selectedCells,lang.partial(mark,true));},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});_8fe._MonthWidget=_8f4("dijit.CalendarLite._MonthWidget",_8fb,{_setMonthAttr:function(_91f){var _920=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_91f),_921=(has("ie")==6?"":"<div class='dijitSpacer'>"+_8f3.map(_920,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_921+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_920[_91f.getMonth()]+"</div>";}});return _8fe;});},"dijit/CheckedMenuItem":function(){require({cache:{"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\" aria-checked=\"${checked}\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n"}});define("dijit/CheckedMenuItem",["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_922,_923,_924,_925){return _922("dijit.CheckedMenuItem",_924,{templateString:_925,checked:false,_setCheckedAttr:function(_926){_923.toggle(this.domNode,"dijitCheckedMenuItemChecked",_926);this.domNode.setAttribute("aria-checked",_926?"true":"false");this._set("checked",_926);},iconClass:"",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_927,_928){return _927("dijit.form.VerticalRuleLabels",_928,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});});},"dijit/Declaration":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/parser","dojo/query","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/NodeList-dom"],function(_929,_92a,_92b,lang,_92c,_92d,_92e,_92f,_930){return _92b("dijit.Declaration",_92e,{_noScript:true,stopParser:true,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_931=_92d("> script[type^='dojo/method']",src).orphan(),_932=_92d("> script[type^='dojo/connect']",src).orphan(),_933=src.nodeName;var _934=this.defaults||{};_929.forEach(_931,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),func=_92c._functionFromScript(s);if(evt){_934[evt]=func;}else{_932.push(s);}});if(this.mixins.length){this.mixins=_929.map(this.mixins,function(name){return lang.getObject(name);});}else{this.mixins=[_92e,_92f,_930];}_934._skipNodeCache=true;_934.templateString="<"+_933+" class='"+src.className+"'"+" data-dojo-attach-point='"+(src.getAttribute("data-dojo-attach-point")||src.getAttribute("dojoAttachPoint")||"")+"' data-dojo-attach-event='"+(src.getAttribute("data-dojo-attach-event")||src.getAttribute("dojoAttachEvent")||"")+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"</"+_933+">";var wc=_92b(this.widgetClass,this.mixins,_934);_929.forEach(_932,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event")||"postscript",func=_92c._functionFromScript(s);_92a.connect(wc.prototype,evt,func);});}});});},"dijit/MenuSeparator":function(){require({cache:{"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\" role=\"separator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>"}});define("dijit/MenuSeparator",["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_935,dom,_936,_937,_938,_939){return _935("dijit.MenuSeparator",[_936,_937,_938],{templateString:_939,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_93a,_93b,_93c,keys,_93d,_93e,_93f,_940){return _93a("dijit.form._ComboBoxMenu",[_93d,_93e,_940,_93f],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;' role='listbox'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_93b.add(this.previousButton,"dijitMenuItemRtl");_93b.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_93b.add(node,"dijitMenuItemHover");},onUnhover:function(node){_93b.remove(node,"dijitMenuItemHover");},onSelect:function(node){_93b.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_93b.remove(node,"dijitMenuItemSelected");},_page:function(up){var _941=0;var _942=this.domNode.scrollTop;var _943=_93c.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_941<_943){var _944=this.getHighlightedOption();if(up){if(!_944.previousSibling||_944.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_944.nextSibling||_944.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _945=this.domNode.scrollTop;_941+=(_945-_942)*(up?-1:1);_942=_945;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_menuBtn\"\n\t\t\tdata-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t\tdata-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_leftBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_rightBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'\n\t\t\t\tdata-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","dijit/Dialog":function(){require({cache:{"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabindex=\"0\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n"}});define("dijit/Dialog",["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","dojo/text!./templates/Dialog.html","./main","dojo/i18n!./nls/common"],function(_946,_947,_948,_949,_94a,dom,_94b,_94c,_94d,_94e,fx,i18n,keys,lang,on,_94f,has,_950,_951,_952,_953,_954,_955,_956,_957,_958,_959,_95a,_95b,_95c,_95d){var _95e=_949("dijit._DialogBase",[_956,_958,_959,_957],{templateString:_95c,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_954.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},"aria-describedby":"",maxRatio:0.9,postMixInProperties:function(){var _95f=i18n.getLocalization("dijit","common");lang.mixin(this,_95f);this.inherited(arguments);},postCreate:function(){_94d.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();if(this.autofocus&&_960.isTop(this)){this._getFocusItems(this.domNode);_953.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(){var _961=_94c.position(this.domNode),_962=_950.getBox(this.ownerDocument);_961.y=Math.min(Math.max(_961.y,0),(_962.h-_961.h));_961.x=Math.min(Math.max(_961.x,0),(_962.w-_961.w));this._relativePosition=_961;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_952:_951)(node,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_94b.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_947.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),ownerDocument:this.ownerDocument};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}else{_94d.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_94c.position(this.domNode);var _963=_950.getBox(this.ownerDocument);_963.w*=this.maxRatio;_963.h*=this.maxRatio;if(bb.w>=_963.w||bb.h>=_963.h){var _964=_94c.position(this.containerNode),w=Math.min(bb.w,_963.w)-(bb.w-_964.w),h=Math.min(bb.h,_963.h)-(bb.h-_964.h);if(this._singleChild&&this._singleChild.resize){if(typeof this._singleChildOriginalStyle=="undefined"){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;}this._singleChild.resize({w:w,h:h});}else{_94d.set(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!_94b.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_965=_950.getBox(this.ownerDocument),p=this._relativePosition,bb=p?null:_94c.position(node),l=Math.floor(_965.l+(p?p.x:(_965.w-bb.w)/2)),t=Math.floor(_965.t+(p?p.y:(_965.h-bb.h)/2));_94d.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.charOrCode){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.domNode);}var _966=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_966){_953.focus(this._lastFocusItem);}_94e.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_966){_953.focus(this._firstFocusItem);}_94e.stop(evt);}else{while(node){if(node==this.domNode||_94b.contains(node,"dijitPopup")){if(evt.charOrCode==keys.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==keys.TAB){_94e.stop(evt);}else{if(!has("opera")){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_960.hide(this);}var win=_950.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize")));this._modalconnects.push(on(this.domNode,_948._keypress,lang.hitch(this,"_onKey")));_94d.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _967;this._fadeInDeferred=new _94a(lang.hitch(this,function(){_967.stop();delete this._fadeInDeferred;}));_967=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_960.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_960.isTop(this)){this._getFocusItems(this.domNode);_953.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _968;this._fadeOutDeferred=new _94a(lang.hitch(this,function(){_968.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(lang.hitch(this,"onHide"));_968=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_960.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return this._fadeOutDeferred;},resize:function(){if(this.domNode.style.display!="none"){if(_95a._singleton){_95a._singleton.layout();}if(!has("touch")){this._position();}this._size();}},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_960.hide(this);this.inherited(arguments);}});var _969=_949("dijit.Dialog",[_95b,_95e],{});_969._DialogBase=_95e;var _960=_969._DialogLevelManager={_beginZIndex:950,show:function(_96a,_96b){ds[ds.length-1].focus=_953.curNode;var _96c=_95a._singleton;if(!_96c||_96c._destroyed){_96c=_95d._underlay=_95a._singleton=new _95a(_96b);}else{_96c.set(_96a.underlayAttrs);}var _96d=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_969._DialogLevelManager._beginZIndex;if(ds.length==1){_96c.show();}_94d.set(_95a._singleton.domNode,"zIndex",_96d-1);_94d.set(_96a.domNode,"zIndex",_96d);ds.push({dialog:_96a,underlayAttrs:_96b,zIndex:_96d});},hide:function(_96e){if(ds[ds.length-1].dialog==_96e){ds.pop();var pd=ds[ds.length-1];if(!_95a._singleton._destroyed){if(ds.length==1){_95a._singleton.hide();}else{_94d.set(_95a._singleton.domNode,"zIndex",pd.zIndex-1);_95a._singleton.set(pd.underlayAttrs);}}if(_96e.refocus){var _96f=pd.focus;if(pd.dialog&&(!_96f||!dom.isDescendant(_96f,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_96f=pd.dialog._firstFocusItem;}if(_96f){try{_96f.focus();}catch(e){}}}}else{var idx=_947.indexOf(_947.map(ds,function(elem){return elem.dialog;}),_96e);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_970){return ds[ds.length-1].dialog==_970;}};var ds=_969._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(has("dijit-legacy-requires")){_94f(0,function(){var _971=["dijit/TooltipDialog"];_946(_971);});}return _969;});},"dijit/form/MultiSelect":function(){define("dijit/form/MultiSelect",["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/query","./_FormValueWidget"],function(_972,_973,_974,_975,_976){return _973("dijit.form.MultiSelect",_976,{size:7,templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_977){_977.getSelected().forEach(function(n){if(this.restoreOriginalText){n.text=this.enforceTextDirWithUcc(this.restoreOriginalText(n),n.text);}this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _978=_977.domNode.scrollTop;_977.domNode.scrollTop=0;_977.domNode.scrollTop=_978;},this);this._set("value",this.get("value"));},getSelected:function(){return _975("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _972.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_979,_97a){_975("option",this.containerNode).forEach(function(n){n.selected=(_972.indexOf(_979,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_97b){var val=[];_975("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_97b===false||_97b==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_974.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);},_setTextDirAttr:function(_97c){if((this.textDir!=_97c||!this._created)&&this.enforceTextDirWithUcc){this._set("textDir",_97c);_975("option",this.containerNode).forEach(function(_97d){if(!this._created&&_97d.value===_97d.text){_97d.value=_97d.text;}_97d.text=this.enforceTextDirWithUcc(_97d,_97d.originalText||_97d.text);},this);}}});});},"dijit/form/_DateTimeTextBox":function(){define(["dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/_base/lang","./RangeBoundTextBox","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(date,_97e,_97f,_980,lang,_981,_982,_983){new Date("X");var _984=_980("dijit.form._DateTimeTextBox",[_981,_982],{templateString:_983,hasDownArrow:true,cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},pattern:_97e.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _985=this._isInvalidDate(val1);var _986=this._isInvalidDate(val2);return _985?(_986?0:-1):(_986?1:date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_987,_988){if(!_987){return "";}return this.dateLocaleModule.format(_987,_988);},"parse":function(_989,_98a){return this.dateLocaleModule.parse(_989,_98a)||(this._isEmpty(_989)?null:undefined);},serialize:function(val,_98b){if(val.toGregorian){val=val.toGregorian();}return _97f.toISOString(val,_98b);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(_98c){this.dateModule=_98c.datePackage?lang.getObject(_98c.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=_98c.datePackage?lang.getObject(_98c.datePackage+".locale",false):_97e;this._set("pattern",this.dateLocaleModule.regexp);this._invalidDate=this.constructor.prototype.value.toString();},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow){this._buttonNode.style.display="none";}if(!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_98d){_98d.selector=this._selector;_98d.fullYear=true;var _98e=_97f.fromISOString;if(typeof _98d.min=="string"){_98d.min=_98e(_98d.min);}if(typeof _98d.max=="string"){_98d.max=_98e(_98d.max);}this.inherited(arguments);},_isInvalidDate:function(_98f){return !_98f||isNaN(_98f)||typeof _98f!="object"||_98f.toString()==this._invalidDate;},_setValueAttr:function(_990,_991,_992){if(_990!==undefined){if(typeof _990=="string"){_990=_97f.fromISOString(_990);}if(this._isInvalidDate(_990)){_990=null;}if(_990 instanceof Date&&!(this.dateClassObj instanceof Date)){_990=new this.dateClassObj(_990);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_990,false);}},_set:function(attr,_993){if(attr=="value"&&this.value instanceof Date&&this.compare(_993,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_994){if(this.dropDown){this.dropDown.destroy();}var _995=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_996=this,_997=this.get("value");this.dropDown=new _995({onChange:function(_998){_996.set("value",_998,true);},id:this.id+"_popup",dir:_996.dir,lang:_996.lang,value:_997,currentFocus:!this._isInvalidDate(_997)?_997:this.dropDownDefaultValue,constraints:_996.constraints,filterString:_996.filterString,datePackage:_996.params.datePackage,isDisabledDate:function(date){return !_996.rangeCheck(date,_996.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_999,_99a){this._setValueAttr(this.parse(_999,this.constraints),_99a,_999);}});return _984;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_99b,_99c){return _99b("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _99d=this.checked;this._set("checked",!_99d);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_99d);return ret;},_setCheckedAttr:function(_99e,_99f){this._set("checked",_99e);var node=this.focusNode||this.domNode;if(this._created){if(_99c.get(node,"checked")!=!!_99e){_99c.set(node,"checked",!!_99e);}}node.setAttribute(this._aria_attr,String(_99e));this._handleOnChange(_99e,_99f);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/Calendar":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton"],function(_9a0,date,_9a1,_9a2,_9a3,_9a4,_9a5,_9a6,keys,lang,has,_9a7,_9a8,_9a9,_9aa,_9ab){var _9ac=_9a2("dijit.Calendar",[_9a7,_9a8,_9a9],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_9ad){_9a6.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_9ad);},_createMonthWidget:function(){return new _9ac._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeydown","_onKeyDown");this.connect(this.dateRowsNode,"onmouseover","_onDayMouseOver");this.connect(this.dateRowsNode,"onmouseout","_onDayMouseOut");this.connect(this.dateRowsNode,"onmousedown","_onDayMouseDown");this.connect(this.dateRowsNode,"onmouseup","_onDayMouseUp");},_onMonthSelect:function(_9ae){var date=new this.dateClassObj(this.currentFocus);date.setDate(1);date.setMonth(_9ae);var _9af=this.dateModule.getDaysInMonth(date);var _9b0=this.currentFocus.getDate();date.setDate(Math.min(_9b0,_9af));this._setCurrentFocusAttr(date);},_onDayMouseOver:function(evt){var node=_9a4.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_9a4.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_9a4.add(node,"dijitCalendarHoveredDate");this._currentNode=node;}},_onDayMouseOut:function(evt){if(!this._currentNode){return;}if(evt.relatedTarget&&evt.relatedTarget.parentNode==this._currentNode){return;}var cls="dijitCalendarHoveredDate";if(_9a4.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_9a4.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_9a4.contains(node,"dijitCalendarDisabledDate")){_9a4.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_9a4.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _9b1=-1,_9b2,_9b3=this.currentFocus;switch(evt.keyCode){case keys.RIGHT_ARROW:_9b1=1;case keys.LEFT_ARROW:_9b2="day";if(!this.isLeftToRight()){_9b1*=-1;}break;case keys.DOWN_ARROW:_9b1=1;case keys.UP_ARROW:_9b2="week";break;case keys.PAGE_DOWN:_9b1=1;case keys.PAGE_UP:_9b2=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_9b3=this.dateModule.add(_9b3,"month",1);_9b2="day";case keys.HOME:_9b3=new this.dateClassObj(_9b3);_9b3.setDate(1);break;case keys.ENTER:case keys.SPACE:this.set("value",this.currentFocus);break;default:return true;}if(_9b2){_9b3=this.dateModule.add(_9b3,_9b2,_9b1);}this._setCurrentFocusAttr(_9b3);return false;},_onKeyDown:function(evt){if(!this.handleKey(evt)){_9a5.stop(evt);}},onValueSelected:function(){},onChange:function(_9b4){this.onValueSelected(_9b4);},getClassForDate:function(){}});_9ac._MonthDropDownButton=_9a2("dijit.Calendar._MonthDropDownButton",_9ab,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _9ac._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_9b5){var _9b6=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_9b5);this.dropDown.set("months",_9b6);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_9b6[_9b5.getMonth()]+"</div>";}});_9ac._MonthDropDown=_9a2("dijit.Calendar._MonthDropDown",[_9a8,_9aa],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_9b7){this.domNode.innerHTML=_9a0.map(_9b7,function(_9b8,idx){return _9b8?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_9b8+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_9a3.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_9a4.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _9ac;});},"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode,_popupStateNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\"  data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n","dijit/_editor/selection":function(){define(["dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","../main"],function(dom,lang,has,win,_9b9){var _9ba={getType:function(){if(win.doc.getSelection){var _9bb="text";var oSel;try{oSel=win.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _9bc=oSel.getRangeAt(0);if((_9bc.startContainer==_9bc.endContainer)&&((_9bc.endOffset-_9bc.startOffset)==1)&&(_9bc.startContainer.nodeType!=3)){_9bb="control";}}return _9bb;}else{return win.doc.selection.type.toLowerCase();}},getSelectedText:function(){if(win.doc.getSelection){var _9bd=win.global.getSelection();return _9bd?_9bd.toString():"";}else{if(_9b9._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().text;}},getSelectedHtml:function(){if(win.doc.getSelection){var _9be=win.global.getSelection();if(_9be&&_9be.rangeCount){var i;var html="";for(i=0;i<_9be.rangeCount;i++){var frag=_9be.getRangeAt(i).cloneContents();var div=win.doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(_9b9._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().htmlText;}},getSelectedElement:function(){if(_9b9._editor.selection.getType()=="control"){if(win.doc.getSelection){var _9bf=win.global.getSelection();return _9bf.anchorNode.childNodes[_9bf.anchorOffset];}else{var _9c0=win.doc.selection.createRange();if(_9c0&&_9c0.item){return win.doc.selection.createRange().item(0);}}}return null;},getParentElement:function(){if(_9b9._editor.selection.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(win.doc.getSelection){var _9c1=win.global.getSelection();if(_9c1){var node=_9c1.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=win.doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;},hasAncestorElement:function(_9c2){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_9c3){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _9c4=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _9c5=String(tags[i]).toLowerCase();if(_9c4==_9c5){return _9c5;}}}return "";},getParentOfType:function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;},collapse:function(_9c6){if(win.doc.getSelection){var _9c7=win.global.getSelection();if(_9c7.removeAllRanges){if(_9c6){_9c7.collapseToStart();}else{_9c7.collapseToEnd();}}else{_9c7.collapse(_9c6);}}else{var _9c8=win.doc.selection.createRange();_9c8.collapse(_9c6);_9c8.select();}},remove:function(){var sel=win.doc.selection;if(win.doc.getSelection){sel=win.global.getSelection();sel.deleteFromDocument();return sel;}else{if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}},selectElementChildren:function(_9c9,_9ca){var doc=win.doc;var _9cb;_9c9=dom.byId(_9c9);if(win.doc.getSelection){var _9cc=win.global.getSelection();if(has("opera")){if(_9cc.rangeCount){_9cb=_9cc.getRangeAt(0);}else{_9cb=doc.createRange();}_9cb.setStart(_9c9,0);_9cb.setEnd(_9c9,(_9c9.nodeType==3)?_9c9.length:_9c9.childNodes.length);_9cc.addRange(_9cb);}else{_9cc.selectAllChildren(_9c9);}}else{_9cb=_9c9.ownerDocument.body.createTextRange();_9cb.moveToElementText(_9c9);if(!_9ca){try{_9cb.select();}catch(e){}}}},selectElement:function(_9cd,_9ce){var _9cf;_9cd=dom.byId(_9cd);var doc=_9cd.ownerDocument;var _9d0=win.global;if(doc.getSelection){var _9d1=_9d0.getSelection();_9cf=doc.createRange();if(_9d1.removeAllRanges){if(has("opera")){if(_9d1.getRangeAt(0)){_9cf=_9d1.getRangeAt(0);}}_9cf.selectNode(_9cd);_9d1.removeAllRanges();_9d1.addRange(_9cf);}}else{try{var tg=_9cd.tagName?_9cd.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_9cf=win.body(doc).createControlRange();}else{_9cf=win.body(doc).createRange();}_9cf.addElement(_9cd);if(!_9ce){_9cf.select();}}catch(e){this.selectElementChildren(_9cd,_9ce);}}},inSelection:function(node){if(node){var _9d2;var doc=win.doc;var _9d3;if(win.doc.getSelection){var sel=win.global.getSelection();if(sel&&sel.rangeCount>0){_9d3=sel.getRangeAt(0);}if(_9d3&&_9d3.compareBoundaryPoints&&doc.createRange){try{_9d2=doc.createRange();_9d2.setStart(node,0);if(_9d3.compareBoundaryPoints(_9d3.START_TO_END,_9d2)===1){return true;}}catch(e){}}}else{_9d3=doc.selection.createRange();try{_9d2=node.ownerDocument.body.createTextRange();_9d2.moveToElementText(node);}catch(e2){}if(_9d3&&_9d2){if(_9d3.compareEndPoints("EndToStart",_9d2)===1){return true;}}}}return false;}};lang.setObject("dijit._editor.selection",_9ba);return _9ba;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_9d4,dojo,_9d5,_9d6,_9d7,dom,_9d8,geom,_9d9,_9da){if(!dojo.isAsync){_9d9(0,function(){var _9db=["./fx/Toggler"];_9da(_9db);});}var _9dc=dojo.fx={};var _9dd={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _9de=function(_9df){this._index=-1;this._animations=_9df||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_9d5.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_9de.prototype=new _9d4();lang.extend(_9de,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_9d6.disconnect(this._onAnimateCtx);_9d6.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_9d6.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_9d6.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_9e0,_9e1){if(!this._current){this._current=this._animations[this._index=0];}if(!_9e1&&this._current.status()=="playing"){return this;}var _9e2=_9d6.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_9e3=_9d6.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_9e4=_9d6.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_9d6.disconnect(_9e2);_9d6.disconnect(_9e3);_9d6.disconnect(_9e4);});if(this._onAnimateCtx){_9d6.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_9d6.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_9d6.disconnect(this._onEndCtx);}this._onEndCtx=_9d6.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_9d6.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_9d6.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_9e5,_9e6){this.pause();var _9e7=this.duration*_9e5;this._current=null;_9d5.some(this._animations,function(a){if(a.duration<=_9e7){this._current=a;return true;}_9e7-=a.duration;return false;});if(this._current){this._current.gotoPercent(_9e7/this._current.duration,_9e6);}return this;},stop:function(_9e8){if(this._current){if(_9e8){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_9d6.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_9d6.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_9d6.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_9d6.disconnect(this._onEndCtx);}}});lang.extend(_9de,_9dd);_9dc.chain=function(_9e9){return new _9de(_9e9);};var _9ea=function(_9eb){this._animations=_9eb||[];this._connects=[];this._finished=0;this.duration=0;_9d5.forEach(_9eb,function(a){var _9ec=a.duration;if(a.delay){_9ec+=a.delay;}if(this.duration<_9ec){this.duration=_9ec;}this._connects.push(_9d6.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _9d7.Animation({curve:[0,1],duration:this.duration});var self=this;_9d5.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_9d6.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_9ea,{_doAction:function(_9ed,args){_9d5.forEach(this._animations,function(a){a[_9ed].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_9ee,args){var t=this._pseudoAnimation;t[_9ee].apply(t,args);},play:function(_9ef,_9f0){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_9f1,_9f2){var ms=this.duration*_9f1;_9d5.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_9f2);});this._call("gotoPercent",arguments);return this;},stop:function(_9f3){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_9d5.forEach(this._connects,_9d6.disconnect);}});lang.extend(_9ea,_9dd);_9dc.combine=function(_9f4){return new _9ea(_9f4);};_9dc.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_9d7.animateProperty(lang.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _9f5=_9d8.get(node,"height");return Math.max(_9f5,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_9d6.connect(anim,"onStop",fini);_9d6.connect(anim,"onEnd",fini);return anim;};_9dc.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_9d7.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_9d6.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_9d6.connect(anim,"onStop",fini);_9d6.connect(anim,"onEnd",fini);return anim;};_9dc.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_9d8.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=geom.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=_9d7.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_9d6.connect(anim,"beforeBegin",anim,init);return anim;};return _9dc;});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_9f6,a11y){return _9f6("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _9f7=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_9f7.lowest||_9f7.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_9f7.last||_9f7.highest||this._firstFocusItem;}});});},"dijit/Tree":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/DeferredList","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/errors/create","dojo/fx","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector"],function(_9f8,_9f9,_9fa,_9fb,_9fc,_9fd,dom,_9fe,_9ff,_a00,_a01,_a02,_a03,_a04,keys,lang,on,_a05,_a06,when,_a07,_a08,_a09,_a0a,_a0b,_a0c,_a0d,_a0e,_a0f,_a10,_a11,_a12,_a13){_9fc=_9fb(_9fc,{addCallback:function(_a14){this.then(_a14);},addErrback:function(_a15){this.then(null,_a15);}});var _a16=_9fb("dijit._TreeNode",[_a0a,_a0b,_a0c,_a0d,_a0e],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_a0f,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(_a17){var _a18=(Math.max(_a17,0)*this.tree._nodePixelIndent)+"px";_a00.set(this.domNode,"backgroundPosition",_a18+" 0px");_a00.set(this.indentNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_a18);_9f8.forEach(this.getChildren(),function(_a19){_a19.set("indent",_a17+1);});this._set("indent",_a17);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_a1a=tree.model;if(tree._v10Compat&&item===_a1a.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,_a1b,_a1c){var _a1d="_"+_a1b+"Class";var _a1e=_a1b+"Node";var _a1f=this[_a1d];this[_a1d]=this.tree["get"+_a1c+"Class"](item,this.isExpanded);_9fe.replace(this[_a1e],this[_a1d]||"",_a1f||"");_a00.set(this[_a1e],this.tree["get"+_a1c+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _a20=this.getParent();if(!_a20||!_a20.rowNode||_a20.rowNode.style.display=="none"){_9fe.add(this.domNode,"dijitTreeIsRoot");}else{_9fe.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_a21){var _a22=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_a23=["*","-","+","*"],idx=_a21?0:(this.isExpandable?(this.isExpanded?1:2):3);_9fe.replace(this.expandoNode,_a22[idx],_a22);this.expandoNodeText.innerHTML=_a23[idx];},expand:function(){if(this._expandDeferred){return 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");}_9fe.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 def,_a24=_a03.wipeIn({node:this.containerNode,duration:_a09.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._expandDeferred=new _9fc(function(){_a24.stop();}));_a24.play();return def;},collapse:function(){if(this._collapseDeferred){return 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");}_9fe.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var def,_a25=_a03.wipeOut({node:this.containerNode,duration:_a09.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._collapseDeferred=new _9fc(function(){_a25.stop();}));_a25.play();return def;},indent:0,setChildItems:function(_a26){var tree=this.tree,_a27=tree.model,defs=[];var _a28=this.getChildren();_9f8.forEach(_a28,function(_a29){_a0c.prototype.removeChild.call(this,_a29);},this);this.defer(function(){_9f8.forEach(_a28,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);var id=_a27.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _a2a=_9f8.indexOf(ary,node);if(_a2a!=-1){ary.splice(_a2a,1);}}node.destroyRecursive();}});});this.state="LOADED";if(_a26&&_a26.length>0){this.isExpandable=true;_9f8.forEach(_a26,function(item){var id=_a27.getIdentity(item),_a2b=tree._itemNodesMap[id],node;if(_a2b){for(var i=0;i<_a2b.length;i++){if(_a2b[i]&&!_a2b[i].getParent()){node=_a2b[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_a27.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_a2b){_a2b.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_9f8.forEach(this.getChildren(),function(_a2c){_a2c._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);if(this==tree.rootNode){var fc=this.tree.showRoot?this:this.getChildren()[0];if(fc){fc.setFocusable(true);tree.lastFocused=fc;}else{tree.domNode.setAttribute("tabIndex","0");}}var def=new _9fd(defs);this.tree._startPaint(def);return 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 _a2d=this.getChildren();if(_a2d.length==0){this.isExpandable=false;this.collapse();}_9f8.forEach(_a2d,function(_a2e){_a2e._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_a2f){this.labelNode.setAttribute("aria-selected",_a2f?"true":"false");_9fe.toggle(this.rowNode,"dijitTreeRowSelected",_a2f);},setFocusable:function(_a30){this.labelNode.setAttribute("tabIndex",_a30?"0":"-1");},_setTextDirAttr:function(_a31){if(_a31&&((this.textDir!=_a31)||!this._created)){this._set("textDir",_a31);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_9f8.forEach(this.getChildren(),function(_a32){_a32.set("textDir",_a31);},this);}}});var Tree=_9fb("dijit.Tree",[_a0a,_a0b],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_a10,persist:true,autoExpand:false,dndController:_a13,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(_a33,_a34){_a05.publish(this.id,lang.mixin({tree:this,event:_a33},_a34||{}));},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 _9fc();this.pendingCommandsDeferred=this.expandChildrenDeferred;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.domNode,on.selector(".dijitTreeNode",_a06.enter),function(evt){self._onNodeMouseEnter(_a08.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode",_a06.leave),function(evt){self._onNodeMouseLeave(_a08.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeRow","click"),function(evt){self._onClick(_a08.getEnclosingWidget(this),evt);}),on(this.domNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_a08.getEnclosingWidget(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keypress"),function(evt){self._onKeyPress(_a08.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keydown"),function(evt){self._onKeyDown(_a08.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeRow","focusin"),function(evt){self._onNodeFocus(_a08.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _a35={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_a35[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_a35);}this._load();if(!this.params.path&&!this.params.paths&&this.persist){this.set("paths",this.dndController._getSavedPaths());}this.onLoadDeferred=this.pendingCommandsDeferred;this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_a04.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _a36={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_a36.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_a36.getChildren=lang.hitch(this,function(item,_a37,_a38){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_a37,_a38);});}this.model=new _a12(_a36);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");this.domNode.removeAttribute("aria-expanded");this.domNode.removeAttribute("aria-multiselectable");if(this["aria-label"]){rn.containerNode.setAttribute("aria-label",this["aria-label"]);this.domNode.removeAttribute("aria-label");}else{if(this["aria-labelledby"]){rn.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]);this.domNode.removeAttribute("aria-labelledby");}}rn.labelNode.setAttribute("role","presentation");rn.containerNode.setAttribute("role","tree");rn.containerNode.setAttribute("aria-expanded","true");rn.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular);}else{this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular);}this.domNode.appendChild(rn.domNode);var _a39=this.model.getIdentity(item);if(this._itemNodesMap[_a39]){this._itemNodesMap[_a39].push(rn);}else{this._itemNodesMap[_a39]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){this.expandChildrenDeferred.resolve(true);}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _a3a=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_a3a]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_a3b){var tree=this;return this.pendingCommandsDeferred=this.pendingCommandsDeferred.then(lang.hitch(this,function(){var _a3c=_9f8.map(_a3b,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _a3d=[];_9f8.forEach(_a3c,function(id){_a3d=_a3d.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_a3d);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_a3e){var tree=this;return this.pendingCommandsDeferred=this.pendingCommandsDeferred.then(function(){return new _9fd(_9f8.map(_a3e,function(path){var d=new _9fc();path=_9f8.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){_a3f(path,[tree.rootNode],d);}else{d.reject(new Tree.PathError("Empty path"));}return d;}));}).then(_a40);function _a3f(path,_a41,def){var _a42=path.shift();var _a43=_9f8.filter(_a41,function(node){return node.getIdentity()==_a42;})[0];if(!!_a43){if(path.length){tree._expandNode(_a43).then(function(){_a3f(path,_a43.getChildren(),def);});}else{def.resolve(_a43);}}else{def.reject(new Tree.PathError("Could not expand path at "+_a42));}};function _a40(_a44){tree.set("selectedNodes",_9f8.map(_9f8.filter(_a44,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_a45){this.dndController.setSelection(_a45);},expandAll:function(){var _a46=this;function _a47(node){var def=new dojo.Deferred();_a46._expandNode(node).then(function(){var _a48=_9f8.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=_9f8.map(_a48,_a47);new dojo.DeferredList(defs).then(function(){def.resolve(true);});});return def;};return _a47(this.rootNode);},collapseAll:function(){var _a49=this;function _a4a(node){var def=new dojo.Deferred();def.label="collapseAllDeferred";var _a4b=_9f8.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=_9f8.map(_a4b,_a4a);new dojo.DeferredList(defs).then(function(){if(!node.isExpanded||(node==_a49.rootNode&&!_a49.showRoot)){def.resolve(true);}else{_a49._collapseNode(node).then(function(){def.resolve(true);});}});return def;};return _a4a(this.rootNode);},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_a4c){return (!item||this.model.mayHaveChildren(item))?(_a4c?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(_a4d,e){if(e.charCode<=32){return;}if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){var c=String.fromCharCode(e.charCode);this._onLetterKeyNav({node:_a4d,key:c.toLowerCase()});_a01.stop(e);}},_onKeyDown:function(_a4e,e){var key=e.keyCode;var map=this._keyHandlerMap;if(!map){map={};map[keys.ENTER]=map[keys.SPACE]=map[" "]="_onEnterKey";map[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]="_onLeftArrow";map[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]="_onRightArrow";map[keys.UP_ARROW]="_onUpArrow";map[keys.DOWN_ARROW]="_onDownArrow";map[keys.HOME]="_onHomeKey";map[keys.END]="_onEndKey";this._keyHandlerMap=map;}if(this._keyHandlerMap[key]){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}this[this._keyHandlerMap[key]]({node:_a4e,item:_a4e.item,evt:e});_a01.stop(e);}},_onEnterKey:function(_a4f){this._publish("execute",{item:_a4f.item,node:_a4f.node});this.dndController.userSelect(_a4f.node,_9f9.isCopyKey(_a4f.evt),_a4f.evt.shiftKey);this.onClick(_a4f.item,_a4f.node,_a4f.evt);},_onDownArrow:function(_a50){var node=this._getNextNode(_a50.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_a51){var node=_a51.node;var _a52=node.getPreviousSibling();if(_a52){node=_a52;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _a53=node.getChildren();node=_a53[_a53.length-1];}}else{var _a54=node.getParent();if(!(!this.showRoot&&_a54===this.rootNode)){node=_a54;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_a55){var node=_a55.node;if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(_a56){var node=_a56.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _a57=node.getParent();if(_a57&&_a57.isTreeNode&&!(!this.showRoot&&_a57===this.rootNode)){this.focusNode(_a57);}}},_onHomeKey:function(){var node=this._getRootOrFirstNode();if(node){this.focusNode(node);}},_onEndKey:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();node=c[c.length-1];}if(node&&node.isTreeNode){this.focusNode(node);}},multiCharSearchDuration:250,_onLetterKeyNav:function(_a58){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_a58.key;cs.timer.remove();}else{cs=this._curSearch={pattern:_a58.key,startNode:_a58.node};}cs.timer=this.defer(function(){delete this._curSearch;},this.multiCharSearchDuration);var node=cs.startNode;do{node=this._getNextNode(node);if(!node){node=this._getRootOrFirstNode();}}while(node!==cs.startNode&&(node.label.toLowerCase().substr(0,cs.pattern.length)!=cs.pattern));if(node&&node.isTreeNode){if(node!==cs.startNode){this.focusNode(node);}}},isExpandoNode:function(node,_a59){return dom.isDescendant(node,_a59.expandoNode)||dom.isDescendant(node,_a59.expandoNodeText);},_onClick:function(_a5a,e){var _a5b=e.target,_a5c=this.isExpandoNode(_a5b,_a5a);if((this.openOnClick&&_a5a.isExpandable)||_a5c){if(_a5a.isExpandable){this._onExpandoClick({node:_a5a});}}else{this._publish("execute",{item:_a5a.item,node:_a5a,evt:e});this.onClick(_a5a.item,_a5a,e);this.focusNode(_a5a);}_a01.stop(e);},_onDblClick:function(_a5d,e){var _a5e=e.target,_a5f=(_a5e==_a5d.expandoNode||_a5e==_a5d.expandoNodeText);if((this.openOnDblClick&&_a5d.isExpandable)||_a5f){if(_a5d.isExpandable){this._onExpandoClick({node:_a5d});}}else{this._publish("execute",{item:_a5d.item,node:_a5d,evt:e});this.onDblClick(_a5d.item,_a5d,e);this.focusNode(_a5d);}_a01.stop(e);},_onExpandoClick:function(_a60){var node=_a60.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _a61=node.getNextSibling();if(_a61){return _a61;}node=node.getParent();}return null;}},_getRootOrFirstNode:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.state=="LOADING"){return;}if(node.isExpanded){var ret=node.collapse();this.onClose(node.item,node);this._state(node,false);this._startPaint(ret);return ret;}},_expandNode:function(node){var def=new _9fc();if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _a62=this.model,item=node.item,_a63=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _9fc();_a62.getChildren(item,function(_a64){node.unmarkProcessing();node.setChildItems(_a64).then(function(){node._loadDeferred.resolve(_a64);});},function(err){console.error(_a63,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}node._loadDeferred.then(lang.hitch(this,function(){node.expand().then(function(){def.resolve(true);});this.onOpen(node.item,node);this._state(node,true);}));this._startPaint(def);return def;},focusNode:function(node){_a07.focus(node.labelNode);},_onNodeFocus:function(node){if(node&&node!=this.lastFocused){if(this.lastFocused&&!this.lastFocused._destroyed){this.lastFocused.setFocusable(false);}node.setFocusable(true);this.lastFocused=node;}},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _a65=this.model,_a66=_a65.getIdentity(item),_a67=this._itemNodesMap[_a66];if(_a67){var _a68=this.getLabel(item),_a69=this.getTooltip(item);_9f8.forEach(_a67,function(node){node.set({item:item,label:_a68,tooltip:_a69});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_a6a,_a6b){var _a6c=this.model,_a6d=_a6c.getIdentity(_a6a),_a6e=this._itemNodesMap[_a6d];if(_a6e){_9f8.forEach(_a6e,function(_a6f){_a6f.setChildItems(_a6b);});}},_onItemDelete:function(item){var _a70=this.model,_a71=_a70.getIdentity(item),_a72=this._itemNodesMap[_a71];if(_a72){_9f8.forEach(_a72,function(node){this.dndController.removeTreeNode(node);var _a73=node.getParent();if(_a73){_a73.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_a71];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_9fa(this.cookieName);if(oreo){_9f8.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_a74){if(!this.persist){return false;}var path=_9f8.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_a74){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_9fa(this.cookieName,ary.join(","),{expires:365});}}},destroy:function(){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_a75){if(_a75){_9ff.setMarginBox(this.domNode,_a75);}this._nodePixelIndent=_9ff.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(lang.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths();}));},_outstandingPaintOperations:0,_startPaint:function(p){this._outstandingPaintOperations++;if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var oc=lang.hitch(this,function(){this._outstandingPaintOperations--;if(this._outstandingPaintOperations<=0&&!this._adjustWidthsTimer&&this._started){this._adjustWidthsTimer=this.defer("_adjustWidths");}});when(p,oc,oc);},_adjustWidths:function(){if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var _a76=0,_a77=[];function _a78(_a79){var node=_a79.rowNode;node.style.width="auto";_a76=Math.max(_a76,node.clientWidth);_a77.push(node);if(_a79.isExpanded){_9f8.forEach(_a79.getChildren(),_a78);}};_a78(this.rootNode);_a76=Math.max(_a76,_9ff.getContentBox(this.domNode).w);_9f8.forEach(_a77,function(node){node.style.width=_a76+"px";});},_createTreeNode:function(args){return new _a16(args);},_setTextDirAttr:function(_a7a){if(_a7a&&this.textDir!=_a7a){this._set("textDir",_a7a);this.rootNode.set("textDir",_a7a);}}});Tree.PathError=_a02("TreePathError");Tree._TreeNode=_a16;return Tree;});},"dijit/form/HorizontalSlider":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/move","dojo/_base/event","dojo/_base/fx","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","dojo/mouse","../registry","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_a7b,_a7c,move,_a7d,fx,_a7e,_a7f,keys,lang,has,_a80,_a81,_a82,_a83,_a84,_a85,_a86,_a87,_a88,_a89,_a8a){var _a8b=_a7c("dijit.form._SliderMover",_a81,{onMouseMove:function(e){var _a8c=this.widget;var _a8d=_a8c._abspos;if(!_a8d){_a8d=_a8c._abspos=_a7e.position(_a8c.sliderBarContainer,true);_a8c._setPixelValue_=lang.hitch(_a8c,"_setPixelValue");_a8c._isReversed_=_a8c._isReversed();}var _a8e=e[_a8c._mousePixelCoord]-_a8d[_a8c._startingPixelCoord];_a8c._setPixelValue_(_a8c._isReversed_?(_a8d[_a8c._pixelCount]-_a8e):_a8e,_a8d[_a8c._pixelCount],false);},destroy:function(e){_a81.prototype.destroy.apply(this,arguments);var _a8f=this.widget;_a8f._abspos=null;_a8f._setValueAttr(_a8f.value,true);}});var _a90=_a7c("dijit.form.HorizontalSlider",[_a88,_a89],{templateString:_a8a,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_a84.defaultDuration,_setIdAttr:"",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyUp:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}this._setValueAttr(this.value,true);},_onKeyPress:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}switch(e.charOrCode){case keys.HOME:this._setValueAttr(this.minimum,false);break;case keys.END:this._setValueAttr(this.maximum,false);break;case ((this._descending||this.isLeftToRight())?keys.RIGHT_ARROW:keys.LEFT_ARROW):case (this._descending===false?keys.DOWN_ARROW:keys.UP_ARROW):case (this._descending===false?keys.PAGE_DOWN:keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?keys.LEFT_ARROW:keys.RIGHT_ARROW):case (this._descending===false?keys.UP_ARROW:keys.DOWN_ARROW):case (this._descending===false?keys.PAGE_UP:keys.PAGE_DOWN):this.decrement(e);break;default:return;}_a7d.stop(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_a85.focus(this.sliderHandle);}_a7d.stop(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_a85.focus(this.sliderHandle);_a7d.stop(e);var _a91=_a7e.position(this.sliderBarContainer,true);var _a92=e[this._mousePixelCoord]-_a91[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_a91[this._pixelCount]-_a92):_a92,_a91[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_a93,_a94,_a95){if(this.disabled||this.readOnly){return;}var _a96=this.discreteValues;if(_a96<=1||_a96==Infinity){_a96=_a94;}_a96--;var _a97=_a94/_a96;var _a98=Math.round(_a93/_a97);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_a98/_a96+this.minimum,this.maximum),this.minimum),_a95);},_setValueAttr:function(_a99,_a9a){this._set("value",_a99);this.valueNode.value=_a99;this.focusNode.setAttribute("aria-valuenow",_a99);this.inherited(arguments);var _a9b=(_a99-this.minimum)/(this.maximum-this.minimum);var _a9c=(this._descending===false)?this.remainingBar:this.progressBar;var _a9d=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_a9a&&this.slideDuration>0&&_a9c.style[this._progressPixelSize]){var _a9e=this;var _a9f={};var _aa0=parseFloat(_a9c.style[this._progressPixelSize]);var _aa1=this.slideDuration*(_a9b-_aa0/100);if(_aa1==0){return;}if(_aa1<0){_aa1=0-_aa1;}_a9f[this._progressPixelSize]={start:_aa0,end:_a9b*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_a9c,duration:_aa1,onAnimate:function(v){_a9d.style[_a9e._progressPixelSize]=(100-parseFloat(v[_a9e._progressPixelSize]))+"%";},onEnd:function(){delete _a9e._inProgressAnim;},properties:_a9f});this._inProgressAnim.play();}else{_a9c.style[this._progressPixelSize]=(_a9b*100)+"%";_a9d.style[this._progressPixelSize]=((1-_a9b)*100)+"%";}},_bumpValue:function(_aa2,_aa3){if(this.disabled||this.readOnly){return;}var s=_a7f.getComputedStyle(this.sliderBarContainer);var c=_a7e.getContentBox(this.sliderBarContainer,s);var _aa4=this.discreteValues;if(_aa4<=1||_aa4==Infinity){_aa4=c[this._pixelCount];}_aa4--;var _aa5=(this.value-this.minimum)*_aa4/(this.maximum-this.minimum)+_aa2;if(_aa5<0){_aa5=0;}if(_aa5>_aa4){_aa5=_aa4;}_aa5=_aa5*(this.maximum-this.minimum)/_aa4+this.minimum;this._setValueAttr(_aa5,_aa3);},_onClkBumper:function(val){if(this.disabled||this.readOnly||!this.clickSelect){return;}this._setValueAttr(val,true);},_onClkIncBumper:function(){this._onClkBumper(this._descending===false?this.minimum:this.maximum);},_onClkDecBumper:function(){this._onClkBumper(this._descending===false?this.maximum:this.minimum);},decrement:function(e){this._bumpValue(e.charOrCode==keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.charOrCode==keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){_a7d.stop(evt);this._bumpValue(evt.wheelDelta<0?-1:1,true);},startup:function(){if(this._started){return;}_a7b.forEach(this.getChildren(),function(_aa6){if(this[_aa6.container]!=this.containerNode){this[_aa6.container].appendChild(_aa6.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_aa7,_aa8,e){if(_aa7==-1){this._setValueAttr(this.value,true);}else{this[(_aa8==(this._descending?this.incrementButton:this.decrementButton))?"decrement":"increment"](e);}},buildRendering:function(){this.inherited(arguments);if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";}var _aa9=_a82("label[for=\""+this.id+"\"]");if(_aa9.length){if(!_aa9[0].id){_aa9[0].id=this.id+"_label";}this.focusNode.setAttribute("aria-labelledby",_aa9[0].id);}this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum);},postCreate:function(){this.inherited(arguments);if(this.showButtons){this.own(_a86.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),_a86.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,_a83.wheel,"_mouseWheeled");var _aaa=_a7c(_a8b,{widget:this});this._movable=new _a80(this.sliderHandle,{mover:_aaa});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this.inherited(arguments);}});_a90._Mover=_a8b;return _a90;});},"*now":function(r){r(["dojo/i18n!*preload*dijit/nls/dijit-all*[\"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("dijit/dijit-all",["./main","./dijit","./ColorPalette","./Declaration","./Dialog","./DialogUnderlay","./TooltipDialog","./Editor","./_editor/plugins/FontChoice","./_editor/plugins/LinkDialog","./Menu","./MenuItem","./PopupMenuItem","./CheckedMenuItem","./MenuBar","./MenuBarItem","./PopupMenuBarItem","./MenuSeparator","./ProgressBar","./TitlePane","./Toolbar","./Tooltip","./Tree","./InlineEditBox","./form/Form","./form/Button","./form/DropDownButton","./form/ComboButton","./form/ToggleButton","./form/CheckBox","./form/RadioButton","./form/TextBox","./form/ValidationTextBox","./form/CurrencyTextBox","./form/DateTextBox","./form/TimeTextBox","./form/NumberSpinner","./form/NumberTextBox","./form/ComboBox","./form/FilteringSelect","./form/MultiSelect","./form/Select","./form/HorizontalSlider","./form/VerticalSlider","./form/HorizontalRule","./form/VerticalRule","./form/HorizontalRuleLabels","./form/VerticalRuleLabels","./form/SimpleTextarea","./form/Textarea","./layout/AccordionContainer","./layout/ContentPane","./layout/BorderContainer","./layout/LayoutContainer","./layout/LinkPane","./layout/SplitContainer","./layout/StackContainer","./layout/TabContainer"],function(_aab){console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");return _aab;});