/*
	Copyright (c) 2004-2011, 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","dojo/_base/window","../../registry","../../_Widget","../../_TemplatedMixin","../../_WidgetsInTemplateMixin","../../form/FilteringSelect","../_Plugin","../range","../selection","dojo/i18n!../nls/FontChoice"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,_e,_f){var _10=_2("dijit._editor.plugins._FontDropDown",[_9,_a,_b],{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\"' "+"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=_8.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(_11){var _12=this.strings[_11]||_11;return {label:this.getLabel(_11,_12),name:_12,value:_11};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_13,_14){_14=_14!==false;this.select.set("value",_1.indexOf(this.values,_13)<0?"":_13,_14);if(!_14){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_15){this.disabled=_15;this.select.set("disabled",_15);}});var _16=_2("dijit._editor.plugins._FontNameDropDown",_10,{generic:false,command:"fontName",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(_17,_18){if(this.plainText){return _18;}else{return "<div style='font-family: "+_17+"'>"+_18+"</div>";}},_setValueAttr:function(_19,_1a){_1a=_1a!==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"};_19=map[_19]||_19;}this.inherited(arguments,[_19,_1a]);}});var _1b=_2("dijit._editor.plugins._FontSizeDropDown",_10,{command:"fontSize",values:[1,2,3,4,5,6,7],getLabel:function(_1c,_1d){if(this.plainText){return _1d;}else{return "<font size="+_1c+"'>"+_1d+"</font>";}},_setValueAttr:function(_1e,_1f){_1f=_1f!==false;if(_1e.indexOf&&_1e.indexOf("px")!=-1){var _20=parseInt(_1e,10);_1e={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_20]||_1e;}this.inherited(arguments,[_1e,_1f]);}});var _21=_2("dijit._editor.plugins._FormatBlockDropDown",_10,{command:"formatBlock",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_22,_23){if(this.plainText||_22=="noFormat"){return _23;}else{return "<"+_22+">"+_23+"</"+_22+">";}},_execCommand:function(_24,_25,_26){if(_26==="noFormat"){var _27;var end;var sel=_e.getSelection(_24.window);if(sel&&sel.rangeCount>0){var _28=sel.getRangeAt(0);var _29,tag;if(_28){_27=_28.startContainer;end=_28.endContainer;while(_27&&_27!==_24.editNode&&_27!==_24.document.body&&_27.nodeType!==1){_27=_27.parentNode;}while(end&&end!==_24.editNode&&end!==_24.document.body&&end.nodeType!==1){end=end.parentNode;}var _2a=_5.hitch(this,function(_2b,ary){if(_2b.childNodes&&_2b.childNodes.length){var i;for(i=0;i<_2b.childNodes.length;i++){var c=_2b.childNodes[i];if(c.nodeType==1){if(_7.withGlobal(_24.window,"inSelection",_f,[c])){var tag=c.tagName?c.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){ary.push(c);}_2a(c,ary);}}}}});var _2c=_5.hitch(this,function(_2d){if(_2d&&_2d.length){_24.beginEditing();while(_2d.length){this._removeFormat(_24,_2d.pop());}_24.endEditing();}});var _2e=[];if(_27==end){var _2f;_29=_27;while(_29&&_29!==_24.editNode&&_29!==_24.document.body){if(_29.nodeType==1){tag=_29.tagName?_29.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){_2f=_29;break;}}_29=_29.parentNode;}_2a(_27,_2e);if(_2f){_2e=[_2f].concat(_2e);}_2c(_2e);}else{_29=_27;while(_7.withGlobal(_24.window,"inSelection",_f,[_29])){if(_29.nodeType==1){tag=_29.tagName?_29.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){_2e.push(_29);}_2a(_29,_2e);}_29=_29.nextSibling;}_2c(_2e);}_24.onDisplayChanged();}}}else{_24.execCommand(_25,_26);}},_removeFormat:function(_30,_31){if(_30.customUndo){while(_31.firstChild){_3.place(_31.firstChild,_31,"before");}_31.parentNode.removeChild(_31);}else{_7.withGlobal(_30.window,"selectElementChildren",_f,[_31]);var _32=_7.withGlobal(_30.window,"getSelectedHtml",_f,[null]);_7.withGlobal(_30.window,"selectElement",_f,[_31]);_30.execCommand("inserthtml",_32||"");}}});var _33=_2("dijit._editor.plugins.FontChoice",_d,{useDefaultCommand:false,_initButton:function(){var _34={fontName:_16,fontSize:_1b,formatBlock:_21}[this.command],_35=this.params;if(this.params.custom){_35.values=this.params.custom;}var _36=this.editor;this.button=new _34(_5.delegate({dir:_36.dir,lang:_36.lang},_35));this.connect(this.button.select,"onChange",function(_37){this.editor.focus();if(this.command=="fontName"&&_37.indexOf(" ")!=-1){_37="'"+_37+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_37);}else{this.editor.execCommand(this.command,_37);}});},updateState:function(){var _38=this.editor;var _39=this.command;if(!_38||!_38.isLoaded||!_39.length){return;}if(this.button){var _3a=this.get("disabled");this.button.set("disabled",_3a);if(_3a){return;}var _3b;try{_3b=_38.queryCommandValue(_39)||"";}catch(e){_3b="";}var _3c=_5.isString(_3b)&&_3b.match(/'([^']*)'/);if(_3c){_3b=_3c[1];}if(_39==="formatBlock"){if(!_3b||_3b=="p"){_3b=null;var _3d;var sel=_e.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _3e=sel.getRangeAt(0);if(_3e){_3d=_3e.endContainer;}}while(_3d&&_3d!==_38.editNode&&_3d!==_38.document){var tg=_3d.tagName?_3d.tagName.toLowerCase():"";if(tg&&_1.indexOf(this.button.values,tg)>-1){_3b=tg;break;}_3d=_3d.parentNode;}if(!_3b){_3b="noFormat";}}else{if(_1.indexOf(this.button.values,_3b)<0){_3b="noFormat";}}}if(_3b!==this.button.get("value")){this.button.set("value",_3b,false);}}}});_1.forEach(["fontName","fontSize","formatBlock"],function(_3f){_d.registry[_3f]=function(_40){return new _33({command:_3f,plainText:_40.plainText});};});});},"dijit/form/nls/validate":function(){define({root:({invalidMessage:"The value entered is not valid.",missingMessage:"This value is required.",rangeMessage:"This value is out of range."}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\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/_base/sniff","dojo/_base/window","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html",".."],function(_41,_42,_43,_44,_45,has,win,_46,_47,_48,_49){var _4a=_41([_46,_47],{templateString:_48,_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 _4b=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_4b=="hidden"||_4b=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _4c=this;setTimeout(function(){_4c._handleOnChange(_4c.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_42.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_4d,_4e,_4f){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_44.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_50){_44.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_50);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(has("ie")){_4a=_41(_4a,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _51=win.doc.selection.createRange();var _52=_51.parentElement();return _52==this.textbox&&_51.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(_45.hitch(this,function(){try{var s=_43.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _53=this.domNode.getElementsByTagName("INPUT");if(_53){for(var i=0;i<_53.length;i++){_53[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_49._setSelectionRange=_47._setSelectionRange=function(_54,_55,_56){if(_54.createTextRange){var r=_54.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_55);r.moveEnd("character",_56-_55);r.select();}};}else{if(has("mozilla")){_4a=_41(_4a,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_4a.prototype.declaredClass="dijit.form.TextBox";}}_45.setObject("dijit.form.TextBox",_4a);return _4a;});},"dojo/currency":function(){define(["./_base/kernel","./_base/lang","./_base/array","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_57,_58,_59,_5a,_5b,_5c,_5d){_58.getObject("currency",true,_57);_57.currency._mixInDefaults=function(_5e){_5e=_5e||{};_5e.type="currency";var _5f=_5b.getLocalization("dojo.cldr","currency",_5e.locale)||{};var iso=_5e.currency;var _60=_5d.getData(iso);_59.forEach(["displayName","symbol","group","decimal"],function(_61){_60[_61]=_5f[iso+"_"+_61];});_60.fractional=[true,false];return _58.mixin(_60,_5e);};_57.currency.format=function(_62,_63){return _5a.format(_62,_57.currency._mixInDefaults(_63));};_57.currency.regexp=function(_64){return _5a.regexp(_57.currency._mixInDefaults(_64));};_57.currency.parse=function(_65,_66){return _5a.parse(_65,_57.currency._mixInDefaults(_66));};return _57.currency;});},"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/window","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_67,_68,win,_69,_6a,_6b,_6c){return _67("dijit.DialogUnderlay",[_6a,_6b],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_68.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_6d){this.node.className="dijitDialogUnderlay "+_6d;this._set("class",_6d);},postCreate:function(){win.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _6e=_69.getBox();os.top=_6e.t+"px";os.left=_6e.l+"px";is.width=_6e.w+"px";is.height=_6e.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _6c(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"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\"\n\t\t/></td></tr></tbody\n></table>\n","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/query","dojo/_base/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom"],function(_6f,_70,_71,_72,_73,fx,_74,_75,has,_76,_77,_78,_79,_7a,_7b,_7c,_7d,_7e,_7f){var _80=_70("dijit.layout.ScrollingTabController",[_79,_7b],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_77,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";_71.add(n,"tabStrip-disabled");}_71.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_73.set(this.domNode,"visibility","");this._postStartup=true;},onAddChild:function(_81,_82){this.inherited(arguments);_6f.forEach(["label","iconClass"],function(_83){this.pane2watches[_81.id].push(this.pane2button[_81.id].watch(_83,_74.hitch(this,function(){if(this._postStartup&&this._dim){this.resize(this._dim);}})));},this);_73.set(this.containerNode,"width",(_73.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_84,_85){var _86=this.pane2button[_84.id];if(this._selectedTab===_86.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_75("> .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+=_72.getMarginSize(btn).w;return true;}else{_73.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _87=this.getChildren();if(_87.length){var _88=_87[this.isLeftToRight()?0:_87.length-1].domNode,_89=_87[this.isLeftToRight()?_87.length-1:0].domNode;return _89.offsetLeft+_73.get(_89,"width")-_88.offsetLeft;}else{return 0;}},_enableBtn:function(_8a){var _8b=this._getTabsWidth();_8a=_8a||_73.get(this.scrollNode,"width");return _8b>0&&_8a<_8b;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_7a.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_72.setContentSize(this.domNode,cb);var _8c=this._enableBtn(this._contentBox.w);this._buttons.style("display",_8c?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_7a.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:_73.get(this.containerNode,"width")-_73.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 _8d=_73.get(this.containerNode,"width")-_73.get(this.scrollNode,"width");return (has("ie")==8?-1:1)*(val-_8d);}},onSelectChild:function(_8e){var tab=this.pane2button[_8e.id];if(!tab||!_8e){return;}var _8f=tab.domNode;if(_8f!=this._selectedTab){this._selectedTab=_8f;if(this._postResize){var sl=this._getScroll();if(sl>_8f.offsetLeft||sl+_73.get(this.scrollNode,"width")<_8f.offsetLeft+_73.get(_8f,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _90=this.getChildren(),_91=_73.get(this.scrollNode,"width"),_92=_73.get(this.containerNode,"width"),_93=_92-_91,_94=this._getTabsWidth();if(_90.length&&_94>_91){return {min:this.isLeftToRight()?0:_90[_90.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_90[_90.length-1].domNode.offsetLeft+_73.get(_90[_90.length-1].domNode,"width"))-_91:_93};}else{var _95=this.isLeftToRight()?0:_93;return {min:_95,max:_95};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_96=_73.get(this.scrollNode,"width"),_97=this._getScrollBounds();var pos=(n.offsetLeft+_73.get(n,"width")/2)-_96/2;pos=Math.min(Math.max(pos,_97.min),_97.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _98=this._getScrollBounds();x=Math.min(Math.max(x,_98.min),_98.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _99=this,w=this.scrollNode,_9a=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _9b=w.scrollLeft,_9c=_99._convertToScrollLeft(x);_9a.curve=new fx._Line(_9b,_9c);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_9a;this._setButtonClass(x);return _9a;},_getBtnNode:function(e){var n=e.target;while(n&&!_71.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(_9d,_9e){if(_9e&&_71.contains(_9e,"dijitTabDisabled")){return;}var _9f=_73.get(this.scrollNode,"width");var d=(_9f*0.75)*_9d;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_a0){var _a1=this._getScrollBounds();this._leftBtn.set("disabled",_a0<=_a1.min);this._rightBtn.set("disabled",_a0>=_a1.max);}});var _a2=_70("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_78,tabIndex:"",isFocusable:function(){return false;}});_70("dijit.layout._ScrollingTabControllerButton",[_7e,_a2]);_70("dijit.layout._ScrollingTabControllerMenuButton",[_7e,_7f,_a2],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_a3){this.dropDown=new _7c({id:this.containerId+"_menu",dir:this.dir,lang:this.lang,textDir:this.textDir});var _a4=_76.byId(this.containerId);_6f.forEach(_a4.getChildren(),function(_a5){var _a6=new _7d({id:_a5.id+"_stcMi",label:_a5.title,iconClass:_a5.iconClass,dir:_a5.dir,lang:_a5.lang,textDir:_a5.textDir,onClick:function(){_a4.selectChild(_a5);}});this.dropDown.addChild(_a6);},this);_a3();},closeDropDown:function(_a7){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});return _80;});},"dijit/_editor/html":function(){define(["dojo/_base/lang","dojo/_base/sniff",".."],function(_a8,has,_a9){_a8.getObject("_editor",true,_a9);_a9._editor.escapeXml=function(str,_aa){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_aa){str=str.replace(/'/gm,"&#39;");}return str;};_a9._editor.getNodeHtml=function(_ab){var _ac;switch(_ab.nodeType){case 1:var _ad=_ab.nodeName.toLowerCase();if(!_ad||_ad.charAt(0)=="/"){return "";}_ac="<"+_ad;var _ae=[];var _af;if(has("ie")&&_ab.outerHTML){var s=_ab.outerHTML;s=s.substr(0,s.indexOf(">")).replace(/(['"])[^"']*\1/g,"");var reg=/(\b\w+)\s?=/g;var m,key;while((m=reg.exec(s))){key=m[1];if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(_ab.getAttribute("_djrealurl")){_ae.push([key,_ab.getAttribute("_djrealurl")]);continue;}}var val,_b0;switch(key){case "style":val=_ab.style.cssText.toLowerCase();break;case "class":val=_ab.className;break;case "width":if(_ad==="img"){_b0=/width=(\S+)/i.exec(s);if(_b0){val=_b0[1];}break;}case "height":if(_ad==="img"){_b0=/height=(\S+)/i.exec(s);if(_b0){val=_b0[1];}break;}default:val=_ab.getAttribute(key);}if(val!=null){_ae.push([key,val.toString()]);}}}}else{var i=0;while((_af=_ab.attributes[i++])){var n=_af.name;if(n.substr(0,3)!="_dj"){var v=_af.value;if(n=="src"||n=="href"){if(_ab.getAttribute("_djrealurl")){v=_ab.getAttribute("_djrealurl");}}_ae.push([n,v]);}}}_ae.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((_af=_ae[j++])){_ac+=" "+_af[0]+"=\""+(_a8.isString(_af[1])?_a9._editor.escapeXml(_af[1],true):_af[1])+"\"";}if(_ad==="script"){_ac+=">"+_ab.innerHTML+"</"+_ad+">";}else{if(_ab.childNodes.length){_ac+=">"+_a9._editor.getChildrenHtml(_ab)+"</"+_ad+">";}else{switch(_ad){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_ac+=" />";break;default:_ac+="></"+_ad+">";}}}break;case 4:case 3:_ac=_a9._editor.escapeXml(_ab.nodeValue,true);break;case 8:_ac="<!--"+_a9._editor.escapeXml(_ab.nodeValue,true)+"-->";break;default:_ac="<!-- Element not recognized - Type: "+_ab.nodeType+" Name: "+_ab.nodeName+"-->";}return _ac;};_a9._editor.getChildrenHtml=function(dom){var out="";if(!dom){return out;}var _b1=dom["childNodes"]||dom;var _b2=!has("ie")||_b1!==dom;var _b3,i=0;while((_b3=_b1[i++])){if(!_b2||_b3.parentNode==dom){out+=_a9._editor.getNodeHtml(_b3);}}return out;};return _a9._editor;});},"dijit/_editor/nls/commands":function(){define({root:({"bold":"Bold","copy":"Copy","cut":"Cut","delete":"Delete","indent":"Indent","insertHorizontalRule":"Horizontal Rule","insertOrderedList":"Numbered List","insertUnorderedList":"Bullet List","italic":"Italic","justifyCenter":"Align Center","justifyFull":"Justify","justifyLeft":"Align Left","justifyRight":"Align Right","outdent":"Outdent","paste":"Paste","redo":"Redo","removeFormat":"Remove Format","selectAll":"Select All","strikethrough":"Strikethrough","subscript":"Subscript","superscript":"Superscript","underline":"Underline","undo":"Undo","unlink":"Remove Link","createLink":"Create Link","toggleDir":"Toggle Direction","insertImage":"Insert Image","insertTable":"Insert/Edit Table","toggleTableBorder":"Toggle Table Border","deleteTable":"Delete Table","tableProp":"Table Property","htmlToggle":"HTML Source","foreColor":"Foreground Color","hiliteColor":"Background Color","plainFormatBlock":"Paragraph Style","formatBlock":"Paragraph Style","fontSize":"Font Size","fontName":"Font Name","tabIndent":"Tab Indent","fullScreen":"Toggle Full Screen","viewSource":"View HTML Source","print":"Print","newPage":"New Page","systemShortcut":"The \"${0}\" action is only available in your browser using a keyboard shortcut. Use ${1}.","ctrlKey":"ctrl+${0}","appleKey":"⌘${0}"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","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/touch","dojo/_base/window","dojo/window","./registry","./focus","./popup","./_FocusMixin"],function(_b4,_b5,dom,_b6,_b7,_b8,_b9,has,_ba,_bb,_bc,win,_bd,_be,_bf,_c0,_c1){return _b4("dijit._HasDropDown",_c1,{_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;}_b5.stop(e);this._docHandler=this.connect(win.doc,_bc.release,"_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _c2=this.dropDown,_c3=false;if(e&&this._opened){var c=_b8.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&&!_c3){if(_b7.contains(t,"dijitPopup")){_c3=true;}else{t=t.parentNode;}}if(_c3){t=e.target;if(_c2.onItemClick){var _c4;while(t&&!(_c4=_be.byNode(t))){t=t.parentNode;}if(_c4&&_c4.onClick&&_c4.getParent){_c4.getParent().onItemClick(_c4,e);}}return;}}}if(this._opened){if(_c2.focus&&_c2.autoFocus!==false){window.setTimeout(_bb.hitch(_c2,"focus"),1);}}else{setTimeout(_bb.hitch(this,"focus"),0);}if(has("ios")){this._justGotMouseUp=true;setTimeout(_bb.hitch(this,function(){this._justGotMouseUp=false;}),0);}},_onDropDownClick:function(e){if(has("ios")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_b5.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _c5={"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";_b7.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_c5+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,_bc.press,"_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeypress","_onKey");this.connect(this.focusNode,"onkeyup","_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,_c6=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_b5.stop(e);return;}}if(d&&this._opened&&e.charOrCode==_ba.ESCAPE){this.closeDropDown();_b5.stop(e);}else{if(!this._opened&&(e.charOrCode==_ba.DOWN_ARROW||((e.charOrCode==_ba.ENTER||e.charOrCode==" ")&&((_c6.tagName||"").toLowerCase()!=="input"||(_c6.type&&_c6.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_b5.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(_bb.hitch(d,"focus"),1);}}},_onBlur:function(){var _c7=_bf.curNode&&this.dropDown&&dom.isDescendant(_bf.curNode,this.dropDown.domNode);this.closeDropDown(_c7);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_c8){_c8();},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){if(!this.isLoaded()){this.loadDropDown(_bb.hitch(this,"openDropDown"));}else{this.openDropDown();}}else{this.closeDropDown();}},openDropDown:function(){var _c9=this.dropDown,_ca=_c9.domNode,_cb=this._aroundNode||this.domNode,_cc=this;if(!this._preparedNode){this._preparedNode=true;if(_ca.style.width){this._explicitDDWidth=true;}if(_ca.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _cd={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_cd.width="";}if(!this._explicitDDHeight){_cd.height="";}_b9.set(_ca,_cd);var _ce=this.maxHeight;if(_ce==-1){var _cf=_bd.getBox(),_d0=_b8.position(_cb,false);_ce=Math.floor(Math.max(_d0.y,_cf.h-(_d0.y+_d0.h)));}_c0.moveOffScreen(_c9);if(_c9.startup&&!_c9._started){_c9.startup();}var mb=_b8.getMarginSize(_ca);var _d1=(_ce&&mb.h>_ce);_b9.set(_ca,{overflowX:"hidden",overflowY:_d1?"auto":"hidden"});if(_d1){mb.h=_ce;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_cb.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_cb.offsetWidth);}else{delete mb.w;}}if(_bb.isFunction(_c9.resize)){_c9.resize(mb);}else{_b8.setMarginBox(_ca,mb);}}var _d2=_c0.open({parent:this,popup:_c9,around:_cb,orient:this.dropDownPosition,onExecute:function(){_cc.closeDropDown(true);},onCancel:function(){_cc.closeDropDown(true);},onClose:function(){_b6.set(_cc._popupStateNode,"popupActive",false);_b7.remove(_cc._popupStateNode,"dijitHasDropDownOpen");_cc._opened=false;}});_b6.set(this._popupStateNode,"popupActive","true");_b7.add(_cc._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _d2;},closeDropDown:function(_d3){if(this._opened){if(_d3){this.focus();}_c0.close(this.dropDown);this._opened=false;}}});});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/json","dojo/_base/lang"],function(_d4,_d5,_d6,_d7,_d8){return _d6("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_d9){_d8.mixin(this,_d9);this.connects=[];var _da=this.store;if(!_da.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.Tree: store must support dojo.data.Identity");}if(_da.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_d5.after(_da,"onNew",_d8.hitch(this,"onNewItem"),true),_d5.after(_da,"onDelete",_d8.hitch(this,"onDeleteItem"),true),_d5.after(_da,"onSet",_d8.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_db,_dc){if(this.root){_db(this.root);}else{this.store.fetch({query:this.query,onComplete:_d8.hitch(this,function(_dd){if(_dd.length!=1){throw new Error(this.declaredClass+": query "+_d7.stringify(this.query)+" returned "+_dd.length+" items, but must return exactly one item");}this.root=_dd[0];_db(this.root);}),onError:_dc});}},mayHaveChildren:function(_de){return _d4.some(this.childrenAttrs,function(_df){return this.store.hasAttribute(_de,_df);},this);},getChildren:function(_e0,_e1,_e2){var _e3=this.store;if(!_e3.isItemLoaded(_e0)){var _e4=_d8.hitch(this,arguments.callee);_e3.loadItem({item:_e0,onItem:function(_e5){_e4(_e5,_e1,_e2);},onError:_e2});return;}var _e6=[];for(var i=0;i<this.childrenAttrs.length;i++){var _e7=_e3.getValues(_e0,this.childrenAttrs[i]);_e6=_e6.concat(_e7);}var _e8=0;if(!this.deferItemLoadingUntilExpand){_d4.forEach(_e6,function(_e9){if(!_e3.isItemLoaded(_e9)){_e8++;}});}if(_e8==0){_e1(_e6);}else{_d4.forEach(_e6,function(_ea,idx){if(!_e3.isItemLoaded(_ea)){_e3.loadItem({item:_ea,onItem:function(_eb){_e6[idx]=_eb;if(--_e8==0){_e1(_e6);}},onError:_e2});}});}},isItem:function(_ec){return this.store.isItem(_ec);},fetchItemByIdentity:function(_ed){this.store.fetchItemByIdentity(_ed);},getIdentity:function(_ee){return this.store.getIdentity(_ee);},getLabel:function(_ef){if(this.labelAttr){return this.store.getValue(_ef,this.labelAttr);}else{return this.store.getLabel(_ef);}},newItem:function(_f0,_f1,_f2){var _f3={parent:_f1,attribute:this.childrenAttrs[0]},_f4;if(this.newItemIdAttr&&_f0[this.newItemIdAttr]){this.fetchItemByIdentity({identity:_f0[this.newItemIdAttr],scope:this,onItem:function(_f5){if(_f5){this.pasteItem(_f5,null,_f1,true,_f2);}else{_f4=this.store.newItem(_f0,_f3);if(_f4&&(_f2!=undefined)){this.pasteItem(_f4,_f1,_f1,false,_f2);}}}});}else{_f4=this.store.newItem(_f0,_f3);if(_f4&&(_f2!=undefined)){this.pasteItem(_f4,_f1,_f1,false,_f2);}}},pasteItem:function(_f6,_f7,_f8,_f9,_fa){var _fb=this.store,_fc=this.childrenAttrs[0];if(_f7){_d4.forEach(this.childrenAttrs,function(_fd){if(_fb.containsValue(_f7,_fd,_f6)){if(!_f9){var _fe=_d4.filter(_fb.getValues(_f7,_fd),function(x){return x!=_f6;});_fb.setValues(_f7,_fd,_fe);}_fc=_fd;}});}if(_f8){if(typeof _fa=="number"){var _ff=_fb.getValues(_f8,_fc).slice();_ff.splice(_fa,0,_f6);_fb.setValues(_f8,_fc,_ff);}else{_fb.setValues(_f8,_fc,_fb.getValues(_f8,_fc).concat(_f6));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_100){if(!_100){return;}this.getChildren(_100.item,_d8.hitch(this,function(_101){this.onChildrenChange(_100.item,_101);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_102){if(_d4.indexOf(this.childrenAttrs,_102)!=-1){this.getChildren(item,_d8.hitch(this,function(_103){this.onChildrenChange(item,_103);}));}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/_base/sniff","dojo/_base/window","dojo/window","../_Plugin","../RichText","../range","../selection"],function(_104,_105,_106,keys,lang,has,win,_107,_108,_109,_10a,_10b){return _104("dijit._editor.plugins.EnterKeyHandling",_108,{blockNodeForEnter:"BR",constructor:function(args){if(args){if("blockNodeForEnter" in args){args.blockNodeForEnter=args.blockNodeForEnter.toUpperCase();}lang.mixin(this,args);}},setEditor:function(_10c){if(this.editor===_10c){return;}this.editor=_10c;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_10c.onLoadDeferred.addCallback(lang.hitch(this,function(d){this.connect(_10c.document,"onkeypress",function(e){if(e.charOrCode==keys.ENTER){var ne=lang.mixin({},e);ne.shiftKey=true;if(!this.handleEnterKey(ne)){_106.stop(e);}}});return d;}));}else{if(this.blockNodeForEnter){var h=lang.hitch(this,this.handleEnterKey);_10c.addKeyHandler(13,0,0,h);_10c.addKeyHandler(13,0,1,h);this.connect(this.editor,"onKeyPressed","onKeyPressed");}}},onKeyPressed:function(){if(this._checkListLater){if(win.withGlobal(this.editor.window,"isCollapsed",dijit)){var _10d=win.withGlobal(this.editor.window,"getAncestorElement",_10e,["LI"]);if(!_10d){_109.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _10f=win.withGlobal(this.editor.window,"getAncestorElement",_10e,[this.blockNodeForEnter]);if(_10f){_10f.innerHTML=this.bogusHtmlContent;if(has("ie")){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(_10d.parentNode.parentNode.nodeName=="LI"){_10d=_10d.parentNode.parentNode;}}var fc=_10d.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_10d.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _110=_10a.create(this.editor.window);_110.setStart(_10d.firstChild,0);var _10e=_10a.getSelection(this.editor.window,true);_10e.removeAllRanges();_10e.addRange(_110);}}}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 _111,_112,_113,_114,_115,_116,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _117=win.withGlobal(this.editor.window,"getParentElement",_10b);var _118=_10a.getAncestor(_117,this.blockNodes);if(_118){if(_118.tagName=="LI"){return true;}_111=_10a.getSelection(this.editor.window);_112=_111.getRangeAt(0);if(!_112.collapsed){_112.deleteContents();_111=_10a.getSelection(this.editor.window);_112=_111.getRangeAt(0);}if(_10a.atBeginningOfContainer(_118,_112.startContainer,_112.startOffset)){br=doc.createElement("br");_113=_10a.create(this.editor.window);_118.insertBefore(br,_118.firstChild);_113.setStartAfter(br);_111.removeAllRanges();_111.addRange(_113);}else{if(_10a.atEndOfContainer(_118,_112.startContainer,_112.startOffset)){_113=_10a.create(this.editor.window);br=doc.createElement("br");_118.appendChild(br);_118.appendChild(doc.createTextNode(" "));_113.setStart(_118.lastChild,0);_111.removeAllRanges();_111.addRange(_113);}else{rs=_112.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;win.withGlobal(this.editor.window,function(){_114=doc.createTextNode(txt.substring(0,_112.startOffset));_115=doc.createTextNode(txt.substring(_112.startOffset));_116=doc.createElement("br");if(_115.nodeValue==""&&has("webkit")){_115=doc.createTextNode(" ");}_105.place(_114,rs,"after");_105.place(_116,_114,"after");_105.place(_115,_116,"after");_105.destroy(rs);_113=_10a.create();_113.setStart(_115,0);_111.removeAllRanges();_111.addRange(_113);});return false;}return true;}}}else{_111=_10a.getSelection(this.editor.window);if(_111.rangeCount){_112=_111.getRangeAt(0);if(_112&&_112.startContainer){if(!_112.collapsed){_112.deleteContents();_111=_10a.getSelection(this.editor.window);_112=_111.getRangeAt(0);}rs=_112.startContainer;if(rs&&rs.nodeType==3){win.withGlobal(this.editor.window,lang.hitch(this,function(){var _119=false;var _11a=_112.startOffset;if(rs.length<_11a){ret=this._adjustNodeAndOffset(rs,_11a);rs=ret.node;_11a=ret.offset;}txt=rs.nodeValue;_114=doc.createTextNode(txt.substring(0,_11a));_115=doc.createTextNode(txt.substring(_11a));_116=doc.createElement("br");if(!_115.length){_115=doc.createTextNode(" ");_119=true;}if(_114.length){_105.place(_114,rs,"after");}else{_114=rs;}_105.place(_116,_114,"after");_105.place(_115,_116,"after");_105.destroy(rs);_113=_10a.create();_113.setStart(_115,0);_113.setEnd(_115,_115.length);_111.removeAllRanges();_111.addRange(_113);if(_119&&!has("webkit")){_10b.remove();}else{_10b.collapse(true);}}));}else{var _11b;if(_112.startOffset>=0){_11b=rs.childNodes[_112.startOffset];}win.withGlobal(this.editor.window,lang.hitch(this,function(){var _11c=doc.createElement("br");var _11d=doc.createTextNode(" ");if(!_11b){rs.appendChild(_11c);rs.appendChild(_11d);}else{_105.place(_11c,_11b,"before");_105.place(_11d,_11c,"after");}_113=_10a.create(win.global);_113.setStart(_11d,0);_113.setEnd(_11d,_11d.length);_111.removeAllRanges();_111.addRange(_113);_10b.collapse(true);}));}}}else{_109.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _11e=true;_111=_10a.getSelection(this.editor.window);_112=_111.getRangeAt(0);if(!_112.collapsed){_112.deleteContents();_111=_10a.getSelection(this.editor.window);_112=_111.getRangeAt(0);}var _11f=_10a.getBlockAncestor(_112.endContainer,null,this.editor.editNode);var _120=_11f.blockNode;if((this._checkListLater=(_120&&(_120.nodeName=="LI"||_120.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_120;}if(/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(_120.innerHTML)){_120.innerHTML="";if(has("webkit")){_113=_10a.create(this.editor.window);_113.setStart(_120,0);_111.removeAllRanges();_111.addRange(_113);}this._checkListLater=false;}return true;}if(!_11f.blockNode||_11f.blockNode===this.editor.editNode){try{_109.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_11f={blockNode:win.withGlobal(this.editor.window,"getAncestorElement",_10b,[this.blockNodeForEnter]),blockContainer:this.editor.editNode};if(_11f.blockNode){if(_11f.blockNode!=this.editor.editNode&&(!(_11f.blockNode.textContent||_11f.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_11f.blockNode);return false;}}else{_11f.blockNode=this.editor.editNode;}_111=_10a.getSelection(this.editor.window);_112=_111.getRangeAt(0);}var _121=doc.createElement(this.blockNodeForEnter);_121.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_11f.blockNode);var _122=_112.endOffset;var node=_112.endContainer;if(node.length<_122){var ret=this._adjustNodeAndOffset(node,_122);node=ret.node;_122=ret.offset;}if(_10a.atEndOfContainer(_11f.blockNode,node,_122)){if(_11f.blockNode===_11f.blockContainer){_11f.blockNode.appendChild(_121);}else{_105.place(_121,_11f.blockNode,"after");}_11e=false;_113=_10a.create(this.editor.window);_113.setStart(_121,0);_111.removeAllRanges();_111.addRange(_113);if(this.editor.height){_107.scrollIntoView(_121);}}else{if(_10a.atBeginningOfContainer(_11f.blockNode,_112.startContainer,_112.startOffset)){_105.place(_121,_11f.blockNode,_11f.blockNode===_11f.blockContainer?"first":"before");if(_121.nextSibling&&this.editor.height){_113=_10a.create(this.editor.window);_113.setStart(_121.nextSibling,0);_111.removeAllRanges();_111.addRange(_113);_107.scrollIntoView(_121.nextSibling);}_11e=false;}else{if(_11f.blockNode===_11f.blockContainer){_11f.blockNode.appendChild(_121);}else{_105.place(_121,_11f.blockNode,"after");}_11e=false;if(_11f.blockNode.style){if(_121.style){if(_11f.blockNode.style.cssText){_121.style.cssText=_11f.blockNode.style.cssText;}}}rs=_112.startContainer;var _123;if(rs&&rs.nodeType==3){var _124,_125;_122=_112.endOffset;if(rs.length<_122){ret=this._adjustNodeAndOffset(rs,_122);rs=ret.node;_122=ret.offset;}txt=rs.nodeValue;_114=doc.createTextNode(txt.substring(0,_122));_115=doc.createTextNode(txt.substring(_122,txt.length));_105.place(_114,rs,"before");_105.place(_115,rs,"after");_105.destroy(rs);var _126=_114.parentNode;while(_126!==_11f.blockNode){var tg=_126.tagName;var _127=doc.createElement(tg);if(_126.style){if(_127.style){if(_126.style.cssText){_127.style.cssText=_126.style.cssText;}}}if(_126.tagName==="FONT"){if(_126.color){_127.color=_126.color;}if(_126.face){_127.face=_126.face;}if(_126.size){_127.size=_126.size;}}_124=_115;while(_124){_125=_124.nextSibling;_127.appendChild(_124);_124=_125;}_105.place(_127,_126,"after");_114=_126;_115=_127;_126=_126.parentNode;}_124=_115;if(_124.nodeType==1||(_124.nodeType==3&&_124.nodeValue)){_121.innerHTML="";}_123=_124;while(_124){_125=_124.nextSibling;_121.appendChild(_124);_124=_125;}}_113=_10a.create(this.editor.window);var _128;var _129=_123;if(this.blockNodeForEnter!=="BR"){while(_129){_128=_129;_125=_129.firstChild;_129=_125;}if(_128&&_128.parentNode){_121=_128.parentNode;_113.setStart(_121,0);_111.removeAllRanges();_111.addRange(_113);if(this.editor.height){_107.scrollIntoView(_121);}if(has("mozilla")){this._pressedEnterInBlock=_11f.blockNode;}}else{_11e=true;}}else{_113.setStart(_121,0);_111.removeAllRanges();_111.addRange(_113);if(this.editor.height){_107.scrollIntoView(_121);}if(has("mozilla")){this._pressedEnterInBlock=_11f.blockNode;}}}}return _11e;},_adjustNodeAndOffset:function(node,_12a){while(node.length<_12a&&node.nextSibling&&node.nextSibling.nodeType==3){_12a=_12a-node.length;node=node.nextSibling;}return {"node":node,"offset":_12a};},removeTrailingBr:function(_12b){var para=/P|DIV|LI/i.test(_12b.tagName)?_12b:_10b.getParentOfType(_12b,["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"){_105.destroy(para.lastChild);}}if(!para.childNodes.length){para.innerHTML=this.bogusHtmlContent;}}});});},"dijit/_MenuBase":function(){define(["./popup","dojo/window","./_Widget","./_KeyNavContainer","./_TemplatedMixin","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/_base/array"],function(pm,_12c,_12d,_12e,_12f,_130,dom,_131,_132,lang,_133){return _130("dijit._MenuBase",[_12d,_12f,_12e],{parentMenu:null,popupDelay:500,onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}else{var _134=this._getTopMenu();if(_134&&_134._isMenuBar){_134.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _135=this.currentPopup.parentMenu;if(_135.focusedChild){_135.focusedChild._setSelected(false);}_135.focusedChild=this.currentPopup.from_item;_135.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=setTimeout(lang.hitch(this,"_openPopup"),this.popupDelay);}}if(this.focusedChild){this.focusChild(item);}this._hoveredChild=item;},_onChildBlur:function(item){this._stopPopupTimer();item._setSelected(false);var _136=item.popup;if(_136){this._stopPendingCloseTimer(_136);_136._pendingClose_timer=setTimeout(function(){_136._pendingClose_timer=null;if(_136.parentMenu){_136.parentMenu.currentPopup=null;}pm.close(_136);},this.popupDelay);}},onItemUnhover:function(item){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==item){this._hoveredChild=null;}},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_stopPendingCloseTimer:function(_137){if(_137._pendingClose_timer){clearTimeout(_137._pendingClose_timer);_137._pendingClose_timer=null;}},_stopFocusTimer:function(){if(this._focus_timer){clearTimeout(this._focus_timer);this._focus_timer=null;}},_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();}else{this.onExecute();item.onClick(evt);}},_openPopup:function(){this._stopPopupTimer();var _138=this.focusedChild;if(!_138){return;}var _139=_138.popup;if(_139.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_139.parentMenu=this;_139.from_item=_138;var self=this;pm.open({parent:this,popup:_139,around:_138.domNode,orient:this._orient||["after","before"],onCancel:function(){self.focusChild(_138);self._cleanUp();_138._setSelected(true);self.focusedChild=_138;},onExecute:lang.hitch(this,"_cleanUp")});this.currentPopup=_139;_139.connect(_139.domNode,"onmouseenter",lang.hitch(self,"_onPopupHover"));if(_139.focus){_139._focus_timer=setTimeout(lang.hitch(_139,function(){this._focus_timer=null;this.focus();}),0);}},_markActive:function(){this.isActive=true;_132.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_132.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(_133.indexOf(this._focusManager.activeStack,this.id)>=0){_131.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.focusedChild._onUnhover();this.focusedChild=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this._hoveredChild._onUnhover();}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/lang","./_base/xhr"],function(dojo,_13a,has,_13b,lang){var _13c=dojo.i18n={},_13d=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_13e=function(root,_13f,_140,_141){for(var _142=[_140+_141],_143=_13f.split("-"),_144="",i=0;i<_143.length;i++){_144+=(_144?"-":"")+_143[i];if(!root||root[_144]){_142.push(_140+_144+"/"+_141);}}return _142;},_145={},_146=dojo.getL10nName=function(_147,_148,_149){_149=_149?_149.toLowerCase():dojo.locale;_147="dojo/i18n!"+_147.replace(/\./g,"/");_148=_148.replace(/\./g,"/");return (/root/i.test(_149))?(_147+"/nls/"+_148):(_147+"/nls/"+_149+"/"+_148);},_14a=function(_14b,_14c,_14d,_14e,_14f,load){_14b([_14c],function(root){var _150=_145[_14c+"/"]=lang.clone(root.root),_151=_13e(!root._v1x&&root,_14f,_14d,_14e);_14b(_151,function(){for(var i=1;i<_151.length;i++){_145[_151[i]]=_150=lang.mixin(lang.clone(_150),arguments[i]);}var _152=_14c+"/"+_14f;_145[_152]=_150;load&&load(lang.delegate(_150));});});},_153=function(id,_154){var _155=_13d.exec(id),_156=_155[1];return /^\./.test(_156)?_154(_156)+"/"+id.substring(_156.length):id;};load=function(id,_157,load){var _158=_13d.exec(id),_159=_158[1]+"/",_15a=_158[5]||_158[4],_15b=_159+_15a,_15c=(_158[5]&&_158[4]),_15d=_15c||dojo.locale,_15e=_15b+"/"+_15d;if(_15c){if(_145[_15e]){load(_145[_15e]);}else{_14a(_157,_15b,_159,_15a,_15d,load);}return;}var _15f=dojo.config.extraLocale||[];_15f=lang.isArray(_15f)?_15f:[_15f];_15f.push(_15d);_13b.forEach(_15f,function(_160){_14a(_157,_15b,_159,_15a,_160,_160==_15d&&load);});};true||has.add("dojo-v1x-i18n-Api",1);if(1){var _161=new Function("bundle","var __preAmdResult, __amdResult; function define(bundle){__amdResult= bundle;} __preAmdResult= eval(bundle); return [__preAmdResult, __amdResult];"),_162=function(url,_163,_164){return _163?(/nls\/[^\/]+\/[^\/]+$/.test(url)?_163:{root:_163,_v1x:1}):_164;},_165=function(deps,_166){var _167=[];dojo.forEach(deps,function(mid){var url=_13a.toUrl(mid+".js");if(_145[url]){_167.push(_145[url]);}else{try{var _168=_13a(mid);if(_168){_167.push(_168);return;}}catch(e){}dojo.xhrGet({url:url,sync:true,load:function(text){var _169=_161(text);_167.push(_145[url]=_162(url,_169[0],_169[1]));},error:function(){_167.push(_145[url]={});}});}});_166.apply(null,_167);};_13c.getLocalization=function(_16a,_16b,_16c){var _16d,_16e=_146(_16a,_16b,_16c).substring(10);load(_16e,(1&&!_13a.isXdUrl(_13a.toUrl(_16e+".js"))?_165:_13a),function(_16f){_16d=_16f;});return _16d;};_13c.normalizeLocale=function(_170){var _171=_170?_170.toLowerCase():dojo.locale;if(_171=="root"){_171="ROOT";}return _171;};}return lang.mixin(_13c,{dynamic:true,normalize:_153,load:load,cache:function(mid,_172){_145[mid]=_172;}});});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_173,_174,_175){var _176=_175._MenuBarItemMixin;return _173("dijit.PopupMenuBarItem",[_174,_176],{});});},"dijit/tree/ForestStoreModel":function(){define("dijit/tree/ForestStoreModel",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","./TreeStoreModel"],function(_177,_178,lang,win,_179){return _178("dijit.tree.ForestStoreModel",_179,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_17a){this.root={store:this,root:true,id:_17a.rootId,label:_17a.rootLabel,children:_17a.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_17b,_17c,_17d){if(_17b===this.root){if(this.root.children){_17c(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_17e){this.root.children=_17e;_17c(_17e);}),onError:_17d});}}else{this.inherited(arguments);}},isItem:function(_17f){return (_17f===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_180){if(_180.identity==this.root.id){var _181=_180.scope?_180.scope:win.global;if(_180.onItem){_180.onItem.call(_181,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,_182,_183){if(_182===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_184,_185,_186,_187,_188){if(_185===this.root){if(!_187){this.onLeaveRoot(_184);}}this.inherited(arguments,[_184,_185===this.root?null:_185,_186===this.root?null:_186,_187,_188]);if(_186===this.root){this.onAddToRoot(_184);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _189=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_18a){this.root.children=_18a;if(_189.length!=_18a.length||_177.some(_189,function(item,idx){return _18a[idx]!=item;})){this.onChildrenChange(this.root,_18a);}})});},onNewItem:function(item,_18b){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_177.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_18c,_18d,_18e){this._requeryTop();this.inherited(arguments);}});});},"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(_18f,_190,dom,_191,_192,_193,_194,_195,_196,keys,_197,_198,_199,_19a,_19b){return _190("dijit.TitlePane",[_199,_198,_197],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_19b.defaultDuration,baseClass:"dijitTitlePane",templateString:_19a,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 _19c=this.hideNode,_19d=this.wipeNode;this._wipeIn=_195.wipeIn({node:_19d,duration:this.duration,beforeBegin:function(){_19c.style.display="";}});this._wipeOut=_195.wipeOut({node:_19d,duration:this.duration,onEnd:function(){_19c.style.display="none";}});},_setOpenAttr:function(open,_19e){_18f.forEach([this._wipeIn,this._wipeOut],function(_19f){if(_19f&&_19f.status()=="playing"){_19f.stop();}});if(_19e){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.arrowNodeInner.innerHTML=open?"-":"+";this.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_1a0){this.focusNode.setAttribute("role",_1a0?"button":"heading");if(_1a0){this.focusNode.setAttribute("aria-controls",this.id+"_pane");_191.set(this.focusNode,"tabIndex",this.tabIndex);}else{_191.remove(this.focusNode,"tabIndex");}this._set("toggleable",_1a0);this._setCss();},_setContentAttr:function(_1a1){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_193.setMarginBox(this.wipeNode,{h:_193.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 _1a2=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_192.replace(node,this._titleBarClass,_1a2||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.charOrCode==keys.ENTER||e.charOrCode==" "){if(this.toggleable){this.toggle();}_194.stop(e);}else{if(e.charOrCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_1a3){_196.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_1a3);}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_1a4,_1a5,_1a6,i18n,win){return _1a5("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(_1a7){this.value=_1a7;this.onChange(_1a7);},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,_1a8){var _1a9=this._createMenuItem();var _1aa=_1a8(item);if(_1aa.html){_1a9.innerHTML=_1aa.label;}else{_1a9.appendChild(win.doc.createTextNode(_1aa.label));}if(_1a9.innerHTML==""){_1a9.innerHTML="&#160;";}this.applyTextDir(_1a9,(_1a9.innerText||_1a9.textContent||""));_1a9.item=item;return _1a9;},createOptions:function(_1ab,_1ac,_1ad){this.previousButton.style.display=(_1ac.start==0)?"none":"";_1a6.set(this.previousButton,"id",this.id+"_prev");_1a4.forEach(_1ab,function(item,i){var _1ae=this._createOption(item,_1ad);_1a6.set(_1ae,"id",this.id+i);this.nextButton.parentNode.insertBefore(_1ae,this.nextButton);},this);var _1af=false;if(_1ab.total&&!_1ab.total.then&&_1ab.total!=-1){if((_1ac.start+_1ac.count)<_1ab.total){_1af=true;}else{if((_1ac.start+_1ac.count)>_1ab.total&&_1ac.count==_1ab.length){_1af=true;}}}else{if(_1ac.count==_1ab.length){_1af=true;}}this.nextButton.style.display=_1af?"":"none";_1a6.set(this.nextButton,"id",this.id+"_next");return this.containerNode.childNodes;},clearResultList:function(){var _1b0=this.containerNode;while(_1b0.childNodes.length>2){_1b0.removeChild(_1b0.childNodes[_1b0.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._getSelectedAttr();}});});},"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\"\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,_popupStateNode\"\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\"\n/></span>\n","dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_1b1,_1b2,_1b3,_1b4){return _1b1("dijit.form.ToggleButton",[_1b3,_1b4],{baseClass:"dijitToggleButton",setChecked:function(_1b5){_1b2.deprecated("setChecked("+_1b5+") is deprecated. Use set('checked',"+_1b5+") instead.","","2.0");this.set("checked",_1b5);}});});},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_1b6,_1b7,keys,_1b8,_1b9){return _1b6("dijit.form.NumberSpinner",[_1b8,_1b9.Mixin],{adjust:function(val,_1ba){var tc=this.constraints,v=isNaN(val),_1bb=!isNaN(tc.max),_1bc=!isNaN(tc.min);if(v&&_1ba!=0){val=(_1ba>0)?_1bc?tc.min:_1bb?tc.max:0:_1bb?this.constraints.max:_1bc?tc.min:0;}var _1bd=val+_1ba;if(v||isNaN(_1bd)){return val;}if(_1bb&&(_1bd>tc.max)){_1bd=tc.max;}if(_1bc&&(_1bd<tc.min)){_1bd=tc.min;}return _1bd;},_onKeyPress:function(e){if((e.charOrCode==keys.HOME||e.charOrCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _1be=this.constraints[(e.charOrCode==keys.HOME?"min":"max")];if(typeof _1be=="number"){this._setValueAttr(_1be,false);}_1b7.stop(e);}}});});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_1bf,_1c0,_1c1,_1c2){return _1bf("dijit.form.Textarea",[_1c2,_1c1],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_1c0.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(_1c3,_1c4,_1c5){return _1c3("dijit.form.DateTextBox",_1c5,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_1c4,_selector:"date",value:new Date("")});});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_1c6,_1c7,keys,_1c8,_1c9,_1ca){return _1c6("dijit.form.ComboButton",_1c9,{templateString:_1ca,_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"]){_1c8.focus(this._popupStateNode);_1c7.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_1c8.focus(this.titleNode);_1c7.stop(evt);}},focus:function(_1cb){if(!this.disabled){_1c8.focus(_1cb=="start"?this.titleNode:this._popupStateNode);}}});});},"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/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html"],function(_1cc,_1cd,_1ce,_1cf,fx,dom,_1d0,_1d1,_1d2,_1d3,_1d4,keys,lang,has,_1d5,_1d6,_1d7,_1d8,_1d9,_1da,_1db,_1dc,_1dd,_1de,_1df){var _1e0=_1ce("dijit.layout._AccordionButton",[_1d9,_1db,_1dc],{templateString:_1df,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 _1e1=this.id.replace(" ","_");_1d0.set(this.titleTextNode,"id",_1e1+"_title");this.focusNode.setAttribute("aria-labelledby",_1d0.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _1d3.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _1e2=this.getParent();_1e2.selectChild(this.contentWidget,true);_1d6.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_1e3){this._set("selected",_1e3);this.focusNode.setAttribute("aria-expanded",_1e3);this.focusNode.setAttribute("aria-selected",_1e3);this.focusNode.setAttribute("tabIndex",_1e3?"0":"-1");}});var _1e4=_1ce("dijit.layout._AccordionInnerContainer",[_1d9,_1dc],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_1d2.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _1e5=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_1e5._buttonWidget=(new cls({contentWidget:_1e5,label:_1e5.title,title:_1e5.tooltip,dir:_1e5.dir,lang:_1e5.lang,textDir:_1e5.textDir,iconClass:_1e5.iconClass,id:_1e5.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_1d2.place("<div class='dijitAccordionChildWrapper' style='display:none'>",this.domNode);_1d2.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _1e6=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_1e7,_1e8){_1e6.set("label",_1e8);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_1e9,_1ea){_1e6.set("title",_1ea);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_1eb,_1ec){_1e6.set("iconClass",_1ec);}))];},_setSelectedAttr:function(_1ed){this._set("selected",_1ed);this.button.set("selected",_1ed);if(_1ed){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_1cd.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_1ee){this.contentWidget.destroyRecursive(_1ee);}});var _1ef=_1ce("dijit.layout.AccordionContainer",_1dd,{duration:_1d7.defaultDuration,buttonWidget:_1e0,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){var _1f0=this.selectedChildWidget.containerNode.style;_1f0.display="";_1f0.overflow="auto";this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _1f1=this.selectedChildWidget;if(!_1f1){return;}var _1f2=_1f1._wrapperWidget.domNode,_1f3=_1d3.getMarginExtents(_1f2),_1f4=_1d3.getPadBorderExtents(_1f2),_1f5=_1f1._wrapperWidget.containerNode,_1f6=_1d3.getMarginExtents(_1f5),_1f7=_1d3.getPadBorderExtents(_1f5),_1f8=this._contentBox;var _1f9=0;_1cd.forEach(this.getChildren(),function(_1fa){if(_1fa!=_1f1){_1f9+=_1d3.getMarginSize(_1fa._wrapperWidget.domNode).h;}});this._verticalSpace=_1f8.h-_1f9-_1f3.h-_1f4.h-_1f6.h-_1f7.h-_1f1._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_1f3.w-_1f4.w-_1f6.w-_1f7.w};if(_1f1){_1f1.resize(this._containerContentBox);}},_setupChild:function(_1fb){_1fb._wrapperWidget=_1e4({contentWidget:_1fb,buttonWidget:this.buttonWidget,id:_1fb.id+"_wrapper",dir:_1fb.dir,lang:_1fb.lang,textDir:_1fb.textDir,parent:this});this.inherited(arguments);},addChild:function(_1fc,_1fd){if(this._started){var _1fe=this.containerNode;if(_1fd&&typeof _1fd=="number"){var _1ff=_1d9.prototype.getChildren.call(this);if(_1ff&&_1ff.length>=_1fd){_1fe=_1ff[_1fd-1].domNode;_1fd="after";}}_1d2.place(_1fc.domNode,_1fe,_1fd);if(!_1fc._started){_1fc.startup();}this._setupChild(_1fc);_1d5.publish(this.id+"-addChild",_1fc,_1fd);this.layout();if(!this.selectedChildWidget){this.selectChild(_1fc);}}else{this.inherited(arguments);}},removeChild:function(_200){if(_200._wrapperWidget){_1d2.place(_200.domNode,_200._wrapperWidget.domNode,"after");_200._wrapperWidget.destroy();delete _200._wrapperWidget;}_1d1.remove(_200.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _1cd.map(this.inherited(arguments),function(_201){return _201.declaredClass=="dijit.layout._AccordionInnerContainer"?_201.contentWidget:_201;},this);},destroy:function(){if(this._animation){this._animation.stop();}_1cd.forEach(this.getChildren(),function(_202){if(_202._wrapperWidget){_202._wrapperWidget.destroy();}else{_202.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_203){_203._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_204){_204._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_205,_206,_207){if(has("ie")<8){_207=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_205){_205._wrapperWidget.set("selected",true);var d=this._showChild(_205);if(this.doLayout&&_205.resize){_205.resize(this._containerContentBox);}}if(_206){_206._wrapperWidget.set("selected",false);if(!_207){this._hideChild(_206);}}if(_207){var _208=_205._wrapperWidget.containerNode,_209=_206._wrapperWidget.containerNode;var _20a=_205._wrapperWidget.containerNode,_20b=_1d3.getMarginExtents(_20a),_20c=_1d3.getPadBorderExtents(_20a),_20d=_20b.h+_20c.h;_209.style.height=(self._verticalSpace-_20d)+"px";this._animation=new fx.Animation({node:_208,duration:this.duration,curve:[1,this._verticalSpace-_20d-1],onAnimate:function(_20e){_20e=Math.floor(_20e);_208.style.height=_20e+"px";_209.style.height=(self._verticalSpace-_20d-_20e)+"px";},onEnd:function(){delete self._animation;_208.style.height="auto";_206._wrapperWidget.containerNode.style.display="none";_209.style.height="auto";self._hideChild(_206);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_20f){if(this.disabled||e.altKey||!(_20f||e.ctrlKey)){return;}var c=e.charOrCode;if((_20f&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_1cf.stop(e);}else{if((_20f&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_1cf.stop(e);}}}});if(!_1d4.isAsync){_1d8(0,function(){var _210=["dijit/layout/AccordionPane"];_1cc(_210);});}_1ef._InnerContainer=_1e4;_1ef._Button=_1e0;return _1ef;});},"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/_base/sniff","dojo/_base/window","../registry","../_WidgetBase","./_LayoutWidget"],function(_211,_212,_213,dom,_214,_215,_216,_217,_218,_219,lang,on,has,win,_21a,_21b,_21c){lang.extend(_21b,{sizeMin:10,sizeShare:10});return _213("dijit.layout.SplitContainer",_21c,{constructor:function(){_219.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 _21d=win.doc.createElement("div");this.virtualSizer=_21d;_21d.style.position="relative";_21d.style.zIndex=10;_21d.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_21d);dom.setSelectable(_21d,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;}_211.forEach(this.getChildren(),function(_21e,i,_21f){this._setupChild(_21e);if(i<_21f.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_220){this.inherited(arguments);_220.domNode.style.position="absolute";_214.add(_220.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(_221){_221=_221===undefined?this.sizers.length:_221;var _222=win.doc.createElement("div");_222.id=_21a.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_221,0,_222);this.domNode.appendChild(_222);_222.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _223=win.doc.createElement("div");_223.className="thumb";_222.appendChild(_223);this.connect(_222,"onmousedown","_onSizerMouseDown");dom.setSelectable(_222,false);},removeChild:function(_224){if(this.sizers.length){var i=_211.indexOf(this.getChildren(),_224);if(i!=-1){if(i==this.sizers.length){i--;}_215.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_225,_226){this.inherited(arguments);if(this._started){var _227=this.getChildren();if(_227.length>1){this._addSizer(_226);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _228=this.getChildren();if(!_228.length){return;}var _229=this.isHorizontal?this.paneWidth:this.paneHeight;if(_228.length>1){_229-=this.sizerWidth*(_228.length-1);}var _22a=0;_211.forEach(_228,function(_22b){_22a+=_22b.sizeShare;});var _22c=_229/_22a;var _22d=0;_211.forEach(_228.slice(0,_228.length-1),function(_22e){var size=Math.round(_22c*_22e.sizeShare);_22e.sizeActual=size;_22d+=size;});_228[_228.length-1].sizeActual=_229-_22d;this._checkSizes();var pos=0;var size=_228[0].sizeActual;this._movePanel(_228[0],pos,size);_228[0].position=pos;pos+=size;if(!this.sizers){return;}_211.some(_228.slice(1),function(_22f,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_22f.sizeActual;this._movePanel(_22f,pos,size);_22f.position=pos;pos+=size;},this);},_movePanel:function(_230,pos,size){var box;if(this.isHorizontal){_230.domNode.style.left=pos+"px";_230.domNode.style.top=0;box={w:size,h:this.paneHeight};if(_230.resize){_230.resize(box);}else{_216.setMarginBox(_230.domNode,box);}}else{_230.domNode.style.left=0;_230.domNode.style.top=pos+"px";box={w:this.paneWidth,h:size};if(_230.resize){_230.resize(box);}else{_216.setMarginBox(_230.domNode,box);}}},_moveSlider:function(_231,pos,size){if(this.isHorizontal){_231.style.left=pos+"px";_231.style.top=0;_216.setMarginBox(_231,{w:size,h:this.paneHeight});}else{_231.style.left=0;_231.style.top=pos+"px";_216.setMarginBox(_231,{w:this.paneWidth,h:size});}},_growPane:function(_232,pane){if(_232>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_232){pane.sizeActual=pane.sizeActual-_232;_232=0;}else{_232-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _232;},_checkSizes:function(){var _233=0;var _234=0;var _235=this.getChildren();_211.forEach(_235,function(_236){_234+=_236.sizeActual;_233+=_236.sizeMin;});if(_233<=_234){var _237=0;_211.forEach(_235,function(_238){if(_238.sizeActual<_238.sizeMin){_237+=_238.sizeMin-_238.sizeActual;_238.sizeActual=_238.sizeMin;}});if(_237>0){var list=this.isDraggingLeft?_235.reverse():_235;_211.forEach(list,function(_239){_237=this._growPane(_237,_239);},this);}}else{_211.forEach(_235,function(_23a){_23a.sizeActual=Math.round(_234*(_23a.sizeMin/_233));});}},beginSizing:function(e,i){var _23b=this.getChildren();this.paneBefore=_23b[i];this.paneAfter=_23b[i+1];this.isSizing=true;this.sizingSplitter=this.sizers[i];if(!this.cover){this.cover=_215.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.originPos=_216.position(_23b[0].domNode,true);var _23c,_23d;if(this.isHorizontal){_23c=e.layerX||e.offsetX||0;_23d=e.pageX;this.originPos=this.originPos.x;}else{_23c=e.layerY||e.offsetY||0;_23d=e.pageY;this.originPos=this.originPos.y;}this.startPoint=this.lastPoint=_23d;this.screenToClientOffset=_23d-_23c;this.dragOffset=this.lastPoint-this.paneBefore.sizeActual-this.originPos-this.paneBefore.position;if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[on(win.doc.documentElement,"mousemove",lang.hitch(this,"changeSizing")),on(win.doc.documentElement,"mouseup",lang.hitch(this,"endSizing"))];_218.stop(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;this.movePoint();if(this.activeSizing){this._updateSize();}else{this._moveSizingLine();}_218.stop(e);},endSizing:function(){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}this._updateSize();this.isSizing=false;if(this.persist){this._saveState(this);}var h;while(h=this._ownconnects.pop()){h.remove();}},movePoint:function(){var p=this.lastPoint-this.screenToClientOffset;var a=p-this.dragOffset;a=this.legaliseSplitPoint(a);p=a+this.dragOffset;this.lastPoint=p+this.screenToClientOffset;},legaliseSplitPoint:function(a){a+=this.sizingSplitter.position;this.isDraggingLeft=!!(a>0);if(!this.activeSizing){var min=this.paneBefore.position+this.paneBefore.sizeMin;if(a<min){a=min;}var max=this.paneAfter.position+(this.paneAfter.sizeActual-(this.sizerWidth+this.paneAfter.sizeMin));if(a>max){a=max;}}a-=this.sizingSplitter.position;this._checkSizes();return a;},_updateSize:function(){var pos=this.lastPoint-this.dragOffset-this.originPos;var _23e=this.paneBefore.position;var _23f=this.paneAfter.position+this.paneAfter.sizeActual;this.paneBefore.sizeActual=pos-_23e;this.paneAfter.position=pos+this.sizerWidth;this.paneAfter.sizeActual=_23f-this.paneAfter.position;_211.forEach(this.getChildren(),function(_240){_240.sizeShare=_240.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine();_216.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(){var pos=(this.lastPoint-this.startPoint)+this.sizingSplitter.position;_217.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_211.forEach(this.getChildren(),function(_241,i){var _242=this._getCookieName(i);var _243=_212(_242);if(_243){var pos=parseInt(_243);if(typeof pos=="number"){_241.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_211.forEach(this.getChildren(),function(_244,i){_212(this._getCookieName(i),_244.sizeShare,{expires:365});},this);}});});},"url:dijit/templates/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\">\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\">\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\">\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' 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>\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/_base/connect","dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/_base/sniff","dojo/string","dojo/_base/window","./DataList","../registry","./_TextBoxMixin"],function(_245,_246,_247,_248,_249,_24a,keys,lang,_24b,_24c,has,_24d,win,_24e,_24f,_250){return _247("dijit.form._AutoCompleterMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_251){var pos=0;if(typeof (_251.selectionStart)=="number"){pos=_251.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_251.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(_252,_253){_253=parseInt(_253);_250.selectInputText(_252,_253,_253);},_setDisabledAttr:function(_254){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_254);},_abortQuery:function(){if(this.searchTimer){clearTimeout(this.searchTimer);this.searchTimer=null;}if(this._fetchHandle){if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_onInput:function(evt){this.inherited(arguments);if(evt.charOrCode==229){this._onKey(evt);}},_onKey:function(evt){var key=evt.charOrCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT){return;}var _255=false;var pw=this.dropDown;var _256=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_256=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(_256);}_24a.stop(evt);break;case keys.ENTER:if(_256){if(_256==pw.nextButton){this._nextSearch(1);_24a.stop(evt);break;}else{if(_256==pw.previousButton){this._nextSearch(-1);_24a.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_24a.stop(evt);}case keys.TAB:var _257=this.get("displayedValue");if(pw&&(_257==pw._messages["previousMessage"]||_257==pw._messages["nextMessage"])){break;}if(_256){this._selectOption(_256);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_256){_24a.stop(evt);this._selectOption(_256);this.closeDropDown();}else{_255=true;}break;case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;_255=true;break;default:_255=typeof key=="string"||key==229;}if(_255){this.item=undefined;this.searchTimer=setTimeout(lang.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;_250.selectInputText(fn,fn.value.length);var _258=this.ignoreCase?"toLowerCase":"substr";if(text[_258](0).indexOf(this.focusNode.value[_258](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_250.selectInputText(fn,cpos);}}else{fn.value=text;_250.selectInputText(fn);}},_openResultList:function(_259,_25a,_25b){this._fetchHandle=null;if(this.disabled||this.readOnly||(_25a[this.searchAttr]!==this._lastQuery)){return;}var _25c=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_259.length&&_25b.start==0){this.closeDropDown();return;}var _25d=this.dropDown.createOptions(_259,_25b,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_25b.direction){if(1==_25b.direction){this.dropDown.highlightFirstOption();}else{if(-1==_25b.direction){this.dropDown.highlightLastOption();}}if(_25c){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_25a[this.searchAttr].toString())){this._announceOption(_25d[1]);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _25e=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_25e==pw._messages["previousMessage"]||_25e==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_25e);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_25f,_260){var _261="";if(item){if(!_260){_260=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_261=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_260;}this.set("value",_261,_25f,_260,item);},_announceOption:function(node){if(!node){return;}var _262;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_262=node.innerHTML;this.item=undefined;this.value="";}else{_262=(this.store._oldAPI?this.store.getValue(node.item,this.searchAttr):node.item[this.searchAttr]).toString();this.set("item",node.item,false,_262);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_249.get(node,"id"));this._autoCompleteText(_262);},_selectOption:function(_263){this.closeDropDown();if(_263){this._announceOption(_263);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_getQueryString:function(text){return _24d.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _264=this.id+"_popup",_265=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _265({onChange:lang.hitch(this,this._selectOption),id:_264,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_264);}this._lastInput=key;var _266=lang.clone(this.query);var _267={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_267,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_246.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_266[this.searchAttr]=q;var _268=this,_269=function(){var _26a=_268._fetchHandle=_268.store.query(_266,_267);_248.when(_26a,function(res){_268._fetchHandle=null;res.total=_26a.total;_268._openResultList(res,_266,_267);},function(err){_268._fetchHandle=null;if(!_268._cancelingQuery){console.error(_268.declaredClass+" "+err.toString());_268.closeDropDown();}});};this.searchTimer=setTimeout(lang.hitch(this,function(_26b,_26c){this.searchTimer=null;_269();this._nextSearch=this.dropDown.onPage=function(_26d){_267.start+=_267.count*_26d;_267.direction=_26d;_269();_26c.focus();};},_266,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _26e=this.srcNodeRef;var list=this.list;if(list){this.store=_24f.byId(list);}else{this.store=new _24e({},_26e);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _26f=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_26f):item[_26f];}}}this.inherited(arguments);},postCreate:function(){var _270=_24b("label[for=\""+this.id+"\"]");if(_270.length){_270[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_270[0].id);}this.inherited(arguments);},_getMenuLabelFromItem:function(item){var _271=this.labelFunc(item,this.store),_272=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_271=this.doHighlight(_271,this._escapeHtml(this._lastInput));_272="html";}return {html:_272=="html",label:_271};},doHighlight:function(_273,find){var _274=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_24c.escapeString(find);return this._escapeHtml(_273).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_274),"<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,_275){return (_275._oldAPI?_275.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_276,_277,_278,item){this._set("item",item||null);if(!_276){_276="";}this.inherited(arguments);},_setTextDirAttr:function(_279){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_279);}}});});},"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\">\n\t<table dojoAttachPoint=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"grid\">\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\">\n\t<div role=\"presentation\" class=\"dijitTabInnerDiv\" data-dojo-attach-point=\"innerDiv,focusNode\">\n\t\t<div role=\"presentation\" class=\"dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"tabContent\">\n\t\t\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n\t\t</div>\n\t</div>\n</div>","dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_27a,_27b,_27c){return _27a("dijit.form.MappedTextBox",_27c,{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=_27b.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(_27d,_27e,_27f,lang,_280,_281,_282,_283,_284){return _27d("dijit.form.ComboBoxMixin",[_283,_281],{dropDownClass:_282,hasDownArrow:true,templateString:_284,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(_285){if(!_285.get){lang.mixin(_285,{_oldAPI:true,get:function(id){var _286=new _27e();this.fetchItemByIdentity({identity:id,onItem:function(_287){_286.resolve(_287);},onError:function(_288){_286.reject(_288);}});return _286.promise;},query:function(_289,_28a){var _28b=new _27e(function(){_28c.abort&&_28c.abort();});var _28c=this.fetch(lang.mixin({query:_289,onBegin:function(_28d){_28b.total=_28d;},onComplete:function(_28e){_28b.resolve(_28e);},onError:function(_28f){_28b.reject(_28f);}},_28a));return _280(_28b);}});}this._set("store",_285);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _290=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_27f.deprecated(_290+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_27f.deprecated(_290+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return item.name;},fetch:function(args){_27f.deprecated(_290+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_291){new _291({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_292,_293,dom,_294,keys,lang,_295){var _296=_293("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(_297,_298,_299){var _29a;if(_297!==undefined){_29a=this.filter(_297);if(typeof _299!="string"){if(_29a!==null&&((typeof _29a!="number")||!isNaN(_29a))){_299=this.filter(this.format(_29a,this.constraints));}else{_299="";}}}if(_299!=null&&_299!=undefined&&((typeof _299)!="number"||!isNaN(_299))&&this.textbox.value!=_299){this.textbox.value=_299;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_299);}this.inherited(arguments,[_29a,_298]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_29b){if(_29b===null||_29b===undefined){_29b="";}else{if(typeof _29b!="string"){_29b=String(_29b);}}this.textbox.value=_29b;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_29b);}},format:function(_29c){return ((_29c==null||_29c==undefined)?"":(_29c.toString?_29c.toString():_29c));},parse:function(_29d){return _29d;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _29e=function(e){var _29f=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_29f){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_29f>=65&&_29f<=90){return;}}}if(e.type=="keypress"&&typeof _29f!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_29f,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_294.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_292.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput"],function(_2a0){this.connect(this.textbox,_2a0,_29e);},this);},_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);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}},_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);if(this._isTextSelected()){_296.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_2a1){if(!this._created||this.textDir!=_2a1){this._set("textDir",_2a1);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_296._setSelectionRange=_295._setSelectionRange=function(_2a2,_2a3,stop){if(_2a2.setSelectionRange){_2a2.setSelectionRange(_2a3,stop);}};_296.selectInputText=_295.selectInputText=function(_2a4,_2a5,stop){_2a4=dom.byId(_2a4);if(isNaN(_2a5)){_2a5=0;}if(isNaN(stop)){stop=_2a4.value?_2a4.value.length:0;}try{_2a4.focus();_296._setSelectionRange(_2a4,_2a5,stop);}catch(e){}};return _296;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_2a6,_2a7,has,win,_2a8){return _2a6("dijit.form.SimpleTextarea",_2a8,{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){_2a7.add(this.textbox,"dijitTextAreaCols");}},filter:function(_2a9){if(_2a9){_2a9=_2a9.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _2aa=parseInt(this.maxLength);var _2ab=this.textbox.value.replace(/\r/g,"");var _2ac=_2ab.length-_2aa;if(_2ac>0){var _2ad=this.textbox;if(_2ad.selectionStart){var pos=_2ad.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_2ab.substring(0,pos-_2ac-cr)+_2ab.substring(pos-cr);_2ad.setSelectionRange(pos-_2ac,pos-_2ac);}else{if(win.doc.selection){_2ad.focus();var _2ae=win.doc.selection.createRange();_2ae.moveStart("character",-_2ac);_2ae.text="";_2ae.select();}}}}this.inherited(arguments);}});});},"url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode\" data-dojo-attach-event='onclick:onClick'>\n    <div role=\"presentation\" class='dijitTabInnerDiv' data-dojo-attach-point='innerDiv'>\n        <div role=\"presentation\" class='dijitTabContent' data-dojo-attach-point='tabContent'>\n        \t<div role=\"presentation\" data-dojo-attach-point='focusNode'>\n\t\t        <img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" data-dojo-attach-point='iconNode' />\n\t\t        <span data-dojo-attach-point='containerNode' class='tabLabel'></span>\n\t\t        <span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t        \t\tdata-dojo-attach-event='onclick: onClickCloseButton' role=\"presentation\">\n\t\t            <span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t        ></span>\n\t\t\t</div>\n        </div>\n    </div>\n</div>\n","dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/query","dojo/_base/window","./registry","./MenuItem","./hccss"],function(_2af,_2b0,_2b1,win,_2b2,_2b3){return _2af("dijit.PopupMenuItem",_2b3,{_fillContent:function(){if(this.srcNodeRef){var _2b4=_2b1("*",this.srcNodeRef);this.inherited(arguments,[_2b4[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_2b1("[widgetId]",this.dropDownContainer)[0];this.popup=_2b2.byNode(node);}win.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_2b0.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_2b5){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_2b5);}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/_base/sniff","dojo/query","dijit/typematic","./_Widget","./_TemplatedMixin","./form/_FormValueWidget","dojo/text!./templates/TimePicker.html"],function(_2b6,_2b7,_2b8,_2b9,_2ba,_2bb,_2bc,_2bd,_2be,keys,lang,has,_2bf,_2c0,_2c1,_2c2,_2c3,_2c4){return _2ba("dijit._TimePicker",[_2c1,_2c2],{templateString:_2c4,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:_2b9.toISOString,setValue:function(_2c5){_2be.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_2c5);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_2c6,_2c7,_2c8,_2c9){var _2ca=[],_2cb=_2c9?_2c9.date:this._refDate,n,i=_2c6,max=this._maxIncrement+Math.abs(i),chk=_2c8?-1:1,dec=_2c8?1:0,inc=1-dec;do{i=i-dec;n=this._createOption(i);if(n){if((_2c8&&n.date>_2cb)||(!_2c8&&n.date<_2cb)){break;}_2ca[_2c8?"unshift":"push"](n);_2cb=n.date;}i=i+inc;}while(_2ca.length<_2c7&&(i*chk)<max);return _2ca;},_showText:function(){var _2cc=_2b9.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_2cc(this.clickableIncrement);this._visibleIncrementDate=_2cc(this.visibleIncrement);this._visibleRangeDate=_2cc(this.visibleRange);var _2cd=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_2ce=_2cd(this._clickableIncrementDate),_2cf=_2cd(this._visibleIncrementDate),_2d0=_2cd(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_2cf*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_2d0/_2ce;this._visibleIncrement=_2cf/_2ce;this._maxIncrement=(60*60*24)/_2ce;var _2d1=this._getFilteredNodes(0,Math.min(this._totalIncrements>>1,10)-1),_2d2=this._getFilteredNodes(0,Math.min(this._totalIncrements,10)-_2d1.length,true,_2d1[0]);_2b6.forEach(_2d2.concat(_2d1),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_2d3){lang.mixin(this,_2d3);if(!_2d3.locale){_2d3.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("ie")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_2c0.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_2c0.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_2bb.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_2d4){var date=new Date(this._refDate);var _2d5=this._clickableIncrementDate;date.setHours(date.getHours()+_2d5.getHours()*_2d4,date.getMinutes()+_2d5.getMinutes()*_2d4,date.getSeconds()+_2d5.getSeconds()*_2d4);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _2d6=_2b8.format(date,this.constraints);if(this.filterString&&_2d6.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_2bc.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_2d4;_2bc.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_2d6},div);if(_2d4%this._visibleIncrement<1&&_2d4%this._visibleIncrement>-1){_2bb.add(div,this.baseClass+"Marker");}else{if(!(_2d4%this._clickableIncrement)){_2bb.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_2bb.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_2b7.compare(this.value,date,this.constraints.selector)){div.selected=true;_2bb.add(div,this.baseClass+"ItemSelected");if(_2bb.contains(div,this.baseClass+"Marker")){_2bb.add(div,this.baseClass+"MarkerSelected");}else{_2bb.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _2d7=tgt.target.date||tgt.target.parentNode.date;if(!_2d7||this.isDisabledDate(_2d7)){return;}this._highlighted_option=null;this.set("value",_2d7);this.onChange(_2d7);},onChange:function(){},_highlightOption:function(node,_2d8){if(!node){return;}if(_2d8){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;}}_2bb.toggle(node,this.baseClass+"ItemHover",_2d8);if(_2bb.contains(node,this.baseClass+"Marker")){_2bb.toggle(node,this.baseClass+"MarkerHover",_2d8);}else{_2bb.toggle(node,this.baseClass+"TickHover",_2d8);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_2bb.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;_2bd.stop(e);var _2d9=(has("ie")?e.wheelDelta:-e.detail);this[(_2d9>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_2da){if(typeof _2da=="number"&&_2da==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _2db=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_2db,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(_2dc){if(typeof _2dc=="number"&&_2dc==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _2dd=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_2dd,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.charOrCode==keys.DOWN_ARROW||e.charOrCode==keys.UP_ARROW){_2bd.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _2de=this.timeMenu,tgt=this._highlighted_option||_2bf("."+this.baseClass+"ItemSelected",_2de)[0];if(!tgt){tgt=_2de.childNodes[0];}else{if(_2de.childNodes.length){if(e.charOrCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.charOrCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.charOrCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.charOrCode==keys.ENTER||e.charOrCode===keys.TAB){if(!this._keyboardSelected&&e.charOrCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.charOrCode===keys.TAB;}}}});});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_2df,_2e0,_2e1){return _2df("dijit.form.RadioButton",[_2e0,_2e1],{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\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\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></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(["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/_base/sniff","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_2e2,_2e3,_2e4,_2e5,_2e6,_2e7,_2e8,i18n,_2e9,keys,lang,has,fm,_2ea,_2eb,_2ec,_2ed,_2ee,_2ef,_2f0,_2f1){var _2f2=_2e3("dijit._InlineEditor",[_2ea,_2eb,_2ec],{templateString:_2f1,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_2e2.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):this.editor;var _2f3=this.sourceStyle,_2f4="line-height:"+_2f3.lineHeight+";",_2f5=_2e7.getComputedStyle(this.domNode);_2e2.forEach(["Weight","Family","Size","Style"],function(prop){var _2f6=_2f3["font"+prop],_2f7=_2f5["font"+prop];if(_2f7!=_2f6){_2f4+="font-"+prop+":"+_2f3["font"+prop]+";";}},this);_2e2.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_2f3[prop];},this);var _2f8=this.inlineEditBox.width;if(_2f8=="100%"){_2f4+="width:100%;";this.domNode.style.display="block";}else{_2f4+="width:"+(_2f8+(Number(_2f8)==_2f8?"px":""))+";";}var _2f9=lang.delegate(this.inlineEditBox.editorParams,{style:_2f4,dir:this.dir,lang:this.lang,textDir:this.textDir});_2f9["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new cls(_2f9,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_2e6.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);}}},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get("displayedValue" in ew?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_2e8.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_2e8.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();setTimeout(lang.hitch(this,function(){if(this.editWidget.focusNode&&this.editWidget.focusNode.tagName=="INPUT"){_2ef.selectInputText(this.editWidget.focusNode);}}),0);}});var _2fa=_2e3("dijit.InlineEditBox",_2ea,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_2f0,editorWrapper:_2f2,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 _2fb={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _2fb){this.connect(this.displayNode,name,_2fb[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;}_2e5.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_2fc){_2e9.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_2fc);},_setDisabledAttr:function(_2fd){this.domNode.setAttribute("aria-disabled",_2fd);if(_2fd){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_2e5.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_2fd);this._set("disabled",_2fd);},_onMouseOver:function(){if(!this.disabled){_2e5.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_2e5.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_2e8.stop(e);}this._onMouseOut();setTimeout(lang.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedPosition=_2e7.get(this.displayNode,"position")||"static";this._savedOpacity=_2e7.get(this.displayNode,"opacity")||"1";this._savedTabIndex=_2e4.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _2fe=_2e6.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:_2e7.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_2fe);if(!this._started){this.startup();}}var ww=this.wrapperWidget;_2e7.set(this.displayNode,{position:"absolute",opacity:"0"});_2e7.set(ww.domNode,{position:this._savedPosition,visibility:"visible",opacity:"1"});_2e4.set(this.displayNode,"tabIndex","-1");setTimeout(lang.hitch(ww,function(){this.focus();this._resetValue=this.getValue();}),0);},_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(_2ff){var ww=this.wrapperWidget;_2e7.set(ww.domNode,{position:"absolute",visibility:"hidden",opacity:"0"});_2e7.set(this.displayNode,{position:this._savedPosition,opacity:this._savedOpacity});_2e4.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_2ff){fm.focus(this.displayNode);}},save:function(_300){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _301=ww.getValue();this.set("value",_301);this._showText(_300);},setValue:function(val){_2e9.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 _302=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_302||this.noValueIndicator;this._set("value",val);if(this._started){setTimeout(lang.hitch(this,"onChange",val),0);}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_2e9.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_303){if(this.disabled||!this.editing){return;}this._set("editing",false);setTimeout(lang.hitch(this,"onCancel"),0);this._showText(_303);},_setTextDirAttr:function(_304){if(!this._created||this.textDir!=_304){this._set("textDir",_304);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_2fa._InlineEditor=_2f2;return _2fa;});},"dojo/dnd/autoscroll":function(){define(["../main","../window"],function(dojo){dojo.getObject("dnd",true,dojo);dojo.dnd.getViewport=dojo.window.getBox;dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.window.getBox(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_305,_306;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n),_307=(s.overflow.toLowerCase() in dojo.dnd._validOverflow),_308=(s.overflowX.toLowerCase() in dojo.dnd._validOverflow),_309=(s.overflowY.toLowerCase() in dojo.dnd._validOverflow);if(_307||_308||_309){b=dojo._getContentBox(n,s);t=dojo.position(n,true);}if(_307||_308){w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(dojo.isWebKit||dojo.isOpera){rx+=dojo.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_305=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_307||_309){h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(dojo.isWebKit||dojo.isOpera){ry+=dojo.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_306=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};return dojo.dnd;});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","dojo/_base/window","../registry"],function(_30a,_30b,_30c,_30d,lang,_30e,win,_30f){return _30b("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_30e("input[type=radio]",this.focusNode.form||win.doc).forEach(lang.hitch(this,function(_310){if(_310.name==this.name&&_310.form==this.focusNode.form){var _311=_30f.getEnclosingWidget(_310);if(_311){ary.push(_311);}}}));return ary;},_setCheckedAttr:function(_312){this.inherited(arguments);if(!this._created){return;}if(_312){_30a.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_313){if(_313!=this&&_313.checked){_313.set("checked",false);}}));}},_onClick:function(e){if(this.checked||this.disabled){_30d.stop(e);return false;}if(this.readOnly){_30d.stop(e);_30a.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_314){_30c.set(this.focusNode||this.domNode,"checked",_314.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\" role=\"presentation\" data-dojo-attach-event=\"onmouseenter:_onMouseEnter, onmouseleave:_onMouseLeave, onclick:_onClick, ondblclick:_onDblClick\"\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\" tabindex=\"-1\" aria-selected=\"false\" data-dojo-attach-event=\"onfocus:_onLabelFocus\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\" style=\"display: none;\"></div>\n</div>\n","dojo/dnd/TimedMoveable":function(){define(["../main","./Moveable"],function(dojo){var _315=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_316){if(!_316){_316={};}if(_316.timeout&&typeof _316.timeout=="number"&&_316.timeout>=0){this.timeout=_316.timeout;}},onMoveStop:function(_317){if(_317._timer){clearTimeout(_317._timer);_315.call(this,_317,_317._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_318,_319){_318._leftTop=_319;if(!_318._timer){var _31a=this;_318._timer=setTimeout(function(){_318._timer=null;_315.call(_31a,_318,_318._leftTop);},this.timeout);}}});return dojo.dnd.TimedMoveable;});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_31b,_31c,_31d){return _31d("dijit.layout.LinkPane",[_31b,_31c],{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/_base/event","dojo/touch","./_ListBase"],function(_31e,_31f,_320,_321){return _31e("dijit.form._ListMouseMixin",_321,{postCreate:function(){this.inherited(arguments);this.connect(this.domNode,_320.press,"_onMouseDown");this.connect(this.domNode,_320.release,"_onMouseUp");this.connect(this.domNode,"onmouseover","_onMouseOver");this.connect(this.domNode,"onmouseout","_onMouseOut");},_onMouseDown:function(evt){_31f.stop(evt);if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(this._getTarget(evt));},_onMouseUp:function(evt){_31f.stop(evt);this._isDragging=false;var _322=this._getSelectedAttr();var _323=this._getTarget(evt);var _324=this._hoveredNode;if(_322&&_323==_322){this.onClick(_322);}else{if(_324&&_323==_324){this._setSelectedAttr(_324);this.onClick(_324);}}},_onMouseOut:function(){if(this._hoveredNode){this.onUnhover(this._hoveredNode);if(this._getSelectedAttr()==this._hoveredNode){this.onSelect(this._hoveredNode);}this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}var node=this._getTarget(evt);if(!node){return;}if(this._hoveredNode!=node){if(this._hoveredNode){this._onMouseOut({target:this._hoveredNode});}if(node&&node.parentNode==this.containerNode){if(this._isDragging){this._setSelectedAttr(node);}else{this._hoveredNode=node;this.onHover(node);}}}}});});},"url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\"\n\tdata-dojo-attach-event=\"onkeypress:_onKeyPress\">\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(["../main"],function(dojo){dojo.getObject("cldr.monetary",true,dojo);dojo.cldr.monetary.getData=function(code){var _325={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 _326={CHF:5};var _327=_325[code],_328=_326[code];if(typeof _327=="undefined"){_327=2;}if(typeof _328=="undefined"){_328=0;}return {places:_327,round:_328};};return dojo.cldr.monetary;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_329){dojo.cookie=function(name,_32a,_32b){var c=document.cookie,ret;if(arguments.length==1){var _32c=c.match(new RegExp("(?:^|; )"+_329.escapeString(name)+"=([^;]*)"));ret=_32c?decodeURIComponent(_32c[1]):undefined;}else{_32b=_32b||{};var exp=_32b.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_32b.expires=d;}if(exp&&exp.toUTCString){_32b.expires=exp.toUTCString();}_32a=encodeURIComponent(_32a);var _32d=name+"="+_32a,_32e;for(_32e in _32b){_32d+="; "+_32e;var _32f=_32b[_32e];if(_32f!==true){_32d+="="+_32f;}}document.cookie=_32d;}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\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\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\" aria-haspopup=\"true\"\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(_330,_331,_332,lang,_333,_334,_335,_336){return _331("dijit.ProgressBar",[_334,_335],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_336,_indeterminateHighContrastImagePath:_330.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!("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(_337){lang.mixin(this,_337||{});var tip=this.internalProgress,ap=this.domNode;var _338=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");ap.removeAttribute("aria-valuemin");ap.removeAttribute("aria-valuemax");}else{if(String(this.progress).indexOf("%")!=-1){_338=Math.min(parseFloat(this.progress)/100,1);this.progress=_338*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_338=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-describedby",this.labelNode.id);ap.setAttribute("aria-valuenow",this.progress);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);}this.labelNode.innerHTML=this.report(_338);_332.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_338*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(_339){this._set("label",_339);this.update();},_setIndeterminateAttr:function(_33a){this.indeterminate=_33a;this.update();},report:function(_33b){return this.label?this.label:(this.indeterminate?"&#160;":_333.format(_33b,{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(_33c,lang,_33d,_33e){var _33f=_33c("dijit.form.NumberTextBoxMixin",null,{regExpGen:_33d.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:_33d.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_340){var _341=typeof _340.places=="number"?_340.places:0;if(_341){_341++;}if(typeof _340.max!="number"){_340.max=9*Math.pow(10,15-_341);}if(typeof _340.min!="number"){_340.min=-9*Math.pow(10,15-_341);}this.inherited(arguments,[_340]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _342=this.format(val,this.constraints);if(_342!==undefined){this.textbox.value=_342;}}this.inherited(arguments);},format:function(_343,_344){var _345=String(_343);if(typeof _343!="number"){return _345;}if(isNaN(_343)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_343,_344))&&_344.exponent!==false&&/\de[-+]?\d/i.test(_345)){return _345;}if(this.editOptions&&this.focused){_344=lang.mixin({},_344,this.editOptions);}return this._formatter(_343,_344);},_parser:_33d.parse,parse:function(_346,_347){var v=this._parser(_346,lang.mixin({},_347,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_346,_347);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_348){return (_348===null||_348===""||_348===undefined)?NaN:this.inherited(arguments);},serialize:function(_349,_34a){return (typeof _349!="number"||isNaN(_349))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.mixin({},this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_34b,_34c,_34d){if(_34b!==undefined&&_34d===undefined){_34d=String(_34b);if(typeof _34b=="number"){if(isNaN(_34b)){_34d="";}else{if(("rangeCheck" in this&&this.rangeCheck(_34b,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_34d)){_34d=undefined;}}}else{if(!_34b){_34d="";_34b=NaN;}else{_34b=undefined;}}}this.inherited(arguments,[_34b,_34c,_34d]);},_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("^"+_33d._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(_34e){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 _34f=_33c("dijit.form.NumberTextBox",[_33e,_33f],{baseClass:"dijitTextBox dijitNumberTextBox"});_34f.Mixin=_33f;return _34f;});},"dijit/form/TimeTextBox":function(){define("dijit/form/TimeTextBox",["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_350,keys,lang,_351,_352){return _350("dijit.form.TimeTextBox",_352,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_351,_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:setTimeout(lang.hitch(this,function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();}),0);}}});});},"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/window","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_353,_354,_355,_356,_357,i18n,_358,_359,_35a,_35b,win,_35c){var _35d=_359("dijit.ColorPalette",[_355,_356,_357],{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:_354,baseClass:"dijitColorPalette",_dyeFactory:function(_35e,row,col){return new this._dyeClass(_35e,row,col);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_359(_35d._Color,{hc:_35a.contains(win.body(),"dijit_a11y"),palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_35d._Color=_359("dijit._Color",_358,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' 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}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_353.toUrl("./themes/a11y/colors7x10.png"),"3x4":_353.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_35f,row,col){this._alias=_35f;this._row=row;this._col=col;this.setColor(_358.named[_35f]);},getValue:function(){return this.toHex();},fillCell:function(cell,_360){var html=_35c.substitute(this.hc?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_360,alt:this._alias,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"});_35b.place(html,cell);}});return _35d;});},"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(_361,_362,lang,_363){return _362("dijit.form.CurrencyTextBox",_363,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",regExpGen:function(_364){return "("+(this.focused?this.inherited(arguments,[lang.mixin({},_364,this.editOptions)])+"|":"")+_361.regexp(_364)+")";},_formatter:_361.format,_parser:_361.parse,parse:function(_365,_366){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_365)){v=lang.hitch(lang.mixin({},this,{_parser:_363.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_367){if(!_367.currency&&this.currency){_367.currency=this.currency;}this.inherited(arguments,[_361._mixInDefaults(lang.mixin(_367,{exponent:false}))]);}});});},"url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\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}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n","dojo/cldr/nls/gregorian":function(){define({root:{"months-format-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"Day of the Week","dateFormatItem-yQQQ":"y QQQ","dateFormatItem-yMEd":"EEE, y-M-d","dateFormatItem-MMMEd":"E MMM d","eraNarrow":["BCE","CE"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"y MMMM d","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormat-medium":"{1} {0}","dateFormatItem-EEEd":"d EEE","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE, y MMMM dd","dateFormatItem-Md":"M-d","dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-era":"Era","dateFormatItem-yM":"y-M","months-standAlone-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","quarters-format-wide":["Q1","Q2","Q3","Q4"],"timeFormat-long":"HH:mm:ss z","field-year":"Year","dateFormatItem-yMMM":"y MMM","dateFormatItem-yQ":"y Q","dateTimeFormats-appendItem-Era":"{0} {1}","field-hour":"Hour","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-full":"HH:mm:ss zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"Today","field-day-relative+1":"Tomorrow","dateFormatItem-H":"HH","months-standAlone-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"quarters-format-abbr":["Q1","Q2","Q3","Q4"],"quarters-standAlone-wide":["Q1","Q2","Q3","Q4"],"dateFormatItem-M":"L","days-standAlone-wide":["1","2","3","4","5","6","7"],"timeFormat-medium":"HH:mm:ss","dateFormatItem-Hm":"HH:mm","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],"eraAbbr":["BCE","CE"],"field-minute":"Minute","field-dayperiod":"Dayperiod","days-standAlone-abbr":["1","2","3","4","5","6","7"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"Yesterday","dateFormatItem-h":"h a","dateTimeFormat-long":"{1} {0}","dayPeriods-format-narrow-am":"AM","dateFormatItem-MMMd":"MMM d","dateFormatItem-MEd":"E, M-d","dateTimeFormat-full":"{1} {0}","field-day":"Day","days-format-wide":["1","2","3","4","5","6","7"],"field-zone":"Zone","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateFormatItem-y":"y","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["1","2","3","4","5","6","7"],"eraNames":["BCE","CE"],"days-format-narrow":["1","2","3","4","5","6","7"],"days-standAlone-narrow":["1","2","3","4","5","6","7"],"dateFormatItem-MMM":"LLL","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-short":"yyyy-MM-dd","field-second":"Second","dateFormatItem-yMMMEd":"EEE, y MMM d","dateTimeFormats-appendItem-Timezone":"{0} {1}","field-week":"Week","dateFormat-medium":"y MMM d","dayPeriods-format-narrow-pm":"PM","dateTimeFormat-short":"{1} {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-ca":true,"en-gb":true,"es":true,"fi":true,"fr":true,"fr-ch":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"pt-pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true,"zh-tw":true});},"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\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\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></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(_368,lang,_369,_36a,_36b,_36c){lang.extend(_36a,{layoutAlign:"none"});return _369("dijit.layout.LayoutContainer",_36b,{baseClass:"dijitLayoutContainer",constructor:function(){_368.deprecated("dijit.layout.LayoutContainer is deprecated","use BorderContainer instead",2);},layout:function(){_36c.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_36d,_36e){this.inherited(arguments);if(this._started){_36c.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_36f){this.inherited(arguments);if(this._started){_36c.layoutChildren(this.domNode,this._contentBox,this.getChildren());}}});});},"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/_base/sniff","dojo/_base/window","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","."],function(_370,_371,fx,dom,_372,_373,_374,lang,has,win,_375,_376,_377,_378,_379,_37a,_37b){var _37c=_371("dijit._MasterTooltip",[_377,_378],{duration:_375.defaultDuration,templateString:_37a,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _379(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(_37d,_37e,_37f,rtl,_380){if(this.aroundNode&&this.aroundNode===_37e&&this.containerNode.innerHTML==_37d){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_37d;this.set("textDir",_380);this.containerNode.align=rtl?"right":"left";var pos=_376.around(this.domNode,_37e,_37f&&_37f.length?_37f:_381.defaultPosition,!rtl,lang.hitch(this,"orient"));var _382=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_382.y+((_382.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=_382.x+((_382.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_374.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_37e;},orient:function(node,_383,_384,_385,_386){this.connectorNode.style.top="";var _387=_385.w-this.connectorNode.offsetWidth;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"}[_383+"-"+_384];this.domNode.style.width="auto";var size=_373.getContentBox(this.domNode);var _388=Math.min((Math.max(_387,1)),size.w);var _389=_388<size.w;this.domNode.style.width=_388+"px";if(_389){this.containerNode.style.overflow="auto";var _38a=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_38a>_388){_38a=_38a+_374.get(this.domNode,"paddingLeft")+_374.get(this.domNode,"paddingRight");this.domNode.style.width=_38a+"px";}}if(_384.charAt(0)=="B"&&_383.charAt(0)=="B"){var mb=_373.getMarginBox(node);var _38b=this.connectorNode.offsetHeight;if(mb.h>_385.h){var _38c=_385.h-((_386.h+_38b)>>1);this.connectorNode.style.top=_38c+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_386.h/2-_38b/2,0),mb.h-_38b)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_387);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_38d){if(this._onDeck&&this._onDeck[1]==_38d){this._onDeck=null;}else{if(this.aroundNode===_38d){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);_370.forEach(node.children,function(_38e){this._setAutoTextDir(_38e);},this);},_setTextDirAttr:function(_38f){this._set("textDir",typeof _38f!="undefined"?_38f:"");if(_38f=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_37b.showTooltip=function(_390,_391,_392,rtl,_393){if(!_381._masterTT){_37b._masterTT=_381._masterTT=new _37c();}return _381._masterTT.show(_390,_391,_392,rtl,_393);};_37b.hideTooltip=function(_394){return _381._masterTT&&_381._masterTT.hide(_394);};var _381=_371("dijit.Tooltip",_377,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_395){_370.forEach(this._connections||[],function(_396){_370.forEach(_396,lang.hitch(this,"disconnect"));},this);this._connectIds=_370.filter(lang.isArrayLike(_395)?_395:(_395?[_395]:[]),function(id){return dom.byId(id);});this._connections=_370.map(this._connectIds,function(id){var node=dom.byId(id);return [this.connect(node,"onmouseenter","_onHover"),this.connect(node,"onmouseleave","_onUnHover"),this.connect(node,"onfocus","_onHover"),this.connect(node,"onblur","_onUnHover")];},this);this._set("connectId",_395);},addTarget:function(node){var id=node.id||node;if(_370.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_370.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_372.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_370.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _397=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_397);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_398){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_381.show(this.label||this.domNode.innerHTML,_398,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_398;this.onShow(_398,this.position);},close:function(){if(this._connectNode){_381.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});_381._MasterTooltip=_37c;_381.show=_37b.showTooltip;_381.hide=_37b.hideTooltip;_381.defaultPosition=["after","before"];return _381;});},"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\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(_399,_39a,_39b){return _399("dijit.form.VerticalSlider",_39a,{templateString:_39b,_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/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_39c,_39d,_39e,_39f,_3a0,_3a1,_3a2,_3a3){return _39c("dijit.form.DropDownButton",[_3a0,_3a1,_3a2],{baseClass:"dijitDropDownButton",templateString:_3a3,_fillContent:function(){if(this.srcNodeRef){var _3a4=_39d("*",this.srcNodeRef);this.inherited(arguments,[_3a4[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _3a5=_39d("[widgetId]",this.dropDownContainer)[0];this.dropDown=_39e.byNode(_3a5);delete this.dropDownContainer;}if(this.dropDown){_39f.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _3a6=this.dropDown;return (!!_3a6&&(!_3a6.href||_3a6.isLoaded));},loadDropDown:function(){var _3a7=this.dropDown;if(!_3a7){return;}if(!this.isLoaded()){var _3a8=_3a7.on("load",this,function(){_3a8.remove();this.openDropDown();});_3a7.refresh();}else{this.openDropDown();}},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(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("date",true,dojo);dojo.date.getDaysInMonth=function(_3a9){var _3aa=_3a9.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_3aa==1&&dojo.date.isLeapYear(_3a9)){return 29;}return days[_3aa];};dojo.date.isLeapYear=function(_3ab){var year=_3ab.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_3ac){var str=_3ac.toString();var tz="";var _3ad;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_3ad=str.match(pat))){tz=_3ad[1];}else{str=_3ac.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_3ad=str.match(pat))){tz=_3ad[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_3ae,_3af,_3b0){_3ae=new Date(+_3ae);_3af=new Date(+(_3af||new Date()));if(_3b0=="date"){_3ae.setHours(0,0,0,0);_3af.setHours(0,0,0,0);}else{if(_3b0=="time"){_3ae.setFullYear(0,0,0);_3af.setFullYear(0,0,0);}}if(_3ae>_3af){return 1;}if(_3ae<_3af){return -1;}return 0;};dojo.date.add=function(date,_3b1,_3b2){var sum=new Date(+date);var _3b3=false;var _3b4="Date";switch(_3b1){case "day":break;case "weekday":var days,_3b5;var mod=_3b2%5;if(!mod){days=(_3b2>0)?5:-5;_3b5=(_3b2>0)?((_3b2-5)/5):((_3b2+5)/5);}else{days=mod;_3b5=parseInt(_3b2/5);}var strt=date.getDay();var adj=0;if(strt==6&&_3b2>0){adj=1;}else{if(strt==0&&_3b2<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_3b2>0)?2:-2;}_3b2=(7*_3b5)+days+adj;break;case "year":_3b4="FullYear";_3b3=true;break;case "week":_3b2*=7;break;case "quarter":_3b2*=3;case "month":_3b3=true;_3b4="Month";break;default:_3b4="UTC"+_3b1.charAt(0).toUpperCase()+_3b1.substring(1)+"s";}if(_3b4){sum["set"+_3b4](sum["get"+_3b4]()+_3b2);}if(_3b3&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_3b6,_3b7,_3b8){_3b7=_3b7||new Date();_3b8=_3b8||"day";var _3b9=_3b7.getFullYear()-_3b6.getFullYear();var _3ba=1;switch(_3b8){case "quarter":var m1=_3b6.getMonth();var m2=_3b7.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_3b9*4);_3ba=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_3b6,_3b7,"day"));var _3bb=parseInt(dojo.date.difference(_3b6,_3b7,"week"));var mod=days%7;if(mod==0){days=_3bb*5;}else{var adj=0;var aDay=_3b6.getDay();var bDay=_3b7.getDay();_3bb=parseInt(days/7);mod=days%7;var _3bc=new Date(_3b6);_3bc.setDate(_3bc.getDate()+(_3bb*7));var _3bd=_3bc.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 (_3bd+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 (_3bd+mod)<0:adj=2;}}}days+=adj;days-=(_3bb*2);}_3ba=days;break;case "year":_3ba=_3b9;break;case "month":_3ba=(_3b7.getMonth()-_3b6.getMonth())+(_3b9*12);break;case "week":_3ba=parseInt(dojo.date.difference(_3b6,_3b7,"day")/7);break;case "day":_3ba/=24;case "hour":_3ba/=60;case "minute":_3ba/=60;case "second":_3ba/=1000;case "millisecond":_3ba*=_3b7.getTime()-_3b6.getTime();}return Math.round(_3ba);};return dojo.date;});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/query","dojo/_base/sniff","dojo/_base/window","../registry","./utils","../_Contained"],function(_3be,_3bf,_3c0,_3c1,_3c2,lang,_3c3,has,win,_3c4,_3c5,_3c6){return _3bf("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _3c7=this.getParent();this._childOfLayoutWidget=_3c7&&_3c7.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.connect(has("ie")?this.domNode:win.global,"onresize",function(){this._needLayout=!this._childOfLayoutWidget;this.resize();});}},_checkIfSingleChild:function(){var _3c8=_3c3("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_3c9=_3c8.filter(function(node){return _3c0.has(node,"data-dojo-type")||_3c0.has(node,"dojoType")||_3c0.has(node,"widgetId");}),_3ca=_3be.filter(_3c9.map(_3c4.byNode),function(_3cb){return _3cb&&_3cb.domNode&&_3cb.resize;});if(_3c8.length==_3c9.length&&_3ca.length==1){this._singleChild=_3ca[0];}else{delete this._singleChild;}_3c1.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_3cc,_3cd){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_3cc,_3cd);},_scheduleLayout:function(_3ce,_3cf){if(this._isShown()){this._layout(_3ce,_3cf);}else{this._needLayout=true;this._changeSize=_3ce;this._resultSize=_3cf;}},_layout:function(_3d0,_3d1){if(_3d0){_3c2.setMarginBox(this.domNode,_3d0);}var cn=this.containerNode;if(cn===this.domNode){var mb=_3d1||{};lang.mixin(mb,_3d0||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_3c2.getMarginBox(cn),mb);}this._contentBox=_3c5.marginBox2contentBox(cn,mb);}else{this._contentBox=_3c2.getContentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_3c2.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_3be.forEach(this.getChildren(),function(_3d2){if(_3d2.resize){_3d2.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,_3d3=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_3c1.contains(node,"dijitHidden")&&_3d3&&_3d3.style&&(_3d3.style.display!="none");}}},_onShow:function(){if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);this._wasShown=true;}});});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_3d4,i18n,_3d5){return _3d4("dijit.form.RangeBoundTextBox",_3d5,{rangeMessage:"",rangeCheck:function(_3d6,_3d7){return ("min" in _3d7?(this.compare(_3d6,_3d7.min)>=0):true)&&("max" in _3d7?(this.compare(_3d6,_3d7.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _3d8=false;var _3d9=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_3d8=(typeof min=="number")&&min<0;}if("max" in this.constraints){var max=this.constraints.max;max=this.compare(val,((typeof max!="number")||max>0)?max:0);_3d9=(typeof max=="number")&&max>0;}return _3d8||_3d9;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_3da){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_3da));},getErrorMessage:function(_3db){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_3db)){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;}},_setConstraintsAttr:function(_3dc){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(_3dd,_3de){this.focusNode.setAttribute("aria-valuenow",_3dd);this.inherited(arguments);},applyTextDir:function(){}});});},"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/_base/sniff","dojo/topic","dojo/_base/unload","dojo/_base/url","dojo/_base/window","../_Widget","../_CssStateMixin","./selection","./range","./html","../focus",".."],function(_3df,_3e0,_3e1,_3e2,dom,_3e3,_3e4,_3e5,_3e6,_3e7,_3e8,_3e9,keys,lang,on,_3ea,_3eb,has,_3ec,_3ed,_3ee,win,_3ef,_3f0,_3f1,_3f2,_3f3,_3f4,_3f5){var _3f6=_3e1("dijit._editor.RichText",[_3ef,_3f0],{constructor:function(_3f7){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_3f7&&lang.isString(_3f7.value)){this.value=_3f7.value;}this.onLoadDeferred=new _3e2();},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.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")){this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters);this.contentDomPostFilters=[lang.hitch(this,this._stripBreakerNodes)].concat(this.contentDomPostFilters);}this.inherited(arguments);_3ec.publish(_3f5._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 _3f8={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")){_3f8.Z=exec("redo");}var key;for(key in _3f8){this.addKeyHandler(key,true,false,_3f8[key]);}},events:["onKeyPress","onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_3f6._editorCommandsLocalized){this._local2NativeFormatNames=_3f6._local2NativeFormatNames;this._native2LocalFormatNames=_3f6._native2LocalFormatNames;return;}_3f6._editorCommandsLocalized=true;_3f6._local2NativeFormatNames={};_3f6._native2LocalFormatNames={};this._local2NativeFormatNames=_3f6._local2NativeFormatNames;this._native2LocalFormatNames=_3f6._native2LocalFormatNames;var _3f9=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _3fa="",_3fb,i=0;while((_3fb=_3f9[i++])){if(_3fb.charAt(1)!=="l"){_3fa+="<"+_3fb+"><span>content</span></"+_3fb+"><br/>";}else{_3fa+="<"+_3fb+"><li>content</li></"+_3fb+"><br/>";}}var _3fc={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_3e5.create("div",{style:_3fc,innerHTML:_3fa});win.body().appendChild(div);var _3fd=lang.hitch(this,function(){var node=div.firstChild;while(node){try{_3f1.selectElement(node.firstChild);var _3fe=node.tagName.toLowerCase();this._local2NativeFormatNames[_3fe]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_3fe]]=_3fe;node=node.nextSibling.nextSibling;}catch(e){}}div.parentNode.removeChild(div);div.innerHTML="";});setTimeout(_3fd,0);},open:function(_3ff){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _3e2();}if(!this.isClosed){this.close();}_3ec.publish(_3f5._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_3ff.nodeName){this.domNode=_3ff;}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=win.doc.createElement("div");dn.setAttribute("widgetId",this.id);ta.removeAttribute("widgetId");dn.cssText=ta.cssText;dn.className+=" "+ta.className;_3e5.place(dn,ta,"before");var _400=lang.hitch(this,function(){_3e7.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")){setTimeout(_400,10);}else{_400();}if(ta.form){var _401=ta.value;this.reset=function(){var _402=this.getValue();if(_402!==_401){this.replaceValue(_401);}};on(ta.form,"submit",lang.hitch(this,function(){_3e3.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_3f3.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!==""&&(!_3e0["useXDomain"]||_3e0["allowXdRichTextSave"])){var _403=dom.byId(_3f5._scopeName+"._editor.RichText.value");if(_403&&_403.value!==""){var _404=_403.value.split(this._SEPARATOR),i=0,dat;while((dat=_404[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){html=data[1];_404=_404.splice(i,1);_403.value=_404.join(this._SEPARATOR);break;}}}if(!_3f6._globalSaveHandler){_3f6._globalSaveHandler={};_3ed.addOnUnload(function(){var id;for(id in _3f6._globalSaveHandler){var f=_3f6._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_3f6._globalSaveHandler[this.id]=lang.hitch(this,"_saveContent");}this.isClosed=false;var ifr=(this.editorObject=this.iframe=win.doc.createElement("iframe"));ifr.id=this.id+"_iframe";this._iframeSrc=this._getIframeDocTxt();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=this.window.document;if(has("ie")){this._localizeEditorCommands();}this.onLoad(html);});var _405="parent."+_3f5._scopeName+".byId(\""+this.id+"\")._iframeSrc";var s="javascript:(function(){try{return "+_405+"}catch(e){document.open();document.domain=\""+document.domain+"\";document.write("+_405+");document.close();}})()";ifr.setAttribute("src",s);this.editingArea.appendChild(ifr);if(has("safari")<=4){var src=ifr.getAttribute("src");if(!src||src.indexOf("javascript")===-1){setTimeout(function(){ifr.setAttribute("src",s);},0);}}if(dn.nodeName==="LI"){dn.lastChild.style.marginTop="-1.2em";}_3e4.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _406=_3e7.getComputedStyle(this.domNode);var html="";var _407=true;if(has("ie")||has("webkit")||(!this.height&&!has("mozilla"))){html="<div id='dijitEditorBody'></div>";_407=false;}else{if(has("mozilla")){this._cursorToStart=true;html="&#160;";}}var font=[_406.fontWeight,_406.fontSize,_406.fontFamily].join(" ");var _408=_406.lineHeight;if(_408.indexOf("px")>=0){_408=parseFloat(_408)/parseFloat(_406.fontSize);}else{if(_408.indexOf("em")>=0){_408=parseFloat(_408);}else{_408="normal";}}var _409="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_40a){_40a=_40a.replace(/^;/ig,"")+";";var s=_40a.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;}}_3e7.set(self.domNode,sC,"");}_409+=_40a+";";});var _40b=_3ea("label[for=\""+this.id+"\"]");return [this.isLeftToRight()?"<html>\n<head>\n":"<html dir='rtl'>\n<head>\n",(has("mozilla")&&_40b.length?"<title>"+_40b[0].innerHTML+"</title>\n":""),"<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",((has("webkit"))?"\t\twidth: 100%;\n":""),((has("webkit"))?"\t\theight: 100%;\n":""),"\t}\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\tmin-height:",this.minHeight,";\n","\t\tline-height:",_408,";\n","\t}\n","\tp{ margin: 1em 0; }\n",(!_407&&!this.height?"\tbody,html {overflow-y: hidden;}\n":""),"\t#dijitEditorBody{overflow-x: auto; overflow-y:"+(this.height?"auto;":"hidden;")+" outline: 0px;}\n","\tli > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; }\n",(!has("ie")?"\tli{ min-height:1.2em; }\n":""),"</style>\n",this._applyEditingAreaStyleSheets(),"\n","</head>\n<body ",(_407?"id='dijitEditorBody' ":""),"onload='frameElement._loadFunc(window,document)' style='"+_409+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _40c=[];if(this.styleSheets){_40c=this.styleSheets.split(";");this.styleSheets="";}_40c=_40c.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_40c[i++])){var _40d=(new _3ee(win.global.location,url)).toString();this.editingAreaStyleSheets.push(_40d);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_40d+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _3ee(win.global.location,url)).toString();}if(_3df.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);this.onLoadDeferred.addCallback(lang.hitch(this,function(){if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _40e=this.document.createElement("link");_40e.rel="stylesheet";_40e.type="text/css";_40e.href=url;head.appendChild(_40e);}}));},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _3ee(win.global.location,url)).toString();}var _40f=_3df.indexOf(this.editingAreaStyleSheets,url);if(_40f===-1){return;}delete this.editingAreaStyleSheets[_40f];win.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_410){_410=!!_410;this._set("disabled",_410);if(!this.isLoaded){return;}if(has("ie")||has("webkit")||has("opera")){var _411=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_411){this.editNode.unselectable="on";}this.editNode.contentEditable=!_410;if(_411){var _412=this;setTimeout(function(){if(_412.editNode){_412.editNode.unselectable="off";}},0);}}else{try{this.document.designMode=(_410?"off":"on");}catch(e){return;}if(!_410&&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=_3f4.registerIframe(this.iframe);}if(!has("ie")&&!has("webkit")&&(this.height||has("mozilla"))){this.editNode=this.document.body;}else{this.editNode=this.document.body.firstChild;var _413=this;if(has("ie")){this.tabStop=_3e5.create("div",{tabIndex:-1},this.editingArea);this.iframe.onfocus=function(){_413.editNode.setActive();};}}this.focusNode=this.editNode;var _414=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;_3df.forEach(_414,function(item){this.connect(ap,item.toLowerCase(),item);},this);this.connect(ap,"onmouseup","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)){setTimeout(lang.hitch(this,"placeCursorAtEnd"),0);}});}if(has("ie")){try{this.document.execCommand("RespectVisibilityInDesign",true,null);}catch(e){}}this.isLoaded=true;this.set("disabled",this.disabled);var _415=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}this.onDisplayChanged();if(this.focusOnLoad){_3eb(lang.hitch(this,function(){setTimeout(lang.hitch(this,"focus"),this.updateInterval);}));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.addCallback(_415);}else{_415();}},onKeyDown:function(e){if(e.keyCode===keys.TAB&&this.isTabIndent){_3e8.stop(e);if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(has("ie")){if(e.keyCode==keys.TAB&&!this.isTabIndent){if(e.shiftKey&&!e.ctrlKey&&!e.altKey){this.iframe.focus();}else{if(!e.shiftKey&&!e.ctrlKey&&!e.altKey){this.tabStop.focus();}}}else{if(e.keyCode===keys.BACKSPACE&&this.document.selection.type==="Control"){_3e8.stop(e);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(_416){_3e9.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_416);},_setValueAttr:function(_417){this.setValue(_417);},_setDisableSpellCheckAttr:function(_418){if(this.document){_3e3.set(this.document.body,"spellcheck",!_418);}else{this.onLoadDeferred.addCallback(lang.hitch(this,function(){_3e3.set(this.document.body,"spellcheck",!_418);}));}this._set("disableSpellCheck",_418);},onKeyPress:function(e){var c=(e.keyChar&&e.keyChar.toLowerCase())||e.keyCode,_419=this._keyHandlers[c],args=arguments;if(_419&&!e.altKey){_3df.some(_419,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");}setTimeout(this._onKeyHitch,1);return true;},addKeyHandler:function(key,ctrl,_41a,_41b){if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_41a||false,ctrl:ctrl||false,handler:_41b});},onKeyPressed:function(){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onIEMouseDown:function(){if(!this.focused&&!this.disabled){this.focus();}},_onBlur:function(e){this.inherited(arguments);var _41c=this.getValue(true);if(_41c!==this.value){this.onChange(_41c);}this._set("value",_41c);},_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(win.doc.body.focus){win.doc.body.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")){_3f4.focus(this.iframe);}else{if(this.editNode&&this.editNode.focus){this.iframe.fireEvent("onfocus",document.createEventObject());}}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(){if(this._updateTimer){clearTimeout(this._updateTimer);}if(!this._updateHandler){this._updateHandler=lang.hitch(this,"onNormalizedDisplayChanged");}this._updateTimer=setTimeout(this._updateHandler,this.updateInterval);},onNormalizedDisplayChanged:function(){delete this._updateTimer;},onChange:function(){},_normalizeCommand:function(cmd,_41d){var _41e=cmd.toLowerCase();if(_41e==="formatblock"){if(has("safari")&&_41d===undefined){_41e="heading";}}else{if(_41e==="hilitecolor"&&!has("mozilla")){_41e="backcolor";}}return _41e;},_qcaCache:{},queryCommandAvailable:function(_41f){var ca=this._qcaCache[_41f];if(ca!==undefined){return ca;}return (this._qcaCache[_41f]=this._queryCommandAvailable(_41f));},_queryCommandAvailable:function(_420){var ie=1;var _421=1<<1;var _422=1<<2;var _423=1<<3;function _424(_425){return {ie:Boolean(_425&ie),mozilla:Boolean(_425&_421),webkit:Boolean(_425&_422),opera:Boolean(_425&_423)};};var _426=null;switch(_420.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":_426=_424(_421|ie|_422|_423);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":_426=_424(_421|ie|_423|_422);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_426=_424(ie);break;case "cut":case "copy":case "paste":_426=_424(ie|_421|_422);break;case "inserttable":_426=_424(_421|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_426=_424(ie|_421);break;default:return false;}return (has("ie")&&_426.ie)||(has("mozilla")&&_426.mozilla)||(has("webkit")&&_426.webkit)||(has("opera")&&_426.opera);},execCommand:function(_427,_428){var _429;this.focus();_427=this._normalizeCommand(_427,_428);if(_428!==undefined){if(_427==="heading"){throw new Error("unimplemented");}else{if((_427==="formatblock")&&has("ie")){_428="<"+_428+">";}}}var _42a="_"+_427+"Impl";if(this[_42a]){_429=this[_42a](_428);}else{_428=arguments.length>1?_428:null;if(_428||_427!=="createlink"){_429=this.document.execCommand(_427,false,_428);}}this.onDisplayChanged();return _429;},queryCommandEnabled:function(_42b){if(this.disabled||!this._disabledOK){return false;}_42b=this._normalizeCommand(_42b);var _42c="_"+_42b+"EnabledImpl";if(this[_42c]){return this[_42c](_42b);}else{return this._browserQueryCommandEnabled(_42b);}},queryCommandState:function(_42d){if(this.disabled||!this._disabledOK){return false;}_42d=this._normalizeCommand(_42d);try{return this.document.queryCommandState(_42d);}catch(e){return false;}},queryCommandValue:function(_42e){if(this.disabled||!this._disabledOK){return false;}var r;_42e=this._normalizeCommand(_42e);if(has("ie")&&_42e==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_42e)];}else{if(has("mozilla")&&_42e==="hilitecolor"){var _42f;try{_42f=this.document.queryCommandValue("styleWithCSS");}catch(e){_42f=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_42e);this.document.execCommand("styleWithCSS",false,_42f);}else{r=this.document.queryCommandValue(_42e);}}return r;},_sCall:function(name,args){return win.withGlobal(this.window,name,_3f1,args);},placeCursorAtStart:function(){this.focus();var _430=false;if(has("mozilla")){var _431=this.editNode.firstChild;while(_431){if(_431.nodeType===3){if(_431.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_430=true;this._sCall("selectElement",[_431]);break;}}else{if(_431.nodeType===1){_430=true;var tg=_431.tagName?_431.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this._sCall("selectElement",[_431]);}else{this._sCall("selectElementChildren",[_431]);}break;}}_431=_431.nextSibling;}}else{_430=true;this._sCall("selectElementChildren",[this.editNode]);}if(_430){this._sCall("collapse",[true]);}},placeCursorAtEnd:function(){this.focus();var _432=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_432=true;this._sCall("selectElement",[last]);break;}}else{if(last.nodeType===1){_432=true;if(last.lastChild){this._sCall("selectElement",[last.lastChild]);}else{this._sCall("selectElement",[last]);}break;}}last=last.previousSibling;}}else{_432=true;this._sCall("selectElementChildren",[this.editNode]);}if(_432){this._sCall("collapse",[false]);}},getValue:function(_433){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_433);},_getValueAttr:function(){return this.getValue(true);},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.addCallback(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("mozilla")&&html.toLowerCase()==="<p></p>"){html="<p>&#160;</p>";}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");if(!html){this._cursorToStart=true;html="&#160;";}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;_3df.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_3df.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_434){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_434){dom=lang.clone(dom);}_3df.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_3f3.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_3df.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _435=dom.byId(_3f5._scopeName+"._editor.RichText.value");if(_435){if(_435.value){_435.value+=this._SEPARATOR;}_435.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_436){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_436){str=str.replace(/'/gm,"&#39;");}return str;},getNodeHtml:function(node){_3e9.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _3f3.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_3e9.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _3f3.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;_3e5.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_3e4.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);}this.inherited(arguments);if(_3f6._globalSaveHandler){delete _3f6._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(_437){if(!_437){return false;}var elem=has("ie")?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_437);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _438=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_438=true;}else{_438=this.document.queryCommandEnabled("createlink");}}else{_438=this._browserQueryCommandEnabled("createlink");}return _438;},_unlinkEnabledImpl:function(){var _439=true;if(has("mozilla")||has("webkit")){_439=this._sCall("hasAncestorElement",["a"]);}else{_439=this._browserQueryCommandEnabled("unlink");}return _439;},_inserttableEnabledImpl:function(){var _43a=true;if(has("mozilla")||has("webkit")){_43a=true;}else{_43a=this._browserQueryCommandEnabled("inserttable");}return _43a;},_cutEnabledImpl:function(){var _43b=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_43b=!!sel;}else{_43b=this._browserQueryCommandEnabled("cut");}return _43b;},_copyEnabledImpl:function(){var _43c=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_43c=!!sel;}else{_43c=this._browserQueryCommandEnabled("copy");}return _43c;},_pasteEnabledImpl:function(){var _43d=true;if(has("webkit")){return true;}else{_43d=this._browserQueryCommandEnabled("paste");}return _43d;},_inserthorizontalruleImpl:function(_43e){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_43e);},_unlinkImpl:function(_43f){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,_43f);},_hilitecolorImpl:function(_440){var _441;var _442=this._handleTextColorOrProperties("hilitecolor",_440);if(!_442){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_441=this.document.execCommand("hilitecolor",false,_440);this.document.execCommand("styleWithCSS",false,false);}else{_441=this.document.execCommand("hilitecolor",false,_440);}}return _441;},_backcolorImpl:function(_443){if(has("ie")){_443=_443?_443:null;}var _444=this._handleTextColorOrProperties("backcolor",_443);if(!_444){_444=this.document.execCommand("backcolor",false,_443);}return _444;},_forecolorImpl:function(_445){if(has("ie")){_445=_445?_445:null;}var _446=false;_446=this._handleTextColorOrProperties("forecolor",_445);if(!_446){_446=this.document.execCommand("forecolor",false,_445);}return _446;},_inserthtmlImpl:function(_447){_447=this._preFilterContent(_447);var rv=true;if(has("ie")){var _448=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_448.item(0);while(_448.length){_448.remove(_448.item(0));}n.outerHTML=_447;}else{_448.pasteHTML(_447);}_448.select();}else{if(has("mozilla")&&!_447.length){this._sCall("remove");}else{rv=this.document.execCommand("inserthtml",false,_447);}}return rv;},_boldImpl:function(_449){var _44a=false;if(has("ie")){this._adaptIESelection();_44a=this._adaptIEFormatAreaAndExec("bold");}if(!_44a){_44a=this.document.execCommand("bold",false,_449);}return _44a;},_italicImpl:function(_44b){var _44c=false;if(has("ie")){this._adaptIESelection();_44c=this._adaptIEFormatAreaAndExec("italic");}if(!_44c){_44c=this.document.execCommand("italic",false,_44b);}return _44c;},_underlineImpl:function(_44d){var _44e=false;if(has("ie")){this._adaptIESelection();_44e=this._adaptIEFormatAreaAndExec("underline");}if(!_44e){_44e=this.document.execCommand("underline",false,_44d);}return _44e;},_strikethroughImpl:function(_44f){var _450=false;if(has("ie")){this._adaptIESelection();_450=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_450){_450=this.document.execCommand("strikethrough",false,_44f);}return _450;},_superscriptImpl:function(_451){var _452=false;if(has("ie")){this._adaptIESelection();_452=this._adaptIEFormatAreaAndExec("superscript");}if(!_452){_452=this.document.execCommand("superscript",false,_451);}return _452;},_subscriptImpl:function(_453){var _454=false;if(has("ie")){this._adaptIESelection();_454=this._adaptIEFormatAreaAndExec("subscript");}if(!_454){_454=this.document.execCommand("subscript",false,_453);}return _454;},_fontnameImpl:function(_455){var _456;if(has("ie")){_456=this._handleTextColorOrProperties("fontname",_455);}if(!_456){_456=this.document.execCommand("fontname",false,_455);}return _456;},_fontsizeImpl:function(_457){var _458;if(has("ie")){_458=this._handleTextColorOrProperties("fontsize",_457);}if(!_458){_458=this.document.execCommand("fontsize",false,_457);}return _458;},_insertorderedlistImpl:function(_459){var _45a=false;if(has("ie")){_45a=this._adaptIEList("insertorderedlist",_459);}if(!_45a){_45a=this.document.execCommand("insertorderedlist",false,_459);}return _45a;},_insertunorderedlistImpl:function(_45b){var _45c=false;if(has("ie")){_45c=this._adaptIEList("insertunorderedlist",_45b);}if(!_45c){_45c=this.document.execCommand("insertunorderedlist",false,_45b);}return _45c;},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=_3e6.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_45d){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_45d);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_45d)==="");}}return false;},_removeStartingRangeFromRange:function(node,_45e){if(node.nextSibling){_45e.setStart(node.nextSibling,0);}else{var _45f=node.parentNode;while(_45f&&_45f.nextSibling==null){_45f=_45f.parentNode;}if(_45f){_45e.setStart(_45f.nextSibling,0);}}return _45e;},_adaptIESelection:function(){var _460=_3f2.getSelection(this.window);if(_460&&_460.rangeCount&&!_460.isCollapsed){var _461=_460.getRangeAt(0);var _462=_461.startContainer;var _463=_461.startOffset;while(_462.nodeType===3&&_463>=_462.length&&_462.nextSibling){_463=_463-_462.length;_462=_462.nextSibling;}var _464=null;while(this._isNodeEmpty(_462,_463)&&_462!==_464){_464=_462;_461=this._removeStartingRangeFromRange(_462,_461);_462=_461.startContainer;_463=0;}_460.removeAllRanges();_460.addRange(_461);}},_adaptIEFormatAreaAndExec:function(_465){var _466=_3f2.getSelection(this.window);var doc=this.document;var rs,ret,_467,txt,_468,_469,_46a,_46b;if(_465&&_466&&_466.isCollapsed){var _46c=this.queryCommandValue(_465);if(_46c){var _46d=this._tagNamesForCommand(_465);_467=_466.getRangeAt(0);var fs=_467.startContainer;if(fs.nodeType===3){var _46e=_467.endOffset;if(fs.length<_46e){ret=this._adjustNodeAndOffset(rs,_46e);fs=ret.node;_46e=ret.offset;}}var _46f;while(fs&&fs!==this.editNode){var _470=fs.tagName?fs.tagName.toLowerCase():"";if(_3df.indexOf(_46d,_470)>-1){_46f=fs;break;}fs=fs.parentNode;}if(_46f){rs=_467.startContainer;var _471=doc.createElement(_46f.tagName);_3e5.place(_471,_46f,"after");if(rs&&rs.nodeType===3){var _472,_473;var _474=_467.endOffset;if(rs.length<_474){ret=this._adjustNodeAndOffset(rs,_474);rs=ret.node;_474=ret.offset;}txt=rs.nodeValue;_468=doc.createTextNode(txt.substring(0,_474));var _475=txt.substring(_474,txt.length);if(_475){_469=doc.createTextNode(_475);}_3e5.place(_468,rs,"before");if(_469){_46a=doc.createElement("span");_46a.className="ieFormatBreakerSpan";_3e5.place(_46a,rs,"after");_3e5.place(_469,_46a,"after");_469=_46a;}_3e5.destroy(rs);var _476=_468.parentNode;var _477=[];var _478;while(_476!==_46f){var tg=_476.tagName;_478={tagName:tg};_477.push(_478);var _479=doc.createElement(tg);if(_476.style){if(_479.style){if(_476.style.cssText){_479.style.cssText=_476.style.cssText;_478.cssText=_476.style.cssText;}}}if(_476.tagName==="FONT"){if(_476.color){_479.color=_476.color;_478.color=_476.color;}if(_476.face){_479.face=_476.face;_478.face=_476.face;}if(_476.size){_479.size=_476.size;_478.size=_476.size;}}if(_476.className){_479.className=_476.className;_478.className=_476.className;}if(_469){_472=_469;while(_472){_473=_472.nextSibling;_479.appendChild(_472);_472=_473;}}if(_479.tagName==_476.tagName){_46a=doc.createElement("span");_46a.className="ieFormatBreakerSpan";_3e5.place(_46a,_476,"after");_3e5.place(_479,_46a,"after");}else{_3e5.place(_479,_476,"after");}_468=_476;_469=_479;_476=_476.parentNode;}if(_469){_472=_469;if(_472.nodeType===1||(_472.nodeType===3&&_472.nodeValue)){_471.innerHTML="";}while(_472){_473=_472.nextSibling;_471.appendChild(_472);_472=_473;}}if(_477.length){_478=_477.pop();var _47a=doc.createElement(_478.tagName);if(_478.cssText&&_47a.style){_47a.style.cssText=_478.cssText;}if(_478.className){_47a.className=_478.className;}if(_478.tagName==="FONT"){if(_478.color){_47a.color=_478.color;}if(_478.face){_47a.face=_478.face;}if(_478.size){_47a.size=_478.size;}}_3e5.place(_47a,_471,"before");while(_477.length){_478=_477.pop();var _47b=doc.createElement(_478.tagName);if(_478.cssText&&_47b.style){_47b.style.cssText=_478.cssText;}if(_478.className){_47b.className=_478.className;}if(_478.tagName==="FONT"){if(_478.color){_47b.color=_478.color;}if(_478.face){_47b.face=_478.face;}if(_478.size){_47b.size=_478.size;}}_47a.appendChild(_47b);_47a=_47b;}_46b=doc.createTextNode(".");_46a.appendChild(_46b);_47a.appendChild(_46b);win.withGlobal(this.window,lang.hitch(this,function(){var _47c=_3f2.create();_47c.setStart(_46b,0);_47c.setEnd(_46b,_46b.length);_466.removeAllRanges();_466.addRange(_47c);_3f1.collapse(false);_46b.parentNode.innerHTML="";}));}else{_46a=doc.createElement("span");_46a.className="ieFormatBreakerSpan";_46b=doc.createTextNode(".");_46a.appendChild(_46b);_3e5.place(_46a,_471,"before");win.withGlobal(this.window,lang.hitch(this,function(){var _47d=_3f2.create();_47d.setStart(_46b,0);_47d.setEnd(_46b,_46b.length);_466.removeAllRanges();_466.addRange(_47d);_3f1.collapse(false);_46b.parentNode.innerHTML="";}));}if(!_471.firstChild){_3e5.destroy(_471);}return true;}}return false;}else{_467=_466.getRangeAt(0);rs=_467.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _47e=_467.startOffset;if(rs.length<_47e){ret=this._adjustNodeAndOffset(rs,_47e);rs=ret.node;_47e=ret.offset;}txt=rs.nodeValue;_468=doc.createTextNode(txt.substring(0,_47e));var _47f=txt.substring(_47e);if(_47f!==""){_469=doc.createTextNode(txt.substring(_47e));}_46a=doc.createElement("span");_46b=doc.createTextNode(".");_46a.appendChild(_46b);if(_468.length){_3e5.place(_468,rs,"after");}else{_468=rs;}_3e5.place(_46a,_468,"after");if(_469){_3e5.place(_469,_46a,"after");}_3e5.destroy(rs);var _480=_3f2.create();_480.setStart(_46b,0);_480.setEnd(_46b,_46b.length);_466.removeAllRanges();_466.addRange(_480);doc.execCommand(_465);_3e5.place(_46a.firstChild,_46a,"before");_3e5.destroy(_46a);_480.setStart(_46b,0);_480.setEnd(_46b,_46b.length);_466.removeAllRanges();_466.addRange(_480);_3f1.collapse(false);_46b.parentNode.innerHTML="";}));return true;}}}else{return false;}},_adaptIEList:function(_481){var _482=_3f2.getSelection(this.window);if(_482.isCollapsed){if(_482.rangeCount&&!this.queryCommandValue(_481)){var _483=_482.getRangeAt(0);var sc=_483.startContainer;if(sc&&sc.nodeType==3){if(!_483.startOffset){win.withGlobal(this.window,lang.hitch(this,function(){var _484="ul";if(_481==="insertorderedlist"){_484="ol";}var list=_3e5.create(_484);var li=_3e5.create("li",null,list);_3e5.place(list,sc,"before");li.appendChild(sc);_3e5.create("br",null,list,"after");var _485=_3f2.create();_485.setStart(sc,0);_485.setEnd(sc,sc.length);_482.removeAllRanges();_482.addRange(_485);_3f1.collapse(true);}));return true;}}}}return false;},_handleTextColorOrProperties:function(_486,_487){var _488=_3f2.getSelection(this.window);var doc=this.document;var rs,ret,_489,txt,_48a,_48b,_48c,_48d;_487=_487||null;if(_486&&_488&&_488.isCollapsed){if(_488.rangeCount){_489=_488.getRangeAt(0);rs=_489.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _48e=_489.startOffset;if(rs.length<_48e){ret=this._adjustNodeAndOffset(rs,_48e);rs=ret.node;_48e=ret.offset;}txt=rs.nodeValue;_48a=doc.createTextNode(txt.substring(0,_48e));var _48f=txt.substring(_48e);if(_48f!==""){_48b=doc.createTextNode(txt.substring(_48e));}_48c=_3e5.create("span");_48d=doc.createTextNode(".");_48c.appendChild(_48d);var _490=_3e5.create("span");_48c.appendChild(_490);if(_48a.length){_3e5.place(_48a,rs,"after");}else{_48a=rs;}_3e5.place(_48c,_48a,"after");if(_48b){_3e5.place(_48b,_48c,"after");}_3e5.destroy(rs);var _491=_3f2.create();_491.setStart(_48d,0);_491.setEnd(_48d,_48d.length);_488.removeAllRanges();_488.addRange(_491);if(has("webkit")){var _492="color";if(_486==="hilitecolor"||_486==="backcolor"){_492="backgroundColor";}_3e7.set(_48c,_492,_487);_3f1.remove();_3e5.destroy(_490);_48c.innerHTML="&#160;";_3f1.selectElement(_48c);this.focus();}else{this.execCommand(_486,_487);_3e5.place(_48c.firstChild,_48c,"before");_3e5.destroy(_48c);_491.setStart(_48d,0);_491.setEnd(_48d,_48d.length);_488.removeAllRanges();_488.addRange(_491);_3f1.collapse(false);_48d.parentNode.removeChild(_48d);}}));return true;}}}return false;},_adjustNodeAndOffset:function(node,_493){while(node.length<_493&&node.nextSibling&&node.nextSibling.nodeType===3){_493=_493-node.length;node=node.nextSibling;}return {"node":node,"offset":_493};},_tagNamesForCommand:function(_494){if(_494==="bold"){return ["b","strong"];}else{if(_494==="italic"){return ["i","em"];}else{if(_494==="strikethrough"){return ["s","strike"];}else{if(_494==="superscript"){return ["sup"];}else{if(_494==="subscript"){return ["sub"];}else{if(_494==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){win.withGlobal(this.window,lang.hitch(this,function(){var _495=_3ea(".ieFormatBreakerSpan",node);var i;for(i=0;i<_495.length;i++){var b=_495[i];while(b.firstChild){_3e5.place(b.firstChild,b,"before");}_3e5.destroy(b);}}));return node;}});return _3f6;});},"dijit/nls/loading":function(){define({root:({loadingState:"Loading...",errorState:"Sorry, an error occurred"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dojo/dnd/Moveable":function(){define(["../main","../Evented","../touch","./Mover"],function(dojo,_496,_497){dojo.declare("dojo.dnd.Moveable",[_496],{handle:"",delay:0,skip:false,constructor:function(node,_498){this.node=dojo.byId(node);if(!_498){_498={};}this.handle=_498.handle?dojo.byId(_498.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_498.delay>0?_498.delay:0;this.skip=_498.skip;this.mover=_498.mover?_498.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,_497.press,this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_499,node,ctor){return new ctor(node,_499);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,_497.move,this,"onMouseMove"),dojo.connect(this.handle,_497.release,this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}dojo.stopEvent(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);}dojo.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){dojo.disconnect(this.events.pop());}dojo.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_49a){dojo.publish("/dnd/move/start",[_49a]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_49b){dojo.publish("/dnd/move/stop",[_49b]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_49c,e){},onMove:function(_49d,_49e,e){this.onMoving(_49d,_49e);var s=_49d.node.style;s.left=_49e.l+"px";s.top=_49e.t+"px";this.onMoved(_49d,_49e);},onMoving:function(_49f,_4a0){},onMoved:function(_4a1,_4a2){}});return dojo.dnd.Moveable;});},"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","."],function(_4a3,_4a4,_4a5,keys,lang,_4a6,_4a7,_4a8,_4a9,_4aa,_4ab,_4ac){return _4a3("dijit.TooltipDialog",[_4a7,_4aa,_4a9,_4a8],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_4ab,_setTitleAttr:function(_4ad){this.containerNode.title=_4ad;this._set("title",_4ad);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_4ae,_4af){var newC="dijitTooltipAB"+(_4af.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_4af.charAt(0)=="T"?"Below":"Above");_4a4.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_4a6.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.containerNode);}var _4b0=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){setTimeout(lang.hitch(this,"onCancel"),0);_4a5.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_4b0){_4a6.focus(this._lastFocusItem);}_4a5.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_4b0){_4a6.focus(this._firstFocusItem);}_4a5.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"dojo/nls/colors":function(){define({root:({aliceblue:"alice blue",antiquewhite:"antique white",aqua:"aqua",aquamarine:"aquamarine",azure:"azure",beige:"beige",bisque:"bisque",black:"black",blanchedalmond:"blanched almond",blue:"blue",blueviolet:"blue-violet",brown:"brown",burlywood:"burlywood",cadetblue:"cadet blue",chartreuse:"chartreuse",chocolate:"chocolate",coral:"coral",cornflowerblue:"cornflower blue",cornsilk:"cornsilk",crimson:"crimson",cyan:"cyan",darkblue:"dark blue",darkcyan:"dark cyan",darkgoldenrod:"dark goldenrod",darkgray:"dark gray",darkgreen:"dark green",darkgrey:"dark gray",darkkhaki:"dark khaki",darkmagenta:"dark magenta",darkolivegreen:"dark olive green",darkorange:"dark orange",darkorchid:"dark orchid",darkred:"dark red",darksalmon:"dark salmon",darkseagreen:"dark sea green",darkslateblue:"dark slate blue",darkslategray:"dark slate gray",darkslategrey:"dark slate gray",darkturquoise:"dark turquoise",darkviolet:"dark violet",deeppink:"deep pink",deepskyblue:"deep sky blue",dimgray:"dim gray",dimgrey:"dim gray",dodgerblue:"dodger blue",firebrick:"fire brick",floralwhite:"floral white",forestgreen:"forest green",fuchsia:"fuchsia",gainsboro:"gainsboro",ghostwhite:"ghost white",gold:"gold",goldenrod:"goldenrod",gray:"gray",green:"green",greenyellow:"green-yellow",grey:"gray",honeydew:"honeydew",hotpink:"hot pink",indianred:"indian red",indigo:"indigo",ivory:"ivory",khaki:"khaki",lavender:"lavender",lavenderblush:"lavender blush",lawngreen:"lawn green",lemonchiffon:"lemon chiffon",lightblue:"light blue",lightcoral:"light coral",lightcyan:"light cyan",lightgoldenrodyellow:"light goldenrod yellow",lightgray:"light gray",lightgreen:"light green",lightgrey:"light gray",lightpink:"light pink",lightsalmon:"light salmon",lightseagreen:"light sea green",lightskyblue:"light sky blue",lightslategray:"light slate gray",lightslategrey:"light slate gray",lightsteelblue:"light steel blue",lightyellow:"light yellow",lime:"lime",limegreen:"lime green",linen:"linen",magenta:"magenta",maroon:"maroon",mediumaquamarine:"medium aquamarine",mediumblue:"medium blue",mediumorchid:"medium orchid",mediumpurple:"medium purple",mediumseagreen:"medium sea green",mediumslateblue:"medium slate blue",mediumspringgreen:"medium spring green",mediumturquoise:"medium turquoise",mediumvioletred:"medium violet-red",midnightblue:"midnight blue",mintcream:"mint cream",mistyrose:"misty rose",moccasin:"moccasin",navajowhite:"navajo white",navy:"navy",oldlace:"old lace",olive:"olive",olivedrab:"olive drab",orange:"orange",orangered:"orange red",orchid:"orchid",palegoldenrod:"pale goldenrod",palegreen:"pale green",paleturquoise:"pale turquoise",palevioletred:"pale violet-red",papayawhip:"papaya whip",peachpuff:"peach puff",peru:"peru",pink:"pink",plum:"plum",powderblue:"powder blue",purple:"purple",red:"red",rosybrown:"rosy brown",royalblue:"royal blue",saddlebrown:"saddle brown",salmon:"salmon",sandybrown:"sandy brown",seagreen:"sea green",seashell:"seashell",sienna:"sienna",silver:"silver",skyblue:"sky blue",slateblue:"slate blue",slategray:"slate gray",slategrey:"slate gray",snow:"snow",springgreen:"spring green",steelblue:"steel blue",tan:"tan",teal:"teal",thistle:"thistle",tomato:"tomato",transparent:"transparent",turquoise:"turquoise",violet:"violet",wheat:"wheat",white:"white",whitesmoke:"white smoke",yellow:"yellow",yellowgreen:"yellow green"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_4b1){return function(_4b2,_4b3){switch(typeof _4b2){default:throw new Error("Can not query with a "+typeof _4b2);case "object":case "undefined":var _4b4=_4b2;_4b2=function(_4b5){for(var key in _4b4){var _4b6=_4b4[key];if(_4b6&&_4b6.test){if(!_4b6.test(_4b5[key])){return false;}}else{if(_4b6!=_4b5[key]){return false;}}}return true;};break;case "string":if(!this[_4b2]){throw new Error("No filter function "+_4b2+" was found in store");}_4b2=this[_4b2];case "function":}function _4b7(_4b8){var _4b9=_4b1.filter(_4b8,_4b2);if(_4b3&&_4b3.sort){_4b9.sort(function(a,b){for(var sort,i=0;sort=_4b3.sort[i];i++){var _4ba=a[sort.attribute];var _4bb=b[sort.attribute];if(_4ba!=_4bb){return !!sort.descending==_4ba>_4bb?-1:1;}}return 0;});}if(_4b3&&(_4b3.start||_4b3.count)){var _4bc=_4b9.length;_4b9=_4b9.slice(_4b3.start||0,(_4b3.start||0)+(_4b3.count||Infinity));_4b9.total=_4bc;}return _4b9;};_4b7.matches=_4b2;return _4b7;};});},"dojo/cldr/nls/number":function(){define({root:{"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","currencyFormat":"¤ #,##0.00","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-gb":true,"es":true,"fi":true,"fr":true,"fr-ch":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"pt-pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true});},"dijit/form/_ExpandingTextAreaMixin":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/_base/window"],function(_4bd,_4be,lang,win){var _4bf;return _4bd("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _4c0=this.textbox;if(_4bf==undefined){var te=_4be.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,overflow:"hidden",visibility:"hidden",position:"absolute",border:"0px solid black",padding:"0px"}},win.body(),"last");_4bf=te.scrollHeight>=te.clientHeight;win.body().removeChild(te);}this.connect(_4c0,"onscroll","_resizeLater");this.connect(_4c0,"onresize","_resizeLater");this.connect(_4c0,"onfocus","_resizeLater");_4c0.style.overflowY="hidden";this._estimateHeight();this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _4c1=this.textbox;_4c1.style.height="auto";_4c1.rows=(_4c1.value.match(/\n/g)||[]).length+2;},_resizeLater:function(){setTimeout(lang.hitch(this,"resize"),0);},resize:function(){function _4c2(){var _4c3=false;if(_4c4.value===""){_4c4.value=" ";_4c3=true;}var sh=_4c4.scrollHeight;if(_4c3){_4c4.value="";}return sh;};var _4c4=this.textbox;if(_4c4.style.overflowY=="hidden"){_4c4.scrollTop=0;}if(this.resizeTimer){clearTimeout(this.resizeTimer);}this.resizeTimer=null;if(this.busyResizing){return;}this.busyResizing=true;if(_4c2()||_4c4.offsetHeight){var _4c5=_4c4.style.height;if(!(/px/.test(_4c5))){_4c5=_4c2();_4c4.rows=1;_4c4.style.height=_4c5+"px";}var newH=Math.max(parseInt(_4c5)-_4c4.clientHeight,0)+_4c2();var _4c6=newH+"px";if(_4c6!=_4c4.style.height){_4c4.rows=1;_4c4.style.height=_4c6;}if(_4bf){var _4c7=_4c2();_4c4.style.height="auto";if(_4c2()<_4c7){_4c6=newH-_4c7+_4c2()+"px";}_4c4.style.height=_4c6;}_4c4.style.overflowY=_4c2()>_4c4.clientHeight?"auto":"hidden";}else{this._estimateHeight();}this.busyResizing=false;},destroy:function(){if(this.resizeTimer){clearTimeout(this.resizeTimer);}if(this.shrinkTimer){clearTimeout(this.shrinkTimer);}this.inherited(arguments);}});});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_4c8,dom,_4c9,_4ca,_4cb,_4cc,has,_4cd,_4ce,_4cf,_4d0,_4d1){return _4c8("dijit.MenuItem",[_4cd,_4ce,_4cf,_4d0],{templateString:_4d1,baseClass:"dijitMenuItem",label:"",_setLabelAttr:{node:"containerNode",type:"innerHTML"},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_4d2){if(_4d2&&!("label" in this.params)){this.set("label",_4d2.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _4d3=this.id+"_text";_4c9.set(this.containerNode,"id",_4d3);if(this.accelKeyNode){_4c9.set(this.accelKeyNode,"id",this.id+"_accel");_4d3+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_4d3);dom.setSelectable(this.domNode,false);},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);this._set("hovering",false);},_onClick:function(evt){this.getParent().onItemClick(this,evt);_4cb.stop(evt);},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(_4d4){_4ca.toggle(this.domNode,"dijitMenuItemSelected",_4d4);},setLabel:function(_4d5){_4cc.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_4d5);},setDisabled:function(_4d6){_4cc.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_4d6);},_setDisabledAttr:function(_4d7){this.focusNode.setAttribute("aria-disabled",_4d7?"true":"false");this._set("disabled",_4d7);},_setAccelKeyAttr:function(_4d8){this.accelKeyNode.style.display=_4d8?"":"none";this.accelKeyNode.innerHTML=_4d8;_4c9.set(this.containerNode,"colSpan",_4d8?"1":"2");this._set("accelKey",_4d8);}});});},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_4d9,_4da,_4db){var _4dc=_4d9("dijit._MenuBarItemMixin",null,{templateString:_4db,_setIconClassAttr:null});var _4dd=_4d9("dijit.MenuBarItem",[_4da,_4dc],{});_4dd._MenuBarItemMixin=_4dc;return _4dd;});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/i18n","dojo/_base/lang","./StackController","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_4de,dom,_4df,_4e0,i18n,lang,_4e1,Menu,_4e2,_4e3){var _4e4=_4de("dijit.layout._TabButton",_4e1.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_4e3,scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;setTimeout(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_4e0.toggle(this.innerDiv,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _4e5=i18n.getLocalization("dijit","common");if(this.closeNode){_4df.set(this.closeNode,"title",_4e5.itemClose);}this._closeMenu=new Menu({id:this.id+"_Menu",dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode]});this._closeMenu.addChild(new _4e2({label:_4e5.itemClose,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:lang.hitch(this,"onClickCloseButton")}));}else{if(this._closeMenu){this._closeMenu.destroyRecursive();delete this._closeMenu;}}},_setLabelAttr:function(_4e6){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},destroy:function(){if(this._closeMenu){this._closeMenu.destroyRecursive();delete this._closeMenu;}this.inherited(arguments);}});var _4e7=_4de("dijit.layout.TabController",_4e1,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:_4e4,_rectifyRtlTabList:function(){if(0>=this.tabPosition.indexOf("-h")){return;}if(!this.pane2button){return;}var _4e8=0;for(var pane in this.pane2button){var ow=this.pane2button[pane].innerDiv.scrollWidth;_4e8=Math.max(_4e8,ow);}for(pane in this.pane2button){this.pane2button[pane].innerDiv.style.width=_4e8+"px";}}});_4e7.TabButton=_4e4;return _4e7;});},"dojo/cldr/supplemental":function(){define(["../_base/kernel","../_base/lang","../i18n"],function(dojo,lang){lang.getObject("cldr.supplemental",true,dojo);dojo.cldr.supplemental.getFirstDayOfWeek=function(_4e9){var _4ea={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,sy:6,tn:6,ye:6,ar:0,as:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,il:0,"in":0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mn:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,zw:0};var _4eb=dojo.cldr.supplemental._region(_4e9);var dow=_4ea[_4eb];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_4ec){_4ec=dojo.i18n.normalizeLocale(_4ec);var tags=_4ec.split("-");var _4ed=tags[1];if(!_4ed){_4ed={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_4ed.length==4){_4ed=tags[2];}}return _4ed;};dojo.cldr.supplemental.getWeekend=function(_4ee){var _4ef={"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};var _4f0={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};var _4f1=dojo.cldr.supplemental._region(_4ee);var _4f2=_4ef[_4f1];var end=_4f0[_4f1];if(_4f2===undefined){_4f2=6;}if(end===undefined){end=0;}return {start:_4f2,end:end};};return dojo.cldr.supplemental;});},"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(_4f3,_4f4,keys,_4f5,_4f6){return _4f3("dijit.MenuBar",_4f5,{templateString:_4f6,baseClass:"dijitMenuBar",_isMenuBar:true,postCreate:function(){var l=this.isLeftToRight();this.connectKeyNavHandlers(l?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],l?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);this._orient=["below"];},focusChild:function(item){var _4f7=this.focusedChild,_4f8=_4f7&&_4f7.popup&&_4f7.popup.isShowingNow;this.inherited(arguments);if(_4f8&&item.popup&&!item.disabled){this._openPopup();}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case keys.DOWN_ARROW:this._moveToPopup(evt);_4f4.stop(evt);}},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow){item.popup.onCancel();}else{this.inherited(arguments);}}});});},"dijit/ToolbarSeparator":function(){define("dijit/ToolbarSeparator",["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_4f9,dom,_4fa,_4fb){return _4f9("dijit.ToolbarSeparator",[_4fa,_4fb],{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/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/i18n!../nls/common"],function(_4fc,_4fd,_4fe,keys,lang,has,_4ff,_500,_501,_502,_503,_504){var _505=_4fd("dijit.layout._StackButton",_504,{tabIndex:"-1",closeButton:false,_setCheckedAttr:function(_506,_507){this.inherited(arguments);this.focusNode.removeAttribute("aria-pressed");},buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");},onClick:function(){_4ff.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});var _508=_4fd("dijit.layout.StackController",[_501,_502,_503],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:_505,constructor:function(){this.pane2button={};this.pane2connects={};this.pane2watches={};},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");},onStartup:function(info){_4fc.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_500.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_509){var cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _50a=new cls({id:this.id+"_"+page.id,label:page.title,dir:page.dir,lang:page.lang,textDir:page.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip});_50a.focusNode.setAttribute("aria-selected","false");var _50b=["title","showTitle","iconClass","closable","tooltip"],_50c=["label","showLabel","iconClass","closeButton","title"];this.pane2watches[page.id]=_4fc.map(_50b,function(_50d,idx){return page.watch(_50d,function(name,_50e,_50f){_50a.set(_50c[idx],_50f);});});this.pane2connects[page.id]=[this.connect(_50a,"onClick",lang.hitch(this,"onButtonClick",page)),this.connect(_50a,"onClickCloseButton",lang.hitch(this,"onCloseButtonClick",page))];this.addChild(_50a,_509);this.pane2button[page.id]=_50a;page.controlButton=_50a;if(!this._currentChild){_50a.focusNode.setAttribute("tabIndex","0");_50a.focusNode.setAttribute("aria-selected","true");this._currentChild=page;}if(!this.isLeftToRight()&&has("ie")&&this._rectifyRtlTabList){this._rectifyRtlTabList();}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}_4fc.forEach(this.pane2connects[page.id],lang.hitch(this,"disconnect"));delete this.pane2connects[page.id];_4fc.forEach(this.pane2watches[page.id],function(w){w.unwatch();});delete this.pane2watches[page.id];var _510=this.pane2button[page.id];if(_510){this.removeChild(_510);delete this.pane2button[page.id];_510.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _511=this.pane2button[this._currentChild.id];_511.set("checked",false);_511.focusNode.setAttribute("aria-selected","false");_511.focusNode.setAttribute("tabIndex","-1");}var _512=this.pane2button[page.id];_512.set("checked",true);_512.focusNode.setAttribute("aria-selected","true");this._currentChild=page;_512.focusNode.setAttribute("tabIndex","0");var _513=_500.byId(this.containerId);_513.containerNode.setAttribute("aria-labelledby",_512.id);},onButtonClick:function(page){if(this._currentChild.id===page.id){var _514=this.pane2button[page.id];_514.set("checked",true);}var _515=_500.byId(this.containerId);_515.selectChild(page);},onCloseButtonClick:function(page){var _516=_500.byId(this.containerId);_516.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_4ff.focus(b.focusNode||b.domNode);}}},adjacent:function(_517){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_517=!_517;}var _518=this.getChildren();var _519=_4fc.indexOf(_518,this.pane2button[this._currentChild.id]);var _51a=_517?1:_518.length-1;return _518[(_519+_51a)%_518.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _51b=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_51b=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_51b=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_51b=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_51b=true;}break;case keys.HOME:case keys.END:var _51c=this.getChildren();if(_51c&&_51c.length){_51c[e.charOrCode==keys.HOME?0:_51c.length-1].onClick();}_4fe.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_4fe.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.adjacent(!e.shiftKey).onClick();_4fe.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_4fe.stop(e);}}}}if(_51b!==null){this.adjacent(_51b).onClick();_4fe.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_508.StackButton=_505;return _508;});},"url:dijit/templates/TooltipDialog.html":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\"></div>\n</div>\n","dojo/dnd/Mover":function(){define(["../main","../Evented","../touch","./common","./autoscroll"],function(dojo,_51d,_51e){dojo.declare("dojo.dnd.Mover",[_51d],{constructor:function(node,e,host){this.node=dojo.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;this.events=[dojo.connect(d,_51e.move,this,"onFirstMove"),dojo.connect(d,_51e.move,this,"onMouseMove"),dojo.connect(d,_51e.release,this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo.stopEvent),dojo.connect(d.body,"onselectstart",dojo.stopEvent)];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isWebKit&&dojo.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(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=dojo.marginBox(this.node);var b=dojo.doc.body;var bs=dojo.getComputedStyle(b);var bm=dojo._getMarginBox(b,bs);var bc=dojo._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);}dojo.disconnect(this.events.shift());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});return dojo.dnd.Mover;});},"dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_51f,_520,_521){return _51f("dijit.form.HorizontalRule",[_520,_521],{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 _522;if(this.count==1){_522=this._genHTML(50,0);}else{var i;var _523=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_522=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_522+=this._genHTML(_523*i,i);}_522+=this._genHTML(100,this.count-1);}else{_522=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_522+=this._genHTML(100-_523*i,i);}_522+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_522;}});});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_524,_525,_526,_527){return _524("dijit.layout.TabContainer",_525,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_528){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_526=lang.getObject(this.controllerWidget);return new _526({id:this.id+"_tablist",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},_528);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?"dijit.layout.ScrollingTabController":"dijit.layout.TabController";}}});});},"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","dijit/_editor/nls/FontChoice":function(){define({root:({fontSize:"Size",fontName:"Font",formatBlock:"Format",serif:"serif","sans-serif":"sans-serif",monospace:"monospace",cursive:"cursive",fantasy:"fantasy",noFormat:"None",p:"Paragraph",h1:"Heading",h2:"Subheading",h3:"Sub-subheading",pre:"Pre-formatted",1:"xx-small",2:"x-small",3:"small",4:"medium",5:"large",6:"x-large",7:"xx-large"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dijit/form/_Spinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dijit/typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_529,_52a,keys,lang,has,_52b,_52c,_52d,_52e){return _529("dijit.form._Spinner",_52c,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_52d,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_52f,_530,_531){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_530*_531),false);_52e.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_532,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(_532==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){_52a.stop(evt);var _533=evt.wheelDelta/120;if(Math.floor(_533)!=_533){_533=evt.wheelDelta>0?1:-1;}var _534=evt.detail?(evt.detail*-1):_533;if(_534!==0){var node=this[(_534>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_534,this.smallDelta);if(!this._wheelTimer){clearTimeout(this._wheelTimer);}this._wheelTimer=setTimeout(lang.hitch(this,"_arrowReleased",node),50);}},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_52b.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));this._connects.push(_52b.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));this._connects.push(_52b.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));this._connects.push(_52b.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/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_535,_536,_537,_538,lang,_539,_53a,_53b,_53c){if(!_538.isAsync){_539(0,function(){var _53d=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_535(_53d);});}return _536("dijit.form.Button",[_53a,_53b],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_53c,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();}}return ok;},_fillContent:function(_53e){if(_53e&&(!this.params||!("label" in this.params))){var _53f=lang.trim(_53e.innerHTML);if(_53f){this.label=_53f;}}},_setShowLabelAttr:function(val){if(this.containerNode){_537.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_540){_538.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_540);},_setLabelAttr:function(_541){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(["../main","./Mover","./Moveable"],function(dojo){dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,constructor:function(node,_542){if(!_542){_542={};}this.constraints=_542.constraints;this.within=_542.within;},onFirstMove:function(_543){var c=this.constraintBox=this.constraints.call(this,_543);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo._getMarginSize(_543.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_544,_545){var c=this.constraintBox,s=_544.node.style;this.onMoving(_544,_545);_545.l=_545.l<c.l?c.l:c.r<_545.l?c.r:_545.l;_545.t=_545.t<c.t?c.t:c.b<_545.t?c.b:_545.t;s.left=_545.l+"px";s.top=_545.t+"px";this.onMoved(_544,_545);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},constructor:function(node,_546){var box=_546&&_546.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",constructor:function(node,_547){var area=_547&&_547.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._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=dojo._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=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;return dojo.dnd.move;});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_548,_549,_54a,_54b,has,_54c,_54d,_54e,_54f){return _548("dijit.form.Form",[_54c,_54d,_54e,_54f],{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(_550){this.encType=_550;_549.set(this.domNode,"encType",_550);if(has("ie")){this.domNode.encoding=_550;}},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);_54a.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_54b.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_54a.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"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(_551,_552,_553,_554,_555,_556,_557,_558){return _555("dijit.layout._TabContainerBase",[_552,_554],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_551,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_558.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_556.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_556.add(this.domNode,"dijitTabContainerNested");_556.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_556.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_556.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_556.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_556.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 _559=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_559;var _55a=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_559},{domNode:this.containerNode,layoutAlign:"client"}];_553.layoutChildren(this.domNode,this._contentBox,_55a);this._containerContentBox=_553.marginBox2contentBox(this.containerNode,_55a[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _55b=_557.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_55b});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_55c,_55d,_55e){return _55c("dojo.store.Memory",null,{constructor:function(_55f){for(var i in _55f){this[i]=_55f[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_55e,get:function(id){return this.data[this.index[id]];},getIdentity:function(_560){return _560[this.idProperty];},put:function(_561,_562){var data=this.data,_563=this.index,_564=this.idProperty;var id=(_562&&"id" in _562)?_562.id:_564 in _561?_561[_564]:Math.random();if(id in _563){if(_562&&_562.overwrite===false){throw new Error("Object already exists");}data[_563[id]]=_561;}else{_563[id]=data.push(_561)-1;}return id;},add:function(_565,_566){(_566=_566||{}).overwrite=false;return this.put(_565,_566);},remove:function(id){var _567=this.index;var data=this.data;if(id in _567){data.splice(_567[id],1);this.setData(data);return true;}},query:function(_568,_569){return _55d(this.queryEngine(_568,_569)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier;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(["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/_base/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",".","dojo/i18n!./_editor/nls/commands"],function(_56a,_56b,_56c,i18n,_56d,_56e,_56f,_570,_571,keys,lang,has,_572,_573,win,_574,_575,_576,_577,_578,_579,_57a,_57b,html,_57c,_57d,_57e){var _57f=_56b("dijit.Editor",_57d,{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",_57b];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _56c();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 _576({dir:this.dir,lang:this.lang});this.header.appendChild(this.toolbar.domNode);}_56a.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.callback(true);_56e.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_56e.add(this.iframe,"dijitEditorIFrame");_56d.set(this.iframe,"allowTransparency",true);if(has("webkit")){_570.set(this.domNode,"KhtmlUserSelect","none");}this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_56a.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_580,_581){var args=lang.isString(_580)?{name:_580}:lang.isFunction(_580)?{ctor:_580}:_580;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_57a.registry[args.name]){o.plugin=_57a.registry[args.name](args);}else{_573.publish(_57e._scopeName+".Editor.getPlugin",o);}}if(!o.plugin){var pc=args.ctor||lang.getObject(args.name);if(pc){o.plugin=new pc(args);}}if(!o.plugin){console.warn("Cannot find plugin",_580);return;}_580=o.plugin;}if(arguments.length>1){this._plugins[_581]=_580;}else{this._plugins.push(_580);}_580.setEditor(this);if(lang.isFunction(_580.setToolbar)){_580.setToolbar(this.toolbar);}},resize:function(size){if(size){_578.prototype.resize.apply(this,arguments);}},layout:function(){var _582=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_56f.getPadBorderExtents(this.iframe.parentNode).h+_56f.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_582+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _583;var b=this.document.body;var _584=b.clientWidth;var _585=b.clientHeight;var _586=b.clientLeft;var _587=b.offsetWidth;var _588=b.offsetHeight;var _589=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_584<_587&&e.x>_584&&e.x<_587){_583=true;}}else{if(e.x<_586&&e.x>_589){_583=true;}}if(!_583){if(_585<_588&&e.y>_585&&e.y<_588){_583=true;}}if(!_583){delete this._cursorToStart;delete this._savedSelection;if(e.target.tagName=="BODY"){setTimeout(lang.hitch(this,"placeCursorAtEnd"),0);}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){clearTimeout(this._editTimer);}this._editTimer=setTimeout(lang.hitch(this,this.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){var sub=_572.substitute,_58a={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_58a[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 _58b=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_58c,_58d,sel;if(mark){if(has("ie")<9){if(lang.isArray(mark)){_58b=[];_56a.forEach(mark,function(n){_58b.push(_57c.getNode(n,this.editNode));},this);win.withGlobal(this.window,"moveToBookmark",_57e,[{mark:_58b,isCollapsed:col}]);}else{if(mark.startContainer&&mark.endContainer){sel=_57c.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_57c.create(this.window);_58c=_57c.getNode(mark.startContainer,this.editNode);_58d=_57c.getNode(mark.endContainer,this.editNode);if(_58c&&_58d){r.setStart(_58c,mark.startOffset);r.setEnd(_58d,mark.endOffset);sel.addRange(r);}}}}}else{sel=_57c.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_57c.create(this.window);_58c=_57c.getNode(mark.startContainer,this.editNode);_58d=_57c.getNode(mark.endContainer,this.editNode);if(_58c&&_58d){r.setStart(_58c,mark.startOffset);r.setEnd(_58d,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(_58e){if(this._editTimer){clearTimeout(this._editTimer);}if(this._inEditing){this._endEditing(_58e);this._inEditing=false;}},_getBookmark:function(){var b=win.withGlobal(this.window,_574.getBookmark);var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9){var sel=_57c.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _58f;if(sel.rangeCount){_58f=sel.getRangeAt(0);}if(_58f){b.mark=_58f.cloneRange();}else{b.mark=win.withGlobal(this.window,_574.getBookmark);}}}else{_56a.forEach(b.mark,function(n){tmp.push(_57c.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_57c.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_57c.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){_571.stop(e);this.undo();return;}else{if(k==89||k==121){_571.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");setTimeout(lang.hitch(this,this.endEditing),1);}else{this.beginEditing("paste");setTimeout(lang.hitch(this,this.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",_57e)){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(_590){var _591=lang.hitch(this,function(){if((!this.disabled&&_590)||(!this._buttonEnabledPlugins&&_590)){_56a.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_590){_56a.forEach(this._plugins,function(p){p.set("disabled",false);});}}});this.setValueDeferred.addCallback(_591);this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_570.set(this.document.body,"color",_570.get(this.iframe,"color"));}}catch(e){}}});function _592(args){return new _57a({command:args.name});};function _593(args){return new _57a({buttonClass:_579,command:args.name});};lang.mixin(_57a.registry,{"undo":_592,"redo":_592,"cut":_592,"copy":_592,"paste":_592,"insertOrderedList":_592,"insertUnorderedList":_592,"indent":_592,"outdent":_592,"justifyCenter":_592,"justifyFull":_592,"justifyLeft":_592,"justifyRight":_592,"delete":_592,"selectAll":_592,"removeFormat":_592,"unlink":_592,"insertHorizontalRule":_592,"bold":_593,"italic":_593,"underline":_593,"strikethrough":_593,"subscript":_593,"superscript":_593,"|":function(){return new _57a({button:new _577(),setEditor:function(_594){this.editor=_594;}});}});return _57f;});},"dojo/cldr/nls/currency":function(){define({root:{"USD_symbol":"US$","CAD_symbol":"CA$","GBP_symbol":"£","HKD_symbol":"HK$","JPY_symbol":"JP¥","AUD_symbol":"AU$","CNY_symbol":"CN¥","EUR_symbol":"€"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-ca":true,"es":true,"fi":true,"fr":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true,"zh-tw":true});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/_base/kernel","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_595,_596,_597,keys,_598,_599,_59a,_59b){if(!_597.isAsync){_598(0,function(){var _59c=["dijit/ToolbarSeparator"];_595(_59c);});}return _596("dijit.Toolbar",[_599,_59b,_59a],{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/_base/kernel","dojo/_base/lang","dojo/ready","dojo/topic","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_59d,_59e,_59f,_5a0,_5a1,lang,_5a2,_5a3,_5a4,_5a5,_5a6){if(!_5a1.isAsync){_5a2(0,function(){var _5a7=["dijit/layout/StackController"];require(_5a7);});}lang.extend(_5a5,{selected:false,closable:false,iconClass:"dijitNoIcon",showTitle:true});return _59f("dijit.layout.StackContainer",_5a6,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_5a0.add(this.domNode,"dijitLayoutContainer");this.containerNode.setAttribute("role","tabpanel");},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _5a8=this.getChildren();_59d.forEach(_5a8,this._setupChild,this);if(this.persist){this.selectedChildWidget=_5a4.byId(_59e(this.id+"_selectedChild"));}else{_59d.some(_5a8,function(_5a9){if(_5a9.selected){this.selectedChildWidget=_5a9;}return _5a9.selected;},this);}var _5aa=this.selectedChildWidget;if(!_5aa&&_5a8[0]){_5aa=this.selectedChildWidget=_5a8[0];_5aa.selected=true;}_5a3.publish(this.id+"-startup",{children:_5a8,selected:_5aa});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _5ab=this.selectedChildWidget;if(_5ab){this._showChild(_5ab);}}this.inherited(arguments);},_setupChild:function(_5ac){this.inherited(arguments);_5a0.replace(_5ac.domNode,"dijitHidden","dijitVisible");_5ac.domNode.title="";},addChild:function(_5ad,_5ae){this.inherited(arguments);if(this._started){_5a3.publish(this.id+"-addChild",_5ad,_5ae);this.layout();if(!this.selectedChildWidget){this.selectChild(_5ad);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_5a3.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _5af=this.getChildren();if(_5af.length){this.selectChild(_5af[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_5b0){page=_5a4.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_5b0);this._set("selectedChildWidget",page);_5a3.publish(this.id+"-selectChild",page);if(this.persist){_59e(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_5b1,_5b2){if(_5b2){this._hideChild(_5b2);}var d=this._showChild(_5b1);if(_5b1.resize){if(this.doLayout){_5b1.resize(this._containerContentBox||this._contentBox);}else{_5b1.resize();}}return d;},_adjacent:function(_5b3){var _5b4=this.getChildren();var _5b5=_59d.indexOf(_5b4,this.selectedChildWidget);_5b5+=_5b3?1:_5b4.length-1;return _5b4[_5b5%_5b4.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_5a3.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _5b6=this.selectedChildWidget;if(_5b6&&_5b6.resize){if(this.doLayout){_5b6.resize(this._containerContentBox||this._contentBox);}else{_5b6.resize();}}},_showChild:function(page){var _5b7=this.getChildren();page.isFirstChild=(page==_5b7[0]);page.isLastChild=(page==_5b7[_5b7.length-1]);page._set("selected",true);_5a0.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_5a0.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _5b8=page.onClose(this,page);if(_5b8){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_5b9){this._descendantsBeingDestroyed=true;_59d.forEach(this.getChildren(),function(_5ba){if(!_5b9){this.removeChild(_5ba);}_5ba.destroyRecursive(_5b9);},this);this._descendantsBeingDestroyed=false;}});});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_5bb){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_5bb&&_5bb.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_5bc){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_5bc);};dojo.regexp.group=function(_5bd,_5be){return "("+(_5be?"?:":"")+_5bd+")";};return dojo.regexp;});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_5bf,_5c0,_5c1){return _5bf("dijit.form.ComboBox",[_5c0,_5c1],{});});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/window"],function(_5c2,_5c3,_5c4,lang,_5c5){return _5c3("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_5c6){var res=[];_5c2.forEach(_5c6||this.getChildren(),function(_5c7){if("value" in _5c7){res.push(_5c7);}else{res=res.concat(this._getDescendantFormWidgets(_5c7.getChildren()));}},this);return res;},reset:function(){_5c2.forEach(this._getDescendantFormWidgets(),function(_5c8){if(_5c8.reset){_5c8.reset();}});},validate:function(){var _5c9=false;return _5c2.every(_5c2.map(this._getDescendantFormWidgets(),function(_5ca){_5ca._hasBeenBlurred=true;var _5cb=_5ca.disabled||!_5ca.validate||_5ca.validate();if(!_5cb&&!_5c9){_5c5.scrollIntoView(_5ca.containerNode||_5ca.domNode);_5ca.focus();_5c9=true;}return _5cb;}),function(item){return item;});},setValues:function(val){_5c4.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_5c2.forEach(this._getDescendantFormWidgets(),function(_5cc){if(!_5cc.name){return;}var _5cd=map[_5cc.name]||(map[_5cc.name]=[]);_5cd.push(_5cc);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _5ce=map[name],_5cf=lang.getObject(name,false,obj);if(_5cf===undefined){continue;}if(!lang.isArray(_5cf)){_5cf=[_5cf];}if(typeof _5ce[0].checked=="boolean"){_5c2.forEach(_5ce,function(w){w.set("value",_5c2.indexOf(_5cf,w.value)!=-1);});}else{if(_5ce[0].multiple){_5ce[0].set("value",_5cf);}else{_5c2.forEach(_5ce,function(w,i){w.set("value",_5cf[i]);});}}}},getValues:function(){_5c4.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_5c2.forEach(this._getDescendantFormWidgets(),function(_5d0){var name=_5d0.name;if(!name||_5d0.disabled){return;}var _5d1=_5d0.get("value");if(typeof _5d0.checked=="boolean"){if(/Radio/.test(_5d0.declaredClass)){if(_5d1!==false){lang.setObject(name,_5d1,obj);}else{_5d1=lang.getObject(name,false,obj);if(_5d1===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_5d1!==false){ary.push(_5d1);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_5d1);}else{lang.setObject(name,[prev,_5d1],obj);}}else{lang.setObject(name,_5d1,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _5d2=_5c2.map(this._descendants,function(w){return w.get("state")||"";});return _5c2.indexOf(_5d2,"Error")>=0?"Error":_5c2.indexOf(_5d2,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){_5c2.forEach(this._childConnections||[],lang.hitch(this,"disconnect"));_5c2.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_5d3){var _5d4=this;this.disconnectChildren();this._descendants=this._getDescendantFormWidgets();var set=_5d3?function(name,val){_5d4[name]=val;}:lang.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _5d5=(this._childConnections=[]),_5d6=(this._childWatches=[]);_5c2.forEach(_5c2.filter(this._descendants,function(item){return item.validate;}),function(_5d7){_5c2.forEach(["state","disabled"],function(attr){_5d6.push(_5d7.watch(attr,function(){_5d4.set("state",_5d4._getState());}));});});var _5d8=function(){if(_5d4._onChangeDelayTimer){clearTimeout(_5d4._onChangeDelayTimer);}_5d4._onChangeDelayTimer=setTimeout(function(){delete _5d4._onChangeDelayTimer;_5d4._set("value",_5d4.get("value"));},10);};_5c2.forEach(_5c2.filter(this._descendants,function(item){return item.onChange;}),function(_5d9){_5d5.push(_5d4.connect(_5d9,"onChange",_5d8));_5d6.push(_5d9.watch("disabled",_5d8));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(attr,_5da,_5db){this.onValidStateChange(_5db=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});});},"dijit/_editor/plugins/LinkDialog":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/_base/window","../../_Widget","../_Plugin","../../form/DropDownButton","../range","../selection"],function(_5dc,_5dd,_5de,keys,lang,has,_5df,win,_5e0,_5e1,_5e2,_5e3,_5e4){var _5e5=_5dd("dijit._editor.plugins.LinkDialog",_5e1,{buttonClass:_5e2,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:new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_userAtRxp:new RegExp("^([!#-'*+\\-\\/-9=?A-Z^-~]+[.])*[!#-'*+\\-\\/-9=?A-Z^-~]+@","i"),linkDialogTemplate:["<table><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(_5e6){_5dc(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_5e7,_5e8){var _5e9=this;this.tag=this.command=="insertImage"?"img":"a";var _5ea=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _5eb=(this.dropDown=this.button.dropDown=new _5e7({title:_5ea[this.command+"Title"],execute:lang.hitch(this,"setValue"),onOpen:function(){_5e9._onOpenDialog();_5e7.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_5e9,"_onCloseDialog"),0);}}));_5ea.urlRegExp=this.urlRegExp;_5ea.id=_5e8.getUniqueId(this.editor.id);this._uniqueId=_5ea.id;this._setContent(_5eb.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_5df.substitute(this.linkDialogTemplate,_5ea));_5eb.startup();this._urlInput=_5e8.byId(this._uniqueId+"_urlInput");this._textInput=_5e8.byId(this._uniqueId+"_textInput");this._setButton=_5e8.byId(this._uniqueId+"_setButton");this.connect(_5e8.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 _5ec=this._urlInput.get("value");return this._urlRegExp.test(_5ec)||this._emailRegExp.test(_5ec);});this.connect(_5eb.domNode,"onkeypress",function(e){if(e&&e.charOrCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_5eb.onExecute();_5eb.execute(_5eb.get("value"));}}});_5e6();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _5ed=function(url){var _5ee=false;var _5ef=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("./")!==0){if(self._hostRxp.test(url)){_5ee=true;}}}}else{if(self._userAtRxp.test(url)){_5ef=true;}}}}if(_5ee){self._urlInput.set("value","http://"+url);}if(_5ef){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(){_5ed(url);},250);},_connectTagEvents:function(){this.editor.onLoadDeferred.addCallback(lang.hitch(this,function(){this.connect(this.editor.editNode,"ondblclick",this._onDblClick);}));},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid();},_setContent:function(_5f0){this.dropDown.set({parserScope:"dojo",content:_5f0});},_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=_5e3.getSelection(this.editor.window);var _5f1=sel.getRangeAt(0);var a=_5f1.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_5e4,[this.tag]);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){win.withGlobal(this.editor.window,"selectElementChildren",_5e4,[a]);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_5df.substitute(this.htmlTemplate,args));},_onCloseDialog:function(){this.editor.focus();},_getCurrentValues:function(a){var url,text,_5f2;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_5f2=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;win.withGlobal(this.editor.window,"selectElement",_5e4,[a,true]);}else{text=win.withGlobal(this.editor.window,_5e4.getSelectedText);}return {urlInput:url||"",textInput:text||"",targetSelect:_5f2||""};},_onOpenDialog:function(){var a;if(has("ie")<9){var sel=_5e3.getSelection(this.editor.window);var _5f3=sel.getRangeAt(0);a=_5f3.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_5e4,[this.tag]);}}else{a=win.withGlobal(this.editor.window,"getAncestorElement",_5e4,[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&&_5de.get(t,"href")){win.withGlobal(this.editor.window,"selectElement",_5e4,[t]);this.editor.onDisplayChanged();setTimeout(lang.hitch(this,function(){this.button.set("disabled",false);this.button.openDropDown();if(this.button.dropDown.focus){this.button.dropDown.focus();}}),10);}}}});var _5f4=_5dd("dijit._editor.plugins.ImgLinkDialog",[_5e5],{linkDialogTemplate:["<table><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");win.withGlobal(this.editor.window,"selectElement",_5e4,[img,true]);}else{text=win.withGlobal(this.editor.window,_5e4.getSelectedText);}return {urlInput:url||"",textInput:text||""};},_isValid:function(){return this._urlInput.isValid();},_connectTagEvents:function(){this.inherited(arguments);this.editor.onLoadDeferred.addCallback(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){win.withGlobal(this.editor.window,"selectElement",_5e4,[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&&_5de.get(t,"src")){win.withGlobal(this.editor.window,"selectElement",_5e4,[t]);this.editor.onDisplayChanged();setTimeout(lang.hitch(this,function(){this.button.set("disabled",false);this.button.openDropDown();if(this.button.dropDown.focus){this.button.dropDown.focus();}}),10);}}}});_5e1.registry["createLink"]=function(){return new _5e5({command:"createLink"});};_5e1.registry["insertImage"]=function(){return new _5f4({command:"insertImage"});};_5e5.ImgLinkDialog=_5f4;return _5e5;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_5f5,_5f6,keys,_5f7,_5f8,_5f9){return _5f5("dijit.DropDownMenu",[_5f9,_5f8],{templateString:_5f7,baseClass:"dijitMenu",postCreate:function(){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);_5f6.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_5f6.stop(evt);}break;}}});});},"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/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_5fa,_5fb,_5fc,_5fd,dom,_5fe,_5ff,_600,_601,keys,lang,on,has,win,_602,pm,_603,_604){if(!_601.isAsync){_604(0,function(){var _605=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_5fa(_605);});}return _5fc("dijit.Menu",_603,{constructor:function(){this._bindings=[];},targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(win.body());}else{_5fb.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_606){return _602.get(this._iframeContentDocument(_606))||this._iframeContentDocument(_606)["__parent__"]||(_606.name&&win.doc.frames[_606.name])||null;},_iframeContentDocument:function(_607){return _607.contentDocument||(_607.contentWindow&&_607.contentWindow.document)||(_607.name&&win.doc.frames[_607.name]&&win.doc.frames[_607.name].document)||null;},bindDomNode:function(node){node=dom.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _608=node,_609=this._iframeContentWindow(_608);cn=win.withGlobal(_609,win.body);}else{cn=(node==win.body()?win.doc.documentElement:node);}var _60a={node:node,iframe:_608};_5fe.set(node,"_dijitMenu"+this.id,this._bindings.push(_60a));var _60b=lang.hitch(this,function(cn){return [on(cn,this.leftClickToOpen?"click":"contextmenu",lang.hitch(this,function(evt){_5fd.stop(evt);this._scheduleOpen(evt.target,_608,{x:evt.pageX,y:evt.pageY});})),on(cn,"keydown",lang.hitch(this,function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_5fd.stop(evt);this._scheduleOpen(evt.target,_608);}}))];});_60a.connects=cn?_60b(cn):[];if(_608){_60a.onloadHandler=lang.hitch(this,function(){var _60c=this._iframeContentWindow(_608);cn=win.withGlobal(_60c,win.body);_60a.connects=_60b(cn);});if(_608.addEventListener){_608.addEventListener("load",_60a.onloadHandler,false);}else{_608.attachEvent("onload",_60a.onloadHandler);}}},unBindDomNode:function(_60d){var node;try{node=dom.byId(_60d);}catch(e){return;}var _60e="_dijitMenu"+this.id;if(node&&_5fe.has(node,_60e)){var bid=_5fe.get(node,_60e)-1,b=this._bindings[bid],h;while(h=b.connects.pop()){h.remove();}var _60f=b.iframe;if(_60f){if(_60f.removeEventListener){_60f.removeEventListener("load",b.onloadHandler,false);}else{_60f.detachEvent("onload",b.onloadHandler);}}_5fe.remove(node,_60e);delete this._bindings[bid];}},_scheduleOpen:function(_610,_611,_612){if(!this._openTimer){this._openTimer=setTimeout(lang.hitch(this,function(){delete this._openTimer;this._openMyself({target:_610,iframe:_611,coords:_612});}),1);}},_openMyself:function(args){var _613=args.target,_614=args.iframe,_615=args.coords;if(_615){if(_614){var ifc=_5ff.position(_614,true),_616=this._iframeContentWindow(_614),_617=win.withGlobal(_616,"_docScroll",dojo);var cs=_600.getComputedStyle(_614),tp=_600.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_614,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_614,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_614,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_614,cs.borderTopWidth):0);_615.x+=ifc.x+left-_617.x;_615.y+=ifc.y+top-_617.y;}}else{_615=_5ff.position(_613,true);_615.x+=10;_615.y+=10;}var self=this;var _618=this._focusManager.get("prevNode");var _619=this._focusManager.get("curNode");var _61a=!_619||(dom.isDescendant(_619,this.domNode))?_618:_619;function _61b(){if(self.refocus&&_61a){_61a.focus();}pm.close(self);};pm.open({popup:this,x:_615.x,y:_615.y,onExecute:_61b,onCancel:_61b,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},uninitialize:function(){_5fb.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(_61c,_61d,_61e){return _61c("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_setReadOnlyAttr:function(_61f){this._set("readOnly",_61f);_61d.set(this.focusNode,"readOnly",_61f);this.focusNode.setAttribute("aria-readonly",_61f);},_setLabelAttr:undefined,postMixInProperties:function(){if(this.value==""){this.value="on";}this.inherited(arguments);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_61d.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_61e.stop(e);return false;}return this.inherited(arguments);}});});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/_base/window","dojo/_base/xhr","dojo/i18n"],function(_620,lang,_621,_622,_623,html,_624,_625,_626,_627,dom,_628,win,xhr,i18n){return _626("dijit.layout.ContentPane",[_621,_622],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_620._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(_629,_62a){if((!_629||!_629.template)&&_62a&&!("href" in _629)&&!("content" in _629)){var df=win.doc.createDocumentFragment();_62a=dom.byId(_62a);while(_62a.firstChild){df.appendChild(_62a.firstChild);}_629=lang.delegate(_629,{content:df});}this.inherited(arguments,[_629,_62a]);},postMixInProperties:function(){this.inherited(arguments);var _62b=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_623.substitute(this.loadingMessage,_62b);this.errorMessage=_623.substitute(this.errorMessage,_62b);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!_628.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_625.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_620.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 _627(lang.hitch(this,"cancel"));this.onLoadDeferred.addCallback(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){_620.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 _627(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.addCallback(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;},uninitialize:function(){if(this._beingDestroyed){this.cancel();}this.inherited(arguments);},destroyRecursive:function(_62c){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 _627(lang.hitch(this,"cancel"));this.onLoadDeferred.addCallback(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _62d={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_62d,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_62d));hand.addCallback(function(html){try{self._isDownloaded=true;self._setContent(html,false);self.onDownloadEnd();}catch(err){self._onError("Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.callback(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(_62e){if(this.isLoaded){this._onUnloadHandler();}var _62f=this._contentSetter;_625.forEach(this.getChildren(),function(_630){if(_630.destroyRecursive){_630.destroyRecursive(_62e);}});if(_62f){_625.forEach(_62f.parseResults,function(_631){if(_631.destroyRecursive&&_631.domNode&&_631.domNode.parentNode==win.body()){_631.destroyRecursive(_62e);}});delete _62f.parseResults;}if(!_62e){html._emptyNode(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_632){this.destroyDescendants();var _633=this._contentSetter;if(!(_633&&_633 instanceof html._ContentSetter)){_633=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _634=this.onContentError(e);try{this.containerNode.innerHTML=_634;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _635=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||{});_633.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_635);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_632){if(this._started){delete this._started;this.startup();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_636){this.onLoadDeferred.errback(err);var _637=this["on"+type+"Error"].call(this,err);if(_636){console.error(_636,err);}else{if(_637){this._setContent(_637,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(_638,_639,_63a,_63b,keys,_63c,_63d,_63e,lang){return _63c("dijit._KeyNavContainer",[_63a,_639],{tabIndex:"0",connectKeyNavHandlers:function(_63f,_640){var _641=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_63b.forEach(_63f,function(code){_641[code]=prev;});_63b.forEach(_640,function(code){_641[code]=next;});_641[keys.HOME]=lang.hitch(this,"focusFirstChild");_641[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_638.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_63b.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_642,_643){this.inherited(arguments);this._startupChild(_642);},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(_644,last){if(!_644){return;}if(this.focusedChild&&_644!==this.focusedChild){this._onChildBlur(this.focusedChild);}_644.set("tabIndex",this.tabIndex);_644.focus(last?"end":"start");this._set("focusedChild",_644);},_startupChild:function(_645){_645.set("tabIndex","-1");this.connect(_645,"_onFocus",function(){_645.set("tabIndex",this.tabIndex);});this.connect(_645,"_onBlur",function(){_645.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_63e.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_63e.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();_63d.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_646,dir){if(_646){_646=this._getSiblingOfChild(_646,dir);}var _647=this.getChildren();for(var i=0;i<_647.length;i++){if(!_646){_646=_647[(dir>0)?0:(_647.length-1)];}if(_646.isFocusable()){return _646;}_646=this._getSiblingOfChild(_646,dir);}return null;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang",".."],function(_648,_649,_64a,_64b,lang,_64c){var _64d=lang.getObject("layout",true,_64c);_64d.marginBox2contentBox=function(node,mb){var cs=_64b.getComputedStyle(node);var me=_64a.getMarginExtents(node,cs);var pb=_64a.getPadBorderExtents(node,cs);return {l:_64b.toPixelValue(node,cs.paddingLeft),t:_64b.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _64e(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_64f,dim){var _650=_64f.resize?_64f.resize(dim):_64a.setMarginBox(_64f.domNode,dim);if(_650){lang.mixin(_64f,_650);}else{lang.mixin(_64f,_64a.getMarginBox(_64f.domNode));lang.mixin(_64f,dim);}};_64d.layoutChildren=function(_651,dim,_652,_653,_654){dim=lang.mixin({},dim);_649.add(_651,"dijitLayoutContainer");_652=_648.filter(_652,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_648.filter(_652,function(item){return item.region=="center"||item.layoutAlign=="client";}));_648.forEach(_652,function(_655){var elm=_655.domNode,pos=(_655.region||_655.layoutAlign);if(!pos){throw new Error("No region setting for "+_655.id);}var _656=elm.style;_656.left=dim.l+"px";_656.top=dim.t+"px";_656.position="absolute";_649.add(elm,"dijitAlign"+_64e(pos));var _657={};if(_653&&_653==_655.id){_657[_655.region=="top"||_655.region=="bottom"?"h":"w"]=_654;}if(pos=="top"||pos=="bottom"){_657.w=dim.w;size(_655,_657);dim.h-=_655.h;if(pos=="top"){dim.t+=_655.h;}else{_656.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_657.h=dim.h;size(_655,_657);dim.w-=_655.w;if(pos=="left"){dim.l+=_655.w;}else{_656.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_655,dim);}}}});};return {marginBox2contentBox:_64d.marginBox2contentBox,layoutChildren:_64d.layoutChildren};});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_658,dom,lang,_659,_65a,_65b){function _65c(_65d){return {id:_65d.value,value:_65d.value,name:lang.trim(_65d.innerText||_65d.textContent||"")};};return _658("dijit.form.DataList",_65a,{constructor:function(_65e,_65f){this.domNode=dom.byId(_65f);lang.mixin(this,_65e);if(this.id){_65b.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_659("option",this.domNode).map(_65c)}]);},destroy:function(){_65b.remove(this.id);},fetchSelectedItem:function(){var _660=_659("> option[selected]",this.domNode)[0]||_659("> option",this.domNode)[0];return _660&&_65c(_660);}});});},"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<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../form/Button"],function(_661,_662,lang,_663){var _664=_662("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:_663,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _665=this.getLabel(this.command),_666=this.editor,_667=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _668=lang.mixin({label:_665,dir:_666.dir,lang:_666.lang,showLabel:false,iconClass:_667,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});this.button=new this.buttonClass(_668);}}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(_661.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_669,_66a;if(!e||!e.isLoaded||!c.length){return;}var _66b=this.get("disabled");if(this.button){try{_66a=!_66b&&e.queryCommandEnabled(c);if(this.enabled!==_66a){this.enabled=_66a;this.button.set("disabled",!_66a);}if(typeof this.button.checked=="boolean"){_669=e.queryCommandState(c);if(this.checked!==_669){this.checked=_669;this.button.set("checked",e.queryCommandState(c));}}}catch(e){}}},setEditor:function(_66c){this.editor=_66c;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(_66d){if(this.button){_66d.addChild(this.button);}},set:function(name,_66e){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _66f=this._getAttrNames(name);if(this[_66f.s]){var _670=this[_66f.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_66e);}return _670||this;},get:function(name){var _671=this._getAttrNames(name);return this[_671.g]?this[_671.g]():this[name];},_setDisabledAttr:function(_672){this.disabled=_672;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,_673){this[name]=_673;}});_664.registry={};return _664;});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_674,_675,_676,_677,_678,_679,_67a,_67b,_67c){if(!_677.isAsync){_679(0,function(){var _67d=["dijit/form/RadioButton"];_674(_67d);});}return _675("dijit.form.CheckBox",[_67a,_67b],{templateString:_67c,baseClass:"dijitCheckBox",_setValueAttr:function(_67e,_67f){if(typeof _67e=="string"){this._set("value",_67e);_676.set(this.focusNode,"value",_67e);_67e=true;}if(this._created){this.set("checked",_67e,_67f);}},_getValueAttr:function(){return (this.checked?this.value:false);},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=this.checked?"checked":"";},_fillContent:function(){},_onFocus:function(){if(this.id){_678("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_678("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"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/lang","dojo/mouse","dojo/on","dojo/touch","dojo/_base/window","./_dndContainer"],function(_680,_681,_682,lang,_683,on,_684,win,_685){return _682("dijit.tree._dndSelector",_685,{constructor:function(){this.selection={};this.anchor=null;this.tree.domNode.setAttribute("aria-multiselect",!this.singular);this.events.push(on(this.tree.domNode,_684.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_684.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_684.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _686=[],sel=this.selection;for(var i in sel){_686.push(sel[i]);}return _686;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_687){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_687){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(_688){var _689=this.getSelectedTreeNodes();_680.forEach(this._setDifference(_689,_688),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_680.forEach(this._setDifference(_688,_689),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_680.forEach(ys,function(y){y.__exclude__=true;});var ret=_680.filter(xs,function(x){return !x.__exclude__;});_680.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _68a=this.getSelectedTreeNodes();var _68b=[],_68c=[];_680.forEach(_68a,function(node){_68c.push(node);_68b.push(node.getTreePath());});var _68d=_680.map(_68c,function(node){return node.item;});this.tree._set("paths",_68b);this.tree._set("path",_68b[0]||[]);this.tree._set("selectedNodes",_68c);this.tree._set("selectedNode",_68c[0]||null);this.tree._set("selectedItems",_68d);this.tree._set("selectedItem",_68d[0]||null);},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(!_683.isLeft(e)){return;}e.preventDefault();var _68e=this.current,copy=_681.isCopyKey(e),id=_68e.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_68e,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_681.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,_68f,_690){if(this.singular){if(this.anchor==node&&_68f){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_690&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_691,end,_692=this.anchor;if(cr<0){_691=_692;end=node;}else{_691=node;end=_692;}var _693=[];while(_691!=end){_693.push(_691);_691=this.tree._getNextNode(_691);}_693.push(end);this.setSelection(_693);}else{if(this.selection[node.id]&&_68f){this.removeTreeNode(node);}else{if(_68f){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _694=this.selection[key];return {data:_694,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||win.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(dojo,lang,_695,_696,dom,_697,_698){lang.getObject("html",true,dojo);var _699=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=_697.empty;dojo.html._setNodeContent=function(node,cont){_697.empty(node);if(cont){if(typeof cont=="string"){cont=_697.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _69a=cont.length,i=0;i<cont.length;i=_69a==cont.length?i+1:0){_697.place(cont[i],node,"last");}}else{_697.place(cont,node,"last");}}return node;};_696("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_69b,node){lang.mixin(this,_69b||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_699++].join("_");}},set:function(cont,_69c){if(undefined!==cont){this.content=cont;}if(_69c){this._mixin(_69c);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _69d=this.onContentError(e);try{node.innerHTML=_69d;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){_695.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _69e=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_69e){cont=_69e[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.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_69f){var _6a0={},key;for(key in _69f){if(key in _6a0){continue;}this[key]=_69f[key];}},_parse:function(){var _6a1=this.node;try{var _6a2={};_695.forEach(["dir","lang","textDir"],function(name){if(this[name]){_6a2[name]=this[name];}},this);this.parseResults=_698.parse({rootNode:_6a1,noStart:!this.startup,inherited:_6a2,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_6a3){var _6a4=this["on"+type+"Error"].call(this,err);if(_6a3){console.error(_6a3,err);}else{if(_6a4){dojo.html._setNodeContent(this.node,_6a4,true);}}}});dojo.html.set=function(node,cont,_6a5){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_6a5){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(lang.mixin(_6a5,{content:cont,node:node}));return op.set();}};return dojo.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(_6a6,_6a7,_6a8,_6a9,_6aa,keys,lang,_6ab,_6ac,_6ad){return _6a6("dijit._PaletteMixin",[_6ab],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:"",summary:"",_setSummaryAttr:"paletteTableNode",_dyeFactory:function(_6ae){var _6af=lang.getObject(this.dyeClass);return new _6af(_6ae);},_preparePalette:function(_6b0,_6b1){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_6b0.length;row++){var _6b2=_6a9.create("tr",{tabIndex:"-1"},this.gridNode);for(var col=0;col<_6b0[row].length;col++){var _6b3=_6b0[row][col];if(_6b3){var _6b4=this._dyeFactory(_6b3,row,col);var _6b5=_6a9.create("td",{"class":this.cellClass,tabIndex:"-1",title:_6b1[_6b3],role:"gridcell"});_6b4.fillCell(_6b5,url);_6a9.place(_6b5,_6b2);_6b5.index=this._cells.length;this._cells.push({node:_6b5,dye:_6b4});}}}this._xDim=_6b0[0].length;this._yDim=_6b0.length;var _6b6={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _6b6){this._connects.push(_6ad.addKeyListener(this.domNode,{charOrCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _6b7=_6b6[key];return function(_6b8){this._navigateByKey(_6b7,_6b8);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_6ac.focus(this._currentFocus);},_onCellClick:function(evt){var _6b9=evt.target;while(_6b9.tagName!="TD"){if(!_6b9.parentNode||_6b9==this.gridNode){return;}_6b9=_6b9.parentNode;}var _6ba=this._getDye(_6b9).getValue();this._setCurrent(_6b9);_6ac.focus(_6b9);this._setValueAttr(_6ba,true);_6aa.stop(evt);},_setCurrent:function(node){if("_currentFocus" in this){_6a7.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_6a7.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_6bb,_6bc){if(this._selectedCell>=0){_6a8.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_6bb){for(var i=0;i<this._cells.length;i++){if(_6bb==this._cells[i].dye.getValue()){this._selectedCell=i;_6a8.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_6bb:null);if(_6bc||_6bc===undefined){this.onChange(_6bb);}},onChange:function(){},_navigateByKey:function(_6bd,_6be){if(_6be==-1){return;}var _6bf=this._currentFocus.index+_6bd;if(_6bf<this._cells.length&&_6bf>-1){var _6c0=this._cells[_6bf].node;this._setCurrent(_6c0);setTimeout(lang.hitch(dijit,"focus",_6c0),0);}},_getDye:function(cell){return this._cells[cell.index].dye;}});});},"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeypress:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"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\">\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/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_6c1,i18n,_6c2,_6c3,_6c4){return _6c1("dijit.form.ValidationTextBox",_6c2,{templateString:_6c4,baseClass:"dijitTextBox dijitValidationTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},regExp:".*",regExpGen:function(){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused);},validator:function(_6c5,_6c6){return (new RegExp("^(?:"+this.regExpGen(_6c6)+")"+(this.required?"":"?")+"$")).test(_6c5)&&(!this.required||!this._isEmpty(_6c5))&&(this._isEmpty(_6c5)||this.parse(_6c5,_6c6)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_6c7){return (this.trim?/^\s*$/:/^$/).test(_6c7);},getErrorMessage:function(){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_6c8){var _6c9="";var _6ca=this.disabled||this.isValid(_6c8);if(_6ca){this._maskValidSubsetError=true;}var _6cb=this._isEmpty(this.textbox.value);var _6cc=!_6ca&&_6c8&&this._isValidSubset();this._set("state",_6ca?"":(((((!this._hasBeenBlurred||_6c8)&&_6cb)||_6cc)&&this._maskValidSubsetError)?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_6ca?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_6c8&&_6cc;_6c9=this.getErrorMessage(_6c8);}else{if(this.state=="Incomplete"){_6c9=this.getPromptMessage(_6c8);this._maskValidSubsetError=!this._hasBeenBlurred||_6c8;}else{if(_6cb){_6c9=this.getPromptMessage(_6c8);}}}this.set("message",_6c9);return _6ca;},displayMessage:function(_6cd){if(_6cd&&this.focused){_6c3.show(_6cd,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_6c3.hide(this.domNode);}},_refreshState:function(){this.validate(this.focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_6ce){if(!_6ce.locale&&this.lang){_6ce.locale=this.lang;}this._set("constraints",_6ce);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _6cf="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_6cf+=re;break;case ")":_6cf+="|$)";break;default:_6cf+="(?:"+re+"|$)";break;}});}try{"".search(_6cf);}catch(e){_6cf=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_6cf+")$";},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}if(!this.invalidMessage){this.invalidMessage=this.promptMessage;}if(this.missingMessage=="$_unset_$"){this.missingMessage=this.messages.missingMessage;}if(!this.missingMessage){this.missingMessage=this.invalidMessage;}this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_6d0){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_6d1){this._set("required",_6d1);this.focusNode.setAttribute("aria-required",_6d1);this._refreshState();},_setMessageAttr:function(_6d2){this._set("message",_6d2);this.displayMessage(_6d2);},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","dojo/_base/window","../_WidgetBase","../_Widget","../_TemplatedMixin","./_LayoutWidget","./utils"],function(_6d3,_6d4,_6d5,_6d6,_6d7,_6d8,_6d9,_6da,keys,lang,on,_6db,win,_6dc,_6dd,_6de,_6df,_6e0){var _6e1=_6d5("dijit.layout._Splitter",[_6dd,_6de],{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);_6d6.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _6e2=_6d4(this._cookieName);if(_6e2){this.child.domNode.style[this.horizontal?"height":"width"]=_6e2;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_6e3=_6d8.getMarginBox(this.child.domNode)[dim],_6e4=_6d3.filter(this.container.getChildren(),function(_6e5){return _6e5.region=="center";})[0],_6e6=_6d8.getMarginBox(_6e4.domNode)[dim];return Math.min(this.child.maxSize,_6e3+_6e6);},_startDrag:function(e){if(!this.cover){this.cover=win.doc.createElement("div");_6d6.add(this.cover,"dijitSplitterCover");_6d7.place(this.cover,this.child.domNode,"after");}_6d6.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_6d7.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_6d6.add(this.domNode,"dijitSplitterShadow");_6d7.place(this.fake,this.domNode,"after");}_6d6.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_6d6.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _6e7=this._factor,_6e8=this.horizontal,axis=_6e8?"pageY":"pageX",_6e9=e[axis],_6ea=this.domNode.style,dim=_6e8?"h":"w",_6eb=_6d8.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_6ec=this.region,_6ed=_6ec=="top"||_6ec=="bottom"?"top":"left",_6ee=parseInt(_6ea[_6ed],10),_6ef=this._resize,_6f0=lang.hitch(this.container,"_layoutChildren",this.child.id),de=win.doc;this._handlers=this._handlers.concat([on(de,_6db.move,this._drag=function(e,_6f1){var _6f2=e[axis]-_6e9,_6f3=_6e7*_6f2+_6eb,_6f4=Math.max(Math.min(_6f3,max),min);if(_6ef||_6f1){_6f0(_6f4);}_6ea[_6ed]=_6f2+_6ee+_6e7*(_6f4-_6f3)+"px";}),on(de,"dragstart",_6da.stop),on(win.body(),"selectstart",_6da.stop),on(de,_6db.release,lang.hitch(this,"_stopDrag"))]);_6da.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_6d6.toggle(this.domNode,"dijitSplitterHover",o);_6d6.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_6d6.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_6d7.destroy(this.fake);}_6d6.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){_6d4(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 _6f5=this.horizontal;var tick=1;switch(e.charOrCode){case _6f5?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _6f5?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _6f6=_6d8.getMarginSize(this.child.domNode)[_6f5?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_6f6,this._computeMaxSize()),this.child.minSize));_6da.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _6f7=_6d5("dijit.layout._Gutter",[_6dd,_6de],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_6d6.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _6f8=_6d5("dijit.layout.BorderContainer",_6df,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_6e1,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_6d3.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_6f9){var _6fa=_6f9.region;if(_6fa){this.inherited(arguments);_6d6.add(_6f9.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_6fa=="leading"){_6fa=ltr?"left":"right";}if(_6fa=="trailing"){_6fa=ltr?"right":"left";}if(_6fa!="center"&&(_6f9.splitter||this.gutters)&&!_6f9._splitterWidget){var _6fb=_6f9.splitter?this._splitterClass:_6f7;if(lang.isString(_6fb)){_6fb=lang.getObject(_6fb);}var _6fc=new _6fb({id:_6f9.id+"_splitter",container:this,child:_6f9,region:_6fa,live:this.liveSplitters});_6fc.isSplitter=true;_6f9._splitterWidget=_6fc;_6d7.place(_6fc.domNode,_6f9.domNode,"after");_6fc.startup();}_6f9.region=_6fa;}},layout:function(){this._layoutChildren();},addChild:function(_6fd,_6fe){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_6ff){var _700=_6ff.region;var _701=_6ff._splitterWidget;if(_701){_701.destroy();delete _6ff._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_6d6.remove(_6ff.domNode,this.baseClass+"Pane");_6d9.set(_6ff.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_6d9.set(_6ff.domNode,_700=="top"||_700=="bottom"?"width":"height","auto");},getChildren:function(){return _6d3.filter(this.inherited(arguments),function(_702){return !_702.isSplitter;});},getSplitter:function(_703){return _6d3.filter(this.getChildren(),function(_704){return _704.region==_703;})[0]._splitterWidget;},resize:function(_705,_706){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_6d9.getComputedStyle(node);this.pe=_6d8.getPadExtents(node,this.cs);this.pe.r=_6d9.toPixelValue(node,this.cs.paddingRight);this.pe.b=_6d9.toPixelValue(node,this.cs.paddingBottom);_6d9.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_707,_708){if(!this._borderBox||!this._borderBox.h){return;}var _709=_6d3.map(this.getChildren(),function(_70a,idx){return {pane:_70a,weight:[_70a.region=="center"?Infinity:0,_70a.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_70a.region)?1:-1),idx]};},this);_709.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 _70b=[];_6d3.forEach(_709,function(_70c){var pane=_70c.pane;_70b.push(pane);if(pane._splitterWidget){_70b.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};_6e0.layoutChildren(this.domNode,dim,_70b,_707,_708);},destroyRecursive:function(){_6d3.forEach(this.getChildren(),function(_70d){var _70e=_70d._splitterWidget;if(_70e){_70e.destroy();}delete _70d._splitterWidget;});this.inherited(arguments);}});lang.extend(_6dc,{region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity});_6f8._Splitter=_6e1;_6f8._Gutter=_6f7;return _6f8;});},"dojo/number":function(){define(["./_base/kernel","./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(dojo,lang,i18n,_70f,_710,_711){lang.getObject("number",true,dojo);dojo.number.format=function(_712,_713){_713=lang.mixin({},_713||{});var _714=i18n.normalizeLocale(_713.locale),_715=i18n.getLocalization("dojo.cldr","number",_714);_713.customs=_715;var _716=_713.pattern||_715[(_713.type||"decimal")+"Format"];if(isNaN(_712)||Math.abs(_712)==Infinity){return null;}return dojo.number._applyPattern(_712,_716,_713);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_717,_718,_719){_719=_719||{};var _71a=_719.customs.group,_71b=_719.customs.decimal,_71c=_718.split(";"),_71d=_71c[0];_718=_71c[(_717<0)?1:0]||("-"+_71d);if(_718.indexOf("%")!=-1){_717*=100;}else{if(_718.indexOf("‰")!=-1){_717*=1000;}else{if(_718.indexOf("¤")!=-1){_71a=_719.customs.currencyGroup||_71a;_71b=_719.customs.currencyDecimal||_71b;_718=_718.replace(/\u00a4{1,3}/,function(_71e){var prop=["symbol","currency","displayName"][_71e.length-1];return _719[prop]||_719.currency||"";});}else{if(_718.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _71f=dojo.number._numberPatternRE;var _720=_71d.match(_71f);if(!_720){throw new Error("unable to find a number expression in pattern: "+_718);}if(_719.fractional===false){_719.places=0;}return _718.replace(_71f,dojo.number._formatAbsolute(_717,_720[0],{decimal:_71b,group:_71a,places:_719.places,round:_719.round}));};dojo.number.round=function(_721,_722,_723){var _724=10/(_723||10);return (_724*+_721).toFixed(_722)/_724;};if((0.9).toFixed()==0){var _725=dojo.number.round;dojo.number.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d||a*Math.pow(10,p+1)<5){d=0;}return _725(v,p,m)+(v>0?d:-d);};}dojo.number._formatAbsolute=function(_726,_727,_728){_728=_728||{};if(_728.places===true){_728.places=0;}if(_728.places===Infinity){_728.places=6;}var _729=_727.split("."),_72a=typeof _728.places=="string"&&_728.places.indexOf(","),_72b=_728.places;if(_72a){_72b=_728.places.substring(_72a+1);}else{if(!(_72b>=0)){_72b=(_729[1]||[]).length;}}if(!(_728.round<0)){_726=dojo.number.round(_726,_72b,_728.round);}var _72c=String(Math.abs(_726)).split("."),_72d=_72c[1]||"";if(_729[1]||_728.places){if(_72a){_728.places=_728.places.substring(0,_72a);}var pad=_728.places!==undefined?_728.places:(_729[1]&&_729[1].lastIndexOf("0")+1);if(pad>_72d.length){_72c[1]=_710.pad(_72d,pad,"0",true);}if(_72b<_72d.length){_72c[1]=_72d.substr(0,_72b);}}else{if(_72c[1]){_72c.pop();}}var _72e=_729[0].replace(",","");pad=_72e.indexOf("0");if(pad!=-1){pad=_72e.length-pad;if(pad>_72c[0].length){_72c[0]=_710.pad(_72c[0],pad);}if(_72e.indexOf("#")==-1){_72c[0]=_72c[0].substr(_72c[0].length-pad);}}var _72f=_729[0].lastIndexOf(","),_730,_731;if(_72f!=-1){_730=_729[0].length-_72f-1;var _732=_729[0].substr(0,_72f);_72f=_732.lastIndexOf(",");if(_72f!=-1){_731=_732.length-_72f-1;}}var _733=[];for(var _734=_72c[0];_734;){var off=_734.length-_730;_733.push((off>0)?_734.substr(off):_734);_734=(off>0)?_734.slice(0,off):"";if(_731){_730=_731;delete _731;}}_72c[0]=_733.reverse().join(_728.group||",");return _72c.join(_728.decimal||".");};dojo.number.regexp=function(_735){return dojo.number._parseInfo(_735).regexp;};dojo.number._parseInfo=function(_736){_736=_736||{};var _737=i18n.normalizeLocale(_736.locale),_738=i18n.getLocalization("dojo.cldr","number",_737),_739=_736.pattern||_738[(_736.type||"decimal")+"Format"],_73a=_738.group,_73b=_738.decimal,_73c=1;if(_739.indexOf("%")!=-1){_73c/=100;}else{if(_739.indexOf("‰")!=-1){_73c/=1000;}else{var _73d=_739.indexOf("¤")!=-1;if(_73d){_73a=_738.currencyGroup||_73a;_73b=_738.currencyDecimal||_73b;}}}var _73e=_739.split(";");if(_73e.length==1){_73e.push("-"+_73e[0]);}var re=_711.buildGroupRE(_73e,function(_73f){_73f="(?:"+_711.escapeString(_73f,".")+")";return _73f.replace(dojo.number._numberPatternRE,function(_740){var _741={signed:false,separator:_736.strict?_73a:[_73a,""],fractional:_736.fractional,decimal:_73b,exponent:false},_742=_740.split("."),_743=_736.places;if(_742.length==1&&_73c!=1){_742[1]="###";}if(_742.length==1||_743===0){_741.fractional=false;}else{if(_743===undefined){_743=_736.pattern?_742[1].lastIndexOf("0")+1:Infinity;}if(_743&&_736.fractional==undefined){_741.fractional=true;}if(!_736.places&&(_743<_742[1].length)){_743+=","+_742[1].length;}_741.places=_743;}var _744=_742[0].split(",");if(_744.length>1){_741.groupSize=_744.pop().length;if(_744.length>1){_741.groupSize2=_744.pop().length;}}return "("+dojo.number._realNumberRegexp(_741)+")";});},true);if(_73d){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_745,_746,_747,_748){var prop=["symbol","currency","displayName"][_747.length-1],_749=_711.escapeString(_736[prop]||_736.currency||"");_746=_746?"[\\s\\xa0]":"";_748=_748?"[\\s\\xa0]":"";if(!_736.strict){if(_746){_746+="*";}if(_748){_748+="*";}return "(?:"+_746+_749+_748+")?";}return _746+_749+_748;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_73a,decimal:_73b,factor:_73c};};dojo.number.parse=function(_74a,_74b){var info=dojo.number._parseInfo(_74b),_74c=(new RegExp("^"+info.regexp+"$")).exec(_74a);if(!_74c){return NaN;}var _74d=_74c[1];if(!_74c[1]){if(!_74c[2]){return NaN;}_74d=_74c[2];info.factor*=-1;}_74d=_74d.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _74d*info.factor;};dojo.number._realNumberRegexp=function(_74e){_74e=_74e||{};if(!("places" in _74e)){_74e.places=Infinity;}if(typeof _74e.decimal!="string"){_74e.decimal=".";}if(!("fractional" in _74e)||/^0/.test(_74e.places)){_74e.fractional=[true,false];}if(!("exponent" in _74e)){_74e.exponent=[true,false];}if(!("eSigned" in _74e)){_74e.eSigned=[true,false];}var _74f=dojo.number._integerRegexp(_74e),_750=_711.buildGroupRE(_74e.fractional,function(q){var re="";if(q&&(_74e.places!==0)){re="\\"+_74e.decimal;if(_74e.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_74e.places+"}";}}return re;},true);var _751=_711.buildGroupRE(_74e.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_74e.eSigned})+")";}return "";});var _752=_74f+_750;if(_750){_752="(?:(?:"+_752+")|(?:"+_750+"))";}return _752+_751;};dojo.number._integerRegexp=function(_753){_753=_753||{};if(!("signed" in _753)){_753.signed=[true,false];}if(!("separator" in _753)){_753.separator="";}else{if(!("groupSize" in _753)){_753.groupSize=3;}}var _754=_711.buildGroupRE(_753.signed,function(q){return q?"[-+]":"";},true);var _755=_711.buildGroupRE(_753.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_711.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_753.groupSize,grp2=_753.groupSize2;if(grp2){var _756="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_756+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_756;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _754+_755;};return dojo.number;});},"dojo/data/util/filter":function(){define(["dojo/_base/lang"],function(lang){var _757=lang.getObject("dojo.data.util.filter",true);_757.patternToRegExp=function(_758,_759){var rxp="^";var c=null;for(var i=0;i<_758.length;i++){c=_758.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_758.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(_759){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _757;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/parser","dijit/registry"],function(_75a,_75b,_75c,_75d){return _75b("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;var cw=(this._startupWidgets=_75c.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));this._supportingWidgets=_75d.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_75a.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(_75e,_75f,_760,_761){return _75e("dijit.form.HorizontalRuleLabels",_761,{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 _762=this.labels;if(!_762.length){_762=_760("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_762.length&&this.count>1){var _763=this.minimum;var inc=(this.maximum-_763)/(this.count-1);for(var i=0;i<this.count;i++){_762.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_75f.format(_763,this.constraints));_763+=inc;}}return _762;},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\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\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/Deferred","dojo/_base/lang","./MappedTextBox","./ComboBoxMixin"],function(_764,_765,_766,lang,_767,_768){return _765("dijit.form.FilteringSelect",[_767,_768],{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(_769,_76a,_76b,_76c){if((_76a&&_76a[this.searchAttr]!==this._lastQuery)||(!_76a&&_769.length&&this.store.getIdentity(_769[0])!=this._lastQuery)){return;}if(!_769.length){this.set("value","",_76c||(_76c===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_769[0],_76c);}},_openResultList:function(_76d,_76e,_76f){if(_76e[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(_770,_771,_772,item){if(!this._onChangeActive){_771=null;}if(item===undefined){if(_770===null||_770===""){_770="";if(!lang.isString(_772)){this._setDisplayedValueAttr(_772||"",_771);return;}}var self=this;this._lastQuery=_770;_766.when(this.store.get(_770),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_771);});}else{this.valueNode.value=_770;this.inherited(arguments);}},_setItemAttr:function(item,_773,_774){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_775,_776){if(_775==null){_775="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_776=false;}if(this.store){this.closeDropDown();var _777=lang.clone(this.query);var qs=this._getDisplayQueryString(_775),q;if(this.store._oldAPI){q=qs;}else{q=_764.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_777[this.searchAttr]=q;this.textbox.value=_775;this._lastDisplayedValue=_775;this._set("displayedValue",_775);var _778=this;var _779={ignoreCase:this.ignoreCase,deep:true};lang.mixin(_779,this.fetchProperties);this._fetchHandle=this.store.query(_777,_779);_766.when(this._fetchHandle,function(_77a){_778._fetchHandle=null;_778._callbackSetLabel(_77a||[],_777,_779,_776);},function(err){_778._fetchHandle=null;if(!_778._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/sorter":function(){define(["dojo/_base/lang"],function(lang){var _77b=lang.getObject("dojo.data.util.sorter",true);_77b.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;};_77b.createSortFunction=function(_77c,_77d){var _77e=[];function _77f(attr,dir,comp,s){return function(_780,_781){var a=s.getValue(_780,attr);var b=s.getValue(_781,attr);return dir*comp(a,b);};};var _782;var map=_77d.comparatorMap;var bc=_77b.basicComparator;for(var i=0;i<_77c.length;i++){_782=_77c[i];var attr=_782.attribute;if(attr){var dir=(_782.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_77e.push(_77f(attr,dir,comp,_77d));}}return function(rowA,rowB){var i=0;while(i<_77e.length){var ret=_77e[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _77b;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_783,dom,_784,_785){return _783("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_784.stop(e);return false;}var _786=this.onClick(e)===false;if(!_786&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _787=_785.byNode(node);if(_787&&typeof _787._onSubmit=="function"){_787._onSubmit(e);_786=true;break;}}}if(_786){e.preventDefault();}return !_786;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_788){this._set("label",_788);(this.containerNode||this.focusNode).innerHTML=_788;}});});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_789,_78a){var _78b=lang.getObject("dojo.colors",true);var _78c=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=_789.fromRgb=function(_78d,obj){var m=_78d.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=_78a.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _789.fromArray(a,obj);}return _789.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=[_78c(m1,m2,H+1/3)*256,_78c(m1,m2,H)*256,_78c(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _789.fromArray(a,obj);}}return null;};var _78e=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_789.prototype.sanitize=function(){var t=this;t.r=Math.round(_78e(t.r,0,255));t.g=Math.round(_78e(t.g,0,255));t.b=Math.round(_78e(t.b,0,255));t.a=_78e(t.a,0,1);return this;};_78b.makeGrey=_789.makeGrey=function(g,a){return _789.fromArray([g,g,g,a]);};lang.mixin(_789.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 _789;});},"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/mouse","dojo/on"],function(_78f,_790,_791,_792,lang,_793,on){return _790("dijit.tree._dndContainer",null,{constructor:function(tree,_794){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_794);this.current=null;this.containerState="";_791.add(this.node,"dojoDndContainer");this.events=[on(this.node,_793.enter,lang.hitch(this,"onOverEvent")),on(this.node,_793.leave,lang.hitch(this,"onOutEvent")),_78f.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_78f.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_792,"stop")),on(this.node,"selectstart",lang.hitch(_792,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_795){this.current=_795;},onMouseOut:function(){this.current=null;},_changeState:function(type,_796){var _797="dojoDnd"+type;var _798=type.toLowerCase()+"State";_791.replace(this.node,_797+_796,_797+this[_798]);this[_798]=_796;},_addItemClass:function(node,type){_791.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_791.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dojo/date/locale":function(){define(["../_base/kernel","../_base/lang","../_base/array","../date","../cldr/supplemental","../regexp","../string","../i18n!../cldr/nls/gregorian"],function(dojo,lang,_799,date,cldr,_79a,_79b,_79c){lang.getObject("date.locale",true,dojo);function _79d(_79e,_79f,_7a0,_7a1){return _7a1.replace(/([a-z])\1*/ig,function(_7a2){var s,pad,c=_7a2.charAt(0),l=_7a2.length,_7a3=["abbr","wide","narrow"];switch(c){case "G":s=_79f[(l<4)?"eraAbbr":"eraNames"][_79e.getFullYear()<0?0:1];break;case "y":s=_79e.getFullYear();switch(l){case 1:break;case 2:if(!_7a0.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_79e.getMonth()+1)/3);pad=true;break;case "M":var m=_79e.getMonth();if(l<3){s=m+1;pad=true;}else{var _7a4=["months","format",_7a3[l-3]].join("-");s=_79f[_7a4][m];}break;case "w":var _7a5=0;s=dojo.date.locale._getWeekOfYear(_79e,_7a5);pad=true;break;case "d":s=_79e.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_79e);pad=true;break;case "E":var d=_79e.getDay();if(l<3){s=d+1;pad=true;}else{var _7a6=["days","format",_7a3[l-3]].join("-");s=_79f[_7a6][d];}break;case "a":var _7a7=(_79e.getHours()<12)?"am":"pm";s=_7a0[_7a7]||_79f["dayPeriods-format-wide-"+_7a7];break;case "h":case "H":case "K":case "k":var h=_79e.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=_79e.getMinutes();pad=true;break;case "s":s=_79e.getSeconds();pad=true;break;case "S":s=Math.round(_79e.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_79e,true,_7a0);if(s){break;}l=4;case "Z":var _7a8=dojo.date.locale._getZone(_79e,false,_7a0);var tz=[(_7a8<=0?"+":"-"),_79b.pad(Math.floor(Math.abs(_7a8)/60),2),_79b.pad(Math.abs(_7a8)%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: "+_7a1);}if(pad){s=_79b.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_7a9,_7aa,_7ab){if(_7aa){return date.getTimezoneName(_7a9);}else{return _7a9.getTimezoneOffset();}};dojo.date.locale.format=function(_7ac,_7ad){_7ad=_7ad||{};var _7ae=dojo.i18n.normalizeLocale(_7ad.locale),_7af=_7ad.formatLength||"short",_7b0=dojo.date.locale._getGregorianBundle(_7ae),str=[],_7b1=lang.hitch(this,_79d,_7ac,_7b0,_7ad);if(_7ad.selector=="year"){return _7b2(_7b0["dateFormatItem-yyyy"]||"yyyy",_7b1);}var _7b3;if(_7ad.selector!="date"){_7b3=_7ad.timePattern||_7b0["timeFormat-"+_7af];if(_7b3){str.push(_7b2(_7b3,_7b1));}}if(_7ad.selector!="time"){_7b3=_7ad.datePattern||_7b0["dateFormat-"+_7af];if(_7b3){str.push(_7b2(_7b3,_7b1));}}return str.length==1?str[0]:_7b0["dateTimeFormat-"+_7af].replace(/\{(\d+)\}/g,function(_7b4,key){return str[key];});};dojo.date.locale.regexp=function(_7b5){return dojo.date.locale._parseInfo(_7b5).regexp;};dojo.date.locale._parseInfo=function(_7b6){_7b6=_7b6||{};var _7b7=dojo.i18n.normalizeLocale(_7b6.locale),_7b8=dojo.date.locale._getGregorianBundle(_7b7),_7b9=_7b6.formatLength||"short",_7ba=_7b6.datePattern||_7b8["dateFormat-"+_7b9],_7bb=_7b6.timePattern||_7b8["timeFormat-"+_7b9],_7bc;if(_7b6.selector=="date"){_7bc=_7ba;}else{if(_7b6.selector=="time"){_7bc=_7bb;}else{_7bc=_7b8["dateTimeFormat-"+_7b9].replace(/\{(\d+)\}/g,function(_7bd,key){return [_7bb,_7ba][key];});}}var _7be=[],re=_7b2(_7bc,lang.hitch(this,_7bf,_7be,_7b8,_7b6));return {regexp:re,tokens:_7be,bundle:_7b8};};dojo.date.locale.parse=function(_7c0,_7c1){var _7c2=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_7c1),_7c3=info.tokens,_7c4=info.bundle,re=new RegExp("^"+info.regexp.replace(_7c2,"")+"$",info.strict?"":"i"),_7c5=re.exec(_7c0&&_7c0.replace(_7c2,""));if(!_7c5){return null;}var _7c6=["abbr","wide","narrow"],_7c7=[1970,0,1,0,0,0,0],amPm="",_7c8=dojo.every(_7c5,function(v,i){if(!i){return true;}var _7c9=_7c3[i-1];var l=_7c9.length;switch(_7c9.charAt(0)){case "y":if(l!=2&&_7c1.strict){_7c7[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_7ca=year.substring(0,2)*100,_7cb=Math.min(Number(year.substring(2,4))+20,99);_7c7[0]=(v<_7cb)?_7ca+v:_7ca-100+v;}else{if(_7c1.strict){return false;}_7c7[0]=v;}}break;case "M":if(l>2){var _7cc=_7c4["months-format-"+_7c6[l-3]].concat();if(!_7c1.strict){v=v.replace(".","").toLowerCase();_7cc=dojo.map(_7cc,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_7cc,v);if(v==-1){return false;}}else{v--;}_7c7[1]=v;break;case "E":case "e":var days=_7c4["days-format-"+_7c6[l-3]].concat();if(!_7c1.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_7c7[1]=0;case "d":_7c7[2]=v;break;case "a":var am=_7c1.am||_7c4["dayPeriods-format-wide-am"],pm=_7c1.pm||_7c4["dayPeriods-format-wide-pm"];if(!_7c1.strict){var _7cd=/\./g;v=v.replace(_7cd,"").toLowerCase();am=am.replace(_7cd,"").toLowerCase();pm=pm.replace(_7cd,"").toLowerCase();}if(_7c1.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;}_7c7[3]=v;break;case "m":_7c7[4]=v;break;case "s":_7c7[5]=v;break;case "S":_7c7[6]=v;}return true;});var _7ce=+_7c7[3];if(amPm==="p"&&_7ce<12){_7c7[3]=_7ce+12;}else{if(amPm==="a"&&_7ce==12){_7c7[3]=0;}}var _7cf=new Date(_7c7[0],_7c7[1],_7c7[2],_7c7[3],_7c7[4],_7c7[5],_7c7[6]);if(_7c1.strict){_7cf.setFullYear(_7c7[0]);}var _7d0=_7c3.join(""),_7d1=_7d0.indexOf("d")!=-1,_7d2=_7d0.indexOf("M")!=-1;if(!_7c8||(_7d2&&_7cf.getMonth()>_7c7[1])||(_7d1&&_7cf.getDate()>_7c7[2])){return null;}if((_7d2&&_7cf.getMonth()<_7c7[1])||(_7d1&&_7cf.getDate()<_7c7[2])){_7cf=date.add(_7cf,"hour",1);}return _7cf;};function _7b2(_7d3,_7d4,_7d5,_7d6){var _7d7=function(x){return x;};_7d4=_7d4||_7d7;_7d5=_7d5||_7d7;_7d6=_7d6||_7d7;var _7d8=_7d3.match(/(''|[^'])+/g),_7d9=_7d3.charAt(0)=="'";dojo.forEach(_7d8,function(_7da,i){if(!_7da){_7d8[i]="";}else{_7d8[i]=(_7d9?_7d5:_7d4)(_7da.replace(/''/g,"'"));_7d9=!_7d9;}});return _7d6(_7d8.join(""));};function _7bf(_7db,_7dc,_7dd,_7de){_7de=_79a.escapeString(_7de);if(!_7dd.strict){_7de=_7de.replace(" a"," ?a");}return _7de.replace(/([a-z])\1*/ig,function(_7df){var s,c=_7df.charAt(0),l=_7df.length,p2="",p3="";if(_7dd.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":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":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=_7dd.am||_7dc["dayPeriods-format-wide-am"],pm=_7dd.pm||_7dc["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_7dd.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(_7db){_7db.push(_7df);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _7e0=[];dojo.date.locale.addCustomFormats=function(_7e1,_7e2){_7e0.push({pkg:_7e1,name:_7e2});};dojo.date.locale._getGregorianBundle=function(_7e3){var _7e4={};dojo.forEach(_7e0,function(desc){var _7e5=dojo.i18n.getLocalization(desc.pkg,desc.name,_7e3);_7e4=lang.mixin(_7e4,_7e5);},this);return _7e4;};dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_7e6,_7e7){var _7e8,_7e9=dojo.date.locale._getGregorianBundle(_7e7),_7ea=[item,_7e6,type];if(_7e6=="standAlone"){var key=_7ea.join("-");_7e8=_7e9[key];if(_7e8[0]==1){_7e8=undefined;}}_7ea[1]="format";return (_7e8||_7e9[_7ea.join("-")]).concat();};dojo.date.locale.isWeekend=function(_7eb,_7ec){var _7ed=cldr.getWeekend(_7ec),day=(_7eb||new Date()).getDay();if(_7ed.end<_7ed.start){_7ed.end+=7;if(day<_7ed.start){day+=7;}}return day>=_7ed.start&&day<=_7ed.end;};dojo.date.locale._getDayOfYear=function(_7ee){return date.difference(new Date(_7ee.getFullYear(),0,1,_7ee.getHours()),_7ee)+1;};dojo.date.locale._getWeekOfYear=function(_7ef,_7f0){if(arguments.length==1){_7f0=0;}var _7f1=new Date(_7ef.getFullYear(),0,1).getDay(),adj=(_7f1-_7f0+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_7ef)+adj-1)/7);if(_7f1==_7f0){week++;}return week;};return dojo.date.locale;});},"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\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(_7f2,_7f3){return _7f2("dijit.form.VerticalRule",_7f3,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","./_FormValueWidget"],function(_7f4,_7f5,_7f6,_7f7,dom,_7f8,_7f9,lang,_7fa,_7fb){return _7f7("dijit.form._FormSelectWidget",_7fb,{multiple:false,options:null,store:null,query:null,queryOptions:null,onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,getOptions:function(_7fc){var _7fd=_7fc,opts=this.options||[],l=opts.length;if(_7fd===undefined){return opts;}if(lang.isArray(_7fd)){return _7f4.map(_7fd,"return this.getOptions(item);",this);}if(lang.isObject(_7fc)){if(!_7f4.some(this.options,function(o,idx){if(o===_7fd||(o.value&&o.value===_7fd.value)){_7fd=idx;return true;}return false;})){_7fd=-1;}}if(typeof _7fd=="string"){for(var i=0;i<l;i++){if(opts[i].value===_7fd){_7fd=i;break;}}}if(typeof _7fd=="number"&&_7fd>=0&&_7fd<l){return this.options[_7fd];}return null;},addOption:function(_7fe){if(!lang.isArray(_7fe)){_7fe=[_7fe];}_7f4.forEach(_7fe,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_7ff){if(!lang.isArray(_7ff)){_7ff=[_7ff];}var _800=this.getOptions(_7ff);_7f4.forEach(_800,function(i){if(i){this.options=_7f4.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_801){if(!lang.isArray(_801)){_801=[_801];}_7f4.forEach(_801,function(i){var _802=this.getOptions(i),k;if(_802){for(k in i){_802[k]=i[k];}}},this);this._loadChildren();},setStore:function(_803,_804,_805){var _806=this.store;_805=_805||{};if(_806!==_803){var h;while(h=this._notifyConnections.pop()){h.remove();}if(_803&&_803.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_7f5.after(_803,"onNew",lang.hitch(this,"_onNewItem"),true),_7f5.after(_803,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_7f5.after(_803,"onSet",lang.hitch(this,"_onSetItem"),true)];}this._set("store",_803);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_803){this._loadingStore=true;_803.fetch(lang.delegate(_805,{onComplete:function(_807,opts){if(this.sortByLabel&&!_805.sort&&_807.length){_807.sort(_7f6.createSortFunction([{attribute:_803.getLabelAttributes(_807[0])[0]}],_803));}if(_805.onFetch){_807=_805.onFetch.call(this,_807,opts);}_7f4.forEach(_807,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_804);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_807);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _806;},_setValueAttr:function(_808,_809){if(this._loadingStore){this._pendingValue=_808;return;}var opts=this.getOptions()||[];if(!lang.isArray(_808)){_808=[_808];}_7f4.forEach(_808,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_808[idx]=_7f4.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_808=_7f4.filter(_808,function(i){return i&&i.value;});if(!this.multiple&&(!_808[0]||!_808[0].value)&&opts.length){_808[0]=opts[0];}_7f4.forEach(opts,function(i){i.selected=_7f4.some(_808,function(v){return v.value===i.value;});});var val=_7f4.map(_808,function(i){return i.value;}),disp=_7f4.map(_808,function(i){return i.label;});this._set("value",this.multiple?val:val[0]);this._setDisplay(this.multiple?disp:disp[0]);this._updateSelection();this._handleOnChange(this.value,_809);},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_7f4.map(this.getOptions(val),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];},_loadChildren:function(){if(this._loadingStore){return;}_7f4.forEach(this._getChildren(),function(_80a){_80a.destroyRecursive();});_7f4.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=this.value;if(!lang.isArray(val)){val=[val];}if(val&&val[0]){_7f4.forEach(this._getChildren(),function(_80b){var _80c=_7f4.some(val,function(v){return _80b.option&&(v===_80b.option.value);});_7f8.toggle(_80b.domNode,this.baseClass+"SelectedOption",_80c);_80b.domNode.setAttribute("aria-selected",_80c);},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_7f4.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 _7f4.map(_7f4.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_80d){if(!_80d||!_80d.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _80e=this.store;this.removeOption(_80e.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _80f=this.store,_810=_80f.getLabel(item),_811=(_810?_80f.getIdentity(item):null);return {value:_811,label:_810,item:item};},_addOptionForItem:function(item){var _812=this.store;if(!_812.isItemLoaded(item)){_812.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _813=this._getOptionObjForItem(item);this.addOption(_813);},constructor:function(_814){this._oValue=(_814||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){var opts=this.options;if(!opts){opts=this.options=this.srcNodeRef?_7fa("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_7f9._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);this.connect(this,"onChange","_updateSelection");this.connect(this,"startup","_loadChildren");this._setValueAttr(this.value,null);},startup:function(){this.inherited(arguments);var _815=this.store,_816={};_7f4.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_816[i]=this[i];}delete this[i];},this);if(_815&&_815.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_815,this._oValue,_816);}},destroy:function(){var h;while(h=this._notifyConnections.pop()){h.remove();}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(){},onSetStore:function(){}});});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/_base/event","dojo/i18n","dojo/_base/lang","./_FormSelectWidget","../_HasDropDown","../Menu","../MenuItem","../MenuSeparator","../Tooltip","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_817,_818,_819,_81a,_81b,_81c,_81d,i18n,lang,_81e,_81f,Menu,_820,_821,_822,_823){var _824=_818("dijit.form._SelectMenu",Menu,{buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=_81b.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}}));if(o.parentNode){o.parentNode.replaceChild(n,o);}_81a.remove(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";o.setAttribute("role","listbox");n.setAttribute("role","presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",_81d.stop);},resize:function(mb){if(mb){_81c.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _825=_818("dijit.form.Select",[_81e,_81f],{baseClass:"dijitSelect",templateString:_823,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 _824({id:this.id+"_menu"});_81a.add(this.dropDown.domNode,this.baseClass+"Menu");},_getMenuItemForOption:function(_826){if(!_826.value&&!_826.label){return new _821();}else{var _827=lang.hitch(this,"_setValueAttr",_826);var item=new _820({option:_826,label:_826.label||this.emptyLabel,onClick:_827,disabled:_826.disabled||false});item.focusNode.setAttribute("role","listitem");return item;}},_addOptionItem:function(_828){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_828));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_829){if(_829===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_817.forEach(this._getChildren(),function(_82a){_82a.destroyRecursive();});var item=new _820({label:"&#160;"});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value);}},_setValueAttr:function(_82b){this.inherited(arguments);_819.set(this.valueNode,"value",this.get("value"));this.validate(this.focused);},_setDisabledAttr:function(_82c){this.inherited(arguments);this.validate(this.focused);},_setRequiredAttr:function(_82d){this._set("required",_82d);this.focusNode.setAttribute("aria-required",_82d);this.validate(this.focused);},_setDisplay:function(_82e){var lbl=_82e||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";this.focusNode.setAttribute("aria-valuetext",lbl);},validate:function(_82f){var _830=this.disabled||this.isValid(_82f);this._set("state",_830?"":"Incomplete");this.focusNode.setAttribute("aria-invalid",_830?"false":"true");var _831=_830?"":this._missingMsg;if(_831&&this.focused&&this._hasBeenBlurred){_822.show(_831,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_822.hide(this.domNode);}this._set("message",_831);return _830;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_822.hide(this.domNode);this.validate(this.focused);},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",_81d.stop);},_setStyleAttr:function(_832){this.inherited(arguments);_81a.toggle(this.domNode,this.baseClass+"FixedWidth",!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_833){this._loadChildren(true);this._isLoaded=true;_833();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_834){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_834);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_822.hide(this.domNode);this.inherited(arguments);}});_825._Menu=_824;return _825;});},"dijit/_editor/range":function(){define("dijit/_editor/range",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window",".."],function(_835,_836,lang,win,_837){_837.range={};_837.range.getIndex=function(node,_838){var ret=[],retR=[];var _839=node;var _83a,n;while(node!=_838){var i=0;_83a=node.parentNode;while((n=_83a.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_83a.childNodes.length);node=_83a;}if(ret.length>0&&_839.nodeType==3){n=_839.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_839.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};};_837.range.getNode=function(_83b,_83c){if(!lang.isArray(_83b)||_83b.length==0){return _83c;}var node=_83c;_835.every(_83b,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;};_837.range.getCommonAncestor=function(n1,n2,root){root=root||n1.ownerDocument.body;var _83d=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_83d(n1);var n2as=_83d(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;};_837.range.getAncestor=function(node,_83e,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_83e.test(name)){return node;}node=node.parentNode;}return null;};_837.range.BlockTagNames=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/;_837.range.getBlockAncestor=function(node,_83f,root){root=root||node.ownerDocument.body;_83f=_83f||_837.range.BlockTagNames;var _840=null,_841;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_840&&_83f.test(name)){_840=node;}if(!_841&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_841=node;}node=node.parentNode;}return {blockNode:_840,blockContainer:_841||node.ownerDocument.body};};_837.range.atBeginningOfContainer=function(_842,node,_843){var _844=false;var _845=(_843==0);if(!_845&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_843))){_845=true;}}if(_845){var _846=node;_844=true;while(_846&&_846!==_842){if(_846.previousSibling){_844=false;break;}_846=_846.parentNode;}}return _844;};_837.range.atEndOfContainer=function(_847,node,_848){var _849=false;var _84a=(_848==(node.length||node.childNodes.length));if(!_84a&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_848))){_84a=true;}}if(_84a){var _84b=node;_849=true;while(_84b&&_84b!==_847){if(_84b.nextSibling){_849=false;break;}_84b=_84b.parentNode;}}return _849;};_837.range.adjacentNoneTextNode=function(_84c,next){var node=_84c;var len=(0-_84c.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];};_837.range._w3c=Boolean(window["getSelection"]);_837.range.create=function(_84d){if(_837.range._w3c){return (_84d||win.global).document.createRange();}else{return new _837.range.W3CRange;}};_837.range.getSelection=function(win,_84e){if(_837.range._w3c){return win.getSelection();}else{var s=new _837.range.ie.selection(win);if(!_84e){s._getCurrentSelection();}return s;}};if(!_837.range._w3c){_837.range.ie={cachedSelection:{},selection:function(win){this._ranges=[];this.addRange=function(r,_84f){this._ranges.push(r);if(!_84f){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _850=function(){var r=win.document.selection.createRange();var type=win.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _837.range.W3CRange(_837.range.ie.decomposeControlRange(r));}else{return new _837.range.W3CRange(_837.range.ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_850();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_851){var _852=_851.item(0),_853=_851.item(_851.length-1);var _854=_852.parentNode,_855=_853.parentNode;var _856=_837.range.getIndex(_852,_854).o[0];var _857=_837.range.getIndex(_853,_855).o[0]+1;return [_854,_856,_855,_857];},getEndPoint:function(_858,end){var _859=_858.duplicate();_859.collapse(!end);var _85a="EndTo"+(end?"End":"Start");var _85b=_859.parentElement();var _85c,_85d,_85e;if(_85b.childNodes.length>0){_835.every(_85b.childNodes,function(node,i){var _85f;if(node.nodeType!=3){_859.moveToElementText(node);if(_859.compareEndPoints(_85a,_858)>0){if(_85e&&_85e.nodeType==3){_85c=_85e;_85f=true;}else{_85c=_85b;_85d=i;return false;}}else{if(i==_85b.childNodes.length-1){_85c=_85b;_85d=_85b.childNodes.length;return false;}}}else{if(i==_85b.childNodes.length-1){_85c=node;_85f=true;}}if(_85f&&_85c){var _860=_837.range.adjacentNoneTextNode(_85c)[0];if(_860){_85c=_860.nextSibling;}else{_85c=_85b.firstChild;}var _861=_837.range.adjacentNoneTextNode(_85c);_860=_861[0];var _862=_861[1];if(_860){_859.moveToElementText(_860);_859.collapse(false);}else{_859.moveToElementText(_85b);}_859.setEndPoint(_85a,_858);_85d=_859.text.length-_862;return false;}_85e=node;return true;});}else{_85c=_85b;_85d=0;}if(!end&&_85c.nodeType==1&&_85d==_85c.childNodes.length){var _863=_85c.nextSibling;if(_863&&_863.nodeType==3){_85c=_863;_85d=0;}}return [_85c,_85d];},setEndPoint:function(_864,_865,_866){var _867=_864.duplicate(),node,len;if(_865.nodeType!=3){if(_866>0){node=_865.childNodes[_866-1];if(node){if(node.nodeType==3){_865=node;_866=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_865=node.nextSibling;_866=0;}else{_867.moveToElementText(node.nextSibling?node:_865);var _868=node.parentNode;var _869=_868.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_867.collapse(false);_868.removeChild(_869);}}}}else{_867.moveToElementText(_865);_867.collapse(true);}}if(_865.nodeType==3){var _86a=_837.range.adjacentNoneTextNode(_865);var _86b=_86a[0];len=_86a[1];if(_86b){_867.moveToElementText(_86b);_867.collapse(false);if(_86b.contentEditable!="inherit"){len++;}}else{_867.moveToElementText(_865.parentNode);_867.collapse(true);}_866+=len;if(_866>0){if(_867.move("character",_866)!=_866){console.error("Error when moving!");}}}return _867;},decomposeTextRange:function(_86c){var _86d=_837.range.ie.getEndPoint(_86c);var _86e=_86d[0],_86f=_86d[1];var _870=_86d[0],_871=_86d[1];if(_86c.htmlText.length){if(_86c.htmlText==_86c.text){_871=_86f+_86c.text.length;}else{_86d=_837.range.ie.getEndPoint(_86c,true);_870=_86d[0],_871=_86d[1];}}return [_86e,_86f,_870,_871];},setRange:function(_872,_873,_874,_875,_876,_877){var _878=_837.range.ie.setEndPoint(_872,_873,_874);_872.setEndPoint("StartToStart",_878);if(!_877){var end=_837.range.ie.setEndPoint(_872,_875,_876);}_872.setEndPoint("EndToEnd",end||_878);return _872;}};_836("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=_837.range.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_879){_879=parseInt(_879);if(this.startContainer===node&&this.startOffset==_879){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_879;if(!this.endContainer){this.setEnd(node,_879);}else{this._updateInternal();}},setEnd:function(node,_87a){_87a=parseInt(_87a);if(this.endContainer===node&&this.endOffset==_87a){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_87a;if(!this.startContainer){this.setStart(node,_87a);}else{this._updateInternal();}},setStartAfter:function(node,_87b){this._setPoint("setStart",node,_87b,1);},setStartBefore:function(node,_87c){this._setPoint("setStart",node,_87c,0);},setEndAfter:function(node,_87d){this._setPoint("setEnd",node,_87d,1);},setEndBefore:function(node,_87e){this._setPoint("setEnd",node,_87e,0);},_setPoint:function(what,node,_87f,ext){var _880=_837.range.getIndex(node,node.parentNode).o;this[what](node.parentNode,_880.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();_837.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 _837.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 _837.range;});},"dojo/store/util/QueryResults":function(){define(["../../_base/kernel","../../_base/lang","../../_base/Deferred"],function(_881,lang,_882){var util=lang.getObject("dojo.store.util",true);util.QueryResults=function(_883){if(!_883){return _883;}if(_883.then){_883=lang.delegate(_883);}function _884(_885){if(!_883[_885]){_883[_885]=function(){var args=arguments;return _882.when(_883,function(_886){Array.prototype.unshift.call(args,_886);return util.QueryResults(dojo[_885].apply(dojo,args));});};}};_884("forEach");_884("filter");_884("map");if(!_883.total){_883.total=_882.when(_883,function(_887){return _887.length;});}return _883;};return util.QueryResults;});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/window"],function(_888,_889){return _888("dijit.form._ListBase",null,{selected:null,_getTarget:function(evt){var tgt=evt.target;var _88a=this.containerNode;if(tgt==_88a||tgt==this.domNode){return null;}while(tgt&&tgt.parentNode!=_88a){tgt=tgt.parentNode;}return tgt;},selectFirstNode:function(){var _88b=this.containerNode.firstChild;while(_88b&&_88b.style.display=="none"){_88b=_88b.nextSibling;}this._setSelectedAttr(_88b);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last);},selectNextNode:function(){var _88c=this._getSelectedAttr();if(!_88c){this.selectFirstNode();}else{var next=_88c.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next);}}},selectPreviousNode:function(){var _88d=this._getSelectedAttr();if(!_88d){this.selectLastNode();}else{var prev=_88d.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev);}}},_setSelectedAttr:function(node){if(this.selected!=node){var _88e=this._getSelectedAttr();if(_88e){this.onDeselect(_88e);this.selected=null;}if(node&&node.parentNode==this.containerNode){this.selected=node;_889.scrollIntoView(node);this.onSelect(node);}}else{if(node){this.onSelect(node);}}},_getSelectedAttr:function(){var v=this.selected;return (v&&v.parentNode==this.containerNode)?v:(this.selected=null);}});});},"dojo/DeferredList":function(){define(["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_88f,_890){dojo.DeferredList=function(list,_891,_892,_893,_894){var _895=[];_88f.call(this);var self=this;if(list.length===0&&!_891){this.resolve([0,[]]);}var _896=0;_890.forEach(list,function(item,i){item.then(function(_897){if(_891){self.resolve([i,_897]);}else{_898(true,_897);}},function(_899){if(_892){self.reject(_899);}else{_898(false,_899);}if(_893){return null;}throw _899;});function _898(_89a,_89b){_895[i]=[_89a,_89b];_896++;if(_896===list.length){self.resolve(_895);}};});};dojo.DeferredList.prototype=new _88f();dojo.DeferredList.prototype.gatherResults=function(_89c){var d=new dojo.DeferredList(_89c,false,true,false);d.addCallback(function(_89d){var ret=[];_890.forEach(_89d,function(_89e){ret.push(_89e[1]);});return ret;});return d;};return dojo.DeferredList;});},"dojo/dnd/common":function(){define(["../main"],function(dojo){dojo.getObject("dnd",true,dojo);dojo.dnd.getCopyKeyState=dojo.isCopyKey;dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.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 dojo.dnd;});},"dijit/CalendarLite":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/dom","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/_base/window","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html"],function(_89f,_8a0,_8a1,date,_8a2,dom,_8a3,_8a4,lang,has,_8a5,win,_8a6,_8a7,_8a8){var _8a9=_8a0("dijit.CalendarLite",[_8a6,_8a7],{templateString:_8a8,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\"><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:date,dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),baseClass:"dijitCalendar",_isValidDate:function(_8aa){return _8aa&&!isNaN(_8aa)&&typeof _8aa=="object"&&_8aa.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){if(this.value&&!isNaN(this.value)){var _8ab=new this.dateClassObj(this.value);_8ab.setHours(0,0,0,0);if(_8ab.getDate()<this.value.getDate()){_8ab=this.dateFuncObj.add(_8ab,"hour",1);}return _8ab;}else{return null;}},_setValueAttr:function(_8ac,_8ad){if(_8ac){_8ac=new this.dateClassObj(_8ac);}if(this._isValidDate(_8ac)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_8ac,this.value)){_8ac.setHours(1,0,0,0);if(!this.isDisabledDate(_8ac,this.lang)){this._set("value",_8ac);this.set("currentFocus",_8ac);if(_8ad||typeof _8ad=="undefined"){this.onChange(this.get("value"));}}}}else{this._set("value",null);this.set("currentFocus",this.currentFocus);}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(win.doc.createTextNode(text));},_populateGrid:function(){var _8ae=new this.dateClassObj(this.currentFocus);_8ae.setDate(1);var _8af=_8ae.getDay(),_8b0=this.dateFuncObj.getDaysInMonth(_8ae),_8b1=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_8ae,"month",-1)),_8b2=new this.dateClassObj(),_8b3=_8a1.getFirstDayOfWeek(this.lang);if(_8b3>_8af){_8b3-=7;}this._date2cell={};_89f.forEach(this.dateCells,function(_8b4,idx){var i=idx+_8b3;var date=new this.dateClassObj(_8ae),_8b5,_8b6="dijitCalendar",adj=0;if(i<_8af){_8b5=_8b1-_8af+i+1;adj=-1;_8b6+="Previous";}else{if(i>=(_8af+_8b0)){_8b5=i-_8af-_8b0+1;adj=1;_8b6+="Next";}else{_8b5=i-_8af+1;_8b6+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_8b5);if(!this.dateFuncObj.compare(date,_8b2,"date")){_8b6="dijitCalendarCurrentDate "+_8b6;}if(this._isSelectedDate(date,this.lang)){_8b6="dijitCalendarSelectedDate "+_8b6;_8b4.setAttribute("aria-selected",true);}else{_8b4.setAttribute("aria-selected",false);}if(this.isDisabledDate(date,this.lang)){_8b6="dijitCalendarDisabledDate "+_8b6;_8b4.setAttribute("aria-disabled",true);}else{_8b6="dijitCalendarEnabledDate "+_8b6;_8b4.removeAttribute("aria-disabled");}var _8b7=this.getClassForDate(date,this.lang);if(_8b7){_8b6=_8b7+" "+_8b6;}_8b4.className=_8b6+"Month dijitCalendarDateTemplate";var _8b8=date.valueOf();this._date2cell[_8b8]=_8b4;_8b4.dijitDateValue=_8b8;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);this.monthWidget.set("month",_8ae);var y=_8ae.getFullYear()-1;var d=new this.dateClassObj();_89f.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(args){this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=typeof this.datePackage=="string"?lang.getObject(this.datePackage,false):this.datePackage;this.dateClassObj=this.dateFuncObj.Date||Date;this.dateLocaleModule=lang.getObject("locale",false,this.dateFuncObj);},_createMonthWidget:function(){return _8a9._MonthWidget({id:this.id+"_mw",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_8b9=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_8ba=_8a1.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_8a5.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _8b9[_8ba++%7];});var r=_8a5.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 _8bb=new this.dateClassObj(this.currentFocus);this._supportingWidgets.push(this.monthWidget=this._createMonthWidget());this.set("currentFocus",_8bb,false);var _8bc=lang.hitch(this,function(_8bd,part,_8be){this.connect(this[_8bd],"onclick",function(){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_8be));});});_8bc("incrementMonth","month",1);_8bc("decrementMonth","month",-1);_8bc("nextYearLabelNode","year",1);_8bc("previousYearLabelNode","year",-1);},_setCurrentFocusAttr:function(date,_8bf){var _8c0=this.currentFocus,_8c1=_8c0&&this._date2cell?this._date2cell[_8c0.valueOf()]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _8c2=this._date2cell[date.valueOf()];_8c2.setAttribute("tabIndex",this.tabIndex);if(this.focused||_8bf){_8c2.focus();}if(_8c1&&_8c1!=_8c2){if(has("webkit")){_8c1.setAttribute("tabIndex","-1");}else{_8c1.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){_8a4.stop(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_8a3.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},onChange:function(){},_isSelectedDate:function(_8c3){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_8c3,this.value,"date");},isDisabledDate:function(){},getClassForDate:function(){}});_8a9._MonthWidget=_8a0("dijit.CalendarLite._MonthWidget",_8a6,{_setMonthAttr:function(_8c4){var _8c5=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_8c4),_8c6=(has("ie")==6?"":"<div class='dijitSpacer'>"+_89f.map(_8c5,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_8c6+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_8c5[_8c4.getMonth()]+"</div>";}});return _8a9;});},"dijit/CheckedMenuItem":function(){require({cache:{"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\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(_8c7,_8c8,_8c9,_8ca){return _8c7("dijit.CheckedMenuItem",_8c9,{templateString:_8ca,checked:false,_setCheckedAttr:function(_8cb){_8c8.toggle(this.domNode,"dijitCheckedMenuItemChecked",_8cb);this.domNode.setAttribute("aria-checked",_8cb);this._set("checked",_8cb);},iconClass:"",onChange:function(){},_onClick:function(e){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_8cc,_8cd){return _8cc("dijit.form.VerticalRuleLabels",_8cd,{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"],function(_8ce,_8cf,_8d0,lang,_8d1,_8d2,_8d3,_8d4,_8d5){return _8d0("dijit.Declaration",_8d3,{_noScript:true,stopParser:true,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_8d6=_8d2("> script[type^='dojo/method']",src).orphan(),_8d7=_8d2("> script[type^='dojo/connect']",src).orphan(),_8d8=src.nodeName;var _8d9=this.defaults||{};_8ce.forEach(_8d6,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),func=_8d1._functionFromScript(s);if(evt){_8d9[evt]=func;}else{_8d7.push(s);}});this.mixins=this.mixins.length?_8ce.map(this.mixins,function(name){return lang.getObject(name);}):[_8d3,_8d4,_8d5];_8d9._skipNodeCache=true;_8d9.templateString="<"+_8d8+" 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,"}")+"</"+_8d8+">";var wc=_8d0(this.widgetClass,this.mixins,_8d9);_8ce.forEach(_8d7,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event")||"postscript",func=_8d1._functionFromScript(s);_8cf.connect(wc.prototype,evt,func);});}});});},"dijit/MenuSeparator":function(){require({cache:{"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\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(_8da,dom,_8db,_8dc,_8dd,_8de){return _8da("dijit.MenuSeparator",[_8db,_8dc,_8dd],{templateString:_8de,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-construct","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_8df,_8e0,_8e1,_8e2,keys,_8e3,_8e4,_8e5,_8e6){return _8df("dijit.form._ComboBoxMenu",[_8e3,_8e4,_8e6,_8e5],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;'>"+"<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",_createMenuItem:function(){return _8e1.create("div",{"class":"dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl"),role:"option"});},onHover:function(node){_8e0.add(node,"dijitMenuItemHover");},onUnhover:function(node){_8e0.remove(node,"dijitMenuItemHover");},onSelect:function(node){_8e0.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_8e0.remove(node,"dijitMenuItemSelected");},_page:function(up){var _8e7=0;var _8e8=this.domNode.scrollTop;var _8e9=_8e2.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_8e7<_8e9){if(up){if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _8ea=this.domNode.scrollTop;_8e7+=(_8ea-_8e8)*(up?-1:1);_8e8=_8ea;}},handleKey:function(evt){switch(evt.charOrCode){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<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\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/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/_base/window","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",".","dojo/i18n!./nls/common"],function(_8eb,_8ec,_8ed,_8ee,_8ef,dom,_8f0,_8f1,_8f2,_8f3,fx,i18n,_8f4,keys,lang,on,_8f5,has,win,_8f6,_8f7,_8f8,_8f9,_8fa,_8fb,_8fc,_8fd,_8fe,_8ff,_900,_901,_902,_903){var _904=_8ee("dijit._DialogBase",[_8fc,_8fe,_8ff,_8fd],{templateString:_902,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_8fa.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _905=i18n.getLocalization("dijit","common");lang.mixin(this,_905);this.inherited(arguments);},postCreate:function(){_8f2.set(this.domNode,{display:"none",position:"absolute"});win.body().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&&_906.isTop(this)){this._getFocusItems(this.domNode);_8f9.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(){var _907=_8f1.position(this.domNode),_908=_8f6.getBox();_907.y=Math.min(Math.max(_907.y,0),(_908.h-_907.h));_907.x=Math.min(Math.max(_907.x,0),(_908.w-_907.w));this._relativePosition=_907;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_8f8:_8f7)(node,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_8f0.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_8ec.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(this._singleChildOriginalStyle){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;}delete this._singleChildOriginalStyle;}else{_8f2.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_8f1.position(this.domNode);var _909=_8f6.getBox();if(bb.w>=_909.w||bb.h>=_909.h){var w=Math.min(bb.w,Math.floor(_909.w*0.75)),h=Math.min(bb.h,Math.floor(_909.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{_8f2.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(!_8f0.contains(win.body(),"dojoMove")){var node=this.domNode,_90a=_8f6.getBox(),p=this._relativePosition,bb=p?null:_8f1.position(node),l=Math.floor(_90a.l+(p?p.x:(_90a.w-bb.w)/2)),t=Math.floor(_90a.t+(p?p.y:(_90a.h-bb.h)/2));_8f2.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 _90b=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_90b){_8f9.focus(this._lastFocusItem);}_8f3.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_90b){_8f9.focus(this._firstFocusItem);}_8f3.stop(evt);}else{while(node){if(node==this.domNode||_8f0.contains(node,"dijitPopup")){if(evt.charOrCode==keys.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==keys.TAB){_8f3.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();}this._modalconnects.push(on(window,"scroll",lang.hitch(this,"layout")));this._modalconnects.push(on(window,"resize",lang.hitch(this,function(){var _90c=_8f6.getBox();if(!this._oldViewport||_90c.h!=this._oldViewport.h||_90c.w!=this._oldViewport.w){this.layout();this._oldViewport=_90c;}})));this._modalconnects.push(on(this.domNode,_8ed._keypress,lang.hitch(this,"_onKey")));_8f2.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _90d;this._fadeInDeferred=new _8ef(lang.hitch(this,function(){_90d.stop();delete this._fadeInDeferred;}));_90d=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_906.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_906.isTop(this)){this._getFocusItems(this.domNode);_8f9.focus(this._firstFocusItem);}this._fadeInDeferred.callback(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _90e;this._fadeOutDeferred=new _8ef(lang.hitch(this,function(){_90e.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(lang.hitch(this,"onHide"));_90e=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_906.hide(this);this._fadeOutDeferred.callback(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;},layout:function(){if(this.domNode.style.display!="none"){if(_903._underlay){_903._underlay.layout();}this._position();}},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();}_906.hide(this);this.inherited(arguments);}});var _90f=_8ee("dijit.Dialog",[_901,_904],{});_90f._DialogBase=_904;var _906=_90f._DialogLevelManager={_beginZIndex:950,show:function(_910,_911){ds[ds.length-1].focus=_8f9.curNode;var _912=_903._underlay;if(!_912||_912._destroyed){_912=_903._underlay=new _900(_911);}else{_912.set(_910.underlayAttrs);}var _913=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_90f._DialogLevelManager._beginZIndex;if(ds.length==1){_912.show();}_8f2.set(_903._underlay.domNode,"zIndex",_913-1);_8f2.set(_910.domNode,"zIndex",_913);ds.push({dialog:_910,underlayAttrs:_911,zIndex:_913});},hide:function(_914){if(ds[ds.length-1].dialog==_914){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!_903._underlay._destroyed){_903._underlay.hide();}}else{_8f2.set(_903._underlay.domNode,"zIndex",pd.zIndex-1);_903._underlay.set(pd.underlayAttrs);}if(_914.refocus){var _915=pd.focus;if(pd.dialog&&(!_915||!dom.isDescendant(_915,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_915=pd.dialog._firstFocusItem;}if(_915){_915.focus();}}}else{var idx=_8ec.indexOf(_8ec.map(ds,function(elem){return elem.dialog;}),_914);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_916){return ds[ds.length-1].dialog==_916;}};var ds=_90f._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(!_8f4.isAsync){_8f5(0,function(){var _917=["dijit/TooltipDialog"];_8eb(_917);});}return _90f;});},"dijit/form/MultiSelect":function(){define("dijit/form/MultiSelect",["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/query","./_FormValueWidget"],function(_918,_919,_91a,_91b,_91c){return _919("dijit.form.MultiSelect",_91c,{size:7,templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_91d){_91d.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _91e=_91d.domNode.scrollTop;_91d.domNode.scrollTop=0;_91d.domNode.scrollTop=_91e;},this);this._set("value",this.get("value"));},getSelected:function(){return _91b("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _918.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_91f,_920){_91b("option",this.containerNode).forEach(function(n){n.selected=(_918.indexOf(_91f,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_921){var val=[];_91b("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_921===false||_921==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_91a.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});});},"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,_922,_923,_924,lang,_925,_926,_927){new Date("X");var _928=_924("dijit.form._DateTimeTextBox",[_925,_926],{templateString:_927,hasDownArrow:true,openOnClick:true,regExpGen:_922.regexp,datePackage:date,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _929=this._isInvalidDate(val1);var _92a=this._isInvalidDate(val2);return _929?(_92a?0:-1):(_92a?1:date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_92b,_92c){if(!_92b){return "";}return this.dateLocaleModule.format(_92b,_92c);},"parse":function(_92d,_92e){return this.dateLocaleModule.parse(_92d,_92e)||(this._isEmpty(_92d)?null:undefined);},serialize:function(val,_92f){if(val.toGregorian){val=val.toGregorian();}return _923.toISOString(val,_92f);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(args){this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=typeof this.datePackage=="string"?lang.getObject(this.datePackage,false):this.datePackage;this.dateClassObj=this.dateFuncObj.Date||Date;this.dateLocaleModule=lang.getObject("locale",false,this.dateFuncObj);this.regExpGen=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.openOnClick||!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_930){_930.selector=this._selector;_930.fullYear=true;var _931=_923.fromISOString;if(typeof _930.min=="string"){_930.min=_931(_930.min);}if(typeof _930.max=="string"){_930.max=_931(_930.max);}this.inherited(arguments);},_isInvalidDate:function(_932){return !_932||isNaN(_932)||typeof _932!="object"||_932.toString()==this._invalidDate;},_setValueAttr:function(_933,_934,_935){if(_933!==undefined){if(typeof _933=="string"){_933=_923.fromISOString(_933);}if(this._isInvalidDate(_933)){_933=null;}if(_933 instanceof Date&&!(this.dateClassObj instanceof Date)){_933=new this.dateClassObj(_933);}}this.inherited(arguments);if(this.dropDown){this.dropDown.set("value",_933,false);}},_set:function(attr,_936){if(attr=="value"&&this.value instanceof Date&&this.compare(_936,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_937){if(this.dropDown){this.dropDown.destroy();}var _938=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_939=this,_93a=this.get("value");this.dropDown=new _938({onChange:function(_93b){_928.superclass._setValueAttr.call(_939,_93b,true);},id:this.id+"_popup",dir:_939.dir,lang:_939.lang,value:_93a,currentFocus:!this._isInvalidDate(_93a)?_93a:this.dropDownDefaultValue,constraints:_939.constraints,filterString:_939.filterString,datePackage:_939.datePackage,isDisabledDate:function(date){return !_939.rangeCheck(date,_939.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_93c,_93d){this._setValueAttr(this.parse(_93c,this.constraints),_93d,_93c);}});return _928;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_93e,_93f){return _93e("dijit.form._ToggleButtonMixin",null,{checked:false,_onClick:function(evt){var _940=this.checked;this._set("checked",!_940);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_940);return ret;},_setCheckedAttr:function(_941,_942){this._set("checked",_941);_93f.set(this.focusNode||this.domNode,"checked",_941);(this.focusNode||this.domNode).setAttribute("aria-pressed",_941);this._handleOnChange(_941,_942);},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/_base/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton","./hccss"],function(_943,date,_944,_945,_946,_947,_948,_949,keys,lang,has,_94a,_94b,_94c,_94d,_94e){var _94f=_945("dijit.Calendar",[_94a,_94b,_94c],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_950){_949.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_950);},_createMonthWidget:function(){return new _94f._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress","_onKeyPress");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(_951){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,"month",_951-this.currentFocus.getMonth()));},_onDayMouseOver:function(evt){var node=_947.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_947.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_947.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(_947.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_947.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_947.contains(node,"dijitCalendarDisabledDate")){_947.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_947.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _952=-1,_953,_954=this.currentFocus;switch(evt.charOrCode){case keys.RIGHT_ARROW:_952=1;case keys.LEFT_ARROW:_953="day";if(!this.isLeftToRight()){_952*=-1;}break;case keys.DOWN_ARROW:_952=1;case keys.UP_ARROW:_953="week";break;case keys.PAGE_DOWN:_952=1;case keys.PAGE_UP:_953=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_954=this.dateFuncObj.add(_954,"month",1);_953="day";case keys.HOME:_954=new this.dateClassObj(_954);_954.setDate(1);break;case keys.ENTER:case " ":this.set("value",this.currentFocus);break;default:return true;}if(_953){_954=this.dateFuncObj.add(_954,_953,_952);}this._setCurrentFocusAttr(_954);return false;},_onKeyPress:function(evt){if(!this.handleKey(evt)){_948.stop(evt);}},onValueSelected:function(){},onChange:function(_955){this.onValueSelected(_955);},getClassForDate:function(){}});_94f._MonthDropDownButton=_945("dijit.Calendar._MonthDropDownButton",_94e,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _94f._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_956){var _957=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_956);this.dropDown.set("months",_957);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_957[_956.getMonth()]+"</div>";}});_94f._MonthDropDown=_945("dijit.Calendar._MonthDropDown",[_94b,_94d],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_958){this.domNode.innerHTML=_943.map(_958,function(_959,idx){return _959?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_959+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_946.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_947.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _94f;});},"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"combobox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\" role=\"presentation\"\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  data-dojo-attach-point=\"containerNode,_popupStateNode\"></span\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\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></tr></tbody\n></table>\n","dijit/_editor/selection":function(){define(["dojo/dom","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window",".."],function(dom,lang,has,win,_95a){lang.getObject("_editor.selection",true,_95a);lang.mixin(_95a._editor.selection,{getType:function(){if(has("ie")<9){return win.doc.selection.type.toLowerCase();}else{var _95b="text";var oSel;try{oSel=win.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _95c=oSel.getRangeAt(0);if((_95c.startContainer==_95c.endContainer)&&((_95c.endOffset-_95c.startOffset)==1)&&(_95c.startContainer.nodeType!=3)){_95b="control";}}return _95b;}},getSelectedText:function(){if(has("ie")<9){if(_95a._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().text;}else{var _95d=win.global.getSelection();if(_95d){return _95d.toString();}}return "";},getSelectedHtml:function(){if(has("ie")<9){if(_95a._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().htmlText;}else{var _95e=win.global.getSelection();if(_95e&&_95e.rangeCount){var i;var html="";for(i=0;i<_95e.rangeCount;i++){var frag=_95e.getRangeAt(i).cloneContents();var div=win.doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}},getSelectedElement:function(){if(_95a._editor.selection.getType()=="control"){if(has("ie")<9){var _95f=win.doc.selection.createRange();if(_95f&&_95f.item){return win.doc.selection.createRange().item(0);}}else{var _960=win.global.getSelection();return _960.anchorNode.childNodes[_960.anchorOffset];}}return null;},getParentElement:function(){if(_95a._editor.selection.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(has("ie")<9){var r=win.doc.selection.createRange();r.collapse(true);return r.parentElement();}else{var _961=win.global.getSelection();if(_961){var node=_961.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}return null;},hasAncestorElement:function(_962){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_963){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _964=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _965=String(tags[i]).toLowerCase();if(_964==_965){return _965;}}}return "";},getParentOfType:function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;},collapse:function(_966){if(window.getSelection){var _967=win.global.getSelection();if(_967.removeAllRanges){if(_966){_967.collapseToStart();}else{_967.collapseToEnd();}}else{_967.collapse(_966);}}else{if(has("ie")){var _968=win.doc.selection.createRange();_968.collapse(_966);_968.select();}}},remove:function(){var sel=win.doc.selection;if(has("ie")<9){if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}else{sel=win.global.getSelection();sel.deleteFromDocument();return sel;}},selectElementChildren:function(_969,_96a){var _96b=win.global;var doc=win.doc;var _96c;_969=dom.byId(_969);if(doc.selection&&has("ie")<9&&win.body().createTextRange){_96c=_969.ownerDocument.body.createTextRange();_96c.moveToElementText(_969);if(!_96a){try{_96c.select();}catch(e){}}}else{if(_96b.getSelection){var _96d=win.global.getSelection();if(has("opera")){if(_96d.rangeCount){_96c=_96d.getRangeAt(0);}else{_96c=doc.createRange();}_96c.setStart(_969,0);_96c.setEnd(_969,(_969.nodeType==3)?_969.length:_969.childNodes.length);_96d.addRange(_96c);}else{_96d.selectAllChildren(_969);}}}},selectElement:function(_96e,_96f){var _970;var doc=win.doc;var _971=win.global;_96e=dom.byId(_96e);if(has("ie")<9&&win.body().createTextRange){try{var tg=_96e.tagName?_96e.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_970=win.body().createControlRange();}else{_970=win.body().createRange();}_970.addElement(_96e);if(!_96f){_970.select();}}catch(e){this.selectElementChildren(_96e,_96f);}}else{if(_971.getSelection){var _972=_971.getSelection();_970=doc.createRange();if(_972.removeAllRanges){if(has("opera")){if(_972.getRangeAt(0)){_970=_972.getRangeAt(0);}}_970.selectNode(_96e);_972.removeAllRanges();_972.addRange(_970);}}}},inSelection:function(node){if(node){var _973;var doc=win.doc;var _974;if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.rangeCount>0){_974=sel.getRangeAt(0);}if(_974&&_974.compareBoundaryPoints&&doc.createRange){try{_973=doc.createRange();_973.setStart(node,0);if(_974.compareBoundaryPoints(_974.START_TO_END,_973)===1){return true;}}catch(e){}}}else{if(doc.selection){_974=doc.selection.createRange();try{_973=node.ownerDocument.body.createControlRange();if(_973){_973.addElement(node);}}catch(e1){try{_973=node.ownerDocument.body.createTextRange();_973.moveToElementText(node);}catch(e2){}}if(_974&&_973){if(_974.compareEndPoints("EndToStart",_973)===1){return true;}}}}}return false;}});return _95a._editor.selection;});},"dijit/form/nls/ComboBox":function(){define({root:({previousMessage:"Previous choices",nextMessage:"More choices"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_975,dojo,_976,_977,_978,dom,_979,geom,_97a,_97b){if(!dojo.isAsync){_97a(0,function(){var _97c=["./fx/Toggler"];_97b(_97c);});}var _97d={};dojo.fx=_978;var _97e={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _97f=function(_980){this._index=-1;this._animations=_980||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_976.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_97f.prototype=new _975();lang.extend(_97f,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_977.disconnect(this._onAnimateCtx);_977.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=_977.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_977.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_981,_982){if(!this._current){this._current=this._animations[this._index=0];}if(!_982&&this._current.status()=="playing"){return this;}var _983=_977.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_984=_977.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_985=_977.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_977.disconnect(_983);_977.disconnect(_984);_977.disconnect(_985);});if(this._onAnimateCtx){_977.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_977.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_977.disconnect(this._onEndCtx);}this._onEndCtx=_977.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_977.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_977.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_986,_987){this.pause();var _988=this.duration*_986;this._current=null;_976.some(this._animations,function(a){if(a.duration<=_988){this._current=a;return true;}_988-=a.duration;return false;});if(this._current){this._current.gotoPercent(_988/this._current.duration,_987);}return this;},stop:function(_989){if(this._current){if(_989){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_977.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_977.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_977.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_977.disconnect(this._onEndCtx);}}});lang.extend(_97f,_97e);_97d.chain=dojo.fx.chain=function(_98a){return new _97f(_98a);};var _98b=function(_98c){this._animations=_98c||[];this._connects=[];this._finished=0;this.duration=0;_976.forEach(_98c,function(a){var _98d=a.duration;if(a.delay){_98d+=a.delay;}if(this.duration<_98d){this.duration=_98d;}this._connects.push(_977.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _978.Animation({curve:[0,1],duration:this.duration});var self=this;_976.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_977.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_98b,{_doAction:function(_98e,args){_976.forEach(this._animations,function(a){a[_98e].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_98f,args){var t=this._pseudoAnimation;t[_98f].apply(t,args);},play:function(_990,_991){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(_992,_993){var ms=this.duration*_992;_976.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_993);});this._call("gotoPercent",arguments);return this;},stop:function(_994){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_976.forEach(this._connects,_977.disconnect);}});lang.extend(_98b,_97e);_97d.combine=dojo.fx.combine=function(_995){return new _98b(_995);};_97d.wipeIn=dojo.fx.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_978.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 _996=_979.get(node,"height");return Math.max(_996,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_977.connect(anim,"onStop",fini);_977.connect(anim,"onEnd",fini);return anim;};_97d.wipeOut=dojo.fx.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_978.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_977.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_977.connect(anim,"onStop",fini);_977.connect(anim,"onEnd",fini);return anim;};_97d.slideTo=dojo.fx.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_979.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=_978.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_977.connect(anim,"beforeBegin",anim,init);return anim;};lang.mixin(dojo.fx,_97d);return _97d;});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_997,a11y){return _997("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _998=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_998.lowest||_998.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_998.last||_998.highest||this._firstFocusItem;}});});},"dijit/nls/common":function(){define({root:({buttonOk:"OK",buttonCancel:"Cancel",buttonSave:"Save",itemClose:"Close"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dijit/Tree":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/cookie","dojo/_base/declare","dojo/_base/Deferred","dojo/DeferredList","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/fx","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/topic","./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(_999,_99a,_99b,_99c,_99d,_99e,dom,_99f,_9a0,_9a1,_9a2,_9a3,_9a4,keys,lang,_9a5,_9a6,_9a7,_9a8,_9a9,_9aa,_9ab,_9ac,_9ad,_9ae,_9af,_9b0,_9b1,_9b2){var _9b3=_99c("dijit._TreeNode",[_9a9,_9aa,_9ab,_9ac,_9ad],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_9ae,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow",labelNode:"dijitTreeLabel"},_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(_9b4){var _9b5=(Math.max(_9b4,0)*this.tree._nodePixelIndent)+"px";_9a1.set(this.domNode,"backgroundPosition",_9b5+" 0px");_9a1.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_9b5);_999.forEach(this.getChildren(),function(_9b6){_9b6.set("indent",_9b4+1);});this._set("indent",_9b4);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_9b7=tree.model;if(tree._v10Compat&&item===_9b7.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");},_applyClassAndStyle:function(item,_9b8,_9b9){var _9ba="_"+_9b8+"Class";var _9bb=_9b8+"Node";var _9bc=this[_9ba];this[_9ba]=this.tree["get"+_9b9+"Class"](item,this.isExpanded);_99f.replace(this[_9bb],this[_9ba]||"",_9bc||"");_9a1.set(this[_9bb],this.tree["get"+_9b9+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _9bd=this.getParent();if(!_9bd||!_9bd.rowNode||_9bd.rowNode.style.display=="none"){_99f.add(this.domNode,"dijitTreeIsRoot");}else{_99f.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_9be){var _9bf=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_9c0=["*","-","+","*"],idx=_9be?0:(this.isExpandable?(this.isExpanded?1:2):3);_99f.replace(this.expandoNode,_9bf[idx],_9bf);this.expandoNodeText.innerHTML=_9c0[idx];},expand:function(){if(this._expandDeferred){return this._expandDeferred;}this._wipeOut&&this._wipeOut.stop();this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_99f.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode){this.tree.domNode.setAttribute("aria-expanded","true");}var def,_9c1=_9a3.wipeIn({node:this.containerNode,duration:_9a8.defaultDuration,onEnd:function(){def.callback(true);}});def=(this._expandDeferred=new _99d(function(){_9c1.stop();}));_9c1.play();return def;},collapse:function(){if(!this.isExpanded){return;}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.domNode.setAttribute("aria-expanded","false");}_99f.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(!this._wipeOut){this._wipeOut=_9a3.wipeOut({node:this.containerNode,duration:_9a8.defaultDuration});}this._wipeOut.play();},indent:0,setChildItems:function(_9c2){var tree=this.tree,_9c3=tree.model,defs=[];_999.forEach(this.getChildren(),function(_9c4){_9ab.prototype.removeChild.call(this,_9c4);},this);this.state="LOADED";if(_9c2&&_9c2.length>0){this.isExpandable=true;_999.forEach(_9c2,function(item){var id=_9c3.getIdentity(item),_9c5=tree._itemNodesMap[id],node;if(_9c5){for(var i=0;i<_9c5.length;i++){if(_9c5[i]&&!_9c5[i].getParent()){node=_9c5[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_9c3.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_9c5){_9c5.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_999.forEach(this.getChildren(),function(_9c6){_9c6._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");}}return new _99e(defs);},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 _9c7=this.getChildren();if(_9c7.length==0){this.isExpandable=false;this.collapse();}_999.forEach(_9c7,function(_9c8){_9c8._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},_onLabelFocus:function(){this.tree._onNodeFocus(this);},setSelected:function(_9c9){this.labelNode.setAttribute("aria-selected",_9c9);_99f.toggle(this.rowNode,"dijitTreeRowSelected",_9c9);},setFocusable:function(_9ca){this.labelNode.setAttribute("tabIndex",_9ca?"0":"-1");},_onClick:function(evt){this.tree._onClick(this,evt);},_onDblClick:function(evt){this.tree._onDblClick(this,evt);},_onMouseEnter:function(evt){this.tree._onNodeMouseEnter(this,evt);},_onMouseLeave:function(evt){this.tree._onNodeMouseLeave(this,evt);},_setTextDirAttr:function(_9cb){if(_9cb&&((this.textDir!=_9cb)||!this._created)){this._set("textDir",_9cb);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_999.forEach(this.getChildren(),function(_9cc){_9cc.set("textDir",_9cb);},this);}}});var Tree=_99c("dijit.Tree",[_9a9,_9aa],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_9af,persist:true,autoExpand:false,dndController:_9b2,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(_9cd,_9ce){_9a5.publish(this.id,lang.mixin({tree:this,event:_9cd},_9ce||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this._loadDeferred=new _99d();this.inherited(arguments);},postCreate:function(){this._initState();if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this._load();this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _9cf={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_9cf[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_9cf);}},_store2model:function(){this._v10Compat=true;_9a4.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _9d0={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_9d0.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_9d0.getChildren=lang.hitch(this,function(item,_9d1,_9d2){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_9d1,_9d2);});}this.model=new _9b1(_9d0);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");rn.labelNode.setAttribute("role","presentation");rn.containerNode.setAttribute("role","tree");}this.domNode.appendChild(rn.domNode);var _9d3=this.model.getIdentity(item);if(this._itemNodesMap[_9d3]){this._itemNodesMap[_9d3].push(rn);}else{this._itemNodesMap[_9d3]=[rn];}rn._updateLayout();this._expandNode(rn).addCallback(lang.hitch(this,function(){this._loadDeferred.callback(true);this.onLoad();}));}),function(err){console.error(this,": error loading root: ",err);});},getNodesByItem:function(item){if(!item){return [];}var _9d4=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_9d4]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_9d5){var tree=this;this._loadDeferred.addCallback(lang.hitch(this,function(){var _9d6=_999.map(_9d5,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _9d7=[];_999.forEach(_9d6,function(id){_9d7=_9d7.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_9d7);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_9d8){var tree=this;return new _99e(_999.map(_9d8,function(path){var d=new _99d();path=_999.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){tree._loadDeferred.addCallback(function(){_9d9(path,[tree.rootNode],d);});}else{d.errback("Empty path");}return d;})).addCallback(_9da);function _9d9(path,_9db,def){var _9dc=path.shift();var _9dd=_999.filter(_9db,function(node){return node.getIdentity()==_9dc;})[0];if(!!_9dd){if(path.length){tree._expandNode(_9dd).addCallback(function(){_9d9(path,_9dd.getChildren(),def);});}else{def.callback(_9dd);}}else{def.errback("Could not expand path at "+_9dc);}};function _9da(_9de){tree.set("selectedNodes",_999.map(_999.filter(_9de,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_9df){this._loadDeferred.addCallback(lang.hitch(this,function(){this.dndController.setSelection(_9df);}));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_9e0){return (!item||this.model.mayHaveChildren(item))?(_9e0?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(e){if(e.altKey){return;}var _9e1=_9a7.getEnclosingWidget(e.target);if(!_9e1){return;}var key=e.charOrCode;if(typeof key=="string"&&key!=" "){if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){this._onLetterKeyNav({node:_9e1,key:key.toLowerCase()});_9a2.stop(e);}}else{if(this._curSearch){clearTimeout(this._curSearch.timer);delete this._curSearch;}var map=this._keyHandlerMap;if(!map){map={};map[keys.ENTER]="_onEnterKey";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]){this[this._keyHandlerMap[key]]({node:_9e1,item:_9e1.item,evt:e});_9a2.stop(e);}}},_onEnterKey:function(_9e2){this._publish("execute",{item:_9e2.item,node:_9e2.node});this.dndController.userSelect(_9e2.node,_99a.isCopyKey(_9e2.evt),_9e2.evt.shiftKey);this.onClick(_9e2.item,_9e2.node,_9e2.evt);},_onDownArrow:function(_9e3){var node=this._getNextNode(_9e3.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_9e4){var node=_9e4.node;var _9e5=node.getPreviousSibling();if(_9e5){node=_9e5;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _9e6=node.getChildren();node=_9e6[_9e6.length-1];}}else{var _9e7=node.getParent();if(!(!this.showRoot&&_9e7===this.rootNode)){node=_9e7;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_9e8){var node=_9e8.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(_9e9){var node=_9e9.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _9ea=node.getParent();if(_9ea&&_9ea.isTreeNode&&!(!this.showRoot&&_9ea===this.rootNode)){this.focusNode(_9ea);}}},_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(_9eb){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_9eb.key;clearTimeout(cs.timer);}else{cs=this._curSearch={pattern:_9eb.key,startNode:_9eb.node};}var self=this;cs.timer=setTimeout(function(){delete self._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,_9ec){return dom.isDescendant(node,_9ec.expandoNode);},_onClick:function(_9ed,e){var _9ee=e.target,_9ef=this.isExpandoNode(_9ee,_9ed);if((this.openOnClick&&_9ed.isExpandable)||_9ef){if(_9ed.isExpandable){this._onExpandoClick({node:_9ed});}}else{this._publish("execute",{item:_9ed.item,node:_9ed,evt:e});this.onClick(_9ed.item,_9ed,e);this.focusNode(_9ed);}_9a2.stop(e);},_onDblClick:function(_9f0,e){var _9f1=e.target,_9f2=(_9f1==_9f0.expandoNode||_9f1==_9f0.expandoNodeText);if((this.openOnDblClick&&_9f0.isExpandable)||_9f2){if(_9f0.isExpandable){this._onExpandoClick({node:_9f0});}}else{this._publish("execute",{item:_9f0.item,node:_9f0,evt:e});this.onDblClick(_9f0.item,_9f0,e);this.focusNode(_9f0);}_9a2.stop(e);},_onExpandoClick:function(_9f3){var node=_9f3.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 _9f4=node.getNextSibling();if(_9f4){return _9f4;}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.isExpandable){if(node.state=="LOADING"){return;}node.collapse();this.onClose(node.item,node);this._state(node,false);}},_expandNode:function(node,_9f5){if(node._expandNodeDeferred&&!_9f5){return node._expandNodeDeferred;}var _9f6=this.model,item=node.item,_9f7=this;switch(node.state){case "UNCHECKED":node.markProcessing();var def=(node._expandNodeDeferred=new _99d());_9f6.getChildren(item,function(_9f8){node.unmarkProcessing();var scid=node.setChildItems(_9f8);var ed=_9f7._expandNode(node,true);scid.addCallback(function(){ed.addCallback(function(){def.callback();});});},function(err){console.error(_9f7,": error loading root children: ",err);});break;default:def=(node._expandNodeDeferred=node.expand());this.onOpen(node.item,node);this._state(node,true);}return def;},focusNode:function(node){_9a6.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 _9f9=this.model,_9fa=_9f9.getIdentity(item),_9fb=this._itemNodesMap[_9fa];if(_9fb){var _9fc=this.getLabel(item),_9fd=this.getTooltip(item);_999.forEach(_9fb,function(node){node.set({item:item,label:_9fc,tooltip:_9fd});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_9fe,_9ff){var _a00=this.model,_a01=_a00.getIdentity(_9fe),_a02=this._itemNodesMap[_a01];if(_a02){_999.forEach(_a02,function(_a03){_a03.setChildItems(_9ff);});}},_onItemDelete:function(item){var _a04=this.model,_a05=_a04.getIdentity(item),_a06=this._itemNodesMap[_a05];if(_a06){_999.forEach(_a06,function(node){this.dndController.removeTreeNode(node);var _a07=node.getParent();if(_a07){_a07.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_a05];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_99b(this.cookieName);if(oreo){_999.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_a08){if(!this.persist){return false;}var path=_999.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_a08){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}var ary=[];for(var id in this._openedNodes){ary.push(id);}_99b(this.cookieName,ary.join(","),{expires:365});}},destroy:function(){if(this._curSearch){clearTimeout(this._curSearch.timer);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(_a09){if(_a09){_9a0.setMarginBox(this.domNode,_a09);}this._nodePixelIndent=_9a0.position(this.tree.indentDetector).w;if(this.tree.rootNode){this.tree.rootNode.set("indent",this.showRoot?0:-1);}},_createTreeNode:function(args){return new _9b3(args);},_setTextDirAttr:function(_a0a){if(_a0a&&this.textDir!=_a0a){this._set("textDir",_a0a);this.rootNode.set("textDir",_a0a);}}});Tree._TreeNode=_9b3;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/_base/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","../registry","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_a0b,_a0c,move,_a0d,fx,_a0e,_a0f,keys,lang,has,_a10,_a11,_a12,_a13,_a14,_a15,_a16,_a17,_a18,_a19){var _a1a=_a0c("dijit.form._SliderMover",_a11,{onMouseMove:function(e){var _a1b=this.widget;var _a1c=_a1b._abspos;if(!_a1c){_a1c=_a1b._abspos=_a0e.position(_a1b.sliderBarContainer,true);_a1b._setPixelValue_=lang.hitch(_a1b,"_setPixelValue");_a1b._isReversed_=_a1b._isReversed();}var _a1d=e[_a1b._mousePixelCoord]-_a1c[_a1b._startingPixelCoord];_a1b._setPixelValue_(_a1b._isReversed_?(_a1c[_a1b._pixelCount]-_a1d):_a1d,_a1c[_a1b._pixelCount],false);},destroy:function(e){_a11.prototype.destroy.apply(this,arguments);var _a1e=this.widget;_a1e._abspos=null;_a1e._setValueAttr(_a1e.value,true);}});var _a1f=_a0c("dijit.form.HorizontalSlider",[_a17,_a18],{templateString:_a19,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_a13.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;}_a0d.stop(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_a14.focus(this.sliderHandle);}_a0d.stop(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_a14.focus(this.sliderHandle);_a0d.stop(e);var _a20=_a0e.position(this.sliderBarContainer,true);var _a21=e[this._mousePixelCoord]-_a20[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_a20[this._pixelCount]-_a21):_a21,_a20[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_a22,_a23,_a24){if(this.disabled||this.readOnly){return;}var _a25=this.discreteValues;if(_a25<=1||_a25==Infinity){_a25=_a23;}_a25--;var _a26=_a23/_a25;var _a27=Math.round(_a22/_a26);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_a27/_a25+this.minimum,this.maximum),this.minimum),_a24);},_setValueAttr:function(_a28,_a29){this._set("value",_a28);this.valueNode.value=_a28;this.focusNode.setAttribute("aria-valuenow",_a28);this.inherited(arguments);var _a2a=(_a28-this.minimum)/(this.maximum-this.minimum);var _a2b=(this._descending===false)?this.remainingBar:this.progressBar;var _a2c=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_a29&&this.slideDuration>0&&_a2b.style[this._progressPixelSize]){var _a2d=this;var _a2e={};var _a2f=parseFloat(_a2b.style[this._progressPixelSize]);var _a30=this.slideDuration*(_a2a-_a2f/100);if(_a30==0){return;}if(_a30<0){_a30=0-_a30;}_a2e[this._progressPixelSize]={start:_a2f,end:_a2a*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_a2b,duration:_a30,onAnimate:function(v){_a2c.style[_a2d._progressPixelSize]=(100-parseFloat(v[_a2d._progressPixelSize]))+"%";},onEnd:function(){delete _a2d._inProgressAnim;},properties:_a2e});this._inProgressAnim.play();}else{_a2b.style[this._progressPixelSize]=(_a2a*100)+"%";_a2c.style[this._progressPixelSize]=((1-_a2a)*100)+"%";}},_bumpValue:function(_a31,_a32){if(this.disabled||this.readOnly){return;}var s=_a0f.getComputedStyle(this.sliderBarContainer);var c=_a0e.getContentBox(this.sliderBarContainer,s);var _a33=this.discreteValues;if(_a33<=1||_a33==Infinity){_a33=c[this._pixelCount];}_a33--;var _a34=(this.value-this.minimum)*_a33/(this.maximum-this.minimum)+_a31;if(_a34<0){_a34=0;}if(_a34>_a33){_a34=_a33;}_a34=_a34*(this.maximum-this.minimum)/_a33+this.minimum;this._setValueAttr(_a34,_a32);},_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){_a0d.stop(evt);var _a35=!has("mozilla");var _a36=evt[(_a35?"wheelDelta":"detail")]*(_a35?1:-1);this._bumpValue(_a36<0?-1:1,true);},startup:function(){if(this._started){return;}_a0b.forEach(this.getChildren(),function(_a37){if(this[_a37.container]!=this.containerNode){this[_a37.container].appendChild(_a37.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_a38,_a39,e){if(_a38==-1){this._setValueAttr(this.value,true);}else{this[(_a39==(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 _a3a=_a12("label[for=\""+this.id+"\"]");if(_a3a.length){_a3a[0].id=(this.id+"_label");this.focusNode.setAttribute("aria-labelledby",_a3a[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._connects.push(_a15.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));this._connects.push(_a15.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _a3b=_a0c(_a1a,{widget:this});this._movable=new _a10(this.sliderHandle,{mover:_a3b});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this._supportingWidgets=_a13.findWidgets(this.domNode);this.inherited(arguments);}});_a1f._Mover=_a1a;return _a1f;});}}});define("dijit/dijit-all",[".","./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(_a3c){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 _a3c;});