/*
	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/ColorPalette":function(){require({cache:{"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"}});define("dijit/ColorPalette",["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(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c){var _d=_8("dijit.ColorPalette",[_3,_4,_5],{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:_2,baseClass:"dijitColorPalette",_dyeFactory:function(_e,_f,col){return new this._dyeClass(_e,_f,col);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_8(_d._Color,{hc:_9.contains(_b.body(),"dijit_a11y"),palette:this.palette});this._preparePalette(this._palettes[this.palette],_6.getLocalization("dojo","colors",this.lang));}});_d._Color=_8("dijit._Color",_7,{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":_1.toUrl("./themes/a11y/colors7x10.png"),"3x4":_1.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_10,row,col){this._alias=_10;this._row=row;this._col=col;this.setColor(_7.named[_10]);},getValue:function(){return this.toHex();},fillCell:function(_11,_12){var _13=_c.substitute(this.hc?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_12,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"});_a.place(_13,_11);}});return _d;});},"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","dijit/_PaletteMixin":function(){define("dijit/_PaletteMixin",["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","./_CssStateMixin","./focus","./typematic"],function(_14,_15,_16,_17,_18,_19,_1a,_1b,_1c,_1d){return _14("dijit._PaletteMixin",[_1b],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:"",summary:"",_setSummaryAttr:"paletteTableNode",_dyeFactory:function(_1e){var _1f=_1a.getObject(this.dyeClass);return new _1f(_1e);},_preparePalette:function(_20,_21){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_20.length;row++){var _22=_17.create("tr",{tabIndex:"-1"},this.gridNode);for(var col=0;col<_20[row].length;col++){var _23=_20[row][col];if(_23){var _24=this._dyeFactory(_23,row,col);var _25=_17.create("td",{"class":this.cellClass,tabIndex:"-1",title:_21[_23],role:"gridcell"});_24.fillCell(_25,url);_17.place(_25,_22);_25.index=this._cells.length;this._cells.push({node:_25,dye:_24});}}}this._xDim=_20[0].length;this._yDim=_20.length;var _26={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _26){this._connects.push(_1d.addKeyListener(this.domNode,{charOrCode:_19[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _27=_26[key];return function(_28){this._navigateByKey(_27,_28);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_1c.focus(this._currentFocus);},_onCellClick:function(evt){var _29=evt.target;while(_29.tagName!="TD"){if(!_29.parentNode||_29==this.gridNode){return;}_29=_29.parentNode;}var _2a=this._getDye(_29).getValue();this._setCurrent(_29);_1c.focus(_29);this._setValueAttr(_2a,true);_18.stop(evt);},_setCurrent:function(_2b){if("_currentFocus" in this){_15.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=_2b;if(_2b){_15.set(_2b,"tabIndex",this.tabIndex);}},_setValueAttr:function(_2c,_2d){if(this._selectedCell>=0){_16.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_2c){for(var i=0;i<this._cells.length;i++){if(_2c==this._cells[i].dye.getValue()){this._selectedCell=i;_16.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_2c:null);if(_2d||_2d===undefined){this.onChange(_2c);}},onChange:function(){},_navigateByKey:function(_2e,_2f){if(_2f==-1){return;}var _30=this._currentFocus.index+_2e;if(_30<this._cells.length&&_30>-1){var _31=this._cells[_30].node;this._setCurrent(_31);setTimeout(_1a.hitch(dijit,"focus",_31),0);}},_getDye:function(_32){return this._cells[_32.index].dye;}});});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(_33,_34,_35,_36){var _37=_34.getObject("dojo.colors",true);var _38=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;};_33.colorFromRgb=_35.fromRgb=function(_39,obj){var m=_39.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=_36.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _35.fromArray(a,obj);}return _35.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=[_38(m1,m2,H+1/3)*256,_38(m1,m2,H)*256,_38(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _35.fromArray(a,obj);}}return null;};var _3a=function(c,low,_3b){c=Number(c);return isNaN(c)?_3b:c<low?low:c>_3b?_3b:c;};_35.prototype.sanitize=function(){var t=this;t.r=Math.round(_3a(t.r,0,255));t.g=Math.round(_3a(t.g,0,255));t.b=Math.round(_3a(t.b,0,255));t.a=_3a(t.a,0,1);return this;};_37.makeGrey=_35.makeGrey=function(g,a){return _35.fromArray([g,g,g,a]);};_34.mixin(_35.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 _35;});},"dijit/Declaration":function(){define("dijit/Declaration",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/parser","dojo/query","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/NodeList-dom"],function(_3c,_3d,_3e,_3f,_40,_41,_42,_43,_44){return _3e("dijit.Declaration",_42,{_noScript:true,stopParser:true,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_45=_41("> script[type^='dojo/method']",src).orphan(),_46=_41("> script[type^='dojo/connect']",src).orphan(),_47=src.nodeName;var _48=this.defaults||{};_3c.forEach(_45,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),_49=_40._functionFromScript(s);if(evt){_48[evt]=_49;}else{_46.push(s);}});this.mixins=this.mixins.length?_3c.map(this.mixins,function(_4a){return _3f.getObject(_4a);}):[_42,_43,_44];_48._skipNodeCache=true;_48.templateString="<"+_47+" 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,"}")+"</"+_47+">";var wc=_3e(this.widgetClass,this.mixins,_48);_3c.forEach(_46,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event")||"postscript",_4b=_40._functionFromScript(s);_3d.connect(wc.prototype,evt,_4b);});}});});},"dijit/_WidgetsInTemplateMixin":function(){define("dijit/_WidgetsInTemplateMixin",["dojo/_base/array","dojo/_base/declare","dojo/parser","dijit/registry"],function(_4c,_4d,_4e,_4f){return _4d("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var _50=this.domNode;var cw=(this._startupWidgets=_4e.parse(_50,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));this._supportingWidgets=_4f.findWidgets(_50);this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_4c.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);}});});},"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=\"0\">\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(_51,_52,_53,_54,_55,dom,_56,_57,_58,_59,fx,_5a,_5b,_5c,_5d,on,_5e,has,win,_5f,_60,_61,_62,_63,_64,_65,_66,_67,_68,_69,_6a,_6b,_6c){var _6d=_54("dijit._DialogBase",[_65,_67,_68,_66],{templateString:_6b,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_63.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _6e=_5a.getLocalization("dijit","common");_5d.mixin(this,_6e);this.inherited(arguments);},postCreate:function(){_58.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&&_6f.isTop(this)){this._getFocusItems(this.domNode);_62.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(){var _70=_57.position(this.domNode),_71=_5f.getBox();_70.y=Math.min(Math.max(_70.y,0),(_71.h-_70.h));_70.x=Math.min(Math.max(_70.x,0),(_71.w-_70.w));this._relativePosition=_70;this._position();},_setup:function(){var _72=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_61:_60)(_72,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_56.add(_72,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_52.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{_58.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_57.position(this.domNode);var _73=_5f.getBox();if(bb.w>=_73.w||bb.h>=_73.h){var w=Math.min(bb.w,Math.floor(_73.w*0.75)),h=Math.min(bb.h,Math.floor(_73.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{_58.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(!_56.contains(win.body(),"dojoMove")){var _74=this.domNode,_75=_5f.getBox(),p=this._relativePosition,bb=p?null:_57.position(_74),l=Math.floor(_75.l+(p?p.x:(_75.w-bb.w)/2)),t=Math.floor(_75.t+(p?p.y:(_75.h-bb.h)/2));_58.set(_74,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.charOrCode){var _76=evt.target;if(evt.charOrCode===_5c.TAB){this._getFocusItems(this.domNode);}var _77=(this._firstFocusItem==this._lastFocusItem);if(_76==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===_5c.TAB){if(!_77){_62.focus(this._lastFocusItem);}_59.stop(evt);}else{if(_76==this._lastFocusItem&&evt.charOrCode===_5c.TAB&&!evt.shiftKey){if(!_77){_62.focus(this._firstFocusItem);}_59.stop(evt);}else{while(_76){if(_76==this.domNode||_56.contains(_76,"dijitPopup")){if(evt.charOrCode==_5c.ESCAPE){this.onCancel();}else{return;}}_76=_76.parentNode;}if(evt.charOrCode!==_5c.TAB){_59.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();_6f.hide(this);}if(!has("touch")){this._modalconnects.push(on(window,"scroll",_5d.hitch(this,"layout")));this._modalconnects.push(on(window,"resize",_5d.hitch(this,function(){var _78=_5f.getBox();if(!this._oldViewport||_78.h!=this._oldViewport.h||_78.w!=this._oldViewport.w){this.layout();this._oldViewport=_78;}})));}this._modalconnects.push(on(this.domNode,_53._keypress,_5d.hitch(this,"_onKey")));_58.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _79;this._fadeInDeferred=new _55(_5d.hitch(this,function(){_79.stop();delete this._fadeInDeferred;}));_79=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:_5d.hitch(this,function(){_6f.show(this,this.underlayAttrs);}),onEnd:_5d.hitch(this,function(){if(this.autofocus&&_6f.isTop(this)){this._getFocusItems(this.domNode);_62.focus(this._firstFocusItem);}this._fadeInDeferred.callback(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _7a;this._fadeOutDeferred=new _55(_5d.hitch(this,function(){_7a.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(_5d.hitch(this,"onHide"));_7a=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_5d.hitch(this,function(){this.domNode.style.display="none";_6f.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(_6c._underlay){_6c._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();}_6f.hide(this);this.inherited(arguments);}});var _7b=_54("dijit.Dialog",[_6a,_6d],{});_7b._DialogBase=_6d;var _6f=_7b._DialogLevelManager={_beginZIndex:950,show:function(_7c,_7d){ds[ds.length-1].focus=_62.curNode;var _7e=_6c._underlay;if(!_7e||_7e._destroyed){_7e=_6c._underlay=new _69(_7d);}else{_7e.set(_7c.underlayAttrs);}var _7f=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_7b._DialogLevelManager._beginZIndex;if(ds.length==1){_7e.show();}_58.set(_6c._underlay.domNode,"zIndex",_7f-1);_58.set(_7c.domNode,"zIndex",_7f);ds.push({dialog:_7c,underlayAttrs:_7d,zIndex:_7f});},hide:function(_80){if(ds[ds.length-1].dialog==_80){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!_6c._underlay._destroyed){_6c._underlay.hide();}}else{_58.set(_6c._underlay.domNode,"zIndex",pd.zIndex-1);_6c._underlay.set(pd.underlayAttrs);}if(_80.refocus){var _81=pd.focus;if(pd.dialog&&(!_81||!dom.isDescendant(_81,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_81=pd.dialog._firstFocusItem;}if(_81){try{_81.focus();}catch(e){}}}}else{var idx=_52.indexOf(_52.map(ds,function(_82){return _82.dialog;}),_80);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_83){return ds[ds.length-1].dialog==_83;}};var ds=_7b._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(!_5b.isAsync){_5e(0,function(){var _84=["dijit/TooltipDialog"];_51(_84);});}return _7b;});},"dojo/dnd/Moveable":function(){define(["../main","../Evented","../touch","./Mover"],function(_85,_86,_87){_85.declare("dojo.dnd.Moveable",[_86],{handle:"",delay:0,skip:false,constructor:function(_88,_89){this.node=_85.byId(_88);if(!_89){_89={};}this.handle=_89.handle?_85.byId(_89.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_89.delay>0?_89.delay:0;this.skip=_89.skip;this.mover=_89.mover?_89.mover:_85.dnd.Mover;this.events=[_85.connect(this.handle,_87.press,this,"onMouseDown"),_85.connect(this.handle,"ondragstart",this,"onSelectStart"),_85.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_8a,_8b,_8c){return new _8c(_8b,_8a);},destroy:function(){_85.forEach(this.events,_85.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&_85.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(_85.connect(this.handle,_87.move,this,"onMouseMove"),_85.connect(this.handle,_87.release,this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}_85.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);}_85.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){_85.disconnect(this.events.pop());}_85.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!_85.dnd.isFormElement(e)){_85.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_8d){_85.publish("/dnd/move/start",[_8d]);_85.addClass(_85.body(),"dojoMove");_85.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_8e){_85.publish("/dnd/move/stop",[_8e]);_85.removeClass(_85.body(),"dojoMove");_85.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_8f,e){},onMove:function(_90,_91,e){this.onMoving(_90,_91);var s=_90.node.style;s.left=_91.l+"px";s.top=_91.t+"px";this.onMoved(_90,_91);},onMoving:function(_92,_93){},onMoved:function(_94,_95){}});return _85.dnd.Moveable;});},"dojo/dnd/Mover":function(){define(["../main","../Evented","../touch","./common","./autoscroll"],function(_96,_97,_98){_96.declare("dojo.dnd.Mover",[_97],{constructor:function(_99,e,_9a){this.node=_96.byId(_99);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=_9a),d=_99.ownerDocument;this.events=[_96.connect(d,_98.move,this,"onFirstMove"),_96.connect(d,_98.move,this,"onMouseMove"),_96.connect(d,_98.release,this,"onMouseUp"),_96.connect(d,"ondragstart",_96.stopEvent),_96.connect(d.body,"onselectstart",_96.stopEvent)];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_96.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);_96.stopEvent(e);},onMouseUp:function(e){if(_96.isWebKit&&_96.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}_96.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=_96.marginBox(this.node);var b=_96.doc.body;var bs=_96.getComputedStyle(b);var bm=_96._getMarginBox(b,bs);var bc=_96._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);}_96.disconnect(this.events.shift());},destroy:function(){_96.forEach(this.events,_96.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});return _96.dnd.Mover;});},"dojo/dnd/common":function(){define(["../main"],function(_9b){_9b.getObject("dnd",true,_9b);_9b.dnd.getCopyKeyState=_9b.isCopyKey;_9b.dnd._uniqueId=0;_9b.dnd.getUniqueId=function(){var id;do{id=_9b._scopeName+"Unique"+(++_9b.dnd._uniqueId);}while(_9b.byId(id));return id;};_9b.dnd._empty={};_9b.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 _9b.dnd;});},"dojo/dnd/autoscroll":function(){define(["../main","../window"],function(_9c){_9c.getObject("dnd",true,_9c);_9c.dnd.getViewport=_9c.window.getBox;_9c.dnd.V_TRIGGER_AUTOSCROLL=32;_9c.dnd.H_TRIGGER_AUTOSCROLL=32;_9c.dnd.V_AUTOSCROLL_VALUE=16;_9c.dnd.H_AUTOSCROLL_VALUE=16;_9c.dnd.autoScroll=function(e){var v=_9c.window.getBox(),dx=0,dy=0;if(e.clientX<_9c.dnd.H_TRIGGER_AUTOSCROLL){dx=-_9c.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_9c.dnd.H_TRIGGER_AUTOSCROLL){dx=_9c.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<_9c.dnd.V_TRIGGER_AUTOSCROLL){dy=-_9c.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_9c.dnd.V_TRIGGER_AUTOSCROLL){dy=_9c.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};_9c.dnd._validNodes={"div":1,"p":1,"td":1};_9c.dnd._validOverflow={"auto":1,"scroll":1};_9c.dnd.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_9d,_9e;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _9c.dnd._validNodes)){var s=_9c.getComputedStyle(n),_9f=(s.overflow.toLowerCase() in _9c.dnd._validOverflow),_a0=(s.overflowX.toLowerCase() in _9c.dnd._validOverflow),_a1=(s.overflowY.toLowerCase() in _9c.dnd._validOverflow);if(_9f||_a0||_a1){b=_9c._getContentBox(n,s);t=_9c.position(n,true);}if(_9f||_a0){w=Math.min(_9c.dnd.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(_9c.isWebKit||_9c.isOpera){rx+=_9c.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_9d=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_9f||_a1){h=Math.min(_9c.dnd.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(_9c.isWebKit||_9c.isOpera){ry+=_9c.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_9e=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_9c.dnd.autoScroll(e);};return _9c.dnd;});},"dojo/dnd/TimedMoveable":function(){define(["../main","./Moveable"],function(_a2){var _a3=_a2.dnd.Moveable.prototype.onMove;_a2.declare("dojo.dnd.TimedMoveable",_a2.dnd.Moveable,{timeout:40,constructor:function(_a4,_a5){if(!_a5){_a5={};}if(_a5.timeout&&typeof _a5.timeout=="number"&&_a5.timeout>=0){this.timeout=_a5.timeout;}},onMoveStop:function(_a6){if(_a6._timer){clearTimeout(_a6._timer);_a3.call(this,_a6,_a6._leftTop);}_a2.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_a7,_a8){_a7._leftTop=_a8;if(!_a7._timer){var _a9=this;_a7._timer=setTimeout(function(){_a7._timer=null;_a3.call(_a9,_a7,_a7._leftTop);},this.timeout);}}});return _a2.dnd.TimedMoveable;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/window"],function(_aa,_ab,_ac,_ad,_ae){return _ab("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_af){var res=[];_aa.forEach(_af||this.getChildren(),function(_b0){if("value" in _b0){res.push(_b0);}else{res=res.concat(this._getDescendantFormWidgets(_b0.getChildren()));}},this);return res;},reset:function(){_aa.forEach(this._getDescendantFormWidgets(),function(_b1){if(_b1.reset){_b1.reset();}});},validate:function(){var _b2=false;return _aa.every(_aa.map(this._getDescendantFormWidgets(),function(_b3){_b3._hasBeenBlurred=true;var _b4=_b3.disabled||!_b3.validate||_b3.validate();if(!_b4&&!_b2){_ae.scrollIntoView(_b3.containerNode||_b3.domNode);_b3.focus();_b2=true;}return _b4;}),function(_b5){return _b5;});},setValues:function(val){_ac.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_aa.forEach(this._getDescendantFormWidgets(),function(_b6){if(!_b6.name){return;}var _b7=map[_b6.name]||(map[_b6.name]=[]);_b7.push(_b6);});for(var _b8 in map){if(!map.hasOwnProperty(_b8)){continue;}var _b9=map[_b8],_ba=_ad.getObject(_b8,false,obj);if(_ba===undefined){continue;}if(!_ad.isArray(_ba)){_ba=[_ba];}if(typeof _b9[0].checked=="boolean"){_aa.forEach(_b9,function(w){w.set("value",_aa.indexOf(_ba,w.value)!=-1);});}else{if(_b9[0].multiple){_b9[0].set("value",_ba);}else{_aa.forEach(_b9,function(w,i){w.set("value",_ba[i]);});}}}},getValues:function(){_ac.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_aa.forEach(this._getDescendantFormWidgets(),function(_bb){var _bc=_bb.name;if(!_bc||_bb.disabled){return;}var _bd=_bb.get("value");if(typeof _bb.checked=="boolean"){if(/Radio/.test(_bb.declaredClass)){if(_bd!==false){_ad.setObject(_bc,_bd,obj);}else{_bd=_ad.getObject(_bc,false,obj);if(_bd===undefined){_ad.setObject(_bc,null,obj);}}}else{var ary=_ad.getObject(_bc,false,obj);if(!ary){ary=[];_ad.setObject(_bc,ary,obj);}if(_bd!==false){ary.push(_bd);}}}else{var _be=_ad.getObject(_bc,false,obj);if(typeof _be!="undefined"){if(_ad.isArray(_be)){_be.push(_bd);}else{_ad.setObject(_bc,[_be,_bd],obj);}}else{_ad.setObject(_bc,_bd,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _bf=_aa.map(this._descendants,function(w){return w.get("state")||"";});return _aa.indexOf(_bf,"Error")>=0?"Error":_aa.indexOf(_bf,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){_aa.forEach(this._childConnections||[],_ad.hitch(this,"disconnect"));_aa.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_c0){var _c1=this;this.disconnectChildren();this._descendants=this._getDescendantFormWidgets();var set=_c0?function(_c2,val){_c1[_c2]=val;}:_ad.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _c3=(this._childConnections=[]),_c4=(this._childWatches=[]);_aa.forEach(_aa.filter(this._descendants,function(_c5){return _c5.validate;}),function(_c6){_aa.forEach(["state","disabled"],function(_c7){_c4.push(_c6.watch(_c7,function(){_c1.set("state",_c1._getState());}));});});var _c8=function(){if(_c1._onChangeDelayTimer){clearTimeout(_c1._onChangeDelayTimer);}_c1._onChangeDelayTimer=setTimeout(function(){delete _c1._onChangeDelayTimer;_c1._set("value",_c1.get("value"));},10);};_aa.forEach(_aa.filter(this._descendants,function(_c9){return _c9.onChange;}),function(_ca){_c3.push(_c1.connect(_ca,"onChange",_c8));_c4.push(_ca.watch("disabled",_c8));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(_cb,_cc,_cd){this.onValidStateChange(_cd=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_ce,_cf){return _ce("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _d0=_cf._getTabNavigable(this.containerNode);this._firstFocusItem=_d0.lowest||_d0.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_d0.last||_d0.highest||this._firstFocusItem;}});});},"dijit/DialogUnderlay":function(){define("dijit/DialogUnderlay",["dojo/_base/declare","dojo/dom-attr","dojo/_base/window","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_d1,_d2,win,_d3,_d4,_d5,_d6){return _d1("dijit.DialogUnderlay",[_d4,_d5],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_d2.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_d7){this.node.className="dijitDialogUnderlay "+_d7;this._set("class",_d7);},postCreate:function(){win.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _d8=_d3.getBox();os.top=_d8.t+"px";os.left=_d8.l+"px";is.width=_d8.w+"px";is.height=_d8.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _d6(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"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(_d9,_da,_db,_dc,_dd,_de,_df,_e0,_e1,_e2,dom,_e3,win,xhr,_e4){return _e1("dijit.layout.ContentPane",[_db,_dc],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_d9._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(_e5,_e6){if((!_e5||!_e5.template)&&_e6&&!("href" in _e5)&&!("content" in _e5)){var df=win.doc.createDocumentFragment();_e6=dom.byId(_e6);while(_e6.firstChild){df.appendChild(_e6.firstChild);}_e5=_da.delegate(_e5,{content:df});}this.inherited(arguments,[_e5,_e6]);},postMixInProperties:function(){this.inherited(arguments);var _e7=_e4.getLocalization("dijit","loading",this.lang);this.loadingMessage=_dd.substitute(this.loadingMessage,_e7);this.errorMessage=_dd.substitute(this.errorMessage,_e7);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");if(!_e3.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_e0.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&_da.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(_e8){_d9.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",_e8);},_setHrefAttr:function(_e9){this.cancel();this.onLoadDeferred=new _e2(_da.hitch(this,"cancel"));this.onLoadDeferred.addCallback(_da.hitch(this,"onLoad"));this._set("href",_e9);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(_ea){_d9.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",_ea);},_setContentAttr:function(_eb){this._set("href","");this.cancel();this.onLoadDeferred=new _e2(_da.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.addCallback(_da.hitch(this,"onLoad"));}this._setContent(_eb||"");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(_ec){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 _e2(_da.hitch(this,"cancel"));this.onLoadDeferred.addCallback(_da.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var _ed=this;var _ee={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(_da.isObject(this.ioArgs)){_da.mixin(_ee,this.ioArgs);}var _ef=(this._xhrDfd=(this.ioMethod||xhr.get)(_ee));_ef.addCallback(function(_f0){try{_ed._isDownloaded=true;_ed._setContent(_f0,false);_ed.onDownloadEnd();}catch(err){_ed._onError("Content",err);}delete _ed._xhrDfd;return _f0;});_ef.addErrback(function(err){if(!_ef.canceled){_ed._onError("Download",err);}delete _ed._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(_f1){this._set("isLoaded",true);try{this.onLoadDeferred.callback(_f1);}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(_f2){if(this.isLoaded){this._onUnloadHandler();}var _f3=this._contentSetter;_e0.forEach(this.getChildren(),function(_f4){if(_f4.destroyRecursive){_f4.destroyRecursive(_f2);}});if(_f3){_e0.forEach(_f3.parseResults,function(_f5){if(_f5.destroyRecursive&&_f5.domNode&&_f5.domNode.parentNode==win.body()){_f5.destroyRecursive(_f2);}});delete _f3.parseResults;}if(!_f2){_de._emptyNode(this.containerNode);}delete this._singleChild;},_setContent:function(_f6,_f7){this.destroyDescendants();var _f8=this._contentSetter;if(!(_f8&&_f8 instanceof _de._ContentSetter)){_f8=this._contentSetter=new _de._ContentSetter({node:this.containerNode,_onError:_da.hitch(this,this._onError),onContentError:_da.hitch(this,function(e){var _f9=this.onContentError(e);try{this.containerNode.innerHTML=_f9;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _fa=_da.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!_f6.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});_f8.set((_da.isObject(_f6)&&_f6.domNode)?_f6.domNode:_f6,_fa);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_f7){if(this._started){delete this._started;this.startup();this._scheduleLayout();}this._onLoadHandler(_f6);}},_onError:function(_fb,err,_fc){this.onLoadDeferred.errback(err);var _fd=this["on"+_fb+"Error"].call(this,err);if(_fc){console.error(_fc,err);}else{if(_fd){this._setContent(_fd,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"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(_fe,_ff,_100,_101,_102,lang,_103,has,win,_104,_105,_106){return _ff("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _107=this.getParent();this._childOfLayoutWidget=_107&&_107.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 _108=_103("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_109=_108.filter(function(node){return _100.has(node,"data-dojo-type")||_100.has(node,"dojoType")||_100.has(node,"widgetId");}),_10a=_fe.filter(_109.map(_104.byNode),function(_10b){return _10b&&_10b.domNode&&_10b.resize;});if(_108.length==_109.length&&_10a.length==1){this._singleChild=_10a[0];}else{delete this._singleChild;}_101.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_10c,_10d){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_10c,_10d);},_scheduleLayout:function(_10e,_10f){if(this._isShown()){this._layout(_10e,_10f);}else{this._needLayout=true;this._changeSize=_10e;this._resultSize=_10f;}},_layout:function(_110,_111){if(_110){_102.setMarginBox(this.domNode,_110);}var cn=this.containerNode;if(cn===this.domNode){var mb=_111||{};lang.mixin(mb,_110||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_102.getMarginBox(cn),mb);}this._contentBox=_105.marginBox2contentBox(cn,mb);}else{this._contentBox=_102.getContentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_102.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_fe.forEach(this.getChildren(),function(_112){if(_112.resize){_112.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,_113=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_101.contains(node,"dijitHidden")&&_113&&_113.style&&(_113.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang",".."],function(_114,_115,_116,_117,lang,_118){var _119=lang.getObject("layout",true,_118);_119.marginBox2contentBox=function(node,mb){var cs=_117.getComputedStyle(node);var me=_116.getMarginExtents(node,cs);var pb=_116.getPadBorderExtents(node,cs);return {l:_117.toPixelValue(node,cs.paddingLeft),t:_117.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _11a(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_11b,dim){var _11c=_11b.resize?_11b.resize(dim):_116.setMarginBox(_11b.domNode,dim);if(_11c){lang.mixin(_11b,_11c);}else{lang.mixin(_11b,_116.getMarginBox(_11b.domNode));lang.mixin(_11b,dim);}};_119.layoutChildren=function(_11d,dim,_11e,_11f,_120){dim=lang.mixin({},dim);_115.add(_11d,"dijitLayoutContainer");_11e=_114.filter(_11e,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_114.filter(_11e,function(item){return item.region=="center"||item.layoutAlign=="client";}));_114.forEach(_11e,function(_121){var elm=_121.domNode,pos=(_121.region||_121.layoutAlign);if(!pos){throw new Error("No region setting for "+_121.id);}var _122=elm.style;_122.left=dim.l+"px";_122.top=dim.t+"px";_122.position="absolute";_115.add(elm,"dijitAlign"+_11a(pos));var _123={};if(_11f&&_11f==_121.id){_123[_121.region=="top"||_121.region=="bottom"?"h":"w"]=_120;}if(pos=="top"||pos=="bottom"){_123.w=dim.w;size(_121,_123);dim.h-=_121.h;if(pos=="top"){dim.t+=_121.h;}else{_122.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_123.h=dim.h;size(_121,_123);dim.w-=_121.w;if(pos=="left"){dim.l+=_121.w;}else{_122.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_121,dim);}}}});};return {marginBox2contentBox:_119.marginBox2contentBox,layoutChildren:_119.layoutChildren};});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(dojo,lang,_124,_125,dom,_126,_127){lang.getObject("html",true,dojo);var _128=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=_126.empty;dojo.html._setNodeContent=function(node,cont){_126.empty(node);if(cont){if(typeof cont=="string"){cont=_126.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _129=cont.length,i=0;i<cont.length;i=_129==cont.length?i+1:0){_126.place(cont[i],node,"last");}}else{_126.place(cont,node,"last");}}return node;};_125("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_12a,node){lang.mixin(this,_12a||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_128++].join("_");}},set:function(cont,_12b){if(undefined!==cont){this.content=cont;}if(_12b){this._mixin(_12b);}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 _12c=this.onContentError(e);try{node.innerHTML=_12c;}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){_124.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 _12d=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_12d){cont=_12d[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(_12e){var _12f={},key;for(key in _12e){if(key in _12f){continue;}this[key]=_12e[key];}},_parse:function(){var _130=this.node;try{var _131={};_124.forEach(["dir","lang","textDir"],function(name){if(this[name]){_131[name]=this[name];}},this);this.parseResults=_127.parse({rootNode:_130,noStart:!this.startup,inherited:_131,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_132){var _133=this["on"+type+"Error"].call(this,err);if(_132){console.error(_132,err);}else{if(_133){dojo.html._setNodeContent(this.node,_133,true);}}}});dojo.html.set=function(node,cont,_134){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_134){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(lang.mixin(_134,{content:cont,node:node}));return op.set();}};return dojo.html;});},"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=\"0\">\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/TooltipDialog":function(){require({cache:{"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"}});define("dijit/TooltipDialog",["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(_135,_136,_137,keys,lang,_138,_139,_13a,_13b,_13c,_13d,_13e){return _135("dijit.TooltipDialog",[_139,_13c,_13b,_13a],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_13d,_setTitleAttr:function(_13f){this.containerNode.title=_13f;this._set("title",_13f);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_140,_141){var newC="dijitTooltipAB"+(_141.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_141.charAt(0)=="T"?"Below":"Above");_136.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_138.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 _142=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){setTimeout(lang.hitch(this,"onCancel"),0);_137.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_142){_138.focus(this._lastFocusItem);}_137.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_142){_138.focus(this._firstFocusItem);}_137.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"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","dijit/Editor":function(){define("dijit/Editor",["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(_143,_144,_145,i18n,_146,_147,_148,_149,_14a,keys,lang,has,_14b,_14c,win,_14d,_14e,_14f,_150,_151,_152,_153,_154,html,_155,_156,_157){var _158=_144("dijit.Editor",_156,{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",_154];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")||has("trident")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _145();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 _14f({dir:this.dir,lang:this.lang});this.header.appendChild(this.toolbar.domNode);}_143.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.callback(true);_147.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_147.add(this.iframe,"dijitEditorIFrame");_146.set(this.iframe,"allowTransparency",true);if(has("webkit")){_149.set(this.domNode,"KhtmlUserSelect","none");}this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_143.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_159,_15a){var args=lang.isString(_159)?{name:_159}:lang.isFunction(_159)?{ctor:_159}:_159;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_153.registry[args.name]){o.plugin=_153.registry[args.name](args);}else{_14c.publish(_157._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",_159);return;}_159=o.plugin;}if(arguments.length>1){this._plugins[_15a]=_159;}else{this._plugins.push(_159);}_159.setEditor(this);if(lang.isFunction(_159.setToolbar)){_159.setToolbar(this.toolbar);}},resize:function(size){if(size){_151.prototype.resize.apply(this,arguments);}},layout:function(){var _15b=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_148.getPadBorderExtents(this.iframe.parentNode).h+_148.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_15b+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _15c;var b=this.document.body;var _15d=b.clientWidth;var _15e=b.clientHeight;var _15f=b.clientLeft;var _160=b.offsetWidth;var _161=b.offsetHeight;var _162=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_15d<_160&&e.x>_15d&&e.x<_160){_15c=true;}}else{if(e.x<_15f&&e.x>_162){_15c=true;}}if(!_15c){if(_15e<_161&&e.y>_15e&&e.y<_161){_15c=true;}}if(!_15c){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 {};}}catch(e){var sub=_14b.substitute,_163={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_163[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 _164=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_165,_166,sel;if(mark){if(has("ie")<9){if(lang.isArray(mark)){_164=[];_143.forEach(mark,function(n){_164.push(_155.getNode(n,this.editNode));},this);win.withGlobal(this.window,"moveToBookmark",_157,[{mark:_164,isCollapsed:col}]);}else{if(mark.startContainer&&mark.endContainer){sel=_155.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_155.create(this.window);_165=_155.getNode(mark.startContainer,this.editNode);_166=_155.getNode(mark.endContainer,this.editNode);if(_165&&_166){r.setStart(_165,mark.startOffset);r.setEnd(_166,mark.endOffset);sel.addRange(r);}}}}}else{sel=_155.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_155.create(this.window);_165=_155.getNode(mark.startContainer,this.editNode);_166=_155.getNode(mark.endContainer,this.editNode);if(_165&&_166){r.setStart(_165,mark.startOffset);r.setEnd(_166,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(_167){if(this._editTimer){clearTimeout(this._editTimer);}if(this._inEditing){this._endEditing(_167);this._inEditing=false;}},_getBookmark:function(){var b=win.withGlobal(this.window,_14d.getBookmark);var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9){var sel=_155.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _168;if(sel.rangeCount){_168=sel.getRangeAt(0);}if(_168){b.mark=_168.cloneRange();}else{b.mark=win.withGlobal(this.window,_14d.getBookmark);}}}else{_143.forEach(b.mark,function(n){tmp.push(_155.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_155.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_155.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){_14a.stop(e);this.undo();return;}else{if(k==89||k==121){_14a.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",_157)){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(_169){var _16a=lang.hitch(this,function(){if((!this.disabled&&_169)||(!this._buttonEnabledPlugins&&_169)){_143.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_169){_143.forEach(this._plugins,function(p){p.set("disabled",false);});}}});this.setValueDeferred.addCallback(_16a);this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_149.set(this.document.body,"color",_149.get(this.iframe,"color"));}}catch(e){}}});function _16b(args){return new _153({command:args.name});};function _16c(args){return new _153({buttonClass:_152,command:args.name});};lang.mixin(_153.registry,{"undo":_16b,"redo":_16b,"cut":_16b,"copy":_16b,"paste":_16b,"insertOrderedList":_16b,"insertUnorderedList":_16b,"indent":_16b,"outdent":_16b,"justifyCenter":_16b,"justifyFull":_16b,"justifyLeft":_16b,"justifyRight":_16b,"delete":_16b,"selectAll":_16b,"removeFormat":_16b,"unlink":_16b,"insertHorizontalRule":_16b,"bold":_16c,"italic":_16c,"underline":_16c,"strikethrough":_16c,"subscript":_16c,"superscript":_16c,"|":function(){return new _153({button:new _150(),setEditor:function(_16d){this.editor=_16d;}});}});return _158;});},"dijit/Toolbar":function(){define("dijit/Toolbar",["require","dojo/_base/declare","dojo/_base/kernel","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_16e,_16f,_170,keys,_171,_172,_173,_174){if(!_170.isAsync){_171(0,function(){var _175=["dijit/ToolbarSeparator"];_16e(_175);});}return _16f("dijit.Toolbar",[_172,_174,_173],{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/_KeyNavContainer":function(){define("dijit/_KeyNavContainer",["dojo/_base/kernel","./_Container","./_FocusMixin","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/event","dojo/dom-attr","dojo/_base/lang"],function(_176,_177,_178,_179,keys,_17a,_17b,_17c,lang){return _17a("dijit._KeyNavContainer",[_178,_177],{tabIndex:"0",connectKeyNavHandlers:function(_17d,_17e){var _17f=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_179.forEach(_17d,function(code){_17f[code]=prev;});_179.forEach(_17e,function(code){_17f[code]=next;});_17f[keys.HOME]=lang.hitch(this,"focusFirstChild");_17f[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_176.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_179.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_180,_181){this.inherited(arguments);this._startupChild(_180);},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(_182,last){if(!_182){return;}if(this.focusedChild&&_182!==this.focusedChild){this._onChildBlur(this.focusedChild);}_182.set("tabIndex",this.tabIndex);_182.focus(last?"end":"start");this._set("focusedChild",_182);},_startupChild:function(_183){_183.set("tabIndex","-1");this.connect(_183,"_onFocus",function(){_183.set("tabIndex",this.tabIndex);});this.connect(_183,"_onBlur",function(){_183.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_17c.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_17c.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();_17b.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_184,dir){if(_184){_184=this._getSiblingOfChild(_184,dir);}var _185=this.getChildren();for(var i=0;i<_185.length;i++){if(!_184){_184=_185[(dir>0)?0:(_185.length-1)];}if(_184.isFocusable()){return _184;}_184=this._getSiblingOfChild(_184,dir);}return null;}});});},"dijit/ToolbarSeparator":function(){define("dijit/ToolbarSeparator",["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_186,dom,_187,_188){return _186("dijit.ToolbarSeparator",[_187,_188],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_189,_18a,_18b,_18c){return _189("dijit.form.ToggleButton",[_18b,_18c],{baseClass:"dijitToggleButton",setChecked:function(_18d){_18a.deprecated("setChecked("+_18d+") is deprecated. Use set('checked',"+_18d+") instead.","","2.0");this.set("checked",_18d);}});});},"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(_18e,_18f,_190,_191,lang,_192,_193,_194,_195){if(!_191.isAsync){_192(0,function(){var _196=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_18e(_196);});}return _18f("dijit.form.Button",[_193,_194],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_195,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();}}return ok;},_fillContent:function(_197){if(_197&&(!this.params||!("label" in this.params))){var _198=lang.trim(_197.innerHTML);if(_198){this.label=_198;}}},_setShowLabelAttr:function(val){if(this.containerNode){_190.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_199){_191.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_199);},_setLabelAttr:function(_19a){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_19b,dom,_19c,_19d){return _19b("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_19c.stop(e);return false;}var _19e=this.onClick(e)===false;if(!_19e&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _19f=_19d.byNode(node);if(_19f&&typeof _19f._onSubmit=="function"){_19f._onSubmit(e);_19e=true;break;}}}if(_19e){e.preventDefault();}return !_19e;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_1a0){this._set("label",_1a0);(this.containerNode||this.focusNode).innerHTML=_1a0;}});});},"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\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_1a1,_1a2){return _1a1("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _1a3=this.checked;this._set("checked",!_1a3);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_1a3);return ret;},_setCheckedAttr:function(_1a4,_1a5){this._set("checked",_1a4);_1a2.set(this.focusNode||this.domNode,"checked",_1a4);(this.focusNode||this.domNode).setAttribute(this._aria_attr,_1a4?"true":"false");this._handleOnChange(_1a4,_1a5);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../form/Button"],function(_1a6,_1a7,lang,_1a8){var _1a9=_1a7("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:_1a8,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _1aa=this.getLabel(this.command),_1ab=this.editor,_1ac=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _1ad=lang.mixin({label:_1aa,dir:_1ab.dir,lang:_1ab.lang,showLabel:false,iconClass:_1ac,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});this.button=new this.buttonClass(_1ad);}}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(_1a6.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_1ae,_1af;if(!e||!e.isLoaded||!c.length){return;}var _1b0=this.get("disabled");if(this.button){try{_1af=!_1b0&&e.queryCommandEnabled(c);if(this.enabled!==_1af){this.enabled=_1af;this.button.set("disabled",!_1af);}if(typeof this.button.checked=="boolean"){_1ae=e.queryCommandState(c);if(this.checked!==_1ae){this.checked=_1ae;this.button.set("checked",e.queryCommandState(c));}}}catch(e){}}},setEditor:function(_1b1){this.editor=_1b1;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(_1b2){if(this.button){_1b2.addChild(this.button);}},set:function(name,_1b3){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _1b4=this._getAttrNames(name);if(this[_1b4.s]){var _1b5=this[_1b4.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_1b3);}return _1b5||this;},get:function(name){var _1b6=this._getAttrNames(name);return this[_1b6.g]?this[_1b6.g]():this[name];},_setDisabledAttr:function(_1b7){this.disabled=_1b7;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,_1b8){this[name]=_1b8;}});_1a9.registry={};return _1a9;});},"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(_1b9,_1ba,_1bb,keys,lang,has,win,_1bc,_1bd,_1be,_1bf,_1c0){return _1b9("dijit._editor.plugins.EnterKeyHandling",_1bd,{blockNodeForEnter:"BR",constructor:function(args){if(args){if("blockNodeForEnter" in args){args.blockNodeForEnter=args.blockNodeForEnter.toUpperCase();}lang.mixin(this,args);}},setEditor:function(_1c1){if(this.editor===_1c1){return;}this.editor=_1c1;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_1c1.onLoadDeferred.then(lang.hitch(this,function(d){this.connect(_1c1.document,"onkeypress",function(e){if(e.charOrCode==keys.ENTER){var ne=lang.mixin({},e);ne.shiftKey=true;if(!this.handleEnterKey(ne)){_1bb.stop(e);}}});if(has("ie")>=9){this.connect(_1c1.document,"onpaste",function(e){setTimeout(dojo.hitch(this,function(){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();r.move("character",1);r.select();}),0);});}return d;}));}else{if(this.blockNodeForEnter){var h=lang.hitch(this,this.handleEnterKey);_1c1.addKeyHandler(13,0,0,h);_1c1.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 _1c2=win.withGlobal(this.editor.window,"getAncestorElement",_1c0,["LI"]);if(!_1c2){_1be.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _1c3=win.withGlobal(this.editor.window,"getAncestorElement",_1c0,[this.blockNodeForEnter]);if(_1c3){_1c3.innerHTML=this.bogusHtmlContent;if(has("ie")<=9){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();}}else{console.error("onKeyPressed: Cannot find the new block node");}}else{if(has("mozilla")){if(_1c2.parentNode.parentNode.nodeName=="LI"){_1c2=_1c2.parentNode.parentNode;}}var fc=_1c2.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_1c2.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _1c4=_1bf.create(this.editor.window);_1c4.setStart(_1c2.firstChild,0);var _1c5=_1bf.getSelection(this.editor.window,true);_1c5.removeAllRanges();_1c5.addRange(_1c4);}}}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 _1c6,_1c7,_1c8,_1c9,_1ca,_1cb,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _1cc=win.withGlobal(this.editor.window,"getParentElement",_1c0);var _1cd=_1bf.getAncestor(_1cc,this.blockNodes);if(_1cd){if(_1cd.tagName=="LI"){return true;}_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);if(!_1c7.collapsed){_1c7.deleteContents();_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);}if(_1bf.atBeginningOfContainer(_1cd,_1c7.startContainer,_1c7.startOffset)){br=doc.createElement("br");_1c8=_1bf.create(this.editor.window);_1cd.insertBefore(br,_1cd.firstChild);_1c8.setStartAfter(br);_1c6.removeAllRanges();_1c6.addRange(_1c8);}else{if(_1bf.atEndOfContainer(_1cd,_1c7.startContainer,_1c7.startOffset)){_1c8=_1bf.create(this.editor.window);br=doc.createElement("br");_1cd.appendChild(br);_1cd.appendChild(doc.createTextNode(" "));_1c8.setStart(_1cd.lastChild,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);}else{rs=_1c7.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;win.withGlobal(this.editor.window,function(){_1c9=doc.createTextNode(txt.substring(0,_1c7.startOffset));_1ca=doc.createTextNode(txt.substring(_1c7.startOffset));_1cb=doc.createElement("br");if(_1ca.nodeValue==""&&has("webkit")){_1ca=doc.createTextNode(" ");}_1ba.place(_1c9,rs,"after");_1ba.place(_1cb,_1c9,"after");_1ba.place(_1ca,_1cb,"after");_1ba.destroy(rs);_1c8=_1bf.create();_1c8.setStart(_1ca,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);});return false;}return true;}}}else{_1c6=_1bf.getSelection(this.editor.window);if(_1c6.rangeCount){_1c7=_1c6.getRangeAt(0);if(_1c7&&_1c7.startContainer){if(!_1c7.collapsed){_1c7.deleteContents();_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);}rs=_1c7.startContainer;if(rs&&rs.nodeType==3){win.withGlobal(this.editor.window,lang.hitch(this,function(){var _1ce=false;var _1cf=_1c7.startOffset;if(rs.length<_1cf){ret=this._adjustNodeAndOffset(rs,_1cf);rs=ret.node;_1cf=ret.offset;}txt=rs.nodeValue;_1c9=doc.createTextNode(txt.substring(0,_1cf));_1ca=doc.createTextNode(txt.substring(_1cf));_1cb=doc.createElement("br");if(!_1ca.length){_1ca=doc.createTextNode(" ");_1ce=true;}if(_1c9.length){_1ba.place(_1c9,rs,"after");}else{_1c9=rs;}_1ba.place(_1cb,_1c9,"after");_1ba.place(_1ca,_1cb,"after");_1ba.destroy(rs);_1c8=_1bf.create();_1c8.setStart(_1ca,0);_1c8.setEnd(_1ca,_1ca.length);_1c6.removeAllRanges();_1c6.addRange(_1c8);if(_1ce&&!has("webkit")){_1c0.remove();}else{_1c0.collapse(true);}}));}else{var _1d0;if(_1c7.startOffset>=0){_1d0=rs.childNodes[_1c7.startOffset];}win.withGlobal(this.editor.window,lang.hitch(this,function(){var _1d1=doc.createElement("br");var _1d2=doc.createTextNode(" ");if(!_1d0){rs.appendChild(_1d1);rs.appendChild(_1d2);}else{_1ba.place(_1d1,_1d0,"before");_1ba.place(_1d2,_1d1,"after");}_1c8=_1bf.create(win.global);_1c8.setStart(_1d2,0);_1c8.setEnd(_1d2,_1d2.length);_1c6.removeAllRanges();_1c6.addRange(_1c8);_1c0.collapse(true);}));}}}else{_1be.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _1d3=true;_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);if(!_1c7.collapsed){_1c7.deleteContents();_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);}var _1d4=_1bf.getBlockAncestor(_1c7.endContainer,null,this.editor.editNode);var _1d5=_1d4.blockNode;if((this._checkListLater=(_1d5&&(_1d5.nodeName=="LI"||_1d5.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_1d5;}if(/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(_1d5.innerHTML)){_1d5.innerHTML="";if(has("webkit")){_1c8=_1bf.create(this.editor.window);_1c8.setStart(_1d5,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);}this._checkListLater=false;}return true;}if(!_1d4.blockNode||_1d4.blockNode===this.editor.editNode){try{_1be.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_1d4={blockNode:win.withGlobal(this.editor.window,"getAncestorElement",_1c0,[this.blockNodeForEnter]),blockContainer:this.editor.editNode};if(_1d4.blockNode){if(_1d4.blockNode!=this.editor.editNode&&(!(_1d4.blockNode.textContent||_1d4.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_1d4.blockNode);return false;}}else{_1d4.blockNode=this.editor.editNode;}_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);}var _1d6=doc.createElement(this.blockNodeForEnter);_1d6.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_1d4.blockNode);var _1d7=_1c7.endOffset;var node=_1c7.endContainer;if(node.length<_1d7){var ret=this._adjustNodeAndOffset(node,_1d7);node=ret.node;_1d7=ret.offset;}if(_1bf.atEndOfContainer(_1d4.blockNode,node,_1d7)){if(_1d4.blockNode===_1d4.blockContainer){_1d4.blockNode.appendChild(_1d6);}else{_1ba.place(_1d6,_1d4.blockNode,"after");}_1d3=false;_1c8=_1bf.create(this.editor.window);_1c8.setStart(_1d6,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);if(this.editor.height){_1bc.scrollIntoView(_1d6);}}else{if(_1bf.atBeginningOfContainer(_1d4.blockNode,_1c7.startContainer,_1c7.startOffset)){_1ba.place(_1d6,_1d4.blockNode,_1d4.blockNode===_1d4.blockContainer?"first":"before");if(_1d6.nextSibling&&this.editor.height){_1c8=_1bf.create(this.editor.window);_1c8.setStart(_1d6.nextSibling,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);_1bc.scrollIntoView(_1d6.nextSibling);}_1d3=false;}else{if(_1d4.blockNode===_1d4.blockContainer){_1d4.blockNode.appendChild(_1d6);}else{_1ba.place(_1d6,_1d4.blockNode,"after");}_1d3=false;if(_1d4.blockNode.style){if(_1d6.style){if(_1d4.blockNode.style.cssText){_1d6.style.cssText=_1d4.blockNode.style.cssText;}}}rs=_1c7.startContainer;var _1d8;if(rs&&rs.nodeType==3){var _1d9,_1da;_1d7=_1c7.endOffset;if(rs.length<_1d7){ret=this._adjustNodeAndOffset(rs,_1d7);rs=ret.node;_1d7=ret.offset;}txt=rs.nodeValue;_1c9=doc.createTextNode(txt.substring(0,_1d7));_1ca=doc.createTextNode(txt.substring(_1d7,txt.length));_1ba.place(_1c9,rs,"before");_1ba.place(_1ca,rs,"after");_1ba.destroy(rs);var _1db=_1c9.parentNode;while(_1db!==_1d4.blockNode){var tg=_1db.tagName;var _1dc=doc.createElement(tg);if(_1db.style){if(_1dc.style){if(_1db.style.cssText){_1dc.style.cssText=_1db.style.cssText;}}}if(_1db.tagName==="FONT"){if(_1db.color){_1dc.color=_1db.color;}if(_1db.face){_1dc.face=_1db.face;}if(_1db.size){_1dc.size=_1db.size;}}_1d9=_1ca;while(_1d9){_1da=_1d9.nextSibling;_1dc.appendChild(_1d9);_1d9=_1da;}_1ba.place(_1dc,_1db,"after");_1c9=_1db;_1ca=_1dc;_1db=_1db.parentNode;}_1d9=_1ca;if(_1d9.nodeType==1||(_1d9.nodeType==3&&_1d9.nodeValue)){_1d6.innerHTML="";}_1d8=_1d9;while(_1d9){_1da=_1d9.nextSibling;_1d6.appendChild(_1d9);_1d9=_1da;}}_1c8=_1bf.create(this.editor.window);var _1dd;var _1de=_1d8;if(this.blockNodeForEnter!=="BR"){while(_1de){_1dd=_1de;_1da=_1de.firstChild;_1de=_1da;}if(_1dd&&_1dd.parentNode){_1d6=_1dd.parentNode;_1c8.setStart(_1d6,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);if(this.editor.height){_1bc.scrollIntoView(_1d6);}if(has("mozilla")){this._pressedEnterInBlock=_1d4.blockNode;}}else{_1d3=true;}}else{_1c8.setStart(_1d6,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);if(this.editor.height){_1bc.scrollIntoView(_1d6);}if(has("mozilla")){this._pressedEnterInBlock=_1d4.blockNode;}}}}return _1d3;},_adjustNodeAndOffset:function(node,_1df){while(node.length<_1df&&node.nextSibling&&node.nextSibling.nodeType==3){_1df=_1df-node.length;node=node.nextSibling;}return {"node":node,"offset":_1df};},removeTrailingBr:function(_1e0){var para=/P|DIV|LI/i.test(_1e0.tagName)?_1e0:_1c0.getParentOfType(_1e0,["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"){_1ba.destroy(para.lastChild);}}if(!para.childNodes.length){para.innerHTML=this.bogusHtmlContent;}}});});},"dijit/_editor/RichText":function(){define(["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(_1e1,_1e2,_1e3,_1e4,dom,_1e5,_1e6,_1e7,_1e8,_1e9,_1ea,_1eb,keys,lang,on,_1ec,_1ed,has,_1ee,_1ef,_1f0,win,_1f1,_1f2,_1f3,_1f4,_1f5,_1f6,_1f7){var _1f8=_1e3("dijit._editor.RichText",[_1f1,_1f2],{constructor:function(_1f9){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_1f9&&lang.isString(_1f9.value)){this.value=_1f9.value;}this.onLoadDeferred=new _1e4();},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")||has("trident")){this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters);this.contentDomPostFilters=[lang.hitch(this,this._stripBreakerNodes)].concat(this.contentDomPostFilters);}this.inherited(arguments);_1ee.publish(_1f7._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 _1fa={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")){_1fa.Z=exec("redo");}var key;for(key in _1fa){this.addKeyHandler(key,true,false,_1fa[key]);}},events:["onKeyPress","onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_1f8._editorCommandsLocalized){this._local2NativeFormatNames=_1f8._local2NativeFormatNames;this._native2LocalFormatNames=_1f8._native2LocalFormatNames;return;}_1f8._editorCommandsLocalized=true;_1f8._local2NativeFormatNames={};_1f8._native2LocalFormatNames={};this._local2NativeFormatNames=_1f8._local2NativeFormatNames;this._native2LocalFormatNames=_1f8._native2LocalFormatNames;var _1fb=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _1fc="",_1fd,i=0;while((_1fd=_1fb[i++])){if(_1fd.charAt(1)!=="l"){_1fc+="<"+_1fd+"><span>content</span></"+_1fd+"><br/>";}else{_1fc+="<"+_1fd+"><li>content</li></"+_1fd+"><br/>";}}var _1fe={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_1e7.create("div",{style:_1fe,innerHTML:_1fc});win.body().appendChild(div);var _1ff=lang.hitch(this,function(){var node=div.firstChild;while(node){try{_1f3.selectElement(node.firstChild);var _200=node.tagName.toLowerCase();this._local2NativeFormatNames[_200]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_200]]=_200;node=node.nextSibling.nextSibling;}catch(e){}}div.parentNode.removeChild(div);div.innerHTML="";});setTimeout(_1ff,0);},open:function(_201){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _1e4();}if(!this.isClosed){this.close();}_1ee.publish(_1f7._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_201.nodeName){this.domNode=_201;}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;_1e7.place(dn,ta,"before");var _202=lang.hitch(this,function(){_1e9.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(_202,10);}else{_202();}if(ta.form){var _203=ta.value;this.reset=function(){var _204=this.getValue();if(_204!==_203){this.replaceValue(_203);}};on(ta.form,"submit",lang.hitch(this,function(){_1e5.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_1f5.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!==""&&(!_1e2["useXDomain"]||_1e2["allowXdRichTextSave"])){var _205=dom.byId(_1f7._scopeName+"._editor.RichText.value");if(_205&&_205.value!==""){var _206=_205.value.split(this._SEPARATOR),i=0,dat;while((dat=_206[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){html=data[1];_206=_206.splice(i,1);_205.value=_206.join(this._SEPARATOR);break;}}}if(!_1f8._globalSaveHandler){_1f8._globalSaveHandler={};_1ef.addOnUnload(function(){var id;for(id in _1f8._globalSaveHandler){var f=_1f8._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_1f8._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";ifr.style.border="none";ifr.style.width="100%";if(this._layoutMode){ifr.style.height="100%";}else{if(has("ie")>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}}ifr.frameBorder=0;ifr._loadFunc=lang.hitch(this,function(w){this.window=w;this.document=w.document;if(has("ie")){this._localizeEditorCommands();}this.onLoad(html);});var src=this._getIframeDocTxt().replace(/\\/g,"\\\\").replace(/'/g,"\\'"),s;if(has("ie")<11){s="javascript:document.open();try{parent.window;}catch(e){document.domain=\""+document.domain+"\";}"+"document.write('"+src+"');document.close()";}else{s="javascript: '"+src+"'";}if(has("ie")==9){this.editingArea.appendChild(ifr);ifr.src=s;}else{ifr.setAttribute("src",s);this.editingArea.appendChild(ifr);}if(has("safari")<=4){src=ifr.getAttribute("src");if(!src||src.indexOf("javascript")===-1){setTimeout(function(){ifr.setAttribute("src",s);},0);}}if(dn.nodeName==="LI"){dn.lastChild.style.marginTop="-1.2em";}_1e6.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _207=_1e9.getComputedStyle(this.domNode);var html="<div id='dijitEditorBody'></div>";var font=[_207.fontWeight,_207.fontSize,_207.fontFamily].join(" ");var _208=_207.lineHeight;if(_208.indexOf("px")>=0){_208=parseFloat(_208)/parseFloat(_207.fontSize);}else{if(_208.indexOf("em")>=0){_208=parseFloat(_208);}else{_208="normal";}}var _209="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_20a){_20a=_20a.replace(/^;/ig,"")+";";var s=_20a.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;}}_1e9.set(self.domNode,sC,"");}_209+=_20a+";";});var _20b=_1ec("label[for=\""+this.id+"\"]");return [this.isLeftToRight()?"<html>\n<head>\n":"<html dir='rtl'>\n<head>\n",(has("mozilla")&&_20b.length?"<title>"+_20b[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","\t}\n","\tbody,html,#dijitEditorBody { outline: none; }","html { height: 100%; width: 100%; overflow: hidden; }\n",this.height?"\tbody,#dijitEditorBody { height: 100%; width: 100%; overflow: auto; }\n":"\tbody,#dijitEditorBody { min-height: "+this.minHeight+"; width: 100%; overflow-x: auto; overflow-y: hidden; }\n","\tbody{\n","\t\ttop:0px;\n","\t\tleft:0px;\n","\t\tright:0px;\n","\t\tfont:",font,";\n",((this.height||has("opera"))?"":"\t\tposition: fixed;\n"),"\t\tline-height:",_208,";\n","\t}\n","\tp{ margin: 1em 0; }\n","\tli > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; }\n",(has("ie")||has("trident")?"":"\tli{ min-height:1.2em; }\n"),"</style>\n",this._applyEditingAreaStyleSheets(),"\n","</head>\n<body ","</head>\n<body role='main' ","onload='frameElement && frameElement._loadFunc(window,document)' ","style='"+_209+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _20c=[];if(this.styleSheets){_20c=this.styleSheets.split(";");this.styleSheets="";}_20c=_20c.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_20c[i++])){var _20d=(new _1f0(win.global.location,url)).toString();this.editingAreaStyleSheets.push(_20d);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_20d+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _1f0(win.global.location,url)).toString();}if(_1e1.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 _20e=this.document.createElement("link");_20e.rel="stylesheet";_20e.type="text/css";_20e.href=url;head.appendChild(_20e);}}));},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _1f0(win.global.location,url)).toString();}var _20f=_1e1.indexOf(this.editingAreaStyleSheets,url);if(_20f===-1){return;}delete this.editingAreaStyleSheets[_20f];win.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_210){_210=!!_210;this._set("disabled",_210);if(!this.isLoaded){return;}var _211=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_211){this.editNode.unselectable="on";}this.editNode.contentEditable=!_210;this.editNode.tabIndex=_210?"-1":this.tabIndex;if(_211){this.defer(function(){if(this.editNode){this.editNode.unselectable="off";}});}if(has("mozilla")&&!_210&&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=_1f6.registerIframe(this.iframe);}this.editNode=this.document.body.firstChild;var _212=this;this.beforeIframeNode=_1e7.place("<div tabIndex=-1></div>",this.iframe,"before");this.afterIframeNode=_1e7.place("<div tabIndex=-1></div>",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){_212.editNode.focus();};this.focusNode=this.editNode;var _213=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;_1e1.forEach(_213,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 _214=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}this.onDisplayChanged();if(this.focusOnLoad){_1ed(lang.hitch(this,function(){setTimeout(lang.hitch(this,"focus"),this.updateInterval);}));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.addCallback(_214);}else{_214();}},onKeyDown:function(e){if(e.keyCode===keys.TAB&&this.isTabIndent){_1ea.stop(e);if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(e.keyCode==keys.TAB&&!this.isTabIndent){if(e.shiftKey&&!e.ctrlKey&&!e.altKey){this.beforeIframeNode.focus();}else{if(!e.shiftKey&&!e.ctrlKey&&!e.altKey){this.afterIframeNode.focus();}}}if(has("ie")<9&&e.keyCode===keys.BACKSPACE&&this.document.selection.type==="Control"){e.stopPropagation();e.preventDefault();this.execCommand("delete");}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(_215){_1eb.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_215);},_setValueAttr:function(_216){this.setValue(_216);},_setDisableSpellCheckAttr:function(_217){if(this.document){_1e5.set(this.document.body,"spellcheck",!_217);}else{this.onLoadDeferred.addCallback(lang.hitch(this,function(){_1e5.set(this.document.body,"spellcheck",!_217);}));}this._set("disableSpellCheck",_217);},onKeyPress:function(e){if(e.keyCode===keys.SHIFT||e.keyCode===keys.ALT||e.keyCode===keys.META||e.keyCode===keys.CTRL||(e.keyCode==keys.TAB&&!this.isTabIndent&&!e.ctrlKey&&!e.altKey)){return true;}var c=(e.keyChar&&e.keyChar.toLowerCase())||e.keyCode,_218=this._keyHandlers[c],args=arguments;if(_218&&!e.altKey){_1e1.some(_218,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,_219,_21a){if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_219||false,ctrl:ctrl||false,handler:_21a});},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 _21b=this.getValue(true);if(_21b!==this.value){this.onChange(_21b);}this._set("value",_21b);},_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")<9){this.iframe.fireEvent("onfocus",document.createEventObject());}else{this.editNode.focus();}},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,_21c){var _21d=cmd.toLowerCase();if(_21d==="formatblock"){if(has("safari")&&_21c===undefined){_21d="heading";}}else{if(_21d==="hilitecolor"&&!has("mozilla")){_21d="backcolor";}}return _21d;},_qcaCache:{},queryCommandAvailable:function(_21e){var ca=this._qcaCache[_21e];if(ca!==undefined){return ca;}return (this._qcaCache[_21e]=this._queryCommandAvailable(_21e));},_queryCommandAvailable:function(_21f){var ie=1;var _220=1<<1;var _221=1<<2;var _222=1<<3;function _223(_224){return {ie:Boolean(_224&ie),mozilla:Boolean(_224&_220),webkit:Boolean(_224&_221),opera:Boolean(_224&_222)};};var _225=null;switch(_21f.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":_225=_223(_220|ie|_221|_222);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":_225=_223(_220|ie|_222|_221);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_225=_223(ie);break;case "cut":case "copy":case "paste":_225=_223(ie|_220|_221);break;case "inserttable":_225=_223(_220|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_225=_223(ie|_220);break;default:return false;}return ((has("ie")||has("trident"))&&_225.ie)||(has("mozilla")&&_225.mozilla)||(has("webkit")&&_225.webkit)||(has("opera")&&_225.opera);},execCommand:function(_226,_227){var _228;if(this.focused){this.focus();}_226=this._normalizeCommand(_226,_227);if(_227!==undefined){if(_226==="heading"){throw new Error("unimplemented");}else{if(_226==="formatblock"&&(has("ie")||has("trident"))){_227="<"+_227+">";}}}var _229="_"+_226+"Impl";if(this[_229]){_228=this[_229](_227);}else{_227=arguments.length>1?_227:null;if(_227||_226!=="createlink"){_228=this.document.execCommand(_226,false,_227);}}this.onDisplayChanged();return _228;},queryCommandEnabled:function(_22a){if(this.disabled||!this._disabledOK){return false;}_22a=this._normalizeCommand(_22a);var _22b="_"+_22a+"EnabledImpl";if(this[_22b]){return this[_22b](_22a);}else{return this._browserQueryCommandEnabled(_22a);}},queryCommandState:function(_22c){if(this.disabled||!this._disabledOK){return false;}_22c=this._normalizeCommand(_22c);try{return this.document.queryCommandState(_22c);}catch(e){return false;}},queryCommandValue:function(_22d){if(this.disabled||!this._disabledOK){return false;}var r;_22d=this._normalizeCommand(_22d);if((has("ie")||has("trident"))&&_22d==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_22d)];}else{if(has("mozilla")&&_22d==="hilitecolor"){var _22e;try{_22e=this.document.queryCommandValue("styleWithCSS");}catch(e){_22e=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_22d);this.document.execCommand("styleWithCSS",false,_22e);}else{r=this.document.queryCommandValue(_22d);}}return r;},_sCall:function(name,args){return win.withGlobal(this.window,name,_1f3,args);},placeCursorAtStart:function(){this.focus();var _22f=false;if(has("mozilla")){var _230=this.editNode.firstChild;while(_230){if(_230.nodeType===3){if(_230.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_22f=true;this._sCall("selectElement",[_230]);break;}}else{if(_230.nodeType===1){_22f=true;var tg=_230.tagName?_230.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this._sCall("selectElement",[_230]);}else{this._sCall("selectElementChildren",[_230]);}break;}}_230=_230.nextSibling;}}else{_22f=true;this._sCall("selectElementChildren",[this.editNode]);}if(_22f){this._sCall("collapse",[true]);}},placeCursorAtEnd:function(){this.focus();var _231=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_231=true;this._sCall("selectElement",[last]);break;}}else{if(last.nodeType===1){_231=true;if(last.lastChild){this._sCall("selectElement",[last.lastChild]);}else{this._sCall("selectElement",[last]);}break;}}last=last.previousSibling;}}else{_231=true;this._sCall("selectElementChildren",[this.editNode]);}if(_231){this._sCall("collapse",[false]);}},getValue:function(_232){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_232);},_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("webkit")){html="&#160;";}node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();this._set("value",this.getValue(true));},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!has("mozilla")){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}this._set("value",this.getValue(true));},_preFilterContent:function(html){var ec=html;_1e1.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_1e1.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_233){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_233){dom=lang.clone(dom);}_1e1.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_1f5.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_1e1.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _234=dom.byId(_1f7._scopeName+"._editor.RichText.value");if(_234){if(_234.value){_234.value+=this._SEPARATOR;}_234.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_235){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_235){str=str.replace(/'/gm,"&#39;");}return str;},getNodeHtml:function(node){_1eb.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _1f5.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_1eb.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _1f5.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;_1e7.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_1e6.remove(this.domNode,this.baseClass);this.isClosed=true;this.isLoaded=false;delete this.editNode;delete this.focusNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;},destroy:function(){if(!this.isClosed){this.close(false);}if(this._updateTimer){clearTimeout(this._updateTimer);}this.inherited(arguments);if(_1f8._globalSaveHandler){delete _1f8._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(_236){if(!_236){return false;}var elem=has("ie")<9?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_236);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _237=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_237=true;}else{_237=this.document.queryCommandEnabled("createlink");}}else{_237=this._browserQueryCommandEnabled("createlink");}return _237;},_unlinkEnabledImpl:function(){var _238=true;if(has("mozilla")||has("webkit")){_238=this._sCall("hasAncestorElement",["a"]);}else{_238=this._browserQueryCommandEnabled("unlink");}return _238;},_inserttableEnabledImpl:function(){var _239=true;if(has("mozilla")||has("webkit")){_239=true;}else{_239=this._browserQueryCommandEnabled("inserttable");}return _239;},_cutEnabledImpl:function(){var _23a=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_23a=!!sel;}else{_23a=this._browserQueryCommandEnabled("cut");}return _23a;},_copyEnabledImpl:function(){var _23b=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_23b=!!sel;}else{_23b=this._browserQueryCommandEnabled("copy");}return _23b;},_pasteEnabledImpl:function(){var _23c=true;if(has("webkit")){return true;}else{_23c=this._browserQueryCommandEnabled("paste");}return _23c;},_inserthorizontalruleImpl:function(_23d){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_23d);},_unlinkImpl:function(_23e){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,_23e);},_hilitecolorImpl:function(_23f){var _240;var _241=this._handleTextColorOrProperties("hilitecolor",_23f);if(!_241){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_240=this.document.execCommand("hilitecolor",false,_23f);this.document.execCommand("styleWithCSS",false,false);}else{_240=this.document.execCommand("hilitecolor",false,_23f);}}return _240;},_backcolorImpl:function(_242){if(has("ie")){_242=_242?_242:null;}var _243=this._handleTextColorOrProperties("backcolor",_242);if(!_243){_243=this.document.execCommand("backcolor",false,_242);}return _243;},_forecolorImpl:function(_244){if(has("ie")){_244=_244?_244:null;}var _245=false;_245=this._handleTextColorOrProperties("forecolor",_244);if(!_245){_245=this.document.execCommand("forecolor",false,_244);}return _245;},_inserthtmlImpl:function(_246){_246=this._preFilterContent(_246);var rv=true;if(has("ie")<9){var _247=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_247.item(0);while(_247.length){_247.remove(_247.item(0));}n.outerHTML=_246;}else{_247.pasteHTML(_246);}_247.select();}else{if(has("trident")<8){var _247;var _248=_1f4.getSelection(this.window);if(_248&&_248.rangeCount&&_248.getRangeAt){_247=_248.getRangeAt(0);_247.deleteContents();var div=_1e7.create("div");div.innerHTML=_246;var node,_249;var n=this.document.createDocumentFragment();while((node=div.firstChild)){_249=n.appendChild(node);}_247.insertNode(n);if(_249){_247=_247.cloneRange();_247.setStartAfter(_249);_247.collapse(false);_248.removeAllRanges();_248.addRange(_247);}}}else{if(has("mozilla")&&!_246.length){this._sCall("remove");}else{rv=this.document.execCommand("inserthtml",false,_246);}}}return rv;},_boldImpl:function(_24a){var _24b=false;if(has("ie")||has("trident")){this._adaptIESelection();_24b=this._adaptIEFormatAreaAndExec("bold");}if(!_24b){_24b=this.document.execCommand("bold",false,_24a);}return _24b;},_italicImpl:function(_24c){var _24d=false;if(has("ie")||has("trident")){this._adaptIESelection();_24d=this._adaptIEFormatAreaAndExec("italic");}if(!_24d){_24d=this.document.execCommand("italic",false,_24c);}return _24d;},_underlineImpl:function(_24e){var _24f=false;if(has("ie")||has("trident")){this._adaptIESelection();_24f=this._adaptIEFormatAreaAndExec("underline");}if(!_24f){_24f=this.document.execCommand("underline",false,_24e);}return _24f;},_strikethroughImpl:function(_250){var _251=false;if(has("ie")||has("trident")){this._adaptIESelection();_251=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_251){_251=this.document.execCommand("strikethrough",false,_250);}return _251;},_superscriptImpl:function(_252){var _253=false;if(has("ie")||has("trident")){this._adaptIESelection();_253=this._adaptIEFormatAreaAndExec("superscript");}if(!_253){_253=this.document.execCommand("superscript",false,_252);}return _253;},_subscriptImpl:function(_254){var _255=false;if(has("ie")||has("trident")){this._adaptIESelection();_255=this._adaptIEFormatAreaAndExec("subscript");}if(!_255){_255=this.document.execCommand("subscript",false,_254);}return _255;},_fontnameImpl:function(_256){var _257;if(has("ie")||has("trident")){_257=this._handleTextColorOrProperties("fontname",_256);}if(!_257){_257=this.document.execCommand("fontname",false,_256);}return _257;},_fontsizeImpl:function(_258){var _259;if(has("ie")||has("trident")){_259=this._handleTextColorOrProperties("fontsize",_258);}if(!_259){_259=this.document.execCommand("fontsize",false,_258);}return _259;},_insertorderedlistImpl:function(_25a){var _25b=false;if(has("ie")||has("trident")){_25b=this._adaptIEList("insertorderedlist",_25a);}if(!_25b){_25b=this.document.execCommand("insertorderedlist",false,_25a);}return _25b;},_insertunorderedlistImpl:function(_25c){var _25d=false;if(has("ie")||has("trident")){_25d=this._adaptIEList("insertunorderedlist",_25c);}if(!_25d){_25d=this.document.execCommand("insertunorderedlist",false,_25c);}return _25d;},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=_1e8.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_25e){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_25e);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_25e)==="");}}return false;},_removeStartingRangeFromRange:function(node,_25f){if(node.nextSibling){_25f.setStart(node.nextSibling,0);}else{var _260=node.parentNode;while(_260&&_260.nextSibling==null){_260=_260.parentNode;}if(_260){_25f.setStart(_260.nextSibling,0);}}return _25f;},_adaptIESelection:function(){var _261=_1f4.getSelection(this.window);if(_261&&_261.rangeCount&&!_261.isCollapsed){var _262=_261.getRangeAt(0);var _263=_262.startContainer;var _264=_262.startOffset;while(_263.nodeType===3&&_264>=_263.length&&_263.nextSibling){_264=_264-_263.length;_263=_263.nextSibling;}var _265=null;while(this._isNodeEmpty(_263,_264)&&_263!==_265){_265=_263;_262=this._removeStartingRangeFromRange(_263,_262);_263=_262.startContainer;_264=0;}_261.removeAllRanges();_261.addRange(_262);}},_adaptIEFormatAreaAndExec:function(_266){var _267=_1f4.getSelection(this.window);var doc=this.document;var rs,ret,_268,txt,_269,_26a,_26b,_26c;if(_266&&_267&&_267.isCollapsed){var _26d=this.queryCommandValue(_266);if(_26d){var _26e=this._tagNamesForCommand(_266);_268=_267.getRangeAt(0);var fs=_268.startContainer;if(fs.nodeType===3){var _26f=_268.endOffset;if(fs.length<_26f){ret=this._adjustNodeAndOffset(rs,_26f);fs=ret.node;_26f=ret.offset;}}var _270;while(fs&&fs!==this.editNode){var _271=fs.tagName?fs.tagName.toLowerCase():"";if(_1e1.indexOf(_26e,_271)>-1){_270=fs;break;}fs=fs.parentNode;}if(_270){rs=_268.startContainer;var _272=doc.createElement(_270.tagName);_1e7.place(_272,_270,"after");if(rs&&rs.nodeType===3){var _273,_274;var _275=_268.endOffset;if(rs.length<_275){ret=this._adjustNodeAndOffset(rs,_275);rs=ret.node;_275=ret.offset;}txt=rs.nodeValue;_269=doc.createTextNode(txt.substring(0,_275));var _276=txt.substring(_275,txt.length);if(_276){_26a=doc.createTextNode(_276);}_1e7.place(_269,rs,"before");if(_26a){_26b=doc.createElement("span");_26b.className="ieFormatBreakerSpan";_1e7.place(_26b,rs,"after");_1e7.place(_26a,_26b,"after");_26a=_26b;}_1e7.destroy(rs);var _277=_269.parentNode;var _278=[];var _279;while(_277!==_270){var tg=_277.tagName;_279={tagName:tg};_278.push(_279);var _27a=doc.createElement(tg);if(_277.style){if(_27a.style){if(_277.style.cssText){_27a.style.cssText=_277.style.cssText;_279.cssText=_277.style.cssText;}}}if(_277.tagName==="FONT"){if(_277.color){_27a.color=_277.color;_279.color=_277.color;}if(_277.face){_27a.face=_277.face;_279.face=_277.face;}if(_277.size){_27a.size=_277.size;_279.size=_277.size;}}if(_277.className){_27a.className=_277.className;_279.className=_277.className;}if(_26a){_273=_26a;while(_273){_274=_273.nextSibling;_27a.appendChild(_273);_273=_274;}}if(_27a.tagName==_277.tagName){_26b=doc.createElement("span");_26b.className="ieFormatBreakerSpan";_1e7.place(_26b,_277,"after");_1e7.place(_27a,_26b,"after");}else{_1e7.place(_27a,_277,"after");}_269=_277;_26a=_27a;_277=_277.parentNode;}if(_26a){_273=_26a;if(_273.nodeType===1||(_273.nodeType===3&&_273.nodeValue)){_272.innerHTML="";}while(_273){_274=_273.nextSibling;_272.appendChild(_273);_273=_274;}}if(_278.length){_279=_278.pop();var _27b=doc.createElement(_279.tagName);if(_279.cssText&&_27b.style){_27b.style.cssText=_279.cssText;}if(_279.className){_27b.className=_279.className;}if(_279.tagName==="FONT"){if(_279.color){_27b.color=_279.color;}if(_279.face){_27b.face=_279.face;}if(_279.size){_27b.size=_279.size;}}_1e7.place(_27b,_272,"before");while(_278.length){_279=_278.pop();var _27c=doc.createElement(_279.tagName);if(_279.cssText&&_27c.style){_27c.style.cssText=_279.cssText;}if(_279.className){_27c.className=_279.className;}if(_279.tagName==="FONT"){if(_279.color){_27c.color=_279.color;}if(_279.face){_27c.face=_279.face;}if(_279.size){_27c.size=_279.size;}}_27b.appendChild(_27c);_27b=_27c;}_26c=doc.createTextNode(".");_26b.appendChild(_26c);_27b.appendChild(_26c);win.withGlobal(this.window,lang.hitch(this,function(){var _27d=_1f4.create();_27d.setStart(_26c,0);_27d.setEnd(_26c,_26c.length);_267.removeAllRanges();_267.addRange(_27d);_1f3.collapse(false);_26c.parentNode.innerHTML="";}));}else{_26b=doc.createElement("span");_26b.className="ieFormatBreakerSpan";_26c=doc.createTextNode(".");_26b.appendChild(_26c);_1e7.place(_26b,_272,"before");win.withGlobal(this.window,lang.hitch(this,function(){var _27e=_1f4.create();_27e.setStart(_26c,0);_27e.setEnd(_26c,_26c.length);_267.removeAllRanges();_267.addRange(_27e);_1f3.collapse(false);_26c.parentNode.innerHTML="";}));}if(!_272.firstChild){_1e7.destroy(_272);}return true;}}return false;}else{_268=_267.getRangeAt(0);rs=_268.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _27f=_268.startOffset;if(rs.length<_27f){ret=this._adjustNodeAndOffset(rs,_27f);rs=ret.node;_27f=ret.offset;}txt=rs.nodeValue;_269=doc.createTextNode(txt.substring(0,_27f));var _280=txt.substring(_27f);if(_280!==""){_26a=doc.createTextNode(txt.substring(_27f));}_26b=doc.createElement("span");_26c=doc.createTextNode(".");_26b.appendChild(_26c);if(_269.length){_1e7.place(_269,rs,"after");}else{_269=rs;}_1e7.place(_26b,_269,"after");if(_26a){_1e7.place(_26a,_26b,"after");}_1e7.destroy(rs);var _281=_1f4.create();_281.setStart(_26c,0);_281.setEnd(_26c,_26c.length);_267.removeAllRanges();_267.addRange(_281);doc.execCommand(_266);_1e7.place(_26b.firstChild,_26b,"before");_1e7.destroy(_26b);_281.setStart(_26c,0);_281.setEnd(_26c,_26c.length);_267.removeAllRanges();_267.addRange(_281);_1f3.collapse(false);_26c.parentNode.innerHTML="";}));return true;}}}else{return false;}},_adaptIEList:function(_282){var _283=_1f4.getSelection(this.window);if(_283.isCollapsed){if(_283.rangeCount&&!this.queryCommandValue(_282)){var _284=_283.getRangeAt(0);var sc=_284.startContainer;if(sc&&sc.nodeType==3){if(!_284.startOffset){win.withGlobal(this.window,lang.hitch(this,function(){var _285="ul";if(_282==="insertorderedlist"){_285="ol";}var list=_1e7.create(_285);var li=_1e7.create("li",null,list);_1e7.place(list,sc,"before");li.appendChild(sc);_1e7.create("br",null,list,"after");var _286=_1f4.create();_286.setStart(sc,0);_286.setEnd(sc,sc.length);_283.removeAllRanges();_283.addRange(_286);_1f3.collapse(true);}));return true;}}}}return false;},_handleTextColorOrProperties:function(_287,_288){var _289=_1f4.getSelection(this.window);var doc=this.document;var rs,ret,_28a,txt,_28b,_28c,_28d,_28e;_288=_288||null;if(_287&&_289&&_289.isCollapsed){if(_289.rangeCount){_28a=_289.getRangeAt(0);rs=_28a.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _28f=_28a.startOffset;if(rs.length<_28f){ret=this._adjustNodeAndOffset(rs,_28f);rs=ret.node;_28f=ret.offset;}txt=rs.nodeValue;_28b=doc.createTextNode(txt.substring(0,_28f));var _290=txt.substring(_28f);if(_290!==""){_28c=doc.createTextNode(txt.substring(_28f));}_28d=_1e7.create("span");_28e=doc.createTextNode(".");_28d.appendChild(_28e);var _291=_1e7.create("span");_28d.appendChild(_291);if(_28b.length){_1e7.place(_28b,rs,"after");}else{_28b=rs;}_1e7.place(_28d,_28b,"after");if(_28c){_1e7.place(_28c,_28d,"after");}_1e7.destroy(rs);var _292=_1f4.create();_292.setStart(_28e,0);_292.setEnd(_28e,_28e.length);_289.removeAllRanges();_289.addRange(_292);if(has("webkit")){var _293="color";if(_287==="hilitecolor"||_287==="backcolor"){_293="backgroundColor";}_1e9.set(_28d,_293,_288);_1f3.remove();_1e7.destroy(_291);_28d.innerHTML="&#160;";_1f3.selectElement(_28d);this.focus();}else{this.execCommand(_287,_288);_1e7.place(_28d.firstChild,_28d,"before");_1e7.destroy(_28d);_292.setStart(_28e,0);_292.setEnd(_28e,_28e.length);_289.removeAllRanges();_289.addRange(_292);_1f3.collapse(false);_28e.parentNode.removeChild(_28e);}}));return true;}}}return false;},_adjustNodeAndOffset:function(node,_294){while(node.length<_294&&node.nextSibling&&node.nextSibling.nodeType===3){_294=_294-node.length;node=node.nextSibling;}return {"node":node,"offset":_294};},_tagNamesForCommand:function(_295){if(_295==="bold"){return ["b","strong"];}else{if(_295==="italic"){return ["i","em"];}else{if(_295==="strikethrough"){return ["s","strike"];}else{if(_295==="superscript"){return ["sup"];}else{if(_295==="subscript"){return ["sub"];}else{if(_295==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){win.withGlobal(this.window,lang.hitch(this,function(){var _296=_1ec(".ieFormatBreakerSpan",node);var i;for(i=0;i<_296.length;i++){var b=_296[i];while(b.firstChild){_1e7.place(b.firstChild,b,"before");}_1e7.destroy(b);}}));return node;}});return _1f8;});},"dijit/_editor/selection":function(){define(["dojo/dom","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window",".."],function(dom,lang,has,win,_297){lang.getObject("_editor.selection",true,_297);lang.mixin(_297._editor.selection,{getType:function(){if(!win.doc.getSelection){return win.doc.selection.type.toLowerCase();}else{var _298="text";var oSel;try{oSel=win.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _299=oSel.getRangeAt(0);if((_299.startContainer==_299.endContainer)&&((_299.endOffset-_299.startOffset)==1)&&(_299.startContainer.nodeType!=3)){_298="control";}}return _298;}},getSelectedText:function(){if(!win.doc.getSelection){if(_297._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().text;}else{var _29a=win.global.getSelection();if(_29a){return _29a.toString();}}return "";},getSelectedHtml:function(){if(!win.doc.getSelection){if(_297._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().htmlText;}else{var _29b=win.global.getSelection();if(_29b&&_29b.rangeCount){var i;var html="";for(i=0;i<_29b.rangeCount;i++){var frag=_29b.getRangeAt(i).cloneContents();var div=win.doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}},getSelectedElement:function(){if(_297._editor.selection.getType()=="control"){if(!win.doc.getSelection){var _29c=win.doc.selection.createRange();if(_29c&&_29c.item){return win.doc.selection.createRange().item(0);}}else{var _29d=win.global.getSelection();return _29d.anchorNode.childNodes[_29d.anchorOffset];}}return null;},getParentElement:function(){if(_297._editor.selection.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(!win.doc.getSelection){var r=win.doc.selection.createRange();r.collapse(true);return r.parentElement();}else{var _29e=win.global.getSelection();if(_29e){var node=_29e.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}return null;},hasAncestorElement:function(_29f){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_2a0){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _2a1=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _2a2=String(tags[i]).toLowerCase();if(_2a1==_2a2){return _2a2;}}}return "";},getParentOfType:function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;},collapse:function(_2a3){if(window.getSelection){var _2a4=win.global.getSelection();if(_2a4.removeAllRanges){if(_2a3){_2a4.collapseToStart();}else{_2a4.collapseToEnd();}}else{_2a4.collapse(_2a3);}}else{if(has("ie")){var _2a5=win.doc.selection.createRange();_2a5.collapse(_2a3);_2a5.select();}}},remove:function(){var sel=win.doc.selection;if(!win.doc.getSelection){if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}else{sel=win.global.getSelection();sel.deleteFromDocument();return sel;}},selectElementChildren:function(_2a6,_2a7){var _2a8=win.global;var doc=win.doc;var _2a9;_2a6=dom.byId(_2a6);if(doc.selection&&!doc.getSelection&&win.body().createTextRange){_2a9=_2a6.ownerDocument.body.createTextRange();_2a9.moveToElementText(_2a6);if(!_2a7){try{_2a9.select();}catch(e){}}}else{if(_2a8.getSelection){var _2aa=win.global.getSelection();if(has("opera")){if(_2aa.rangeCount){_2a9=_2aa.getRangeAt(0);}else{_2a9=doc.createRange();}_2a9.setStart(_2a6,0);_2a9.setEnd(_2a6,(_2a6.nodeType==3)?_2a6.length:_2a6.childNodes.length);_2aa.addRange(_2a9);}else{_2aa.selectAllChildren(_2a6);}}}},selectElement:function(_2ab,_2ac){var _2ad;var doc=win.doc;var _2ae=win.global;_2ab=dom.byId(_2ab);if(!doc.getSelection&&win.body().createTextRange){try{var tg=_2ab.tagName?_2ab.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_2ad=win.body().createControlRange();}else{_2ad=win.body().createRange();}_2ad.addElement(_2ab);if(!_2ac){_2ad.select();}}catch(e){this.selectElementChildren(_2ab,_2ac);}}else{if(_2ae.getSelection){var _2af=_2ae.getSelection();_2ad=doc.createRange();if(_2af.removeAllRanges){if(has("opera")){if(_2af.getRangeAt(0)){_2ad=_2af.getRangeAt(0);}}_2ad.selectNode(_2ab);_2af.removeAllRanges();_2af.addRange(_2ad);}}}},inSelection:function(node){if(node){var _2b0;var doc=win.doc;var _2b1;if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.rangeCount>0){_2b1=sel.getRangeAt(0);}if(_2b1&&_2b1.compareBoundaryPoints&&doc.createRange){try{_2b0=doc.createRange();_2b0.setStart(node,0);if(_2b1.compareBoundaryPoints(_2b1.START_TO_END,_2b0)===1){return true;}}catch(e){}}}else{if(doc.selection){_2b1=doc.selection.createRange();try{_2b0=node.ownerDocument.body.createControlRange();if(_2b0){_2b0.addElement(node);}}catch(e1){try{_2b0=node.ownerDocument.body.createTextRange();_2b0.moveToElementText(node);}catch(e2){}}if(_2b1&&_2b0){if(_2b1.compareEndPoints("EndToStart",_2b0)===1){return true;}}}}}return false;}});return _297._editor.selection;});},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window",".."],function(_2b2,_2b3,lang,win,_2b4){_2b4.range={};_2b4.range.getIndex=function(node,_2b5){var ret=[],retR=[];var _2b6=node;var _2b7,n;while(node!=_2b5){var i=0;_2b7=node.parentNode;while((n=_2b7.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_2b7.childNodes.length);node=_2b7;}if(ret.length>0&&_2b6.nodeType==3){n=_2b6.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_2b6.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};};_2b4.range.getNode=function(_2b8,_2b9){if(!lang.isArray(_2b8)||_2b8.length==0){return _2b9;}var node=_2b9;_2b2.every(_2b8,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;};_2b4.range.getCommonAncestor=function(n1,n2,root){root=root||n1.ownerDocument.body;var _2ba=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_2ba(n1);var n2as=_2ba(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;};_2b4.range.getAncestor=function(node,_2bb,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_2bb.test(name)){return node;}node=node.parentNode;}return null;};_2b4.range.BlockTagNames=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/;_2b4.range.getBlockAncestor=function(node,_2bc,root){root=root||node.ownerDocument.body;_2bc=_2bc||_2b4.range.BlockTagNames;var _2bd=null,_2be;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_2bd&&_2bc.test(name)){_2bd=node;}if(!_2be&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_2be=node;}node=node.parentNode;}return {blockNode:_2bd,blockContainer:_2be||node.ownerDocument.body};};_2b4.range.atBeginningOfContainer=function(_2bf,node,_2c0){var _2c1=false;var _2c2=(_2c0==0);if(!_2c2&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_2c0))){_2c2=true;}}if(_2c2){var _2c3=node;_2c1=true;while(_2c3&&_2c3!==_2bf){if(_2c3.previousSibling){_2c1=false;break;}_2c3=_2c3.parentNode;}}return _2c1;};_2b4.range.atEndOfContainer=function(_2c4,node,_2c5){var _2c6=false;var _2c7=(_2c5==(node.length||node.childNodes.length));if(!_2c7&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_2c5))){_2c7=true;}}if(_2c7){var _2c8=node;_2c6=true;while(_2c8&&_2c8!==_2c4){if(_2c8.nextSibling){_2c6=false;break;}_2c8=_2c8.parentNode;}}return _2c6;};_2b4.range.adjacentNoneTextNode=function(_2c9,next){var node=_2c9;var len=(0-_2c9.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];};_2b4.range._w3c=Boolean(window["getSelection"]);_2b4.range.create=function(_2ca){if(_2b4.range._w3c){return (_2ca||win.global).document.createRange();}else{return new _2b4.range.W3CRange;}};_2b4.range.getSelection=function(win,_2cb){if(_2b4.range._w3c){return win.getSelection();}else{var s=new _2b4.range.ie.selection(win);if(!_2cb){s._getCurrentSelection();}return s;}};if(!_2b4.range._w3c){_2b4.range.ie={cachedSelection:{},selection:function(win){this._ranges=[];this.addRange=function(r,_2cc){this._ranges.push(r);if(!_2cc){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _2cd=function(){var r=win.document.selection.createRange();var type=win.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _2b4.range.W3CRange(_2b4.range.ie.decomposeControlRange(r));}else{return new _2b4.range.W3CRange(_2b4.range.ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_2cd();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_2ce){var _2cf=_2ce.item(0),_2d0=_2ce.item(_2ce.length-1);var _2d1=_2cf.parentNode,_2d2=_2d0.parentNode;var _2d3=_2b4.range.getIndex(_2cf,_2d1).o[0];var _2d4=_2b4.range.getIndex(_2d0,_2d2).o[0]+1;return [_2d1,_2d3,_2d2,_2d4];},getEndPoint:function(_2d5,end){var _2d6=_2d5.duplicate();_2d6.collapse(!end);var _2d7="EndTo"+(end?"End":"Start");var _2d8=_2d6.parentElement();var _2d9,_2da,_2db;if(_2d8.childNodes.length>0){_2b2.every(_2d8.childNodes,function(node,i){var _2dc;if(node.nodeType!=3){_2d6.moveToElementText(node);if(_2d6.compareEndPoints(_2d7,_2d5)>0){if(_2db&&_2db.nodeType==3){_2d9=_2db;_2dc=true;}else{_2d9=_2d8;_2da=i;return false;}}else{if(i==_2d8.childNodes.length-1){_2d9=_2d8;_2da=_2d8.childNodes.length;return false;}}}else{if(i==_2d8.childNodes.length-1){_2d9=node;_2dc=true;}}if(_2dc&&_2d9){var _2dd=_2b4.range.adjacentNoneTextNode(_2d9)[0];if(_2dd){_2d9=_2dd.nextSibling;}else{_2d9=_2d8.firstChild;}var _2de=_2b4.range.adjacentNoneTextNode(_2d9);_2dd=_2de[0];var _2df=_2de[1];if(_2dd){_2d6.moveToElementText(_2dd);_2d6.collapse(false);}else{_2d6.moveToElementText(_2d8);}_2d6.setEndPoint(_2d7,_2d5);_2da=_2d6.text.length-_2df;return false;}_2db=node;return true;});}else{_2d9=_2d8;_2da=0;}if(!end&&_2d9.nodeType==1&&_2da==_2d9.childNodes.length){var _2e0=_2d9.nextSibling;if(_2e0&&_2e0.nodeType==3){_2d9=_2e0;_2da=0;}}return [_2d9,_2da];},setEndPoint:function(_2e1,_2e2,_2e3){var _2e4=_2e1.duplicate(),node,len;if(_2e2.nodeType!=3){if(_2e3>0){node=_2e2.childNodes[_2e3-1];if(node){if(node.nodeType==3){_2e2=node;_2e3=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_2e2=node.nextSibling;_2e3=0;}else{_2e4.moveToElementText(node.nextSibling?node:_2e2);var _2e5=node.parentNode;var _2e6=_2e5.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_2e4.collapse(false);_2e5.removeChild(_2e6);}}}}else{_2e4.moveToElementText(_2e2);_2e4.collapse(true);}}if(_2e2.nodeType==3){var _2e7=_2b4.range.adjacentNoneTextNode(_2e2);var _2e8=_2e7[0];len=_2e7[1];if(_2e8){_2e4.moveToElementText(_2e8);_2e4.collapse(false);if(_2e8.contentEditable!="inherit"){len++;}}else{_2e4.moveToElementText(_2e2.parentNode);_2e4.collapse(true);}_2e3+=len;if(_2e3>0){if(_2e4.move("character",_2e3)!=_2e3){console.error("Error when moving!");}}}return _2e4;},decomposeTextRange:function(_2e9){var _2ea=_2b4.range.ie.getEndPoint(_2e9);var _2eb=_2ea[0],_2ec=_2ea[1];var _2ed=_2ea[0],_2ee=_2ea[1];if(_2e9.htmlText.length){if(_2e9.htmlText==_2e9.text){_2ee=_2ec+_2e9.text.length;}else{_2ea=_2b4.range.ie.getEndPoint(_2e9,true);_2ed=_2ea[0],_2ee=_2ea[1];}}return [_2eb,_2ec,_2ed,_2ee];},setRange:function(_2ef,_2f0,_2f1,_2f2,_2f3,_2f4){var _2f5=_2b4.range.ie.setEndPoint(_2ef,_2f0,_2f1);_2ef.setEndPoint("StartToStart",_2f5);if(!_2f4){var end=_2b4.range.ie.setEndPoint(_2ef,_2f2,_2f3);}_2ef.setEndPoint("EndToEnd",end||_2f5);return _2ef;}};_2b3("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=_2b4.range.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_2f6){_2f6=parseInt(_2f6);if(this.startContainer===node&&this.startOffset==_2f6){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_2f6;if(!this.endContainer){this.setEnd(node,_2f6);}else{this._updateInternal();}},setEnd:function(node,_2f7){_2f7=parseInt(_2f7);if(this.endContainer===node&&this.endOffset==_2f7){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_2f7;if(!this.startContainer){this.setStart(node,_2f7);}else{this._updateInternal();}},setStartAfter:function(node,_2f8){this._setPoint("setStart",node,_2f8,1);},setStartBefore:function(node,_2f9){this._setPoint("setStart",node,_2f9,0);},setEndAfter:function(node,_2fa){this._setPoint("setEnd",node,_2fa,1);},setEndBefore:function(node,_2fb){this._setPoint("setEnd",node,_2fb,0);},_setPoint:function(what,node,_2fc,ext){var _2fd=_2b4.range.getIndex(node,node.parentNode).o;this[what](node.parentNode,_2fd.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();_2b4.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 _2b4.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 _2b4.range;});},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/_base/sniff",".."],function(_2fe,lang,has,_2ff){var form=document.createElement("form");has.add("dom-attributes-explicit",form.attributes.length==0);has.add("dom-attributes-specified-flag",form.attributes.length>0&&form.attributes.length<40);lang.getObject("_editor",true,_2ff);_2ff._editor.escapeXml=function(str,_300){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_300){str=str.replace(/'/gm,"&#39;");}return str;};_2ff._editor.getNodeHtml=function(node){var _301;switch(node.nodeType){case 1:var _302=node.nodeName.toLowerCase();if(!_302||_302.charAt(0)=="/"){return "";}_301="<"+_302;var _303=[],_304={};var attr;if(has("dom-attributes-explicit")||has("dom-attributes-specified-flag")){var i=0;while((attr=node.attributes[i++])){var n=attr.name;if(n.substr(0,3)!=="_dj"&&(!has("dom-attributes-specified-flag")||attr.specified)&&!(n in _304)){var v=attr.value;if(n=="src"||n=="href"){if(node.getAttribute("_djrealurl")){v=node.getAttribute("_djrealurl");}}if(has("ie")===8&&n==="style"){v=v.replace("HEIGHT:","height:").replace("WIDTH:","width:");}_303.push([n,v]);_304[n]=v;}}}else{var _305=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false);var s=_305.outerHTML;var _306=/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi;var _307=s.match(_306);s=s.substr(0,s.indexOf(">"));_2fe.forEach(_307,function(attr){if(attr){var idx=attr.indexOf("=");if(idx>0){var key=attr.substring(0,idx);if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(node.getAttribute("_djrealurl")){_303.push([key,node.getAttribute("_djrealurl")]);return;}}var val,_308;switch(key){case "style":val=node.style.cssText.toLowerCase();break;case "class":val=node.className;break;case "width":if(_302==="img"){_308=/width=(\S+)/i.exec(s);if(_308){val=_308[1];}break;}case "height":if(_302==="img"){_308=/height=(\S+)/i.exec(s);if(_308){val=_308[1];}break;}default:val=node.getAttribute(key);}if(val!=null){_303.push([key,val.toString()]);}}}}},this);}_303.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((attr=_303[j++])){_301+=" "+attr[0]+"=\""+(lang.isString(attr[1])?_2ff._editor.escapeXml(attr[1],true):attr[1])+"\"";}if(_302==="script"){_301+=">"+node.innerHTML+"</"+_302+">";}else{if(node.childNodes.length){_301+=">"+_2ff._editor.getChildrenHtml(node)+"</"+_302+">";}else{switch(_302){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_301+=" />";break;default:_301+="></"+_302+">";}}}break;case 4:case 3:_301=_2ff._editor.escapeXml(node.nodeValue,true);break;case 8:_301="<!--"+_2ff._editor.escapeXml(node.nodeValue,true)+"-->";break;default:_301="<!-- Element not recognized - Type: "+node.nodeType+" Name: "+node.nodeName+"-->";}return _301;};_2ff._editor.getChildrenHtml=function(dom){var out="";if(!dom){return out;}var _309=dom["childNodes"]||dom;var _30a=!has("ie")||_309!==dom;var node,i=0;while((node=_309[i++])){if(!_30a||node.parentNode==dom){out+=_2ff._editor.getNodeHtml(node);}}return out;};return _2ff._editor;});},"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(_30b,_30c,_30d,i18n,lang,_30e,win,_30f,_310,_311,_312,_313,_314,_315,_316){var _317=_30c("dijit._editor.plugins._FontDropDown",[_310,_311,_312],{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=i18n.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=_30f.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments);},postCreate:function(){this.select.set("store",new _30e({idProperty:"value",data:_30b.map(this.values,function(_318){var name=this.strings[_318]||_318;return {label:this.getLabel(_318,name),name:name,value:_318};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_319,_31a){_31a=_31a!==false;this.select.set("value",_30b.indexOf(this.values,_319)<0?"":_319,_31a);if(!_31a){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_31b){this.disabled=_31b;this.select.set("disabled",_31b);}});var _31c=_30c("dijit._editor.plugins._FontNameDropDown",_317,{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(_31d,name){if(this.plainText){return name;}else{return "<div style='font-family: "+_31d+"'>"+name+"</div>";}},_setValueAttr:function(_31e,_31f){_31f=_31f!==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"};_31e=map[_31e]||_31e;}this.inherited(arguments,[_31e,_31f]);}});var _320=_30c("dijit._editor.plugins._FontSizeDropDown",_317,{command:"fontSize",values:[1,2,3,4,5,6,7],getLabel:function(_321,name){if(this.plainText){return name;}else{return "<font size="+_321+"'>"+name+"</font>";}},_setValueAttr:function(_322,_323){_323=_323!==false;if(_322.indexOf&&_322.indexOf("px")!=-1){var _324=parseInt(_322,10);_322={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_324]||_322;}this.inherited(arguments,[_322,_323]);}});var _325=_30c("dijit._editor.plugins._FormatBlockDropDown",_317,{command:"formatBlock",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_326,name){if(this.plainText||_326=="noFormat"){return name;}else{return "<"+_326+">"+name+"</"+_326+">";}},_execCommand:function(_327,_328,_329){if(_329==="noFormat"){var _32a;var end;var sel=_315.getSelection(_327.window);if(sel&&sel.rangeCount>0){var _32b=sel.getRangeAt(0);var node,tag;if(_32b){_32a=_32b.startContainer;end=_32b.endContainer;while(_32a&&_32a!==_327.editNode&&_32a!==_327.document.body&&_32a.nodeType!==1){_32a=_32a.parentNode;}while(end&&end!==_327.editNode&&end!==_327.document.body&&end.nodeType!==1){end=end.parentNode;}var _32c=lang.hitch(this,function(node,ary){if(node.childNodes&&node.childNodes.length){var i;for(i=0;i<node.childNodes.length;i++){var c=node.childNodes[i];if(c.nodeType==1){if(win.withGlobal(_327.window,"inSelection",_316,[c])){var tag=c.tagName?c.tagName.toLowerCase():"";if(_30b.indexOf(this.values,tag)!==-1){ary.push(c);}_32c(c,ary);}}}}});var _32d=lang.hitch(this,function(_32e){if(_32e&&_32e.length){_327.beginEditing();while(_32e.length){this._removeFormat(_327,_32e.pop());}_327.endEditing();}});var _32f=[];if(_32a==end){var _330;node=_32a;while(node&&node!==_327.editNode&&node!==_327.document.body){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_30b.indexOf(this.values,tag)!==-1){_330=node;break;}}node=node.parentNode;}_32c(_32a,_32f);if(_330){_32f=[_330].concat(_32f);}_32d(_32f);}else{node=_32a;while(win.withGlobal(_327.window,"inSelection",_316,[node])){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_30b.indexOf(this.values,tag)!==-1){_32f.push(node);}_32c(node,_32f);}node=node.nextSibling;}_32d(_32f);}_327.onDisplayChanged();}}}else{_327.execCommand(_328,_329);}},_removeFormat:function(_331,node){if(_331.customUndo){while(node.firstChild){_30d.place(node.firstChild,node,"before");}node.parentNode.removeChild(node);}else{win.withGlobal(_331.window,"selectElementChildren",_316,[node]);var html=win.withGlobal(_331.window,"getSelectedHtml",_316,[null]);win.withGlobal(_331.window,"selectElement",_316,[node]);_331.execCommand("inserthtml",html||"");}}});var _332=_30c("dijit._editor.plugins.FontChoice",_314,{useDefaultCommand:false,_initButton:function(){var _333={fontName:_31c,fontSize:_320,formatBlock:_325}[this.command],_334=this.params;if(this.params.custom){_334.values=this.params.custom;}var _335=this.editor;this.button=new _333(lang.delegate({dir:_335.dir,lang:_335.lang},_334));this.connect(this.button.select,"onChange",function(_336){if(this.editor.focused){this.editor.focus();}if(this.command=="fontName"&&_336.indexOf(" ")!=-1){_336="'"+_336+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_336);}else{this.editor.execCommand(this.command,_336);}});},updateState:function(){var _337=this.editor;var _338=this.command;if(!_337||!_337.isLoaded||!_338.length){return;}if(this.button){var _339=this.get("disabled");this.button.set("disabled",_339);if(_339){return;}var _33a;try{_33a=_337.queryCommandValue(_338)||"";}catch(e){_33a="";}var _33b=lang.isString(_33a)&&(_33a.match(/'([^']*)'/)||_33a.match(/"([^"]*)"/));if(_33b){_33a=_33b[1];}if(_338==="formatBlock"){if(!_33a||_33a=="p"){_33a=null;var elem;var sel=_315.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _33c=sel.getRangeAt(0);if(_33c){elem=_33c.endContainer;}}while(elem&&elem!==_337.editNode&&elem!==_337.document){var tg=elem.tagName?elem.tagName.toLowerCase():"";if(tg&&_30b.indexOf(this.button.values,tg)>-1){_33a=tg;break;}elem=elem.parentNode;}if(!_33a){_33a="noFormat";}}else{if(_30b.indexOf(this.button.values,_33a)<0){_33a="noFormat";}}}if(_33a!==this.button.get("value")){this.button.set("value",_33a,false);}}}});_30b.forEach(["fontName","fontSize","formatBlock"],function(name){_314.registry[name]=function(args){return new _332({command:name,plainText:args.plainText});};});});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_33d,_33e,_33f){return _33d("dojo.store.Memory",null,{constructor:function(_340){for(var i in _340){this[i]=_340[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_33f,get:function(id){return this.data[this.index[id]];},getIdentity:function(_341){return _341[this.idProperty];},put:function(_342,_343){var data=this.data,_344=this.index,_345=this.idProperty;var id=(_343&&"id" in _343)?_343.id:_345 in _342?_342[_345]:Math.random();if(id in _344){if(_343&&_343.overwrite===false){throw new Error("Object already exists");}data[_344[id]]=_342;}else{_344[id]=data.push(_342)-1;}return id;},add:function(_346,_347){(_347=_347||{}).overwrite=false;return this.put(_346,_347);},remove:function(id){var _348=this.index;var data=this.data;if(id in _348){data.splice(_348[id],1);this.setData(data);return true;}},query:function(_349,_34a){return _33e(this.queryEngine(_349,_34a)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier||this.idProperty;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_34b,lang,_34c){var util=lang.getObject("dojo.store.util",true);util.QueryResults=function(_34d){if(!_34d){return _34d;}if(_34d.then){_34d=lang.delegate(_34d);}function _34e(_34f){if(!_34d[_34f]){_34d[_34f]=function(){var args=arguments;return _34c.when(_34d,function(_350){Array.prototype.unshift.call(args,_350);return util.QueryResults(_34b[_34f].apply(_34b,args));});};}};_34e("forEach");_34e("filter");_34e("map");if(!_34d.total){_34d.total=_34c.when(_34d,function(_351){return _351.length;});}return _34d;};return util.QueryResults;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_352){return function(_353,_354){switch(typeof _353){default:throw new Error("Can not query with a "+typeof _353);case "object":case "undefined":var _355=_353;_353=function(_356){for(var key in _355){var _357=_355[key];if(_357&&_357.test){if(!_357.test(_356[key])){return false;}}else{if(_357!=_356[key]){return false;}}}return true;};break;case "string":if(!this[_353]){throw new Error("No filter function "+_353+" was found in store");}_353=this[_353];case "function":}function _358(_359){var _35a=_352.filter(_359,_353);if(_354&&_354.sort){_35a.sort(function(a,b){for(var sort,i=0;sort=_354.sort[i];i++){var _35b=a[sort.attribute];var _35c=b[sort.attribute];_35b=_35b!=null?_35b.valueOf():_35b;_35c=_35c!=null?_35c.valueOf():_35c;if(_35b!=_35c){return !!sort.descending==_35b>_35c?-1:1;}}return 0;});}if(_354&&(_354.start||_354.count)){var _35d=_35a.length;_35a=_35a.slice(_354.start||0,(_354.start||0)+(_354.count||Infinity));_35a.total=_35d;}return _35a;};_358.matches=_353;return _358;};});},"dijit/form/FilteringSelect":function(){define(["dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","./MappedTextBox","./ComboBoxMixin"],function(_35e,_35f,_360,lang,_361,_362){return _35f("dijit.form.FilteringSelect",[_361,_362],{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(_363,_364,_365,_366){if((_364&&_364[this.searchAttr]!==this._lastQuery)||(!_364&&_363.length&&this.store.getIdentity(_363[0])!=this._lastQuery)){return;}if(!_363.length){this.set("value","",_366||(_366===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_363[0],_366);}},_openResultList:function(_367,_368,_369){if(_368[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(_36a,_36b,_36c,item){if(!this._onChangeActive){_36b=null;}if(item===undefined){if(_36a===null||_36a===""){_36a="";if(!lang.isString(_36c)){this._setDisplayedValueAttr(_36c||"",_36b);return;}}var self=this;this._lastQuery=_36a;_360.when(this.store.get(_36a),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_36b);});}else{this.valueNode.value=_36a;this.inherited(arguments);}},_setItemAttr:function(item,_36d,_36e){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_36f,_370){if(_36f==null){_36f="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_370=false;}if(this.store){this.closeDropDown();var _371=lang.clone(this.query);var qs=this._getDisplayQueryString(_36f),q;if(this.store._oldAPI){q=qs;}else{q=_35e.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_371[this.searchAttr]=q;this.textbox.value=_36f;this._lastDisplayedValue=_36f;this._set("displayedValue",_36f);var _372=this;var _373={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_373,this.fetchProperties);this._fetchHandle=this.store.query(_371,_373);_360.when(this._fetchHandle,function(_374){_372._fetchHandle=null;_372._callbackSetLabel(_374||[],_371,_373,_370);},function(err){_372._fetchHandle=null;if(!_372._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _375=lang.getObject("dojo.data.util.filter",true);_375.patternToRegExp=function(_376,_377){var rxp="^";var c=null;for(var i=0;i<_376.length;i++){c=_376.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_376.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(_377){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _375;});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_378,_379,_37a){return _378("dijit.form.MappedTextBox",_37a,{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=_379.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/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_37b,i18n,_37c,_37d,_37e){return _37b("dijit.form.ValidationTextBox",_37c,{templateString:_37e,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(_37f,_380){return (new RegExp("^(?:"+this.regExpGen(_380)+")"+(this.required?"":"?")+"$")).test(_37f)&&(!this.required||!this._isEmpty(_37f))&&(this._isEmpty(_37f)||this.parse(_37f,_380)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_381){return (this.trim?/^\s*$/:/^$/).test(_381);},getErrorMessage:function(){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_382){var _383="";var _384=this.disabled||this.isValid(_382);if(_384){this._maskValidSubsetError=true;}var _385=this._isEmpty(this.textbox.value);var _386=!_384&&_382&&this._isValidSubset();this._set("state",_384?"":(((((!this._hasBeenBlurred||_382)&&_385)||_386)&&this._maskValidSubsetError)?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_382&&_386;_383=this.getErrorMessage(_382);}else{if(this.state=="Incomplete"){_383=this.getPromptMessage(_382);this._maskValidSubsetError=!this._hasBeenBlurred||_382;}else{if(_385){_383=this.getPromptMessage(_382);}}}this.set("message",_383);return _384;},displayMessage:function(_387){if(_387&&this.focused){_37d.show(_387,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_37d.hide(this.domNode);}},_refreshState:function(){this.validate(this.focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_388){if(!_388.locale&&this.lang){_388.locale=this.lang;}this._set("constraints",_388);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _389="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_389+=re;break;case ")":_389+="|$)";break;default:_389+="(?:"+re+"|$)";break;}});}try{"".search(_389);}catch(e){_389=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_389+")$";},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(_38a){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_38b){this._set("required",_38b);this.focusNode.setAttribute("aria-required",_38b);this._refreshState();},_setMessageAttr:function(_38c){this._set("message",_38c);this.displayMessage(_38c);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"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(_38d,_38e,_38f,_390,lang,has,win,_391,_392,_393,_394){var _395=_38d([_391,_392],{templateString:_393,_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 type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _396=this;setTimeout(function(){_396._handleOnChange(_396.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_38e.create("span",{onmousedown:function(e){e.preventDefault();},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(_397,_398,_399){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_390.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_39a){_390.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_39a);},_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")<9){_395=_38d(_395,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _39b=win.doc.selection.createRange();var _39c=_39b.parentElement();return _39c==this.textbox&&_39b.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(lang.hitch(this,function(){try{var s=_38f.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _39d=this.domNode.getElementsByTagName("INPUT");if(_39d){for(var i=0;i<_39d.length;i++){_39d[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_394._setSelectionRange=_392._setSelectionRange=function(_39e,_39f,stop){if(_39e.createTextRange){var r=_39e.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_39f);r.moveEnd("character",stop-_39f);r.select();}};}else{if(has("mozilla")){_395=_38d(_395,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_395.prototype.declaredClass="dijit.form.TextBox";}}lang.setObject("dijit.form.TextBox",_395);return _395;});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_3a0,_3a1,dom,_3a2,keys,lang,_3a3){var _3a4=_3a1("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(_3a5,_3a6,_3a7){var _3a8;if(_3a5!==undefined){_3a8=this.filter(_3a5);if(typeof _3a7!="string"){if(_3a8!==null&&((typeof _3a8!="number")||!isNaN(_3a8))){_3a7=this.filter(this.format(_3a8,this.constraints));}else{_3a7="";}}}if(_3a7!=null&&_3a7!=undefined&&((typeof _3a7)!="number"||!isNaN(_3a7))&&this.textbox.value!=_3a7){this.textbox.value=_3a7;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_3a7);}this.inherited(arguments,[_3a8,_3a6]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_3a9){if(_3a9===null||_3a9===undefined){_3a9="";}else{if(typeof _3a9!="string"){_3a9=String(_3a9);}}this.textbox.value=_3a9;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_3a9);}},format:function(_3aa){return ((_3aa==null||_3aa==undefined)?"":(_3aa.toString?_3aa.toString():_3aa));},parse:function(_3ab){return _3ab;},_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 _3ac=function(e){var _3ad=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_3ad){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_3ad>=65&&_3ad<=90){return;}}}if(e.type=="keypress"&&typeof _3ad!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_3ad,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_3a2.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_3a0.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput","oncompositionend"],function(_3ae){this.connect(this.textbox,_3ae,_3ac);},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()){_3a4.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_3af){if(!this._created||this.textDir!=_3af){this._set("textDir",_3af);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_3a4._setSelectionRange=_3a3._setSelectionRange=function(_3b0,_3b1,stop){if(_3b0.setSelectionRange){_3b0.setSelectionRange(_3b1,stop);}};_3a4.selectInputText=_3a3.selectInputText=function(_3b2,_3b3,stop){_3b2=dom.byId(_3b2);if(isNaN(_3b3)){_3b3=0;}if(isNaN(stop)){stop=_3b2.value?_3b2.value.length:0;}try{_3b2.focus();_3a4._setSelectionRange(_3b2,_3b3,stop);}catch(e){}};return _3a4;});},"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/Tooltip":function(){require({cache:{"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"}});define("dijit/Tooltip",["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(_3b4,_3b5,fx,dom,_3b6,_3b7,_3b8,lang,has,win,_3b9,_3ba,_3bb,_3bc,_3bd,_3be,_3bf){var _3c0=_3b5("dijit._MasterTooltip",[_3bb,_3bc],{duration:_3b9.defaultDuration,templateString:_3be,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _3bd(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(_3c1,_3c2,_3c3,rtl,_3c4){if(this.aroundNode&&this.aroundNode===_3c2&&this.containerNode.innerHTML==_3c1){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_3c1;if(_3c4){this.set("textDir",_3c4);}this.containerNode.align=rtl?"right":"left";var pos=_3ba.around(this.domNode,_3c2,_3c3&&_3c3.length?_3c3:_3c5.defaultPosition,!rtl,lang.hitch(this,"orient"));var _3c6=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_3c6.y+((_3c6.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=_3c6.x+((_3c6.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_3b8.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_3c2;},orient:function(node,_3c7,_3c8,_3c9,_3ca){this.connectorNode.style.top="";var _3cb=_3c9.h,_3cc=_3c9.w;if(_3c7.charAt(1)!=_3c8.charAt(1)){_3cc-=this.connectorNode.offsetWidth;}else{_3cb-=this.connectorNode.offsetHeight;}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"}[_3c7+"-"+_3c8];this.domNode.style.width="auto";var size=_3b7.getContentBox(this.domNode);var _3cd=Math.min((Math.max(_3cc,1)),size.w);var _3ce=_3cd<size.w;this.domNode.style.width=_3cd+"px";if(_3c8.charAt(0)=="B"&&_3c7.charAt(0)=="B"){var bb=_3b7.position(node);var _3cf=this.connectorNode.offsetHeight;if(bb.h>_3cb){var _3d0=_3cb-((_3ca.h+_3cf)>>1);this.connectorNode.style.top=_3d0+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_3ca.h/2-_3cf/2,0),bb.h-_3cf)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_3cc);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_3d1){if(this._onDeck&&this._onDeck[1]==_3d1){this._onDeck=null;}else{if(this.aroundNode===_3d1){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);_3b4.forEach(node.children,function(_3d2){this._setAutoTextDir(_3d2);},this);},_setTextDirAttr:function(_3d3){this._set("textDir",_3d3);if(_3d3=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_3bf.showTooltip=function(_3d4,_3d5,_3d6,rtl,_3d7){if(_3d6){_3d6=_3b4.map(_3d6,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_3c5._masterTT){_3bf._masterTT=_3c5._masterTT=new _3c0();}return _3c5._masterTT.show(_3d4,_3d5,_3d6,rtl,_3d7);};_3bf.hideTooltip=function(_3d8){return _3c5._masterTT&&_3c5._masterTT.hide(_3d8);};var _3c5=_3b5("dijit.Tooltip",_3bb,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_3d9){_3b4.forEach(this._connections||[],function(_3da){_3b4.forEach(_3da,lang.hitch(this,"disconnect"));},this);this._connectIds=_3b4.filter(lang.isArrayLike(_3d9)?_3d9:(_3d9?[_3d9]:[]),function(id){return dom.byId(id);});this._connections=_3b4.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",_3d9);},addTarget:function(node){var id=node.id||node;if(_3b4.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_3b4.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_3b6.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_3b4.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _3db=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_3db);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_3dc){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_3c5.show(this.label||this.domNode.innerHTML,_3dc,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_3dc;this.onShow(_3dc,this.position);},close:function(){if(this._connectNode){_3c5.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);}});_3c5._MasterTooltip=_3c0;_3c5.show=_3bf.showTooltip;_3c5.hide=_3bf.hideTooltip;_3c5.defaultPosition=["after-centered","before-centered"];return _3c5;});},"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","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","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(_3dd,_3de,_3df,lang,_3e0,_3e1,_3e2,_3e3,_3e4){return _3dd("dijit.form.ComboBoxMixin",[_3e3,_3e1],{dropDownClass:_3e2,hasDownArrow:true,templateString:_3e4,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(_3e5){if(!_3e5.get){lang.mixin(_3e5,{_oldAPI:true,get:function(id){var _3e6=new _3de();this.fetchItemByIdentity({identity:id,onItem:function(_3e7){_3e6.resolve(_3e7);},onError:function(_3e8){_3e6.reject(_3e8);}});return _3e6.promise;},query:function(_3e9,_3ea){var _3eb=new _3de(function(){_3ec.abort&&_3ec.abort();});var _3ec=this.fetch(lang.mixin({query:_3e9,onBegin:function(_3ed){_3eb.total=_3ed;},onComplete:function(_3ee){_3eb.resolve(_3ee);},onError:function(_3ef){_3eb.reject(_3ef);}},_3ea));return _3e0(_3eb);}});}this._set("store",_3e5);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _3f0=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_3df.deprecated(_3f0+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_3df.deprecated(_3f0+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return item.name;},fetch:function(args){_3df.deprecated(_3f0+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_3f1){new _3f1({objectStore:this}).fetch(args);}));}});}}});});},"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/on","dojo/query","dojo/regexp","dojo/_base/sniff","dojo/string","dojo/_base/window","./DataList","../registry","./_TextBoxMixin"],function(_3f2,_3f3,_3f4,_3f5,_3f6,_3f7,keys,lang,on,_3f8,_3f9,has,_3fa,win,_3fb,_3fc,_3fd){return _3f4("dijit.form._AutoCompleterMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_3fe){var pos=0;if(typeof (_3fe.selectionStart)=="number"){pos=_3fe.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_3fe.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(_3ff,_400){_400=parseInt(_400);_3fd.selectInputText(_3ff,_400,_400);},_setDisabledAttr:function(_401){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_401);},_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._onKeyPress(evt);}},_onKey:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.keyCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!=86&&key!=88))||key==keys.SHIFT){return;}var _402=false;var pw=this.dropDown;var _403=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_403=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(_403);}_3f7.stop(evt);break;case keys.ENTER:if(_403){if(_403==pw.nextButton){this._nextSearch(1);_3f7.stop(evt);break;}else{if(_403==pw.previousButton){this._nextSearch(-1);_3f7.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_3f7.stop(evt);}case keys.TAB:var _404=this.get("displayedValue");if(pw&&(_404==pw._messages["previousMessage"]||_404==pw._messages["nextMessage"])){break;}if(_403){this._selectOption(_403);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_403){_3f7.stop(evt);this._selectOption(_403);this.closeDropDown();}else{_402=true;}break;case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;_402=true;break;}if(_402){this.item=undefined;this.searchTimer=setTimeout(lang.hitch(this,"_startSearchFromInput"),1);}},_onKeyPress:function(evt){if(typeof evt.charOrCode=="string"||evt.charOrCode==229){this.item=undefined;this.searchTimer=setTimeout(lang.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;_3fd.selectInputText(fn,fn.value.length);var _405=this.ignoreCase?"toLowerCase":"substr";if(text[_405](0).indexOf(this.focusNode.value[_405](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_3fd.selectInputText(fn,cpos);}}else{fn.value=text;_3fd.selectInputText(fn);}},_openResultList:function(_406,_407,_408){this._fetchHandle=null;if(this.disabled||this.readOnly||(_407[this.searchAttr]!==this._lastQuery)){return;}var _409=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_406.length&&_408.start==0){this.closeDropDown();return;}this.dropDown.createOptions(_406,_408,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_408.direction){if(1==_408.direction){this.dropDown.highlightFirstOption();}else{if(-1==_408.direction){this.dropDown.highlightLastOption();}}if(_409){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_407[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _40a=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_40a==pw._messages["previousMessage"]||_40a==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_40a);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_40b,_40c){var _40d="";if(item){if(!_40c){_40c=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_40d=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_40c;}this.set("value",_40d,_40b,_40c,item);},_announceOption:function(node){if(!node){return;}var _40e;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_40e=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_40e=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_40e);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_3f6.get(node,"id"));this._autoCompleteText(_40e);},_selectOption:function(_40f){this.closeDropDown();if(_40f){this._announceOption(_40f);}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 _3fa.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _410=this.id+"_popup",_411=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _411({onChange:lang.hitch(this,this._selectOption),id:_410,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_410);}this._lastInput=key;var _412=lang.clone(this.query);var _413={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_413,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_3f3.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_412[this.searchAttr]=q;var _414=this,_415=function(){var _416=_414._fetchHandle=_414.store.query(_412,_413);_3f5.when(_416,function(res){_414._fetchHandle=null;res.total=_416.total;_414._openResultList(res,_412,_413);},function(err){_414._fetchHandle=null;if(!_414._cancelingQuery){console.error(_414.declaredClass+" "+err.toString());_414.closeDropDown();}});};this.searchTimer=setTimeout(lang.hitch(this,function(_417,_418){this.searchTimer=null;_415();this._nextSearch=this.dropDown.onPage=function(_419){_413.start+=_413.count*_419;_413.direction=_419;_415();_418.focus();};},_412,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _41a=this.srcNodeRef;var list=this.list;if(list){this.store=_3fc.byId(list);}else{this.store=new _3fb({},_41a);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _41b=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_41b):item[_41b];}}}this.inherited(arguments);},postCreate:function(){var _41c=_3f8("label[for=\""+this.id+"\"]");if(_41c.length){_41c[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_41c[0].id);}this.inherited(arguments);this.connect(this.focusNode,"onkeypress","_onKeyPress");},_getMenuLabelFromItem:function(item){var _41d=this.labelFunc(item,this.store),_41e=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_41d=this.doHighlight(_41d,this._escapeHtml(this._lastInput));_41e="html";}return {html:_41e=="html",label:_41d};},doHighlight:function(_41f,find){var _420=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_3f9.escapeString(find);return this._escapeHtml(_41f).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_420),"<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,_421){return (_421._oldAPI?_421.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_422,_423,_424,item){this._set("item",item||null);if(!_422){_422="";}this.inherited(arguments);},_setTextDirAttr:function(_425){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_425);}}});});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_426){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_426&&_426.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_427){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("|"),_427);};dojo.regexp.group=function(_428,_429){return "("+(_429?"?:":"")+_428+")";};return dojo.regexp;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_42a,dom,lang,_42b,_42c,_42d){function _42e(_42f){return {id:_42f.value,value:_42f.value,name:lang.trim(_42f.innerText||_42f.textContent||"")};};return _42a("dijit.form.DataList",_42c,{constructor:function(_430,_431){this.domNode=dom.byId(_431);lang.mixin(this,_430);if(this.id){_42d.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_42b("option",this.domNode).map(_42e)}]);},destroy:function(){_42d.remove(this.id);},fetchSelectedItem:function(){var _432=_42b("> option[selected]",this.domNode)[0]||_42b("> option",this.domNode)[0];return _432&&_42e(_432);}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_433,_434,_435,_436,keys,_437,_438,_439,_43a){return _433("dijit.form._ComboBoxMenu",[_437,_438,_43a,_439],{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",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_434.add(this.previousButton,"dijitMenuItemRtl");_434.add(this.nextButton,"dijitMenuItemRtl");}},_createMenuItem:function(){return _435.create("div",{"class":"dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl"),role:"option"});},onHover:function(node){_434.add(node,"dijitMenuItemHover");},onUnhover:function(node){_434.remove(node,"dijitMenuItemHover");},onSelect:function(node){_434.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_434.remove(node,"dijitMenuItemSelected");},_page:function(up){var _43b=0;var _43c=this.domNode.scrollTop;var _43d=_436.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_43b<_43d){var _43e=this.getHighlightedOption();if(up){if(!_43e.previousSibling||_43e.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_43e.nextSibling||_43e.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _43f=this.domNode.scrollTop;_43b+=(_43f-_43c)*(up?-1:1);_43c=_43f;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_440,_441,_442,i18n,win){return _441("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(_443){this.value=_443;this.onChange(_443);},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,_444){var _445=this._createMenuItem();var _446=_444(item);if(_446.html){_445.innerHTML=_446.label;}else{_445.appendChild(win.doc.createTextNode(_446.label));}if(_445.innerHTML==""){_445.innerHTML="&#160;";}this.applyTextDir(_445,(_445.innerText||_445.textContent||""));_445.item=item;return _445;},createOptions:function(_447,_448,_449){this.items=_447;this.previousButton.style.display=(_448.start==0)?"none":"";_442.set(this.previousButton,"id",this.id+"_prev");_440.forEach(_447,function(item,i){var _44a=this._createOption(item,_449);_44a.setAttribute("item",i);_442.set(_44a,"id",this.id+i);this.nextButton.parentNode.insertBefore(_44a,this.nextButton);},this);var _44b=false;if(_447.total&&!_447.total.then&&_447.total!=-1){if((_448.start+_448.count)<_447.total){_44b=true;}else{if((_448.start+_448.count)>_447.total&&_448.count==_447.length){_44b=true;}}}else{if(_448.count==_447.length){_44b=true;}}this.nextButton.style.display=_44b?"":"none";_442.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _44c=this.containerNode;while(_44c.childNodes.length>2){_44c.removeChild(_44c.childNodes[_44c.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();}});});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/touch","./_ListBase"],function(_44d,_44e,_44f,_450){return _44d("dijit.form._ListMouseMixin",_450,{postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onclick",function(evt){this._onClick(evt,this._getTarget(evt));});this.connect(this.domNode,"onmousedown","_onMouseDown");this.connect(this.domNode,"onmouseup","_onMouseUp");this.connect(this.domNode,"onmouseover","_onMouseOver");this.connect(this.domNode,"onmouseout","_onMouseOut");},_onClick:function(evt,_451){this._setSelectedAttr(_451,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_451);});},_onMouseDown:function(evt){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(this._getTarget(evt),false);},_onMouseUp:function(evt){this._isDragging=false;var _452=this._getSelectedAttr();var _453=this._getTarget(evt);var _454=this._hoveredNode;if(_452&&_453==_452){this.defer(function(){this._onClick(evt,_452);});}else{if(_454){this.defer(function(){this._onClick(evt,_454);});}}},_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,false);}else{this._hoveredNode=node;this.onHover(node);}}}}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/window"],function(_455,_456){return _455("dijit.form._ListBase",null,{selected:null,_getTarget:function(evt){var tgt=evt.target;var _457=this.containerNode;if(tgt==_457||tgt==this.domNode){return null;}while(tgt&&tgt.parentNode!=_457){tgt=tgt.parentNode;}return tgt;},selectFirstNode:function(){var _458=this.containerNode.firstChild;while(_458&&_458.style.display=="none"){_458=_458.nextSibling;}this._setSelectedAttr(_458,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _459=this._getSelectedAttr();if(!_459){this.selectFirstNode();}else{var next=_459.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _45a=this._getSelectedAttr();if(!_45a){this.selectLastNode();}else{var prev=_45a.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_45b){if(this.selected!=node){var _45c=this._getSelectedAttr();if(_45c){this.onDeselect(_45c);this.selected=null;}if(node&&node.parentNode==this.containerNode){this.selected=node;if(_45b){_456.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);}});});},"dijit/_HasDropDown":function(){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/touch","dojo/_base/window","./registry","./focus","./popup","./_FocusMixin","./Viewport"],function(_45d,_45e,_45f,dom,_460,_461,_462,_463,has,keys,lang,_464,win,_465,_466,_467,_468,_469){return _45d("dijit._HasDropDown",_468,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"){e.preventDefault();}this._docHandler=this.connect(win.doc,_464.release,"_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _46a=this.dropDown,_46b=false;if(e&&this._opened){var c=_462.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&&!_46b){if(_461.contains(t,"dijitPopup")){_46b=true;}else{t=t.parentNode;}}if(_46b){t=e.target;if(_46a.onItemClick){var _46c;while(t&&!(_46c=_465.byNode(t))){t=t.parentNode;}if(_46c&&_46c.onClick&&_46c.getParent){_46c.getParent().onItemClick(_46c,e);}}return;}}}if(this._opened){if(_46a.focus&&_46a.autoFocus!==false){window.setTimeout(lang.hitch(_46a,"focus"),1);}}else{setTimeout(lang.hitch(this,"focus"),0);}if(has("ios")){this._justGotMouseUp=true;setTimeout(lang.hitch(this,function(){this._justGotMouseUp=false;}),0);}},_onDropDownClick:function(e){if(has("ios")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_45f.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _46d={"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";_461.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_46d+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,_464.press,"_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeydown","_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,_46e=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_45f.stop(e);return;}}if(d&&this._opened&&e.keyCode==keys.ESCAPE){this.closeDropDown();_45f.stop(e);}else{if(!this._opened&&(e.keyCode==keys.DOWN_ARROW||((e.keyCode==keys.ENTER||e.keyCode==dojo.keys.SPACE)&&((_46e.tagName||"").toLowerCase()!=="input"||(_46e.type&&_46e.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_45f.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(lang.hitch(d,"focus"),1);}}},_onBlur:function(){var _46f=_466.curNode&&this.dropDown&&dom.isDescendant(_466.curNode,this.dropDown.domNode);this.closeDropDown(_46f);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_470){_470();},loadAndOpenDropDown:function(){var d=new _45e(),_471=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_471);}else{_471();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _472=this.dropDown,_473=_472.domNode,_474=this._aroundNode||this.domNode,self=this;if(!this._preparedNode){this._preparedNode=true;if(_473.style.width){this._explicitDDWidth=true;}if(_473.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _475={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_475.width="";}if(!this._explicitDDHeight){_475.height="";}_463.set(_473,_475);var _476=this.maxHeight;if(_476==-1){var _477=_469.getEffectiveBox(this.ownerDocument),_478=_462.position(_474,false);_476=Math.floor(Math.max(_478.y,_477.h-(_478.y+_478.h)));}_467.moveOffScreen(_472);if(_472.startup&&!_472._started){_472.startup();}var mb=_462.getMarginSize(_473);var _479=(_476&&mb.h>_476);_463.set(_473,{overflow:_479?"auto":"visible"});if(_479){mb.h=_476;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_474.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_474.offsetWidth);}else{delete mb.w;}}if(lang.isFunction(_472.resize)){_472.resize(mb);}else{_462.setMarginBox(_473,mb);}}var _47a=_467.open({parent:this,popup:_472,around:_474,orient:this.dropDownPosition,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_460.set(self._popupStateNode,"popupActive",false);_461.remove(self._popupStateNode,"dijitHasDropDownOpen");self._opened=false;}});_460.set(this._popupStateNode,"popupActive","true");_461.add(self._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _47a;},closeDropDown:function(_47b){if(this._opened){if(_47b){this.focus();}_467.close(this.dropDown);this._opened=false;}}});});},"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/_editor/plugins/LinkDialog":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/_base/query","dojo/string","dojo/_base/window","../../_Widget","../_Plugin","../../form/DropDownButton","../range","../selection"],function(_47c,_47d,_47e,keys,lang,has,_47f,_480,win,_481,_482,_483,_484,_485){var _486=_47d("dijit._editor.plugins.LinkDialog",_482,{buttonClass:_483,useDefaultCommand:false,urlRegExp:"((https?|ftps?|file)\\://|./|/|)(/[a-zA-Z]{1,1}:/|)(((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)*(?:[a-zA-Z](?:[-\\da-zA-Z]{0,80}[\\da-zA-Z])?)\\.?)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:\\d+)?(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]{0,}(?:\\?[^?#\\s/]*)?(?:#.*)?)?)?",emailRegExp:"<?(mailto\\:)([!#-'*+\\-\\/-9=?A-Z^-~]+[.])*[!#-'*+\\-\\/-9=?A-Z^-~]+"+"@"+"((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)+(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)\\.?)|localhost|^[^-][a-zA-Z0-9_-]*>?",htmlTemplate:"<a href=\"${urlInput}\" _djrealurl=\"${urlInput}\""+" target=\"${targetSelect}\""+">${textInput}</a>",tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,linkDialogTemplate:["<table><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(_487){_47c(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_488,_489){var _48a=this;this.tag=this.command=="insertImage"?"img":"a";var _48b=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _48c=(this.dropDown=this.button.dropDown=new _488({title:_48b[this.command+"Title"],execute:lang.hitch(this,"setValue"),onOpen:function(){_48a._onOpenDialog();_488.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_48a,"_onCloseDialog"),0);}}));_48b.urlRegExp=this.urlRegExp;_48b.id=_489.getUniqueId(this.editor.id);this._uniqueId=_48b.id;this._setContent(_48c.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_480.substitute(this.linkDialogTemplate,_48b));_48c.startup();this._urlInput=_489.byId(this._uniqueId+"_urlInput");this._textInput=_489.byId(this._uniqueId+"_textInput");this._setButton=_489.byId(this._uniqueId+"_setButton");this.connect(_489.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 _48d=this._urlInput.get("value");return this._urlRegExp.test(_48d)||this._emailRegExp.test(_48d);});this.connect(_48c.domNode,"onkeypress",function(e){if(e&&e.charOrCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_48c.onExecute();_48c.execute(_48c.get("value"));}}});_487();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _48e=function(url){var _48f=false;var _490=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)){_48f=true;}}}}else{if(self._userAtRxp.test(url)){_490=true;}}}}if(_48f){self._urlInput.set("value","http://"+url);}if(_490){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(){_48e(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(_491){this.dropDown.set({parserScope:"dojo",content:_491});},_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=_484.getSelection(this.editor.window);var _492=sel.getRangeAt(0);var a=_492.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_485,[this.tag]);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){win.withGlobal(this.editor.window,"selectElementChildren",_485,[a]);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_480.substitute(this.htmlTemplate,args));_47f("a",this.editor.document).forEach(function(a){if(!a.innerHTML&&!_47e.has(a,"name")){a.parentNode.removeChild(a);}},this);},_onCloseDialog:function(){if(this.editor.focused){this.editor.focus();}},_getCurrentValues:function(a){var url,text,_493;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_493=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;win.withGlobal(this.editor.window,"selectElement",_485,[a,true]);}else{text=win.withGlobal(this.editor.window,_485.getSelectedText);}return {urlInput:url||"",textInput:text||"",targetSelect:_493||""};},_onOpenDialog:function(){var a;if(has("ie")<9){var sel=_484.getSelection(this.editor.window);var _494=sel.getRangeAt(0);a=_494.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_485,[this.tag]);}}else{a=win.withGlobal(this.editor.window,"getAncestorElement",_485,[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&&_47e.get(t,"href")){var _495=this.editor;win.withGlobal(_495.window,"selectElement",_485,[t]);_495.onDisplayChanged();if(_495._updateTimer){clearTimeout(_495._updateTimer);delete _495._updateTimer;}_495.onNormalizedDisplayChanged();var _496=this.button;setTimeout(function(){_496.set("disabled",false);_496.loadAndOpenDropDown().then(function(){if(_496.dropDown.focus){_496.dropDown.focus();}});},10);}}}});var _497=_47d("dijit._editor.plugins.ImgLinkDialog",[_486],{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",_485,[img,true]);}else{text=win.withGlobal(this.editor.window,_485.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",_485,[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&&_47e.get(t,"src")){var _498=this.editor;win.withGlobal(_498.window,"selectElement",_485,[t]);_498.onDisplayChanged();if(_498._updateTimer){clearTimeout(_498._updateTimer);delete _498._updateTimer;}_498.onNormalizedDisplayChanged();var _499=this.button;setTimeout(function(){_499.set("disabled",false);_499.loadAndOpenDropDown().then(function(){if(_499.dropDown.focus){_499.dropDown.focus();}});},10);}}}});_482.registry["createLink"]=function(){return new _486({command:"createLink"});};_482.registry["insertImage"]=function(){return new _497({command:"insertImage"});};_486.ImgLinkDialog=_497;return _486;});},"dojo/_base/query":function(){define(["./kernel","../query","./NodeList"],function(dojo){return dojo.query;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_49a,lang,_49b,_49c,_49d,_49e,_49f,_4a0,_4a1){return _49a("dijit.form.DropDownButton",[_49e,_49f,_4a0],{baseClass:"dijitDropDownButton",templateString:_4a1,_fillContent:function(){if(this.srcNodeRef){var _4a2=_49b("*",this.srcNodeRef);this.inherited(arguments,[_4a2[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _4a3=_49b("[widgetId]",this.dropDownContainer)[0];this.dropDown=_49c.byNode(_4a3);delete this.dropDownContainer;}if(this.dropDown){_49d.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _4a4=this.dropDown;return (!!_4a4&&(!_4a4.href||_4a4.isLoaded));},loadDropDown:function(_4a5){var _4a6=this.dropDown;var _4a7=_4a6.on("load",lang.hitch(this,function(){_4a7.remove();_4a5();}));_4a6.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"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\" aria-hidden=\"true\"\n/></span>\n","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(_4a8,_4a9,_4aa,_4ab,dom,_4ac,_4ad,_4ae,_4af,keys,lang,on,has,win,_4b0,pm,_4b1,_4b2){if(!_4af.isAsync){_4b2(0,function(){var _4b3=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_4a8(_4b3);});}return _4aa("dijit.Menu",_4b1,{constructor:function(){this._bindings=[];},targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(win.body());}else{_4a9.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_4b4){return _4b0.get(this._iframeContentDocument(_4b4))||this._iframeContentDocument(_4b4)["__parent__"]||(_4b4.name&&win.doc.frames[_4b4.name])||null;},_iframeContentDocument:function(_4b5){return _4b5.contentDocument||(_4b5.contentWindow&&_4b5.contentWindow.document)||(_4b5.name&&win.doc.frames[_4b5.name]&&win.doc.frames[_4b5.name].document)||null;},bindDomNode:function(node){node=dom.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _4b6=node,_4b7=this._iframeContentWindow(_4b6);cn=win.withGlobal(_4b7,win.body);}else{cn=(node==win.body()?win.doc.documentElement:node);}var _4b8={node:node,iframe:_4b6};_4ac.set(node,"_dijitMenu"+this.id,this._bindings.push(_4b8));var _4b9=lang.hitch(this,function(cn){return [on(cn,this.leftClickToOpen?"click":"contextmenu",lang.hitch(this,function(evt){_4ab.stop(evt);this._scheduleOpen(evt.target,_4b6,{x:evt.pageX,y:evt.pageY});})),on(cn,"keydown",lang.hitch(this,function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_4ab.stop(evt);this._scheduleOpen(evt.target,_4b6);}}))];});_4b8.connects=cn?_4b9(cn):[];if(_4b6){_4b8.onloadHandler=lang.hitch(this,function(){var _4ba=this._iframeContentWindow(_4b6);cn=win.withGlobal(_4ba,win.body);_4b8.connects=_4b9(cn);});if(_4b6.addEventListener){_4b6.addEventListener("load",_4b8.onloadHandler,false);}else{_4b6.attachEvent("onload",_4b8.onloadHandler);}}},unBindDomNode:function(_4bb){var node;try{node=dom.byId(_4bb);}catch(e){return;}var _4bc="_dijitMenu"+this.id;if(node&&_4ac.has(node,_4bc)){var bid=_4ac.get(node,_4bc)-1,b=this._bindings[bid],h;while(h=b.connects.pop()){h.remove();}var _4bd=b.iframe;if(_4bd){if(_4bd.removeEventListener){_4bd.removeEventListener("load",b.onloadHandler,false);}else{_4bd.detachEvent("onload",b.onloadHandler);}}_4ac.remove(node,_4bc);delete this._bindings[bid];}},_scheduleOpen:function(_4be,_4bf,_4c0){if(!this._openTimer){this._openTimer=setTimeout(lang.hitch(this,function(){delete this._openTimer;this._openMyself({target:_4be,iframe:_4bf,coords:_4c0});}),1);}},_openMyself:function(args){var _4c1=args.target,_4c2=args.iframe,_4c3=args.coords;if(_4c3){if(_4c2){var ifc=_4ad.position(_4c2,true),_4c4=this._iframeContentWindow(_4c2),_4c5=win.withGlobal(_4c4,"_docScroll",dojo);var cs=_4ae.getComputedStyle(_4c2),tp=_4ae.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_4c2,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_4c2,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_4c2,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_4c2,cs.borderTopWidth):0);_4c3.x+=ifc.x+left-_4c5.x;_4c3.y+=ifc.y+top-_4c5.y;}}else{_4c3=_4ad.position(_4c1,true);_4c3.x+=10;_4c3.y+=10;}var self=this;var _4c6=this._focusManager.get("prevNode");var _4c7=this._focusManager.get("curNode");var _4c8=!_4c7||(dom.isDescendant(_4c7,this.domNode))?_4c6:_4c7;function _4c9(){if(self.refocus&&_4c8){_4c8.focus();}pm.close(self);};pm.open({popup:this,x:_4c3.x,y:_4c3.y,onExecute:_4c9,onCancel:_4c9,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},uninitialize:function(){_4a9.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/DropDownMenu":function(){require({cache:{"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"}});define("dijit/DropDownMenu",["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_4ca,_4cb,keys,_4cc,_4cd,_4ce){return _4ca("dijit.DropDownMenu",[_4ce,_4cd],{templateString:_4cc,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);_4cb.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_4cb.stop(evt);}break;}}});});},"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/_MenuBase":function(){define("dijit/_MenuBase",["./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,_4cf,_4d0,_4d1,_4d2,_4d3,dom,_4d4,_4d5,lang,_4d6){return _4d3("dijit._MenuBase",[_4d0,_4d2,_4d1],{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 _4d7=this._getTopMenu();if(_4d7&&_4d7._isMenuBar){_4d7.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _4d8=this.currentPopup.parentMenu;if(_4d8.focusedChild){_4d8.focusedChild._setSelected(false);}_4d8.focusedChild=this.currentPopup.from_item;_4d8.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 _4d9=item.popup;if(_4d9){this._stopPendingCloseTimer(_4d9);_4d9._pendingClose_timer=setTimeout(function(){_4d9._pendingClose_timer=null;if(_4d9.parentMenu){_4d9.parentMenu.currentPopup=null;}pm.close(_4d9);},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(_4da){if(_4da._pendingClose_timer){clearTimeout(_4da._pendingClose_timer);_4da._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 _4db=this.focusedChild;if(!_4db){return;}var _4dc=_4db.popup;if(_4dc.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_4dc.parentMenu=this;_4dc.from_item=_4db;var self=this;pm.open({parent:this,popup:_4dc,around:_4db.domNode,orient:this._orient||["after","before"],onCancel:function(){self.focusChild(_4db);self._cleanUp();_4db._setSelected(true);self.focusedChild=_4db;},onExecute:lang.hitch(this,"_cleanUp")});this.currentPopup=_4dc;if(this.popupHoverHandle){this.disconnect(this.popupHoverHandle);}this.popupHoverHandle=this.connect(_4dc.domNode,"onmouseenter","_onPopupHover");if(_4dc.focus){_4dc._focus_timer=setTimeout(lang.hitch(_4dc,function(){this._focus_timer=null;this.focus();}),0);}},_markActive:function(){this.isActive=true;_4d5.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_4d5.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(_4d6.indexOf(this._focusManager.activeStack,this.id)>=0){_4d4.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();}}});});},"dijit/MenuItem":function(){require({cache:{"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"}});define("dijit/MenuItem",["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(_4dd,dom,_4de,_4df,_4e0,_4e1,has,_4e2,_4e3,_4e4,_4e5,_4e6){return _4dd("dijit.MenuItem",[_4e2,_4e3,_4e4,_4e5],{templateString:_4e6,baseClass:"dijitMenuItem",label:"",_setLabelAttr:{node:"containerNode",type:"innerHTML"},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_4e7){if(_4e7&&!("label" in this.params)){this.set("label",_4e7.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _4e8=this.id+"_text";_4de.set(this.containerNode,"id",_4e8);if(this.accelKeyNode){_4de.set(this.accelKeyNode,"id",this.id+"_accel");_4e8+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_4e8);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);_4e0.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(_4e9){_4df.toggle(this.domNode,"dijitMenuItemSelected",_4e9);},setLabel:function(_4ea){_4e1.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_4ea);},setDisabled:function(_4eb){_4e1.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_4eb);},_setDisabledAttr:function(_4ec){this.focusNode.setAttribute("aria-disabled",_4ec?"true":"false");this._set("disabled",_4ec);},_setAccelKeyAttr:function(_4ed){this.accelKeyNode.style.display=_4ed?"":"none";this.accelKeyNode.innerHTML=_4ed;_4de.set(this.containerNode,"colSpan",_4ed?"1":"2");this._set("accelKey",_4ed);}});});},"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","dijit/PopupMenuItem":function(){define("dijit/PopupMenuItem",["dojo/_base/declare","dojo/dom-style","dojo/query","dojo/_base/window","./registry","./MenuItem","./hccss"],function(_4ee,_4ef,_4f0,win,_4f1,_4f2){return _4ee("dijit.PopupMenuItem",_4f2,{_fillContent:function(){if(this.srcNodeRef){var _4f3=_4f0("*",this.srcNodeRef);this.inherited(arguments,[_4f3[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_4f0("[widgetId]",this.dropDownContainer)[0];this.popup=_4f1.byNode(node);}win.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_4ef.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_4f4){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_4f4);}delete this.popup;}this.inherited(arguments);}});});},"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(_4f5,_4f6,_4f7,_4f8){return _4f5("dijit.CheckedMenuItem",_4f7,{templateString:_4f8,checked:false,_setCheckedAttr:function(_4f9){_4f6.toggle(this.domNode,"dijitCheckedMenuItemChecked",_4f9);this.domNode.setAttribute("aria-checked",_4f9);this._set("checked",_4f9);},iconClass:"",onChange:function(){},_onClick:function(e){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});});},"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/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(_4fa,_4fb,keys,_4fc,_4fd){return _4fa("dijit.MenuBar",_4fc,{templateString:_4fd,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 _4fe=this.focusedChild,_4ff=_4fe&&_4fe.popup&&_4fe.popup.isShowingNow;this.inherited(arguments);if(_4ff&&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);_4fb.stop(evt);}},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow){item.popup.onCancel();}else{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/MenuBarItem":function(){require({cache:{"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"}});define("dijit/MenuBarItem",["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_500,_501,_502){var _503=_500("dijit._MenuBarItemMixin",null,{templateString:_502,_setIconClassAttr:null});var _504=_500("dijit.MenuBarItem",[_501,_503],{});_504._MenuBarItemMixin=_503;return _504;});},"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/PopupMenuBarItem":function(){define("dijit/PopupMenuBarItem",["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_505,_506,_507){var _508=_507._MenuBarItemMixin;return _505("dijit.PopupMenuBarItem",[_506,_508],{});});},"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(_509,dom,_50a,_50b,_50c,_50d){return _509("dijit.MenuSeparator",[_50a,_50b,_50c],{templateString:_50d,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"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/ProgressBar":function(){require({cache:{"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"}});define("dijit/ProgressBar",["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_50e,_50f,_510,lang,_511,_512,_513,_514){return _50f("dijit.ProgressBar",[_512,_513],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_514,_indeterminateHighContrastImagePath:_50e.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(_515){lang.mixin(this,_515||{});var tip=this.internalProgress,ap=this.domNode;var _516=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");ap.removeAttribute("aria-valuemin");ap.removeAttribute("aria-valuemax");}else{if(String(this.progress).indexOf("%")!=-1){_516=Math.min(parseFloat(this.progress)/100,1);this.progress=_516*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_516=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(_516);_510.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_516*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(_517){this._set("label",_517);this.update();},_setIndeterminateAttr:function(_518){this.indeterminate=_518;this.update();},report:function(_519){return this.label?this.label:(this.indeterminate?"&#160;":_511.format(_519,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define(["./_base/kernel","./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(dojo,lang,i18n,_51a,_51b,_51c){lang.getObject("number",true,dojo);dojo.number.format=function(_51d,_51e){_51e=lang.mixin({},_51e||{});var _51f=i18n.normalizeLocale(_51e.locale),_520=i18n.getLocalization("dojo.cldr","number",_51f);_51e.customs=_520;var _521=_51e.pattern||_520[(_51e.type||"decimal")+"Format"];if(isNaN(_51d)||Math.abs(_51d)==Infinity){return null;}return dojo.number._applyPattern(_51d,_521,_51e);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_522,_523,_524){_524=_524||{};var _525=_524.customs.group,_526=_524.customs.decimal,_527=_523.split(";"),_528=_527[0];_523=_527[(_522<0)?1:0]||("-"+_528);if(_523.indexOf("%")!=-1){_522*=100;}else{if(_523.indexOf("‰")!=-1){_522*=1000;}else{if(_523.indexOf("¤")!=-1){_525=_524.customs.currencyGroup||_525;_526=_524.customs.currencyDecimal||_526;_523=_523.replace(/\u00a4{1,3}/,function(_529){var prop=["symbol","currency","displayName"][_529.length-1];return _524[prop]||_524.currency||"";});}else{if(_523.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _52a=dojo.number._numberPatternRE;var _52b=_528.match(_52a);if(!_52b){throw new Error("unable to find a number expression in pattern: "+_523);}if(_524.fractional===false){_524.places=0;}return _523.replace(_52a,dojo.number._formatAbsolute(_522,_52b[0],{decimal:_526,group:_525,places:_524.places,round:_524.round}));};dojo.number.round=function(_52c,_52d,_52e){var _52f=10/(_52e||10);return (_52f*+_52c).toFixed(_52d)/_52f;};if((0.9).toFixed()==0){var _530=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){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _530(v,p,m)+(v>0?d:-d);};}dojo.number._formatAbsolute=function(_531,_532,_533){_533=_533||{};if(_533.places===true){_533.places=0;}if(_533.places===Infinity){_533.places=6;}var _534=_532.split("."),_535=typeof _533.places=="string"&&_533.places.indexOf(","),_536=_533.places;if(_535){_536=_533.places.substring(_535+1);}else{if(!(_536>=0)){_536=(_534[1]||[]).length;}}if(!(_533.round<0)){_531=dojo.number.round(_531,_536,_533.round);}var _537=String(Math.abs(_531)).split("."),_538=_537[1]||"";if(_534[1]||_533.places){if(_535){_533.places=_533.places.substring(0,_535);}var pad=_533.places!==undefined?_533.places:(_534[1]&&_534[1].lastIndexOf("0")+1);if(pad>_538.length){_537[1]=_51b.pad(_538,pad,"0",true);}if(_536<_538.length){_537[1]=_538.substr(0,_536);}}else{if(_537[1]){_537.pop();}}var _539=_534[0].replace(",","");pad=_539.indexOf("0");if(pad!=-1){pad=_539.length-pad;if(pad>_537[0].length){_537[0]=_51b.pad(_537[0],pad);}if(_539.indexOf("#")==-1){_537[0]=_537[0].substr(_537[0].length-pad);}}var _53a=_534[0].lastIndexOf(","),_53b,_53c;if(_53a!=-1){_53b=_534[0].length-_53a-1;var _53d=_534[0].substr(0,_53a);_53a=_53d.lastIndexOf(",");if(_53a!=-1){_53c=_53d.length-_53a-1;}}var _53e=[];for(var _53f=_537[0];_53f;){var off=_53f.length-_53b;_53e.push((off>0)?_53f.substr(off):_53f);_53f=(off>0)?_53f.slice(0,off):"";if(_53c){_53b=_53c;_53c=undefined;}}_537[0]=_53e.reverse().join(_533.group||",");return _537.join(_533.decimal||".");};dojo.number.regexp=function(_540){return dojo.number._parseInfo(_540).regexp;};dojo.number._parseInfo=function(_541){_541=_541||{};var _542=i18n.normalizeLocale(_541.locale),_543=i18n.getLocalization("dojo.cldr","number",_542),_544=_541.pattern||_543[(_541.type||"decimal")+"Format"],_545=_543.group,_546=_543.decimal,_547=1;if(_544.indexOf("%")!=-1){_547/=100;}else{if(_544.indexOf("‰")!=-1){_547/=1000;}else{var _548=_544.indexOf("¤")!=-1;if(_548){_545=_543.currencyGroup||_545;_546=_543.currencyDecimal||_546;}}}var _549=_544.split(";");if(_549.length==1){_549.push("-"+_549[0]);}var re=_51c.buildGroupRE(_549,function(_54a){_54a="(?:"+_51c.escapeString(_54a,".")+")";return _54a.replace(dojo.number._numberPatternRE,function(_54b){var _54c={signed:false,separator:_541.strict?_545:[_545,""],fractional:_541.fractional,decimal:_546,exponent:false},_54d=_54b.split("."),_54e=_541.places;if(_54d.length==1&&_547!=1){_54d[1]="###";}if(_54d.length==1||_54e===0){_54c.fractional=false;}else{if(_54e===undefined){_54e=_541.pattern?_54d[1].lastIndexOf("0")+1:Infinity;}if(_54e&&_541.fractional==undefined){_54c.fractional=true;}if(!_541.places&&(_54e<_54d[1].length)){_54e+=","+_54d[1].length;}_54c.places=_54e;}var _54f=_54d[0].split(",");if(_54f.length>1){_54c.groupSize=_54f.pop().length;if(_54f.length>1){_54c.groupSize2=_54f.pop().length;}}return "("+dojo.number._realNumberRegexp(_54c)+")";});},true);if(_548){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_550,_551,_552,_553){var prop=["symbol","currency","displayName"][_552.length-1],_554=_51c.escapeString(_541[prop]||_541.currency||"");_551=_551?"[\\s\\xa0]":"";_553=_553?"[\\s\\xa0]":"";if(!_541.strict){if(_551){_551+="*";}if(_553){_553+="*";}return "(?:"+_551+_554+_553+")?";}return _551+_554+_553;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_545,decimal:_546,factor:_547};};dojo.number.parse=function(_555,_556){var info=dojo.number._parseInfo(_556),_557=(new RegExp("^"+info.regexp+"$")).exec(_555);if(!_557){return NaN;}var _558=_557[1];if(!_557[1]){if(!_557[2]){return NaN;}_558=_557[2];info.factor*=-1;}_558=_558.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _558*info.factor;};dojo.number._realNumberRegexp=function(_559){_559=_559||{};if(!("places" in _559)){_559.places=Infinity;}if(typeof _559.decimal!="string"){_559.decimal=".";}if(!("fractional" in _559)||/^0/.test(_559.places)){_559.fractional=[true,false];}if(!("exponent" in _559)){_559.exponent=[true,false];}if(!("eSigned" in _559)){_559.eSigned=[true,false];}var _55a=dojo.number._integerRegexp(_559),_55b=_51c.buildGroupRE(_559.fractional,function(q){var re="";if(q&&(_559.places!==0)){re="\\"+_559.decimal;if(_559.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_559.places+"}";}}return re;},true);var _55c=_51c.buildGroupRE(_559.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_559.eSigned})+")";}return "";});var _55d=_55a+_55b;if(_55b){_55d="(?:(?:"+_55d+")|(?:"+_55b+"))";}return _55d+_55c;};dojo.number._integerRegexp=function(_55e){_55e=_55e||{};if(!("signed" in _55e)){_55e.signed=[true,false];}if(!("separator" in _55e)){_55e.separator="";}else{if(!("groupSize" in _55e)){_55e.groupSize=3;}}var _55f=_51c.buildGroupRE(_55e.signed,function(q){return q?"[-+]":"";},true);var _560=_51c.buildGroupRE(_55e.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_51c.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_55e.groupSize,grp2=_55e.groupSize2;if(grp2){var _561="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_561+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_561;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _55f+_560;};return dojo.number;});},"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","dijit/TitlePane":function(){require({cache:{"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\">\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"}});define("dijit/TitlePane",["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(_562,_563,dom,_564,_565,_566,_567,_568,_569,keys,_56a,_56b,_56c,_56d,_56e){return _563("dijit.TitlePane",[_56c,_56b,_56a],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_56e.defaultDuration,baseClass:"dijitTitlePane",templateString:_56d,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 _56f=this.hideNode,_570=this.wipeNode;this._wipeIn=_568.wipeIn({node:_570,duration:this.duration,beforeBegin:function(){_56f.style.display="";}});this._wipeOut=_568.wipeOut({node:_570,duration:this.duration,onEnd:function(){_56f.style.display="none";}});},_setOpenAttr:function(open,_571){_562.forEach([this._wipeIn,this._wipeOut],function(_572){if(_572&&_572.status()=="playing"){_572.stop();}});if(_571){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(_573){this.focusNode.setAttribute("role",_573?"button":"heading");if(_573){this.focusNode.setAttribute("aria-controls",this.id+"_pane");_564.set(this.focusNode,"tabIndex",this.tabIndex);}else{_564.remove(this.focusNode,"tabIndex");}this._set("toggleable",_573);this._setCss();},_setContentAttr:function(_574){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_566.setMarginBox(this.wipeNode,{h:_566.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 _575=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_565.replace(node,this._titleBarClass,_575||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==keys.ENTER||e.keyCode==keys.SPACE){if(this.toggleable){this.toggle();_567.stop(e);}}else{if(e.keyCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_576){_569.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_576);}});});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_577,dojo,_578,_579,_57a,dom,_57b,geom,_57c,_57d){if(!dojo.isAsync){_57c(0,function(){var _57e=["./fx/Toggler"];_57d(_57e);});}var _57f=dojo.fx={};var _580={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _581=function(_582){this._index=-1;this._animations=_582||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_578.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_581.prototype=new _577();lang.extend(_581,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_579.disconnect(this._onAnimateCtx);_579.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=_579.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_579.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_583,_584){if(!this._current){this._current=this._animations[this._index=0];}if(!_584&&this._current.status()=="playing"){return this;}var _585=_579.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_586=_579.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_587=_579.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_579.disconnect(_585);_579.disconnect(_586);_579.disconnect(_587);});if(this._onAnimateCtx){_579.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_579.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_579.disconnect(this._onEndCtx);}this._onEndCtx=_579.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_579.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_579.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_588,_589){this.pause();var _58a=this.duration*_588;this._current=null;_578.some(this._animations,function(a){if(a.duration<=_58a){this._current=a;return true;}_58a-=a.duration;return false;});if(this._current){this._current.gotoPercent(_58a/this._current.duration,_589);}return this;},stop:function(_58b){if(this._current){if(_58b){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_579.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_579.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_579.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_579.disconnect(this._onEndCtx);}}});lang.extend(_581,_580);_57f.chain=function(_58c){return new _581(_58c);};var _58d=function(_58e){this._animations=_58e||[];this._connects=[];this._finished=0;this.duration=0;_578.forEach(_58e,function(a){var _58f=a.duration;if(a.delay){_58f+=a.delay;}if(this.duration<_58f){this.duration=_58f;}this._connects.push(_579.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _57a.Animation({curve:[0,1],duration:this.duration});var self=this;_578.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_579.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_58d,{_doAction:function(_590,args){_578.forEach(this._animations,function(a){a[_590].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_591,args){var t=this._pseudoAnimation;t[_591].apply(t,args);},play:function(_592,_593){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(_594,_595){var ms=this.duration*_594;_578.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_595);});this._call("gotoPercent",arguments);return this;},stop:function(_596){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_578.forEach(this._connects,_579.disconnect);}});lang.extend(_58d,_580);_57f.combine=function(_597){return new _58d(_597);};_57f.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_57a.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 _598=_57b.get(node,"height");return Math.max(_598,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_579.connect(anim,"onStop",fini);_579.connect(anim,"onEnd",fini);return anim;};_57f.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_57a.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_579.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_579.connect(anim,"onStop",fini);_579.connect(anim,"onEnd",fini);return anim;};_57f.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_57b.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=_57a.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_579.connect(anim,"beforeBegin",anim,init);return anim;};return _57f;});},"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\">\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/Tree":function(){require({cache:{"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","url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\n"}});define("dijit/Tree",["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/on","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(_599,_59a,_59b,_59c,_59d,_59e,dom,_59f,_5a0,_5a1,_5a2,_5a3,_5a4,keys,lang,on,_5a5,_5a6,_5a7,_5a8,_5a9,_5aa,_5ab,_5ac,_5ad,_5ae,_5af,_5b0,_5b1,_5b2){var _5b3=_59c("dijit._TreeNode",[_5a9,_5aa,_5ab,_5ac,_5ad],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_5ae,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(_5b4){var _5b5=(Math.max(_5b4,0)*this.tree._nodePixelIndent)+"px";_5a1.set(this.domNode,"backgroundPosition",_5b5+" 0px");_5a1.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_5b5);_599.forEach(this.getChildren(),function(_5b6){_5b6.set("indent",_5b4+1);});this._set("indent",_5b4);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_5b7=tree.model;if(tree._v10Compat&&item===_5b7.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");},_applyClassAndStyle:function(item,_5b8,_5b9){var _5ba="_"+_5b8+"Class";var _5bb=_5b8+"Node";var _5bc=this[_5ba];this[_5ba]=this.tree["get"+_5b9+"Class"](item,this.isExpanded);_59f.replace(this[_5bb],this[_5ba]||"",_5bc||"");_5a1.set(this[_5bb],this.tree["get"+_5b9+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _5bd=this.getParent();if(!_5bd||!_5bd.rowNode||_5bd.rowNode.style.display=="none"){_59f.add(this.domNode,"dijitTreeIsRoot");}else{_59f.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_5be){var _5bf=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_5c0=["*","-","+","*"],idx=_5be?0:(this.isExpandable?(this.isExpanded?1:2):3);_59f.replace(this.expandoNode,_5bf[idx],_5bf);this.expandoNodeText.innerHTML=_5c0[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");}_59f.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode){this.tree.domNode.setAttribute("aria-expanded","true");}var def,_5c1=_5a3.wipeIn({node:this.containerNode,duration:_5a8.defaultDuration,onEnd:function(){def.callback(true);}});def=(this._expandDeferred=new _59d(function(){_5c1.stop();}));_5c1.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");}_59f.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(!this._wipeOut){this._wipeOut=_5a3.wipeOut({node:this.containerNode,duration:_5a8.defaultDuration});}this._wipeOut.play();},indent:0,setChildItems:function(_5c2){var tree=this.tree,_5c3=tree.model,defs=[];_599.forEach(this.getChildren(),function(_5c4){_5ab.prototype.removeChild.call(this,_5c4);},this);this.state="LOADED";if(_5c2&&_5c2.length>0){this.isExpandable=true;_599.forEach(_5c2,function(item){var id=_5c3.getIdentity(item),_5c5=tree._itemNodesMap[id],node;if(_5c5){for(var i=0;i<_5c5.length;i++){if(_5c5[i]&&!_5c5[i].getParent()){node=_5c5[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_5c3.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_5c5){_5c5.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_599.forEach(this.getChildren(),function(_5c6){_5c6._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 _59e(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 _5c7=this.getChildren();if(_5c7.length==0){this.isExpandable=false;this.collapse();}_599.forEach(_5c7,function(_5c8){_5c8._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},_onLabelFocus:function(){this.tree._onNodeFocus(this);},setSelected:function(_5c9){this.labelNode.setAttribute("aria-selected",_5c9);_59f.toggle(this.rowNode,"dijitTreeRowSelected",_5c9);},setFocusable:function(_5ca){this.labelNode.setAttribute("tabIndex",_5ca?"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(_5cb){if(_5cb&&((this.textDir!=_5cb)||!this._created)){this._set("textDir",_5cb);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_599.forEach(this.getChildren(),function(_5cc){_5cc.set("textDir",_5cb);},this);}}});var Tree=_59c("dijit.Tree",[_5a9,_5aa],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_5af,persist:true,autoExpand:false,dndController:_5b2,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(_5cd,_5ce){_5a5.publish(this.id,lang.mixin({tree:this,event:_5cd},_5ce||{}));},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 _59d();this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this._connects.push(on(this.domNode,on.selector(".dijitTreeNode","keypress"),function(evt){self._onKeyPress(_5a7.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keydown"),function(evt){self._onKeyDown(_5a7.byNode(this),evt);}));if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this._load();this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _5cf={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_5cf[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_5cf);}},_store2model:function(){this._v10Compat=true;_5a4.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _5d0={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_5d0.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_5d0.getChildren=lang.hitch(this,function(item,_5d1,_5d2){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_5d1,_5d2);});}this.model=new _5b1(_5d0);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 _5d3=this.model.getIdentity(item);if(this._itemNodesMap[_5d3]){this._itemNodesMap[_5d3].push(rn);}else{this._itemNodesMap[_5d3]=[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 _5d4=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_5d4]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_5d5){var tree=this;this._loadDeferred.addCallback(lang.hitch(this,function(){var _5d6=_599.map(_5d5,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _5d7=[];_599.forEach(_5d6,function(id){_5d7=_5d7.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_5d7);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_5d8){var tree=this;return new _59e(_599.map(_5d8,function(path){var d=new _59d();path=_599.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){tree._loadDeferred.addCallback(function(){_5d9(path,[tree.rootNode],d);});}else{d.errback("Empty path");}return d;})).addCallback(_5da);function _5d9(path,_5db,def){var _5dc=path.shift();var _5dd=_599.filter(_5db,function(node){return node.getIdentity()==_5dc;})[0];if(!!_5dd){if(path.length){tree._expandNode(_5dd).addCallback(function(){_5d9(path,_5dd.getChildren(),def);});}else{def.callback(_5dd);}}else{def.errback("Could not expand path at "+_5dc);}};function _5da(_5de){tree.set("selectedNodes",_599.map(_599.filter(_5de,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_5df){this._loadDeferred.addCallback(lang.hitch(this,function(){this.dndController.setSelection(_5df);}));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_5e0){return (!item||this.model.mayHaveChildren(item))?(_5e0?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(_5e1,e){if(e.charCode<=32){return;}if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){var c=String.fromCharCode(e.charCode);this._onLetterKeyNav({node:_5e1,key:c.toLowerCase()});_5a2.stop(e);}},_onKeyDown:function(_5e2,e){var key=e.keyCode;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]){if(this._curSearch){clearTimeout(this._curSearch.timer);delete this._curSearch;}this[this._keyHandlerMap[key]]({node:_5e2,item:_5e2.item,evt:e});_5a2.stop(e);}},_onEnterKey:function(_5e3){this._publish("execute",{item:_5e3.item,node:_5e3.node});this.dndController.userSelect(_5e3.node,_59a.isCopyKey(_5e3.evt),_5e3.evt.shiftKey);this.onClick(_5e3.item,_5e3.node,_5e3.evt);},_onDownArrow:function(_5e4){var node=this._getNextNode(_5e4.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_5e5){var node=_5e5.node;var _5e6=node.getPreviousSibling();if(_5e6){node=_5e6;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _5e7=node.getChildren();node=_5e7[_5e7.length-1];}}else{var _5e8=node.getParent();if(!(!this.showRoot&&_5e8===this.rootNode)){node=_5e8;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_5e9){var node=_5e9.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(_5ea){var node=_5ea.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _5eb=node.getParent();if(_5eb&&_5eb.isTreeNode&&!(!this.showRoot&&_5eb===this.rootNode)){this.focusNode(_5eb);}}},_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(_5ec){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_5ec.key;clearTimeout(cs.timer);}else{cs=this._curSearch={pattern:_5ec.key,startNode:_5ec.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,_5ed){return dom.isDescendant(node,_5ed.expandoNode);},_onClick:function(_5ee,e){var _5ef=e.target,_5f0=this.isExpandoNode(_5ef,_5ee);if((this.openOnClick&&_5ee.isExpandable)||_5f0){if(_5ee.isExpandable){this._onExpandoClick({node:_5ee});}}else{this._publish("execute",{item:_5ee.item,node:_5ee,evt:e});this.onClick(_5ee.item,_5ee,e);this.focusNode(_5ee);}_5a2.stop(e);},_onDblClick:function(_5f1,e){var _5f2=e.target,_5f3=(_5f2==_5f1.expandoNode||_5f2==_5f1.expandoNodeText);if((this.openOnDblClick&&_5f1.isExpandable)||_5f3){if(_5f1.isExpandable){this._onExpandoClick({node:_5f1});}}else{this._publish("execute",{item:_5f1.item,node:_5f1,evt:e});this.onDblClick(_5f1.item,_5f1,e);this.focusNode(_5f1);}_5a2.stop(e);},_onExpandoClick:function(_5f4){var node=_5f4.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 _5f5=node.getNextSibling();if(_5f5){return _5f5;}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,_5f6){if(node._expandNodeDeferred&&!_5f6){return node._expandNodeDeferred;}var _5f7=this.model,item=node.item,_5f8=this;switch(node.state){case "UNCHECKED":node.markProcessing();var def=(node._expandNodeDeferred=new _59d());_5f7.getChildren(item,function(_5f9){node.unmarkProcessing();var scid=node.setChildItems(_5f9);var ed=_5f8._expandNode(node,true);scid.addCallback(function(){ed.addCallback(function(){def.callback();});});},function(err){console.error(_5f8,": 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){_5a6.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 _5fa=this.model,_5fb=_5fa.getIdentity(item),_5fc=this._itemNodesMap[_5fb];if(_5fc){var _5fd=this.getLabel(item),_5fe=this.getTooltip(item);_599.forEach(_5fc,function(node){node.set({item:item,label:_5fd,tooltip:_5fe});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_5ff,_600){var _601=this.model,_602=_601.getIdentity(_5ff),_603=this._itemNodesMap[_602];if(_603){_599.forEach(_603,function(_604){_604.setChildItems(_600);});}},_onItemDelete:function(item){var _605=this.model,_606=_605.getIdentity(item),_607=this._itemNodesMap[_606];if(_607){_599.forEach(_607,function(node){this.dndController.removeTreeNode(node);var _608=node.getParent();if(_608){_608.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_606];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_59b(this.cookieName);if(oreo){_599.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_609){if(!this.persist){return false;}var path=_599.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_609){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}var ary=[];for(var id in this._openedNodes){ary.push(id);}_59b(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(_60a){if(_60a){_5a0.setMarginBox(this.domNode,_60a);}this._nodePixelIndent=_5a0.position(this.tree.indentDetector).w;if(this.tree.rootNode){this.tree.rootNode.set("indent",this.showRoot?0:-1);}},_createTreeNode:function(args){return new _5b3(args);},_setTextDirAttr:function(_60b){if(_60b&&this.textDir!=_60b){this._set("textDir",_60b);this.rootNode.set("textDir",_60b);}}});Tree._TreeNode=_5b3;return Tree;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_60c){dojo.cookie=function(name,_60d,_60e){var c=document.cookie,ret;if(arguments.length==1){var _60f=c.match(new RegExp("(?:^|; )"+_60c.escapeString(name)+"=([^;]*)"));ret=_60f?decodeURIComponent(_60f[1]):undefined;}else{_60e=_60e||{};var exp=_60e.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_60e.expires=d;}if(exp&&exp.toUTCString){_60e.expires=exp.toUTCString();}_60d=encodeURIComponent(_60d);var _610=name+"="+_60d,_611;for(_611 in _60e){_610+="; "+_611;var _612=_60e[_611];if(_612!==true){_610+="="+_612;}}document.cookie=_610;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dojo/DeferredList":function(){define(["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_613,_614){dojo.DeferredList=function(list,_615,_616,_617,_618){var _619=[];_613.call(this);var self=this;if(list.length===0&&!_615){this.resolve([0,[]]);}var _61a=0;_614.forEach(list,function(item,i){item.then(function(_61b){if(_615){self.resolve([i,_61b]);}else{_61c(true,_61b);}},function(_61d){if(_616){self.reject(_61d);}else{_61c(false,_61d);}if(_617){return null;}throw _61d;});function _61c(_61e,_61f){_619[i]=[_61e,_61f];_61a++;if(_61a===list.length){self.resolve(_619);}};});};dojo.DeferredList.prototype=new _613();dojo.DeferredList.prototype.gatherResults=function(_620){var d=new dojo.DeferredList(_620,false,true,false);d.addCallback(function(_621){var ret=[];_614.forEach(_621,function(_622){ret.push(_622[1]);});return ret;});return d;};return dojo.DeferredList;});},"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","url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\n","dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/json","dojo/_base/lang"],function(_623,_624,_625,json,lang){return _625("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(args){lang.mixin(this,args);this.connects=[];var _626=this.store;if(!_626.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.Tree: store must support dojo.data.Identity");}if(_626.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_624.after(_626,"onNew",lang.hitch(this,"onNewItem"),true),_624.after(_626,"onDelete",lang.hitch(this,"onDeleteItem"),true),_624.after(_626,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_627,_628){if(this.root){_627(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_629){if(_629.length!=1){throw new Error(this.declaredClass+": query "+json.stringify(this.query)+" returned "+_629.length+" items, but must return exactly one item");}this.root=_629[0];_627(this.root);}),onError:_628});}},mayHaveChildren:function(item){return _623.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_62a,_62b,_62c){var _62d=this.store;if(!_62d.isItemLoaded(_62a)){var _62e=lang.hitch(this,arguments.callee);_62d.loadItem({item:_62a,onItem:function(_62f){_62e(_62f,_62b,_62c);},onError:_62c});return;}var _630=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_62d.getValues(_62a,this.childrenAttrs[i]);_630=_630.concat(vals);}var _631=0;if(!this.deferItemLoadingUntilExpand){_623.forEach(_630,function(item){if(!_62d.isItemLoaded(item)){_631++;}});}if(_631==0){_62b(_630);}else{_623.forEach(_630,function(item,idx){if(!_62d.isItemLoaded(item)){_62d.loadItem({item:item,onItem:function(item){_630[idx]=item;if(--_631==0){_62b(_630);}},onError:_62c});}});}},isItem:function(_632){return this.store.isItem(_632);},fetchItemByIdentity:function(_633){this.store.fetchItemByIdentity(_633);},getIdentity:function(item){return this.store.getIdentity(item);},getLabel:function(item){if(this.labelAttr){return this.store.getValue(item,this.labelAttr);}else{return this.store.getLabel(item);}},newItem:function(args,_634,_635){var _636={parent:_634,attribute:this.childrenAttrs[0]},_637;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_634,true,_635);}else{_637=this.store.newItem(args,_636);if(_637&&(_635!=undefined)){this.pasteItem(_637,_634,_634,false,_635);}}}});}else{_637=this.store.newItem(args,_636);if(_637&&(_635!=undefined)){this.pasteItem(_637,_634,_634,false,_635);}}},pasteItem:function(_638,_639,_63a,_63b,_63c){var _63d=this.store,_63e=this.childrenAttrs[0];if(_639){_623.forEach(this.childrenAttrs,function(attr){if(_63d.containsValue(_639,attr,_638)){if(!_63b){var _63f=_623.filter(_63d.getValues(_639,attr),function(x){return x!=_638;});_63d.setValues(_639,attr,_63f);}_63e=attr;}});}if(_63a){if(typeof _63c=="number"){var _640=_63d.getValues(_63a,_63e).slice();_640.splice(_63c,0,_638);_63d.setValues(_63a,_63e,_640);}else{_63d.setValues(_63a,_63e,_63d.getValues(_63a,_63e).concat(_638));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_641){if(!_641){return;}this.getChildren(_641.item,lang.hitch(this,function(_642){this.onChildrenChange(_641.item,_642);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_643){if(_623.indexOf(this.childrenAttrs,_643)!=-1){this.getChildren(item,lang.hitch(this,function(_644){this.onChildrenChange(item,_644);}));}else{this.onChange(item);}}});});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","./TreeStoreModel"],function(_645,_646,lang,win,_647){return _646("dijit.tree.ForestStoreModel",_647,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_648){this.root={store:this,root:true,id:_648.rootId,label:_648.rootLabel,children:_648.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_649,_64a,_64b){if(_649===this.root){if(this.root.children){_64a(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_64c){this.root.children=_64c;_64a(_64c);}),onError:_64b});}}else{this.inherited(arguments);}},isItem:function(_64d){return (_64d===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_64e){if(_64e.identity==this.root.id){var _64f=_64e.scope?_64e.scope:win.global;if(_64e.onItem){_64e.onItem.call(_64f,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,_650,_651){if(_650===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_652,_653,_654,_655,_656){if(_653===this.root){if(!_655){this.onLeaveRoot(_652);}}this.inherited(arguments,[_652,_653===this.root?null:_653,_654===this.root?null:_654,_655,_656]);if(_654===this.root){this.onAddToRoot(_652);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _657=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_658){this.root.children=_658;if(_657.length!=_658.length||_645.some(_657,function(item,idx){return _658[idx]!=item;})){this.onChildrenChange(this.root,_658);}})});},onNewItem:function(item,_659){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_645.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_65a,_65b,_65c){this._requeryTop();this.inherited(arguments);}});});},"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(_65d,_65e,_65f,lang,_660,on,_661,win,_662){return _65f("dijit.tree._dndSelector",_662,{constructor:function(){this.selection={};this.anchor=null;this.tree.domNode.setAttribute("aria-multiselect",!this.singular);this.events.push(on(this.tree.domNode,_661.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_661.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_661.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _663=[],sel=this.selection;for(var i in sel){_663.push(sel[i]);}return _663;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_664){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_664){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(_665){var _666=this.getSelectedTreeNodes();_65d.forEach(this._setDifference(_666,_665),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_65d.forEach(this._setDifference(_665,_666),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_65d.forEach(ys,function(y){y.__exclude__=true;});var ret=_65d.filter(xs,function(x){return !x.__exclude__;});_65d.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _667=this.getSelectedTreeNodes();var _668=[],_669=[];_65d.forEach(_667,function(node){_669.push(node);_668.push(node.getTreePath());});var _66a=_65d.map(_669,function(node){return node.item;});this.tree._set("paths",_668);this.tree._set("path",_668[0]||[]);this.tree._set("selectedNodes",_669);this.tree._set("selectedNode",_669[0]||null);this.tree._set("selectedItems",_66a);this.tree._set("selectedItem",_66a[0]||null);},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_660.isLeft(e)){e.preventDefault();}else{if(e.type!="touchstart"){return;}}var _66b=this.current,copy=_65e.isCopyKey(e),id=_66b.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_66b,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_65e.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,_66c,_66d){if(this.singular){if(this.anchor==node&&_66c){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_66d&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_66e,end,_66f=this.anchor;if(cr<0){_66e=_66f;end=node;}else{_66e=node;end=_66f;}var _670=[];while(_66e!=end){_670.push(_66e);_66e=this.tree._getNextNode(_66e);}_670.push(end);this.setSelection(_670);}else{if(this.selection[node.id]&&_66c){this.removeTreeNode(node);}else{if(_66c){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _671=this.selection[key];return {data:_671,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||win.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/mouse","dojo/on"],function(_672,_673,_674,_675,lang,_676,on){return _673("dijit.tree._dndContainer",null,{constructor:function(tree,_677){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_677);this.current=null;this.containerState="";_674.add(this.node,"dojoDndContainer");this.events=[on(this.node,_676.enter,lang.hitch(this,"onOverEvent")),on(this.node,_676.leave,lang.hitch(this,"onOutEvent")),_672.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_672.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_675,"stop")),on(this.node,"selectstart",lang.hitch(_675,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_678){this.current=_678;},onMouseOut:function(){this.current=null;},_changeState:function(type,_679){var _67a="dojoDnd"+type;var _67b=type.toLowerCase()+"State";_674.replace(this.node,_67a+_679,_67a+this[_67b]);this[_67b]=_679;},_addItemClass:function(node,type){_674.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_674.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/InlineEditBox":function(){require({cache:{"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"}});define("dijit/InlineEditBox",["dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","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(_67c,_67d,_67e,_67f,_680,_681,_682,_683,i18n,_684,keys,lang,has,fm,_685,_686,_687,_688,_689,_68a,_68b,_68c){var _68d=_67d("dijit._InlineEditor",[_685,_686,_687],{templateString:_68c,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_67c.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 _68e=this.sourceStyle,_68f="line-height:"+_68e.lineHeight+";",_690=_682.getComputedStyle(this.domNode);_67c.forEach(["Weight","Family","Size","Style"],function(prop){var _691=_68e["font"+prop],_692=_690["font"+prop];if(_692!=_691){_68f+="font-"+prop+":"+_68e["font"+prop]+";";}},this);_67c.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_68e[prop];},this);var _693=this.inlineEditBox.width;if(_693=="100%"){_68f+="width:100%;";this.domNode.style.display="block";}else{_68f+="width:"+(_693+(Number(_693)==_693?"px":""))+";";}var _694=lang.delegate(this.inlineEditBox.editorParams,{style:_68f,dir:this.dir,lang:this.lang,textDir:this.textDir});_694["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new cls(_694,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_681.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){_683.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_683.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"){_68a.selectInputText(this.editWidget.focusNode);}}),0);}});var _695=_67d("dijit.InlineEditBox",_685,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_68b,editorWrapper:_68d,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 _696={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _696){this.connect(this.displayNode,name,_696[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;}_680.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_697){_684.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_697);},_setDisabledAttr:function(_698){this.domNode.setAttribute("aria-disabled",_698);if(_698){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_680.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_698);this._set("disabled",_698);},_onMouseOver:function(){if(!this.disabled){_680.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_680.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_683.stop(e);}this._onMouseOut();setTimeout(lang.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedPosition=_682.get(this.displayNode,"position")||"static";this._savedOpacity=_682.get(this.displayNode,"opacity")||"1";this._savedTabIndex=_67f.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _699=_681.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:_682.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_699);if(!this._started){this.startup();}}var ww=this.wrapperWidget;_682.set(this.displayNode,{position:"absolute",opacity:"0"});_682.set(ww.domNode,{position:this._savedPosition,visibility:"visible",opacity:"1"});_67f.set(this.displayNode,"tabIndex","-1");_67e.when(ww.editWidget.onLoadDeferred,function(){setTimeout(function(){ww.focus();ww._resetValue=ww.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(_69a){var ww=this.wrapperWidget;_682.set(ww.domNode,{position:"absolute",visibility:"hidden",opacity:"0"});_682.set(this.displayNode,{position:this._savedPosition,opacity:this._savedOpacity});_67f.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_69a){fm.focus(this.displayNode);}},save:function(_69b){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _69c=ww.getValue();this.set("value",_69c);this._showText(_69b);},setValue:function(val){_684.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 _69d=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_69d||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(){_684.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_69e){if(this.disabled||!this.editing){return;}this._set("editing",false);setTimeout(lang.hitch(this,"onCancel"),0);this._showText(_69e);},_setTextDirAttr:function(_69f){if(!this._created||this.textDir!=_69f){this._set("textDir",_69f);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_695._InlineEditor=_68d;return _695;});},"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/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_6a0,_6a1,_6a2,_6a3,has,_6a4,_6a5,_6a6,_6a7){return _6a0("dijit.form.Form",[_6a4,_6a5,_6a6,_6a7],{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(_6a8){this.encType=_6a8;_6a1.set(this.domNode,"encType",_6a8);if(has("ie")){this.domNode.encoding=_6a8;}},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);_6a2.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_6a3.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_6a2.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_6a9,_6aa,keys,_6ab,_6ac,_6ad){return _6a9("dijit.form.ComboButton",_6ac,{templateString:_6ad,_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"]){_6ab.focus(this._popupStateNode);_6aa.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_6ab.focus(this.titleNode);_6aa.stop(evt);}},focus:function(_6ae){if(!this.disabled){_6ab.focus(_6ae=="start"?this.titleNode:this._popupStateNode);}}});});},"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\t\taria-hidden=\"true\"\n\t\t/></td></tr></tbody\n></table>\n","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(_6af,_6b0,_6b1,_6b2,_6b3,_6b4,_6b5,_6b6,_6b7){if(!_6b2.isAsync){_6b4(0,function(){var _6b8=["dijit/form/RadioButton"];_6af(_6b8);});}return _6b0("dijit.form.CheckBox",[_6b5,_6b6],{templateString:_6b7,baseClass:"dijitCheckBox",_setValueAttr:function(_6b9,_6ba){if(typeof _6b9=="string"){this._set("value",_6b9);_6b1.set(this.focusNode,"value",_6b9);_6b9=true;}if(this._created){this.set("checked",_6b9,_6ba);}},_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){_6b3("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_6b3("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_6bb,_6bc,_6bd){return _6bb("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_6be){this._set("readOnly",_6be);_6bc.set(this.focusNode,"readOnly",_6be);this.focusNode.setAttribute("aria-readonly",_6be);},_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");_6bc.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_6bd.stop(e);return false;}return this.inherited(arguments);}});});},"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","dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_6bf,_6c0,_6c1){return _6bf("dijit.form.RadioButton",[_6c0,_6c1],{baseClass:"dijitRadio"});});},"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(_6c2,_6c3,_6c4,_6c5,lang,_6c6,win,_6c7){return _6c3("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_6c6("input[type=radio]",this.focusNode.form||win.doc).forEach(lang.hitch(this,function(_6c8){if(_6c8.name==this.name&&_6c8.form==this.focusNode.form){var _6c9=_6c7.getEnclosingWidget(_6c8);if(_6c9){ary.push(_6c9);}}}));return ary;},_setCheckedAttr:function(_6ca){this.inherited(arguments);if(!this._created){return;}if(_6ca){_6c2.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_6cb){if(_6cb!=this&&_6cb.checked){_6cb.set("checked",false);}}));}},_onClick:function(e){if(this.checked||this.disabled){_6c5.stop(e);return false;}if(this.readOnly){_6c5.stop(e);_6c2.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_6cc){_6c4.set(this.focusNode||this.domNode,"checked",_6cc.checked);}));return false;}return this.inherited(arguments);}});});},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_6cd,_6ce,lang,_6cf){return _6ce("dijit.form.CurrencyTextBox",_6cf,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",regExpGen:function(_6d0){return "("+(this.focused?this.inherited(arguments,[lang.mixin({},_6d0,this.editOptions)])+"|":"")+_6cd.regexp(_6d0)+")";},_formatter:_6cd.format,_parser:_6cd.parse,parse:function(_6d1,_6d2){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_6d1)){v=lang.hitch(lang.mixin({},this,{_parser:_6cf.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_6d3){if(!_6d3.currency&&this.currency){_6d3.currency=this.currency;}this.inherited(arguments,[_6cd._mixInDefaults(lang.mixin(_6d3,{exponent:false}))]);}});});},"dojo/currency":function(){define(["./_base/kernel","./_base/lang","./_base/array","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(dojo,lang,_6d4,_6d5,i18n,_6d6,_6d7){lang.getObject("currency",true,dojo);dojo.currency._mixInDefaults=function(_6d8){_6d8=_6d8||{};_6d8.type="currency";var _6d9=i18n.getLocalization("dojo.cldr","currency",_6d8.locale)||{};var iso=_6d8.currency;var data=_6d7.getData(iso);_6d4.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_6d9[iso+"_"+prop];});data.fractional=[true,false];return lang.mixin(data,_6d8);};dojo.currency.format=function(_6da,_6db){return _6d5.format(_6da,dojo.currency._mixInDefaults(_6db));};dojo.currency.regexp=function(_6dc){return _6d5.regexp(dojo.currency._mixInDefaults(_6dc));};dojo.currency.parse=function(_6dd,_6de){return _6d5.parse(_6dd,dojo.currency._mixInDefaults(_6de));};return dojo.currency;});},"dojo/cldr/monetary":function(){define(["../main"],function(dojo){dojo.getObject("cldr.monetary",true,dojo);dojo.cldr.monetary.getData=function(code){var _6df={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:2,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 _6e0={CHF:5};var _6e1=_6df[code],_6e2=_6e0[code];if(typeof _6e1=="undefined"){_6e1=2;}if(typeof _6e2=="undefined"){_6e2=0;}return {places:_6e1,round:_6e2};};return dojo.cldr.monetary;});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(_6e3,lang,_6e4,_6e5){var _6e6=_6e3("dijit.form.NumberTextBoxMixin",null,{regExpGen:_6e4.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:_6e4.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_6e7){var _6e8=typeof _6e7.places=="number"?_6e7.places:0;if(_6e8){_6e8++;}if(typeof _6e7.max!="number"){_6e7.max=9*Math.pow(10,15-_6e8);}if(typeof _6e7.min!="number"){_6e7.min=-9*Math.pow(10,15-_6e8);}this.inherited(arguments,[_6e7]);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 _6e9=this.format(val,this.constraints);if(_6e9!==undefined){this.textbox.value=_6e9;}}this.inherited(arguments);},format:function(_6ea,_6eb){var _6ec=String(_6ea);if(typeof _6ea!="number"){return _6ec;}if(isNaN(_6ea)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_6ea,_6eb))&&_6eb.exponent!==false&&/\de[-+]?\d/i.test(_6ec)){return _6ec;}if(this.editOptions&&this.focused){_6eb=lang.mixin({},_6eb,this.editOptions);}return this._formatter(_6ea,_6eb);},_parser:_6e4.parse,parse:function(_6ed,_6ee){var v=this._parser(_6ed,lang.mixin({},_6ee,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_6ed,_6ee);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_6ef){return (_6ef===null||_6ef===""||_6ef===undefined)?NaN:this.inherited(arguments);},serialize:function(_6f0,_6f1){return (typeof _6f0!="number"||isNaN(_6f0))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.mixin({},this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_6f2,_6f3,_6f4){if(_6f2!==undefined&&_6f4===undefined){_6f4=String(_6f2);if(typeof _6f2=="number"){if(isNaN(_6f2)){_6f4="";}else{if(("rangeCheck" in this&&this.rangeCheck(_6f2,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_6f4)){_6f4=undefined;}}}else{if(!_6f2){_6f4="";_6f2=NaN;}else{_6f2=undefined;}}}this.inherited(arguments,[_6f2,_6f3,_6f4]);},_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("^"+_6e4._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(_6f5){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 _6f6=_6e3("dijit.form.NumberTextBox",[_6e5,_6e6],{baseClass:"dijitTextBox dijitNumberTextBox"});_6f6.Mixin=_6e6;return _6f6;});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_6f7,i18n,_6f8){return _6f7("dijit.form.RangeBoundTextBox",_6f8,{rangeMessage:"",rangeCheck:function(_6f9,_6fa){return ("min" in _6fa?(this.compare(_6f9,_6fa.min)>=0):true)&&("max" in _6fa?(this.compare(_6f9,_6fa.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _6fb=false;var _6fc=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_6fb=(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);_6fc=(typeof max=="number")&&max>0;}return _6fb||_6fc;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_6fd){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_6fd));},getErrorMessage:function(_6fe){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_6fe)){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(_6ff){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(_700,_701){this.focusNode.setAttribute("aria-valuenow",_700);this.inherited(arguments);},applyTextDir:function(){}});});},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_702,_703,_704){return _702("dijit.form.DateTextBox",_704,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_703,_selector:"date",value:new Date("")});});},"dijit/Calendar":function(){define("dijit/Calendar",["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(_705,date,_706,_707,_708,_709,_70a,_70b,keys,lang,has,_70c,_70d,_70e,_70f,_710){var _711=_707("dijit.Calendar",[_70c,_70d,_70e],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_712){_70b.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_712);},_createMonthWidget:function(){return new _711._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,"onkeydown","_onKeyDown");this.connect(this.dateRowsNode,"onmouseover","_onDayMouseOver");this.connect(this.dateRowsNode,"onmouseout","_onDayMouseOut");this.connect(this.dateRowsNode,"onmousedown","_onDayMouseDown");this.connect(this.dateRowsNode,"onmouseup","_onDayMouseUp");},_onMonthSelect:function(_713){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,"month",_713-this.currentFocus.getMonth()));},_onDayMouseOver:function(evt){var node=_709.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_709.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_709.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(_709.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_709.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_709.contains(node,"dijitCalendarDisabledDate")){_709.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_709.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _714=-1,_715,_716=this.currentFocus;switch(evt.keyCode){case keys.RIGHT_ARROW:_714=1;case keys.LEFT_ARROW:_715="day";if(!this.isLeftToRight()){_714*=-1;}break;case keys.DOWN_ARROW:_714=1;case keys.UP_ARROW:_715="week";break;case keys.PAGE_DOWN:_714=1;case keys.PAGE_UP:_715=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_716=this.dateFuncObj.add(_716,"month",1);_715="day";case keys.HOME:_716=new this.dateClassObj(_716);_716.setDate(1);break;case keys.ENTER:case keys.SPACE:this.set("value",this.currentFocus);break;default:return true;}if(_715){_716=this.dateFuncObj.add(_716,_715,_714);}this._setCurrentFocusAttr(_716);return false;},_onKeyDown:function(evt){if(!this.handleKey(evt)){_70a.stop(evt);}},onValueSelected:function(){},onChange:function(_717){this.onValueSelected(_717);},getClassForDate:function(){}});_711._MonthDropDownButton=_707("dijit.Calendar._MonthDropDownButton",_710,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _711._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_718){var _719=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_718);this.dropDown.set("months",_719);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_719[_718.getMonth()]+"</div>";}});_711._MonthDropDown=_707("dijit.Calendar._MonthDropDown",[_70d,_70f],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_71a){this.domNode.innerHTML=_705.map(_71a,function(_71b,idx){return _71b?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_71b+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_708.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_709.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _711;});},"dojo/date":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("date",true,dojo);dojo.date.getDaysInMonth=function(_71c){var _71d=_71c.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_71d==1&&dojo.date.isLeapYear(_71c)){return 29;}return days[_71d];};dojo.date.isLeapYear=function(_71e){var year=_71e.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_71f){var str=_71f.toString();var tz="";var _720;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_720=str.match(pat))){tz=_720[1];}else{str=_71f.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_720=str.match(pat))){tz=_720[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_721,_722,_723){_721=new Date(+_721);_722=new Date(+(_722||new Date()));if(_723=="date"){_721.setHours(0,0,0,0);_722.setHours(0,0,0,0);}else{if(_723=="time"){_721.setFullYear(0,0,0);_722.setFullYear(0,0,0);}}if(_721>_722){return 1;}if(_721<_722){return -1;}return 0;};dojo.date.add=function(date,_724,_725){var sum=new Date(+date);var _726=false;var _727="Date";switch(_724){case "day":break;case "weekday":var days,_728;var mod=_725%5;if(!mod){days=(_725>0)?5:-5;_728=(_725>0)?((_725-5)/5):((_725+5)/5);}else{days=mod;_728=parseInt(_725/5);}var strt=date.getDay();var adj=0;if(strt==6&&_725>0){adj=1;}else{if(strt==0&&_725<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_725>0)?2:-2;}_725=(7*_728)+days+adj;break;case "year":_727="FullYear";_726=true;break;case "week":_725*=7;break;case "quarter":_725*=3;case "month":_726=true;_727="Month";break;default:_727="UTC"+_724.charAt(0).toUpperCase()+_724.substring(1)+"s";}if(_727){sum["set"+_727](sum["get"+_727]()+_725);}if(_726&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_729,_72a,_72b){_72a=_72a||new Date();_72b=_72b||"day";var _72c=_72a.getFullYear()-_729.getFullYear();var _72d=1;switch(_72b){case "quarter":var m1=_729.getMonth();var m2=_72a.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_72c*4);_72d=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_729,_72a,"day"));var _72e=parseInt(dojo.date.difference(_729,_72a,"week"));var mod=days%7;if(mod==0){days=_72e*5;}else{var adj=0;var aDay=_729.getDay();var bDay=_72a.getDay();_72e=parseInt(days/7);mod=days%7;var _72f=new Date(_729);_72f.setDate(_72f.getDate()+(_72e*7));var _730=_72f.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 (_730+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 (_730+mod)<0:adj=2;}}}days+=adj;days-=(_72e*2);}_72d=days;break;case "year":_72d=_72c;break;case "month":_72d=(_72a.getMonth()-_729.getMonth())+(_72c*12);break;case "week":_72d=parseInt(dojo.date.difference(_729,_72a,"day")/7);break;case "day":_72d/=24;case "hour":_72d/=60;case "minute":_72d/=60;case "second":_72d/=1000;case "millisecond":_72d*=_72a.getTime()-_729.getTime();}return Math.round(_72d);};return dojo.date;});},"dojo/date/locale":function(){define(["../_base/kernel","../_base/lang","../_base/array","../date","../cldr/supplemental","../regexp","../string","../i18n!../cldr/nls/gregorian"],function(dojo,lang,_731,date,cldr,_732,_733,_734){lang.getObject("date.locale",true,dojo);function _735(_736,_737,_738,_739){return _739.replace(/([a-z])\1*/ig,function(_73a){var s,pad,c=_73a.charAt(0),l=_73a.length,_73b=["abbr","wide","narrow"];switch(c){case "G":s=_737[(l<4)?"eraAbbr":"eraNames"][_736.getFullYear()<0?0:1];break;case "y":s=_736.getFullYear();switch(l){case 1:break;case 2:if(!_738.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_736.getMonth()+1)/3);pad=true;break;case "M":var m=_736.getMonth();if(l<3){s=m+1;pad=true;}else{var _73c=["months","format",_73b[l-3]].join("-");s=_737[_73c][m];}break;case "w":var _73d=0;s=dojo.date.locale._getWeekOfYear(_736,_73d);pad=true;break;case "d":s=_736.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_736);pad=true;break;case "E":var d=_736.getDay();if(l<3){s=d+1;pad=true;}else{var _73e=["days","format",_73b[l-3]].join("-");s=_737[_73e][d];}break;case "a":var _73f=(_736.getHours()<12)?"am":"pm";s=_738[_73f]||_737["dayPeriods-format-wide-"+_73f];break;case "h":case "H":case "K":case "k":var h=_736.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=_736.getMinutes();pad=true;break;case "s":s=_736.getSeconds();pad=true;break;case "S":s=Math.round(_736.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_736,true,_738);if(s){break;}l=4;case "Z":var _740=dojo.date.locale._getZone(_736,false,_738);var tz=[(_740<=0?"+":"-"),_733.pad(Math.floor(Math.abs(_740)/60),2),_733.pad(Math.abs(_740)%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: "+_739);}if(pad){s=_733.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_741,_742,_743){if(_742){return date.getTimezoneName(_741);}else{return _741.getTimezoneOffset();}};dojo.date.locale.format=function(_744,_745){_745=_745||{};var _746=dojo.i18n.normalizeLocale(_745.locale),_747=_745.formatLength||"short",_748=dojo.date.locale._getGregorianBundle(_746),str=[],_749=lang.hitch(this,_735,_744,_748,_745);if(_745.selector=="year"){return _74a(_748["dateFormatItem-yyyy"]||"yyyy",_749);}var _74b;if(_745.selector!="date"){_74b=_745.timePattern||_748["timeFormat-"+_747];if(_74b){str.push(_74a(_74b,_749));}}if(_745.selector!="time"){_74b=_745.datePattern||_748["dateFormat-"+_747];if(_74b){str.push(_74a(_74b,_749));}}return str.length==1?str[0]:_748["dateTimeFormat-"+_747].replace(/\{(\d+)\}/g,function(_74c,key){return str[key];});};dojo.date.locale.regexp=function(_74d){return dojo.date.locale._parseInfo(_74d).regexp;};dojo.date.locale._parseInfo=function(_74e){_74e=_74e||{};var _74f=dojo.i18n.normalizeLocale(_74e.locale),_750=dojo.date.locale._getGregorianBundle(_74f),_751=_74e.formatLength||"short",_752=_74e.datePattern||_750["dateFormat-"+_751],_753=_74e.timePattern||_750["timeFormat-"+_751],_754;if(_74e.selector=="date"){_754=_752;}else{if(_74e.selector=="time"){_754=_753;}else{_754=_750["dateTimeFormat-"+_751].replace(/\{(\d+)\}/g,function(_755,key){return [_753,_752][key];});}}var _756=[],re=_74a(_754,lang.hitch(this,_757,_756,_750,_74e));return {regexp:re,tokens:_756,bundle:_750};};dojo.date.locale.parse=function(_758,_759){var _75a=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_759),_75b=info.tokens,_75c=info.bundle,re=new RegExp("^"+info.regexp.replace(_75a,"")+"$",info.strict?"":"i"),_75d=re.exec(_758&&_758.replace(_75a,""));if(!_75d){return null;}var _75e=["abbr","wide","narrow"],_75f=[1970,0,1,0,0,0,0],amPm="",_760=dojo.every(_75d,function(v,i){if(!i){return true;}var _761=_75b[i-1];var l=_761.length;switch(_761.charAt(0)){case "y":if(l!=2&&_759.strict){_75f[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_762=year.substring(0,2)*100,_763=Math.min(Number(year.substring(2,4))+20,99);_75f[0]=(v<_763)?_762+v:_762-100+v;}else{if(_759.strict){return false;}_75f[0]=v;}}break;case "M":if(l>2){var _764=_75c["months-format-"+_75e[l-3]].concat();if(!_759.strict){v=v.replace(".","").toLowerCase();_764=dojo.map(_764,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_764,v);if(v==-1){return false;}}else{v--;}_75f[1]=v;break;case "E":case "e":var days=_75c["days-format-"+_75e[l-3]].concat();if(!_759.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":_75f[1]=0;case "d":_75f[2]=v;break;case "a":var am=_759.am||_75c["dayPeriods-format-wide-am"],pm=_759.pm||_75c["dayPeriods-format-wide-pm"];if(!_759.strict){var _765=/\./g;v=v.replace(_765,"").toLowerCase();am=am.replace(_765,"").toLowerCase();pm=pm.replace(_765,"").toLowerCase();}if(_759.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;}_75f[3]=v;break;case "m":_75f[4]=v;break;case "s":_75f[5]=v;break;case "S":_75f[6]=v;}return true;});var _766=+_75f[3];if(amPm==="p"&&_766<12){_75f[3]=_766+12;}else{if(amPm==="a"&&_766==12){_75f[3]=0;}}var _767=new Date(_75f[0],_75f[1],_75f[2],_75f[3],_75f[4],_75f[5],_75f[6]);if(_759.strict){_767.setFullYear(_75f[0]);}var _768=_75b.join(""),_769=_768.indexOf("d")!=-1,_76a=_768.indexOf("M")!=-1;if(!_760||(_76a&&_767.getMonth()>_75f[1])||(_769&&_767.getDate()>_75f[2])){return null;}if((_76a&&_767.getMonth()<_75f[1])||(_769&&_767.getDate()<_75f[2])){_767=date.add(_767,"hour",1);}return _767;};function _74a(_76b,_76c,_76d,_76e){var _76f=function(x){return x;};_76c=_76c||_76f;_76d=_76d||_76f;_76e=_76e||_76f;var _770=_76b.match(/(''|[^'])+/g),_771=_76b.charAt(0)=="'";dojo.forEach(_770,function(_772,i){if(!_772){_770[i]="";}else{_770[i]=(_771?_76d:_76c)(_772.replace(/''/g,"'"));_771=!_771;}});return _76e(_770.join(""));};function _757(_773,_774,_775,_776){_776=_732.escapeString(_776);if(!_775.strict){_776=_776.replace(" a"," ?a");}return _776.replace(/([a-z])\1*/ig,function(_777){var s,c=_777.charAt(0),l=_777.length,p2="",p3="";if(_775.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=_775.am||_774["dayPeriods-format-wide-am"],pm=_775.pm||_774["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_775.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(_773){_773.push(_777);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _778=[];dojo.date.locale.addCustomFormats=function(_779,_77a){_778.push({pkg:_779,name:_77a});};dojo.date.locale._getGregorianBundle=function(_77b){var _77c={};dojo.forEach(_778,function(desc){var _77d=dojo.i18n.getLocalization(desc.pkg,desc.name,_77b);_77c=lang.mixin(_77c,_77d);},this);return _77c;};dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_77e,_77f){var _780,_781=dojo.date.locale._getGregorianBundle(_77f),_782=[item,_77e,type];if(_77e=="standAlone"){var key=_782.join("-");_780=_781[key];if(_780[0]==1){_780=undefined;}}_782[1]="format";return (_780||_781[_782.join("-")]).concat();};dojo.date.locale.isWeekend=function(_783,_784){var _785=cldr.getWeekend(_784),day=(_783||new Date()).getDay();if(_785.end<_785.start){_785.end+=7;if(day<_785.start){day+=7;}}return day>=_785.start&&day<=_785.end;};dojo.date.locale._getDayOfYear=function(_786){return date.difference(new Date(_786.getFullYear(),0,1,_786.getHours()),_786)+1;};dojo.date.locale._getWeekOfYear=function(_787,_788){if(arguments.length==1){_788=0;}var _789=new Date(_787.getFullYear(),0,1).getDay(),adj=(_789-_788+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_787)+adj-1)/7);if(_789==_788){week++;}return week;};return dojo.date.locale;});},"dojo/cldr/supplemental":function(){define(["../_base/kernel","../_base/lang","../i18n"],function(dojo,lang){lang.getObject("cldr.supplemental",true,dojo);dojo.cldr.supplemental.getFirstDayOfWeek=function(_78a){var _78b={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 _78c=dojo.cldr.supplemental._region(_78a);var dow=_78b[_78c];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_78d){_78d=dojo.i18n.normalizeLocale(_78d);var tags=_78d.split("-");var _78e=tags[1];if(!_78e){_78e={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(_78e.length==4){_78e=tags[2];}}return _78e;};dojo.cldr.supplemental.getWeekend=function(_78f){var _790={"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 _791={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 _792=dojo.cldr.supplemental._region(_78f);var _793=_790[_792];var end=_791[_792];if(_793===undefined){_793=6;}if(end===undefined){end=0;}return {start:_793,end:end};};return dojo.cldr.supplemental;});},"dijit/CalendarLite":function(){require({cache:{"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"}});define("dijit/CalendarLite",["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(_794,_795,_796,date,_797,dom,_798,_799,lang,has,_79a,win,_79b,_79c,_79d){var _79e=_795("dijit.CalendarLite",[_79b,_79c],{templateString:_79d,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(_79f){return _79f&&!isNaN(_79f)&&typeof _79f=="object"&&_79f.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){if(this.value&&!isNaN(this.value)){var _7a0=new this.dateClassObj(this.value);_7a0.setHours(0,0,0,0);if(_7a0.getDate()<this.value.getDate()){_7a0=this.dateFuncObj.add(_7a0,"hour",1);}return _7a0;}else{return null;}},_setValueAttr:function(_7a1,_7a2){if(_7a1){_7a1=new this.dateClassObj(_7a1);}if(this._isValidDate(_7a1)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_7a1,this.value)){_7a1.setHours(1,0,0,0);if(!this.isDisabledDate(_7a1,this.lang)){this._set("value",_7a1);this.set("currentFocus",_7a1);if(_7a2||typeof _7a2=="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 _7a3=new this.dateClassObj(this.currentFocus);_7a3.setDate(1);var _7a4=_7a3.getDay(),_7a5=this.dateFuncObj.getDaysInMonth(_7a3),_7a6=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_7a3,"month",-1)),_7a7=new this.dateClassObj(),_7a8=_796.getFirstDayOfWeek(this.lang);if(_7a8>_7a4){_7a8-=7;}this._date2cell={};_794.forEach(this.dateCells,function(_7a9,idx){var i=idx+_7a8;var date=new this.dateClassObj(_7a3),_7aa,_7ab="dijitCalendar",adj=0;if(i<_7a4){_7aa=_7a6-_7a4+i+1;adj=-1;_7ab+="Previous";}else{if(i>=(_7a4+_7a5)){_7aa=i-_7a4-_7a5+1;adj=1;_7ab+="Next";}else{_7aa=i-_7a4+1;_7ab+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_7aa);if(!this.dateFuncObj.compare(date,_7a7,"date")){_7ab="dijitCalendarCurrentDate "+_7ab;}if(this._isSelectedDate(date,this.lang)){_7ab="dijitCalendarSelectedDate "+_7ab;_7a9.setAttribute("aria-selected",true);}else{_7a9.setAttribute("aria-selected",false);}if(this.isDisabledDate(date,this.lang)){_7ab="dijitCalendarDisabledDate "+_7ab;_7a9.setAttribute("aria-disabled",true);}else{_7ab="dijitCalendarEnabledDate "+_7ab;_7a9.removeAttribute("aria-disabled");}var _7ac=this.getClassForDate(date,this.lang);if(_7ac){_7ab=_7ac+" "+_7ab;}_7a9.className=_7ab+"Month dijitCalendarDateTemplate";var _7ad=date.valueOf();this._date2cell[_7ad]=_7a9;_7a9.dijitDateValue=_7ad;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);this.monthWidget.set("month",_7a3);var y=_7a3.getFullYear()-1;var d=new this.dateClassObj();_794.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 _79e._MonthWidget({id:this.id+"_mw",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_7ae=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_7af=_796.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_79a.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _7ae[_7af++%7];});var r=_79a.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 _7b0=new this.dateClassObj(this.currentFocus);this._supportingWidgets.push(this.monthWidget=this._createMonthWidget());this.set("currentFocus",_7b0,false);var _7b1=lang.hitch(this,function(_7b2,part,_7b3){this.connect(this[_7b2],"onclick",function(){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_7b3));});});_7b1("incrementMonth","month",1);_7b1("decrementMonth","month",-1);_7b1("nextYearLabelNode","year",1);_7b1("previousYearLabelNode","year",-1);},_setCurrentFocusAttr:function(date,_7b4){var _7b5=this.currentFocus,_7b6=_7b5&&this._date2cell?this._date2cell[_7b5.valueOf()]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _7b7=this._date2cell[date.valueOf()];_7b7.setAttribute("tabIndex",this.tabIndex);if(this.focused||_7b4){_7b7.focus();}if(_7b6&&_7b6!=_7b7){if(has("webkit")){_7b6.setAttribute("tabIndex","-1");}else{_7b6.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){_799.stop(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_798.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},onChange:function(){},_isSelectedDate:function(_7b8){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_7b8,this.value,"date");},isDisabledDate:function(){},getClassForDate:function(){}});_79e._MonthWidget=_795("dijit.CalendarLite._MonthWidget",_79b,{_setMonthAttr:function(_7b9){var _7ba=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_7b9),_7bb=(has("ie")==6?"":"<div class='dijitSpacer'>"+_794.map(_7ba,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_7bb+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_7ba[_7b9.getMonth()]+"</div>";}});return _79e;});},"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/_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,_7bc,_7bd,_7be,lang,_7bf,_7c0,_7c1){new Date("X");var _7c2=_7be("dijit.form._DateTimeTextBox",[_7bf,_7c0],{templateString:_7c1,hasDownArrow:true,openOnClick:true,regExpGen:_7bc.regexp,datePackage:date,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _7c3=this._isInvalidDate(val1);var _7c4=this._isInvalidDate(val2);return _7c3?(_7c4?0:-1):(_7c4?1:date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_7c5,_7c6){if(!_7c5){return "";}return this.dateLocaleModule.format(_7c5,_7c6);},"parse":function(_7c7,_7c8){return this.dateLocaleModule.parse(_7c7,_7c8)||(this._isEmpty(_7c7)?null:undefined);},serialize:function(val,_7c9){if(val.toGregorian){val=val.toGregorian();}return _7bd.toISOString(val,_7c9);},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(_7ca){_7ca.selector=this._selector;_7ca.fullYear=true;var _7cb=_7bd.fromISOString;if(typeof _7ca.min=="string"){_7ca.min=_7cb(_7ca.min);}if(typeof _7ca.max=="string"){_7ca.max=_7cb(_7ca.max);}this.inherited(arguments);},_isInvalidDate:function(_7cc){return !_7cc||isNaN(_7cc)||typeof _7cc!="object"||_7cc.toString()==this._invalidDate;},_setValueAttr:function(_7cd,_7ce,_7cf){if(_7cd!==undefined){if(typeof _7cd=="string"){_7cd=_7bd.fromISOString(_7cd);}if(this._isInvalidDate(_7cd)){_7cd=null;}if(_7cd instanceof Date&&!(this.dateClassObj instanceof Date)){_7cd=new this.dateClassObj(_7cd);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_7cd,false);}},_set:function(attr,_7d0){if(attr=="value"&&this.value instanceof Date&&this.compare(_7d0,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_7d1){if(this.dropDown){this.dropDown.destroy();}var _7d2=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_7d3=this,_7d4=this.get("value");this.dropDown=new _7d2({onChange:function(_7d5){_7d3.set("value",_7d5,true);},id:this.id+"_popup",dir:_7d3.dir,lang:_7d3.lang,value:_7d4,currentFocus:!this._isInvalidDate(_7d4)?_7d4:this.dropDownDefaultValue,constraints:_7d3.constraints,filterString:_7d3.filterString,datePackage:_7d3.datePackage,isDisabledDate:function(date){return !_7d3.rangeCheck(date,_7d3.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_7d6,_7d7){this._setValueAttr(this.parse(_7d6,this.constraints),_7d7,_7d6);}});return _7c2;});},"dijit/form/TimeTextBox":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_7d8,keys,lang,_7d9,_7da){return _7d8("dijit.form.TimeTextBox",_7da,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_7d9,_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/_TimePicker":function(){require({cache:{"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"}});define("dijit/_TimePicker",["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(_7db,_7dc,_7dd,_7de,_7df,_7e0,_7e1,_7e2,_7e3,keys,lang,has,_7e4,_7e5,_7e6,_7e7,_7e8,_7e9){return _7df("dijit._TimePicker",[_7e6,_7e7],{templateString:_7e9,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:_7de.toISOString,setValue:function(_7ea){_7e3.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_7ea);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_7eb,_7ec,_7ed,_7ee){var _7ef=[],_7f0=_7ee?_7ee.date:this._refDate,n,i=_7eb,max=this._maxIncrement+Math.abs(i),chk=_7ed?-1:1,dec=_7ed?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_7ed&&n.date>_7f0)||(!_7ed&&n.date<_7f0)){break;}_7ef[_7ed?"unshift":"push"](n);_7f0=n.date;}i+=inc;}while(_7ef.length<_7ec&&(i*chk)<max);return _7ef;},_showText:function(){var _7f1=_7de.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_7f1(this.clickableIncrement);this._visibleIncrementDate=_7f1(this.visibleIncrement);this._visibleRangeDate=_7f1(this.visibleRange);var _7f2=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_7f3=_7f2(this._clickableIncrementDate),_7f4=_7f2(this._visibleIncrementDate),_7f5=_7f2(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_7f3*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_7f5/_7f3;this._visibleIncrement=_7f4/_7f3;this._maxIncrement=(60*60*24)/_7f3;var _7f6=Math.min(this._totalIncrements,10),_7f7=this._getFilteredNodes(0,(_7f6>>1)+1,false),_7f8=[],_7f9=_7f6-_7f7.length,_7fa=this._getFilteredNodes(0,_7f9,true,_7f7[0]);if(_7fa.length<_7f9&&_7f7.length>0){_7f8=this._getFilteredNodes(_7f7.length,_7f9-_7fa.length,false,_7f7[_7f7.length-1]);}_7db.forEach(_7fa.concat(_7f7,_7f8),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_7fb){for(var key in {clickableIncrement:1,visibleIncrement:1,visibleRange:1}){if(key in _7fb){this[key]=_7fb[key];}}if(!_7fb.locale){_7fb.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("ie")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_7e5.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_7e5.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_7e0.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_7fc){var date=new Date(this._refDate);var _7fd=this._clickableIncrementDate;date.setHours(date.getHours()+_7fd.getHours()*_7fc,date.getMinutes()+_7fd.getMinutes()*_7fc,date.getSeconds()+_7fd.getSeconds()*_7fc);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _7fe=_7dd.format(date,this.constraints);if(this.filterString&&_7fe.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_7e1.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_7fc;_7e1.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_7fe},div);if(_7fc%this._visibleIncrement<1&&_7fc%this._visibleIncrement>-1){_7e0.add(div,this.baseClass+"Marker");}else{if(!(_7fc%this._clickableIncrement)){_7e0.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_7e0.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_7dc.compare(this.value,date,this.constraints.selector)){div.selected=true;_7e0.add(div,this.baseClass+"ItemSelected");if(_7e0.contains(div,this.baseClass+"Marker")){_7e0.add(div,this.baseClass+"MarkerSelected");}else{_7e0.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _7ff=tgt.target.date||tgt.target.parentNode.date;if(!_7ff||this.isDisabledDate(_7ff)){return;}this._highlighted_option=null;this.set("value",_7ff);this.onChange(_7ff);},onChange:function(){},_highlightOption:function(node,_800){if(!node){return;}if(_800){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;}}_7e0.toggle(node,this.baseClass+"ItemHover",_800);if(_7e0.contains(node,this.baseClass+"Marker")){_7e0.toggle(node,this.baseClass+"MarkerHover",_800);}else{_7e0.toggle(node,this.baseClass+"TickHover",_800);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_7e0.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;_7e2.stop(e);var _801=(has("ie")?e.wheelDelta:-e.detail);this[(_801>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_802){if(typeof _802=="number"&&_802==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _803=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_803,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(_804){if(typeof _804=="number"&&_804==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _805=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_805,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){if(e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.UP_ARROW){_7e2.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _806=this.timeMenu,tgt=this._highlighted_option||_7e4("."+this.baseClass+"ItemSelected",_806)[0];if(!tgt){tgt=_806.childNodes[0];}else{if(_806.childNodes.length){if(e.keyCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.keyCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.keyCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.keyCode==keys.ENTER||e.keyCode===keys.TAB){if(!this._keyboardSelected&&e.keyCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.keyCode===keys.TAB;}}return undefined;}});});},"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/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_807,_808,keys,_809,_80a){return _807("dijit.form.NumberSpinner",[_809,_80a.Mixin],{adjust:function(val,_80b){var tc=this.constraints,v=isNaN(val),_80c=!isNaN(tc.max),_80d=!isNaN(tc.min);if(v&&_80b!=0){val=(_80b>0)?_80d?tc.min:_80c?tc.max:0:_80c?this.constraints.max:_80d?tc.min:0;}var _80e=val+_80b;if(v||isNaN(_80e)){return val;}if(_80c&&(_80e>tc.max)){_80e=tc.max;}if(_80d&&(_80e<tc.min)){_80e=tc.min;}return _80e;},_onKeyPress:function(e){if((e.charOrCode==keys.HOME||e.charOrCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _80f=this.constraints[(e.charOrCode==keys.HOME?"min":"max")];if(typeof _80f=="number"){this._setValueAttr(_80f,false);}_808.stop(e);}}});});},"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(_810,_811,keys,lang,has,_812,_813,_814,_815){return _810("dijit.form._Spinner",_813,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_814,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_816,_817,_818){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_817*_818),false);_815.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_819,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(_819==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){_811.stop(evt);var _81a=evt.wheelDelta/120;if(Math.floor(_81a)!=_81a){_81a=evt.wheelDelta>0?1:-1;}var _81b=evt.detail?(evt.detail*-1):_81a;if(_81b!==0){var node=this[(_81b>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_81b,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(_812.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(_812.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(_812.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(_812.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));}});});},"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/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_81c,_81d,_81e){return _81c("dijit.form.ComboBox",[_81d,_81e],{});});},"dijit/form/MultiSelect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/query","./_FormValueWidget"],function(_81f,_820,_821,_822,_823){return _820("dijit.form.MultiSelect",_823,{size:7,templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_824){_824.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _825=_824.domNode.scrollTop;_824.domNode.scrollTop=0;_824.domNode.scrollTop=_825;},this);this._set("value",this.get("value"));},getSelected:function(){return _822("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _81f.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_826,_827){_822("option",this.containerNode).forEach(function(n){n.selected=(_81f.indexOf(_826,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_828){var val=[];_822("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_828===false||_828==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_821.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});});},"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(_829,_82a,_82b,_82c,_82d,_82e,_82f,i18n,lang,_830,_831,Menu,_832,_833,_834,_835){var _836=_82a("dijit.form._SelectMenu",Menu,{buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=_82d.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}}));if(o.parentNode){o.parentNode.replaceChild(n,o);}_82c.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",_82f.stop);},resize:function(mb){if(mb){_82e.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _837=_82a("dijit.form.Select",[_830,_831],{baseClass:"dijitSelect",templateString:_835,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 _836({id:this.id+"_menu"});_82c.add(this.dropDown.domNode,this.baseClass+"Menu");},_getMenuItemForOption:function(_838){if(!_838.value&&!_838.label){return new _833();}else{var _839=lang.hitch(this,"_setValueAttr",_838);var item=new _832({option:_838,label:_838.label||this.emptyLabel,onClick:_839,disabled:_838.disabled||false});item.focusNode.setAttribute("role","listitem");return item;}},_addOptionItem:function(_83a){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_83a));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_83b){if(_83b===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_829.forEach(this._getChildren(),function(_83c){_83c.destroyRecursive();});var item=new _832({label:"&#160;"});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value);}},_setValueAttr:function(_83d){this.inherited(arguments);_82b.set(this.valueNode,"value",this.get("value"));this.validate(this.focused);},_setDisabledAttr:function(_83e){this.inherited(arguments);this.validate(this.focused);},_setRequiredAttr:function(_83f){this._set("required",_83f);this.focusNode.setAttribute("aria-required",_83f);this.validate(this.focused);},_setDisplay:function(_840){var lbl=_840||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";this.focusNode.setAttribute("aria-valuetext",lbl);},validate:function(_841){var _842=this.disabled||this.isValid(_841);this._set("state",_842?"":"Incomplete");this.focusNode.setAttribute("aria-invalid",_842?"false":"true");var _843=_842?"":this._missingMsg;if(_843&&this.focused&&this._hasBeenBlurred){_834.show(_843,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_834.hide(this.domNode);}this._set("message",_843);return _842;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_834.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",_82f.stop);},_setStyleAttr:function(_844){this.inherited(arguments);_82c.toggle(this.domNode,this.baseClass+"FixedWidth",!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_845){this._loadChildren(true);this._isLoaded=true;_845();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_846){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_846);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_834.hide(this.domNode);this.inherited(arguments);}});_837._Menu=_836;return _837;});},"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(_847,_848,_849,_84a,dom,_84b,_84c,lang,_84d,_84e){return _84a("dijit.form._FormSelectWidget",_84e,{multiple:false,options:null,store:null,query:null,queryOptions:null,onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,getOptions:function(_84f){var _850=_84f,opts=this.options||[],l=opts.length;if(_850===undefined){return opts;}if(lang.isArray(_850)){return _847.map(_850,"return this.getOptions(item);",this);}if(lang.isObject(_84f)){if(!_847.some(this.options,function(o,idx){if(o===_850||(o.value&&o.value===_850.value)){_850=idx;return true;}return false;})){_850=-1;}}if(typeof _850=="string"){for(var i=0;i<l;i++){if(opts[i].value===_850){_850=i;break;}}}if(typeof _850=="number"&&_850>=0&&_850<l){return this.options[_850];}return null;},addOption:function(_851){if(!lang.isArray(_851)){_851=[_851];}_847.forEach(_851,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_852){if(!lang.isArray(_852)){_852=[_852];}var _853=this.getOptions(_852);_847.forEach(_853,function(i){if(i){this.options=_847.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_854){if(!lang.isArray(_854)){_854=[_854];}_847.forEach(_854,function(i){var _855=this.getOptions(i),k;if(_855){for(k in i){_855[k]=i[k];}}},this);this._loadChildren();},setStore:function(_856,_857,_858){var _859=this.store;_858=_858||{};if(_859!==_856){var h;while(h=this._notifyConnections.pop()){h.remove();}if(_856&&_856.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_848.after(_856,"onNew",lang.hitch(this,"_onNewItem"),true),_848.after(_856,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_848.after(_856,"onSet",lang.hitch(this,"_onSetItem"),true)];}this._set("store",_856);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_856){this._loadingStore=true;_856.fetch(lang.delegate(_858,{onComplete:function(_85a,opts){if(this.sortByLabel&&!_858.sort&&_85a.length){_85a.sort(_849.createSortFunction([{attribute:_856.getLabelAttributes(_85a[0])[0]}],_856));}if(_858.onFetch){_85a=_858.onFetch.call(this,_85a,opts);}_847.forEach(_85a,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_857);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_85a);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _859;},_setValueAttr:function(_85b,_85c){if(this._loadingStore){this._pendingValue=_85b;return;}var opts=this.getOptions()||[];if(!lang.isArray(_85b)){_85b=[_85b];}_847.forEach(_85b,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_85b[idx]=_847.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_85b=_847.filter(_85b,function(i){return i&&i.value;});if(!this.multiple&&(!_85b[0]||!_85b[0].value)&&opts.length){_85b[0]=opts[0];}_847.forEach(opts,function(i){i.selected=_847.some(_85b,function(v){return v.value===i.value;});});var val=_847.map(_85b,function(i){return i.value;}),disp=_847.map(_85b,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,_85c);},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_847.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;}_847.forEach(this._getChildren(),function(_85d){_85d.destroyRecursive();});_847.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]){_847.forEach(this._getChildren(),function(_85e){var _85f=_847.some(val,function(v){return _85e.option&&(v===_85e.option.value);});_84b.toggle(_85e.domNode,this.baseClass+"SelectedOption",_85f);_85e.domNode.setAttribute("aria-selected",_85f);},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_847.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 _847.map(_847.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_860){if(!_860||!_860.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _861=this.store;this.removeOption(_861.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _862=this.store,_863=_862.getLabel(item),_864=(_863?_862.getIdentity(item):null);return {value:_864,label:_863,item:item};},_addOptionForItem:function(item){var _865=this.store;if(!_865.isItemLoaded(item)){_865.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _866=this._getOptionObjForItem(item);this.addOption(_866);},constructor:function(_867){this._oValue=(_867||{}).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?_84d("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_84c._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 _868=this.store,_869={};_847.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_869[i]=this[i];}delete this[i];},this);if(_868&&_868.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_868,this._oValue,_869);}},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(){}});});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _86a=lang.getObject("dojo.data.util.sorter",true);_86a.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;};_86a.createSortFunction=function(_86b,_86c){var _86d=[];function _86e(attr,dir,comp,s){return function(_86f,_870){var a=s.getValue(_86f,attr);var b=s.getValue(_870,attr);return dir*comp(a,b);};};var _871;var map=_86c.comparatorMap;var bc=_86a.basicComparator;for(var i=0;i<_86b.length;i++){_871=_86b[i];var attr=_871.attribute;if(attr){var dir=(_871.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_86d.push(_86e(attr,dir,comp,_86c));}}return function(rowA,rowB){var i=0;while(i<_86d.length){var ret=_86d[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _86a;});},"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/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(_872,_873,move,_874,fx,_875,_876,keys,lang,has,_877,_878,_879,_87a,_87b,_87c,_87d,_87e,_87f,_880){var _881=_873("dijit.form._SliderMover",_878,{onMouseMove:function(e){var _882=this.widget;var _883=_882._abspos;if(!_883){_883=_882._abspos=_875.position(_882.sliderBarContainer,true);_882._setPixelValue_=lang.hitch(_882,"_setPixelValue");_882._isReversed_=_882._isReversed();}var _884=e[_882._mousePixelCoord]-_883[_882._startingPixelCoord];_882._setPixelValue_(_882._isReversed_?(_883[_882._pixelCount]-_884):_884,_883[_882._pixelCount],false);},destroy:function(e){_878.prototype.destroy.apply(this,arguments);var _885=this.widget;_885._abspos=null;_885._setValueAttr(_885.value,true);}});var _886=_873("dijit.form.HorizontalSlider",[_87e,_87f],{templateString:_880,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_87a.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;}_874.stop(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_87b.focus(this.sliderHandle);}_874.stop(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_87b.focus(this.sliderHandle);_874.stop(e);var _887=_875.position(this.sliderBarContainer,true);var _888=e[this._mousePixelCoord]-_887[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_887[this._pixelCount]-_888):_888,_887[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_889,_88a,_88b){if(this.disabled||this.readOnly){return;}var _88c=this.discreteValues;if(_88c<=1||_88c==Infinity){_88c=_88a;}_88c--;var _88d=_88a/_88c;var _88e=Math.round(_889/_88d);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_88e/_88c+this.minimum,this.maximum),this.minimum),_88b);},_setValueAttr:function(_88f,_890){this._set("value",_88f);this.valueNode.value=_88f;this.focusNode.setAttribute("aria-valuenow",_88f);this.inherited(arguments);var _891=(_88f-this.minimum)/(this.maximum-this.minimum);var _892=(this._descending===false)?this.remainingBar:this.progressBar;var _893=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_890&&this.slideDuration>0&&_892.style[this._progressPixelSize]){var _894=this;var _895={};var _896=parseFloat(_892.style[this._progressPixelSize]);var _897=this.slideDuration*(_891-_896/100);if(_897==0){return;}if(_897<0){_897=0-_897;}_895[this._progressPixelSize]={start:_896,end:_891*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_892,duration:_897,onAnimate:function(v){_893.style[_894._progressPixelSize]=(100-parseFloat(v[_894._progressPixelSize]))+"%";},onEnd:function(){delete _894._inProgressAnim;},properties:_895});this._inProgressAnim.play();}else{_892.style[this._progressPixelSize]=(_891*100)+"%";_893.style[this._progressPixelSize]=((1-_891)*100)+"%";}},_bumpValue:function(_898,_899){if(this.disabled||this.readOnly){return;}var s=_876.getComputedStyle(this.sliderBarContainer);var c=_875.getContentBox(this.sliderBarContainer,s);var _89a=this.discreteValues;if(_89a<=1||_89a==Infinity){_89a=c[this._pixelCount];}_89a--;var _89b=(this.value-this.minimum)*_89a/(this.maximum-this.minimum)+_898;if(_89b<0){_89b=0;}if(_89b>_89a){_89b=_89a;}_89b=_89b*(this.maximum-this.minimum)/_89a+this.minimum;this._setValueAttr(_89b,_899);},_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){_874.stop(evt);var _89c=!has("mozilla");var _89d=evt[(_89c?"wheelDelta":"detail")]*(_89c?1:-1);this._bumpValue(_89d<0?-1:1,true);},startup:function(){if(this._started){return;}_872.forEach(this.getChildren(),function(_89e){if(this[_89e.container]!=this.containerNode){this[_89e.container].appendChild(_89e.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_89f,_8a0,e){if(_89f==-1){this._setValueAttr(this.value,true);}else{this[(_8a0==(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 _8a1=_879("label[for=\""+this.id+"\"]");if(_8a1.length){_8a1[0].id=(this.id+"_label");this.focusNode.setAttribute("aria-labelledby",_8a1[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(_87c.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));this._connects.push(_87c.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _8a2=_873(_881,{widget:this});this._movable=new _877(this.sliderHandle,{mover:_8a2});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this._supportingWidgets=_87a.findWidgets(this.domNode);this.inherited(arguments);}});_886._Mover=_881;return _886;});},"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,_8a3){if(!_8a3){_8a3={};}this.constraints=_8a3.constraints;this.within=_8a3.within;},onFirstMove:function(_8a4){var c=this.constraintBox=this.constraints.call(this,_8a4);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo._getMarginSize(_8a4.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_8a5,_8a6){var c=this.constraintBox,s=_8a5.node.style;this.onMoving(_8a5,_8a6);_8a6.l=_8a6.l<c.l?c.l:c.r<_8a6.l?c.r:_8a6.l;_8a6.t=_8a6.t<c.t?c.t:c.b<_8a6.t?c.b:_8a6.t;s.left=_8a6.l+"px";s.top=_8a6.t+"px";this.onMoved(_8a5,_8a6);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},constructor:function(node,_8a7){var box=_8a7&&_8a7.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",constructor:function(node,_8a8){var area=_8a8&&_8a8.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;});},"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","dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_8a9,_8aa,_8ab){return _8a9("dijit.form.VerticalSlider",_8aa,{templateString:_8ab,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"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/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_8ac,_8ad,_8ae){return _8ac("dijit.form.HorizontalRule",[_8ad,_8ae],{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 _8af;if(this.count==1){_8af=this._genHTML(50,0);}else{var i;var _8b0=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_8af=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_8af+=this._genHTML(_8b0*i,i);}_8af+=this._genHTML(100,this.count-1);}else{_8af=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_8af+=this._genHTML(100-_8b0*i,i);}_8af+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_8af;}});});},"dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_8b1,_8b2){return _8b1("dijit.form.VerticalRule",_8b2,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/HorizontalRuleLabels":function(){define(["dojo/_base/declare","dojo/number","dojo/query","./HorizontalRule"],function(_8b3,_8b4,_8b5,_8b6){return _8b3("dijit.form.HorizontalRuleLabels",_8b6,{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 _8b7=this.labels;if(!_8b7.length){_8b7=_8b5("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_8b7.length&&this.count>1){var _8b8=this.minimum;var inc=(this.maximum-_8b8)/(this.count-1);for(var i=0;i<this.count;i++){_8b7.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_8b4.format(_8b8,this.constraints));_8b8+=inc;}}return _8b7;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_8b9,_8ba){return _8b9("dijit.form.VerticalRuleLabels",_8ba,{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/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_8bb,_8bc,has,win,_8bd){return _8bb("dijit.form.SimpleTextarea",_8bd,{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){_8bc.add(this.textbox,"dijitTextAreaCols");}},filter:function(_8be){if(_8be){_8be=_8be.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _8bf=parseInt(this.maxLength);var _8c0=this.textbox.value.replace(/\r/g,"");var _8c1=_8c0.length-_8bf;if(_8c1>0){var _8c2=this.textbox;if(_8c2.selectionStart){var pos=_8c2.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_8c0.substring(0,pos-_8c1-cr)+_8c0.substring(pos-cr);_8c2.setSelectionRange(pos-_8c1,pos-_8c1);}else{if(win.doc.selection){_8c2.focus();var _8c3=win.doc.selection.createRange();_8c3.moveStart("character",-_8c1);_8c3.text="";_8c3.select();}}}}this.inherited(arguments);}});});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_8c4,_8c5,_8c6,_8c7){return _8c4("dijit.form.Textarea",[_8c7,_8c6],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_8c5.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});});},"dijit/form/_ExpandingTextAreaMixin":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/_base/window"],function(_8c8,_8c9,lang,win){var _8ca;return _8c8("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _8cb=this.textbox;if(_8ca==undefined){var te=_8c9.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},win.body(),"last");_8ca=te.scrollHeight>=te.clientHeight;win.body().removeChild(te);}this.connect(_8cb,"onresize","_resizeLater");this.connect(_8cb,"onfocus","_resizeLater");_8cb.style.overflowY="hidden";},startup:function(){this.inherited(arguments);this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _8cc=this.textbox;_8cc.rows=(_8cc.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _8cd=this.textbox;function _8ce(){var _8cf=false;if(_8cd.value===""){_8cd.value=" ";_8cf=true;}var sh=_8cd.scrollHeight;if(_8cf){_8cd.value="";}return sh;};if(_8cd.style.overflowY=="hidden"){_8cd.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_8ce()||_8cd.offsetHeight){var newH=_8ce()+Math.max(_8cd.offsetHeight-_8cd.clientHeight,0);var _8d0=newH+"px";if(_8d0!=_8cd.style.height){_8cd.style.height=_8d0;_8cd.rows=1;}if(_8ca){var _8d1=_8ce(),_8d2=_8d1,_8d3=_8cd.style.minHeight,_8d4=4,_8d5,_8d6=_8cd.scrollTop;_8cd.style.minHeight=_8d0;_8cd.style.height="auto";while(newH>0){_8cd.style.minHeight=Math.max(newH-_8d4,4)+"px";_8d5=_8ce();var _8d7=_8d2-_8d5;newH-=_8d7;if(_8d7<_8d4){break;}_8d2=_8d5;_8d4<<=1;}_8cd.style.height=newH+"px";_8cd.style.minHeight=_8d3;_8cd.scrollTop=_8d6;}_8cd.style.overflowY=_8ce()>_8cd.clientHeight?"auto":"hidden";if(_8cd.style.overflowY=="hidden"){_8cd.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});});},"dijit/layout/AccordionContainer":function(){define(["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(_8d8,_8d9,_8da,_8db,fx,dom,_8dc,_8dd,_8de,_8df,_8e0,keys,lang,has,_8e1,_8e2,_8e3,_8e4,_8e5,_8e6,_8e7,_8e8,_8e9,_8ea,_8eb){var _8ec=_8da("dijit.layout._AccordionButton",[_8e5,_8e7,_8e8],{templateString:_8eb,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 _8ed=this.id.replace(" ","_");_8dc.set(this.titleTextNode,"id",_8ed+"_title");this.focusNode.setAttribute("aria-labelledby",_8dc.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _8df.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _8ee=this.getParent();_8ee.selectChild(this.contentWidget,true);_8e2.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_8ef){this._set("selected",_8ef);this.focusNode.setAttribute("aria-expanded",_8ef);this.focusNode.setAttribute("aria-selected",_8ef);this.focusNode.setAttribute("tabIndex",_8ef?"0":"-1");}});var _8f0=_8da("dijit.layout._AccordionInnerContainer",[_8e5,_8e8],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_8de.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _8f1=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_8f1._buttonWidget=(new cls({contentWidget:_8f1,label:_8f1.title,title:_8f1.tooltip,dir:_8f1.dir,lang:_8f1.lang,textDir:_8f1.textDir,iconClass:_8f1.iconClass,id:_8f1.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_8de.place("<div class='dijitAccordionChildWrapper' style='display:none'>",this.domNode);_8de.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _8f2=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_8f3,_8f4){_8f2.set("label",_8f4);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_8f5,_8f6){_8f2.set("title",_8f6);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_8f7,_8f8){_8f2.set("iconClass",_8f8);}))];},_setSelectedAttr:function(_8f9){this._set("selected",_8f9);this.button.set("selected",_8f9);if(_8f9){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_8d9.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_8fa){this.contentWidget.destroyRecursive(_8fa);}});var _8fb=_8da("dijit.layout.AccordionContainer",_8e9,{duration:_8e3.defaultDuration,buttonWidget:_8ec,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 _8fc=this.selectedChildWidget.containerNode.style;_8fc.display="";_8fc.overflow="auto";this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _8fd=this.selectedChildWidget;if(!_8fd){return;}var _8fe=_8fd._wrapperWidget.domNode,_8ff=_8df.getMarginExtents(_8fe),_900=_8df.getPadBorderExtents(_8fe),_901=_8fd._wrapperWidget.containerNode,_902=_8df.getMarginExtents(_901),_903=_8df.getPadBorderExtents(_901),_904=this._contentBox;var _905=0;_8d9.forEach(this.getChildren(),function(_906){if(_906!=_8fd){_905+=_8df.getMarginSize(_906._wrapperWidget.domNode).h;}});this._verticalSpace=_904.h-_905-_8ff.h-_900.h-_902.h-_903.h-_8fd._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_8ff.w-_900.w-_902.w-_903.w};if(_8fd){_8fd.resize(this._containerContentBox);}},_setupChild:function(_907){_907._wrapperWidget=_8f0({contentWidget:_907,buttonWidget:this.buttonWidget,id:_907.id+"_wrapper",dir:_907.dir,lang:_907.lang,textDir:_907.textDir,parent:this});this.inherited(arguments);},addChild:function(_908,_909){if(this._started){var _90a=this.containerNode;if(_909&&typeof _909=="number"){var _90b=_8e5.prototype.getChildren.call(this);if(_90b&&_90b.length>=_909){_90a=_90b[_909-1].domNode;_909="after";}}_8de.place(_908.domNode,_90a,_909);if(!_908._started){_908.startup();}this._setupChild(_908);_8e1.publish(this.id+"-addChild",_908,_909);this.layout();if(!this.selectedChildWidget){this.selectChild(_908);}}else{this.inherited(arguments);}},removeChild:function(_90c){if(_90c._wrapperWidget){_8de.place(_90c.domNode,_90c._wrapperWidget.domNode,"after");_90c._wrapperWidget.destroy();delete _90c._wrapperWidget;}_8dd.remove(_90c.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _8d9.map(this.inherited(arguments),function(_90d){return _90d.declaredClass=="dijit.layout._AccordionInnerContainer"?_90d.contentWidget:_90d;},this);},destroy:function(){if(this._animation){this._animation.stop();}_8d9.forEach(this.getChildren(),function(_90e){if(_90e._wrapperWidget){_90e._wrapperWidget.destroy();}else{_90e.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_90f){_90f._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_910){_910._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_911,_912,_913){if(has("ie")<8){_913=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_911){_911._wrapperWidget.set("selected",true);var d=this._showChild(_911);if(this.doLayout&&_911.resize){_911.resize(this._containerContentBox);}}if(_912){_912._wrapperWidget.set("selected",false);if(!_913){this._hideChild(_912);}}if(_913){var _914=_911._wrapperWidget.containerNode,_915=_912._wrapperWidget.containerNode;var _916=_911._wrapperWidget.containerNode,_917=_8df.getMarginExtents(_916),_918=_8df.getPadBorderExtents(_916),_919=_917.h+_918.h;_915.style.height=(self._verticalSpace-_919)+"px";this._animation=new fx.Animation({node:_914,duration:this.duration,curve:[1,this._verticalSpace-_919-1],onAnimate:function(_91a){_91a=Math.floor(_91a);_914.style.height=_91a+"px";_915.style.height=(self._verticalSpace-_919-_91a)+"px";},onEnd:function(){delete self._animation;_914.style.height="auto";_912._wrapperWidget.containerNode.style.display="none";_915.style.height="auto";self._hideChild(_912);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_91b){if(this.disabled||e.altKey||!(_91b||e.ctrlKey)){return;}var c=e.charOrCode;if((_91b&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_8db.stop(e);}else{if((_91b&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_8db.stop(e);}}}});if(!_8e0.isAsync){_8e4(0,function(){var _91c=["dijit/layout/AccordionPane"];_8d8(_91c);});}_8fb._InnerContainer=_8f0;_8fb._Button=_8ec;return _8fb;});},"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(_91d,_91e,_91f,_920,_921,lang,_922,_923,_924,_925,_926){if(!_921.isAsync){_922(0,function(){var _927=["dijit/layout/StackController"];require(_927);});}lang.extend(_925,{selected:false,closable:false,iconClass:"dijitNoIcon",showTitle:true});return _91f("dijit.layout.StackContainer",_926,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_920.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 _928=this.getChildren();_91d.forEach(_928,this._setupChild,this);if(this.persist){this.selectedChildWidget=_924.byId(_91e(this.id+"_selectedChild"));}else{_91d.some(_928,function(_929){if(_929.selected){this.selectedChildWidget=_929;}return _929.selected;},this);}var _92a=this.selectedChildWidget;if(!_92a&&_928[0]){_92a=this.selectedChildWidget=_928[0];_92a.selected=true;}_923.publish(this.id+"-startup",{children:_928,selected:_92a});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _92b=this.selectedChildWidget;if(_92b){this._showChild(_92b);}}this.inherited(arguments);},_setupChild:function(_92c){this.inherited(arguments);_920.replace(_92c.domNode,"dijitHidden","dijitVisible");_92c.domNode.title="";},addChild:function(_92d,_92e){this.inherited(arguments);if(this._started){_923.publish(this.id+"-addChild",_92d,_92e);this.layout();if(!this.selectedChildWidget){this.selectChild(_92d);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_923.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _92f=this.getChildren();if(_92f.length){this.selectChild(_92f[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_930){page=_924.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_930);this._set("selectedChildWidget",page);_923.publish(this.id+"-selectChild",page);if(this.persist){_91e(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_931,_932){if(_932){this._hideChild(_932);}var d=this._showChild(_931);if(_931.resize){if(this.doLayout){_931.resize(this._containerContentBox||this._contentBox);}else{_931.resize();}}return d;},_adjacent:function(_933){var _934=this.getChildren();var _935=_91d.indexOf(_934,this.selectedChildWidget);_935+=_933?1:_934.length-1;return _934[_935%_934.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_923.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _936=this.selectedChildWidget;if(_936&&_936.resize){if(this.doLayout){_936.resize(this._containerContentBox||this._contentBox);}else{_936.resize();}}},_showChild:function(page){var _937=this.getChildren();page.isFirstChild=(page==_937[0]);page.isLastChild=(page==_937[_937.length-1]);page._set("selected",true);_920.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_920.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _938=page.onClose(this,page);if(_938){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_939){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_91d.forEach(this.getChildren(),function(_93a){if(!_939){this.removeChild(_93a);}_93a.destroyRecursive(_939);},this);this._descendantsBeingDestroyed=false;}});});},"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/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(_93b,_93c,_93d,_93e,_93f,_940,_941,_942,keys,lang,on,_943,win,_944,_945,_946,_947,_948){var _949=_93d("dijit.layout._Splitter",[_945,_946],{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);_93e.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _94a=_93c(this._cookieName);if(_94a){this.child.domNode.style[this.horizontal?"height":"width"]=_94a;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_94b=_940.getMarginBox(this.child.domNode)[dim],_94c=_93b.filter(this.container.getChildren(),function(_94d){return _94d.region=="center";})[0],_94e=_940.getMarginBox(_94c.domNode)[dim];return Math.min(this.child.maxSize,_94b+_94e);},_startDrag:function(e){if(!this.cover){this.cover=win.doc.createElement("div");_93e.add(this.cover,"dijitSplitterCover");_93f.place(this.cover,this.child.domNode,"after");}_93e.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_93f.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_93e.add(this.domNode,"dijitSplitterShadow");_93f.place(this.fake,this.domNode,"after");}_93e.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_93e.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _94f=this._factor,_950=this.horizontal,axis=_950?"pageY":"pageX",_951=e[axis],_952=this.domNode.style,dim=_950?"h":"w",_953=_940.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_954=this.region,_955=_954=="top"||_954=="bottom"?"top":"left",_956=parseInt(_952[_955],10),_957=this._resize,_958=lang.hitch(this.container,"_layoutChildren",this.child.id),de=win.doc;this._handlers=this._handlers.concat([on(de,_943.move,this._drag=function(e,_959){var _95a=e[axis]-_951,_95b=_94f*_95a+_953,_95c=Math.max(Math.min(_95b,max),min);if(_957||_959){_958(_95c);}_952[_955]=_95a+_956+_94f*(_95c-_95b)+"px";}),on(de,"dragstart",_942.stop),on(win.body(),"selectstart",_942.stop),on(de,_943.release,lang.hitch(this,"_stopDrag"))]);_942.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_93e.toggle(this.domNode,"dijitSplitterHover",o);_93e.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_93e.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_93f.destroy(this.fake);}_93e.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){_93c(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 _95d=this.horizontal;var tick=1;switch(e.charOrCode){case _95d?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _95d?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _95e=_940.getMarginSize(this.child.domNode)[_95d?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_95e,this._computeMaxSize()),this.child.minSize));_942.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _95f=_93d("dijit.layout._Gutter",[_945,_946],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_93e.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _960=_93d("dijit.layout.BorderContainer",_947,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_949,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_93b.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_961){var _962=_961.region;if(_962){this.inherited(arguments);_93e.add(_961.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_962=="leading"){_962=ltr?"left":"right";}if(_962=="trailing"){_962=ltr?"right":"left";}if(_962!="center"&&(_961.splitter||this.gutters)&&!_961._splitterWidget){var _963=_961.splitter?this._splitterClass:_95f;if(lang.isString(_963)){_963=lang.getObject(_963);}var _964=new _963({id:_961.id+"_splitter",container:this,child:_961,region:_962,live:this.liveSplitters});_964.isSplitter=true;_961._splitterWidget=_964;_93f.place(_964.domNode,_961.domNode,"after");_964.startup();}_961.region=_962;}},layout:function(){this._layoutChildren();},addChild:function(_965,_966){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_967){var _968=_967.region;var _969=_967._splitterWidget;if(_969){_969.destroy();delete _967._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_93e.remove(_967.domNode,this.baseClass+"Pane");_941.set(_967.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_941.set(_967.domNode,_968=="top"||_968=="bottom"?"width":"height","auto");},getChildren:function(){return _93b.filter(this.inherited(arguments),function(_96a){return !_96a.isSplitter;});},getSplitter:function(_96b){return _93b.filter(this.getChildren(),function(_96c){return _96c.region==_96b;})[0]._splitterWidget;},resize:function(_96d,_96e){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_941.getComputedStyle(node);this.pe=_940.getPadExtents(node,this.cs);this.pe.r=_941.toPixelValue(node,this.cs.paddingRight);this.pe.b=_941.toPixelValue(node,this.cs.paddingBottom);_941.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_96f,_970){if(!this._borderBox||!this._borderBox.h){return;}var _971=_93b.map(this.getChildren(),function(_972,idx){return {pane:_972,weight:[_972.region=="center"?Infinity:0,_972.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_972.region)?1:-1),idx]};},this);_971.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 _973=[];_93b.forEach(_971,function(_974){var pane=_974.pane;_973.push(pane);if(pane._splitterWidget){_973.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};_948.layoutChildren(this.domNode,dim,_973,_96f,_970);},destroyRecursive:function(){_93b.forEach(this.getChildren(),function(_975){var _976=_975._splitterWidget;if(_976){_976.destroy();}delete _975._splitterWidget;});this.inherited(arguments);}});lang.extend(_944,{region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity});_960._Splitter=_949;_960._Gutter=_95f;return _960;});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","../_WidgetBase","./_LayoutWidget","./utils"],function(_977,lang,_978,_979,_97a,_97b){lang.extend(_979,{layoutAlign:"none"});return _978("dijit.layout.LayoutContainer",_97a,{baseClass:"dijitLayoutContainer",constructor:function(){_977.deprecated("dijit.layout.LayoutContainer is deprecated","use BorderContainer instead",2);},layout:function(){_97b.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_97c,_97d){this.inherited(arguments);if(this._started){_97b.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_97e){this.inherited(arguments);if(this._started){_97b.layoutChildren(this.domNode,this._contentBox,this.getChildren());}}});});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_97f,_980,_981){return _981("dijit.layout.LinkPane",[_97f,_980],{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/layout/SplitContainer":function(){define(["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(_982,_983,_984,dom,_985,_986,_987,_988,_989,_98a,lang,on,has,win,_98b,_98c,_98d){lang.extend(_98c,{sizeMin:10,sizeShare:10});return _984("dijit.layout.SplitContainer",_98d,{constructor:function(){_98a.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 _98e=win.doc.createElement("div");this.virtualSizer=_98e;_98e.style.position="relative";_98e.style.zIndex=10;_98e.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_98e);dom.setSelectable(_98e,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;}_982.forEach(this.getChildren(),function(_98f,i,_990){this._setupChild(_98f);if(i<_990.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_991){this.inherited(arguments);_991.domNode.style.position="absolute";_985.add(_991.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(_992){_992=_992===undefined?this.sizers.length:_992;var _993=win.doc.createElement("div");_993.id=_98b.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_992,0,_993);this.domNode.appendChild(_993);_993.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _994=win.doc.createElement("div");_994.className="thumb";_993.appendChild(_994);this.connect(_993,"onmousedown","_onSizerMouseDown");dom.setSelectable(_993,false);},removeChild:function(_995){if(this.sizers.length){var i=_982.indexOf(this.getChildren(),_995);if(i!=-1){if(i==this.sizers.length){i--;}_986.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_996,_997){this.inherited(arguments);if(this._started){var _998=this.getChildren();if(_998.length>1){this._addSizer(_997);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _999=this.getChildren();if(!_999.length){return;}var _99a=this.isHorizontal?this.paneWidth:this.paneHeight;if(_999.length>1){_99a-=this.sizerWidth*(_999.length-1);}var _99b=0;_982.forEach(_999,function(_99c){_99b+=_99c.sizeShare;});var _99d=_99a/_99b;var _99e=0;_982.forEach(_999.slice(0,_999.length-1),function(_99f){var size=Math.round(_99d*_99f.sizeShare);_99f.sizeActual=size;_99e+=size;});_999[_999.length-1].sizeActual=_99a-_99e;this._checkSizes();var pos=0;var size=_999[0].sizeActual;this._movePanel(_999[0],pos,size);_999[0].position=pos;pos+=size;if(!this.sizers){return;}_982.some(_999.slice(1),function(_9a0,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_9a0.sizeActual;this._movePanel(_9a0,pos,size);_9a0.position=pos;pos+=size;},this);},_movePanel:function(_9a1,pos,size){var box;if(this.isHorizontal){_9a1.domNode.style.left=pos+"px";_9a1.domNode.style.top=0;box={w:size,h:this.paneHeight};if(_9a1.resize){_9a1.resize(box);}else{_987.setMarginBox(_9a1.domNode,box);}}else{_9a1.domNode.style.left=0;_9a1.domNode.style.top=pos+"px";box={w:this.paneWidth,h:size};if(_9a1.resize){_9a1.resize(box);}else{_987.setMarginBox(_9a1.domNode,box);}}},_moveSlider:function(_9a2,pos,size){if(this.isHorizontal){_9a2.style.left=pos+"px";_9a2.style.top=0;_987.setMarginBox(_9a2,{w:size,h:this.paneHeight});}else{_9a2.style.left=0;_9a2.style.top=pos+"px";_987.setMarginBox(_9a2,{w:this.paneWidth,h:size});}},_growPane:function(_9a3,pane){if(_9a3>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_9a3){pane.sizeActual=pane.sizeActual-_9a3;_9a3=0;}else{_9a3-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _9a3;},_checkSizes:function(){var _9a4=0;var _9a5=0;var _9a6=this.getChildren();_982.forEach(_9a6,function(_9a7){_9a5+=_9a7.sizeActual;_9a4+=_9a7.sizeMin;});if(_9a4<=_9a5){var _9a8=0;_982.forEach(_9a6,function(_9a9){if(_9a9.sizeActual<_9a9.sizeMin){_9a8+=_9a9.sizeMin-_9a9.sizeActual;_9a9.sizeActual=_9a9.sizeMin;}});if(_9a8>0){var list=this.isDraggingLeft?_9a6.reverse():_9a6;_982.forEach(list,function(_9aa){_9a8=this._growPane(_9a8,_9aa);},this);}}else{_982.forEach(_9a6,function(_9ab){_9ab.sizeActual=Math.round(_9a5*(_9ab.sizeMin/_9a4));});}},beginSizing:function(e,i){var _9ac=this.getChildren();this.paneBefore=_9ac[i];this.paneAfter=_9ac[i+1];this.isSizing=true;this.sizingSplitter=this.sizers[i];if(!this.cover){this.cover=_986.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=_987.position(_9ac[0].domNode,true);var _9ad,_9ae;if(this.isHorizontal){_9ad=e.layerX||e.offsetX||0;_9ae=e.pageX;this.originPos=this.originPos.x;}else{_9ad=e.layerY||e.offsetY||0;_9ae=e.pageY;this.originPos=this.originPos.y;}this.startPoint=this.lastPoint=_9ae;this.screenToClientOffset=_9ae-_9ad;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"))];_989.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();}_989.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 _9af=this.paneBefore.position;var _9b0=this.paneAfter.position+this.paneAfter.sizeActual;this.paneBefore.sizeActual=pos-_9af;this.paneAfter.position=pos+this.sizerWidth;this.paneAfter.sizeActual=_9b0-this.paneAfter.position;_982.forEach(this.getChildren(),function(_9b1){_9b1.sizeShare=_9b1.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine();_987.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;_988.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_982.forEach(this.getChildren(),function(_9b2,i){var _9b3=this._getCookieName(i);var _9b4=_983(_9b3);if(_9b4){var pos=parseInt(_9b4);if(typeof pos=="number"){_9b2.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_982.forEach(this.getChildren(),function(_9b5,i){_983(this._getCookieName(i),_9b5.sizeShare,{expires:365});},this);}});});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_9b6,_9b7,_9b8,_9b9){return _9b6("dijit.layout.TabContainer",_9b7,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_9ba){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_9b8=lang.getObject(this.controllerWidget);return new _9b8({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},_9ba);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?"dijit.layout.ScrollingTabController":"dijit.layout.TabController";}}});});},"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(_9bb,_9bc,_9bd,_9be,_9bf,_9c0,_9c1,_9c2){return _9bf("dijit.layout._TabContainerBase",[_9bc,_9be],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_9bb,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_9c2.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_9c0.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_9c0.add(this.domNode,"dijitTabContainerNested");_9c0.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_9c0.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_9c0.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_9c0.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_9c0.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 _9c3=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_9c3;var _9c4=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_9c3},{domNode:this.containerNode,layoutAlign:"client"}];_9bd.layoutChildren(this.domNode,this._contentBox,_9c4);this._containerContentBox=_9bd.marginBox2contentBox(this.containerNode,_9c4[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _9c5=_9c1.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_9c5});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});});},"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","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(_9c6,dom,_9c7,_9c8,i18n,lang,_9c9,Menu,_9ca,_9cb){var _9cc=_9c6("dijit.layout._TabButton",_9c9.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_9cb,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);_9c8.toggle(this.innerDiv,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _9cd=i18n.getLocalization("dijit","common");if(this.closeNode){_9c7.set(this.closeNode,"title",_9cd.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 _9ca({label:_9cd.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(_9ce){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 _9cf=_9c6("dijit.layout.TabController",_9c9,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:_9cc,_rectifyRtlTabList:function(){if(0>=this.tabPosition.indexOf("-h")){return;}if(!this.pane2button){return;}var _9d0=0;for(var pane in this.pane2button){var ow=this.pane2button[pane].innerDiv.scrollWidth;_9d0=Math.max(_9d0,ow);}for(pane in this.pane2button){this.pane2button[pane].innerDiv.style.width=_9d0+"px";}}});_9cf.TabButton=_9cc;return _9cf;});},"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(_9d1,_9d2,_9d3,keys,lang,has,_9d4,_9d5,_9d6,_9d7,_9d8,_9d9){var _9da=_9d2("dijit.layout._StackButton",_9d9,{tabIndex:"-1",closeButton:false,_setCheckedAttr:function(_9db,_9dc){this.inherited(arguments);this.focusNode.removeAttribute("aria-pressed");},buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");},onClick:function(){_9d4.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});var _9dd=_9d2("dijit.layout.StackController",[_9d6,_9d7,_9d8],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:_9da,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){_9d1.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_9d5.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_9de){var cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _9df=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});_9df.focusNode.setAttribute("aria-selected","false");var _9e0=["title","showTitle","iconClass","closable","tooltip"],_9e1=["label","showLabel","iconClass","closeButton","title"];this.pane2watches[page.id]=_9d1.map(_9e0,function(_9e2,idx){return page.watch(_9e2,function(name,_9e3,_9e4){_9df.set(_9e1[idx],_9e4);});});this.pane2connects[page.id]=[this.connect(_9df,"onClick",lang.hitch(this,"onButtonClick",page)),this.connect(_9df,"onClickCloseButton",lang.hitch(this,"onCloseButtonClick",page))];this.addChild(_9df,_9de);this.pane2button[page.id]=_9df;page.controlButton=_9df;if(!this._currentChild){_9df.focusNode.setAttribute("tabIndex","0");_9df.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;}_9d1.forEach(this.pane2connects[page.id],lang.hitch(this,"disconnect"));delete this.pane2connects[page.id];_9d1.forEach(this.pane2watches[page.id],function(w){w.unwatch();});delete this.pane2watches[page.id];var _9e5=this.pane2button[page.id];if(_9e5){this.removeChild(_9e5);delete this.pane2button[page.id];_9e5.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _9e6=this.pane2button[this._currentChild.id];_9e6.set("checked",false);_9e6.focusNode.setAttribute("aria-selected","false");_9e6.focusNode.setAttribute("tabIndex","-1");}var _9e7=this.pane2button[page.id];_9e7.set("checked",true);_9e7.focusNode.setAttribute("aria-selected","true");this._currentChild=page;_9e7.focusNode.setAttribute("tabIndex","0");var _9e8=_9d5.byId(this.containerId);_9e8.containerNode.setAttribute("aria-labelledby",_9e7.id);},onButtonClick:function(page){if(this._currentChild.id===page.id){var _9e9=this.pane2button[page.id];_9e9.set("checked",true);}var _9ea=_9d5.byId(this.containerId);_9ea.selectChild(page);},onCloseButtonClick:function(page){var _9eb=_9d5.byId(this.containerId);_9eb.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_9d4.focus(b.focusNode||b.domNode);}}},adjacent:function(_9ec){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_9ec=!_9ec;}var _9ed=this.getChildren();var _9ee=_9d1.indexOf(_9ed,this.pane2button[this._currentChild.id]);var _9ef=_9ec?1:_9ed.length-1;return _9ed[(_9ee+_9ef)%_9ed.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _9f0=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_9f0=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_9f0=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_9f0=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_9f0=true;}break;case keys.HOME:case keys.END:var _9f1=this.getChildren();if(_9f1&&_9f1.length){_9f1[e.charOrCode==keys.HOME?0:_9f1.length-1].onClick();}_9d3.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_9d3.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.adjacent(!e.shiftKey).onClick();_9d3.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_9d3.stop(e);}}}}if(_9f0!==null){this.adjacent(_9f0).onClick();_9d3.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_9dd.StackButton=_9da;return _9dd;});},"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/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(_9f2,_9f3,_9f4,_9f5,_9f6,fx,lang,_9f7,has,_9f8,_9f9,_9fa,_9fb,_9fc,_9fd,Menu,_9fe,_9ff,_a00){var _a01=_9f3("dijit.layout.ScrollingTabController",[_9fb,_9fd],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_9f9,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";_9f4.add(n,"tabStrip-disabled");}_9f4.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_9f6.set(this.domNode,"visibility","");this._postStartup=true;},onAddChild:function(page,_a02){this.inherited(arguments);_9f2.forEach(["label","iconClass"],function(attr){this.pane2watches[page.id].push(this.pane2button[page.id].watch(attr,lang.hitch(this,function(){if(this._postStartup&&this._dim){this.resize(this._dim);}})));},this);_9f6.set(this.containerNode,"width",(_9f6.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_a03){var _a04=this.pane2button[page.id];if(this._selectedTab===_a04.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_9f7("> .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+=_9f5.getMarginSize(btn).w;return true;}else{_9f6.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _a05=this.getChildren();if(_a05.length){var _a06=_a05[this.isLeftToRight()?0:_a05.length-1].domNode,_a07=_a05[this.isLeftToRight()?_a05.length-1:0].domNode;return _a07.offsetLeft+_9f6.get(_a07,"width")-_a06.offsetLeft;}else{return 0;}},_enableBtn:function(_a08){var _a09=this._getTabsWidth();_a08=_a08||_9f6.get(this.scrollNode,"width");return _a09>0&&_a08<_a09;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_9fc.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_9f5.setContentSize(this.domNode,cb);var _a0a=this._enableBtn(this._contentBox.w);this._buttons.style("display",_a0a?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_9fc.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:_9f6.get(this.containerNode,"width")-_9f6.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 _a0b=_9f6.get(this.containerNode,"width")-_9f6.get(this.scrollNode,"width");return (has("ie")==8?-1:1)*(val-_a0b);}},onSelectChild:function(page){var tab=this.pane2button[page.id];if(!tab||!page){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_9f6.get(this.scrollNode,"width")<node.offsetLeft+_9f6.get(node,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _a0c=this.getChildren(),_a0d=_9f6.get(this.scrollNode,"width"),_a0e=_9f6.get(this.containerNode,"width"),_a0f=_a0e-_a0d,_a10=this._getTabsWidth();if(_a0c.length&&_a10>_a0d){return {min:this.isLeftToRight()?0:_a0c[_a0c.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_a0c[_a0c.length-1].domNode.offsetLeft+_9f6.get(_a0c[_a0c.length-1].domNode,"width"))-_a0d:_a0f};}else{var _a11=this.isLeftToRight()?0:_a0f;return {min:_a11,max:_a11};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_a12=_9f6.get(this.scrollNode,"width"),_a13=this._getScrollBounds();var pos=(n.offsetLeft+_9f6.get(n,"width")/2)-_a12/2;pos=Math.min(Math.max(pos,_a13.min),_a13.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _a14=this._getScrollBounds();x=Math.min(Math.max(x,_a14.min),_a14.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var self=this,w=this.scrollNode,anim=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var oldS=w.scrollLeft,newS=self._convertToScrollLeft(x);anim.curve=new fx._Line(oldS,newS);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=anim;this._setButtonClass(x);return anim;},_getBtnNode:function(e){var n=e.target;while(n&&!_9f4.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(_a15,node){if(node&&_9f4.contains(node,"dijitTabDisabled")){return;}var _a16=_9f6.get(this.scrollNode,"width");var d=(_a16*0.75)*_a15;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_a17){var _a18=this._getScrollBounds();this._leftBtn.set("disabled",_a17<=_a18.min);this._rightBtn.set("disabled",_a17>=_a18.max);}});var _a19=_9f3("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_9fa,tabIndex:"",isFocusable:function(){return false;}});_9f3("dijit.layout._ScrollingTabControllerButton",[_9ff,_a19]);_9f3("dijit.layout._ScrollingTabControllerMenuButton",[_9ff,_a00,_a19],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_a1a){this.dropDown=new Menu({id:this.containerId+"_menu",dir:this.dir,lang:this.lang,textDir:this.textDir});var _a1b=_9f8.byId(this.containerId);_9f2.forEach(_a1b.getChildren(),function(page){var _a1c=new _9fe({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,dir:page.dir,lang:page.lang,textDir:page.textDir,onClick:function(){_a1b.selectChild(page);}});this.dropDown.addChild(_a1c);},this);_a1a();},closeDropDown:function(_a1d){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});return _a01;});},"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>","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>","*now":function(r){r(["dojo/i18n!*preload*dijit/nls/dijit-all*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dijit/dijit-all",[".","./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(_a1e){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 _a1e;});