/usr/share/javascript/dijit/dijit-all.js is in libjs-dojo-dijit 1.11.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | //>>built
require({cache:{"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){var _c=_9("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(_d,_e,_f,_10){return new this._dyeClass(_d,_e,_f,_10);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_9(_c._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],_7.getLocalization("dojo","colors",this.lang));}});_c._Color=_9("dijit._Color",_8,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' title='${title}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' title='${title}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_1.toUrl("./themes/a11y/colors7x10.png"),"3x4":_1.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_11,row,col,_12){this._title=_12;this._row=row;this._col=col;this.setColor(_8.named[_11]);},getValue:function(){return this.toHex();},fillCell:function(_13,_14){var _15=_b.substitute(_6("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_14,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_a.place(_15,_13);}});return _c;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","./_CssStateMixin","./a11yclick","./focus","./typematic"],function(_16,_17,_18,_19,_1a,_1b,on,_1c,_1d,_1e,_1f){var _20=_16("dijit._PaletteMixin",_1c,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_21){var _22=typeof this.dyeClass=="string"?_1b.getObject(this.dyeClass):this.dyeClass;return new _22(_21);},_preparePalette:function(_23,_24){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_1d,_1b.hitch(this,"_onCellClick")));for(var row=0;row<_23.length;row++){var _25=_19.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_23[row].length;col++){var _26=_23[row][col];if(_26){var _27=this._dyeFactory(_26,row,col,_24[_26]);var _28=_19.create("td",{"class":this.cellClass,tabIndex:"-1",title:_24[_26],role:"gridcell"},_25);_27.fillCell(_28,url);_28.idx=this._cells.length;this._cells.push({node:_28,dye:_27});}}}this._xDim=_23[0].length;this._yDim=_23.length;var _29={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _29){this.own(_1f.addKeyListener(this.domNode,{keyCode:_1a[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _2a=_29[key];return function(_2b){this._navigateByKey(_2a,_2b);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_1e.focus(this._currentFocus);},_onCellClick:function(evt){var _2c=evt.target;while(_2c.tagName!="TD"){if(!_2c.parentNode||_2c==this.gridNode){return;}_2c=_2c.parentNode;}var _2d=this._getDye(_2c).getValue();this._setCurrent(_2c);_1e.focus(_2c);this._setValueAttr(_2d,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(_2e){if("_currentFocus" in this){_17.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=_2e;if(_2e){_17.set(_2e,"tabIndex",this.tabIndex);}},_setValueAttr:function(_2f,_30){if(this._selectedCell>=0){_18.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_2f){for(var i=0;i<this._cells.length;i++){if(_2f==this._cells[i].dye.getValue()){this._selectedCell=i;_18.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_2f:null);if(_30||_30===undefined){this.onChange(_2f);}},onChange:function(){},_navigateByKey:function(_31,_32){if(_32==-1){return;}var _33=this._currentFocus.idx+_31;if(_33<this._cells.length&&_33>-1){var _34=this._cells[_33].node;this._setCurrent(_34);this.defer(_1b.hitch(_1e,"focus",_34));}},_getDye:function(_35){return this._cells[_35.idx].dye;}});return _20;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(_36,_37,_38,_39){var _3a={};_37.setObject("dojo.colors",_3a);var _3b=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;};_36.colorFromRgb=_38.fromRgb=function(_3c,obj){var m=_3c.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=_39.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _38.fromArray(a,obj);}return _38.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=[_3b(m1,m2,H+1/3)*256,_3b(m1,m2,H)*256,_3b(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _38.fromArray(a,obj);}}return null;};var _3d=function(c,low,_3e){c=Number(c);return isNaN(c)?_3e:c<low?low:c>_3e?_3e:c;};_38.prototype.sanitize=function(){var t=this;t.r=Math.round(_3d(t.r,0,255));t.g=Math.round(_3d(t.g,0,255));t.b=Math.round(_3d(t.b,0,255));t.a=_3d(t.a,0,1);return this;};_3a.makeGrey=_38.makeGrey=function(g,a){return _38.fromArray([g,g,g,a]);};_37.mixin(_38.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 _38;});},"dijit/Declaration":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser","dojo/query","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/NodeList-dom"],function(_3f,_40,_41,_42,_43,_44,_45,_46,_47){return _41("dijit.Declaration",_45,{_noScript:true,stopParser:true,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_48=_44("> script[type='dojo/method']",src).orphan(),_49=_44("> script[type='dojo/connect']",src).orphan(),_4a=_44("> script[type='dojo/aspect']",src).orphan(),_4b=src.nodeName;var _4c=this.defaults||{};_3f.forEach(_48,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),_4d=_43._functionFromScript(s,"data-dojo-");if(evt){_4c[evt]=_4d;}else{_4a.push(s);}});if(this.mixins.length){this.mixins=_3f.map(this.mixins,function(_4e){return _42.getObject(_4e);});}else{this.mixins=[_45,_46,_47];}_4c._skipNodeCache=true;_4c.templateString="<"+_4b+" 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,"}")+"</"+_4b+">";var wc=_41(this.widgetClass,this.mixins,_4c);_3f.forEach(_4a,function(s){var _4f=s.getAttribute("data-dojo-advice")||"after",_50=s.getAttribute("data-dojo-method")||"postscript",_51=_43._functionFromScript(s);_40.after(wc.prototype,_50,_51,true);});_3f.forEach(_49,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),_52=_43._functionFromScript(s);_40.after(wc.prototype,evt,_52,true);});}});});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_53,_54,_55,_56,_57){return _55("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var _58=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_57.parse(_58,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(_56.hitch(this,function(_59){this._startupWidgets=_59;for(var i=0;i<_59.length;i++){this._processTemplateNode(_59[i],function(n,p){return n[p];},function(_5a,_5b,_5c){if(_5b in _5a){return _5a.connect(_5a,_5b,_5c);}else{return _5a.on(_5b,_5c,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");}}},_processTemplateNode:function(_5d,_5e,_5f){if(_5e(_5d,"dojoType")||_5e(_5d,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_53.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","./layout/utils","dojo/text!./templates/Dialog.html","./a11yclick","dojo/i18n!./nls/common"],function(_60,_61,_62,_63,_64,dom,_65,_66,_67,fx,_68,_69,_6a,on,_6b,has,_6c,_6d,_6e,_6f,_70,_71,_72,_73,_74,_75,_76,_77,_78,_79){var _7a=new _64();_7a.resolve(true);function nop(){};var _7b=_63("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_72,_74,_75,_73],{templateString:_79,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_70.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _7c=_68.getLocalization("dijit","common");_6a.mixin(this,_7c);this.inherited(arguments);},postCreate:function(){_67.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_62.after(this,"onExecute",_6a.hitch(this,"hide"),true);_62.after(this,"onCancel",_6a.hitch(this,"hide"),true);this._modalconnects=[];},onLoad:function(){this.resize();this._position();if(this.autofocus&&_7d.isTop(this)){this._getFocusItems();_6f.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems();_6f.focus(this._firstFocusItem);},_endDrag:function(){var _7e=_66.position(this.domNode),_7f=_6c.getBox(this.ownerDocument);_7e.y=Math.min(Math.max(_7e.y,0),(_7f.h-_7e.h));_7e.x=Math.min(Math.max(_7e.x,0),(_7f.w-_7e.w));this._relativePosition=_7e;this._position();},_setup:function(){var _80=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_6e:_6d)(_80,{handle:this.titleBar});_62.after(this._moveable,"onMoveStop",_6a.hitch(this,"_endDrag"),true);}else{_65.add(_80,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_61.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:_6a.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this.resize();},_position:function(){if(!_65.contains(this.ownerDocumentBody,"dojoMove")){var _81=this.domNode,_82=_6c.getBox(this.ownerDocument),p=this._relativePosition,bb=_66.position(_81),l=Math.floor(_82.l+(p?Math.min(p.x,_82.w-bb.w):(_82.w-bb.w)/2)),t=Math.floor(_82.t+(p?Math.min(p.y,_82.h-bb.h):(_82.h-bb.h)/2));_67.set(_81,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==_69.TAB){this._getFocusItems();var _83=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(_83==this._firstFocusItem&&evt.shiftKey){_6f.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(_83==this._lastFocusItem&&!evt.shiftKey){_6f.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==_69.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return _7a.promise;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_7d.hide(this);}var win=_6c.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",_6a.hitch(this,"resize",null)));this._modalconnects.push(on(this.domNode,"keydown",_6a.hitch(this,"_onKey")));_67.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this.resize();this._position();var _84;this._fadeInDeferred=new _64(_6a.hitch(this,function(){_84.stop();delete this._fadeInDeferred;}));this._fadeInDeferred.then(undefined,nop);var _85=this._fadeInDeferred.promise;_84=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:_6a.hitch(this,function(){_7d.show(this,this.underlayAttrs);}),onEnd:_6a.hitch(this,function(){if(this.autofocus&&_7d.isTop(this)){this._getFocusItems();_6f.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _85;},hide:function(){if(!this._alreadyInitialized||!this.open){return _7a.promise;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _86;this._fadeOutDeferred=new _64(_6a.hitch(this,function(){_86.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(undefined,nop);this._fadeOutDeferred.then(_6a.hitch(this,"onHide"));var _87=this._fadeOutDeferred.promise;_86=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_6a.hitch(this,function(){this.domNode.style.display="none";_7d.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return _87;},resize:function(dim){if(this.domNode.style.display!="none"){this._checkIfSingleChild();if(!dim){if(this._shrunk){if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}_61.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(_88){if(_88){_67.set(_88,{position:"static",width:"auto",height:"auto"});}});this.domNode.style.position="absolute";}var _89=_6c.getBox(this.ownerDocument);_89.w*=this.maxRatio;_89.h*=this.maxRatio;var bb=_66.position(this.domNode);if(bb.w>=_89.w||bb.h>=_89.h){dim={w:Math.min(bb.w,_89.w),h:Math.min(bb.h,_89.h)};this._shrunk=true;}else{this._shrunk=false;}}if(dim){_66.setMarginBox(this.domNode,dim);var _8a=[];if(this.titleBar){_8a.push({domNode:this.titleBar,region:"top"});}if(this.actionBarNode){_8a.push({domNode:this.actionBarNode,region:"bottom"});}var _8b={domNode:this.containerNode,region:"center"};_8a.push(_8b);var _8c=_78.marginBox2contentBox(this.domNode,dim);_78.layoutChildren(this.domNode,_8c,_8a);if(this._singleChild){var cb=_78.marginBox2contentBox(this.containerNode,_8b);this._singleChild.resize({w:cb.w,h:cb.h});}else{this.containerNode.style.overflow="auto";this._layoutChildren();}}else{this._layoutChildren();}if(!has("touch")&&!dim){this._position();}}},_layoutChildren:function(){_61.forEach(this.getChildren(),function(_8d){if(_8d.resize){_8d.resize();}});},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();}_7d.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_7b=_63("dijit._DialogBase",_7b,{_setTitleAttr:function(_8e){this._set("title",_8e);this.titleNode.innerHTML=_8e;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_8f){if(this._created&&this.textDir!=_8f){this._set("textDir",_8f);this.set("title",this.title);}}});}var _90=_63("dijit.Dialog",[_77,_7b],{});_90._DialogBase=_7b;var _7d=_90._DialogLevelManager={_beginZIndex:950,show:function(_91,_92){ds[ds.length-1].focus=_6f.curNode;var _93=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_90._DialogLevelManager._beginZIndex;_67.set(_91.domNode,"zIndex",_93);_76.show(_92,_93-1);ds.push({dialog:_91,underlayAttrs:_92,zIndex:_93});},hide:function(_94){if(ds[ds.length-1].dialog==_94){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_76.hide();}else{_76.show(pd.underlayAttrs,pd.zIndex-1);}if(_94.refocus){var _95=pd.focus;if(pd.dialog&&(!_95||!dom.isDescendant(_95,pd.dialog.domNode))){pd.dialog._getFocusItems();_95=pd.dialog._firstFocusItem;}if(_95){try{_95.focus();}catch(e){}}}}else{var idx=_61.indexOf(_61.map(ds,function(_96){return _96.dialog;}),_94);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_97){return ds[ds.length-1].dialog==_97;}};var ds=_90._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_6f.watch("curNode",function(_98,_99,_9a){var _9b=ds[ds.length-1].dialog;if(_9a&&_9b&&!_9b._fadeOutDeferred&&_9a.ownerDocument==_9b.ownerDocument){do{if(_9a==_9b.domNode||_65.contains(_9a,"dijitPopup")){return;}}while(_9a=_9a.parentNode);_9b.focus();}});if(has("dijit-legacy-requires")){_6b(0,function(){var _9c=["dijit/TooltipDialog"];_60(_9c);});}return _90;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_9d,_9e,_9f,dom,_a0,_a1,on,_a2,_a3,dnd,_a4,win){var _a5=_9e("dojo.dnd.Moveable",[_a1],{handle:"",delay:0,skip:false,constructor:function(_a6,_a7){this.node=dom.byId(_a6);if(!_a7){_a7={};}this.handle=_a7.handle?dom.byId(_a7.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_a7.delay>0?_a7.delay:0;this.skip=_a7.skip;this.mover=_a7.mover?_a7.mover:_a4;this.events=[on(this.handle,_a3.press,_9f.hitch(this,"onMouseDown")),on(this.handle,"dragstart",_9f.hitch(this,"onSelectStart")),on(this.handle,"selectstart",_9f.hitch(this,"onSelectStart"))];},markupFactory:function(_a8,_a9,_aa){return new _aa(_a9,_a8);},destroy:function(){_9d.forEach(this.events,function(_ab){_ab.remove();});this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_a3.move,_9f.hitch(this,"onMouseMove")),on(this.handle.ownerDocument,_a3.release,_9f.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},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);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_ac){_a2.publish("/dnd/move/start",_ac);_a0.add(win.body(),"dojoMove");_a0.add(this.node,"dojoMoveItem");},onMoveStop:function(_ad){_a2.publish("/dnd/move/stop",_ad);_a0.remove(win.body(),"dojoMove");_a0.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_ae,_af){this.onMoving(_ae,_af);var s=_ae.node.style;s.left=_af.l+"px";s.top=_af.t+"px";this.onMoved(_ae,_af);},onMoving:function(){},onMoved:function(){}});return _a5;});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_b0,_b1,dom){var _b2=_b1.getObject("dojo.dnd",true);_b2.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_b2._uniqueId=0;_b2.getUniqueId=function(){var id;do{id=_b0._scopeName+"Unique"+(++_b2._uniqueId);}while(dom.byId(id));return id;};_b2._empty={};_b2.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _b2;});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_b3,_b4,_b5,has,win,dom,_b6,_b7,_b8,on,_b9,dnd,_ba){return _b4("dojo.dnd.Mover",[_b8],{constructor:function(_bb,e,_bc){this.node=dom.byId(_bb);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=_bc),d=_bb.ownerDocument;function _bd(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_b9.move,_b5.hitch(this,"onFirstMove")),on(d,_b9.move,_b5.hitch(this,"onMouseMove")),on(d,_b9.release,_b5.hitch(this,"onMouseUp")),on(d,"dragstart",_bd),on(d.body,"selectstart",_bd)];_ba.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_ba.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},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=_b6.getMarginBox(this.node);var b=win.doc.body;var bs=_b7.getComputedStyle(b);var bm=_b6.getMarginBox(b,bs);var bc=_b6.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_b3.forEach(this.events,function(_be){_be.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/dnd/autoscroll":function(){define(["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(_bf,has,win,_c0,_c1,_c2){var _c3={};_bf.setObject("dojo.dnd.autoscroll",_c3);_c3.getViewport=_c2.getBox;_c3.V_TRIGGER_AUTOSCROLL=32;_c3.H_TRIGGER_AUTOSCROLL=32;_c3.V_AUTOSCROLL_VALUE=16;_c3.H_AUTOSCROLL_VALUE=16;var _c4,doc=win.doc,_c5=Infinity,_c6=Infinity;_c3.autoScrollStart=function(d){doc=d;_c4=_c2.getBox(doc);var _c7=win.body(doc).parentNode;_c5=Math.max(_c7.scrollHeight-_c4.h,0);_c6=Math.max(_c7.scrollWidth-_c4.w,0);};_c3.autoScroll=function(e){var v=_c4||_c2.getBox(doc),_c8=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_c3.H_TRIGGER_AUTOSCROLL){dx=-_c3.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_c3.H_TRIGGER_AUTOSCROLL){dx=Math.min(_c3.H_AUTOSCROLL_VALUE,_c6-_c8.scrollLeft);}}if(e.clientY<_c3.V_TRIGGER_AUTOSCROLL){dy=-_c3.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_c3.V_TRIGGER_AUTOSCROLL){dy=Math.min(_c3.V_AUTOSCROLL_VALUE,_c5-_c8.scrollTop);}}window.scrollBy(dx,dy);};_c3._validNodes={"div":1,"p":1,"td":1};_c3._validOverflow={"auto":1,"scroll":1};_c3.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_c9,_ca;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _c3._validNodes)){var s=_c1.getComputedStyle(n),_cb=(s.overflow.toLowerCase() in _c3._validOverflow),_cc=(s.overflowX.toLowerCase() in _c3._validOverflow),_cd=(s.overflowY.toLowerCase() in _c3._validOverflow);if(_cb||_cc||_cd){b=_c0.getContentBox(n,s);t=_c0.position(n,true);}if(_cb||_cc){w=Math.min(_c3.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_c9=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_cb||_cd){h=Math.min(_c3.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_ca=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_c3.autoScroll(e);};return _c3;});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_ce,_cf){var _d0=_cf.prototype.onMove;return _ce("dojo.dnd.TimedMoveable",_cf,{timeout:40,constructor:function(_d1,_d2){if(!_d2){_d2={};}if(_d2.timeout&&typeof _d2.timeout=="number"&&_d2.timeout>=0){this.timeout=_d2.timeout;}},onMoveStop:function(_d3){if(_d3._timer){clearTimeout(_d3._timer);_d0.call(this,_d3,_d3._leftTop);}_cf.prototype.onMoveStop.apply(this,arguments);},onMove:function(_d4,_d5){_d4._leftTop=_d5;if(!_d4._timer){var _d6=this;_d4._timer=setTimeout(function(){_d4._timer=null;_d0.call(_d6,_d4,_d4._leftTop);},this.timeout);}}});});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_d7,_d8,_d9,_da,on,_db){return _d8("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_dc){var res=[];_d7.forEach(_dc||this.getChildren(),function(_dd){if("value" in _dd){res.push(_dd);}else{res=res.concat(this._getDescendantFormWidgets(_dd.getChildren()));}},this);return res;},reset:function(){_d7.forEach(this._getDescendantFormWidgets(),function(_de){if(_de.reset){_de.reset();}});},validate:function(){var _df=false;return _d7.every(_d7.map(this._getDescendantFormWidgets(),function(_e0){_e0._hasBeenBlurred=true;var _e1=_e0.disabled||!_e0.validate||_e0.validate();if(!_e1&&!_df){_db.scrollIntoView(_e0.containerNode||_e0.domNode);_e0.focus();_df=true;}return _e1;}),function(_e2){return _e2;});},setValues:function(val){_d9.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_d7.forEach(this._getDescendantFormWidgets(),function(_e3){if(!_e3.name){return;}var _e4=map[_e3.name]||(map[_e3.name]=[]);_e4.push(_e3);});for(var _e5 in map){if(!map.hasOwnProperty(_e5)){continue;}var _e6=map[_e5],_e7=_da.getObject(_e5,false,obj);if(_e7===undefined){continue;}_e7=[].concat(_e7);if(typeof _e6[0].checked=="boolean"){_d7.forEach(_e6,function(w){w.set("value",_d7.indexOf(_e7,w._get("value"))!=-1);});}else{if(_e6[0].multiple){_e6[0].set("value",_e7);}else{_d7.forEach(_e6,function(w,i){w.set("value",_e7[i]);});}}}},getValues:function(){_d9.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_d7.forEach(this._getDescendantFormWidgets(),function(_e8){var _e9=_e8.name;if(!_e9||_e8.disabled){return;}var _ea=_e8.get("value");if(typeof _e8.checked=="boolean"){if(/Radio/.test(_e8.declaredClass)){if(_ea!==false){_da.setObject(_e9,_ea,obj);}else{_ea=_da.getObject(_e9,false,obj);if(_ea===undefined){_da.setObject(_e9,null,obj);}}}else{var ary=_da.getObject(_e9,false,obj);if(!ary){ary=[];_da.setObject(_e9,ary,obj);}if(_ea!==false){ary.push(_ea);}}}else{var _eb=_da.getObject(_e9,false,obj);if(typeof _eb!="undefined"){if(_da.isArray(_eb)){_eb.push(_ea);}else{_da.setObject(_e9,[_eb,_ea],obj);}}else{_da.setObject(_e9,_ea,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _ec=_d7.map(this._descendants,function(w){return w.get("state")||"";});return _d7.indexOf(_ec,"Error")>=0?"Error":_d7.indexOf(_ec,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_ed){this._descendants=this._getDescendantFormWidgets();_d7.forEach(this._descendants,function(_ee){if(!_ee._started){_ee.startup();}});if(!_ed){this._onChildChange();}},_onChildChange:function(_ef){if(!_ef||_ef=="state"||_ef=="disabled"){this._set("state",this._getState());}if(!_ef||_ef=="value"||_ef=="disabled"||_ef=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var _f0=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==_f0.domNode){return;}_f0._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(_f1,_f2,_f3){this.onValidStateChange(_f3=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_f4,_f5){return _f4("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _f6=_f5._getTabNavigable(this.domNode);this._firstFocusItem=_f6.lowest||_f6.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_f6.last||_f6.highest||this._firstFocusItem;}});});},"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/aspect","dojo/dom-attr","dojo/dom-style","dojo/on","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe","./Viewport","./main"],function(_f7,_f8,_f9,_fa,_fb,on,_fc,_fd,_fe,_ff,_100,_101){var _102=_f7("dijit.DialogUnderlay",[_fd,_fe],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' tabIndex='-1' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_fa.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_103){this.node.className="dijitDialogUnderlay "+_103;this._set("class",_103);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",_f8.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _104=_fc.getBox(this.ownerDocument);os.top=_104.t+"px";os.left=_104.l+"px";is.width=_104.w+"px";is.height=_104.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _ff(this.domNode);var win=_fc.get(this.ownerDocument);this._modalConnects=[_100.on("resize",_f8.hitch(this,"layout")),on(win,"scroll",_f8.hitch(this,"layout"))];},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.open=false;},destroy:function(){while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.inherited(arguments);},_onKeyDown:function(){}});_102.show=function(_105,_106){var _107=_102._singleton;if(!_107||_107._destroyed){_107=_101._underlay=_102._singleton=new _102(_105);}else{if(_105){_107.set(_105);}}_fb.set(_107.domNode,"zIndex",_106);if(!_107.open){_107.show();}};_102.hide=function(){var _108=_102._singleton;if(_108&&!_108._destroyed){_108.hide();}};return _102;});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when","dojo/i18n!../nls/loading"],function(_109,lang,_10a,_10b,_10c,_10d,html,_10e,_10f,_110,dom,_111,_112,xhr,i18n,when){return _10f("dijit.layout.ContentPane",[_10a,_10b,_10c],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_109._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,markupFactory:function(_113,node,ctor){var self=new ctor(_113,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_114,_115){if((!_114||!_114.template)&&_115&&!("href" in _114)&&!("content" in _114)){_115=dom.byId(_115);var df=_115.ownerDocument.createDocumentFragment();while(_115.firstChild){df.appendChild(_115.firstChild);}_114=lang.delegate(_114,{content:df});}this.inherited(arguments,[_114,_115]);},postMixInProperties:function(){this.inherited(arguments);var _116=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_10d.substitute(this.loadingMessage,_116);this.errorMessage=_10d.substitute(this.errorMessage,_116);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_10e.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_10e.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_10e.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_109.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _110(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_109.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _110(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_117){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 _110(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _118={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_118,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_118)),_119;hand.then(function(html){_119=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _119;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_11a){if(this.isLoaded){this._onUnloadHandler();}var _11b=this._contentSetter;_10e.forEach(this.getChildren(),function(_11c){if(_11c.destroyRecursive){_11c.destroyRecursive(_11a);}else{if(_11c.destroy){_11c.destroy(_11a);}}_11c._destroyed=true;});if(_11b){_10e.forEach(_11b.parseResults,function(_11d){if(!_11d._destroyed){if(_11d.destroyRecursive){_11d.destroyRecursive(_11a);}else{if(_11d.destroy){_11d.destroy(_11a);}}_11d._destroyed=true;}});delete _11b.parseResults;}if(!_11a){_112.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_11e){cont=this.preprocessContent(cont);this.destroyDescendants();var _11f=this._contentSetter;if(!(_11f&&_11f instanceof html._ContentSetter)){_11f=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _120=this.onContentError(e);try{this.containerNode.innerHTML=_120;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _121=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_11f.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_121);var self=this;return when(p&&p.then?p:_11f.parseDeferred,function(){delete self._contentSetterParams;if(!_11e){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},preprocessContent:function(_122){return _122;},_onError:function(type,err,_123){this.onLoadDeferred.reject(err);var _124=this["on"+type+"Error"].call(this,err);if(_123){console.error(_123,err);}else{if(_124){this._setContent(_124,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-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","../registry","../Viewport","./utils"],function(_125,_126,_127,_128,_129,lang,_12a,_12b,_12c,_12d){return _126("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _12e=this.getParent();this._childOfLayoutWidget=_12e&&_12e.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_12c.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){if(!this.doLayout){return;}var _12f=[],_130=false;_12a("> *",this.containerNode).some(function(node){var _131=_12b.byNode(node);if(_131&&_131.resize){_12f.push(_131);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_130=true;}}});this._singleChild=_12f.length==1&&!_130?_12f[0]:null;_127.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_132,_133){this._resizeCalled=true;this._scheduleLayout(_132,_133);},_scheduleLayout:function(_134,_135){if(this._isShown()){this._layout(_134,_135);}else{this._needLayout=true;this._changeSize=_134;this._resultSize=_135;}},_layout:function(_136,_137){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_136){_128.setMarginBox(this.domNode,_136);}var cn=this.containerNode;if(cn===this.domNode){var mb=_137||{};lang.mixin(mb,_136||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_128.getMarginBox(cn),mb);}this._contentBox=_12d.marginBox2contentBox(cn,mb);}else{this._contentBox=_128.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_128.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _138=this.getChildren(),_139,i=0;while(_139=_138[i++]){if(_139.resize){_139.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,_13a=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_127.contains(node,"dijitHidden")&&_13a&&_13a.style&&(_13a.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(_13b,_13c,_13d,_13e,lang){function _13f(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_140,dim){var _141=_140.resize?_140.resize(dim):_13d.setMarginBox(_140.domNode,dim);if(_141){lang.mixin(_140,_141);}else{lang.mixin(_140,_13d.getMarginBox(_140.domNode));lang.mixin(_140,dim);}};var _142={marginBox2contentBox:function(node,mb){var cs=_13e.getComputedStyle(node);var me=_13d.getMarginExtents(node,cs);var pb=_13d.getPadBorderExtents(node,cs);return {l:_13e.toPixelValue(node,cs.paddingLeft),t:_13e.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_143,dim,_144,_145,_146){dim=lang.mixin({},dim);_13c.add(_143,"dijitLayoutContainer");_144=_13b.filter(_144,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_13b.filter(_144,function(item){return item.region=="center"||item.layoutAlign=="client";}));_13b.forEach(_144,function(_147){var elm=_147.domNode,pos=(_147.region||_147.layoutAlign);if(!pos){throw new Error("No region setting for "+_147.id);}var _148=elm.style;_148.left=dim.l+"px";_148.top=dim.t+"px";_148.position="absolute";_13c.add(elm,"dijitAlign"+_13f(pos));var _149={};if(_145&&_145==_147.id){_149[_147.region=="top"||_147.region=="bottom"?"h":"w"]=_146;}if(pos=="leading"){pos=_147.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_147.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_149.w=dim.w;size(_147,_149);dim.h-=_147.h;if(pos=="top"){dim.t+=_147.h;}else{_148.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_149.h=dim.h;size(_147,_149);dim.w-=_147.w;if(pos=="left"){dim.l+=_147.w;}else{_148.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_147,dim);}}}});}};lang.setObject("dijit.layout.utils",_142);return _142;});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_14a,lang,_14b,_14c,dom,_14d,_14e){var _14f=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_14d.empty,_setNodeContent:function(node,cont){_14d.empty(node);if(cont){if(typeof cont=="number"){cont=cont.toString();}if(typeof cont=="string"){cont=_14d.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _150=cont.length,i=0;i<cont.length;i=_150==cont.length?i+1:0){_14d.place(cont[i],node,"last");}}else{_14d.place(cont,node,"last");}}return node;},_ContentSetter:_14c("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_14a._scopeName,startup:true,constructor:function(_151,node){lang.mixin(this,_151||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_14f++].join("_");}},set:function(cont,_152){if(undefined!==cont){this.content=cont;}if(typeof cont=="number"){cont=cont.toString();}if(_152){this._mixin(_152);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _153=this.onContentError(e);try{node.innerHTML=_153;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_14b.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_14d.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _154=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_154){cont=_154[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_155){var _156={},key;for(key in _155){if(key in _156){continue;}this[key]=_155[key];}},_parse:function(){var _157=this.node;try{var _158={};_14b.forEach(["dir","lang","textDir"],function(name){if(this[name]){_158[name]=this[name];}},this);var self=this;this.parseDeferred=_14e.parse({rootNode:_157,noStart:!this.startup,inherited:_158,scope:this.parserScope}).then(function(_159){return self.parseResults=_159;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_15a){var _15b=this["on"+type+"Error"].call(this,err);if(_15a){console.error(_15a,err);}else{if(_15b){html._setNodeContent(this.node,_15b,true);}}}}),set:function(node,cont,_15c){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(typeof cont=="number"){cont=cont.toString();}if(!_15c){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_15c,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_15d,_15e,has,keys,lang,on,_15f,_160,_161,_162,_163,_164,_165){var _166=_15d("dijit.TooltipDialog",[_160,_163,_162,_161],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_164,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_167,_168){var newC={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_167+"-"+_168];_15e.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_15f.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _169=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_169.y+((_169.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=_169.x+((_169.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems();if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_15f.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_15f.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_166.extend({_setTitleAttr:function(_16a){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_16a):_16a;this._set("title",_16a);},_setTextDirAttr:function(_16b){if(!this._created||this.textDir!=_16b){this._set("textDir",_16b);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _166;});},"dijit/Editor":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/Deferred","dojo/i18n","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/string","dojo/topic","./_Container","./Toolbar","./ToolbarSeparator","./layout/_LayoutWidget","./form/ToggleButton","./_editor/_Plugin","./_editor/plugins/EnterKeyHandling","./_editor/html","./_editor/range","./_editor/RichText","./main","dojo/i18n!./_editor/nls/commands"],function(_16c,_16d,_16e,_16f,i18n,_170,_171,_172,_173,keys,lang,has,_174,_175,_176,_177,_178,_179,_17a,_17b,_17c,html,_17d,_17e,_17f){var _180=_16e("dijit.Editor",_17e,{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",_17c];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")||has("trident")||has("edge")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _16f();this.inherited(arguments);},postCreate:function(){this.inherited(arguments);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.commands=i18n.getLocalization("dijit._editor","commands",this.lang);if(has("webkit")){_173.set(this.domNode,"KhtmlUserSelect","none");}},startup:function(){this.inherited(arguments);if(!this.toolbar){this.toolbar=new _177({ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,"aria-label":this.id});this.header.appendChild(this.toolbar.domNode);}_16d.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.resolve(true);_171.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_171.add(this.iframe,"dijitEditorIFrame");_170.set(this.iframe,"allowTransparency",true);this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_16d.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_181,_182){var args=lang.isString(_181)?{name:_181}:lang.isFunction(_181)?{ctor:_181}:_181;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_17b.registry[args.name]){o.plugin=_17b.registry[args.name](args);}else{_175.publish(_17f._scopeName+".Editor.getPlugin",o);}}if(!o.plugin){try{var pc=args.ctor||lang.getObject(args.name)||_16c(args.name);if(pc){o.plugin=new pc(args);}}catch(e){throw new Error(this.id+": cannot find plugin ["+args.name+"]");}}if(!o.plugin){throw new Error(this.id+": cannot find plugin ["+args.name+"]");}_181=o.plugin;}if(arguments.length>1){this._plugins[_182]=_181;}else{this._plugins.push(_181);}_181.setEditor(this);if(lang.isFunction(_181.setToolbar)){_181.setToolbar(this.toolbar);}},resize:function(size){if(size){_179.prototype.resize.apply(this,arguments);}},layout:function(){var _183=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_172.getPadBorderExtents(this.iframe.parentNode).h+_172.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_183+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _184;var b=this.document.body;var _185=b.clientWidth;var _186=b.clientHeight;var _187=b.clientLeft;var _188=b.offsetWidth;var _189=b.offsetHeight;var _18a=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_185<_188&&e.x>_185&&e.x<_188){_184=true;}}else{if(e.x<_187&&e.x>_18a){_184=true;}}if(!_184){if(_186<_189&&e.y>_186&&e.y<_189){_184=true;}}if(!_184){delete this._cursorToStart;delete this._savedSelection;if(e.target.tagName=="BODY"){this.defer("placeCursorAtEnd");}this.inherited(arguments);}},onBeforeActivate:function(){this._restoreSelection();},onBeforeDeactivate:function(e){if(this.customUndo){this.endEditing(true);}if(e.target.tagName!="BODY"){this._saveSelection();}},customUndo:true,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){this._editTimer.remove();}this._editTimer=this.defer("endEditing",this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{if(this.customUndo){this.endEditing();this._beginEditing();}var r=this.inherited(arguments);if(this.customUndo){this._endEditing();}return r;}},_pasteImpl:function(){return this._clipboardCommand("paste");},_cutImpl:function(){return this._clipboardCommand("cut");},_copyImpl:function(){return this._clipboardCommand("copy");},_clipboardCommand:function(cmd){var r;try{r=this.document.execCommand(cmd,false,null);if(has("webkit")&&!r){throw {};}}catch(e){var sub=_174.substitute,_18b={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_18b[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 _18c=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_18d,_18e,sel;if(mark){if(has("ie")<9||(has("ie")===9&&has("quirks"))){if(lang.isArray(mark)){_18c=[];_16d.forEach(mark,function(n){_18c.push(_17d.getNode(n,this.editNode));},this);this.selection.moveToBookmark({mark:_18c,isCollapsed:col});}else{if(mark.startContainer&&mark.endContainer){sel=_17d.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_17d.create(this.window);_18d=_17d.getNode(mark.startContainer,this.editNode);_18e=_17d.getNode(mark.endContainer,this.editNode);if(_18d&&_18e){r.setStart(_18d,mark.startOffset);r.setEnd(_18e,mark.endOffset);sel.addRange(r);}}}}}else{sel=_17d.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_17d.create(this.window);_18d=_17d.getNode(mark.startContainer,this.editNode);_18e=_17d.getNode(mark.endContainer,this.editNode);if(_18d&&_18e){r.setStart(_18d,mark.startOffset);r.setEnd(_18e,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(_18f){if(this._editTimer){this._editTimer=this._editTimer.remove();}if(this._inEditing){this._endEditing(_18f);this._inEditing=false;}},_getBookmark:function(){var b=this.selection.getBookmark();var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9||(has("ie")===9&&has("quirks"))){var sel=_17d.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _190;if(sel.rangeCount){_190=sel.getRangeAt(0);}if(_190){b.mark=_190.cloneRange();}else{b.mark=this.selection.getBookmark();}}}else{_16d.forEach(b.mark,function(n){tmp.push(_17d.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_17d.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_17d.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.shiftKey&&!e.altKey){if(k==90||k==122){e.stopPropagation();e.preventDefault();this.undo();return;}else{if(k==89||k==121){e.stopPropagation();e.preventDefault();this.redo();return;}}}this.inherited(arguments);switch(k){case keys.ENTER:case keys.BACKSPACE:case keys.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");}else{this.beginEditing("paste");}this.defer("endEditing",1);break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCode<keys.F1||e.keyCode>keys.F15)){this.beginEditing();break;}case keys.ALT:this.endEditing();break;case keys.UP_ARROW:case keys.DOWN_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:case keys.HOME:case keys.END:case keys.PAGE_UP:case keys.PAGE_DOWN:this.endEditing(true);break;case keys.CTRL:case keys.SHIFT:case keys.TAB:break;}},_onBlur:function(){this.inherited(arguments);this.endEditing(true);},_saveSelection:function(){try{this._savedSelection=this._getBookmark();}catch(e){}},_restoreSelection:function(){if(this._savedSelection){delete this._cursorToStart;if(this.selection.isCollapsed()){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=" ";}this.setValue(html);this.endEditing();}}},_setDisabledAttr:function(_191){this.setValueDeferred.then(lang.hitch(this,function(){if((!this.disabled&&_191)||(!this._buttonEnabledPlugins&&_191)){_16d.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_191){_16d.forEach(this._plugins,function(p){p.set("disabled",false);});}}}));this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_173.set(this.document.body,"color",_173.get(this.iframe,"color"));}}catch(e){}}});function _192(args){return new _17b({command:args.name});};function _193(args){return new _17b({buttonClass:_17a,command:args.name});};lang.mixin(_17b.registry,{"undo":_192,"redo":_192,"cut":_192,"copy":_192,"paste":_192,"insertOrderedList":_192,"insertUnorderedList":_192,"indent":_192,"outdent":_192,"justifyCenter":_192,"justifyFull":_192,"justifyLeft":_192,"justifyRight":_192,"delete":_192,"selectAll":_192,"removeFormat":_192,"unlink":_192,"insertHorizontalRule":_192,"bold":_193,"italic":_193,"underline":_193,"strikethrough":_193,"subscript":_193,"superscript":_193,"|":function(){return new _17b({setEditor:function(_194){this.editor=_194;this.button=new _178({ownerDocument:_194.ownerDocument});}});}});return _180;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_195,_196,has,keys,_197,_198,_199,_19a){if(has("dijit-legacy-requires")){_197(0,function(){var _19b=["dijit/ToolbarSeparator"];_195(_19b);});}return _196("dijit.Toolbar",[_198,_19a,_199],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_19c,_19d,_19e,_19f,keys,lang,_1a0,_1a1,_1a2,_1a3){return _19d("dijit._KeyNavContainer",[_1a2,_1a3,_1a1],{connectKeyNavHandlers:function(_1a4,_1a5){var _1a6=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_19c.forEach(_1a4,function(code){_1a6[code]=prev;});_19c.forEach(_1a5,function(code){_1a6[code]=next;});_1a6[keys.HOME]=lang.hitch(this,"focusFirstChild");_1a6[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_19f.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_19c.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_1a7,_1a8){this.inherited(arguments);this._startupChild(_1a7);},_startupChild:function(_1a9){_1a9.set("tabIndex","-1");},_getFirst:function(){var _1aa=this.getChildren();return _1aa.length?_1aa[0]:null;},_getLast:function(){var _1ab=this.getChildren();return _1ab.length?_1ab[_1ab.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(node){var node=_1a0.byNode(node);return node&&node.getParent()==this;}});});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_1ac,_1ad,_1ae,keys,lang,on,_1af,_1b0){return _1ad("dijit._KeyNavMixin",_1b0,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_1ae.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _1b1=this._keyNavCodes={};_1b1[keys.HOME]=lang.hitch(this,"focusFirstChild");_1b1[keys.END]=lang.hitch(this,"focusLastChild");_1b1[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_1b1[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_1b1[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_1b1[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_1b2=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",lang.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",lang.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",lang.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_1b2,"focusin"),function(evt){self._onChildFocus(_1af.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_1b3,last){if(!_1b3){return;}if(this.focusedChild&&_1b3!==this.focusedChild){this._onChildBlur(this.focusedChild);}_1b3.set("tabIndex",this.tabIndex);_1b3.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_1ae.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_1ae.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_1b4){if(_1b4&&_1b4!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_1b4.set("tabIndex",this.tabIndex);this.lastFocused=_1b4;this._set("focusedChild",_1b4);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_1b5,_1b6){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_1b7){var _1b8=item.domNode,text=item.label||(_1b8.focusNode?_1b8.focusNode.label:"")||_1b8.innerText||_1b8.textContent||"",_1b9=text.replace(/^\s+/,"").substr(0,_1b7.length).toLowerCase();return (!!_1b7.length&&_1b9==_1b7)?-1:0;},_onContainerKeydown:function(evt){var func=this._keyNavCodes[evt.keyCode];if(func){func(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==keys.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=keys.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_1ba){var _1bb=null,_1bc,_1bd=0,_1be=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_1ba;var _1bf=/^(.)\1*$/.test(this._searchString);var _1c0=_1bf?1:this._searchString.length;_1bc=this._searchString.substr(0,_1c0);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _1c1=this.focusedChild||null;if(_1c0==1||!_1c1){_1c1=this._getNextFocusableChild(_1c1,1);if(!_1c1){return;}}var stop=_1c1;do{var rc=this._keyboardSearchCompare(_1c1,_1bc);if(!!rc&&_1bd++==0){_1bb=_1c1;}if(rc==-1){_1bd=-1;break;}_1c1=this._getNextFocusableChild(_1c1,1);}while(_1c1&&_1c1!=stop);});_1be();this.onKeyboardSearch(_1bb,evt,_1bc,_1bd);},_onChildBlur:function(){},_getNextFocusableChild:function(_1c2,dir){var _1c3=_1c2;do{if(!_1c2){_1c2=this[dir>0?"_getFirst":"_getLast"]();if(!_1c2){break;}}else{_1c2=this._getNext(_1c2,dir);}if(_1c2!=null&&_1c2!=_1c3&&_1c2.isFocusable()){return _1c2;}}while(_1c2!=_1c3);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_1c4,dir){if(_1c4){_1c4=_1c4.domNode;while(_1c4){_1c4=_1c4[dir<0?"previousSibling":"nextSibling"];if(_1c4&&"getAttribute" in _1c4){var w=_1af.byNode(_1c4);if(w){return w;}}}}return null;}});});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_1c5,dom,_1c6,_1c7){return _1c5("dijit.ToolbarSeparator",[_1c6,_1c7],{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(_1c8,_1c9,_1ca,_1cb){return _1c8("dijit.form.ToggleButton",[_1ca,_1cb],{baseClass:"dijitToggleButton",setChecked:function(_1cc){_1c9.deprecated("setChecked("+_1cc+") is deprecated. Use set('checked',"+_1cc+") instead.","","2.0");this.set("checked",_1cc);}});});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html","../a11yclick"],function(_1cd,_1ce,_1cf,has,_1d0,lang,_1d1,_1d2,_1d3,_1d4){if(has("dijit-legacy-requires")){_1d1(0,function(){var _1d5=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_1cd(_1d5);});}var _1d6=_1ce("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_1d2,_1d3],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_1d4,_setValueAttr:"valueNode",_setNameAttr:function(name){if(this.valueNode){this.valueNode.setAttribute("name",name);}},postCreate:function(){this.inherited(arguments);this._setLabelFromContainer();},_setLabelFromContainer:function(){if(this.containerNode&&!this.label){this.label=lang.trim(this.containerNode.innerHTML);}this.onLabelSet();},_setShowLabelAttr:function(val){if(this.containerNode){_1cf.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_1d7){_1d0.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_1d7);},onLabelSet:function(){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_1d6=_1ce("dijit.form.Button",_1d6,{onLabelSet:function(){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_1d8){if(this._created&&this.textDir!=_1d8){this._set("textDir",_1d8);this._setLabelAttr(this.label);}}});}return _1d6;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_1d9,dom,has,_1da){var _1db=_1d9("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _1dc=e.defaultPrevented;if(!_1dc&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _1dd=_1da.byNode(node);if(_1dd&&typeof _1dd._onSubmit=="function"){_1dd._onSubmit(e);e.preventDefault();_1dc=true;break;}}}return !_1dc;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_1de){this._set("label",_1de);var _1df=this.containerNode||this.focusNode;_1df.innerHTML=_1de;this.onLabelSet();},onLabelSet:function(){}});if(has("dojo-bidi")){_1db=_1d9("dijit.form._ButtonMixin",_1db,{onLabelSet:function(){this.inherited(arguments);var _1e0=this.containerNode||this.focusNode;this.applyTextDir(_1e0);}});}return _1db;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_1e1,_1e2){return _1e1("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _1e3=this.checked;this._set("checked",!_1e3);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_1e3);return ret;},_setCheckedAttr:function(_1e4,_1e5){this._set("checked",_1e4);var node=this.focusNode||this.domNode;if(this._created){if(_1e2.get(node,"checked")!=!!_1e4){_1e2.set(node,"checked",!!_1e4);}}node.setAttribute(this._aria_attr,String(_1e4));this._handleOnChange(_1e4,_1e5);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../Destroyable","../form/Button"],function(_1e6,_1e7,lang,_1e8,_1e9){var _1ea=_1e7("dijit._editor._Plugin",_1e8,{constructor:function(args){this.params=args||{};lang.mixin(this,this.params);this._attrPairNames={};},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:true,buttonClass:_1e9,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _1eb=this.getLabel(this.command),_1ec=this.editor,_1ed=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _1ee=lang.mixin({label:_1eb,ownerDocument:_1ec.ownerDocument,dir:_1ec.dir,lang:_1ec.lang,showLabel:false,iconClass:_1ed,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});delete _1ee.name;this.button=new this.buttonClass(_1ee);}}if(this.get("disabled")&&this.button){this.button.set("disabled",this.get("disabled"));}},destroy:function(){if(this.dropDown){this.dropDown.destroyRecursive();}this.inherited(arguments);},connect:function(o,f,tf){this.own(_1e6.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_1ef,_1f0;if(!e||!e.isLoaded||!c.length){return;}var _1f1=this.get("disabled");if(this.button){try{_1f0=!_1f1&&e.queryCommandEnabled(c);if(this.enabled!==_1f0){this.enabled=_1f0;this.button.set("disabled",!_1f0);}if(_1f0){if(typeof this.button.checked=="boolean"){_1ef=e.queryCommandState(c);if(this.checked!==_1ef){this.checked=_1ef;this.button.set("checked",e.queryCommandState(c));}}}}catch(e){}}},setEditor:function(_1f2){this.editor=_1f2;this._initButton();if(this.button&&this.useDefaultCommand){if(this.editor.queryCommandAvailable(this.command)){this.own(this.button.on("click",lang.hitch(this.editor,"execCommand",this.command,this.commandArg)));}else{this.button.domNode.style.display="none";}}this.own(this.editor.on("NormalizedDisplayChanged",lang.hitch(this,"updateState")));},setToolbar:function(_1f3){if(this.button){_1f3.addChild(this.button);}},set:function(name,_1f4){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _1f5=this._getAttrNames(name);if(this[_1f5.s]){var _1f6=this[_1f5.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_1f4);}return _1f6||this;},get:function(name){var _1f7=this._getAttrNames(name);return this[_1f7.g]?this[_1f7.g]():this[name];},_setDisabledAttr:function(_1f8){this._set("disabled",_1f8);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,_1f9){this[name]=_1f9;}});_1ea.registry={};return _1ea;});},"dijit/_editor/plugins/EnterKeyHandling":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","../_Plugin","../RichText","../range"],function(_1fa,_1fb,keys,lang,on,has,win,_1fc,_1fd,_1fe,_1ff){return _1fa("dijit._editor.plugins.EnterKeyHandling",_1fd,{blockNodeForEnter:"BR",constructor:function(args){if(args){if("blockNodeForEnter" in args){args.blockNodeForEnter=args.blockNodeForEnter.toUpperCase();}lang.mixin(this,args);}},setEditor:function(_200){if(this.editor===_200){return;}this.editor=_200;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_200.onLoadDeferred.then(lang.hitch(this,function(d){this.own(on(_200.document,"keydown",lang.hitch(this,function(e){if(e.keyCode==keys.ENTER){var ne=lang.mixin({},e);ne.shiftKey=true;if(!this.handleEnterKey(ne)){e.stopPropagation();e.preventDefault();}}})));if(has("ie")>=9&&has("ie")<=10){this.own(on(_200.document,"paste",lang.hitch(this,function(e){setTimeout(lang.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,"handleEnterKey");_200.addKeyHandler(13,0,0,h);_200.addKeyHandler(13,0,1,h);this.own(this.editor.on("KeyPressed",lang.hitch(this,"onKeyPressed")));}}},onKeyPressed:function(){if(this._checkListLater){if(this.editor.selection.isCollapsed()){var _201=this.editor.selection.getAncestorElement("LI");if(!_201){_1fe.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _202=this.editor.selection.getAncestorElement(this.blockNodeForEnter);if(_202){_202.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(_201.parentNode.parentNode.nodeName=="LI"){_201=_201.parentNode.parentNode;}}var fc=_201.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_201.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _203=_1ff.create(this.editor.window);_203.setStart(_201.firstChild,0);var _204=_1ff.getSelection(this.editor.window,true);_204.removeAllRanges();_204.addRange(_203);}}}this._checkListLater=false;}if(this._pressedEnterInBlock){if(this._pressedEnterInBlock.previousSibling){this.removeTrailingBr(this._pressedEnterInBlock.previousSibling);}delete this._pressedEnterInBlock;}},bogusHtmlContent:" ",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){var _205,_206,_207,_208,_209,_20a,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _20b=this.editor.selection.getParentElement();var _20c=_1ff.getAncestor(_20b,this.blockNodes);if(_20c){if(_20c.tagName=="LI"){return true;}_205=_1ff.getSelection(this.editor.window);_206=_205.getRangeAt(0);if(!_206.collapsed){_206.deleteContents();_205=_1ff.getSelection(this.editor.window);_206=_205.getRangeAt(0);}if(_1ff.atBeginningOfContainer(_20c,_206.startContainer,_206.startOffset)){br=doc.createElement("br");_207=_1ff.create(this.editor.window);_20c.insertBefore(br,_20c.firstChild);_207.setStartAfter(br);_205.removeAllRanges();_205.addRange(_207);}else{if(_1ff.atEndOfContainer(_20c,_206.startContainer,_206.startOffset)){_207=_1ff.create(this.editor.window);br=doc.createElement("br");_20c.appendChild(br);_20c.appendChild(doc.createTextNode(" "));_207.setStart(_20c.lastChild,0);_205.removeAllRanges();_205.addRange(_207);}else{rs=_206.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;_208=doc.createTextNode(txt.substring(0,_206.startOffset));_209=doc.createTextNode(txt.substring(_206.startOffset));_20a=doc.createElement("br");if(_209.nodeValue==""&&has("webkit")){_209=doc.createTextNode(" ");}_1fb.place(_208,rs,"after");_1fb.place(_20a,_208,"after");_1fb.place(_209,_20a,"after");_1fb.destroy(rs);_207=_1ff.create(this.editor.window);_207.setStart(_209,0);_205.removeAllRanges();_205.addRange(_207);return false;}return true;}}}else{_205=_1ff.getSelection(this.editor.window);if(_205.rangeCount){_206=_205.getRangeAt(0);if(_206&&_206.startContainer){if(!_206.collapsed){_206.deleteContents();_205=_1ff.getSelection(this.editor.window);_206=_205.getRangeAt(0);}rs=_206.startContainer;if(rs&&rs.nodeType==3){var _20d=_206.startOffset;if(rs.length<_20d){ret=this._adjustNodeAndOffset(rs,_20d);rs=ret.node;_20d=ret.offset;}txt=rs.nodeValue;_208=doc.createTextNode(txt.substring(0,_20d));_209=doc.createTextNode(txt.substring(_20d));_20a=doc.createElement("br");if(!_209.length){_209=doc.createTextNode(" ");}if(_208.length){_1fb.place(_208,rs,"after");}else{_208=rs;}_1fb.place(_20a,_208,"after");_1fb.place(_209,_20a,"after");_1fb.destroy(rs);_207=_1ff.create(this.editor.window);_207.setStart(_209,0);_207.setEnd(_209,_209.length);_205.removeAllRanges();_205.addRange(_207);this.editor.selection.collapse(true);}else{var _20e;if(_206.startOffset>=0){_20e=rs.childNodes[_206.startOffset];}var _20a=doc.createElement("br");var _209=doc.createTextNode(" ");if(!_20e){rs.appendChild(_20a);rs.appendChild(_209);}else{_1fb.place(_20a,_20e,"before");_1fb.place(_209,_20a,"after");}_207=_1ff.create(this.editor.window);_207.setStart(_209,0);_207.setEnd(_209,_209.length);_205.removeAllRanges();_205.addRange(_207);this.editor.selection.collapse(true);}}}else{_1fe.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _20f=true;_205=_1ff.getSelection(this.editor.window);_206=_205.getRangeAt(0);if(!_206.collapsed){_206.deleteContents();_205=_1ff.getSelection(this.editor.window);_206=_205.getRangeAt(0);}var _210=_1ff.getBlockAncestor(_206.endContainer,null,this.editor.editNode);var _211=_210.blockNode;if((this._checkListLater=(_211&&(_211.nodeName=="LI"||_211.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_211;}if(/^(\s| | |\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s| | |\xA0)<\/span>)?(<br>)?$/.test(_211.innerHTML)){_211.innerHTML="";if(has("webkit")){_207=_1ff.create(this.editor.window);_207.setStart(_211,0);_205.removeAllRanges();_205.addRange(_207);}this._checkListLater=false;}return true;}if(!_210.blockNode||_210.blockNode===this.editor.editNode){try{_1fe.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_210={blockNode:this.editor.selection.getAncestorElement(this.blockNodeForEnter),blockContainer:this.editor.editNode};if(_210.blockNode){if(_210.blockNode!=this.editor.editNode&&(!(_210.blockNode.textContent||_210.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_210.blockNode);return false;}}else{_210.blockNode=this.editor.editNode;}_205=_1ff.getSelection(this.editor.window);_206=_205.getRangeAt(0);}var _212=doc.createElement(this.blockNodeForEnter);_212.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_210.blockNode);var _213=_206.endOffset;var node=_206.endContainer;if(node.length<_213){var ret=this._adjustNodeAndOffset(node,_213);node=ret.node;_213=ret.offset;}if(_1ff.atEndOfContainer(_210.blockNode,node,_213)){if(_210.blockNode===_210.blockContainer){_210.blockNode.appendChild(_212);}else{_1fb.place(_212,_210.blockNode,"after");}_20f=false;_207=_1ff.create(this.editor.window);_207.setStart(_212,0);_205.removeAllRanges();_205.addRange(_207);if(this.editor.height){_1fc.scrollIntoView(_212);}}else{if(_1ff.atBeginningOfContainer(_210.blockNode,_206.startContainer,_206.startOffset)){_1fb.place(_212,_210.blockNode,_210.blockNode===_210.blockContainer?"first":"before");if(_212.nextSibling&&this.editor.height){_207=_1ff.create(this.editor.window);_207.setStart(_212.nextSibling,0);_205.removeAllRanges();_205.addRange(_207);_1fc.scrollIntoView(_212.nextSibling);}_20f=false;}else{if(_210.blockNode===_210.blockContainer){_210.blockNode.appendChild(_212);}else{_1fb.place(_212,_210.blockNode,"after");}_20f=false;if(_210.blockNode.style){if(_212.style){if(_210.blockNode.style.cssText){_212.style.cssText=_210.blockNode.style.cssText;}}}rs=_206.startContainer;var _214;if(rs&&rs.nodeType==3){var _215,_216;_213=_206.endOffset;if(rs.length<_213){ret=this._adjustNodeAndOffset(rs,_213);rs=ret.node;_213=ret.offset;}txt=rs.nodeValue;_208=doc.createTextNode(txt.substring(0,_213));_209=doc.createTextNode(txt.substring(_213,txt.length));_1fb.place(_208,rs,"before");_1fb.place(_209,rs,"after");_1fb.destroy(rs);var _217=_208.parentNode;while(_217!==_210.blockNode){var tg=_217.tagName;var _218=doc.createElement(tg);if(_217.style){if(_218.style){if(_217.style.cssText){_218.style.cssText=_217.style.cssText;}}}if(_217.tagName==="FONT"){if(_217.color){_218.color=_217.color;}if(_217.face){_218.face=_217.face;}if(_217.size){_218.size=_217.size;}}_215=_209;while(_215){_216=_215.nextSibling;_218.appendChild(_215);_215=_216;}_1fb.place(_218,_217,"after");_208=_217;_209=_218;_217=_217.parentNode;}_215=_209;if(_215.nodeType==1||(_215.nodeType==3&&_215.nodeValue)){_212.innerHTML="";}_214=_215;while(_215){_216=_215.nextSibling;_212.appendChild(_215);_215=_216;}}_207=_1ff.create(this.editor.window);var _219;var _21a=_214;if(this.blockNodeForEnter!=="BR"){while(_21a){_219=_21a;_216=_21a.firstChild;_21a=_216;}if(_219&&_219.parentNode){_212=_219.parentNode;_207.setStart(_212,0);_205.removeAllRanges();_205.addRange(_207);if(this.editor.height){_1fc.scrollIntoView(_212);}if(has("mozilla")){this._pressedEnterInBlock=_210.blockNode;}}else{_20f=true;}}else{_207.setStart(_212,0);_205.removeAllRanges();_205.addRange(_207);if(this.editor.height){_1fc.scrollIntoView(_212);}if(has("mozilla")){this._pressedEnterInBlock=_210.blockNode;}}}}return _20f;},_adjustNodeAndOffset:function(node,_21b){while(node.length<_21b&&node.nextSibling&&node.nextSibling.nodeType==3){_21b=_21b-node.length;node=node.nextSibling;}return {"node":node,"offset":_21b};},removeTrailingBr:function(_21c){var para=/P|DIV|LI/i.test(_21c.tagName)?_21c:this.editor.selection.getParentOfType(_21c,["P","DIV","LI"]);if(!para){return;}if(para.lastChild){if((para.childNodes.length>1&¶.lastChild.nodeType==3&&/^[\s\xAD]*$/.test(para.lastChild.nodeValue))||para.lastChild.tagName=="BR"){_1fb.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/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/query","dojo/domReady","dojo/sniff","dojo/string","dojo/topic","dojo/_base/unload","dojo/_base/url","dojo/window","../_Widget","../_CssStateMixin","../selection","./range","./html","../focus","../main"],function(_21d,_21e,_21f,_220,dom,_221,_222,_223,_224,_225,_226,keys,lang,on,_227,_228,has,_229,_22a,_22b,_22c,_22d,_22e,_22f,_230,_231,_232,_233,_234){var _235=_21f("dijit._editor.RichText",[_22e,_22f],{constructor:function(_236){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_236&&lang.isString(_236.value)){this.value=_236.value;}this.onLoadDeferred=new _220();},baseClass:"dijitEditor",inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:false,disableSpellCheck:false,postCreate:function(){if("textarea"===this.domNode.tagName.toLowerCase()){console.warn("RichText should not be used with the TEXTAREA tag. See dijit._editor.RichText docs.");}this.contentPreFilters=[lang.trim,lang.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);if(has("mozilla")){this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters);this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters);}if(has("webkit")){this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters);this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters);}if(has("ie")||has("trident")){this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters);this.contentDomPostFilters=[lang.hitch(this,"_stripBreakerNodes")].concat(this.contentDomPostFilters);}this.contentDomPostFilters=[lang.hitch(this,"_stripTrailingEmptyNodes")].concat(this.contentDomPostFilters);this.inherited(arguments);_22a.publish(_234._scopeName+"._editor.RichText::init",this);},startup:function(){this.inherited(arguments);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=lang.hitch(this,function(cmd,arg){return function(){return !this.execCommand(cmd,arg);};});var _237={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")){_237.Z=exec("redo");}var key;for(key in _237){this.addKeyHandler(key,true,false,_237[key]);}},events:["onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_235._editorCommandsLocalized){this._local2NativeFormatNames=_235._local2NativeFormatNames;this._native2LocalFormatNames=_235._native2LocalFormatNames;return;}_235._editorCommandsLocalized=true;_235._local2NativeFormatNames={};_235._native2LocalFormatNames={};this._local2NativeFormatNames=_235._local2NativeFormatNames;this._native2LocalFormatNames=_235._native2LocalFormatNames;var _238=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _239="",_23a,i=0;while((_23a=_238[i++])){if(_23a.charAt(1)!=="l"){_239+="<"+_23a+"><span>content</span></"+_23a+"><br/>";}else{_239+="<"+_23a+"><li>content</li></"+_23a+"><br/>";}}var _23b={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_223.create("div",{style:_23b,innerHTML:_239});this.ownerDocumentBody.appendChild(div);var _23c=lang.hitch(this,function(){var node=div.firstChild;while(node){try{this.selection.selectElement(node.firstChild);var _23d=node.tagName.toLowerCase();this._local2NativeFormatNames[_23d]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_23d]]=_23d;node=node.nextSibling.nextSibling;}catch(e){}}_223.destroy(div);});this.defer(_23c);},open:function(_23e){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _220();}if(!this.isClosed){this.close();}_22a.publish(_234._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_23e.nodeName){this.domNode=_23e;}var dn=this.domNode;var html;if(lang.isString(this.value)){html=this.value;dn.innerHTML="";}else{if(dn.nodeName&&dn.nodeName.toLowerCase()=="textarea"){var ta=(this.textarea=dn);this.name=ta.name;html=ta.value;dn=this.domNode=this.ownerDocument.createElement("div");dn.setAttribute("widgetId",this.id);ta.removeAttribute("widgetId");dn.cssText=ta.cssText;dn.className+=" "+ta.className;_223.place(dn,ta,"before");var _23f=lang.hitch(this,function(){_225.set(ta,{display:"block",position:"absolute",top:"-1000px"});if(has("ie")){var s=ta.style;this.__overflow=s.overflow;s.overflow="hidden";}});if(has("ie")){this.defer(_23f,10);}else{_23f();}if(ta.form){var _240=ta.value;this.reset=function(){var _241=this.getValue();if(_241!==_240){this.replaceValue(_240);}};on(ta.form,"submit",lang.hitch(this,function(){_221.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_232.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!==""&&(!_21e["useXDomain"]||_21e["allowXdRichTextSave"])){var _242=dom.byId(_234._scopeName+"._editor.RichText.value");if(_242&&_242.value!==""){var _243=_242.value.split(this._SEPARATOR),i=0,dat;while((dat=_243[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){this.value=data[1];_243=_243.splice(i,1);_242.value=_243.join(this._SEPARATOR);break;}}}if(!_235._globalSaveHandler){_235._globalSaveHandler={};_22b.addOnUnload(function(){var id;for(id in _235._globalSaveHandler){var f=_235._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_235._globalSaveHandler[this.id]=lang.hitch(this,"_saveContent");}this.isClosed=false;var ifr=(this.editorObject=this.iframe=this.ownerDocument.createElement("iframe"));ifr.id=this.id+"_iframe";ifr.style.border="none";ifr.style.width="100%";if(this._layoutMode){ifr.style.height="100%";}else{if(has("ie")>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}}ifr.frameBorder=0;ifr._loadFunc=lang.hitch(this,function(w){this.window=w;this.document=w.document;this.selection=new _230.SelectionManager(w);if(has("ie")){this._localizeEditorCommands();}this.onLoad(this.get("value"));});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+"'";}this.editingArea.appendChild(ifr);ifr.src=s;if(dn.nodeName==="LI"){dn.lastChild.style.marginTop="-1.2em";}_222.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _244=_225.getComputedStyle(this.domNode);var _245;if(this["aria-label"]){_245=this["aria-label"];}else{var _246=_227("label[for=\""+this.id+"\"]",this.ownerDocument)[0]||dom.byId(this["aria-labelledby"],this.ownerDocument);if(_246){_245=_246.textContent||_246.innerHTML||"";}}var html="<div id='dijitEditorBody' role='textbox' aria-multiline='true' "+(_245?" aria-label='"+_229.escape(_245)+"'":"")+"></div>";var font=[_244.fontWeight,_244.fontSize,_244.fontFamily].join(" ");var _247=_244.lineHeight;if(_247.indexOf("px")>=0){_247=parseFloat(_247)/parseFloat(_244.fontSize);}else{if(_247.indexOf("em")>=0){_247=parseFloat(_247);}else{_247="normal";}}var _248="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_249){_249=_249.replace(/^;/ig,"")+";";var s=_249.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;}}_225.set(self.domNode,sC,"");}_248+=_249+";";});this.iframe.setAttribute("title",_245);var _24a=this.lang||_226.locale.replace(/-.*/,"");return ["<!DOCTYPE html>","<html lang='"+_24a+"'"+(this.isLeftToRight()?"":" dir='rtl'")+">\n","<head>\n","<meta http-equiv='Content-Type' content='text/html'>\n",_245?"<title>"+_229.escape(_245)+"</title>":"","<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:",_247,";\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")||has("edge")?"":"\tli{ min-height:1.2em; }\n"),"</style>\n",this._applyEditingAreaStyleSheets(),"\n","</head>\n<body role='application'",_245?" aria-label='"+_229.escape(_245)+"'":"","onload='try{frameElement && frameElement._loadFunc(window,document)}catch(e){document.domain=\""+document.domain+"\";frameElement._loadFunc(window,document)}' ","style='"+_248+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _24b=[];if(this.styleSheets){_24b=this.styleSheets.split(";");this.styleSheets="";}_24b=_24b.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url,_24c=_22d.get(this.ownerDocument);while((url=_24b[i++])){var _24d=(new _22c(_24c.location,url)).toString();this.editingAreaStyleSheets.push(_24d);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_24d+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString(),_24e=_22d.get(this.ownerDocument);if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _22c(_24e.location,url)).toString();}if(_21d.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);this.onLoadDeferred.then(lang.hitch(this,function(){if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _24f=this.document.createElement("link");_24f.rel="stylesheet";_24f.type="text/css";_24f.href=url;head.appendChild(_24f);}}));},removeStyleSheet:function(uri){var url=uri.toString(),_250=_22d.get(this.ownerDocument);if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _22c(_250.location,url)).toString();}var _251=_21d.indexOf(this.editingAreaStyleSheets,url);if(_251===-1){return;}delete this.editingAreaStyleSheets[_251];_227("link[href=\""+url+"\"]",this.window.document).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_252){_252=!!_252;this._set("disabled",_252);if(!this.isLoaded){return;}var _253=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_253){this.editNode.unselectable="on";}this.editNode.contentEditable=!_252;this.editNode.tabIndex=_252?"-1":this.tabIndex;if(_253){this.defer(function(){if(this.editNode){this.editNode.unselectable="off";}});}if(has("mozilla")&&!_252&&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=_233.registerIframe(this.iframe);}this.editNode=this.document.body.firstChild;var _254=this;this.beforeIframeNode=_223.place("<div tabIndex=-1></div>",this.iframe,"before");this.afterIframeNode=_223.place("<div tabIndex=-1></div>",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){_254.editNode.focus();};this.focusNode=this.editNode;var _255=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;this.own.apply(this,_21d.map(_255,function(item){var type=item.toLowerCase().replace(/^on/,"");return on(ap,type,lang.hitch(this,item));},this));this.own(on(ap,"mouseup",lang.hitch(this,"onClick")));if(has("ie")){this.own(on(this.document,"mousedown",lang.hitch(this,"_onIEMouseDown")));this.editNode.style.zoom=1;}if(has("webkit")){this._webkitListener=this.own(on(this.document,"mouseup",lang.hitch(this,"onDisplayChanged")))[0];this.own(on(this.document,"mousedown",lang.hitch(this,function(e){var t=e.target;if(t&&(t===this.document.body||t===this.document)){this.defer("placeCursorAtEnd");}})));}if(has("ie")){try{this.document.execCommand("RespectVisibilityInDesign",true,null);}catch(e){}}this.isLoaded=true;this.set("disabled",this.disabled);var _256=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred&&!this.onLoadDeferred.isFulfilled()){this.onLoadDeferred.resolve(true);}this.onDisplayChanged();if(this.focusOnLoad){_228(lang.hitch(this,"defer","focus",this.updateInterval));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.then(_256);}else{_256();}},onKeyDown:function(e){if(e.keyCode===keys.SHIFT||e.keyCode===keys.ALT||e.keyCode===keys.META||e.keyCode===keys.CTRL){return true;}if(e.keyCode===keys.TAB&&this.isTabIndent){e.stopPropagation();e.preventDefault();if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(e.keyCode==keys.TAB&&!this.isTabIndent&&!e.ctrlKey&&!e.altKey){if(e.shiftKey){this.beforeIframeNode.focus();}else{this.afterIframeNode.focus();}return true;}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();}}}var _257=this._keyHandlers[e.keyCode],args=arguments;if(_257&&!e.altKey){_21d.some(_257,function(h){if(!(h.shift^e.shiftKey)&&!(h.ctrl^(e.ctrlKey||e.metaKey))){if(!h.handler.apply(this,args)){e.preventDefault();}return true;}},this);}this.defer("onKeyPressed",1);return true;},onKeyUp:function(){},setDisabled:function(_258){_226.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_258);},_setValueAttr:function(_259){this.setValue(_259);},_setDisableSpellCheckAttr:function(_25a){if(this.document){_221.set(this.document.body,"spellcheck",!_25a);}else{this.onLoadDeferred.then(lang.hitch(this,function(){_221.set(this.document.body,"spellcheck",!_25a);}));}this._set("disableSpellCheck",_25a);},addKeyHandler:function(key,ctrl,_25b,_25c){if(typeof key=="string"){key=key.toUpperCase().charCodeAt(0);}if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_25b||false,ctrl:ctrl||false,handler:_25c});},onKeyPressed:function(){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onIEMouseDown:function(){if(!this.focused&&!this.disabled){this.focus();}},_onBlur:function(e){if(has("ie")||has("trident")){this.defer(function(){if(!_233.curNode){this.ownerDocumentBody.focus();}});}this.inherited(arguments);var _25d=this.getValue(true);if(_25d!==this.value){this.onChange(_25d);}this._set("value",_25d);},_onFocus:function(e){if(!this.disabled){if(!this._disabledOK){this.set("disabled",false);}this.inherited(arguments);}},blur:function(){if(!has("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(this.ownerDocumentBody.focus){this.ownerDocumentBody.focus();}}},focus:function(){if(!this.isLoaded){this.focusOnLoad=true;return;}if(has("ie")<9){this.iframe.fireEvent("onfocus",document.createEventObject());}else{this.editNode.focus();}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(){if(this._updateTimer){this._updateTimer.remove();}this._updateTimer=this.defer("onNormalizedDisplayChanged",this.updateInterval);},onNormalizedDisplayChanged:function(){delete this._updateTimer;},onChange:function(){},_normalizeCommand:function(cmd,_25e){var _25f=cmd.toLowerCase();if(_25f==="formatblock"){if(has("safari")&&_25e===undefined){_25f="heading";}}else{if(_25f==="hilitecolor"&&!has("mozilla")){_25f="backcolor";}}return _25f;},_qcaCache:{},queryCommandAvailable:function(_260){var ca=this._qcaCache[_260];if(ca!==undefined){return ca;}return (this._qcaCache[_260]=this._queryCommandAvailable(_260));},_queryCommandAvailable:function(_261){switch(_261.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":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":case "cut":case "copy":case "paste":return true;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":return has("ie")||has("trident")||has("edge");case "inserttable":case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":return !has("webkit");default:return false;}},execCommand:function(_262,_263){var _264;if(this.focused){this.focus();}_262=this._normalizeCommand(_262,_263);if(_263!==undefined){if(_262==="heading"){throw new Error("unimplemented");}else{if(_262==="formatblock"&&(has("ie")||has("trident"))){_263="<"+_263+">";}}}var _265="_"+_262+"Impl";if(this[_265]){_264=this[_265](_263);}else{_263=arguments.length>1?_263:null;if(_263||_262!=="createlink"){_264=this.document.execCommand(_262,false,_263);}}this.onDisplayChanged();return _264;},queryCommandEnabled:function(_266){if(this.disabled||!this._disabledOK){return false;}_266=this._normalizeCommand(_266);var _267="_"+_266+"EnabledImpl";if(this[_267]){return this[_267](_266);}else{return this._browserQueryCommandEnabled(_266);}},queryCommandState:function(_268){if(this.disabled||!this._disabledOK){return false;}_268=this._normalizeCommand(_268);try{return this.document.queryCommandState(_268);}catch(e){return false;}},queryCommandValue:function(_269){if(this.disabled||!this._disabledOK){return false;}var r;_269=this._normalizeCommand(_269);if(has("ie")&&_269==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_269)];}else{if(has("mozilla")&&_269==="hilitecolor"){var _26a;try{_26a=this.document.queryCommandValue("styleWithCSS");}catch(e){_26a=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_269);this.document.execCommand("styleWithCSS",false,_26a);}else{r=this.document.queryCommandValue(_269);}}return r;},_sCall:function(name,args){return this.selection[name].apply(this.selection,args);},placeCursorAtStart:function(){this.focus();var _26b=false;if(has("mozilla")){var _26c=this.editNode.firstChild;while(_26c){if(_26c.nodeType===3){if(_26c.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_26b=true;this.selection.selectElement(_26c);break;}}else{if(_26c.nodeType===1){_26b=true;var tg=_26c.tagName?_26c.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this.selection.selectElement(_26c);}else{this.selection.selectElementChildren(_26c);}break;}}_26c=_26c.nextSibling;}}else{_26b=true;this.selection.selectElementChildren(this.editNode);}if(_26b){this.selection.collapse(true);}},placeCursorAtEnd:function(){this.focus();var _26d=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_26d=true;this.selection.selectElement(last);break;}}else{if(last.nodeType===1){_26d=true;this.selection.selectElement(last.lastChild||last);break;}}last=last.previousSibling;}}else{_26d=true;this.selection.selectElementChildren(this.editNode);}if(_26d){this.selection.collapse(false);}},getValue:function(_26e){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this.isLoaded?this._postFilterContent(null,_26e):this.value;},_getValueAttr:function(){return this.getValue(true);},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.then(lang.hitch(this,function(){this.setValue(html);}));return;}if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;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;_21d.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_21d.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_26f){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_26f){dom=lang.clone(dom);}_21d.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_232.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_21d.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _270=dom.byId(_234._scopeName+"._editor.RichText.value");if(_270){if(_270.value){_270.value+=this._SEPARATOR;}_270.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_271){str=str.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");if(!_271){str=str.replace(/'/gm,"'");}return str;},getNodeHtml:function(node){_226.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _232.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_226.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _232.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._webkitListener.remove();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;_223.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_222.remove(this.domNode,this.baseClass);this.isClosed=true;this.isLoaded=false;delete this.editNode;delete this.focusNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;},destroy:function(){if(!this.isClosed){this.close(false);}if(this._updateTimer){this._updateTimer.remove();}this.inherited(arguments);if(_235._globalSaveHandler){delete _235._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(_272){if(!_272){return false;}var elem=has("ie")<9?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_272);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _273=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_273=true;}else{_273=this.document.queryCommandEnabled("createlink");}}else{_273=this._browserQueryCommandEnabled("createlink");}return _273;},_unlinkEnabledImpl:function(){var _274=true;if(has("mozilla")||has("webkit")){_274=this.selection.hasAncestorElement("a");}else{_274=this._browserQueryCommandEnabled("unlink");}return _274;},_inserttableEnabledImpl:function(){var _275=true;if(has("mozilla")||has("webkit")){_275=true;}else{_275=this._browserQueryCommandEnabled("inserttable");}return _275;},_cutEnabledImpl:function(){var _276=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_276=!!sel;}else{_276=this._browserQueryCommandEnabled("cut");}return _276;},_copyEnabledImpl:function(){var _277=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_277=!!sel;}else{_277=this._browserQueryCommandEnabled("copy");}return _277;},_pasteEnabledImpl:function(){var _278=true;if(has("webkit")){return true;}else{_278=this._browserQueryCommandEnabled("paste");}return _278;},_inserthorizontalruleImpl:function(_279){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_279);},_unlinkImpl:function(_27a){if((this.queryCommandEnabled("unlink"))&&(has("mozilla")||has("webkit"))){var a=this.selection.getAncestorElement("a");this.selection.selectElement(a);return this.document.execCommand("unlink",false,null);}return this.document.execCommand("unlink",false,_27a);},_hilitecolorImpl:function(_27b){var _27c;var _27d=this._handleTextColorOrProperties("hilitecolor",_27b);if(!_27d){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_27c=this.document.execCommand("hilitecolor",false,_27b);this.document.execCommand("styleWithCSS",false,false);}else{_27c=this.document.execCommand("hilitecolor",false,_27b);}}return _27c;},_backcolorImpl:function(_27e){if(has("ie")){_27e=_27e?_27e:null;}var _27f=this._handleTextColorOrProperties("backcolor",_27e);if(!_27f){_27f=this.document.execCommand("backcolor",false,_27e);}return _27f;},_forecolorImpl:function(_280){if(has("ie")){_280=_280?_280:null;}var _281=false;_281=this._handleTextColorOrProperties("forecolor",_280);if(!_281){_281=this.document.execCommand("forecolor",false,_280);}return _281;},_inserthtmlImpl:function(_282){_282=this._preFilterContent(_282);var rv=true;if(has("ie")<9){var _283=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_283.item(0);while(_283.length){_283.remove(_283.item(0));}n.outerHTML=_282;}else{_283.pasteHTML(_282);}_283.select();}else{if(has("trident")<8){var _283;var _284=_231.getSelection(this.window);if(_284&&_284.rangeCount&&_284.getRangeAt){_283=_284.getRangeAt(0);_283.deleteContents();var div=_223.create("div");div.innerHTML=_282;var node,_285;var n=this.document.createDocumentFragment();while((node=div.firstChild)){_285=n.appendChild(node);}_283.insertNode(n);if(_285){_283=_283.cloneRange();_283.setStartAfter(_285);_283.collapse(false);_284.removeAllRanges();_284.addRange(_283);}}}else{if(has("mozilla")&&!_282.length){this.selection.remove();}else{rv=this.document.execCommand("inserthtml",false,_282);}}}return rv;},_boldImpl:function(_286){var _287=false;if(has("ie")||has("trident")){this._adaptIESelection();_287=this._adaptIEFormatAreaAndExec("bold");}if(!_287){_287=this.document.execCommand("bold",false,_286);}return _287;},_italicImpl:function(_288){var _289=false;if(has("ie")||has("trident")){this._adaptIESelection();_289=this._adaptIEFormatAreaAndExec("italic");}if(!_289){_289=this.document.execCommand("italic",false,_288);}return _289;},_underlineImpl:function(_28a){var _28b=false;if(has("ie")||has("trident")){this._adaptIESelection();_28b=this._adaptIEFormatAreaAndExec("underline");}if(!_28b){_28b=this.document.execCommand("underline",false,_28a);}return _28b;},_strikethroughImpl:function(_28c){var _28d=false;if(has("ie")||has("trident")){this._adaptIESelection();_28d=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_28d){_28d=this.document.execCommand("strikethrough",false,_28c);}return _28d;},_superscriptImpl:function(_28e){var _28f=false;if(has("ie")||has("trident")){this._adaptIESelection();_28f=this._adaptIEFormatAreaAndExec("superscript");}if(!_28f){_28f=this.document.execCommand("superscript",false,_28e);}return _28f;},_subscriptImpl:function(_290){var _291=false;if(has("ie")||has("trident")){this._adaptIESelection();_291=this._adaptIEFormatAreaAndExec("subscript");}if(!_291){_291=this.document.execCommand("subscript",false,_290);}return _291;},_fontnameImpl:function(_292){var _293;if(has("ie")||has("trident")){_293=this._handleTextColorOrProperties("fontname",_292);}if(!_293){_293=this.document.execCommand("fontname",false,_292);}return _293;},_fontsizeImpl:function(_294){var _295;if(has("ie")||has("trident")){_295=this._handleTextColorOrProperties("fontsize",_294);}if(!_295){_295=this.document.execCommand("fontsize",false,_294);}return _295;},_insertorderedlistImpl:function(_296){var _297=false;if(has("ie")||has("trident")||has("edge")){_297=this._adaptIEList("insertorderedlist",_296);}if(!_297){_297=this.document.execCommand("insertorderedlist",false,_296);}return _297;},_insertunorderedlistImpl:function(_298){var _299=false;if(has("ie")||has("trident")||has("edge")){_299=this._adaptIEList("insertunorderedlist",_298);}if(!_299){_299=this.document.execCommand("insertunorderedlist",false,_298);}return _299;},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=_224.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_29a){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_29a);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_29a)==="");}}return false;},_removeStartingRangeFromRange:function(node,_29b){if(node.nextSibling){_29b.setStart(node.nextSibling,0);}else{var _29c=node.parentNode;while(_29c&&_29c.nextSibling==null){_29c=_29c.parentNode;}if(_29c){_29b.setStart(_29c.nextSibling,0);}}return _29b;},_adaptIESelection:function(){var _29d=_231.getSelection(this.window);if(_29d&&_29d.rangeCount&&!_29d.isCollapsed){var _29e=_29d.getRangeAt(0);var _29f=_29e.startContainer;var _2a0=_29e.startOffset;while(_29f.nodeType===3&&_2a0>=_29f.length&&_29f.nextSibling){_2a0=_2a0-_29f.length;_29f=_29f.nextSibling;}var _2a1=null;while(this._isNodeEmpty(_29f,_2a0)&&_29f!==_2a1){_2a1=_29f;_29e=this._removeStartingRangeFromRange(_29f,_29e);_29f=_29e.startContainer;_2a0=0;}_29d.removeAllRanges();_29d.addRange(_29e);}},_adaptIEFormatAreaAndExec:function(_2a2){var _2a3=_231.getSelection(this.window);var doc=this.document;var rs,ret,_2a4,txt,_2a5,_2a6,_2a7,_2a8;if(_2a2&&_2a3&&_2a3.isCollapsed){var _2a9=this.queryCommandValue(_2a2);if(_2a9){var _2aa=this._tagNamesForCommand(_2a2);_2a4=_2a3.getRangeAt(0);var fs=_2a4.startContainer;if(fs.nodeType===3){var _2ab=_2a4.endOffset;if(fs.length<_2ab){ret=this._adjustNodeAndOffset(rs,_2ab);fs=ret.node;_2ab=ret.offset;}}var _2ac;while(fs&&fs!==this.editNode){var _2ad=fs.tagName?fs.tagName.toLowerCase():"";if(_21d.indexOf(_2aa,_2ad)>-1){_2ac=fs;break;}fs=fs.parentNode;}if(_2ac){rs=_2a4.startContainer;var _2ae=doc.createElement(_2ac.tagName);_223.place(_2ae,_2ac,"after");if(rs&&rs.nodeType===3){var _2af,_2b0;var _2b1=_2a4.endOffset;if(rs.length<_2b1){ret=this._adjustNodeAndOffset(rs,_2b1);rs=ret.node;_2b1=ret.offset;}txt=rs.nodeValue;_2a5=doc.createTextNode(txt.substring(0,_2b1));var _2b2=txt.substring(_2b1,txt.length);if(_2b2){_2a6=doc.createTextNode(_2b2);}_223.place(_2a5,rs,"before");if(_2a6){_2a7=doc.createElement("span");_2a7.className="ieFormatBreakerSpan";_223.place(_2a7,rs,"after");_223.place(_2a6,_2a7,"after");_2a6=_2a7;}_223.destroy(rs);var _2b3=_2a5.parentNode;var _2b4=[];var _2b5;while(_2b3!==_2ac){var tg=_2b3.tagName;_2b5={tagName:tg};_2b4.push(_2b5);var _2b6=doc.createElement(tg);if(_2b3.style){if(_2b6.style){if(_2b3.style.cssText){_2b6.style.cssText=_2b3.style.cssText;_2b5.cssText=_2b3.style.cssText;}}}if(_2b3.tagName==="FONT"){if(_2b3.color){_2b6.color=_2b3.color;_2b5.color=_2b3.color;}if(_2b3.face){_2b6.face=_2b3.face;_2b5.face=_2b3.face;}if(_2b3.size){_2b6.size=_2b3.size;_2b5.size=_2b3.size;}}if(_2b3.className){_2b6.className=_2b3.className;_2b5.className=_2b3.className;}if(_2a6){_2af=_2a6;while(_2af){_2b0=_2af.nextSibling;_2b6.appendChild(_2af);_2af=_2b0;}}if(_2b6.tagName==_2b3.tagName){_2a7=doc.createElement("span");_2a7.className="ieFormatBreakerSpan";_223.place(_2a7,_2b3,"after");_223.place(_2b6,_2a7,"after");}else{_223.place(_2b6,_2b3,"after");}_2a5=_2b3;_2a6=_2b6;_2b3=_2b3.parentNode;}if(_2a6){_2af=_2a6;if(_2af.nodeType===1||(_2af.nodeType===3&&_2af.nodeValue)){_2ae.innerHTML="";}while(_2af){_2b0=_2af.nextSibling;_2ae.appendChild(_2af);_2af=_2b0;}}var _2b7;if(_2b4.length){_2b5=_2b4.pop();var _2b8=doc.createElement(_2b5.tagName);if(_2b5.cssText&&_2b8.style){_2b8.style.cssText=_2b5.cssText;}if(_2b5.className){_2b8.className=_2b5.className;}if(_2b5.tagName==="FONT"){if(_2b5.color){_2b8.color=_2b5.color;}if(_2b5.face){_2b8.face=_2b5.face;}if(_2b5.size){_2b8.size=_2b5.size;}}_223.place(_2b8,_2ae,"before");while(_2b4.length){_2b5=_2b4.pop();var _2b9=doc.createElement(_2b5.tagName);if(_2b5.cssText&&_2b9.style){_2b9.style.cssText=_2b5.cssText;}if(_2b5.className){_2b9.className=_2b5.className;}if(_2b5.tagName==="FONT"){if(_2b5.color){_2b9.color=_2b5.color;}if(_2b5.face){_2b9.face=_2b5.face;}if(_2b5.size){_2b9.size=_2b5.size;}}_2b8.appendChild(_2b9);_2b8=_2b9;}_2a8=doc.createTextNode(".");_2a7.appendChild(_2a8);_2b8.appendChild(_2a8);_2b7=_231.create(this.window);_2b7.setStart(_2a8,0);_2b7.setEnd(_2a8,_2a8.length);_2a3.removeAllRanges();_2a3.addRange(_2b7);this.selection.collapse(false);_2a8.parentNode.innerHTML="";}else{_2a7=doc.createElement("span");_2a7.className="ieFormatBreakerSpan";_2a8=doc.createTextNode(".");_2a7.appendChild(_2a8);_223.place(_2a7,_2ae,"before");_2b7=_231.create(this.window);_2b7.setStart(_2a8,0);_2b7.setEnd(_2a8,_2a8.length);_2a3.removeAllRanges();_2a3.addRange(_2b7);this.selection.collapse(false);_2a8.parentNode.innerHTML="";}if(!_2ae.firstChild){_223.destroy(_2ae);}return true;}}return false;}else{_2a4=_2a3.getRangeAt(0);rs=_2a4.startContainer;if(rs&&rs.nodeType===3){var _2ab=_2a4.startOffset;if(rs.length<_2ab){ret=this._adjustNodeAndOffset(rs,_2ab);rs=ret.node;_2ab=ret.offset;}txt=rs.nodeValue;_2a5=doc.createTextNode(txt.substring(0,_2ab));var _2b2=txt.substring(_2ab);if(_2b2!==""){_2a6=doc.createTextNode(txt.substring(_2ab));}_2a7=doc.createElement("span");_2a8=doc.createTextNode(".");_2a7.appendChild(_2a8);if(_2a5.length){_223.place(_2a5,rs,"after");}else{_2a5=rs;}_223.place(_2a7,_2a5,"after");if(_2a6){_223.place(_2a6,_2a7,"after");}_223.destroy(rs);var _2b7=_231.create(this.window);_2b7.setStart(_2a8,0);_2b7.setEnd(_2a8,_2a8.length);_2a3.removeAllRanges();_2a3.addRange(_2b7);doc.execCommand(_2a2);_223.place(_2a7.firstChild,_2a7,"before");_223.destroy(_2a7);_2b7.setStart(_2a8,0);_2b7.setEnd(_2a8,_2a8.length);_2a3.removeAllRanges();_2a3.addRange(_2b7);this.selection.collapse(false);_2a8.parentNode.innerHTML="";return true;}}}else{return false;}},_adaptIEList:function(_2ba){var _2bb=_231.getSelection(this.window);if(_2bb.isCollapsed){if(_2bb.rangeCount&&!this.queryCommandValue(_2ba)){var _2bc=_2bb.getRangeAt(0);var sc=_2bc.startContainer;if(sc&&sc.nodeType==3){if(!_2bc.startOffset){var _2bd="ul";if(_2ba==="insertorderedlist"){_2bd="ol";}var list=this.document.createElement(_2bd);var li=_223.create("li",null,list);_223.place(list,sc,"before");li.appendChild(sc);_223.create("br",null,list,"after");var _2be=_231.create(this.window);_2be.setStart(sc,0);_2be.setEnd(sc,sc.length);_2bb.removeAllRanges();_2bb.addRange(_2be);this.selection.collapse(true);return true;}}}}return false;},_handleTextColorOrProperties:function(_2bf,_2c0){var _2c1=_231.getSelection(this.window);var doc=this.document;var rs,ret,_2c2,txt,_2c3,_2c4,_2c5,_2c6;_2c0=_2c0||null;if(_2bf&&_2c1&&_2c1.isCollapsed){if(_2c1.rangeCount){_2c2=_2c1.getRangeAt(0);rs=_2c2.startContainer;if(rs&&rs.nodeType===3){var _2c7=_2c2.startOffset;if(rs.length<_2c7){ret=this._adjustNodeAndOffset(rs,_2c7);rs=ret.node;_2c7=ret.offset;}txt=rs.nodeValue;_2c3=doc.createTextNode(txt.substring(0,_2c7));var _2c8=txt.substring(_2c7);if(_2c8!==""){_2c4=doc.createTextNode(txt.substring(_2c7));}_2c5=doc.createElement("span");_2c6=doc.createTextNode(".");_2c5.appendChild(_2c6);var _2c9=doc.createElement("span");_2c5.appendChild(_2c9);if(_2c3.length){_223.place(_2c3,rs,"after");}else{_2c3=rs;}_223.place(_2c5,_2c3,"after");if(_2c4){_223.place(_2c4,_2c5,"after");}_223.destroy(rs);var _2ca=_231.create(this.window);_2ca.setStart(_2c6,0);_2ca.setEnd(_2c6,_2c6.length);_2c1.removeAllRanges();_2c1.addRange(_2ca);if(has("webkit")){var _2cb="color";if(_2bf==="hilitecolor"||_2bf==="backcolor"){_2cb="backgroundColor";}_225.set(_2c5,_2cb,_2c0);this.selection.remove();_223.destroy(_2c9);_2c5.innerHTML=" ";this.selection.selectElement(_2c5);this.focus();}else{this.execCommand(_2bf,_2c0);_223.place(_2c5.firstChild,_2c5,"before");_223.destroy(_2c5);_2ca.setStart(_2c6,0);_2ca.setEnd(_2c6,_2c6.length);_2c1.removeAllRanges();_2c1.addRange(_2ca);this.selection.collapse(false);_2c6.parentNode.removeChild(_2c6);}return true;}}}return false;},_adjustNodeAndOffset:function(node,_2cc){while(node.length<_2cc&&node.nextSibling&&node.nextSibling.nodeType===3){_2cc=_2cc-node.length;node=node.nextSibling;}return {"node":node,"offset":_2cc};},_tagNamesForCommand:function(_2cd){if(_2cd==="bold"){return ["b","strong"];}else{if(_2cd==="italic"){return ["i","em"];}else{if(_2cd==="strikethrough"){return ["s","strike"];}else{if(_2cd==="superscript"){return ["sup"];}else{if(_2cd==="subscript"){return ["sub"];}else{if(_2cd==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){if(!this.isLoaded){return;}_227(".ieFormatBreakerSpan",node).forEach(function(b){while(b.firstChild){_223.place(b.firstChild,b,"before");}_223.destroy(b);});return node;},_stripTrailingEmptyNodes:function(node){function _2ce(node){return (/^(p|div|br)$/i.test(node.nodeName)&&node.children.length==0&&/^[\s\xA0]*$/.test(node.textContent||node.innerText||""))||(node.nodeType===3&&/^[\s\xA0]*$/.test(node.nodeValue));};while(node.lastChild&&_2ce(node.lastChild)){_223.destroy(node.lastChild);}return node;},_setTextDirAttr:function(_2cf){this._set("textDir",_2cf);this.onLoadDeferred.then(lang.hitch(this,function(){this.editNode.dir=_2cf;}));}});return _235;});},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang"],function(_2d0,_2d1,lang){var _2d2={getIndex:function(node,_2d3){var ret=[],retR=[];var _2d4=node;var _2d5,n;while(node!=_2d3){var i=0;_2d5=node.parentNode;while((n=_2d5.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_2d5.childNodes.length);node=_2d5;}if(ret.length>0&&_2d4.nodeType==3){n=_2d4.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_2d4.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};},getNode:function(_2d6,_2d7){if(!lang.isArray(_2d6)||_2d6.length==0){return _2d7;}var node=_2d7;_2d0.every(_2d6,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;},getCommonAncestor:function(n1,n2,root){root=root||n1.ownerDocument.body;var _2d8=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_2d8(n1);var n2as=_2d8(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;},getAncestor:function(node,_2d9,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_2d9.test(name)){return node;}node=node.parentNode;}return null;},BlockTagNames:/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/,getBlockAncestor:function(node,_2da,root){root=root||node.ownerDocument.body;_2da=_2da||_2d2.BlockTagNames;var _2db=null,_2dc;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_2db&&_2da.test(name)){_2db=node;}if(!_2dc&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_2dc=node;}node=node.parentNode;}return {blockNode:_2db,blockContainer:_2dc||node.ownerDocument.body};},atBeginningOfContainer:function(_2dd,node,_2de){var _2df=false;var _2e0=(_2de==0);if(!_2e0&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_2de))){_2e0=true;}}if(_2e0){var _2e1=node;_2df=true;while(_2e1&&_2e1!==_2dd){if(_2e1.previousSibling){_2df=false;break;}_2e1=_2e1.parentNode;}}return _2df;},atEndOfContainer:function(_2e2,node,_2e3){var _2e4=false;var _2e5=(_2e3==(node.length||node.childNodes.length));if(!_2e5&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_2e3))){_2e5=true;}}if(_2e5){var _2e6=node;_2e4=true;while(_2e6&&_2e6!==_2e2){if(_2e6.nextSibling){_2e4=false;break;}_2e6=_2e6.parentNode;}}return _2e4;},adjacentNoneTextNode:function(_2e7,next){var node=_2e7;var len=(0-_2e7.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];},create:function(win){win=win||window;if(win.getSelection){return win.document.createRange();}else{return new _2e8();}},getSelection:function(_2e9,_2ea){if(_2e9.getSelection){return _2e9.getSelection();}else{var s=new ie.selection(_2e9);if(!_2ea){s._getCurrentSelection();}return s;}}};if(!window.getSelection){var ie=_2d2.ie={cachedSelection:{},selection:function(_2eb){this._ranges=[];this.addRange=function(r,_2ec){this._ranges.push(r);if(!_2ec){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _2ed=function(){var r=_2eb.document.selection.createRange();var type=_2eb.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _2e8(ie.decomposeControlRange(r));}else{return new _2e8(ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_2ed();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_2ee){var _2ef=_2ee.item(0),_2f0=_2ee.item(_2ee.length-1);var _2f1=_2ef.parentNode,_2f2=_2f0.parentNode;var _2f3=_2d2.getIndex(_2ef,_2f1).o[0];var _2f4=_2d2.getIndex(_2f0,_2f2).o[0]+1;return [_2f1,_2f3,_2f2,_2f4];},getEndPoint:function(_2f5,end){var _2f6=_2f5.duplicate();_2f6.collapse(!end);var _2f7="EndTo"+(end?"End":"Start");var _2f8=_2f6.parentElement();var _2f9,_2fa,_2fb;if(_2f8.childNodes.length>0){_2d0.every(_2f8.childNodes,function(node,i){var _2fc;if(node.nodeType!=3){_2f6.moveToElementText(node);if(_2f6.compareEndPoints(_2f7,_2f5)>0){if(_2fb&&_2fb.nodeType==3){_2f9=_2fb;_2fc=true;}else{_2f9=_2f8;_2fa=i;return false;}}else{if(i==_2f8.childNodes.length-1){_2f9=_2f8;_2fa=_2f8.childNodes.length;return false;}}}else{if(i==_2f8.childNodes.length-1){_2f9=node;_2fc=true;}}if(_2fc&&_2f9){var _2fd=_2d2.adjacentNoneTextNode(_2f9)[0];if(_2fd){_2f9=_2fd.nextSibling;}else{_2f9=_2f8.firstChild;}var _2fe=_2d2.adjacentNoneTextNode(_2f9);_2fd=_2fe[0];var _2ff=_2fe[1];if(_2fd){_2f6.moveToElementText(_2fd);_2f6.collapse(false);}else{_2f6.moveToElementText(_2f8);}_2f6.setEndPoint(_2f7,_2f5);_2fa=_2f6.text.length-_2ff;return false;}_2fb=node;return true;});}else{_2f9=_2f8;_2fa=0;}if(!end&&_2f9.nodeType==1&&_2fa==_2f9.childNodes.length){var _300=_2f9.nextSibling;if(_300&&_300.nodeType==3){_2f9=_300;_2fa=0;}}return [_2f9,_2fa];},setEndPoint:function(_301,_302,_303){var _304=_301.duplicate(),node,len;if(_302.nodeType!=3){if(_303>0){node=_302.childNodes[_303-1];if(node){if(node.nodeType==3){_302=node;_303=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_302=node.nextSibling;_303=0;}else{_304.moveToElementText(node.nextSibling?node:_302);var _305=node.parentNode;var _306=_305.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_304.collapse(false);_305.removeChild(_306);}}}}else{_304.moveToElementText(_302);_304.collapse(true);}}if(_302.nodeType==3){var _307=_2d2.adjacentNoneTextNode(_302);var _308=_307[0];len=_307[1];if(_308){_304.moveToElementText(_308);_304.collapse(false);if(_308.contentEditable!="inherit"){len++;}}else{_304.moveToElementText(_302.parentNode);_304.collapse(true);_304.move("character",1);_304.move("character",-1);}_303+=len;if(_303>0){if(_304.move("character",_303)!=_303){console.error("Error when moving!");}}}return _304;},decomposeTextRange:function(_309){var _30a=ie.getEndPoint(_309);var _30b=_30a[0],_30c=_30a[1];var _30d=_30a[0],_30e=_30a[1];if(_309.htmlText.length){if(_309.htmlText==_309.text){_30e=_30c+_309.text.length;}else{_30a=ie.getEndPoint(_309,true);_30d=_30a[0],_30e=_30a[1];}}return [_30b,_30c,_30d,_30e];},setRange:function(_30f,_310,_311,_312,_313,_314){var _315=ie.setEndPoint(_30f,_310,_311);_30f.setEndPoint("StartToStart",_315);if(!_314){var end=ie.setEndPoint(_30f,_312,_313);}_30f.setEndPoint("EndToEnd",end||_315);return _30f;}};var _2e8=_2d2.W3CRange=_2d1(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=_2d2.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_316){_316=parseInt(_316);if(this.startContainer===node&&this.startOffset==_316){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_316;if(!this.endContainer){this.setEnd(node,_316);}else{this._updateInternal();}},setEnd:function(node,_317){_317=parseInt(_317);if(this.endContainer===node&&this.endOffset==_317){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_317;if(!this.startContainer){this.setStart(node,_317);}else{this._updateInternal();}},setStartAfter:function(node,_318){this._setPoint("setStart",node,_318,1);},setStartBefore:function(node,_319){this._setPoint("setStart",node,_319,0);},setEndAfter:function(node,_31a){this._setPoint("setEnd",node,_31a,1);},setEndBefore:function(node,_31b){this._setPoint("setEnd",node,_31b,0);},_setPoint:function(what,node,_31c,ext){var _31d=_2d2.getIndex(node,node.parentNode).o;this[what](node.parentNode,_31d.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();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 _2e8([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;}});}lang.setObject("dijit.range",_2d2);return _2d2;});},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/sniff"],function(_31e,lang,has){var _31f={};lang.setObject("dijit._editor.html",_31f);var _320=_31f.escapeXml=function(str,_321){str=str.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");if(!_321){str=str.replace(/'/gm,"'");}return str;};_31f.getNodeHtml=function(node){var _322=[];_31f.getNodeHtmlHelper(node,_322);return _322.join("");};_31f.getNodeHtmlHelper=function(node,_323){switch(node.nodeType){case 1:var _324=node.nodeName.toLowerCase();if(!_324||_324.charAt(0)=="/"){return "";}_323.push("<",_324);var _325=[],_326={};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 _326)){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:");}_325.push([n,v]);_326[n]=v;}}}else{var _327=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false);var s=_327.outerHTML;var _328=/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi;var _329=s.match(_328);s=s.substr(0,s.indexOf(">"));_31e.forEach(_329,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")){_325.push([key,node.getAttribute("_djrealurl")]);return;}}var val,_32a;switch(key){case "style":val=node.style.cssText.toLowerCase();break;case "class":val=node.className;break;case "width":if(_324==="img"){_32a=/width=(\S+)/i.exec(s);if(_32a){val=_32a[1];}break;}case "height":if(_324==="img"){_32a=/height=(\S+)/i.exec(s);if(_32a){val=_32a[1];}break;}default:val=node.getAttribute(key);}if(val!=null){_325.push([key,val.toString()]);}}}}},this);}_325.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((attr=_325[j++])){_323.push(" ",attr[0],"=\"",(typeof attr[1]==="string"?_320(attr[1],true):attr[1]),"\"");}switch(_324){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_323.push(" />");break;case "script":_323.push(">",node.innerHTML,"</",_324,">");break;default:_323.push(">");if(node.hasChildNodes()){_31f.getChildrenHtmlHelper(node,_323);}_323.push("</",_324,">");}break;case 4:case 3:_323.push(_320(node.nodeValue,true));break;case 8:_323.push("<!--",_320(node.nodeValue,true),"-->");break;default:_323.push("<!-- Element not recognized - Type: ",node.nodeType," Name: ",node.nodeName,"-->");}};_31f.getChildrenHtml=function(node){var _32b=[];_31f.getChildrenHtmlHelper(node,_32b);return _32b.join("");};_31f.getChildrenHtmlHelper=function(dom,_32c){if(!dom){return;}var _32d=dom["childNodes"]||dom;var _32e=!has("ie")||_32d!==dom;var node,i=0;while((node=_32d[i++])){if(!_32e||node.parentNode==dom){_31f.getNodeHtmlHelper(node,_32c);}}};return _31f;});},"dijit/_editor/plugins/FontChoice":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/i18n","dojo/_base/lang","dojo/store/Memory","../../registry","../../_Widget","../../_TemplatedMixin","../../_WidgetsInTemplateMixin","../../form/FilteringSelect","../_Plugin","../range","dojo/i18n!../nls/FontChoice"],function(_32f,_330,_331,_332,i18n,lang,_333,_334,_335,_336,_337,_338,_339,_33a){var _33b=_331("dijit._editor.plugins._FontDropDown",[_335,_336,_337],{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='../../form/FilteringSelect' required='false' "+"data-dojo-props='labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' "+"class='${comboClass}' "+"tabIndex='-1' id='${selectId}' data-dojo-attach-point='select' value=''/>"+"</span>",contextRequire:_32f,postMixInProperties:function(){this.inherited(arguments);this.strings=i18n.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=_334.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments);},postCreate:function(){this.select.set("store",new _333({idProperty:"value",data:_330.map(this.values,function(_33c){var name=this.strings[_33c]||_33c;return {label:this.getLabel(_33c,name),name:name,value:_33c};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_33d,_33e){_33e=_33e!==false;this.select.set("value",_330.indexOf(this.values,_33d)<0?"":_33d,_33e);if(!_33e){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_33f){this._set("disabled",_33f);this.select.set("disabled",_33f);}});var _340=_331("dijit._editor.plugins._FontNameDropDown",_33b,{generic:false,command:"fontName",comboClass:"dijitFontNameCombo",postMixInProperties:function(){if(!this.values){this.values=this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"];}this.inherited(arguments);},getLabel:function(_341,name){if(this.plainText){return name;}else{return "<div style='font-family: "+_341+"'>"+name+"</div>";}},_setValueAttr:function(_342,_343){_343=_343!==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"};_342=map[_342]||_342;}this.inherited(arguments,[_342,_343]);}});var _344=_331("dijit._editor.plugins._FontSizeDropDown",_33b,{command:"fontSize",comboClass:"dijitFontSizeCombo",values:[1,2,3,4,5,6,7],getLabel:function(_345,name){if(this.plainText){return name;}else{return "<font size="+_345+"'>"+name+"</font>";}},_setValueAttr:function(_346,_347){_347=_347!==false;if(_346.indexOf&&_346.indexOf("px")!=-1){var _348=parseInt(_346,10);_346={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_348]||_346;}this.inherited(arguments,[_346,_347]);}});var _349=_331("dijit._editor.plugins._FormatBlockDropDown",_33b,{command:"formatBlock",comboClass:"dijitFormatBlockCombo",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_34a,name){if(this.plainText||_34a=="noFormat"){return name;}else{return "<"+_34a+">"+name+"</"+_34a+">";}},_execCommand:function(_34b,_34c,_34d){if(_34d==="noFormat"){var _34e;var end;var sel=_33a.getSelection(_34b.window);if(sel&&sel.rangeCount>0){var _34f=sel.getRangeAt(0);var node,tag;if(_34f){_34e=_34f.startContainer;end=_34f.endContainer;while(_34e&&_34e!==_34b.editNode&&_34e!==_34b.document.body&&_34e.nodeType!==1){_34e=_34e.parentNode;}while(end&&end!==_34b.editNode&&end!==_34b.document.body&&end.nodeType!==1){end=end.parentNode;}var _350=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(_34b.selection.inSelection(c)){var tag=c.tagName?c.tagName.toLowerCase():"";if(_330.indexOf(this.values,tag)!==-1){ary.push(c);}_350(c,ary);}}}}});var _351=lang.hitch(this,function(_352){if(_352&&_352.length){_34b.beginEditing();while(_352.length){this._removeFormat(_34b,_352.pop());}_34b.endEditing();}});var _353=[];if(_34e==end){var _354;node=_34e;while(node&&node!==_34b.editNode&&node!==_34b.document.body){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_330.indexOf(this.values,tag)!==-1){_354=node;break;}}node=node.parentNode;}_350(_34e,_353);if(_354){_353=[_354].concat(_353);}_351(_353);}else{node=_34e;while(_34b.selection.inSelection(node)){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_330.indexOf(this.values,tag)!==-1){_353.push(node);}_350(node,_353);}node=node.nextSibling;}_351(_353);}_34b.onDisplayChanged();}}}else{_34b.execCommand(_34c,_34d);}},_removeFormat:function(_355,node){if(_355.customUndo){while(node.firstChild){_332.place(node.firstChild,node,"before");}node.parentNode.removeChild(node);}else{_355.selection.selectElementChildren(node);var html=_355.selection.getSelectedHtml();_355.selection.selectElement(node);_355.execCommand("inserthtml",html||"");}}});var _356=_331("dijit._editor.plugins.FontChoice",_339,{useDefaultCommand:false,_initButton:function(){var _357={fontName:_340,fontSize:_344,formatBlock:_349}[this.command],_358=this.params;if(this.params.custom){_358.values=this.params.custom;}var _359=this.editor;this.button=new _357(lang.delegate({dir:_359.dir,lang:_359.lang},_358));this.own(this.button.select.on("change",lang.hitch(this,function(_35a){if(this.editor.focused){this.editor.focus();}if(this.command=="fontName"&&_35a.indexOf(" ")!=-1){_35a="'"+_35a+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_35a);}else{this.editor.execCommand(this.command,_35a);}})));},updateState:function(){var _35b=this.editor;var _35c=this.command;if(!_35b||!_35b.isLoaded||!_35c.length){return;}if(this.button){var _35d=this.get("disabled");this.button.set("disabled",_35d);if(_35d){return;}var _35e;try{_35e=_35b.queryCommandValue(_35c)||"";}catch(e){_35e="";}var _35f=lang.isString(_35e)&&(_35e.match(/'([^']*)'/)||_35e.match(/"([^"]*)"/));if(_35f){_35e=_35f[1];}if(_35c==="formatBlock"){if(!_35e||_35e=="p"){_35e=null;var elem;var sel=_33a.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _360=sel.getRangeAt(0);if(_360){elem=_360.endContainer;}}while(elem&&elem!==_35b.editNode&&elem!==_35b.document){var tg=elem.tagName?elem.tagName.toLowerCase():"";if(tg&&_330.indexOf(this.button.values,tg)>-1){_35e=tg;break;}elem=elem.parentNode;}if(!_35e){_35e="noFormat";}}else{if(_330.indexOf(this.button.values,_35e)<0){_35e="noFormat";}}}if(_35e!==this.button.get("value")){this.button.set("value",_35e,false);}}}});_330.forEach(["fontName","fontSize","formatBlock"],function(name){_339.registry[name]=function(args){return new _356({command:name,plainText:args.plainText});};});_356._FontDropDown=_33b;_356._FontNameDropDown=_340;_356._FontSizeDropDown=_344;_356._FormatBlockDropDown=_349;return _356;});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_361,_362,_363){var base=null;return _361("dojo.store.Memory",base,{constructor:function(_364){for(var i in _364){this[i]=_364[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_363,get:function(id){return this.data[this.index[id]];},getIdentity:function(_365){return _365[this.idProperty];},put:function(_366,_367){var data=this.data,_368=this.index,_369=this.idProperty;var id=_366[_369]=(_367&&"id" in _367)?_367.id:_369 in _366?_366[_369]:Math.random();if(id in _368){if(_367&&_367.overwrite===false){throw new Error("Object already exists");}data[_368[id]]=_366;}else{_368[id]=data.push(_366)-1;}return id;},add:function(_36a,_36b){(_36b=_36b||{}).overwrite=false;return this.put(_36a,_36b);},remove:function(id){var _36c=this.index;var data=this.data;if(id in _36c){data.splice(_36c[id],1);this.setData(data);return true;}},query:function(_36d,_36e){return _362(this.queryEngine(_36d,_36e)(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","../../when"],function(_36f,lang,when){var _370=function(_371){if(!_371){return _371;}var _372=!!_371.then;if(_372){_371=lang.delegate(_371);}function _373(_374){_371[_374]=function(){var args=arguments;var _375=when(_371,function(_376){Array.prototype.unshift.call(args,_376);return _370(_36f[_374].apply(_36f,args));});if(_374!=="forEach"||_372){return _375;}};};_373("forEach");_373("filter");_373("map");if(_371.total==null){_371.total=when(_371,function(_377){return _377.length;});}return _371;};lang.setObject("dojo.store.util.QueryResults",_370);return _370;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_378){return function(_379,_37a){switch(typeof _379){default:throw new Error("Can not query with a "+typeof _379);case "object":case "undefined":var _37b=_379;_379=function(_37c){for(var key in _37b){var _37d=_37b[key];if(_37d&&_37d.test){if(!_37d.test(_37c[key],_37c)){return false;}}else{if(_37d!=_37c[key]){return false;}}}return true;};break;case "string":if(!this[_379]){throw new Error("No filter function "+_379+" was found in store");}_379=this[_379];case "function":}function _37e(_37f){var _380=_378.filter(_37f,_379);var _381=_37a&&_37a.sort;if(_381){_380.sort(typeof _381=="function"?_381:function(a,b){for(var sort,i=0;sort=_381[i];i++){var _382=a[sort.attribute];var _383=b[sort.attribute];_382=_382!=null?_382.valueOf():_382;_383=_383!=null?_383.valueOf():_383;if(_382!=_383){return !!sort.descending==(_382==null||_382>_383)?-1:1;}}return 0;});}if(_37a&&(_37a.start||_37a.count)){var _384=_380.length;_380=_380.slice(_37a.start||0,(_37a.start||0)+(_37a.count||Infinity));_380.total=_384;}return _380;};_37e.matches=_379;return _37e;};});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_385,lang,when,_386,_387){return _385("dijit.form.FilteringSelect",[_386,_387],{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(_388,_389,_38a,_38b){if((_389&&_389[this.searchAttr]!==this._lastQuery)||(!_389&&_388.length&&this.store.getIdentity(_388[0])!=this._lastQuery)){return;}if(!_388.length){this.set("value","",_38b||(_38b===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_388[0],_38b);}},_openResultList:function(_38c,_38d,_38e){if(_38d[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(_38f,_390,_391,item){if(!this._onChangeActive){_390=null;}if(item===undefined){if(_38f===null||_38f===""){_38f="";if(!lang.isString(_391)){this._setDisplayedValueAttr(_391||"",_390);return;}}var self=this;this._lastQuery=_38f;when(this.store.get(_38f),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_390);});}else{this.valueNode.value=_38f;this.inherited(arguments,[_38f,_390,_391,item]);}},_setItemAttr:function(item,_392,_393){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_394,_395){if(_394==null){_394="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_395=false;}if(this.store){this.closeDropDown();var _396=lang.clone(this.query);var qs=this._getDisplayQueryString(_394),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_396[this.searchAttr]=q;this.textbox.value=_394;this._lastDisplayedValue=_394;this._set("displayedValue",_394);var _397=this;var _398={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_398,this.fetchProperties);this._fetchHandle=this.store.query(_396,_398);when(this._fetchHandle,function(_399){_397._fetchHandle=null;_397._callbackSetLabel(_399||[],_396,_398,_395);},function(err){_397._fetchHandle=null;if(!_397._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_39a,has,_39b,_39c){return _39a("dijit.form.MappedTextBox",_39c,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",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=_39b.place("<input type='hidden'"+((this.name&&!has("msapp"))?" name=\""+this.name.replace(/"/g,""")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_39d,_39e,lang,i18n,_39f,_3a0,_3a1){var _3a2=_39d("dijit.form.ValidationTextBox",_39f,{templateString:_3a1,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_3a3){if(_3a3!=_3a2.prototype[attr]){_39e.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_3a3);}},_setRegExpGenAttr:function(_3a4){this._deprecateRegExp("regExpGen",_3a4);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_3a5){this._deprecateRegExp("regExp",_3a5);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_3a6,_3a7){return (new RegExp("^(?:"+this._computeRegexp(_3a7)+")"+(this.required?"":"?")+"$")).test(_3a6)&&(!this.required||!this._isEmpty(_3a6))&&(this._isEmpty(_3a6)||this.parse(_3a6,_3a7)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_3a8){return (this.trim?/^\s*$/:/^$/).test(_3a8);},getErrorMessage:function(){var _3a9=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _3aa=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_3a9:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_3aa:_3a9;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_3ab){var _3ac="";var _3ad=this.disabled||this.isValid(_3ab);if(_3ad){this._maskValidSubsetError=true;}var _3ae=this._isEmpty(this.textbox.value);var _3af=!_3ad&&_3ab&&this._isValidSubset();this._set("state",_3ad?"":(((((!this._hasBeenBlurred||_3ab)&&_3ae)||_3af)&&(this._maskValidSubsetError||(_3af&&!this._hasBeenBlurred&&_3ab)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_3ab&&_3af;_3ac=this.getErrorMessage(_3ab);}else{if(this.state=="Incomplete"){_3ac=this.getPromptMessage(_3ab);this._maskValidSubsetError=!this._hasBeenBlurred||_3ab;}else{if(_3ae){_3ac=this.getPromptMessage(_3ab);}}}this.set("message",_3ac);return _3ad;},displayMessage:function(_3b0){if(_3b0&&this.focused){_3a0.show(_3b0,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_3a0.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_3b1){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_3b2){if(!_3b2.locale&&this.lang){_3b2.locale=this.lang;}this._set("constraints",_3b2);this._refreshState();},_setPatternAttr:function(_3b3){this._set("pattern",_3b3);this._refreshState();},_computeRegexp:function(_3b4){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_3b4);}if(p!=this._lastRegExp){var _3b5="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_3b5+=re;break;case ")":_3b5+="|$)";break;default:_3b5+="(?:"+re+"|$)";break;}});}try{"".search(_3b5);}catch(e){_3b5=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_3b5+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_3b6){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_3b7){this._set("required",_3b7);this.focusNode.setAttribute("aria-required",_3b7);this._refreshState();},_setMessageAttr:function(_3b8){this._set("message",_3b8);this.displayMessage(_3b8);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_3a0.hide(this.domNode);this.inherited(arguments);}});return _3a2;});},"dijit/form/TextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_3b9,_3ba,_3bb,_3bc,lang,on,has,_3bd,_3be,_3bf,_3c0){var _3c1=_3b9("dijit.form.TextBox"+(has("dojo-bidi")?"_NoBidi":""),[_3bd,_3be],{templateString:_3bf,_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);},postCreate:function(){this.inherited(arguments);if(has("ie")<9){this.defer(function(){try{var s=_3bb.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _3c2=this.domNode.getElementsByTagName("INPUT");if(_3c2){for(var i=0;i<_3c2.length;i++){_3c2[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_3ba.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this.own(on(this._phspan,"mousedown",function(evt){evt.preventDefault();}),on(this._phspan,"touchend, pointerup, MSPointerUp",lang.hitch(this,function(){this.focus();})));}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_onInput:function(evt){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_3c3,_3c4,_3c5){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_3bc.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_3c6){_3bc.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_3c6);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(has("mozilla")){if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(has("ie")<9){_3c1.prototype._isTextSelected=function(){var _3c7=this.ownerDocument.selection.createRange();var _3c8=_3c7.parentElement();return _3c8==this.textbox&&_3c7.text.length>0;};_3c0._setSelectionRange=_3be._setSelectionRange=function(_3c9,_3ca,stop){if(_3c9.createTextRange){var r=_3c9.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_3ca);r.moveEnd("character",stop-_3ca);r.select();}};}if(has("dojo-bidi")){_3c1=_3b9("dijit.form.TextBox",_3c1,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _3c1;});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/sniff","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_3cb,_3cc,dom,has,keys,lang,on,_3cd){var _3ce=_3cc("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),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(_3cf,_3d0,_3d1){var _3d2;if(_3cf!==undefined){_3d2=this.filter(_3cf);if(typeof _3d1!="string"){if(_3d2!==null&&((typeof _3d2!="number")||!isNaN(_3d2))){_3d1=this.filter(this.format(_3d2,this.constraints));}else{_3d1="";}if(this.compare(_3d2,this.filter(this.parse(_3d1,this.constraints)))!=0){_3d1=null;}}}if(_3d1!=null&&((typeof _3d1)!="number"||!isNaN(_3d1))&&this.textbox.value!=_3d1){this.textbox.value=_3d1;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_3d2,_3d0]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_3d3){if(_3d3==null){_3d3="";}else{if(typeof _3d3!="string"){_3d3=String(_3d3);}}this.textbox.value=_3d3;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_3d4){return _3d4==null?"":(_3d4.toString?_3d4.toString():_3d4);},parse:function(_3d5){return _3d5;},_refreshState:function(){},onInput:function(){},_onInput:function(evt){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||evt);delete this._lastInputProducingEvent;if(this.intermediateChanges){this._handleOnChange(this.get("value"),false);}},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _3d6(e){var _3d7;if(e.type=="keydown"&&e.keyCode!=229){_3d7=e.keyCode;switch(_3d7){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_3d7){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_3d7>=65&&_3d7<=90)||(_3d7>=48&&_3d7<=57)||_3d7==keys.SPACE){return;}var _3d8=false;for(var i in keys){if(keys[i]===e.keyCode){_3d8=true;break;}}if(!_3d8){return;}}}_3d7=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_3d7){_3d7=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_3d7){_3d7=229;}if(e.type=="keypress"){if(typeof _3d7!="string"){return;}if((_3d7>="a"&&_3d7<="z")||(_3d7>="A"&&_3d7<="Z")||(_3d7>="0"&&_3d7<="9")||(_3d7===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}var faux={faux:true},attr;for(attr in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(attr)){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_3d7,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});this._lastInputProducingEvent=faux;if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}if(has("ie")<=9){switch(e.keyCode){case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:break;default:if(e.keyCode==keys.ENTER&&this.textbox.tagName.toLowerCase()!="textarea"){break;}this.defer(function(){if(this.textbox.value!==this._lastInputEventValue){on.emit(this.textbox,"input",{bubbles:true});}});}}};this.own(on(this.textbox,"keydown, keypress, paste, cut, compositionend",lang.hitch(this,_3d6)),on(this.textbox,"input",lang.hitch(this,"_onInput")),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=on.once(this.domNode,"mouseup, touchend",lang.hitch(this,function(evt){if(!this._isTextSelected()){_3ce.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_3ce=_3cc("dijit.form._TextBoxMixin",_3ce,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_3ce._setSelectionRange=_3cd._setSelectionRange=function(_3d9,_3da,stop){if(_3d9.setSelectionRange){_3d9.setSelectionRange(_3da,stop);}};_3ce.selectInputText=_3cd.selectInputText=function(_3db,_3dc,stop){_3db=dom.byId(_3db);if(isNaN(_3dc)){_3dc=0;}if(isNaN(stop)){stop=_3db.value?_3db.value.length:0;}try{_3db.focus();_3ce._setSelectionRange(_3db,_3dc,stop);}catch(e){}};return _3ce;});},"dijit/Tooltip":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_3dd,_3de,fx,dom,_3df,_3e0,_3e1,lang,_3e2,on,has,_3e3,_3e4,_3e5,_3e6,_3e7,_3e8,_3e9){var _3ea=_3de("dijit._MasterTooltip",[_3e5,_3e6],{duration:_3e3.defaultDuration,templateString:_3e8,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _3e7(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(_3eb,_3ec,_3ed,rtl,_3ee,_3ef,_3f0){if(this.aroundNode&&this.aroundNode===_3ec&&this.containerNode.innerHTML==_3eb){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_3eb;if(_3ee){this.set("textDir",_3ee);}this.containerNode.align=rtl?"right":"left";var pos=_3e4.around(this.domNode,_3ec,_3ed&&_3ed.length?_3ed:_3f1.defaultPosition,!rtl,lang.hitch(this,"orient"));var _3f2=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_3f2.y+((_3f2.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=_3f2.x+((_3f2.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_3e1.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_3ec;this.onMouseEnter=_3ef||noop;this.onMouseLeave=_3f0||noop;},orient:function(node,_3f3,_3f4,_3f5,_3f6){this.connectorNode.style.top="";var _3f7=_3f5.h,_3f8=_3f5.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_3f3+"-"+_3f4];this.domNode.style.width="auto";var size=_3e0.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _3f9=Math.min((Math.max(_3f8,1)),size.w);_3e0.setMarginBox(this.domNode,{w:_3f9});if(_3f4.charAt(0)=="B"&&_3f3.charAt(0)=="B"){var bb=_3e0.position(node);var _3fa=this.connectorNode.offsetHeight;if(bb.h>_3f7){var _3fb=_3f7-((_3f6.h+_3fa)>>1);this.connectorNode.style.top=_3fb+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_3f6.h/2-_3fa/2,0),bb.h-_3fa)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_3f8);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_3fc){if(this._onDeck&&this._onDeck[1]==_3fc){this._onDeck=null;}else{if(this.aroundNode===_3fc){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=noop;},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_3ea.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_3dd.forEach(node.children,function(_3fd){this._setAutoTextDir(_3fd);},this);},_setTextDirAttr:function(_3fe){this._set("textDir",_3fe);if(_3fe=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_3e9.showTooltip=function(_3ff,_400,_401,rtl,_402,_403,_404){if(_401){_401=_3dd.map(_401,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_3f1._masterTT){_3e9._masterTT=_3f1._masterTT=new _3ea();}return _3f1._masterTT.show(_3ff,_400,_401,rtl,_402,_403,_404);};_3e9.hideTooltip=function(_405){return _3f1._masterTT&&_3f1._masterTT.hide(_405);};var _406="DORMANT",_407="SHOW TIMER",_408="SHOWING",_409="HIDE TIMER";function noop(){};var _3f1=_3de("dijit.Tooltip",_3e5,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_40a){_3dd.forEach(this._connections||[],function(_40b){_3dd.forEach(_40b,function(_40c){_40c.remove();});},this);this._connectIds=_3dd.filter(lang.isArrayLike(_40a)?_40a:(_40a?[_40a]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_3dd.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_40d=this.selector,_40e=_40d?function(_40f){return on.selector(_40d,_40f);}:function(_410){return _410;},self=this;return [on(node,_40e(_3e2.enter),function(){self._onHover(this);}),on(node,_40e("focusin"),function(){self._onHover(this);}),on(node,_40e(_3e2.leave),lang.hitch(self,"_onUnHover")),on(node,_40e("focusout"),lang.hitch(self,"set","state",_406))];},this);this._set("connectId",_40a);},addTarget:function(node){var id=node.id||node;if(_3dd.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_3dd.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_3df.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_3dd.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_406,_setStateAttr:function(val){if(this.state==val||(val==_407&&this.state==_408)||(val==_409&&this.state==_406)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _406:if(this._connectNode){_3f1.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _407:if(this.state!=_408){this._showTimer=this.defer(function(){this.set("state",_408);},this.showDelay);}break;case _408:var _411=this.getContent(this._connectNode);if(!_411){this.set("state",_406);return;}_3f1.show(_411,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_408),lang.hitch(this,"set","state",_409));this.onShow(this._connectNode,this.position);break;case _409:this._hideTimer=this.defer(function(){this.set("state",_406);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_412){if(this._connectNode&&_412!=this._connectNode){this.set("state",_406);}this._connectNode=_412;this.set("state",_407);},_onUnHover:function(_413){this.set("state",_409);},open:function(_414){this.set("state",_406);this._connectNode=_414;this.set("state",_408);},close:function(){this.set("state",_406);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_406);_3dd.forEach(this._connections||[],function(_415){_3dd.forEach(_415,function(_416){_416.remove();});},this);this.inherited(arguments);}});_3f1._MasterTooltip=_3ea;_3f1.show=_3e9.showTooltip;_3f1.hide=_3e9.hideTooltip;_3f1.defaultPosition=["after-centered","before-centered"];return _3f1;});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_417,_418,_419,lang,_41a,_41b,_41c,_41d,_41e){return _417("dijit.form.ComboBoxMixin",[_41d,_41b],{dropDownClass:_41c,hasDownArrow:true,templateString:_41e,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(_41f){if(!_41f.get){lang.mixin(_41f,{_oldAPI:true,get:function(id){var _420=new _418();this.fetchItemByIdentity({identity:id,onItem:function(_421){_420.resolve(_421);},onError:function(_422){_420.reject(_422);}});return _420.promise;},query:function(_423,_424){var _425=new _418(function(){_426.abort&&_426.abort();});_425.total=new _418();var _426=this.fetch(lang.mixin({query:_423,onBegin:function(_427){_425.total.resolve(_427);},onComplete:function(_428){_425.resolve(_428);},onError:function(_429){_425.reject(_429);}},_424));return _41a(_425);}});}this._set("store",_41f);},postMixInProperties:function(){var _42a=this.params.store||this.store;if(_42a){this._setStoreAttr(_42a);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _42b=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_419.deprecated(_42b+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_419.deprecated(_42b+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_419.deprecated(_42b+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_42c){new _42c({objectStore:this}).fetch(args);}));}});}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list");}});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_42d,_42e,_42f,keys,lang,_430,_431,has,_432,_433,_434){var _435=_42e("dijit.form._AutoCompleterMixin",_434,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_436){var pos=0;if(typeof (_436.selectionStart)=="number"){pos=_436.selectionStart;}else{if(has("ie")){var tr=_436.ownerDocument.selection.createRange().duplicate();var ntr=_436.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(_437,_438){_438=parseInt(_438);_433.selectInputText(_437,_438,_438);},_setDisabledAttr:function(_439){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_439?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _43a=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_43a=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(_43a);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_43a){if(_43a==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_43a==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _43b=this.get("displayedValue");if(pw&&(_43b==pw._messages["previousMessage"]||_43b==pw._messages["nextMessage"])){break;}if(_43a){this._selectOption(_43a);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_433.selectInputText(fn,fn.value.length);var _43c=this.ignoreCase?"toLowerCase":"substr";if(text[_43c](0).indexOf(this.focusNode.value[_43c](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_433.selectInputText(fn,cpos);}}else{fn.value=text;_433.selectInputText(fn);}},_openResultList:function(_43d,_43e,_43f){var _440=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_43d.length&&_43f.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_441){_43d.nextPage(_441!==-1);this.focus();});this.dropDown.createOptions(_43d,_43f,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _43f){if(_43f.direction){this.dropDown.highlightFirstOption();}else{if(!_43f.direction){this.dropDown.highlightLastOption();}}if(_440){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_43e[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");}},_setBlurValue:function(){var _442=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_442==pw._messages["previousMessage"]||_442==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_442);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_443,_444){var _445="";if(item){if(!_444){_444=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_445=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_444;}this.set("value",_445,_443,_444,item);},_announceOption:function(node){if(!node){return;}var _446;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_446=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_446=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_446);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_42f.get(node,"id"));this._autoCompleteText(_446);},_selectOption:function(_447){this.closeDropDown();if(_447){this._announceOption(_447);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _448=this.id+"_popup",_449=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _449({onChange:lang.hitch(this,this._selectOption),id:_448,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef){var _44a=this.srcNodeRef;this.store=new _432({},_44a);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _44b=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_44b):item[_44b];}}}},postCreate:function(){var _44c=_430("label[for=\""+this.id+"\"]");if(_44c.length){if(!_44c[0].id){_44c[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_44c[0].id);}this.inherited(arguments);_42d.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _44d=this.labelFunc(item,this.store),_44e=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_44d=this.doHighlight(_44d,this._lastInput);_44e="html";}return {html:_44e=="html",label:_44d};},doHighlight:function(_44f,find){var _450=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_431.escapeString(find);return this._escapeHtml(_44f.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_450),"ï¿¿$1ï¿¿")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_451){return (_451._oldAPI?_451.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_452,_453,_454,item){this._set("item",item||null);if(_452==null){_452="";}this.inherited(arguments);}});if(has("dojo-bidi")){_435.extend({_setTextDirAttr:function(_455){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_455);}}});}return _435;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _456={};lang.setObject("dojo.regexp",_456);_456.escapeString=function(str,_457){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_457&&_457.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_456.buildGroupRE=function(arr,re,_458){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _456.group(b.join("|"),_458);};_456.group=function(_459,_45a){return "("+(_45a?"?:":"")+_459+")";};return _456;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_45b,dom,lang,_45c,_45d,_45e){function _45f(_460){return {id:_460.value,value:_460.value,name:lang.trim(_460.innerText||_460.textContent||"")};};return _45b("dijit.form.DataList",_45d,{constructor:function(_461,_462){this.domNode=dom.byId(_462);lang.mixin(this,_461);if(this.id){_45e.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_45c("option",this.domNode).map(_45f)}]);},destroy:function(){_45e.remove(this.id);},fetchSelectedItem:function(){var _463=_45c("> option[selected]",this.domNode)[0]||_45c("> option",this.domNode)[0];return _463&&_45f(_463);}});});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_464,keys,lang,_465,_466,when,_467){return _464("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_patternToRegExp:function(_468){return new RegExp("^"+_468.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_469,star,_46a){return star?".*":_46a?".":_469?_469:"\\"+str;})+"$",this.ignoreCase?"mi":"m");},_abortQuery:function(){if(this.searchTimer){this.searchTimer=this.searchTimer.remove();}if(this._queryDeferHandle){this._queryDeferHandle=this._queryDeferHandle.remove();}if(this._fetchHandle){if(this._fetchHandle.abort){this._cancelingQuery=true;this._fetchHandle.abort();this._cancelingQuery=false;}if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_processInput:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;var _46b=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_46b=true;break;default:_46b=typeof key=="string"||key==229;}if(_46b){if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_startSearch:function(text){this._abortQuery();var _46c=this,_465=lang.clone(this.query),_46d={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_466.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_46e=function(){var _46f=_46c._fetchHandle=_46c.store.query(_465,_46d);if(_46c.disabled||_46c.readOnly||(q!==_46c._lastQuery)){return;}when(_46f,function(res){_46c._fetchHandle=null;if(!_46c.disabled&&!_46c.readOnly&&(q===_46c._lastQuery)){when(_46f.total,function(_470){res.total=_470;var _471=_46c.pageSize;if(isNaN(_471)||_471>res.total){_471=res.total;}res.nextPage=function(_472){_46d.direction=_472=_472!==false;_46d.count=_471;if(_472){_46d.start+=res.length;if(_46d.start>=res.total){_46d.count=0;}}else{_46d.start-=_471;if(_46d.start<0){_46d.count=Math.max(_471+_46d.start,0);_46d.start=0;}}if(_46d.count<=0){res.length=0;_46c.onSearch(res,_465,_46d);}else{_46e();}};_46c.onSearch(res,_465,_46d);});}},function(err){_46c._fetchHandle=null;if(!_46c._cancelingQuery){console.error(_46c.declaredClass+" "+err.toString());}});};lang.mixin(_46d,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_465[this.searchAttr]=q;this._queryDeferHandle=this.defer(_46e,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_467.byId(list);}}this.inherited(arguments);}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_473,_474,_475,keys,_476,_477,_478,_479){return _473("dijit.form._ComboBoxMenu",[_476,_477,_479,_478],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;' role='listbox'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_474.add(this.previousButton,"dijitMenuItemRtl");_474.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_474.add(node,"dijitMenuItemHover");},onUnhover:function(node){_474.remove(node,"dijitMenuItemHover");},onSelect:function(node){_474.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_474.remove(node,"dijitMenuItemSelected");},_page:function(up){var _47a=0;var _47b=this.domNode.scrollTop;var _47c=_475.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_47a<_47c){var _47d=this.getHighlightedOption();if(up){if(!_47d.previousSibling||_47d.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_47d.nextSibling||_47d.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _47e=this.domNode.scrollTop;_47a+=(_47e-_47b)*(up?-1:1);_47b=_47e;}},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/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_47f,_480,_481,has,i18n){var _482=_480("dijit.form._ComboBoxMenuMixin"+(has("dojo-bidi")?"_NoBidi":""),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(_483){this._set("value",_483);this.onChange(_483);},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,_484){var _485=this._createMenuItem();var _486=_484(item);if(_486.html){_485.innerHTML=_486.label;}else{_485.appendChild(_485.ownerDocument.createTextNode(_486.label));}if(_485.innerHTML==""){_485.innerHTML=" ";}return _485;},createOptions:function(_487,_488,_489){this.items=_487;this.previousButton.style.display=(_488.start==0)?"none":"";_481.set(this.previousButton,"id",this.id+"_prev");_47f.forEach(_487,function(item,i){var _48a=this._createOption(item,_489);_48a.setAttribute("item",i);_481.set(_48a,"id",this.id+i);this.nextButton.parentNode.insertBefore(_48a,this.nextButton);},this);var _48b=false;if(_487.total&&!_487.total.then&&_487.total!=-1){if((_488.start+_488.count)<_487.total){_48b=true;}else{if((_488.start+_488.count)>_487.total&&_488.count==_487.length){_48b=true;}}}else{if(_488.count==_487.length){_48b=true;}}this.nextButton.style.display=_48b?"":"none";_481.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _48c=this.containerNode;while(_48c.childNodes.length>2){_48c.removeChild(_48c.childNodes[_48c.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this.selected;}});if(has("dojo-bidi")){_482=_480("dijit.form._ComboBoxMenuMixin",_482,{_createOption:function(){var _48d=this.inherited(arguments);this.applyTextDir(_48d);return _48d;}});}return _482;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_48e,on,_48f,_490){return _48e("dijit.form._ListMouseMixin",_490,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_491){this._setSelectedAttr(_491,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_491);});},_onMouseDown:function(evt,_492){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_492,false);},_onMouseUp:function(evt,_493){this._isDragging=false;var _494=this.selected;var _495=this._hoveredNode;if(_494&&_493==_494){this.defer(function(){this._onClick(evt,_494);});}else{if(_495){this.defer(function(){this._onClick(evt,_495);});}}},_onMouseOut:function(evt,_496){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_497){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_497;this.onHover(_497);if(this._isDragging){this._setSelectedAttr(_497,false);}}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_498,on,_499){return _498("dijit.form._ListBase",null,{selected:null,_listConnect:function(_49a,_49b){var self=this;return self.own(on(self.containerNode,on.selector(function(_49c,_49d,_49e){return _49c.parentNode==_49e;},_49a),function(evt){self[_49b](evt,this);}));},selectFirstNode:function(){var _49f=this.containerNode.firstChild;while(_49f&&_49f.style.display=="none"){_49f=_49f.nextSibling;}this._setSelectedAttr(_49f,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _4a0=this.selected;if(!_4a0){this.selectFirstNode();}else{var next=_4a0.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _4a1=this.selected;if(!_4a1){this.selectLastNode();}else{var prev=_4a1.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_4a2){if(this.selected!=node){var _4a3=this.selected;if(_4a3){this.onDeselect(_4a3);}if(node){if(_4a2){_499.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_4a4,_4a5,dom,_4a6,_4a7,_4a8,_4a9,has,keys,lang,on,_4aa,_4ab,_4ac,_4ad,_4ae){return _4a4("dijit._HasDropDown",_4ae,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_4aa.release,lang.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _4af=this.dropDown,_4b0=false;if(e&&this._opened){var c=_4a8.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&&!_4b0){if(_4a7.contains(t,"dijitPopup")){_4b0=true;}else{t=t.parentNode;}}if(_4b0){t=e.target;if(_4af.onItemClick){var _4b1;while(t&&!(_4b1=_4ab.byNode(t))){t=t.parentNode;}if(_4b1&&_4b1.onClick&&_4b1.getParent){_4b1.getParent().onItemClick(_4b1,e);}}return;}}}if(this._opened){if(_4af.focus&&(_4af.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_4af.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _4b2={"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";_4a7.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_4b2+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _4b3=this.focusNode||this.domNode;this.own(on(this._buttonNode,_4aa.press,lang.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",lang.hitch(this,"_onDropDownClick")),on(_4b3,"keydown",lang.hitch(this,"_onKey")),on(_4b3,"keyup",lang.hitch(this,"_onKeyUp")));},destroy:function(){if(this._opened){this.closeDropDown(true);}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,_4b4=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==keys.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==keys.DOWN_ARROW||((e.keyCode==keys.ENTER||(e.keyCode==keys.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_4b4.tagName||"").toLowerCase()!=="input"||(_4b4.type&&_4b4.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(lang.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_4b5){_4b5();},loadAndOpenDropDown:function(){var d=new _4a5(),_4b6=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_4b6);}else{_4b6();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _4b7=this.dropDown,_4b8=_4b7.domNode,_4b9=this._aroundNode||this.domNode,self=this;var _4ba=_4ad.open({parent:this,popup:_4b7,around:_4b9,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_4a6.set(self._popupStateNode,"popupActive",false);_4a7.remove(self._popupStateNode,"dijitHasDropDownOpen");self._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_4b9.offsetWidth>_4b7._popupWrapper.offsetWidth)){var _4bb=_4b9.offsetWidth-_4b7._popupWrapper.offsetWidth;var _4bc={w:_4b7.domNode.offsetWidth+_4bb};this._origStyle=_4b8.style.cssText;if(lang.isFunction(_4b7.resize)){_4b7.resize(_4bc);}else{_4a8.setMarginBox(_4b8,_4bc);}if(_4ba.corner[1]=="R"){_4b7._popupWrapper.style.left=(_4b7._popupWrapper.style.left.replace("px","")-_4bb)+"px";}}_4a6.set(this._popupStateNode,"popupActive","true");_4a7.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_4b7.id);if(_4b8.getAttribute("role")!=="presentation"&&!_4b8.getAttribute("aria-labelledby")){_4b8.setAttribute("aria-labelledby",this.id);}return _4ba;},closeDropDown:function(_4bd){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_4bd&&this.focus){this.focus();}_4ad.close(this.dropDown);this._opened=false;}if(this._origStyle){this.dropDown.domNode.style.cssText=this._origStyle;delete this._origStyle;}}});});},"dijit/_editor/plugins/LinkDialog":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/query","dojo/string","../_Plugin","../../form/DropDownButton","../range"],function(_4be,_4bf,_4c0,keys,lang,on,has,_4c1,_4c2,_4c3,_4c4,_4c5){var _4c6=_4bf("dijit._editor.plugins.LinkDialog",_4c3,{buttonClass:_4c4,useDefaultCommand:false,urlRegExp:"((https?|ftps?|file)\\://|./|../|/|)(/[a-zA-Z]{1,1}:/|)(((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)*(?:[a-zA-Z](?:[-\\da-zA-Z]{0,80}[\\da-zA-Z])?)\\.?)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:\\d+)?(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]{0,}(?:\\?[^?#\\s/]*)?(?:#.*)?)?)?",emailRegExp:"<?(mailto\\:)([!#-'*+\\-\\/-9=?A-Z^-~]+[.])*[!#-'*+\\-\\/-9=?A-Z^-~]+"+"@"+"((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)+(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)\\.?)|localhost|^[^-][a-zA-Z0-9_-]*>?",htmlTemplate:"<a href=\"${urlInput}\" _djrealurl=\"${urlInput}\""+" target=\"${targetSelect}\""+">${textInput}</a>",tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,linkDialogTemplate:["<table role='presentation'><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' "+"id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_targetSelect'>${target}</label>","</td><td>","<select id='${id}_targetSelect' name='targetSelect' data-dojo-type='dijit.form.Select'>","<option selected='selected' value='_self'>${currentWindow}</option>","<option value='_blank'>${newWindow}</option>","<option value='_top'>${topWindow}</option>","<option value='_parent'>${parentWindow}</option>","</select>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),_initButton:function(){this.inherited(arguments);this.button.loadDropDown=lang.hitch(this,"_loadDropDown");this._connectTagEvents();},_loadDropDown:function(_4c7){_4be(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_4c8,_4c9){var _4ca=this;this.tag=this.command=="insertImage"?"img":"a";var _4cb=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _4cc=(this.dropDown=this.button.dropDown=new _4c8({title:_4cb[this.command+"Title"],ownerDocument:this.editor.ownerDocument,dir:this.editor.dir,execute:lang.hitch(this,"setValue"),onOpen:function(){_4ca._onOpenDialog();_4c8.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_4ca,"_onCloseDialog"),0);}}));_4cb.urlRegExp=this.urlRegExp;_4cb.id=_4c9.getUniqueId(this.editor.id);this._uniqueId=_4cb.id;this._setContent(_4cc.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_4c2.substitute(this.linkDialogTemplate,_4cb));_4cc.startup();this._urlInput=_4c9.byId(this._uniqueId+"_urlInput");this._textInput=_4c9.byId(this._uniqueId+"_textInput");this._setButton=_4c9.byId(this._uniqueId+"_setButton");this.own(_4c9.byId(this._uniqueId+"_cancelButton").on("click",lang.hitch(this.dropDown,"onCancel")));if(this._urlInput){this.own(this._urlInput.on("change",lang.hitch(this,"_checkAndFixInput")));}if(this._textInput){this.own(this._textInput.on("change",lang.hitch(this,"_checkAndFixInput")));}this._urlRegExp=new RegExp("^"+this.urlRegExp+"$","i");this._emailRegExp=new RegExp("^"+this.emailRegExp+"$","i");this._urlInput.isValid=lang.hitch(this,function(){var _4cd=this._urlInput.get("value");return this._urlRegExp.test(_4cd)||this._emailRegExp.test(_4cd);});this.own(on(_4cc.domNode,"keydown",lang.hitch(this,lang.hitch(this,function(e){if(e&&e.keyCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_4cc.onExecute();_4cc.execute(_4cc.get("value"));}}}))));_4c7();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _4ce=function(url){var _4cf=false;var _4d0=false;if(url&&url.length>1){url=lang.trim(url);if(url.indexOf("mailto:")!==0){if(url.indexOf("/")>0){if(url.indexOf("://")===-1){if(url.charAt(0)!=="/"&&url.indexOf("./")&&url.indexOf("../")!==0){if(self._hostRxp.test(url)){_4cf=true;}}}}else{if(self._userAtRxp.test(url)){_4d0=true;}}}}if(_4cf){self._urlInput.set("value","http://"+url);}if(_4d0){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(){_4ce(url);},250);},_connectTagEvents:function(){this.editor.onLoadDeferred.then(lang.hitch(this,function(){this.own(on(this.editor.editNode,"dblclick",lang.hitch(this,"_onDblClick")));}));},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid();},_setContent:function(_4d1){this.dropDown.set({parserScope:"dojo",content:_4d1});},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,""");}return args;},setValue:function(args){this._onCloseDialog();if(has("ie")<9){var sel=_4c5.getSelection(this.editor.window);var _4d2=sel.getRangeAt(0);var a=_4d2.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=this.editor.selection.getSelectedElement(this.tag);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){this.editor.selection.selectElementChildren(a);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_4c2.substitute(this.htmlTemplate,args));_4c1("a",this.editor.document).forEach(function(a){if(!a.innerHTML&&!_4c0.has(a,"name")){a.parentNode.removeChild(a);}},this);},_onCloseDialog:function(){if(this.editor.focused){this.editor.focus();}},_getCurrentValues:function(a){var url,text,_4d3;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_4d3=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;this.editor.selection.selectElement(a,true);}else{text=this.editor.selection.getSelectedText();}return {urlInput:url||"",textInput:text||"",targetSelect:_4d3||""};},_onOpenDialog:function(){var a,b,fc;if(has("ie")){var sel=_4c5.getSelection(this.editor.window);if(sel.rangeCount){var _4d4=sel.getRangeAt(0);a=_4d4.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=this.editor.selection.getSelectedElement(this.tag);}if(!a||(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){b=this.editor.selection.getAncestorElement(this.tag);if(b&&(b.nodeName&&b.nodeName.toLowerCase()==this.tag)){a=b;this.editor.selection.selectElement(a);}else{if(_4d4.startContainer===_4d4.endContainer){fc=_4d4.startContainer.firstChild;if(fc&&(fc.nodeName&&fc.nodeName.toLowerCase()==this.tag)){a=fc;this.editor.selection.selectElement(a);}}}}}}else{a=this.editor.selection.getAncestorElement(this.tag);}this.dropDown.reset();this._setButton.set("disabled",true);this.dropDown.set("value",this._getCurrentValues(a));},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_4c0.get(t,"href")){var _4d5=this.editor;this.editor.selection.selectElement(t);_4d5.onDisplayChanged();if(_4d5._updateTimer){_4d5._updateTimer.remove();delete _4d5._updateTimer;}_4d5.onNormalizedDisplayChanged();var _4d6=this.button;setTimeout(function(){_4d6.set("disabled",false);_4d6.loadAndOpenDropDown().then(function(){if(_4d6.dropDown.focus){_4d6.dropDown.focus();}});},10);}}}});var _4d7=_4bf("dijit._editor.plugins.ImgLinkDialog",[_4c6],{linkDialogTemplate:["<table role='presentation'><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input dojoType='dijit.form.ValidationTextBox' regExp='${urlRegExp}' "+"required='true' id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='false' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","</td><td>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),htmlTemplate:"<img src=\"${urlInput}\" _djrealurl=\"${urlInput}\" alt=\"${textInput}\" />",tag:"img",_getCurrentValues:function(img){var url,text;if(img&&img.tagName.toLowerCase()===this.tag){url=img.getAttribute("_djrealurl")||img.getAttribute("src");text=img.getAttribute("alt");this.editor.selection.selectElement(img,true);}else{text=this.editor.selection.getSelectedText();}return {urlInput:url||"",textInput:text||""};},_isValid:function(){return this._urlInput.isValid();},_connectTagEvents:function(){this.inherited(arguments);this.editor.onLoadDeferred.then(lang.hitch(this,function(){this.own(on(this.editor.editNode,"mousedown",lang.hitch(this,"_selectTag")));}));},_selectTag:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag){this.editor.selection.selectElement(t);}}},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,""");}if(args&&args.textInput){args.textInput=args.textInput.replace(/"/g,""");}return args;},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_4c0.get(t,"src")){var _4d8=this.editor;this.editor.selection.selectElement(t);_4d8.onDisplayChanged();if(_4d8._updateTimer){_4d8._updateTimer.remove();delete _4d8._updateTimer;}_4d8.onNormalizedDisplayChanged();var _4d9=this.button;setTimeout(function(){_4d9.set("disabled",false);_4d9.loadAndOpenDropDown().then(function(){if(_4d9.dropDown.focus){_4d9.dropDown.focus();}});},10);}}}});_4c3.registry["createLink"]=function(){return new _4c6({command:"createLink"});};_4c3.registry["insertImage"]=function(){return new _4d7({command:"insertImage"});};_4c6.ImgLinkDialog=_4d7;return _4c6;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],function(_4da,_4db,lang,_4dc,_4dd,_4de,_4df,_4e0,_4e1,_4e2){return _4da("dijit.form.DropDownButton",[_4df,_4e0,_4e1],{baseClass:"dijitDropDownButton",templateString:_4e2,_fillContent:function(){var _4e3=this.srcNodeRef;var dest=this.containerNode;if(_4e3&&dest){while(_4e3.hasChildNodes()){var _4e4=_4e3.firstChild;if(_4e4.hasAttribute&&(_4e4.hasAttribute("data-dojo-type")||_4e4.hasAttribute("dojoType")||_4e4.hasAttribute("data-"+_4db._scopeName+"-type")||_4e4.hasAttribute(_4db._scopeName+"Type"))){this.dropDownContainer=this.ownerDocument.createElement("div");this.dropDownContainer.appendChild(_4e4);}else{dest.appendChild(_4e4);}}}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){this.dropDown=_4dd.byNode(this.dropDownContainer.firstChild);delete this.dropDownContainer;}if(this.dropDown){_4de.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _4e5=this.dropDown;return (!!_4e5&&(!_4e5.href||_4e5.isLoaded));},loadDropDown:function(_4e6){var _4e7=this.dropDown;var _4e8=_4e7.on("load",lang.hitch(this,function(){_4e8.remove();_4e6();}));_4e7.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_4e9,_4ea,_4eb,dom,_4ec,_4ed,_4ee,keys,lang,on,has,win,_4ef,pm,_4f0,_4f1){if(has("dijit-legacy-requires")){_4f1(0,function(){var _4f2=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_4e9(_4f2);});}return _4eb("dijit.Menu",_4f0,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_4ea.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_4f3){return _4ef.get(this._iframeContentDocument(_4f3))||this._iframeContentDocument(_4f3)["__parent__"]||(_4f3.name&&document.frames[_4f3.name])||null;},_iframeContentDocument:function(_4f4){return _4f4.contentDocument||(_4f4.contentWindow&&_4f4.contentWindow.document)||(_4f4.name&&document.frames[_4f4.name]&&document.frames[_4f4.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _4f5=node,_4f6=this._iframeContentWindow(_4f5);cn=win.body(_4f6.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _4f7={node:node,iframe:_4f5};_4ec.set(node,"_dijitMenu"+this.id,this._bindings.push(_4f7));var _4f8=lang.hitch(this,function(cn){var _4f9=this.selector,_4fa=_4f9?function(_4fb){return on.selector(_4f9,_4fb);}:function(_4fc){return _4fc;},self=this;return [on(cn,_4fa(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()<self._lastKeyDown+500){return;}self._scheduleOpen(this,_4f5,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_4fa("keydown"),function(evt){if(evt.keyCode==93||(evt.shiftKey&&evt.keyCode==keys.F10)||(self.leftClickToOpen&&evt.keyCode==keys.SPACE)){evt.stopPropagation();evt.preventDefault();self._scheduleOpen(this,_4f5,null,evt.target);self._lastKeyDown=(new Date()).getTime();}})];});_4f7.connects=cn?_4f8(cn):[];if(_4f5){_4f7.onloadHandler=lang.hitch(this,function(){var _4fd=this._iframeContentWindow(_4f5),cn=win.body(_4fd.document);_4f7.connects=_4f8(cn);});if(_4f5.addEventListener){_4f5.addEventListener("load",_4f7.onloadHandler,false);}else{_4f5.attachEvent("onload",_4f7.onloadHandler);}}},unBindDomNode:function(_4fe){var node;try{node=dom.byId(_4fe,this.ownerDocument);}catch(e){return;}var _4ff="_dijitMenu"+this.id;if(node&&_4ec.has(node,_4ff)){var bid=_4ec.get(node,_4ff)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _500=b.iframe;if(_500){if(_500.removeEventListener){_500.removeEventListener("load",b.onloadHandler,false);}else{_500.detachEvent("onload",b.onloadHandler);}}_4ec.remove(node,_4ff);delete this._bindings[bid];}},_scheduleOpen:function(_501,_502,_503,_504){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_504,delegatedTarget:_501,iframe:_502,coords:_503});},1);}},_openMyself:function(args){var _505=args.target,_506=args.iframe,_507=args.coords,_508=!_507;this.currentTarget=args.delegatedTarget;if(_507){if(_506){var ifc=_4ed.position(_506,true),_509=this._iframeContentWindow(_506),_50a=_4ed.docScroll(_509.document);var cs=_4ee.getComputedStyle(_506),tp=_4ee.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_506,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_506,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_506,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_506,cs.borderTopWidth):0);_507.x+=ifc.x+left-_50a.x;_507.y+=ifc.y+top-_50a.y;}}else{_507=_4ed.position(_505,true);_507.x+=10;_507.y+=10;}var self=this;var _50b=this._focusManager.get("prevNode");var _50c=this._focusManager.get("curNode");var _50d=!_50c||(dom.isDescendant(_50c,this.domNode))?_50b:_50c;function _50e(){if(self.refocus&&_50d){_50d.focus();}pm.close(self);};pm.open({popup:this,x:_507.x,y:_507.y,onExecute:_50e,onCancel:_50e,orient:this.isLeftToRight()?"L":"R"});this.focus();if(!_508){this.defer(function(){this._cleanUp(true);});}this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_4ea.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_MenuBase"],function(_50f,keys,_510,_511){return _50f("dijit.DropDownMenu",_511,{templateString:_510,baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev();},_onDownArrow:function(){this.focusNext();},_onRightArrow:function(evt){this._moveToPopup(evt);evt.stopPropagation();evt.preventDefault();},_onLeftArrow:function(evt){if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{evt.stopPropagation();evt.preventDefault();}}});});},"dijit/_MenuBase":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./registry","./_Widget","./_CssStateMixin","./_KeyNavContainer","./_TemplatedMixin"],function(_512,_513,dom,_514,_515,lang,_516,on,_517,_518,_519,_51a,_51b,_51c,_51d){return _513("dijit._MenuBase",[_51a,_51d,_51c,_51b],{selected:null,_setSelectedAttr:function(item){if(this.selected!=item){if(this.selected){this.selected._setSelected(false);this._onChildDeselect(this.selected);}if(item){item._setSelected(true);}this._set("selected",item);}},activated:false,_setActivatedAttr:function(val){_515.toggle(this.domNode,"dijitMenuActive",val);_515.toggle(this.domNode,"dijitMenuPassive",!val);this._set("activated",val);},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:false,childSelector:function(node){var _51e=_519.byNode(node);return node.parentNode==this.containerNode&&_51e&&_51e.focus;},postCreate:function(){var self=this,_51f=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_51f,_516.enter),function(){self.onItemHover(_519.byNode(this));}),on(this.containerNode,on.selector(_51f,_516.leave),function(){self.onItemUnhover(_519.byNode(this));}),on(this.containerNode,on.selector(_51f,_518),function(evt){self.onItemClick(_519.byNode(this),evt);evt.stopPropagation();}),on(this.containerNode,on.selector(_51f,"focusin"),function(){self._onItemFocus(_519.byNode(this));}));this.inherited(arguments);},onKeyboardSearch:function(item,evt,_520,_521){this.inherited(arguments);if(!!item&&(_521==-1||(!!item.popup&&_521==1))){this.onItemClick(item,evt);}},_keyboardSearchCompare:function(item,_522){if(!!item.shortcutKey){return _522==item.shortcutKey.toLowerCase()?-1:0;}return this.inherited(arguments)?1:0;},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _523=this._getTopMenu();if(_523&&_523._isMenuBar){_523.focusNext();}}},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer();},onItemHover:function(item){if(this.activated){this.set("selected",item);if(item.popup&&!item.disabled&&!this.hover_timer){this.hover_timer=this.defer(function(){this._openItemPopup(item);},this.popupDelay);}}else{if(this.passivePopupDelay<Infinity){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.passive_hover_timer=this.defer(function(){this.onItemClick(item,{type:"click"});},this.passivePopupDelay);}}this._hoveredChild=item;item._set("hovering",true);},_onChildDeselect:function(item){this._stopPopupTimer();if(this.currentPopupItem==item){this._stopPendingCloseTimer();this._pendingClose_timer=this.defer(function(){this._pendingClose_timer=null;this.currentPopupItem=null;item._closePopup();},this.popupDelay);}},onItemUnhover:function(item){if(this._hoveredChild==item){this._hoveredChild=null;}if(this.passive_hover_timer){this.passive_hover_timer.remove();this.passive_hover_timer=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(){if(this._pendingClose_timer){this._pendingClose_timer=this._pendingClose_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this.set("selected",item);this.set("activated",true);var _524=/^key/.test(evt._origType||evt.type)||(evt.clientX==0&&evt.clientY==0);this._openItemPopup(item,_524);}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openItemPopup:function(_525,_526){if(_525==this.currentPopupItem){return;}if(this.currentPopupItem){this._stopPendingCloseTimer();this.currentPopupItem._closePopup();}this._stopPopupTimer();var _527=_525.popup;_527.parentMenu=this;this.own(this._mouseoverHandle=on.once(_527.domNode,"mouseover",lang.hitch(this,"_onPopupHover")));var self=this;_525._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){if(_526){self.focusChild(_525);}self._cleanUp();},onExecute:lang.hitch(this,"_cleanUp",true),onClose:function(){if(self._mouseoverHandle){self._mouseoverHandle.remove();delete self._mouseoverHandle;}}},_526);this.currentPopupItem=_525;},onOpen:function(){this.isShowingNow=true;this.set("activated",true);},onClose:function(){this.set("activated",false);this.set("selected",null);this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopupItem){if(this.focused){_514.set(this.selected.focusNode,"tabIndex",this.tabIndex);this.selected.focusNode.focus();}this.currentPopupItem._closePopup();this.currentPopupItem=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}this.set("selected",item);},_onBlur:function(){this._cleanUp(true);this.inherited(arguments);},_cleanUp:function(_528){this._closeChild();if(typeof this.isShowingNow=="undefined"){this.set("activated",false);}if(_528){this.set("selected",null);}}});});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_529,dom,_52a,_52b,_52c,has,lang,_52d,_52e,_52f,_530,_531){var _532=_529("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_52d,_52e,_52f,_530],{templateString:_531,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _533="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_533=val.charAt(ndx+1);var _534=val.substr(0,ndx);var _535=val.substr(ndx+3);text=_534+_533+_535;val=_534+"<span class=\"dijitMenuItemShortcutKey\">"+_533+"</span>"+_535;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_533);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_536){if(_536&&!("label" in this.params)){this._set("label",_536.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _537=this.id+"_text";_52a.set(this.containerNode,"id",_537);if(this.accelKeyNode){_52a.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_setSelected:function(_538){_52b.toggle(this.domNode,"dijitMenuItemSelected",_538);},setLabel:function(_539){_52c.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_539);},setDisabled:function(_53a){_52c.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_53a);},_setDisabledAttr:function(_53b){this.focusNode.setAttribute("aria-disabled",_53b?"true":"false");this._set("disabled",_53b);},_setAccelKeyAttr:function(_53c){if(this.accelKeyNode){this.accelKeyNode.style.display=_53c?"":"none";this.accelKeyNode.innerHTML=_53c;_52a.set(this.containerNode,"colSpan",_53c?"1":"2");}this._set("accelKey",_53c);}});if(has("dojo-bidi")){_532=_529("dijit.MenuItem",_532,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _532;});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_53d,_53e,lang,_53f,pm,_540,_541){return _53d("dijit.PopupMenuItem",_541,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _542=_53f("*",this.srcNodeRef);this.inherited(arguments,[_542[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_543,_544){var _545=this.popup;pm.open(lang.delegate(_543,{popup:this.popup,around:this.domNode}));if(_544&&_545.focus){_545.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_53f("[widgetId]",this.dropDownContainer)[0];this.popup=_540.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_53e.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_546){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_546);}delete this.popup;}this.inherited(arguments);}});});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_547,_548,_549,_54a){return _547("dijit.CheckedMenuItem",_549,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_54a,checked:false,_setCheckedAttr:function(_54b){this.domNode.setAttribute("aria-checked",_54b?"true":"false");this._set("checked",_54b);},iconClass:"",role:"menuitemcheckbox",checkedChar:"✓",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/MenuBar":function(){define(["dojo/_base/declare","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(_54c,keys,_54d,_54e){return _54c("dijit.MenuBar",_54d,{templateString:_54e,baseClass:"dijitMenuBar",popupDelay:0,_isMenuBar:true,_orient:["below"],_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}},focusChild:function(item){this.inherited(arguments);if(this.activated&&item.popup&&!item.disabled){this._openItemPopup(item,true);}},_onChildDeselect:function(item){if(this.currentPopupItem==item){this.currentPopupItem=null;item._closePopup();}this.inherited(arguments);},_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();},_onDownArrow:function(evt){this._moveToPopup(evt);},_onUpArrow:function(){},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow&&(!/^key/.test(evt.type)||evt.keyCode!==keys.DOWN_ARROW)){item.focusNode.focus();this._cleanUp(true);}else{this.inherited(arguments);}}});});},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_54f,_550,_551){var _552=_54f("dijit._MenuBarItemMixin",null,{templateString:_551,_setIconClassAttr:null});var _553=_54f("dijit.MenuBarItem",[_550,_552],{});_553._MenuBarItemMixin=_552;return _553;});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_554,_555,_556){var _557=_556._MenuBarItemMixin;return _554("dijit.PopupMenuBarItem",[_555,_557],{});});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_558,dom,_559,_55a,_55b,_55c){return _558("dijit.MenuSeparator",[_559,_55a,_55b],{templateString:_55c,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_55d,_55e,_55f,lang,_560,_561,_562,_563){return _55e("dijit.ProgressBar",[_561,_562],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_563,_indeterminateHighContrastImagePath:_55d.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},_setDirAttr:function(val){var rtl=val.toLowerCase()=="rtl";_55f.toggle(this.domNode,"dijitProgressBarRtl",rtl);_55f.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_564){lang.mixin(this,_564||{});var tip=this.internalProgress,ap=this.domNode;var _565=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_565=Math.min(parseFloat(this.progress)/100,1);this.progress=_565*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_565=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-labelledby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_565);_55f.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_55f.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_565*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(_566){this._set("label",_566);this.update();},_setIndeterminateAttr:function(_567){this._set("indeterminate",_567);this.update();},report:function(_568){return this.label?this.label:(this.indeterminate?" ":_560.format(_568,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_569,_56a,_56b){var _56c={};lang.setObject("dojo.number",_56c);_56c.format=function(_56d,_56e){_56e=lang.mixin({},_56e||{});var _56f=i18n.normalizeLocale(_56e.locale),_570=i18n.getLocalization("dojo.cldr","number",_56f);_56e.customs=_570;var _571=_56e.pattern||_570[(_56e.type||"decimal")+"Format"];if(isNaN(_56d)||Math.abs(_56d)==Infinity){return null;}return _56c._applyPattern(_56d,_571,_56e);};_56c._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_56c._applyPattern=function(_572,_573,_574){_574=_574||{};var _575=_574.customs.group,_576=_574.customs.decimal,_577=_573.split(";"),_578=_577[0];_573=_577[(_572<0)?1:0]||("-"+_578);if(_573.indexOf("%")!=-1){_572*=100;}else{if(_573.indexOf("‰")!=-1){_572*=1000;}else{if(_573.indexOf("¤")!=-1){_575=_574.customs.currencyGroup||_575;_576=_574.customs.currencyDecimal||_576;_573=_573.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(_579,_57a,_57b,_57c){var prop=["symbol","currency","displayName"][_57b.length-1],_57d=_574[prop]||_574.currency||"";if(!_57d){return "";}return _57a+_57d+_57c;});}else{if(_573.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _57e=_56c._numberPatternRE;var _57f=_578.match(_57e);if(!_57f){throw new Error("unable to find a number expression in pattern: "+_573);}if(_574.fractional===false){_574.places=0;}return _573.replace(_57e,_56c._formatAbsolute(_572,_57f[0],{decimal:_576,group:_575,places:_574.places,round:_574.round}));};_56c.round=function(_580,_581,_582){var _583=10/(_582||10);return (_583*+_580).toFixed(_581)/_583;};if((0.9).toFixed()==0){var _584=_56c.round;_56c.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 _584(v,p,m)+(v>0?d:-d);};}_56c._formatAbsolute=function(_585,_586,_587){_587=_587||{};if(_587.places===true){_587.places=0;}if(_587.places===Infinity){_587.places=6;}var _588=_586.split("."),_589=typeof _587.places=="string"&&_587.places.indexOf(","),_58a=_587.places;if(_589){_58a=_587.places.substring(_589+1);}else{if(!(_58a>=0)){_58a=(_588[1]||[]).length;}}if(!(_587.round<0)){_585=_56c.round(_585,_58a,_587.round);}var _58b=String(Math.abs(_585)).split("."),_58c=_58b[1]||"";if(_588[1]||_587.places){if(_589){_587.places=_587.places.substring(0,_589);}var pad=_587.places!==undefined?_587.places:(_588[1]&&_588[1].lastIndexOf("0")+1);if(pad>_58c.length){_58b[1]=_56a.pad(_58c,pad,"0",true);}if(_58a<_58c.length){_58b[1]=_58c.substr(0,_58a);}}else{if(_58b[1]){_58b.pop();}}var _58d=_588[0].replace(",","");pad=_58d.indexOf("0");if(pad!=-1){pad=_58d.length-pad;if(pad>_58b[0].length){_58b[0]=_56a.pad(_58b[0],pad);}if(_58d.indexOf("#")==-1){_58b[0]=_58b[0].substr(_58b[0].length-pad);}}var _58e=_588[0].lastIndexOf(","),_58f,_590;if(_58e!=-1){_58f=_588[0].length-_58e-1;var _591=_588[0].substr(0,_58e);_58e=_591.lastIndexOf(",");if(_58e!=-1){_590=_591.length-_58e-1;}}var _592=[];for(var _593=_58b[0];_593;){var off=_593.length-_58f;_592.push((off>0)?_593.substr(off):_593);_593=(off>0)?_593.slice(0,off):"";if(_590){_58f=_590;delete _590;}}_58b[0]=_592.reverse().join(_587.group||",");return _58b.join(_587.decimal||".");};_56c.regexp=function(_594){return _56c._parseInfo(_594).regexp;};_56c._parseInfo=function(_595){_595=_595||{};var _596=i18n.normalizeLocale(_595.locale),_597=i18n.getLocalization("dojo.cldr","number",_596),_598=_595.pattern||_597[(_595.type||"decimal")+"Format"],_599=_597.group,_59a=_597.decimal,_59b=1;if(_598.indexOf("%")!=-1){_59b/=100;}else{if(_598.indexOf("‰")!=-1){_59b/=1000;}else{var _59c=_598.indexOf("¤")!=-1;if(_59c){_599=_597.currencyGroup||_599;_59a=_597.currencyDecimal||_59a;}}}var _59d=_598.split(";");if(_59d.length==1){_59d.push("-"+_59d[0]);}var re=_56b.buildGroupRE(_59d,function(_59e){_59e="(?:"+_56b.escapeString(_59e,".")+")";return _59e.replace(_56c._numberPatternRE,function(_59f){var _5a0={signed:false,separator:_595.strict?_599:[_599,""],fractional:_595.fractional,decimal:_59a,exponent:false},_5a1=_59f.split("."),_5a2=_595.places;if(_5a1.length==1&&_59b!=1){_5a1[1]="###";}if(_5a1.length==1||_5a2===0){_5a0.fractional=false;}else{if(_5a2===undefined){_5a2=_595.pattern?_5a1[1].lastIndexOf("0")+1:Infinity;}if(_5a2&&_595.fractional==undefined){_5a0.fractional=true;}if(!_595.places&&(_5a2<_5a1[1].length)){_5a2+=","+_5a1[1].length;}_5a0.places=_5a2;}var _5a3=_5a1[0].split(",");if(_5a3.length>1){_5a0.groupSize=_5a3.pop().length;if(_5a3.length>1){_5a0.groupSize2=_5a3.pop().length;}}return "("+_56c._realNumberRegexp(_5a0)+")";});},true);if(_59c){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_5a4,_5a5,_5a6,_5a7){var prop=["symbol","currency","displayName"][_5a6.length-1],_5a8=_56b.escapeString(_595[prop]||_595.currency||"");if(!_5a8){return "";}_5a5=_5a5?"[\\s\\xa0]":"";_5a7=_5a7?"[\\s\\xa0]":"";if(!_595.strict){if(_5a5){_5a5+="*";}if(_5a7){_5a7+="*";}return "(?:"+_5a5+_5a8+_5a7+")?";}return _5a5+_5a8+_5a7;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_599,decimal:_59a,factor:_59b};};_56c.parse=function(_5a9,_5aa){var info=_56c._parseInfo(_5aa),_5ab=(new RegExp("^"+info.regexp+"$")).exec(_5a9);if(!_5ab){return NaN;}var _5ac=_5ab[1];if(!_5ab[1]){if(!_5ab[2]){return NaN;}_5ac=_5ab[2];info.factor*=-1;}_5ac=_5ac.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _5ac*info.factor;};_56c._realNumberRegexp=function(_5ad){_5ad=_5ad||{};if(!("places" in _5ad)){_5ad.places=Infinity;}if(typeof _5ad.decimal!="string"){_5ad.decimal=".";}if(!("fractional" in _5ad)||/^0/.test(_5ad.places)){_5ad.fractional=[true,false];}if(!("exponent" in _5ad)){_5ad.exponent=[true,false];}if(!("eSigned" in _5ad)){_5ad.eSigned=[true,false];}var _5ae=_56c._integerRegexp(_5ad),_5af=_56b.buildGroupRE(_5ad.fractional,function(q){var re="";if(q&&(_5ad.places!==0)){re="\\"+_5ad.decimal;if(_5ad.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_5ad.places+"}";}}return re;},true);var _5b0=_56b.buildGroupRE(_5ad.exponent,function(q){if(q){return "([eE]"+_56c._integerRegexp({signed:_5ad.eSigned})+")";}return "";});var _5b1=_5ae+_5af;if(_5af){_5b1="(?:(?:"+_5b1+")|(?:"+_5af+"))";}return _5b1+_5b0;};_56c._integerRegexp=function(_5b2){_5b2=_5b2||{};if(!("signed" in _5b2)){_5b2.signed=[true,false];}if(!("separator" in _5b2)){_5b2.separator="";}else{if(!("groupSize" in _5b2)){_5b2.groupSize=3;}}var _5b3=_56b.buildGroupRE(_5b2.signed,function(q){return q?"[-+]":"";},true);var _5b4=_56b.buildGroupRE(_5b2.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_56b.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_5b2.groupSize,grp2=_5b2.groupSize2;if(grp2){var _5b5="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_5b5+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_5b5;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _5b3+_5b4;};return _56c;});},"dijit/TitlePane":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","./_CssStateMixin","./_TemplatedMixin","./layout/ContentPane","dojo/text!./templates/TitlePane.html","./_base/manager","./a11yclick"],function(_5b6,_5b7,dom,_5b8,_5b9,_5ba,_5bb,has,_5bc,keys,_5bd,_5be,_5bf,_5c0,_5c1){var _5c2=_5b7("dijit.TitlePane",[_5bf,_5be,_5bd],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_5c1.defaultDuration,baseClass:"dijitTitlePane",templateString:_5c0,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,this.baseClass+"Title");}var _5c3=this.hideNode,_5c4=this.wipeNode;this._wipeIn=_5bb.wipeIn({node:_5c4,duration:this.duration,beforeBegin:function(){_5c3.style.display="";}});this._wipeOut=_5bb.wipeOut({node:_5c4,duration:this.duration,onEnd:function(){_5c3.style.display="none";}});},_setOpenAttr:function(open,_5c5){_5b6.forEach([this._wipeIn,this._wipeOut],function(_5c6){if(_5c6&&_5c6.status()=="playing"){_5c6.stop();}});if(_5c5){var anim=this[open?"_wipeIn":"_wipeOut"];anim.play();}else{this.hideNode.style.display=this.wipeNode.style.display=open?"":"none";}if(this._started){if(open){this._onShow();}else{this.onHide();}}this.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_5c7){this.focusNode.setAttribute("role",_5c7?"button":"heading");if(_5c7){this.focusNode.setAttribute("aria-controls",this.id+"_pane");this.focusNode.setAttribute("tabIndex",this.tabIndex);this.focusNode.setAttribute("aria-pressed",this.open);}else{_5b8.remove(this.focusNode,"aria-controls");_5b8.remove(this.focusNode,"tabIndex");_5b8.remove(this.focusNode,"aria-pressed");}this._set("toggleable",_5c7);this._setCss();},_setContentAttr:function(_5c8){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_5ba.setMarginBox(this.wipeNode,{h:_5ba.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 _5c9=this._titleBarClass;this._titleBarClass=this.baseClass+"Title"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_5b9.replace(node,this._titleBarClass,_5c9||"");_5b9.replace(node,this._titleBarClass.replace("TitlePaneTitle",""),(_5c9||"").replace("TitlePaneTitle",""));this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_5ca){_5bc.deprecated("dijit.TitlePane.setTitle() is deprecated. Use set('title', ...) instead.","","2.0");this.set("title",_5ca);}});if(has("dojo-bidi")){_5c2.extend({_setTitleAttr:function(_5cb){this._set("title",_5cb);this.titleNode.innerHTML=_5cb;this.applyTextDir(this.titleNode);},_setTooltipAttr:function(_5cc){this._set("tooltip",_5cc);if(this.textDir){_5cc=this.enforceTextDirWithUcc(null,_5cc);}_5b8.set(this.focusNode,"title",_5cc);},_setTextDirAttr:function(_5cd){if(this._created&&this.textDir!=_5cd){this._set("textDir",_5cd);this.set("title",this.title);this.set("tooltip",this.tooltip);}}});}return _5c2;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_5ce,dojo,_5cf,_5d0,_5d1,dom,_5d2,geom,_5d3,_5d4){if(!dojo.isAsync){_5d3(0,function(){var _5d5=["./fx/Toggler"];_5d4(_5d5);});}var _5d6=dojo.fx={};var _5d7={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _5d8=function(_5d9){this._index=-1;this._animations=_5d9||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_5cf.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_5d8.prototype=new _5ce();lang.extend(_5d8,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_5d0.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_5d0.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_5da,_5db){if(!this._current){this._current=this._animations[this._index=0];}if(!_5db&&this._current.status()=="playing"){return this;}var _5dc=_5d0.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_5dd=_5d0.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_5de=_5d0.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_5dc.remove();_5dd.remove();_5de.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_5d0.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_5d0.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_5d0.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_5df,_5e0){this.pause();var _5e1=this.duration*_5df;this._current=null;_5cf.some(this._animations,function(a,_5e2){if(_5e1<=a.duration){this._current=a;this._index=_5e2;return true;}_5e1-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_5e1/this._current.duration);}if(_5e0){this.play();}return this;},stop:function(_5e3){if(this._current){if(_5e3){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_5d0.after(this._current,"onStop",lang.hitch(this,function(arg){this._fire("onStop",arguments);e.remove();}),true);this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){this.stop();if(this._onAnimateCtx){this._onAnimateCtx.remove();}if(this._onEndCtx){this._onEndCtx.remove();}}});lang.extend(_5d8,_5d7);_5d6.chain=function(_5e4){return new _5d8(lang.isArray(_5e4)?_5e4:Array.prototype.slice.call(arguments,0));};var _5e5=function(_5e6){this._animations=_5e6||[];this._connects=[];this._finished=0;this.duration=0;_5cf.forEach(_5e6,function(a){var _5e7=a.duration;if(a.delay){_5e7+=a.delay;}if(this.duration<_5e7){this.duration=_5e7;}this._connects.push(_5d0.after(a,"onEnd",lang.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _5d1.Animation({curve:[0,1],duration:this.duration});var self=this;_5cf.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_5d0.after(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);},true));});};lang.extend(_5e5,{_doAction:function(_5e8,args){_5cf.forEach(this._animations,function(a){a[_5e8].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_5e9,args){var t=this._pseudoAnimation;t[_5e9].apply(t,args);},play:function(_5ea,_5eb){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(_5ec,_5ed){var ms=this.duration*_5ec;_5cf.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_5ed);});this._call("gotoPercent",arguments);return this;},stop:function(_5ee){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){this.stop();_5cf.forEach(this._connects,function(_5ef){_5ef.remove();});}});lang.extend(_5e5,_5d7);_5d6.combine=function(_5f0){return new _5e5(lang.isArray(_5f0)?_5f0:Array.prototype.slice.call(arguments,0));};_5d6.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_5d1.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 _5f1=_5d2.get(node,"height");return Math.max(_5f1,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_5d0.after(anim,"onStop",fini,true);_5d0.after(anim,"onEnd",fini,true);return anim;};_5d6.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_5d1.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_5d0.after(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";},true);var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_5d0.after(anim,"onStop",fini,true);_5d0.after(anim,"onEnd",fini,true);return anim;};_5d6.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_5d2.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=_5d1.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_5d0.after(anim,"beforeBegin",init,true);return anim;};return _5d6;});},"dijit/Tree":function(){define(["dojo/_base/array","dojo/aspect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/promise/all","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/errors/create","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./a11yclick","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","./_KeyNavMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector","dojo/query!css2"],function(_5f2,_5f3,_5f4,_5f5,_5f6,all,dom,_5f7,_5f8,_5f9,_5fa,_5fb,has,_5fc,keys,lang,on,_5fd,_5fe,when,_5ff,_600,_601,_602,_603,_604,_605,_606,_607,_608,_609,_60a,_60b,_60c,_60d){function _60e(d){return lang.delegate(d.promise||d,{addCallback:function(_60f){this.then(_60f);},addErrback:function(_610){this.otherwise(_610);}});};var _611=_5f5("dijit._TreeNode",[_603,_604,_605,_606,_607],{item:null,isTreeNode:true,label:"",_setLabelAttr:function(val){this.labelNode[this.labelType=="html"?"innerHTML":"innerText" in this.labelNode?"innerText":"textContent"]=val;this._set("label",val);if(has("dojo-bidi")){this.applyTextDir(this.labelNode);}},labelType:"text",isExpandable:null,isExpanded:false,state:"NotLoaded",templateString:_609,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_612){var _613=(Math.max(_612,0)*this.tree._nodePixelIndent)+"px";_5f9.set(this.domNode,"backgroundPosition",_613+" 0px");_5f9.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_613);_5f2.forEach(this.getChildren(),function(_614){_614.set("indent",_612+1);});this._set("indent",_612);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_615=tree.model;if(tree._v10Compat&&item===_615.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");this.tree._startPaint(true);},_applyClassAndStyle:function(item,_616,_617){var _618="_"+_616+"Class";var _619=_616+"Node";var _61a=this[_618];this[_618]=this.tree["get"+_617+"Class"](item,this.isExpanded);_5f7.replace(this[_619],this[_618]||"",_61a||"");_5f9.set(this[_619],this.tree["get"+_617+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _61b=this.getParent(),_61c=!_61b||!_61b.rowNode||_61b.rowNode.style.display=="none";_5f7.toggle(this.domNode,"dijitTreeIsRoot",_61c);_5f7.toggle(this.domNode,"dijitTreeIsLast",!_61c&&!this.getNextSibling());},_setExpando:function(_61d){var _61e=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_61f=["*","-","+","*"],idx=_61d?0:(this.isExpandable?(this.isExpanded?1:2):3);_5f7.replace(this.expandoNode,_61e[idx],_61e);this.expandoNodeText.innerHTML=_61f[idx];},expand:function(){if(this._expandDeferred){return _60e(this._expandDeferred);}if(this._collapseDeferred){this._collapseDeferred.cancel();delete this._collapseDeferred;}this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_5f7.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","true");}var _620=_5fb.wipeIn({node:this.containerNode,duration:_602.defaultDuration});var def=(this._expandDeferred=new _5f6(function(){_620.stop();}));_5f3.after(_620,"onEnd",function(){def.resolve(true);},true);_620.play();return _60e(def);},collapse:function(){if(this._collapseDeferred){return _60e(this._collapseDeferred);}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","false");}_5f7.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _621=_5fb.wipeOut({node:this.containerNode,duration:_602.defaultDuration});var def=(this._collapseDeferred=new _5f6(function(){_621.stop();}));_5f3.after(_621,"onEnd",function(){def.resolve(true);},true);_621.play();return _60e(def);},indent:0,setChildItems:function(_622){var tree=this.tree,_623=tree.model,defs=[];var _624=tree.focusedChild;var _625=this.getChildren();_5f2.forEach(_625,function(_626){_605.prototype.removeChild.call(this,_626);},this);this.defer(function(){_5f2.forEach(_625,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);function _627(node){var id=_623.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _628=_5f2.indexOf(ary,node);if(_628!=-1){ary.splice(_628,1);}}_5f2.forEach(node.getChildren(),_627);};_627(node);if(tree.persist){var _629=_5f2.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_629.length)==_629){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}if(tree.lastFocusedChild&&!dom.isDescendant(tree.lastFocusedChild,tree.domNode)){delete tree.lastFocusedChild;}if(_624&&!dom.isDescendant(_624,tree.domNode)){tree.focus();}node.destroyRecursive();}});});this.state="Loaded";if(_622&&_622.length>0){this.isExpandable=true;_5f2.forEach(_622,function(item){var id=_623.getIdentity(item),_62a=tree._itemNodesMap[id],node;if(_62a){for(var i=0;i<_62a.length;i++){if(_62a[i]&&!_62a[i].getParent()){node=_62a[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_623.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_62a){_62a.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_5f2.forEach(this.getChildren(),function(_62b){_62b._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _60e(def);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _62c=this.getChildren();if(_62c.length==0){this.isExpandable=false;this.collapse();}_5f2.forEach(_62c,function(_62d){_62d._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_62e){this.labelNode.setAttribute("aria-selected",_62e?"true":"false");_5f7.toggle(this.rowNode,"dijitTreeRowSelected",_62e);},focus:function(){_600.focus(this.focusNode);}});if(has("dojo-bidi")){_611.extend({_setTextDirAttr:function(_62f){if(_62f&&((this.textDir!=_62f)||!this._created)){this._set("textDir",_62f);this.applyTextDir(this.labelNode);_5f2.forEach(this.getChildren(),function(_630){_630.set("textDir",_62f);},this);}}});}var Tree=_5f5("dijit.Tree",[_603,_608,_604,_607],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_60a,persist:false,autoExpand:false,dndController:_60d,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(_631,_632){_5fd.publish(this.id,lang.mixin({tree:this,event:_631},_632||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _5f6();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_5fe.enter),function(evt){self._onNodeMouseEnter(_601.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_5fe.leave),function(evt){self._onNodeMouseLeave(_601.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_5ff.press),function(evt){self._onNodePress(_601.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_5ff),function(evt){self._onClick(_601.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_601.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_5f3.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_5f3.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_5f3.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _633={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_633[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_633);}this._load();this.onLoadDeferred=_60e(this.pendingCommandsPromise);this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_5fc.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _634={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_634.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_634.getChildren=lang.hitch(this,function(item,_635,_636){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_635,_636);});}this.model=new _60c(_634);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),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");this.domNode.removeAttribute("aria-expanded");this.domNode.removeAttribute("aria-multiselectable");if(this["aria-label"]){rn.containerNode.setAttribute("aria-label",this["aria-label"]);this.domNode.removeAttribute("aria-label");}else{if(this["aria-labelledby"]){rn.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]);this.domNode.removeAttribute("aria-labelledby");}}rn.labelNode.setAttribute("role","presentation");rn.labelNode.removeAttribute("aria-selected");rn.containerNode.setAttribute("role","tree");rn.containerNode.setAttribute("aria-expanded","true");rn.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular);}else{this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular);this.rootLoadingIndicator.style.display="none";}this.containerNode.appendChild(rn.domNode);var _637=this.model.getIdentity(item);if(this._itemNodesMap[_637]){this._itemNodesMap[_637].push(rn);}else{this._itemNodesMap[_637]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){if(!this._destroyed){this.rootLoadingIndicator.style.display="none";this.expandChildrenDeferred.resolve(true);}}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _638=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_638]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_639){var tree=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(lang.hitch(this,function(){var _63a=_5f2.map(_639,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _63b=[];_5f2.forEach(_63a,function(id){_63b=_63b.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_63b);}));},_setPathAttr:function(path){if(path.length){return _60e(this.set("paths",[path]).then(function(_63c){return _63c[0];}));}else{return _60e(this.set("paths",[]).then(function(_63d){return _63d[0];}));}},_setPathsAttr:function(_63e){var tree=this;function _63f(path,_640){var _641=path.shift();var _642=_5f2.filter(_640,function(node){return node.getIdentity()==_641;})[0];if(!!_642){if(path.length){return tree._expandNode(_642).then(function(){return _63f(path,_642.getChildren());});}else{return _642;}}else{throw new Tree.PathError("Could not expand path at "+_641);}};return _60e(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return all(_5f2.map(_63e,function(path){path=_5f2.map(path,function(item){return item&&lang.isObject(item)?tree.model.getIdentity(item):item;});if(path.length){return _63f(path,[tree.rootNode]);}else{throw new Tree.PathError("Empty path");}}));}).then(function setNodes(_643){tree.set("selectedNodes",_643);return tree.paths;}));},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_644){this.dndController.setSelection(_644);},expandAll:function(){var _645=this;function _646(node){return _645._expandNode(node).then(function(){var _647=_5f2.filter(node.getChildren()||[],function(node){return node.isExpandable;});return all(_5f2.map(_647,_646));});};return _60e(_646(this.rootNode));},collapseAll:function(){var _648=this;function _649(node){var _64a=_5f2.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=all(_5f2.map(_64a,_649));if(!node.isExpanded||(node==_648.rootNode&&!_648.showRoot)){return defs;}else{return defs.then(function(){return _648._collapseNode(node);});}};return _60e(_649(this.rootNode));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_64b){return (!item||this.model.mayHaveChildren(item))?(_64b?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onDownArrow:function(evt,node){var _64c=this._getNext(node);if(_64c&&_64c.isTreeNode){this.focusNode(_64c);}},_onUpArrow:function(evt,node){var _64d=node.getPreviousSibling();if(_64d){node=_64d;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _64e=node.getChildren();node=_64e[_64e.length-1];}}else{var _64f=node.getParent();if(!(!this.showRoot&&_64f===this.rootNode)){node=_64f;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(evt,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(evt,node){if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _650=node.getParent();if(_650&&_650.isTreeNode&&!(!this.showRoot&&_650===this.rootNode)){this.focusNode(_650);}}},focusLastChild:function(){var node=this._getLast();if(node&&node.isTreeNode){this.focusNode(node);}},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_getLast:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();if(!c.length){break;}node=c[c.length-1];}return node;},_getNext:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _651=node.getNextSibling();if(_651){return _651;}node=node.getParent();}return null;}},childSelector:".dijitTreeRow",isExpandoNode:function(node,_652){return dom.isDescendant(node,_652.expandoNode)||dom.isDescendant(node,_652.expandoNodeText);},_onNodePress:function(_653,e){this.focusNode(_653);},__click:function(_654,e,_655,func){var _656=e.target,_657=this.isExpandoNode(_656,_654);if(_654.isExpandable&&(_655||_657)){this._onExpandoClick({node:_654});}else{this._publish("execute",{item:_654.item,node:_654,evt:e});this[func](_654.item,_654,e);this.focusNode(_654);}e.stopPropagation();e.preventDefault();},_onClick:function(_658,e){this.__click(_658,e,this.openOnClick,"onClick");},_onDblClick:function(_659,e){this.__click(_659,e,this.openOnDblClick,"onDblClick");},_onExpandoClick:function(_65a){var node=_65a.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){_5fc.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(node);},_getRootOrFirstNode:function(){_5fc.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","","2.0");return this._getFirst();},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.state=="Loading"){return;}if(node.isExpanded){var ret=node.collapse();this.onClose(node.item,node);this._state(node,false);this._startPaint(ret);return ret;}},_expandNode:function(node){if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _65b=this.model,item=node.item,_65c=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _5f6();_65b.getChildren(item,function(_65d){node.unmarkProcessing();node.setChildItems(_65d).then(function(){node._loadDeferred.resolve(_65d);});},function(err){console.error(_65c,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}var def=node._loadDeferred.then(lang.hitch(this,function(){var def2=node.expand();this.onOpen(node.item,node);this._state(node,true);return def2;}));this._startPaint(def);return def;},focusNode:function(node){var _65e=this.domNode.scrollLeft;this.focusChild(node);this.domNode.scrollLeft=_65e;},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _65f=this.model,_660=_65f.getIdentity(item),_661=this._itemNodesMap[_660];if(_661){var _662=this.getLabel(item),_663=this.getTooltip(item);_5f2.forEach(_661,function(node){node.set({item:item,label:_662,tooltip:_663});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_664,_665){var _666=this.model,_667=_666.getIdentity(_664),_668=this._itemNodesMap[_667];if(_668){_5f2.forEach(_668,function(_669){_669.setChildItems(_665);});}},_onItemDelete:function(item){var _66a=this.model,_66b=_66a.getIdentity(item),_66c=this._itemNodesMap[_66b];if(_66c){_5f2.forEach(_66c,function(node){this.dndController.removeTreeNode(node);var _66d=node.getParent();if(_66d){_66d.removeChild(node);}if(this.lastFocusedChild&&!dom.isDescendant(this.lastFocusedChild,this.domNode)){delete this.lastFocusedChild;}if(this.focusedChild&&!dom.isDescendant(this.focusedChild,this.domNode)){this.focus();}node.destroyRecursive();},this);delete this._itemNodesMap[_66b];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_5f4(this.cookieName);if(oreo){_5f2.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_66e){if(!this.persist){return false;}var path=_5f2.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_66e){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}this._saveExpandedNodes();}},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_5f4(this.cookieName,ary.join(","),{expires:365});}},destroy:function(){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_66f){if(_66f){_5f8.setMarginBox(this.domNode,_66f);}this._nodePixelIndent=_5f8.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(lang.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths();}));},_outstandingPaintOperations:0,_startPaint:function(p){this._outstandingPaintOperations++;if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var oc=lang.hitch(this,function(){this._outstandingPaintOperations--;if(this._outstandingPaintOperations<=0&&!this._adjustWidthsTimer&&this._started){this._adjustWidthsTimer=this.defer("_adjustWidths");}});when(p,oc,oc);},_adjustWidths:function(){if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>this.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _611(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_670){if(_670&&this.textDir!=_670){this._set("textDir",_670);this.rootNode.set("textDir",_670);}}});}Tree.PathError=_5fa("TreePathError");Tree._TreeNode=_611;return Tree;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_671){dojo.cookie=function(name,_672,_673){var c=document.cookie,ret;if(arguments.length==1){var _674=c.match(new RegExp("(?:^|; )"+_671.escapeString(name)+"=([^;]*)"));ret=_674?decodeURIComponent(_674[1]):undefined;}else{_673=_673||{};var exp=_673.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_673.expires=d;}if(exp&&exp.toUTCString){_673.expires=exp.toUTCString();}_672=encodeURIComponent(_672);var _675=name+"="+_672,_676;for(_676 in _673){_675+="; "+_676;var _677=_673[_676];if(_677!==true){_675+="="+_677;}}document.cookie=_675;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_678,_679,_67a,lang){return _67a("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 _67b=this.store;if(!_67b.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_67b.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_679.after(_67b,"onNew",lang.hitch(this,"onNewItem"),true),_679.after(_67b,"onDelete",lang.hitch(this,"onDeleteItem"),true),_679.after(_67b,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_67c,_67d){if(this.root){_67c(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_67e){if(_67e.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_67e.length+" items, but must return exactly one");}this.root=_67e[0];_67c(this.root);}),onError:_67d});}},mayHaveChildren:function(item){return _678.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_67f,_680,_681){var _682=this.store;if(!_682.isItemLoaded(_67f)){var _683=lang.hitch(this,arguments.callee);_682.loadItem({item:_67f,onItem:function(_684){_683(_684,_680,_681);},onError:_681});return;}var _685=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_682.getValues(_67f,this.childrenAttrs[i]);_685=_685.concat(vals);}var _686=0;if(!this.deferItemLoadingUntilExpand){_678.forEach(_685,function(item){if(!_682.isItemLoaded(item)){_686++;}});}if(_686==0){_680(_685);}else{_678.forEach(_685,function(item,idx){if(!_682.isItemLoaded(item)){_682.loadItem({item:item,onItem:function(item){_685[idx]=item;if(--_686==0){_680(_685);}},onError:_681});}});}},isItem:function(_687){return this.store.isItem(_687);},fetchItemByIdentity:function(_688){this.store.fetchItemByIdentity(_688);},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,_689,_68a){var _68b={parent:_689,attribute:this.childrenAttrs[0]},_68c;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_689,true,_68a);}else{_68c=this.store.newItem(args,_68b);if(_68c&&(_68a!=undefined)){this.pasteItem(_68c,_689,_689,false,_68a);}}}});}else{_68c=this.store.newItem(args,_68b);if(_68c&&(_68a!=undefined)){this.pasteItem(_68c,_689,_689,false,_68a);}}},pasteItem:function(_68d,_68e,_68f,_690,_691){var _692=this.store,_693=this.childrenAttrs[0];if(_68e){_678.forEach(this.childrenAttrs,function(attr){if(_692.containsValue(_68e,attr,_68d)){if(!_690){var _694=_678.filter(_692.getValues(_68e,attr),function(x){return x!=_68d;});_692.setValues(_68e,attr,_694);}_693=attr;}});}if(_68f){if(typeof _691=="number"){var _695=_692.getValues(_68f,_693).slice();_695.splice(_691,0,_68d);_692.setValues(_68f,_693,_695);}else{_692.setValues(_68f,_693,_692.getValues(_68f,_693).concat(_68d));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_696){if(!_696){return;}this.getChildren(_696.item,lang.hitch(this,function(_697){this.onChildrenChange(_696.item,_697);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_698){if(_678.indexOf(this.childrenAttrs,_698)!=-1){this.getChildren(item,lang.hitch(this,function(_699){this.onChildrenChange(item,_699);}));}else{this.onChange(item);}}});});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_69a,_69b,_69c,lang,_69d){return _69b("dijit.tree.ForestStoreModel",_69d,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_69e){this.root={store:this,root:true,id:_69e.rootId,label:_69e.rootLabel,children:_69e.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_69f,_6a0,_6a1){if(_69f===this.root){if(this.root.children){_6a0(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_6a2){this.root.children=_6a2;_6a0(_6a2);}),onError:_6a1});}}else{this.inherited(arguments);}},isItem:function(_6a3){return (_6a3===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_6a4){if(_6a4.identity==this.root.id){var _6a5=_6a4.scope||_69c.global;if(_6a4.onItem){_6a4.onItem.call(_6a5,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,_6a6,_6a7){if(_6a6===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_6a8,_6a9,_6aa,_6ab,_6ac){if(_6a9===this.root){if(!_6ab){this.onLeaveRoot(_6a8);}}this.inherited(arguments,[_6a8,_6a9===this.root?null:_6a9,_6aa===this.root?null:_6aa,_6ab,_6ac]);if(_6aa===this.root){this.onAddToRoot(_6a8);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _6ad=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_6ae){this.root.children=_6ae;if(_6ad.length!=_6ae.length||_69a.some(_6ad,function(item,idx){return _6ae[idx]!=item;})){this.onChildrenChange(this.root,_6ae);}})});},onNewItem:function(item,_6af){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_69a.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_6b0,_6b1,_6b2){this._requeryTop();this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dnd/common","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_6b3,_6b4,_6b5,lang,_6b6,dom,_6b7,on,_6b8,_6b9,_6ba){return _6b4("dijit.tree._dndSelector",_6ba,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_6b8.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_6b8.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_6b8.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_6b9.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_6b9.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _6bb=[],sel=this.selection;for(var i in sel){_6bb.push(sel[i]);}return _6bb;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_6bc){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_6bc){this.anchor=node;}return node;},removeTreeNode:function(node){var _6bd=_6b3.filter(this.getSelectedTreeNodes(),function(_6be){return !dom.isDescendant(_6be.domNode,node.domNode);});this.setSelection(_6bd);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_6bf){var _6c0=this.getSelectedTreeNodes();_6b3.forEach(this._setDifference(_6c0,_6bf),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_6b3.forEach(this._setDifference(_6bf,_6c0),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_6b3.forEach(ys,function(y){y.__exclude__=true;});var ret=_6b3.filter(xs,function(x){return !x.__exclude__;});_6b3.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _6c1=this.getSelectedTreeNodes();var _6c2=[],_6c3=[];_6b3.forEach(_6c1,function(node){var ary=node.getTreePath();_6c3.push(node);_6c2.push(ary);},this);var _6c4=_6b3.map(_6c3,function(node){return node.item;});this.tree._set("paths",_6c2);this.tree._set("path",_6c2[0]||[]);this.tree._set("selectedNodes",_6c3);this.tree._set("selectedNode",_6c3[0]||null);this.tree._set("selectedItems",_6c4);this.tree._set("selectedItem",_6c4[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_6b7.isLeft(e)){e.preventDefault();}var _6c5=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_6c5){return;}var copy=_6b6.getCopyKeyState(e),id=_6c5.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_6c5,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_6b6.getCopyKeyState(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_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,_6c6,_6c7){if(this.singular){if(this.anchor==node&&_6c6){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_6c7&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_6c8,end,_6c9=this.anchor;if(cr<0){_6c8=_6c9;end=node;}else{_6c8=node;end=_6c9;}var _6ca=[];while(_6c8!=end){_6ca.push(_6c8);_6c8=this.tree._getNext(_6c8);}_6ca.push(end);this.setSelection(_6ca);}else{if(this.selection[node.id]&&_6c6){this.removeTreeNode(node);}else{if(_6c6){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _6cb=this.selection[key];return {data:_6cb,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_6b5.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/lang","dojo/on","dojo/touch"],function(_6cc,_6cd,_6ce,lang,on,_6cf){return _6cd("dijit.tree._dndContainer",null,{constructor:function(tree,_6d0){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_6d0);this.containerState="";_6ce.add(this.node,"dojoDndContainer");this.events=[on(this.node,_6cf.enter,lang.hitch(this,"onOverEvent")),on(this.node,_6cf.leave,lang.hitch(this,"onOutEvent")),_6cc.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_6cc.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_6d1){this.current=_6d1;},onMouseOut:function(){this.current=null;},_changeState:function(type,_6d2){var _6d3="dojoDnd"+type;var _6d4=type.toLowerCase()+"State";_6ce.replace(this.node,_6d3+_6d2,_6d3+this[_6d4]);this[_6d4]=_6d2;},_addItemClass:function(node,type){_6ce.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_6ce.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_6d5,_6d6,_6d7,_6d8,_6d9,_6da,_6db,_6dc,i18n,_6dd,keys,lang,on,has,when,_6de,fm,_6df,_6e0,_6e1,_6e2,_6e3,_6e4,_6e5,_6e6){var _6e7=_6d8("dijit._InlineEditor",[_6df,_6e0,_6e1],{templateString:_6e6,contextRequire:_6d5,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_6d6.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)||_6d5(this.editor)):this.editor;var _6e8=this.sourceStyle,_6e9="line-height:"+_6e8.lineHeight+";",_6ea=_6dc.getComputedStyle(this.domNode);_6d6.forEach(["Weight","Family","Size","Style"],function(prop){var _6eb=_6e8["font"+prop],_6ec=_6ea["font"+prop];if(_6ec!=_6eb){_6e9+="font-"+prop+":"+_6e8["font"+prop]+";";}},this);_6d6.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_6e8[prop];},this);var _6ed=this.inlineEditBox.width;if(_6ed=="100%"){_6e9+="width:100%;";this.domNode.style.display="block";}else{_6e9+="width:"+(_6ed+(Number(_6ed)==_6ed?"px":""))+";";}var _6ee=lang.delegate(this.inlineEditBox.editorParams,{style:_6e9,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_6ee,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_6db.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_6d7.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_6d7.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get(("displayedValue" in ew||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_6e4.selectInputText(this.editWidget.focusNode);});}}}});var _6ef=_6d8("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_6df,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_6e5,editorWrapper:_6e7,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>    ✍    </span>":"<span style='text-decoration: underline;'>    ✍    </span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_6de,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));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;}_6da.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_6f0){_6dd.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_6f0);},_setDisabledAttr:function(_6f1){this.domNode.setAttribute("aria-disabled",_6f1?"true":"false");if(_6f1){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_6da.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_6f1);this._set("disabled",_6f1);},_onMouseOver:function(){if(!this.disabled){_6da.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_6da.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_6d9.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _6f2=_6db.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:_6dc.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_6f2);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_6da.add(this.displayNode,"dijitOffScreen");_6da.remove(ww.domNode,"dijitOffScreen");_6dc.set(ww.domNode,{visibility:"visible"});_6d9.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_6f3){var ww=this.wrapperWidget;_6dc.set(ww.domNode,{visibility:"hidden"});_6da.add(ww.domNode,"dijitOffScreen");_6da.remove(this.displayNode,"dijitOffScreen");_6d9.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_6f3){fm.focus(this.displayNode);}},save:function(_6f4){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _6f5=ww.getValue();this.set("value",_6f5);this._showText(_6f4);},setValue:function(val){_6dd.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 _6f6=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""").replace(/\n/g,"<br>");this.displayNode.innerHTML=_6f6||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_6dd.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_6f7){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_6f7);}});if(has("dojo-bidi")){_6ef=_6d8("dijit.InlineEditBox",_6ef,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_6ef._InlineEditor=_6e7;return _6ef;});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_6f8,_6f9,_6fa,has,_6fb,_6fc,_6fd,_6fe){return _6f8("dijit.form.Form",[_6fb,_6fc,_6fd,_6fe],{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(_6ff){_6f9.set(this.domNode,"encType",_6ff);if(has("ie")){this.domNode.encoding=_6ff;}this._set("encType",_6ff);},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);e.stopPropagation();e.preventDefault();return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_6fa.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){e.stopPropagation();e.preventDefault();}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],function(_700,keys,_701,_702,_703){return _700("dijit.form.ComboButton",_702,{templateString:_703,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_701.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_701.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_704){if(!this.disabled){_701.focus(_704=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_705,_706,_707,has,_708,_709,_70a,_70b,_70c){if(has("dijit-legacy-requires")){_709(0,function(){var _70d=["dijit/form/RadioButton"];_705(_70d);});}return _706("dijit.form.CheckBox",[_70a,_70b],{templateString:_70c,baseClass:"dijitCheckBox",_setValueAttr:function(_70e,_70f){if(typeof _70e=="string"){this.inherited(arguments);_70e=true;}if(this._created){this.set("checked",_70e,_70f);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_708("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_708("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_710,_711){return _710("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_712){this._set("readOnly",_712);_711.set(this.focusNode,"readOnly",_712);},_setLabelAttr:undefined,_getSubmitValue:function(_713){return (_713==null||_713==="")?"on":_713;},_setValueAttr:function(_714){_714=this._getSubmitValue(_714);this._set("value",_714);_711.set(this.focusNode,"value",_714);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_711.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){e.stopPropagation();e.preventDefault();return false;}return this.inherited(arguments);}});});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_715,_716,_717){return _715("dijit.form.RadioButton",[_716,_717],{baseClass:"dijitRadio"});});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_718,_719,_71a,lang,_71b,_71c){return _719("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_71b("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_71d){if(_71d.name==this.name&&_71d.form==this.focusNode.form){var _71e=_71c.getEnclosingWidget(_71d);if(_71e){ary.push(_71e);}}}));return ary;},_setCheckedAttr:function(_71f){this.inherited(arguments);if(!this._created){return;}if(_71f){_718.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_720){if(_720!=this&&_720.checked){_720.set("checked",false);}}));}},_getSubmitValue:function(_721){return _721==null?"on":_721;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_718.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_722){_71a.set(this.focusNode||this.domNode,"checked",_722.checked);}));return false;}var _723=false;var _724;_718.some(this._getRelatedWidgets(),function(_725){if(_725.checked){_724=_725;return true;}return false;});this.checked=true;_724&&(_724.checked=false);if(this.onClick(e)===false||e.defaultPrevented){_723=true;}this.checked=false;_724&&(_724.checked=true);if(_723){e.preventDefault();}else{this.set("checked",true);}return !_723;}});});},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_726,_727,lang,_728){var _729=_727("dijit.form.CurrencyTextBox",_728,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",_formatter:_726.format,_parser:_726.parse,_regExpGenerator:_726.regexp,parse:function(_72a,_72b){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_72a)){v=lang.hitch(lang.delegate(this,{_parser:_728.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_72c){if(!_72c.currency&&this.currency){_72c.currency=this.currency;}this.inherited(arguments,[_726._mixInDefaults(lang.mixin(_72c,{exponent:false}))]);}});return _729;});},"dojo/currency":function(){define(["./_base/array","./_base/lang","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_72d,lang,_72e,i18n,_72f,_730){var _731={};lang.setObject("dojo.currency",_731);_731._mixInDefaults=function(_732){_732=_732||{};_732.type="currency";var _733=i18n.getLocalization("dojo.cldr","currency",_732.locale)||{};var iso=_732.currency;var data=_730.getData(iso);_72d.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_733[iso+"_"+prop];});data.fractional=[true,false];return lang.mixin(data,_732);};_731.format=function(_734,_735){return _72e.format(_734,_731._mixInDefaults(_735));};_731.regexp=function(_736){return _72e.regexp(_731._mixInDefaults(_736));};_731.parse=function(_737,_738){return _72e.parse(_737,_731._mixInDefaults(_738));};return _731;});},"dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(dojo,lang){var _739={};lang.setObject("dojo.cldr.monetary",_739);_739.getData=function(code){var _73a={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 _73b={};var _73c=_73a[code],_73d=_73b[code];if(typeof _73c=="undefined"){_73c=2;}if(typeof _73d=="undefined"){_73d=0;}return {places:_73c,round:_73d};};return _739;});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/i18n","dojo/string","dojo/number","./RangeBoundTextBox"],function(_73e,lang,i18n,_73f,_740,_741){var _742=function(_743){var _743=_743||{},_744=i18n.getLocalization("dojo.cldr","number",i18n.normalizeLocale(_743.locale)),_745=_743.pattern?_743.pattern:_744[(_743.type||"decimal")+"Format"];var _746;if(typeof _743.places=="number"){_746=_743.places;}else{if(typeof _743.places==="string"&&_743.places.length>0){_746=_743.places.replace(/.*,/,"");}else{_746=(_745.indexOf(".")!=-1?_745.split(".")[1].replace(/[^#0]/g,"").length:0);}}return {sep:_744.decimal,places:_746};};var _747=_73e("dijit.form.NumberTextBoxMixin",null,{pattern:function(_748){return "("+(this.focused&&this.editOptions?this._regExpGenerator(lang.delegate(_748,this.editOptions))+"|":"")+this._regExpGenerator(_748)+")";},value:NaN,editOptions:{pattern:"#.######"},_formatter:_740.format,_regExpGenerator:_740.regexp,_decimalInfo:_742(),postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_749){var _74a=typeof _749.places=="number"?_749.places:0;if(_74a){_74a++;}if(typeof _749.max!="number"){_749.max=9*Math.pow(10,15-_74a);}if(typeof _749.min!="number"){_749.min=-9*Math.pow(10,15-_74a);}this.inherited(arguments,[_749]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}this._decimalInfo=_742(_749);},_onFocus:function(){if(this.disabled||this.readOnly){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _74b=this.format(val,this.constraints);if(_74b!==undefined){this.textbox.value=_74b;}}this.inherited(arguments);},format:function(_74c,_74d){var _74e=String(_74c);if(typeof _74c!="number"){return _74e;}if(isNaN(_74c)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_74c,_74d))&&_74d.exponent!==false&&/\de[-+]?\d/i.test(_74e)){return _74e;}if(this.editOptions&&this.focused){_74d=lang.mixin({},_74d,this.editOptions);}return this._formatter(_74c,_74d);},_parser:_740.parse,parse:function(_74f,_750){var _751=lang.mixin({},_750,(this.editOptions&&this.focused)?this.editOptions:{});if(this.focused&&_751.places!=null){var _752=_751.places;var _753=typeof _752==="number"?_752:Number(_752.split(",").pop());_751.places="0,"+_753;}var v=this._parser(_74f,_751);if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_74f,_750);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_754){if(_754==null||typeof _754=="string"&&_754==""){return NaN;}else{if(typeof _754=="number"&&!isNaN(_754)&&_754!=0){_754=_740.round(_754,this._decimalInfo.places);}}return this.inherited(arguments,[_754]);},serialize:function(_755,_756){return (typeof _755!="number"||isNaN(_755))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.delegate(this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_757,_758,_759){if(_757!==undefined&&_759===undefined){_759=String(_757);if(typeof _757=="number"){if(isNaN(_757)){_759="";}else{if(("rangeCheck" in this&&this.rangeCheck(_757,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_759)){_759=undefined;}}}else{if(!_757){_759="";_757=NaN;}else{_757=undefined;}}}this.inherited(arguments,[_757,_758,_759]);},_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("^"+_740._realNumberRegexp(lang.delegate(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(_75a){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;}}},_isValidSubset:function(){var _75b=(typeof this.constraints.min=="number"),_75c=(typeof this.constraints.max=="number"),_75d=this.get("value");if(isNaN(_75d)||(!_75b&&!_75c)){return this.inherited(arguments);}var _75e=_75d|0,_75f=_75d<0,_760=this.textbox.value.indexOf(this._decimalInfo.sep)!=-1,_761=this.maxLength||20,_762=_761-this.textbox.value.length,_763=_760?this.textbox.value.split(this._decimalInfo.sep)[1].replace(/[^0-9]/g,""):"";var _764=_760?_75e+"."+_763:_75e+"";var _765=_73f.rep("9",_762),_766=_75d,_767=_75d;if(_75f){_766=Number(_764+_765);}else{_767=Number(_764+_765);}return !((_75b&&_767<this.constraints.min)||(_75c&&_766>this.constraints.max));}});var _768=_73e("dijit.form.NumberTextBox",[_741,_747],{baseClass:"dijitTextBox dijitNumberTextBox"});_768.Mixin=_747;return _768;});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox","dojo/i18n!./nls/validate"],function(_769,i18n,_76a){var _76b=_769("dijit.form.RangeBoundTextBox",_76a,{rangeMessage:"",rangeCheck:function(_76c,_76d){return ("min" in _76d?(this.compare(_76c,_76d.min)>=0):true)&&("max" in _76d?(this.compare(_76c,_76d.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");if(val==null){return false;}var _76e=false;if("min" in this.constraints){var min=this.constraints.min;_76e=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min)<0;}if(!_76e&&("max" in this.constraints)){var max=this.constraints.max;_76e=this.compare(val,((typeof max!="number")||max>0)?max:0)>0;}return _76e;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_76f){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_76f));},getErrorMessage:function(_770){var v=this.get("value");if(v!=null&&v!==""&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_770)){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;}}});return _76b;});},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_771,_772,_773){return _771("dijit.form.DateTextBox",_773,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_772,_selector:"date",maxHeight:Infinity,value:new Date("")});});},"dijit/Calendar":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton"],function(_774,date,_775,_776,_777,_778,_779,_77a,keys,lang,on,has,_77b,_77c,_77d,_77e,_77f){var _780=_776("dijit.Calendar",[_77b,_77c,_77d],{baseClass:"dijitCalendar",cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_781){_77a.deprecated("dijit.Calendar:setValue() is deprecated. Use set('value', ...) instead.","","2.0");this.set("value",_781);},_createMonthWidget:function(){return new _780._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")),on(this.dateRowsNode,"mouseover",lang.hitch(this,"_onDayMouseOver")),on(this.dateRowsNode,"mouseout",lang.hitch(this,"_onDayMouseOut")),on(this.dateRowsNode,"mousedown",lang.hitch(this,"_onDayMouseDown")),on(this.dateRowsNode,"mouseup",lang.hitch(this,"_onDayMouseUp")));},_onMonthSelect:function(_782){var date=new this.dateClassObj(this.currentFocus);date.setDate(1);date.setMonth(_782);var _783=this.dateModule.getDaysInMonth(date);var _784=this.currentFocus.getDate();date.setDate(Math.min(_784,_783));this._setCurrentFocusAttr(date);},_onDayMouseOver:function(evt){var node=_778.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_778.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_778.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(_778.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_778.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_778.contains(node,"dijitCalendarDisabledDate")){_778.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_778.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _785=-1,_786,_787=this.currentFocus;switch(evt.keyCode){case keys.RIGHT_ARROW:_785=1;case keys.LEFT_ARROW:_786="day";if(!this.isLeftToRight()){_785*=-1;}break;case keys.DOWN_ARROW:_785=1;case keys.UP_ARROW:_786="week";break;case keys.PAGE_DOWN:_785=1;case keys.PAGE_UP:_786=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_787=this.dateModule.add(_787,"month",1);_786="day";case keys.HOME:_787=new this.dateClassObj(_787);_787.setDate(1);break;default:return true;}if(_786){_787=this.dateModule.add(_787,_786,_785);}this._setCurrentFocusAttr(_787);return false;},_onKeyDown:function(evt){if(!this.handleKey(evt)){evt.stopPropagation();evt.preventDefault();}},onValueSelected:function(){},onChange:function(_788){this.onValueSelected(_788);},getClassForDate:function(){}});_780._MonthDropDownButton=_776("dijit.Calendar._MonthDropDownButton",_77f,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _780._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_789){var _78a=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_789);this.dropDown.set("months",_78a);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_78a[_789.getMonth()]+"</div>";}});_780._MonthDropDown=_776("dijit.Calendar._MonthDropDown",[_77c,_77e,_77d],{months:[],baseClass:"dijitCalendarMonthMenu dijitMenu",templateString:"<div data-dojo-attach-event='ondijitclick:_onClick'></div>",_setMonthsAttr:function(_78b){this.domNode.innerHTML="";_774.forEach(_78b,function(_78c,idx){var div=_779.create("div",{className:"dijitCalendarMonthLabel",month:idx,innerHTML:_78c},this.domNode);div._cssState="dijitCalendarMonthLabel";},this);},_onClick:function(evt){this.onChange(_777.get(evt.target,"month"));},onChange:function(){}});return _780;});},"dojo/date":function(){define(["./has","./_base/lang"],function(has,lang){var date={};date.getDaysInMonth=function(_78d){var _78e=_78d.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_78e==1&&date.isLeapYear(_78d)){return 29;}return days[_78e];};date.isLeapYear=function(_78f){var year=_78f.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};date.getTimezoneName=function(_790){var str=_790.toString();var tz="";var _791;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_791=str.match(pat))){tz=_791[1];}else{str=_790.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_791=str.match(pat))){tz=_791[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};date.compare=function(_792,_793,_794){_792=new Date(+_792);_793=new Date(+(_793||new Date()));if(_794=="date"){_792.setHours(0,0,0,0);_793.setHours(0,0,0,0);}else{if(_794=="time"){_792.setFullYear(0,0,0);_793.setFullYear(0,0,0);}}if(_792>_793){return 1;}if(_792<_793){return -1;}return 0;};date.add=function(date,_795,_796){var sum=new Date(+date);var _797=false;var _798="Date";switch(_795){case "day":break;case "weekday":var days,_799;var mod=_796%5;if(!mod){days=(_796>0)?5:-5;_799=(_796>0)?((_796-5)/5):((_796+5)/5);}else{days=mod;_799=parseInt(_796/5);}var strt=date.getDay();var adj=0;if(strt==6&&_796>0){adj=1;}else{if(strt==0&&_796<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_796>0)?2:-2;}_796=(7*_799)+days+adj;break;case "year":_798="FullYear";_797=true;break;case "week":_796*=7;break;case "quarter":_796*=3;case "month":_797=true;_798="Month";break;default:_798="UTC"+_795.charAt(0).toUpperCase()+_795.substring(1)+"s";}if(_798){sum["set"+_798](sum["get"+_798]()+_796);}if(_797&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};date.difference=function(_79a,_79b,_79c){_79b=_79b||new Date();_79c=_79c||"day";var _79d=_79b.getFullYear()-_79a.getFullYear();var _79e=1;switch(_79c){case "quarter":var m1=_79a.getMonth();var m2=_79b.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_79d*4);_79e=q2-q1;break;case "weekday":var days=Math.round(date.difference(_79a,_79b,"day"));var _79f=parseInt(date.difference(_79a,_79b,"week"));var mod=days%7;if(mod==0){days=_79f*5;}else{var adj=0;var aDay=_79a.getDay();var bDay=_79b.getDay();_79f=parseInt(days/7);mod=days%7;var _7a0=new Date(_79a);_7a0.setDate(_7a0.getDate()+(_79f*7));var _7a1=_7a0.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 (_7a1+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 (_7a1+mod)<0:adj=2;}}}days+=adj;days-=(_79f*2);}_79e=days;break;case "year":_79e=_79d;break;case "month":_79e=(_79b.getMonth()-_79a.getMonth())+(_79d*12);break;case "week":_79e=parseInt(date.difference(_79a,_79b,"day")/7);break;case "day":_79e/=24;case "hour":_79e/=60;case "minute":_79e/=60;case "second":_79e/=1000;case "millisecond":_79e*=_79b.getTime()-_79a.getTime();}return Math.round(_79e);};1&&lang.mixin(lang.getObject("dojo.date",true),date);return date;});},"dojo/date/locale":function(){define(["../_base/lang","../_base/array","../date","../cldr/supplemental","../i18n","../regexp","../string","../i18n!../cldr/nls/gregorian","module"],function(lang,_7a2,date,_7a3,i18n,_7a4,_7a5,_7a6,_7a7){var _7a8={};lang.setObject(_7a7.id.replace(/\//g,"."),_7a8);function _7a9(_7aa,_7ab,_7ac,_7ad){return _7ad.replace(/([a-z])\1*/ig,function(_7ae){var s,pad,c=_7ae.charAt(0),l=_7ae.length,_7af=["abbr","wide","narrow"];switch(c){case "G":s=_7ab[(l<4)?"eraAbbr":"eraNames"][_7aa.getFullYear()<0?0:1];break;case "y":s=_7aa.getFullYear();switch(l){case 1:break;case 2:if(!_7ac.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_7aa.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_7aa.getMonth();if(l<3){s=m+1;pad=true;}else{var _7b0=["months",c=="L"?"standAlone":"format",_7af[l-3]].join("-");s=_7ab[_7b0][m];}break;case "w":var _7b1=0;s=_7a8._getWeekOfYear(_7aa,_7b1);pad=true;break;case "d":s=_7aa.getDate();pad=true;break;case "D":s=_7a8._getDayOfYear(_7aa);pad=true;break;case "e":case "c":var d=_7aa.getDay();if(l<2){s=(d-_7a3.getFirstDayOfWeek(_7ac.locale)+8)%7;break;}case "E":d=_7aa.getDay();if(l<3){s=d+1;pad=true;}else{var _7b2=["days",c=="c"?"standAlone":"format",_7af[l-3]].join("-");s=_7ab[_7b2][d];}break;case "a":var _7b3=_7aa.getHours()<12?"am":"pm";s=_7ac[_7b3]||_7ab["dayPeriods-format-wide-"+_7b3];break;case "h":case "H":case "K":case "k":var h=_7aa.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=_7aa.getMinutes();pad=true;break;case "s":s=_7aa.getSeconds();pad=true;break;case "S":s=Math.round(_7aa.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=_7a8._getZone(_7aa,true,_7ac);if(s){break;}l=4;case "Z":var _7b4=_7a8._getZone(_7aa,false,_7ac);var tz=[(_7b4<=0?"+":"-"),_7a5.pad(Math.floor(Math.abs(_7b4)/60),2),_7a5.pad(Math.abs(_7b4)%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: "+_7ad);}if(pad){s=_7a5.pad(s,l);}return s;});};_7a8._getZone=function(_7b5,_7b6,_7b7){if(_7b6){return date.getTimezoneName(_7b5);}else{return _7b5.getTimezoneOffset();}};_7a8.format=function(_7b8,_7b9){_7b9=_7b9||{};var _7ba=i18n.normalizeLocale(_7b9.locale),_7bb=_7b9.formatLength||"short",_7bc=_7a8._getGregorianBundle(_7ba),str=[],_7bd=lang.hitch(this,_7a9,_7b8,_7bc,_7b9);if(_7b9.selector=="year"){return _7be(_7bc["dateFormatItem-yyyy"]||"yyyy",_7bd);}var _7bf;if(_7b9.selector!="date"){_7bf=_7b9.timePattern||_7bc["timeFormat-"+_7bb];if(_7bf){str.push(_7be(_7bf,_7bd));}}if(_7b9.selector!="time"){_7bf=_7b9.datePattern||_7bc["dateFormat-"+_7bb];if(_7bf){str.push(_7be(_7bf,_7bd));}}return str.length==1?str[0]:_7bc["dateTimeFormat-"+_7bb].replace(/\'/g,"").replace(/\{(\d+)\}/g,function(_7c0,key){return str[key];});};_7a8.regexp=function(_7c1){return _7a8._parseInfo(_7c1).regexp;};_7a8._parseInfo=function(_7c2){_7c2=_7c2||{};var _7c3=i18n.normalizeLocale(_7c2.locale),_7c4=_7a8._getGregorianBundle(_7c3),_7c5=_7c2.formatLength||"short",_7c6=_7c2.datePattern||_7c4["dateFormat-"+_7c5],_7c7=_7c2.timePattern||_7c4["timeFormat-"+_7c5],_7c8;if(_7c2.selector=="date"){_7c8=_7c6;}else{if(_7c2.selector=="time"){_7c8=_7c7;}else{_7c8=_7c4["dateTimeFormat-"+_7c5].replace(/\{(\d+)\}/g,function(_7c9,key){return [_7c7,_7c6][key];});}}var _7ca=[],re=_7be(_7c8,lang.hitch(this,_7cb,_7ca,_7c4,_7c2));return {regexp:re,tokens:_7ca,bundle:_7c4};};_7a8.parse=function(_7cc,_7cd){var _7ce=/[\u200E\u200F\u202A\u202E]/g,info=_7a8._parseInfo(_7cd),_7cf=info.tokens,_7d0=info.bundle,re=new RegExp("^"+info.regexp.replace(_7ce,"")+"$",info.strict?"":"i"),_7d1=re.exec(_7cc&&_7cc.replace(_7ce,""));if(!_7d1){return null;}var _7d2=["abbr","wide","narrow"],_7d3=[1970,0,1,0,0,0,0],amPm="",_7d4=_7a2.every(_7d1,function(v,i){if(!i){return true;}var _7d5=_7cf[i-1],l=_7d5.length,c=_7d5.charAt(0);switch(c){case "y":if(l!=2&&_7cd.strict){_7d3[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_7d6=year.substring(0,2)*100,_7d7=Math.min(Number(year.substring(2,4))+20,99);_7d3[0]=(v<_7d7)?_7d6+v:_7d6-100+v;}else{if(_7cd.strict){return false;}_7d3[0]=v;}}break;case "M":case "L":if(l>2){var _7d8=_7d0["months-"+(c=="L"?"standAlone":"format")+"-"+_7d2[l-3]].concat();if(!_7cd.strict){v=v.replace(".","").toLowerCase();_7d8=_7a2.map(_7d8,function(s){return s.replace(".","").toLowerCase();});}v=_7a2.indexOf(_7d8,v);if(v==-1){return false;}}else{v--;}_7d3[1]=v;break;case "E":case "e":case "c":var days=_7d0["days-"+(c=="c"?"standAlone":"format")+"-"+_7d2[l-3]].concat();if(!_7cd.strict){v=v.toLowerCase();days=_7a2.map(days,function(d){return d.toLowerCase();});}v=_7a2.indexOf(days,v);if(v==-1){return false;}break;case "D":_7d3[1]=0;case "d":_7d3[2]=v;break;case "a":var am=_7cd.am||_7d0["dayPeriods-format-wide-am"],pm=_7cd.pm||_7d0["dayPeriods-format-wide-pm"];if(!_7cd.strict){var _7d9=/\./g;v=v.replace(_7d9,"").toLowerCase();am=am.replace(_7d9,"").toLowerCase();pm=pm.replace(_7d9,"").toLowerCase();}if(_7cd.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;}_7d3[3]=v;break;case "m":_7d3[4]=v;break;case "s":_7d3[5]=v;break;case "S":_7d3[6]=v;}return true;});var _7da=+_7d3[3];if(amPm==="p"&&_7da<12){_7d3[3]=_7da+12;}else{if(amPm==="a"&&_7da==12){_7d3[3]=0;}}var _7db=new Date(_7d3[0],_7d3[1],_7d3[2],_7d3[3],_7d3[4],_7d3[5],_7d3[6]);if(_7cd.strict){_7db.setFullYear(_7d3[0]);}var _7dc=_7cf.join(""),_7dd=_7dc.indexOf("d")!=-1,_7de=_7dc.indexOf("M")!=-1;if(!_7d4||(_7de&&_7db.getMonth()>_7d3[1])||(_7dd&&_7db.getDate()>_7d3[2])){return null;}if((_7de&&_7db.getMonth()<_7d3[1])||(_7dd&&_7db.getDate()<_7d3[2])){_7db=date.add(_7db,"hour",1);}return _7db;};function _7be(_7df,_7e0,_7e1,_7e2){var _7e3=function(x){return x;};_7e0=_7e0||_7e3;_7e1=_7e1||_7e3;_7e2=_7e2||_7e3;var _7e4=_7df.match(/(''|[^'])+/g),_7e5=_7df.charAt(0)=="'";_7a2.forEach(_7e4,function(_7e6,i){if(!_7e6){_7e4[i]="";}else{_7e4[i]=(_7e5?_7e1:_7e0)(_7e6.replace(/''/g,"'"));_7e5=!_7e5;}});return _7e2(_7e4.join(""));};function _7cb(_7e7,_7e8,_7e9,_7ea){_7ea=_7a4.escapeString(_7ea);if(!_7e9.strict){_7ea=_7ea.replace(" a"," ?a");}return _7ea.replace(/([a-z])\1*/ig,function(_7eb){var s,c=_7eb.charAt(0),l=_7eb.length,p2="",p3="";if(_7e9.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":case "L":s=(l>2)?"\\S+?":"1[0-2]|"+p2+"[1-9]";break;case "D":s="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+p2+"[1-9][0-9]|"+p3+"[1-9]";break;case "d":s="3[01]|[12]\\d|"+p2+"[1-9]";break;case "w":s="[1-4][0-9]|5[0-3]|"+p2+"[1-9]";break;case "E":case "e":case "c":s=".+?";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=_7e9.am||_7e8["dayPeriods-format-wide-am"],pm=_7e9.pm||_7e8["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_7e9.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(_7e7){_7e7.push(_7eb);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _7ec=[];var _7ed={};_7a8.addCustomFormats=function(_7ee,_7ef){_7ec.push({pkg:_7ee,name:_7ef});_7ed={};};_7a8._getGregorianBundle=function(_7f0){if(_7ed[_7f0]){return _7ed[_7f0];}var _7f1={};_7a2.forEach(_7ec,function(desc){var _7f2=i18n.getLocalization(desc.pkg,desc.name,_7f0);_7f1=lang.mixin(_7f1,_7f2);},this);return _7ed[_7f0]=_7f1;};_7a8.addCustomFormats(_7a7.id.replace(/\/date\/locale$/,".cldr"),"gregorian");_7a8.getNames=function(item,type,_7f3,_7f4){var _7f5,_7f6=_7a8._getGregorianBundle(_7f4),_7f7=[item,_7f3,type];if(_7f3=="standAlone"){var key=_7f7.join("-");_7f5=_7f6[key];if(_7f5[0]==1){_7f5=undefined;}}_7f7[1]="format";return (_7f5||_7f6[_7f7.join("-")]).concat();};_7a8.isWeekend=function(_7f8,_7f9){var _7fa=_7a3.getWeekend(_7f9),day=(_7f8||new Date()).getDay();if(_7fa.end<_7fa.start){_7fa.end+=7;if(day<_7fa.start){day+=7;}}return day>=_7fa.start&&day<=_7fa.end;};_7a8._getDayOfYear=function(_7fb){return date.difference(new Date(_7fb.getFullYear(),0,1,_7fb.getHours()),_7fb)+1;};_7a8._getWeekOfYear=function(_7fc,_7fd){if(arguments.length==1){_7fd=0;}var _7fe=new Date(_7fc.getFullYear(),0,1).getDay(),adj=(_7fe-_7fd+7)%7,week=Math.floor((_7a8._getDayOfYear(_7fc)+adj-1)/7);if(_7fe==_7fd){week++;}return week;};return _7a8;});},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(lang,i18n){var _7ff={};lang.setObject("dojo.cldr.supplemental",_7ff);_7ff.getFirstDayOfWeek=function(_800){var _801={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0};var _802=_7ff._region(_800);var dow=_801[_802];return (dow===undefined)?1:dow;};_7ff._region=function(_803){_803=i18n.normalizeLocale(_803);var tags=_803.split("-");var _804=tags[1];if(!_804){_804={aa:"et",ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in",av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",zza:"tr"}[tags[0]];}else{if(_804.length==4){_804=tags[2];}}return _804;};_7ff.getWeekend=function(_805){var _806={"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},_807={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},_808=_7ff._region(_805),_809=_806[_808],end=_807[_808];if(_809===undefined){_809=6;}if(end===undefined){end=0;}return {start:_809,end:end};};return _7ff;});},"dijit/CalendarLite":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/dom","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html","./a11yclick","./hccss"],function(_80a,_80b,_80c,date,_80d,_80e,dom,_80f,lang,on,has,_810,_811,_812,_813){var _814=_80b("dijit.CalendarLite",[_811,_812],{templateString:_813,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\" scope=\"col\"><span class=\"dijitCalendarDayLabel\">${d}</span></th>",dateTemplateString:"<td class=\"dijitReset\" role=\"gridcell\" data-dojo-attach-point=\"dateCells\"><span class=\"dijitCalendarDateLabel\" data-dojo-attach-point=\"dateLabels\"></span></td>",weekTemplateString:"<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">${d}${d}${d}${d}${d}${d}${d}</tr>",value:new Date(""),datePackage:"",dayWidth:"narrow",tabIndex:"0",dayOffset:-1,currentFocus:new Date(),_setSummaryAttr:"gridNode",baseClass:"dijitCalendar dijitCalendarLite",_isValidDate:function(_815){return _815&&!isNaN(_815)&&typeof _815=="object"&&_815.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){var _816=this._get("value");if(_816&&!isNaN(_816)){var _817=new this.dateClassObj(_816);_817.setHours(0,0,0,0);if(_817.getDate()<_816.getDate()){_817=this.dateModule.add(_817,"hour",1);}return _817;}else{return null;}},_setValueAttr:function(_818,_819){if(typeof _818=="string"){_818=_80e.fromISOString(_818);}_818=this._patchDate(_818);if(this._isValidDate(_818)&&!this.isDisabledDate(_818,this.lang)){this._set("value",_818);this.set("currentFocus",_818);this._markSelectedDates([_818]);if(this._created&&(_819||typeof _819=="undefined")){this.onChange(this.get("value"));}}else{this._set("value",null);this._markSelectedDates([]);}},_patchDate:function(_81a){if(_81a){_81a=new this.dateClassObj(_81a);_81a.setHours(1,0,0,0);}return _81a;},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(node.ownerDocument.createTextNode(text));},_populateGrid:function(){var _81b=new this.dateClassObj(this.currentFocus);_81b.setDate(1);_81b=this._patchDate(_81b);var _81c=_81b.getDay(),_81d=this.dateModule.getDaysInMonth(_81b),_81e=this.dateModule.getDaysInMonth(this.dateModule.add(_81b,"month",-1)),_81f=new this.dateClassObj(),_820=this.dayOffset>=0?this.dayOffset:_80c.getFirstDayOfWeek(this.lang);if(_820>_81c){_820-=7;}if(!this.summary){var _821=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_81b);this.gridNode.setAttribute("summary",_821[_81b.getMonth()]);}this._date2cell={};_80a.forEach(this.dateCells,function(_822,idx){var i=idx+_820;var date=new this.dateClassObj(_81b),_823,_824="dijitCalendar",adj=0;if(i<_81c){_823=_81e-_81c+i+1;adj=-1;_824+="Previous";}else{if(i>=(_81c+_81d)){_823=i-_81c-_81d+1;adj=1;_824+="Next";}else{_823=i-_81c+1;_824+="Current";}}if(adj){date=this.dateModule.add(date,"month",adj);}date.setDate(_823);if(!this.dateModule.compare(date,_81f,"date")){_824="dijitCalendarCurrentDate "+_824;}if(this.isDisabledDate(date,this.lang)){_824="dijitCalendarDisabledDate "+_824;_822.setAttribute("aria-disabled","true");}else{_824="dijitCalendarEnabledDate "+_824;_822.removeAttribute("aria-disabled");_822.setAttribute("aria-selected","false");}var _825=this.getClassForDate(date,this.lang);if(_825){_824=_825+" "+_824;}_822.className=_824+"Month dijitCalendarDateTemplate";var _826=date.valueOf();this._date2cell[_826]=_822;_822.dijitDateValue=_826;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);},_populateControls:function(){var _827=new this.dateClassObj(this.currentFocus);_827.setDate(1);this.monthWidget.set("month",_827);var y=_827.getFullYear()-1;var d=new this.dateClassObj();_80a.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(_828){this.dateModule=_828.datePackage?lang.getObject(_828.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=_828.datePackage?lang.getObject(_828.datePackage+".locale",false):_80d;},_createMonthWidget:function(){return _814._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_829=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_82a=this.dayOffset>=0?this.dayOffset:_80c.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_810.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _829[_82a++%7];});var r=_810.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 _82b=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",_82b,false);},postCreate:function(){this.inherited(arguments);this._connectControls();},_connectControls:function(){var _82c=lang.hitch(this,function(_82d,part,_82e){this[_82d].dojoClick=true;return on(this[_82d],"click",lang.hitch(this,function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,part,_82e));}));});this.own(_82c("incrementMonth","month",1),_82c("decrementMonth","month",-1),_82c("nextYearLabelNode","year",1),_82c("previousYearLabelNode","year",-1));},_setCurrentFocusAttr:function(date,_82f){var _830=this.currentFocus,_831=this._getNodeByDate(_830);date=this._patchDate(date);this._set("currentFocus",date);if(!this._date2cell||this.dateModule.difference(_830,date,"month")!=0){this._populateGrid();this._populateControls();this._markSelectedDates([this.value]);}var _832=this._getNodeByDate(date);_832.setAttribute("tabIndex",this.tabIndex);if(this.focused||_82f){_832.focus();}if(_831&&_831!=_832){if(has("webkit")){_831.setAttribute("tabIndex","-1");}else{_831.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){evt.stopPropagation();evt.preventDefault();for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_80f.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},_getNodeByDate:function(_833){_833=this._patchDate(_833);return _833&&this._date2cell?this._date2cell[_833.valueOf()]:null;},_markSelectedDates:function(_834){function mark(_835,cell){_80f.toggle(cell,"dijitCalendarSelectedDate",_835);cell.setAttribute("aria-selected",_835?"true":"false");};_80a.forEach(this._selectedCells||[],lang.partial(mark,false));this._selectedCells=_80a.filter(_80a.map(_834,this._getNodeByDate,this),function(n){return n;});_80a.forEach(this._selectedCells,lang.partial(mark,true));},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});_814._MonthWidget=_80b("dijit.CalendarLite._MonthWidget",_811,{_setMonthAttr:function(_836){var _837=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_836),_838=(has("ie")==6?"":"<div class='dijitSpacer'>"+_80a.map(_837,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_838+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_837[_836.getMonth()]+"</div>";}});return _814;});},"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,_839,_83a,_83b,lang,_83c,_83d,_83e){new Date("X");var _83f=_83b("dijit.form._DateTimeTextBox",[_83c,_83d],{templateString:_83e,hasDownArrow:true,cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_unboundedConstraints:{},pattern:_839.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _840=this._isInvalidDate(val1);var _841=this._isInvalidDate(val2);if(_840||_841){return (_840&&_841)?0:(!_840?1:-1);}var _842=this.format(val1,this._unboundedConstraints),_843=this.format(val2,this._unboundedConstraints),_844=this.parse(_842,this._unboundedConstraints),_845=this.parse(_843,this._unboundedConstraints);return _842==_843?0:date.compare(_844,_845,this._selector);},autoWidth:true,format:function(_846,_847){if(!_846){return "";}return this.dateLocaleModule.format(_846,_847);},"parse":function(_848,_849){return this.dateLocaleModule.parse(_848,_849)||(this._isEmpty(_848)?null:undefined);},serialize:function(val,_84a){if(val.toGregorian){val=val.toGregorian();}return _83a.toISOString(val,_84a);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(_84b){_84b=_84b||{};this.dateModule=_84b.datePackage?lang.getObject(_84b.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;if(!(this.dateClassObj instanceof Date)){this.value=new this.dateClassObj(this.value);}this.dateLocaleModule=_84b.datePackage?lang.getObject(_84b.datePackage+".locale",false):_839;this._set("pattern",this.dateLocaleModule.regexp);this._invalidDate=this.constructor.prototype.value.toString();},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow){this._buttonNode.style.display="none";}if(!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_84c){_84c.selector=this._selector;_84c.fullYear=true;var _84d=_83a.fromISOString;if(typeof _84c.min=="string"){_84c.min=_84d(_84c.min);if(!(this.dateClassObj instanceof Date)){_84c.min=new this.dateClassObj(_84c.min);}}if(typeof _84c.max=="string"){_84c.max=_84d(_84c.max);if(!(this.dateClassObj instanceof Date)){_84c.max=new this.dateClassObj(_84c.max);}}this.inherited(arguments);this._unboundedConstraints=lang.mixin({},this.constraints,{min:null,max:null});},_isInvalidDate:function(_84e){return !_84e||isNaN(_84e)||typeof _84e!="object"||_84e.toString()==this._invalidDate;},_setValueAttr:function(_84f,_850,_851){if(_84f!==undefined){if(typeof _84f=="string"){_84f=_83a.fromISOString(_84f);}if(this._isInvalidDate(_84f)){_84f=null;}if(_84f instanceof Date&&!(this.dateClassObj instanceof Date)){_84f=new this.dateClassObj(_84f);}}this.inherited(arguments,[_84f,_850,_851]);if(this.value instanceof Date){this.filterString="";}if(_850!==false&&this.dropDown){this.dropDown.set("value",_84f,false);}},_set:function(attr,_852){if(attr=="value"){if(_852 instanceof Date&&!(this.dateClassObj instanceof Date)){_852=new this.dateClassObj(_852);}var _853=this._get("value");if(_853 instanceof this.dateClassObj&&this.compare(_852,_853)==0){return;}}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this._set("dropDownDefaultValue",val);},openDropDown:function(_854){if(this.dropDown){this.dropDown.destroy();}var _855=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_856=this,_857=this.get("value");this.dropDown=new _855({onChange:function(_858){_856.set("value",_858,true);},id:this.id+"_popup",dir:_856.dir,lang:_856.lang,value:_857,textDir:_856.textDir,currentFocus:!this._isInvalidDate(_857)?_857:this.dropDownDefaultValue,constraints:_856.constraints,filterString:_856.filterString,datePackage:_856.datePackage,isDisabledDate:function(date){return !_856.rangeCheck(date,_856.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_859,_85a){this._setValueAttr(this.parse(_859,this.constraints),_85a,_859);}});return _83f;});},"dijit/form/TimeTextBox":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_85b,keys,lang,_85c,_85d){var _85e=_85b("dijit.form.TimeTextBox",_85d,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_85c,_selector:"time",value:new Date(""),maxHeight:-1,openDropDown:function(_85f){this.inherited(arguments);this.dropDown.on("input",lang.hitch(this,function(){this.set("value",this.dropDown.get("value"),false);}));},_onInput:function(){this.inherited(arguments);var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();}});return _85e;});},"dijit/_TimePicker":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/query","dojo/mouse","dojo/on","./_WidgetBase","./form/_ListMouseMixin"],function(_860,_861,_862,_863,_864,_865,_866,_867,keys,lang,has,_868,_869,on,_86a,_86b){var _86c=_864("dijit._TimePicker",[_86a,_86b],{baseClass:"dijitTimePicker",pickerMin:"T00:00:00",pickerMax:"T23:59:59",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_863.toISOString,buildRendering:function(){this.inherited(arguments);this.containerNode=this.domNode;this.timeMenu=this.domNode;},setValue:function(_86d){_867.deprecated("dijit._TimePicker:setValue() is deprecated. Use set('value', ...) instead.","","2.0");this.set("value",_86d);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_86e,_86f,_870,_871){var _872=this.ownerDocument.createDocumentFragment();for(var i=0;i<this._maxIncrement;i++){var n=this._createOption(i);if(n){_872.appendChild(n);}}return _872;},_showText:function(){var _873=_863.fromISOString;this.domNode.innerHTML="";this._clickableIncrementDate=_873(this.clickableIncrement);this._visibleIncrementDate=_873(this.visibleIncrement);var _874=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_875=_874(this._clickableIncrementDate),_876=_874(this._visibleIncrementDate),time=(this.value||this.currentFocus).getTime();this._refDate=_873(this.pickerMin);this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._visibleIncrement=_876/_875;var _877=_873(this.pickerMax);_877.setFullYear(1970,0,1);var _878=(_877.getTime()-this._refDate.getTime())*0.001;this._maxIncrement=Math.ceil((_878+1)/_875);var _879=this._getFilteredNodes();if(!_879.firstChild&&this.filterString){this.filterString="";this._showText();}else{this.domNode.appendChild(_879);}},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_87a){for(var key in {clickableIncrement:1,visibleIncrement:1,pickerMin:1,pickerMax:1}){if(key in _87a){this[key]=_87a[key];}}if(!_87a.locale){_87a.locale=this.lang;}},_createOption:function(_87b){var date=new Date(this._refDate);var _87c=this._clickableIncrementDate;date.setHours(date.getHours()+_87c.getHours()*_87b,date.getMinutes()+_87c.getMinutes()*_87b,date.getSeconds()+_87c.getSeconds()*_87b);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _87d=_862.format(date,this.constraints);if(this.filterString&&_87d.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=this.ownerDocument.createElement("div");div.className=this.baseClass+"Item";div.date=date;div.idx=_87b;_866.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_87d},div);var _87e=_87b%this._visibleIncrement<1&&_87b%this._visibleIncrement>-1,tick=!_87e&&!(_87b%this._clickableIncrement);if(_87e){div.className+=" "+this.baseClass+"Marker";}else{if(tick){div.className+=" "+this.baseClass+"Tick";}}if(this.isDisabledDate(date)){div.className+=" "+this.baseClass+"ItemDisabled";}if(this.value&&!_861.compare(this.value,date,this.constraints.selector)){div.selected=true;div.className+=" "+this.baseClass+"ItemSelected";this._selectedDiv=div;if(_87e){div.className+=" "+this.baseClass+"MarkerSelected";}else{if(tick){div.className+=" "+this.baseClass+"TickSelected";}}this._highlightOption(div,true);}return div;},onOpen:function(){this.inherited(arguments);this.set("selected",this._selectedDiv);},_onOptionSelected:function(tgt,_87f){var _880=tgt.target.date||tgt.target.parentNode.date;if(!_880||this.isDisabledDate(_880)){return;}this._set("value",_880);this.emit("input");if(_87f){this._highlighted_option=null;this.set("value",_880);this.onChange(_880);}},onChange:function(){},_highlightOption:function(node,_881){if(!node){return;}if(_881){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;}}_865.toggle(node,this.baseClass+"ItemHover",_881);if(_865.contains(node,this.baseClass+"Marker")){_865.toggle(node,this.baseClass+"MarkerHover",_881);}else{_865.toggle(node,this.baseClass+"TickHover",_881);}},handleKey:function(e){if(e.keyCode==keys.DOWN_ARROW){this.selectNextNode();this._onOptionSelected({target:this._highlighted_option},false);e.stopPropagation();e.preventDefault();return false;}else{if(e.keyCode==keys.UP_ARROW){this.selectPreviousNode();this._onOptionSelected({target:this._highlighted_option},false);e.stopPropagation();e.preventDefault();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},true);}return e.keyCode===keys.TAB;}}}return undefined;},onHover:function(node){this._highlightOption(node,true);},onUnhover:function(node){this._highlightOption(node,false);},onSelect:function(node){this._highlightOption(node,true);},onDeselect:function(node){this._highlightOption(node,false);},onClick:function(node){this._onOptionSelected({target:node},true);}});return _86c;});},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/keys","./_Spinner","./NumberTextBox"],function(_882,keys,_883,_884){return _882("dijit.form.NumberSpinner",[_883,_884.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(val,_885){var tc=this.constraints,v=isNaN(val),_886=!isNaN(tc.max),_887=!isNaN(tc.min);if(v&&_885!=0){val=(_885>0)?_887?tc.min:_886?tc.max:0:_886?this.constraints.max:_887?tc.min:0;}var _888=val+_885;if(v||isNaN(_888)){return val;}if(_886&&(_888>tc.max)){_888=tc.max;}if(_887&&(_888<tc.min)){_888=tc.min;}return _888;},_onKeyDown:function(e){if(this.disabled||this.readOnly){return;}if((e.keyCode==keys.HOME||e.keyCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _889=this.constraints[(e.keyCode==keys.HOME?"min":"max")];if(typeof _889=="number"){this._setValueAttr(_889,false);}e.stopPropagation();e.preventDefault();}}});});},"dijit/form/_Spinner":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/mouse","dojo/on","../typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_88a,keys,lang,has,_88b,on,_88c,_88d,_88e,_88f){return _88a("dijit.form._Spinner",_88d,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_88e,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_890,_891,_892){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_891*_892),false);_88f.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_893,node,evt){var inc=this.smallDelta;if(node==this.textbox){var key=evt.keyCode;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(_893==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){if(!this.focused){return;}evt.stopPropagation();evt.preventDefault();var _894=evt.wheelDelta/120;if(Math.floor(_894)!=_894){_894=evt.wheelDelta>0?1:-1;}var _895=evt.detail?(evt.detail*-1):_894;if(_895!==0){var node=this[(_895>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_895,this.smallDelta);if(this._wheelTimer){this._wheelTimer.remove();}this._wheelTimer=this.defer(function(){this._arrowReleased(node);},50);}},_setConstraintsAttr:function(_896){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(_897,_898){this.focusNode.setAttribute("aria-valuenow",_897);this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,_88b.wheel,lang.hitch(this,"_mouseWheeled")),_88c.addListener(this.upArrowNode,this.textbox,{keyCode:keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_88c.addListener(this.downArrowNode,this.textbox,{keyCode:keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_88c.addListener(this.upArrowNode,this.textbox,{keyCode:keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_88c.addListener(this.downArrowNode,this.textbox,{keyCode:keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_899,_89a,_89b){return _899("dijit.form.ComboBox",[_89a,_89b],{});});},"dijit/form/MultiSelect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/sniff","dojo/query","./_FormValueWidget","dojo/NodeList-dom"],function(_89c,_89d,_89e,has,_89f,_8a0){var _8a1=_89d("dijit.form.MultiSelect"+(has("dojo-bidi")?"_NoBidi":""),_8a0,{size:7,baseClass:"dijitMultiSelect",templateString:"<select multiple='multiple' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_8a2){_8a2.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _8a3=_8a2.domNode.scrollTop;_8a2.domNode.scrollTop=0;_8a2.domNode.scrollTop=_8a3;},this);this._set("value",this.get("value"));},getSelected:function(){return _89f("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _89c.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setMultipleAttr:function(val){},_setValueAttr:function(_8a4){if(has("android")){_89f("option",this.containerNode).orphan().forEach(function(n){var _8a5=n.ownerDocument.createElement("option");_8a5.value=n.value;_8a5.selected=(_89c.indexOf(_8a4,n.value)!=-1);_8a5.text=n.text;_8a5.originalText=n.originalText;this.containerNode.appendChild(_8a5);},this);}else{_89f("option",this.containerNode).forEach(function(n){n.selected=(_89c.indexOf(_8a4,n.value)!=-1);});}this.inherited(arguments);},invertSelection:function(_8a6){var val=[];_89f("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_8a6===false||_8a6==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_89e.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});if(has("dojo-bidi")){_8a1=_89d("dijit.form.MultiSelect",_8a1,{addSelected:function(_8a7){_8a7.getSelected().forEach(function(n){n.text=this.enforceTextDirWithUcc(this.restoreOriginalText(n),n.text);},this);this.inherited(arguments);},_setTextDirAttr:function(_8a8){if((this.textDir!=_8a8||!this._created)&&this.enforceTextDirWithUcc){this._set("textDir",_8a8);_89f("option",this.containerNode).forEach(function(_8a9){if(!this._created&&_8a9.value===_8a9.text){_8a9.value=_8a9.text;}_8a9.text=this.enforceTextDirWithUcc(_8a9,_8a9.originalText||_8a9.text);},this);}}});}return _8a1;});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_8aa,_8ab,_8ac,_8ad,_8ae,i18n,keys,lang,on,has,_8af,_8b0,_8b1,_8b2,_8b3,_8b4,_8b5,_8b6,_8b7){var _8b8=_8ab("dijit.form._SelectMenu",_8b1,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _8b9=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_8aa.forEach(this.parentWidget._getChildren(),function(_8ba){if(_8ba.option&&(val===_8ba.option.value)){_8b9=true;this.focusChild(_8ba,false);}},this);}if(!_8b9){this.inherited(arguments);}}});var _8bb=_8ab("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_8af,_8b0,_8b5],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_8b7,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:" ",_isLoaded:false,_childrenLoaded:false,labelType:"html",_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _8b8({id:this.id+"_menu",parentWidget:this});_8ad.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_8bc){if(!_8bc.value&&!_8bc.label){return new _8b3({ownerDocument:this.ownerDocument});}else{var _8bd=lang.hitch(this,"_setValueAttr",_8bc);var item=new _8b2({option:_8bc,label:(this.labelType==="text"?(_8bc.label||"").toString().replace(/&/g,"&").replace(/</g,"<"):_8bc.label)||this.emptyLabel,onClick:_8bd,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:_8bc.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_8be){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_8be));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},focusChild:function(_8bf){if(_8bf){this.set("value",_8bf.option);}},_getFirst:function(){var _8c0=this._getChildren();return _8c0.length?_8c0[0]:null;},_getLast:function(){var _8c1=this._getChildren();return _8c1.length?_8c1[_8c1.length-1]:null;},childSelector:function(node){var node=_8b6.byNode(node);return node&&node.getParent()==this.dropDown;},onKeyboardSearch:function(item,evt,_8c2,_8c3){if(item){this.focusChild(item);}},_loadChildren:function(_8c4){if(_8c4===true){if(this.dropDown){delete this.dropDown.focusedChild;this.focusedChild=null;}if(this.options.length){this.inherited(arguments);}else{_8aa.forEach(this._getChildren(),function(_8c5){_8c5.destroyRecursive();});var item=new _8b2({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value,false);}},_refreshState:function(){if(this._started){this.validate(this.focused);}},startup:function(){this.inherited(arguments);this._refreshState();},_setValueAttr:function(_8c6){this.inherited(arguments);_8ac.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setNameAttr:"valueNode",_setDisabledAttr:function(_8c7){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_8c8){this._set("required",_8c8);this.focusNode.setAttribute("aria-required",_8c8);this._refreshState();},_setOptionsAttr:function(_8c9){this._isLoaded=false;this._set("options",_8c9);},_setDisplay:function(_8ca){var lbl=(this.labelType==="text"?(_8ca||"").replace(/&/g,"&").replace(/</g,"<"):_8ca)||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" aria-selected=\"true\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_8cb){var _8cc=this.disabled||this.isValid(_8cb);this._set("state",_8cc?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_8cc?"false":"true");var _8cd=_8cc?"":this._missingMsg;if(_8cd&&this.focused&&this._hasBeenBlurred){_8b4.show(_8cd,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_8b4.hide(this.domNode);}this._set("message",_8cd);return _8cc;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_8b4.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");var _8ce=this._keyNavCodes;delete _8ce[keys.LEFT_ARROW];delete _8ce[keys.RIGHT_ARROW];},_setStyleAttr:function(_8cf){this.inherited(arguments);_8ad.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_8d0){this._loadChildren(true);this._isLoaded=true;_8d0();},destroy:function(_8d1){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_8d1);delete this.dropDown;}_8b4.hide(this.domNode);this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_8b4.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_8bb=_8ab("dijit.form.Select",_8bb,{_setDisplay:function(_8d2){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_8bb._Menu=_8b8;function _8d3(_8d4){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_8d4,evt));}else{this.inherited(_8d4,arguments);}};};_8bb.prototype._onContainerKeydown=_8d3("_onContainerKeydown");_8bb.prototype._onContainerKeypress=_8d3("_onContainerKeypress");return _8bb;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_8d5,_8d6,_8d7,_8d8,_8d9,dom,_8da,_8db,lang,_8dc,when,_8dd,_8de){var _8df=_8d9("dijit.form._FormSelectWidget",_8de,{multiple:false,options:null,store:null,_setStoreAttr:function(val){if(this._created){this._deprecatedSetStore(val);}},query:null,_setQueryAttr:function(_8e0){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_8e0});}},queryOptions:null,_setQueryOptionsAttr:function(_8e1){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_8e1});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_8e2){var opts=this.options||[];if(_8e2==null){return opts;}if(lang.isArrayLike(_8e2)){return _8d5.map(_8e2,"return this.getOptions(item);",this);}if(lang.isString(_8e2)){_8e2={value:_8e2};}if(lang.isObject(_8e2)){if(!_8d5.some(opts,function(_8e3,idx){for(var a in _8e2){if(!(a in _8e3)||_8e3[a]!=_8e2[a]){return false;}}_8e2=idx;return true;})){_8e2=-1;}}if(_8e2>=0&&_8e2<opts.length){return opts[_8e2];}return null;},addOption:function(_8e4){_8d5.forEach(lang.isArrayLike(_8e4)?_8e4:[_8e4],function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_8e5){var _8e6=this.getOptions(lang.isArrayLike(_8e5)?_8e5:[_8e5]);_8d5.forEach(_8e6,function(_8e7){if(_8e7){this.options=_8d5.filter(this.options,function(node){return (node.value!==_8e7.value||node.label!==_8e7.label);});this._removeOptionItem(_8e7);}},this);this._loadChildren();},updateOption:function(_8e8){_8d5.forEach(lang.isArrayLike(_8e8)?_8e8:[_8e8],function(i){var _8e9=this.getOptions({value:i.value}),k;if(_8e9){for(k in i){_8e9[k]=i[k];}}},this);this._loadChildren();},setStore:function(_8ea,_8eb,_8ec){_8db.deprecated(this.declaredClass+"::setStore(store, selectedValue, fetchArgs) is deprecated. Use set('query', fetchArgs.query), set('queryOptions', fetchArgs.queryOptions), set('store', store), or set('value', selectedValue) instead.","","2.0");this._deprecatedSetStore(_8ea,_8eb,_8ec);},_deprecatedSetStore:function(_8ed,_8ee,_8ef){var _8f0=this.store;_8ef=_8ef||{};if(_8f0!==_8ed){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_8ed.get){lang.mixin(_8ed,{_oldAPI:true,get:function(id){var _8f1=new _8d6();this.fetchItemByIdentity({identity:id,onItem:function(_8f2){_8f1.resolve(_8f2);},onError:function(_8f3){_8f1.reject(_8f3);}});return _8f1.promise;},query:function(_8f4,_8f5){var _8f6=new _8d6(function(){if(_8f7.abort){_8f7.abort();}});_8f6.total=new _8d6();var _8f7=this.fetch(lang.mixin({query:_8f4,onBegin:function(_8f8){_8f6.total.resolve(_8f8);},onComplete:function(_8f9){_8f6.resolve(_8f9);},onError:function(_8fa){_8f6.reject(_8fa);}},_8f5));return new _8dd(_8f6);}});if(_8ed.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_8d7.after(_8ed,"onNew",lang.hitch(this,"_onNewItem"),true),_8d7.after(_8ed,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_8d7.after(_8ed,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_8ed);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_8ef.query){this._set("query",_8ef.query);}if(_8ef.queryOptions){this._set("queryOptions",_8ef.queryOptions);}if(_8ed&&_8ed.query){this._loadingStore=true;this.onLoadDeferred=new _8d6();this._queryRes=_8ed.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_8fb){if(this.sortByLabel&&!_8ef.sort&&_8fb.length){if(_8ed.getValue){_8fb.sort(_8d8.createSortFunction([{attribute:_8ed.getLabelAttributes(_8fb[0])[0]}],_8ed));}else{var _8fc=this.labelAttr;_8fb.sort(function(a,b){return a[_8fc]>b[_8fc]?1:b[_8fc]>a[_8fc]?-1:0;});}}if(_8ef.onFetch){_8fb=_8ef.onFetch.call(this,_8fb,_8ef);}_8d5.forEach(_8fb,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_8fd,_8fe,_8ff){if(_8fe==_8ff){this._onSetItem(_8fd);}else{if(_8fe!=-1){this._onDeleteItem(_8fd);}if(_8ff!=-1){this._onNewItem(_8fd);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_8ee);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_8fb);}this.onLoadDeferred.resolve(true);this.onSetStore();}),lang.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _8f0;},_setValueAttr:function(_900,_901){if(!this._onChangeActive){_901=null;}if(this._loadingStore){this._pendingValue=_900;return;}if(_900==null){return;}if(lang.isArrayLike(_900)){_900=_8d5.map(_900,function(_902){return lang.isObject(_902)?_902:{value:_902};});}else{if(lang.isObject(_900)){_900=[_900];}else{_900=[{value:_900}];}}_900=_8d5.filter(this.getOptions(_900),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_900[0]||!_900[0].value)&&!!opts.length){_900[0]=opts[0];}_8d5.forEach(opts,function(opt){opt.selected=_8d5.some(_900,function(v){return v.value===opt.value;});});var val=_8d5.map(_900,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_8d5.map(_900,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_901]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_8d5.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_903){this.set("value",this.getOptions(typeof _903=="string"?{label:_903}:_903));},_loadChildren:function(){if(this._loadingStore){return;}_8d5.forEach(this._getChildren(),function(_904){_904.destroyRecursive();});_8d5.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_8d5.forEach(this._getChildren(),function(_905){var _906=_8d5.some(val,function(v){return _905.option&&(v===_905.option.value);});if(_906&&!self.multiple){self.focusedChild=_905;}_8da.toggle(_905.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_906);_905.domNode.setAttribute("aria-selected",_906?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_8d5.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 _8d5.map(_8d5.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_907){if(!_907||!_907.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _908=this.store;this.removeOption({value:_908.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _909=this.store,_90a=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_909.getLabel(item),_90b=(_90a?_909.getIdentity(item):null);return {value:_90b,label:_90a,item:item};},_addOptionForItem:function(item){var _90c=this.store;if(_90c.isItemLoaded&&!_90c.isItemLoaded(item)){_90c.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _90d=this._getOptionObjForItem(item);this.addOption(_90d);},constructor:function(_90e){this._oValue=(_90e||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_8dc("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_8db._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);_8d7.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _90f=this.store;if(_90f&&(_90f.getIdentity||_90f.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_90f,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _8df;});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _910={};lang.setObject("dojo.data.util.sorter",_910);_910.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;};_910.createSortFunction=function(_911,_912){var _913=[];function _914(attr,dir,comp,s){return function(_915,_916){var a=s.getValue(_915,attr);var b=s.getValue(_916,attr);return dir*comp(a,b);};};var _917;var map=_912.comparatorMap;var bc=_910.basicComparator;for(var i=0;i<_911.length;i++){_917=_911[i];var attr=_917.attribute;if(attr){var dir=(_917.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_913.push(_914(attr,dir,comp,_912));}}return function(rowA,rowB){var i=0;while(i<_913.length){var ret=_913[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _910;});},"dijit/form/HorizontalSlider":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/move","dojo/_base/fx","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","dojo/mouse","dojo/on","../_base/manager","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_918,_919,move,fx,_91a,_91b,keys,lang,has,_91c,_91d,_91e,_91f,on,_920,_921,_922,_923,_924,_925,_926){var _927=_919("dijit.form._SliderMover",_91d,{onMouseMove:function(e){var _928=this.widget;var _929=_928._abspos;if(!_929){_929=_928._abspos=_91a.position(_928.sliderBarContainer,true);_928._setPixelValue_=lang.hitch(_928,"_setPixelValue");_928._isReversed_=_928._isReversed();}var _92a=e[_928._mousePixelCoord]-_929[_928._startingPixelCoord];_928._setPixelValue_(_928._isReversed_?(_929[_928._pixelCount]-_92a):_92a,_929[_928._pixelCount],false);},destroy:function(e){_91d.prototype.destroy.apply(this,arguments);var _92b=this.widget;_92b._abspos=null;_92b._setValueAttr(_92b.value,true);}});var _92c=_919("dijit.form.HorizontalSlider",[_924,_925],{templateString:_926,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_920.defaultDuration,_setIdAttr:"",_setNameAttr:"valueNode",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);},_onKeyDown:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}switch(e.keyCode){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;}e.stopPropagation();e.preventDefault();},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_921.focus(this.sliderHandle);}e.stopPropagation();e.preventDefault();},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_921.focus(this.sliderHandle);e.stopPropagation();e.preventDefault();var _92d=_91a.position(this.sliderBarContainer,true);var _92e=e[this._mousePixelCoord]-_92d[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_92d[this._pixelCount]-_92e):_92e,_92d[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_92f,_930,_931){if(this.disabled||this.readOnly){return;}var _932=this.discreteValues;if(_932<=1||_932==Infinity){_932=_930;}_932--;var _933=_930/_932;var _934=Math.round(_92f/_933);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_934/_932+this.minimum,this.maximum),this.minimum),_931);},_setValueAttr:function(_935,_936){this._set("value",_935);this.valueNode.value=_935;this.focusNode.setAttribute("aria-valuenow",_935);this.inherited(arguments);var _937=this.maximum>this.minimum?((_935-this.minimum)/(this.maximum-this.minimum)):0;var _938=(this._descending===false)?this.remainingBar:this.progressBar;var _939=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_936&&this.slideDuration>0&&_938.style[this._progressPixelSize]){var _93a=this;var _93b={};var _93c=parseFloat(_938.style[this._progressPixelSize]);var _93d=this.slideDuration*(_937-_93c/100);if(_93d==0){return;}if(_93d<0){_93d=0-_93d;}_93b[this._progressPixelSize]={start:_93c,end:_937*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_938,duration:_93d,onAnimate:function(v){_939.style[_93a._progressPixelSize]=(100-parseFloat(v[_93a._progressPixelSize]))+"%";},onEnd:function(){delete _93a._inProgressAnim;},properties:_93b});this._inProgressAnim.play();}else{_938.style[this._progressPixelSize]=(_937*100)+"%";_939.style[this._progressPixelSize]=((1-_937)*100)+"%";}},_bumpValue:function(_93e,_93f){if(this.disabled||this.readOnly||(this.maximum<=this.minimum)){return;}var s=_91b.getComputedStyle(this.sliderBarContainer);var c=_91a.getContentBox(this.sliderBarContainer,s);var _940=this.discreteValues;if(_940<=1||_940==Infinity){_940=c[this._pixelCount];}_940--;var _941=Math.round((this.value-this.minimum)*_940/(this.maximum-this.minimum))+_93e;if(_941<0){_941=0;}if(_941>_940){_941=_940;}_941=_941*(this.maximum-this.minimum)/_940+this.minimum;this._setValueAttr(_941,_93f);},_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.keyCode==keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.keyCode==keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){if(!this.focused){return;}evt.stopPropagation();evt.preventDefault();this._bumpValue(evt.wheelDelta<0?-1:1,true);},startup:function(){if(this._started){return;}_918.forEach(this.getChildren(),function(_942){if(this[_942.container]!=this.containerNode){this[_942.container].appendChild(_942.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_943,_944,e){if(_943==-1){this._setValueAttr(this.value,true);}else{this[(_944==(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 _945=_91e("label[for=\""+this.id+"\"]");if(_945.length){if(!_945[0].id){_945[0].id=this.id+"_label";}this.focusNode.setAttribute("aria-labelledby",_945[0].id);}this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum);},postCreate:function(){this.inherited(arguments);if(this.showButtons){this.own(_922.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),_922.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.own(on(this.domNode,_91f.wheel,lang.hitch(this,"_mouseWheeled")));var _946=_919(_927,{widget:this});this._movable=new _91c(this.sliderHandle,{mover:_946});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this.inherited(arguments);}});_92c._Mover=_927;return _92c;});},"dojo/dnd/move":function(){define(["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_947,_948,_949,dnd,_94a,_94b){var _94c=_947("dojo.dnd.move.constrainedMoveable",_94b,{constraints:function(){},within:false,constructor:function(node,_94d){if(!_94d){_94d={};}this.constraints=_94d.constraints;this.within=_94d.within;},onFirstMove:function(_94e){var c=this.constraintBox=this.constraints.call(this,_94e);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_948.getMarginSize(_94e.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_94f,_950){var c=this.constraintBox,s=_94f.node.style;this.onMoving(_94f,_950);_950.l=_950.l<c.l?c.l:c.r<_950.l?c.r:_950.l;_950.t=_950.t<c.t?c.t:c.b<_950.t?c.b:_950.t;s.left=_950.l+"px";s.top=_950.t+"px";this.onMoved(_94f,_950);}});var _951=_947("dojo.dnd.move.boxConstrainedMoveable",_94c,{box:{},constructor:function(node,_952){var box=_952&&_952.box;this.constraints=function(){return box;};}});var _953=_947("dojo.dnd.move.parentConstrainedMoveable",_94c,{area:"content",constructor:function(node,_954){var area=_954&&_954.area;this.constraints=function(){var n=this.node.parentNode,s=_949.getComputedStyle(n),mb=_948.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_948.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=_948.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=_948.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_94c,boxConstrainedMoveable:_951,parentConstrainedMoveable:_953};});},"dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_955,_956,_957){return _955("dijit.form.VerticalSlider",_956,{templateString:_957,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_958,_959,_95a){return _958("dijit.form.HorizontalRule",[_959,_95a],{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 _95b;if(this.count==1){_95b=this._genHTML(50,0);}else{var i;var _95c=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_95b=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_95b+=this._genHTML(_95c*i,i);}_95b+=this._genHTML(100,this.count-1);}else{_95b=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_95b+=this._genHTML(100-_95c*i,i);}_95b+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_95b;}});});},"dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_95d,_95e){return _95d("dijit.form.VerticalRule",_95e,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/HorizontalRuleLabels":function(){define(["dojo/_base/declare","dojo/has","dojo/number","dojo/query","dojo/_base/lang","./HorizontalRule"],function(_95f,has,_960,_961,lang,_962){var _963=_95f("dijit.form.HorizontalRuleLabels",_962,{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){var _964=this.labels[ndx];return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._genDirectionHTML(_964)+this._labelPrefix+_964+this._suffix;},_genDirectionHTML:function(_965){return "";},getLabels:function(){var _966=this.labels;if(!_966.length&&this.srcNodeRef){_966=_961("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}if(!_966.length&&this.count>1){_966=[];var _967=this.minimum;var inc=(this.maximum-_967)/(this.count-1);for(var i=0;i<this.count;i++){_966.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_960.format(_967,this.constraints));_967+=inc;}}return _966;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});if(has("dojo-bidi")){_963.extend({_setTextDirAttr:function(_968){if(this.textDir!=_968){this._set("textDir",_968);_961(".dijitRuleLabelContainer",this.domNode).forEach(lang.hitch(this,function(_969){_969.style.direction=this.getTextDir(_969.innerText||_969.textContent||"");}));}},_genDirectionHTML:function(_96a){return (this.textDir?("direction:"+this.getTextDir(_96a)+";"):"");}});}return _963;});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_96b,_96c){return _96b("dijit.form.VerticalRuleLabels",_96c,{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/sniff","./TextBox"],function(_96d,_96e,has,_96f){return _96d("dijit.form.SimpleTextarea",_96f,{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){_96e.add(this.textbox,"dijitTextAreaCols");}},filter:function(_970){if(_970){_970=_970.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _971=parseInt(this.maxLength);var _972=this.textbox.value.replace(/\r/g,"");var _973=_972.length-_971;if(_973>0){var _974=this.textbox;if(_974.selectionStart){var pos=_974.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_972.substring(0,pos-_973-cr)+_972.substring(pos-cr);_974.setSelectionRange(pos-_973,pos-_973);}else{if(this.ownerDocument.selection){_974.focus();var _975=this.ownerDocument.selection.createRange();_975.moveStart("character",-_973);_975.text="";_975.select();}}}}this.inherited(arguments);}});});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_976,_977,_978,_979){return _976("dijit.form.Textarea",[_979,_978],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_977.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/has","dojo/_base/lang","dojo/on","dojo/_base/window","../Viewport"],function(_97a,_97b,has,lang,on,win,_97c){has.add("textarea-needs-help-shrinking",function(){var body=win.body(),te=_97b.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},body,"last");var _97d=te.scrollHeight>=te.clientHeight;body.removeChild(te);return _97d;});return _97a("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _97e=this.textbox;_97e.style.overflowY="hidden";this.own(on(_97e,"focus, resize",lang.hitch(this,"_resizeLater")));},startup:function(){this.inherited(arguments);this.own(_97c.on("resize",lang.hitch(this,"_resizeLater")));this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _97f=this.textbox;_97f.rows=(_97f.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _980=this.textbox;function _981(){var _982=false;if(_980.value===""){_980.value=" ";_982=true;}var sh=_980.scrollHeight;if(_982){_980.value="";}return sh;};if(_980.style.overflowY=="hidden"){_980.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_981()||_980.offsetHeight){var newH=_981()+Math.max(_980.offsetHeight-_980.clientHeight,0);var _983=newH+"px";if(_983!=_980.style.height){_980.style.height=_983;_980.rows=1;}if(has("textarea-needs-help-shrinking")){var _984=_981(),_985=_984,_986=_980.style.minHeight,_987=4,_988,_989=_980.scrollTop;_980.style.minHeight=_983;_980.style.height="auto";while(newH>0){_980.style.minHeight=Math.max(newH-_987,4)+"px";_988=_981();var _98a=_985-_988;newH-=_98a;if(_98a<_987){break;}_985=_988;_987<<=1;}_980.style.height=newH+"px";_980.style.minHeight=_986;_980.scrollTop=_989;}_980.style.overflowY=_981()>_980.clientHeight?"auto":"hidden";if(_980.style.overflowY=="hidden"){_980.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});});},"dijit/layout/AccordionContainer":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],function(_98b,_98c,_98d,fx,dom,_98e,_98f,_990,_991,keys,lang,has,_992,_993,_994,_995,_996,_997,_998,_999,_99a,_99b,_99c){function size(_99d,dim){_99d.resize?_99d.resize(dim):_991.setMarginBox(_99d.domNode,dim);};var _99e=_98d("dijit.layout._AccordionButton",[_996,_998,_999],{templateString:_99c,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 _99f=this.id.replace(" ","_");_98e.set(this.titleTextNode,"id",_99f+"_title");this.focusNode.setAttribute("aria-labelledby",_98e.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _991.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _9a0=this.getParent();_9a0.selectChild(this.contentWidget,true);_993.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_9a1){this._set("selected",_9a1);this.focusNode.setAttribute("aria-expanded",_9a1?"true":"false");this.focusNode.setAttribute("aria-selected",_9a1?"true":"false");this.focusNode.setAttribute("tabIndex",_9a1?"0":"-1");}});if(has("dojo-bidi")){_99e.extend({_setLabelAttr:function(_9a2){this._set("label",_9a2);_98e.set(this.titleTextNode,"innerHTML",_9a2);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_9a3){this._set("title",_9a3);_98e.set(this.titleTextNode,"title",_9a3);this.applyTextDir(this.titleTextNode);}});}var _9a4=_98d("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_996,_999],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_990.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _9a5=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_9a5._buttonWidget=(new cls({contentWidget:_9a5,label:_9a5.title,title:_9a5.tooltip,dir:_9a5.dir,lang:_9a5.lang,textDir:_9a5.textDir||this.textDir,iconClass:_9a5.iconClass,id:_9a5.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_990.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_990.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _9a6=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_9a7,_9a8){_9a6.set("label",_9a8);})),cw.watch("tooltip",lang.hitch(this,function(name,_9a9,_9aa){_9a6.set("title",_9aa);})),cw.watch("iconClass",lang.hitch(this,function(name,_9ab,_9ac){_9a6.set("iconClass",_9ac);}))];},_setSelectedAttr:function(_9ad){this._set("selected",_9ad);this.button.set("selected",_9ad);if(_9ad){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_98c.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_9ae){this.contentWidget.destroyRecursive(_9ae);}});if(has("dojo-bidi")){_9a4=_98d("dijit.layout._AccordionInnerContainer",_9a4,{postCreate:function(){this.inherited(arguments);var _9af=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_9b0,_9b1){_9af.set("textDir",_9b1);}));}});}var _9b2=_98d("dijit.layout.AccordionContainer",_99a,{duration:_994.defaultDuration,buttonWidget:_99e,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _9b3=this.selectedChildWidget;if(!_9b3){return;}var _9b4=_9b3._wrapperWidget.domNode,_9b5=_991.getMarginExtents(_9b4),_9b6=_991.getPadBorderExtents(_9b4),_9b7=_9b3._wrapperWidget.containerNode,_9b8=_991.getMarginExtents(_9b7),_9b9=_991.getPadBorderExtents(_9b7),_9ba=this._contentBox;var _9bb=0;_98c.forEach(this.getChildren(),function(_9bc){if(_9bc!=_9b3){_9bb+=_991.getMarginSize(_9bc._wrapperWidget.domNode).h;}});this._verticalSpace=_9ba.h-_9bb-_9b5.h-_9b6.h-_9b8.h-_9b9.h-_9b3._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_9b5.w-_9b6.w-_9b8.w-_9b9.w};if(_9b3){size(_9b3,this._containerContentBox);}},_setupChild:function(_9bd){_9bd._wrapperWidget=_9a4({contentWidget:_9bd,buttonWidget:this.buttonWidget,id:_9bd.id+"_wrapper",dir:_9bd.dir,lang:_9bd.lang,textDir:_9bd.textDir||this.textDir,parent:this});this.inherited(arguments);_990.place(_9bd.domNode,_9bd._wrapper,"replace");},removeChild:function(_9be){if(_9be._wrapperWidget){_990.place(_9be.domNode,_9be._wrapperWidget.domNode,"after");_9be._wrapperWidget.destroy();delete _9be._wrapperWidget;}_98f.remove(_9be.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _98c.map(this.inherited(arguments),function(_9bf){return _9bf.declaredClass=="dijit.layout._AccordionInnerContainer"?_9bf.contentWidget:_9bf;},this);},destroy:function(){if(this._animation){this._animation.stop();}_98c.forEach(this.getChildren(),function(_9c0){if(_9c0._wrapperWidget){_9c0._wrapperWidget.destroy();}else{_9c0.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_9c1){_9c1._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_9c2){_9c2._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_9c3,_9c4,_9c5){if(has("ie")<8){_9c5=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_9c3){_9c3._wrapperWidget.set("selected",true);var d=this._showChild(_9c3);if(this.doLayout){size(_9c3,this._containerContentBox);}}if(_9c4){_9c4._wrapperWidget.set("selected",false);if(!_9c5){this._hideChild(_9c4);}}if(_9c5){var _9c6=_9c3._wrapperWidget.containerNode,_9c7=_9c4._wrapperWidget.containerNode;var _9c8=_9c3._wrapperWidget.containerNode,_9c9=_991.getMarginExtents(_9c8),_9ca=_991.getPadBorderExtents(_9c8),_9cb=_9c9.h+_9ca.h;_9c7.style.height=(self._verticalSpace-_9cb)+"px";this._animation=new fx.Animation({node:_9c6,duration:this.duration,curve:[1,this._verticalSpace-_9cb-1],onAnimate:function(_9cc){_9cc=Math.floor(_9cc);_9c6.style.height=_9cc+"px";_9c7.style.height=(self._verticalSpace-_9cb-_9cc)+"px";},onEnd:function(){delete self._animation;_9c6.style.height="auto";_9c4._wrapperWidget.containerNode.style.display="none";_9c7.style.height="auto";self._hideChild(_9c4);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_9cd){if(this.disabled||e.altKey||!(_9cd||e.ctrlKey)){return;}var c=e.keyCode;if((_9cd&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_9cd&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_995(0,function(){var _9ce=["dijit/layout/AccordionPane"];_98b(_9ce);});}_9b2._InnerContainer=_9a4;_9b2._Button=_99e;return _9b2;});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],function(_9cf,_9d0,_9d1,_9d2,_9d3,has,lang,on,_9d4,_9d5,when,_9d6,_9d7,_9d8){if(has("dijit-legacy-requires")){_9d4(0,function(){var _9d9=["dijit/layout/StackController"];require(_9d9);});}var _9da=_9d1("dijit.layout.StackContainer",_9d8,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_9d2.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _9db=this.getChildren();_9cf.forEach(_9db,this._setupChild,this);if(this.persist){this.selectedChildWidget=_9d6.byId(_9d0(this.id+"_selectedChild"));}else{_9cf.some(_9db,function(_9dc){if(_9dc.selected){this.selectedChildWidget=_9dc;}return _9dc.selected;},this);}var _9dd=this.selectedChildWidget;if(!_9dd&&_9db[0]){_9dd=this.selectedChildWidget=_9db[0];_9dd.selected=true;}_9d5.publish(this.id+"-startup",{children:_9db,selected:_9dd,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _9de=this.selectedChildWidget;if(_9de){this._showChild(_9de);}}this.inherited(arguments);},_setupChild:function(_9df){var _9e0=_9df.domNode,_9e1=_9d3.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",_9df.domNode,"replace"),_9e2=_9df["aria-label"]||_9df.title||_9df.label;if(_9e2){_9e1.setAttribute("aria-label",_9e2);}_9d3.place(_9e0,_9e1);_9df._wrapper=_9e1;this.inherited(arguments);if(_9e0.style.display=="none"){_9e0.style.display="block";}_9df.domNode.removeAttribute("title");},addChild:function(_9e3,_9e4){this.inherited(arguments);if(this._started){_9d5.publish(this.id+"-addChild",_9e3,_9e4);this.layout();if(!this.selectedChildWidget){this.selectChild(_9e3);}}},removeChild:function(page){var idx=_9cf.indexOf(this.getChildren(),page);this.inherited(arguments);_9d3.destroy(page._wrapper);delete page._wrapper;if(this._started){_9d5.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _9e5=this.getChildren();if(_9e5.length){this.selectChild(_9e5[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_9e6){var d;page=_9d6.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_9e6);this._set("selectedChildWidget",page);_9d5.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_9d0(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_9e7,_9e8){if(_9e8){this._hideChild(_9e8);}var d=this._showChild(_9e7);if(_9e7.resize){if(this.doLayout){_9e7.resize(this._containerContentBox||this._contentBox);}else{_9e7.resize();}}return d;},_adjacent:function(_9e9){var _9ea=this.getChildren();var _9eb=_9cf.indexOf(_9ea,this.selectedChildWidget);_9eb+=_9e9?1:_9ea.length-1;return _9ea[_9eb%_9ea.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_9d5.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _9ec=this.selectedChildWidget;if(_9ec&&_9ec.resize){if(this.doLayout){_9ec.resize(this._containerContentBox||this._contentBox);}else{_9ec.resize();}}},_showChild:function(page){var _9ed=this.getChildren();page.isFirstChild=(page==_9ed[0]);page.isLastChild=(page==_9ed[_9ed.length-1]);page._set("selected",true);if(page._wrapper){_9d2.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_9d2.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _9ee=!page.onClose||page.onClose(this,page);if(_9ee){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_9ef){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_9cf.forEach(this.getChildren(),function(_9f0){if(!_9ef){this.removeChild(_9f0);}_9f0.destroyRecursive(_9ef);},this);this._descendantsBeingDestroyed=false;}});_9da.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_9d7,_9da.ChildWidgetProperties);return _9da;});},"dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./LayoutContainer","./utils"],function(_9f1,_9f2,_9f3,_9f4,_9f5,_9f6,_9f7,keys,lang,on,_9f8,_9f9,_9fa,_9fb,_9fc,_9fd){var _9fe=_9f3("dijit.layout._Splitter",[_9fa,_9fb],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeydown:_onKeyDown,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);_9f4.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _9ff=_9f2(this._cookieName);if(_9ff){this.child.domNode.style[this.horizontal?"height":"width"]=_9ff;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_a00=_9f6.getMarginBox(this.child.domNode)[dim],_a01=_9f1.filter(this.container.getChildren(),function(_a02){return _a02.region=="center";})[0];var _a03=_9f6.getContentBox(_a01.domNode)[dim]-10;return Math.min(this.child.maxSize,_a00+_a03);},_startDrag:function(e){if(!this.cover){this.cover=_9f5.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_9f4.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_9f5.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_9f4.add(this.domNode,"dijitSplitterShadow");_9f5.place(this.fake,this.domNode,"after");}_9f4.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_9f4.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _a04=this._factor,_a05=this.horizontal,axis=_a05?"pageY":"pageX",_a06=e[axis],_a07=this.domNode.style,dim=_a05?"h":"w",_a08=_9f7.getComputedStyle(this.child.domNode),_a09=_9f6.getMarginBox(this.child.domNode,_a08)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_9f6.getPadBorderExtents(this.child.domNode,_a08)[dim]+10),_a0a=this.region,_a0b=_a0a=="top"||_a0a=="bottom"?"top":"left",_a0c=parseInt(_a07[_a0b],10),_a0d=this._resize,_a0e=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_9f8.move,this._drag=function(e,_a0f){var _a10=e[axis]-_a06,_a11=_a04*_a10+_a09,_a12=Math.max(Math.min(_a11,max),min);if(_a0d||_a0f){_a0e(_a12);}_a07[_a0b]=_a10+_a0c+_a04*(_a12-_a11)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_9f8.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_9f4.toggle(this.domNode,"dijitSplitterHover",o);_9f4.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_9f4.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_9f5.destroy(this.fake);}_9f4.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){_9f2(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _a13=this.horizontal;var tick=1;switch(e.keyCode){case _a13?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _a13?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _a14=_9f6.getMarginSize(this.child.domNode)[_a13?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_a14,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _a15=_9f3("dijit.layout._Gutter",[_9fa,_9fb],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_9f4.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _a16=_9f3("dijit.layout.BorderContainer",_9fc,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_9fe,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_a17){this.inherited(arguments);var _a18=_a17.region,ltr=_a17.isLeftToRight();if(_a18=="leading"){_a18=ltr?"left":"right";}if(_a18=="trailing"){_a18=ltr?"right":"left";}if(_a18){if(_a18!="center"&&(_a17.splitter||this.gutters)&&!_a17._splitterWidget){var _a19=_a17.splitter?this._splitterClass:_a15;if(lang.isString(_a19)){_a19=lang.getObject(_a19);}var _a1a=new _a19({id:_a17.id+"_splitter",container:this,child:_a17,region:_a18,live:this.liveSplitters});_a1a.isSplitter=true;_a17._splitterWidget=_a1a;var _a1b=_a18=="bottom"||_a18==(this.isLeftToRight()?"right":"left");_9f5.place(_a1a.domNode,_a17.domNode,_a1b?"before":"after");_a1a.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_a1c){var _a1d=_a1c._splitterWidget;if(_a1d){_a1d.destroy();delete _a1c._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _9f1.filter(this.inherited(arguments),function(_a1e){return !_a1e.isSplitter;});},getSplitter:function(_a1f){return _9f1.filter(this.getChildren(),function(_a20){return _a20.region==_a1f;})[0]._splitterWidget;},resize:function(_a21,_a22){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_9f7.getComputedStyle(node);this.pe=_9f6.getPadExtents(node,this.cs);this.pe.r=_9f7.toPixelValue(node,this.cs.paddingRight);this.pe.b=_9f7.toPixelValue(node,this.cs.paddingBottom);_9f7.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_a23,_a24){if(!this._borderBox||!this._borderBox.h){return;}var _a25=[];_9f1.forEach(this._getOrderedChildren(),function(pane){_a25.push(pane);if(pane._splitterWidget){_a25.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};_9fd.layoutChildren(this.domNode,dim,_a25,_a23,_a24);},destroyRecursive:function(){_9f1.forEach(this.getChildren(),function(_a26){var _a27=_a26._splitterWidget;if(_a27){_a27.destroy();}delete _a26._splitterWidget;});this.inherited(arguments);}});_a16.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_a16.ChildWidgetProperties,_9fc.ChildWidgetProperties);lang.extend(_9f9,_a16.ChildWidgetProperties);_a16._Splitter=_9fe;_a16._Gutter=_a15;return _a16;});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_a28,_a29,_a2a,_a2b,lang,_a2c,_a2d,_a2e){var _a2f=_a29("dijit.layout.LayoutContainer",_a2d,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_a28.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_a30){this.inherited(arguments);var _a31=_a30.region;if(_a31){_a2a.add(_a30.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _a32=_a28.map(this.getChildren(),function(_a33,idx){return {pane:_a33,weight:[_a33.region=="center"?Infinity:0,_a33.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_a33.region)?1:-1),idx]};},this);_a32.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;});return _a28.map(_a32,function(w){return w.pane;});},layout:function(){_a2e.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren());},addChild:function(_a34,_a35){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_a36){this.inherited(arguments);if(this._started){this.layout();}_a2a.remove(_a36.domNode,this.baseClass+"Pane");_a2b.set(_a36.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_a2b.set(_a36.domNode,/top|bottom/.test(_a36.region)?"width":"height","auto");}});_a2f.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};lang.extend(_a2c,_a2f.ChildWidgetProperties);return _a2f;});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_a37,_a38,_a39){return _a39("dijit.layout.LinkPane",[_a37,_a38],{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/sniff","../registry","../_WidgetBase","./_LayoutWidget"],function(_a3a,_a3b,_a3c,dom,_a3d,_a3e,_a3f,_a40,_a41,_a42,lang,on,has,_a43,_a44,_a45){var _a46=_a3c("dijit.layout.SplitContainer",_a45,{constructor:function(){_a42.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 _a47=this.ownerDocument.createElement("div");this.virtualSizer=_a47;_a47.style.position="relative";_a47.style.zIndex=10;_a47.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_a47);dom.setSelectable(_a47,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;}_a3a.forEach(this.getChildren(),function(_a48,i,_a49){this._setupChild(_a48);if(i<_a49.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_a4a){this.inherited(arguments);_a4a.domNode.style.position="absolute";_a3d.add(_a4a.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(_a4b){_a4b=_a4b===undefined?this.sizers.length:_a4b;var _a4c=this.ownerDocument.createElement("div");_a4c.id=_a43.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_a4b,0,_a4c);this.domNode.appendChild(_a4c);_a4c.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _a4d=this.ownerDocument.createElement("div");_a4d.className="thumb";_a4c.appendChild(_a4d);this.connect(_a4c,"onmousedown","_onSizerMouseDown");dom.setSelectable(_a4c,false);},removeChild:function(_a4e){if(this.sizers.length){var i=_a3a.indexOf(this.getChildren(),_a4e);if(i!=-1){if(i==this.sizers.length){i--;}_a3e.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_a4f,_a50){if(typeof _a50=="undefined"||_a50=="last"){_a50=this.getChildren().length;}this.inherited(arguments,[_a4f,_a50]);if(this._started){var _a51=this.getChildren();if(_a51.length>1){this._addSizer(_a50);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _a52=this.getChildren();if(!_a52.length){return;}var _a53=this.isHorizontal?this.paneWidth:this.paneHeight;if(_a52.length>1){_a53-=this.sizerWidth*(_a52.length-1);}var _a54=0;_a3a.forEach(_a52,function(_a55){_a54+=_a55.sizeShare;});var _a56=_a53/_a54;var _a57=0;_a3a.forEach(_a52.slice(0,_a52.length-1),function(_a58){var size=Math.round(_a56*_a58.sizeShare);_a58.sizeActual=size;_a57+=size;});_a52[_a52.length-1].sizeActual=_a53-_a57;this._checkSizes();var pos=0;var size=_a52[0].sizeActual;this._movePanel(_a52[0],pos,size);_a52[0].position=pos;pos+=size;if(!this.sizers){return;}_a3a.some(_a52.slice(1),function(_a59,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_a59.sizeActual;this._movePanel(_a59,pos,size);_a59.position=pos;pos+=size;},this);},_movePanel:function(_a5a,pos,size){var box;if(this.isHorizontal){_a5a.domNode.style.left=pos+"px";_a5a.domNode.style.top=0;box={w:size,h:this.paneHeight};if(_a5a.resize){_a5a.resize(box);}else{_a3f.setMarginBox(_a5a.domNode,box);}}else{_a5a.domNode.style.left=0;_a5a.domNode.style.top=pos+"px";box={w:this.paneWidth,h:size};if(_a5a.resize){_a5a.resize(box);}else{_a3f.setMarginBox(_a5a.domNode,box);}}},_moveSlider:function(_a5b,pos,size){if(this.isHorizontal){_a5b.style.left=pos+"px";_a5b.style.top=0;_a3f.setMarginBox(_a5b,{w:size,h:this.paneHeight});}else{_a5b.style.left=0;_a5b.style.top=pos+"px";_a3f.setMarginBox(_a5b,{w:this.paneWidth,h:size});}},_growPane:function(_a5c,pane){if(_a5c>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_a5c){pane.sizeActual=pane.sizeActual-_a5c;_a5c=0;}else{_a5c-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _a5c;},_checkSizes:function(){var _a5d=0;var _a5e=0;var _a5f=this.getChildren();_a3a.forEach(_a5f,function(_a60){_a5e+=_a60.sizeActual;_a5d+=_a60.sizeMin;});if(_a5d<=_a5e){var _a61=0;_a3a.forEach(_a5f,function(_a62){if(_a62.sizeActual<_a62.sizeMin){_a61+=_a62.sizeMin-_a62.sizeActual;_a62.sizeActual=_a62.sizeMin;}});if(_a61>0){var list=this.isDraggingLeft?_a5f.reverse():_a5f;_a3a.forEach(list,function(_a63){_a61=this._growPane(_a61,_a63);},this);}}else{_a3a.forEach(_a5f,function(_a64){_a64.sizeActual=Math.round(_a5e*(_a64.sizeMin/_a5d));});}},beginSizing:function(e,i){var _a65=this.getChildren();this.paneBefore=_a65[i];this.paneAfter=_a65[i+1];this.paneBefore.sizeBeforeDrag=this.paneBefore.sizeActual;this.paneAfter.sizeBeforeDrag=this.paneAfter.sizeActual;this.paneAfter.positionBeforeDrag=this.paneAfter.position;this.isSizing=true;this.sizingSplitter=this.sizers[i];this.sizingSplitter.positionBeforeDrag=_a40.get(this.sizingSplitter,(this.isHorizontal?"left":"top"));if(!this.cover){this.cover=_a3e.create("div",{style:{position:"absolute",zIndex:5,top:0,left:0,width:"100%",height:"100%"}},this.domNode);}else{this.cover.style.zIndex=5;}this.sizingSplitter.style.zIndex=6;this.startPoint=this.lastPoint=(this.isHorizontal?e.pageX:e.pageY);this.maxDelta=this.paneAfter.sizeActual-this.paneAfter.sizeMin;this.minDelta=-1*(this.paneBefore.sizeActual-this.paneBefore.sizeMin);if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[on(this.ownerDocument.documentElement,"mousemove",lang.hitch(this,"changeSizing")),on(this.ownerDocument.documentElement,"mouseup",lang.hitch(this,"endSizing"))];_a41.stop(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;var _a66=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);if(this.activeSizing){this._updateSize(_a66);}else{this._moveSizingLine(_a66);}_a41.stop(e);},endSizing:function(){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}var _a67=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);this._updateSize(_a67);this.isSizing=false;if(this.persist){this._saveState(this);}var h;while(h=this._ownconnects.pop()){h.remove();}},_updateSize:function(_a68){this.paneBefore.sizeActual=this.paneBefore.sizeBeforeDrag+_a68;this.paneAfter.position=this.paneAfter.positionBeforeDrag+_a68;this.paneAfter.sizeActual=this.paneAfter.sizeBeforeDrag-_a68;_a3a.forEach(this.getChildren(),function(_a69){_a69.sizeShare=_a69.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine(0);_a3f.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(_a6a){var pos=_a6a+this.sizingSplitter.positionBeforeDrag;_a40.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_a3a.forEach(this.getChildren(),function(_a6b,i){var _a6c=this._getCookieName(i);var _a6d=_a3b(_a6c);if(_a6d){var pos=parseInt(_a6d);if(typeof pos=="number"){_a6b.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_a3a.forEach(this.getChildren(),function(_a6e,i){_a3b(this._getCookieName(i),_a6e.sizeShare,{expires:365});},this);}});_a46.ChildWidgetProperties={sizeMin:10,sizeShare:10};lang.extend(_a44,_a46.ChildWidgetProperties);return _a46;});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_a6f,_a70,_a71,_a72){return _a6f("dijit.layout.TabContainer",_a70,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_a73){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_a71=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _a71({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_a73);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_a72:_a71;}}});});},"dijit/layout/_TabContainerBase":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","./StackContainer","./utils","../_TemplatedMixin","dojo/text!./templates/TabContainer.html"],function(_a74,_a75,_a76,_a77,_a78,_a79,_a7a,_a7b){return _a74("dijit.layout._TabContainerBase",[_a78,_a7a],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_a7b,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_a77.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_a75.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_a75.add(this.domNode,"dijitTabContainerNested");_a75.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_a75.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_a75.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_a75.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_a75.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 _a7c=this.tabPosition.replace(/-h/,"");this.tablist.region=_a7c;var _a7d=[this.tablist,{domNode:this.tablistSpacer,region:_a7c},{domNode:this.containerNode,region:"center"}];_a79.layoutChildren(this.domNode,this._contentBox,_a7d);this._containerContentBox=_a79.marginBox2contentBox(this.containerNode,_a7d[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _a7e=_a76.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_a7e});}if(sc&&sc.resize){sc.resize();}}},destroy:function(_a7f){if(this.tablist){this.tablist.destroy(_a7f);}this.inherited(arguments);}});});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_a80,dom,_a81,_a82,has,i18n,lang,_a83,_a84,Menu,_a85,_a86){var _a87=_a80("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_a83.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_a86,_setNameAttr:"focusNode",scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_a82.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _a88=i18n.getLocalization("dijit","common");if(this.closeNode){_a81.set(this.closeNode,"title",_a88.itemClose);}}},_setDisabledAttr:function(_a89){this.inherited(arguments);if(this.closeNode){if(_a89){_a81.remove(this.closeNode,"title");}else{var _a8a=i18n.getLocalization("dijit","common");_a81.set(this.closeNode,"title",_a8a.itemClose);}}},_setLabelAttr:function(_a8b){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_a87=_a80("dijit.layout._TabButton",_a87,{_setLabelAttr:function(_a8c){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _a8d=_a80("dijit.layout.TabController",_a83,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'></div>",tabPosition:"top",buttonWidget:_a87,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _a8e=new Menu({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(node){return _a82.contains(node,"dijitClosable")&&!_a82.contains(node,"dijitTabDisabled");}});this.own(_a8e);var _a8f=i18n.getLocalization("dijit","common"),_a90=this;_a8e.addChild(new _a85({label:_a8f.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _a91=_a84.byNode(this.getParent().currentTarget);_a90.onCloseButtonClick(_a91.page);}}));}});_a8d.TabButton=_a87;return _a8d;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],function(_a92,_a93,_a94,_a95,keys,lang,on,_a96,_a97,_a98,_a99,_a9a,_a9b,_a9c){var _a9d=_a93("dijit.layout._StackButton",_a9c,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _a9e=_a93("dijit.layout.StackController",[_a99,_a9a,_a9b],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:_a9d,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _a98.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_a96.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_a96.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_a96.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_a96.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_a96.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _a9f=_a98.getEnclosingWidget(evt.target);if(_a9f!=this.containerNode&&!_a9f.disabled&&_a9f.page){for(var _aa0=evt.target;_aa0!==this.containerNode;_aa0=_aa0.parentNode){if(_a94.contains(_aa0,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_a9f.page);break;}else{if(_aa0==_a9f.domNode){this.onButtonClick(_a9f.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_a92.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _aa1=_a98.byId(this.containerId).containerNode,_aa2=lang.hitch(this,"pane2button"),_aa3={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_aa4=function(attr,_aa5){return on(_aa1,"attrmodified-"+attr,function(evt){var _aa6=_aa2(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_aa6){_aa6.set(_aa5,evt.detail.newValue);}});};for(var attr in _aa3){this.own(_aa4(attr,_aa3[attr]));}},destroy:function(_aa7){this.destroyDescendants(_aa7);this.inherited(arguments);},onAddChild:function(page,_aa8){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _aa9=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_aa9,_aa8);page.controlButton=_aa9;if(!this._currentChild){this.onSelectChild(page);}var _aaa=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_aa9.id:_aa9.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_aaa);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _aab=this.pane2button(page.id);if(_aab){this.removeChild(_aab);_aab.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _aac=this.pane2button(this._currentChild.id);_aac.set("checked",false);_aac.focusNode.setAttribute("tabIndex","-1");}var _aad=this.pane2button(page.id);_aad.set("checked",true);this._currentChild=page;_aad.focusNode.setAttribute("tabIndex","0");var _aae=_a98.byId(this.containerId);},onButtonClick:function(page){var _aaf=this.pane2button(page.id);_a97.focus(_aaf.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_aaf.set("checked",true);}var _ab0=_a98.byId(this.containerId);_ab0.selectChild(page);},onCloseButtonClick:function(page){var _ab1=_a98.byId(this.containerId);_ab1.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_a97.focus(b.focusNode||b.domNode);}}},adjacent:function(_ab2){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_ab2=!_ab2;}var _ab3=this.getChildren();var idx=_a92.indexOf(_ab3,this.pane2button(this._currentChild.id)),_ab4=_ab3[idx];var _ab5;do{idx=(idx+(_ab2?1:_ab3.length-1))%_ab3.length;_ab5=_ab3[idx];}while(_ab5.disabled&&_ab5!=_ab4);return _ab5;},onkeydown:function(e,_ab6){if(this.disabled||e.altKey){return;}var _ab7=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_ab7=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_ab7=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_ab7=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_ab7=true;}break;case keys.HOME:var _ab8=this.getChildren();for(var idx=0;idx<_ab8.length;idx++){var _ab9=_ab8[idx];if(!_ab9.disabled){this.onButtonClick(_ab9.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _ab8=this.getChildren();for(var idx=_ab8.length-1;idx>=0;idx--){var _ab9=_ab8[idx];if(!_ab9.disabled){this.onButtonClick(_ab9.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_ab7!==null){this.onButtonClick(this.adjacent(_ab7).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_a9e.StackButton=_a9d;return _a9e;});},"dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom","../a11yclick"],function(_aba,_abb,_abc,_abd,_abe,fx,lang,on,_abf,has,_ac0,_ac1,_ac2,_ac3,_ac4,_ac5,Menu,_ac6,_ac7,_ac8){var _ac9=_abb("dijit.layout.ScrollingTabController",[_ac3,_ac5],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_ac1,useMenu:true,useSlider:true,tabStripClass:"",_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";_abc.add(n,"tabStrip-disabled");}_abc.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_abe.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",lang.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(page,_aca){this.inherited(arguments);_abe.set(this.containerNode,"width",(_abe.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_acb){var _acc=this.pane2button(page.id);if(this._selectedTab===_acc.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_abf("> .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+=_abd.getMarginSize(btn).w;return true;}else{_abe.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _acd=this.getChildren();if(_acd.length){var _ace=_acd[this.isLeftToRight()?0:_acd.length-1].domNode,_acf=_acd[this.isLeftToRight()?_acd.length-1:0].domNode;return _acf.offsetLeft+_acf.offsetWidth-_ace.offsetLeft;}else{return 0;}},_enableBtn:function(_ad0){var _ad1=this._getTabsWidth();_ad0=_ad0||_abe.get(this.scrollNode,"width");return _ad1>0&&_ad0<_ad1;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_ac4.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_abd.setContentSize(this.domNode,cb);var _ad2=this._enableBtn(this._contentBox.w);this._buttons.style("display",_ad2?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_ac4.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_abe.get(this.containerNode,"width")-_abe.get(this.scrollNode,"width")+(has("trident")||has("edge")?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit")){return val;}else{var _ad3=_abe.get(this.containerNode,"width")-_abe.get(this.scrollNode,"width");return (has("trident")||has("edge")?-1:1)*(val-_ad3);}},onSelectChild:function(page,_ad4){var tab=this.pane2button(page.id);if(!tab){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_abe.get(this.scrollNode,"width")<node.offsetLeft+_abe.get(node,"width")){var anim=this.createSmoothScroll();if(_ad4){anim.onEnd=function(){tab.focus();};}anim.play();}else{if(_ad4){tab.focus();}}}}this.inherited(arguments);},_getScrollBounds:function(){var _ad5=this.getChildren(),_ad6=_abe.get(this.scrollNode,"width"),_ad7=_abe.get(this.containerNode,"width"),_ad8=_ad7-_ad6,_ad9=this._getTabsWidth();if(_ad5.length&&_ad9>_ad6){return {min:this.isLeftToRight()?0:_ad5[_ad5.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_ad5[_ad5.length-1].domNode.offsetLeft+_ad5[_ad5.length-1].domNode.offsetWidth)-_ad6:_ad8};}else{var _ada=this.isLeftToRight()?0:_ad8;return {min:_ada,max:_ada};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_adb=_abe.get(this.scrollNode,"width"),_adc=this._getScrollBounds();var pos=(n.offsetLeft+_abe.get(n,"width")/2)-_adb/2;pos=Math.min(Math.max(pos,_adc.min),_adc.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _add=this._getScrollBounds();x=Math.min(Math.max(x,_add.min),_add.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&&!_abc.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(_ade,node){if(node&&_abc.contains(node,"dijitTabDisabled")){return;}var _adf=_abe.get(this.scrollNode,"width");var d=(_adf*0.75)*_ade;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_ae0){var _ae1=this._getScrollBounds();this._leftBtn.set("disabled",_ae0<=_ae1.min);this._rightBtn.set("disabled",_ae0>=_ae1.max);}});var _ae2=_abb("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_ac2,tabIndex:"",isFocusable:function(){return false;}});_abb("dijit.layout._ScrollingTabControllerButton",[_ac7,_ae2]);_abb("dijit.layout._ScrollingTabControllerMenuButton",[_ac7,_ac8,_ae2],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_ae3){this.dropDown=new Menu({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _ae4=_ac0.byId(this.containerId);_aba.forEach(_ae4.getChildren(),function(page){var _ae5=new _ac6({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||_ae4.textDir,onClick:function(){_ae4.selectChild(page);}});this.dropDown.addChild(_ae5);},this);_ae3();},closeDropDown:function(_ae6){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _ac9;});},"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\" role=\"grid\">\n\t<table data-dojo-attach-point=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"presentation\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabindex=\"-1\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n\t${!actionBarTemplate}\n</div>\n\n","url:dijit/templates/TooltipDialog.html":"<div role=\"alertdialog\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"contentsNode\" class=\"dijitTooltipContents dijitTooltipFocusNode\">\n\t\t\t<div data-dojo-attach-point=\"containerNode\"></div>\n\t\t\t${!actionBarTemplate}\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","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\">●</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\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\ttabIndex=\"-1\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\" data-dojo-attach-event=\"mouseenter:onMouseEnter,mouseleave:onMouseLeave\"\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></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=\"Χ \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\taria-haspopup=\"true\"\n\tdata-dojo-attach-point=\"_popupStateNode\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"▼ \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"Χ \" 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=\"${type}\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\"\n\t/></div\n></div>\n","url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:__onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode,_popupStateNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">▼</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-event=\"onclick:_onClick\" data-dojo-attach-point=\"valueNode\" aria-hidden=\"true\"\n/></span>\n","url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,textDirNode\"\n\t\trole=\"presentation\"></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<span data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<span class=\"dijitInline dijitIcon dijitMenuExpand\"></span>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</span>\n\t</td>\n</tr>\n","url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset\" data-dojo-attach-point=\"focusNode\" role=\"${role}\" tabIndex=\"-1\" aria-checked=\"${checked}\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span class=\"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span class=\"dijitMenuItemIconChar dijitCheckedMenuItemIconChar\">${!checkedChar}</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode,textDirNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\"> </td>\n</tr>\n","url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\" role=\"menubar\" tabIndex=\"${tabIndex}\"\n\t ></div>\n","url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\"\n\t \trole=\"menuitem\" tabIndex=\"-1\">\n\t<span data-dojo-attach-point=\"containerNode,textDirNode\"></span>\n</div>\n","url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\" role=\"separator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>\n","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\"> </span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><span data-dojo-attach-point=\"indeterminateHighContrastImage\"\n\t\t class=\"dijitInline dijitProgressBarIndeterminateHighContrastImage\"></span\n></div>\n","url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"ondijitclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\" id=\"${id}_titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<span data-dojo-attach-point=\"arrowNode\" class=\"dijitInline dijitArrowNode\" role=\"presentation\"></span\n\t\t\t><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\" aria-labelledby=\"${id}_titleBarNode\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc. Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow\" role=\"presentation\"\n\t\t><span data-dojo-attach-point=\"expandoNode\" class=\"dijitInline dijitTreeExpando\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTreeIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span data-dojo-attach-point=\"labelNode,focusNode\" class=\"dijitTreeLabel\" role=\"treeitem\"\n\t\t\t\t tabindex=\"-1\" aria-selected=\"false\" id=\"${id}_label\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeNodeContainer\" role=\"presentation\"\n\t\t style=\"display: none;\" aria-labelledby=\"${id}_label\"></div>\n</div>\n","url:dijit/templates/Tree.html":"<div role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n\t<div class=\"dijitTreeExpando dijitTreeExpandoLoading\" data-dojo-attach-point=\"rootLoadingIndicator\"></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\">\n\t</div>\n</div>\n","url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"./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=\"./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","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,onkeydown:_onButtonKeyDown\"\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=\"onkeydown:_onArrowKeyDown\"\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\">▼</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\tclass=\"dijitOffScreen\" aria-hidden=\"true\" data-dojo-attach-event=\"onclick:_onClick\"\n\t\t/></td></tr></tbody\n></table>\n","url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"ondijitclick:_onClick\"\n/></div>\n","url:dijit/templates/Calendar.html":"<div class=\"dijitCalendarContainer dijitInline\" role=\"presentation\" aria-labelledby=\"${id}_mddb ${id}_year\">\n\t<div class=\"dijitReset dijitCalendarMonthContainer\" role=\"presentation\">\n\t\t<div class='dijitReset dijitCalendarArrow dijitCalendarDecrementArrow' data-dojo-attach-point=\"decrementMonth\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"/>\n\t\t\t<span data-dojo-attach-point=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t</div>\n\t\t<div class='dijitReset dijitCalendarArrow dijitCalendarIncrementArrow' data-dojo-attach-point=\"incrementMonth\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"/>\n\t\t\t<span data-dojo-attach-point=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t</div>\n\t\t<div data-dojo-attach-point=\"monthNode\" class=\"dijitInline\"></div>\n\t</div>\n\t<table cellspacing=\"0\" cellpadding=\"0\" role=\"grid\" data-dojo-attach-point=\"gridNode\">\n\t\t<thead>\n\t\t\t<tr role=\"row\">\n\t\t\t\t${!dayCellsHtml}\n\t\t\t</tr>\n\t\t</thead>\n\t\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"ondijitclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t\t\t${!dateRowsHtml}\n\t\t</tbody>\n\t</table>\n\t<div class=\"dijitReset dijitCalendarYearContainer\" role=\"presentation\">\n\t\t<div class=\"dijitCalendarYearLabel\">\n\t\t\t<span data-dojo-attach-point=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\" role=\"button\"></span>\n\t\t\t<span data-dojo-attach-point=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" role=\"button\" id=\"${id}_year\"></span>\n\t\t\t<span data-dojo-attach-point=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\" role=\"button\"></span>\n\t\t</div>\n\t</div>\n</div>\n","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=\"▲ \" 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=\"▼ \" 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=\"Χ \" 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=\"onkeydown:_onKeyDown\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n","url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode,_popupStateNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\" data-dojo-attach-point=\"containerNode,textDirNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"Χ \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"▼ \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n","url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeydown:_onKeyDown, onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"topDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" data-dojo-attach-event=\"press:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"containerNode,bottomDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n","url:dijit/form/templates/VerticalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderV\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeydown:_onKeyDown,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td data-dojo-attach-point=\"leftDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV\"></td\n\t\t><td class=\"dijitReset dijitSliderDecorationC\" style=\"height:100%;\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" data-dojo-attach-event=\"press:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableV\" style=\"vertical-align:top;\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point=\"containerNode,rightDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></table>\n","url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\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><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","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","url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTabButtonIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\n","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 class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_menuBtn\"\n\t\t data-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t data-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">▼</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_leftBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">◀</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_rightBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">▶</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'\n\t\t\t data-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"ondijitclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"focusNode\" role=\"button\">\n\t<span role=\"presentation\" class=\"dijitInline dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\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",["./main","./dijit","./ColorPalette","./Declaration","./Dialog","./DialogUnderlay","./TooltipDialog","./Editor","./_editor/plugins/FontChoice","./_editor/plugins/LinkDialog","./Menu","./MenuItem","./PopupMenuItem","./CheckedMenuItem","./MenuBar","./MenuBarItem","./PopupMenuBarItem","./MenuSeparator","./ProgressBar","./TitlePane","./Toolbar","./Tooltip","./Tree","./InlineEditBox","./form/Form","./form/Button","./form/DropDownButton","./form/ComboButton","./form/ToggleButton","./form/CheckBox","./form/RadioButton","./form/TextBox","./form/ValidationTextBox","./form/CurrencyTextBox","./form/DateTextBox","./form/TimeTextBox","./form/NumberSpinner","./form/NumberTextBox","./form/ComboBox","./form/FilteringSelect","./form/MultiSelect","./form/Select","./form/HorizontalSlider","./form/VerticalSlider","./form/HorizontalRule","./form/VerticalRule","./form/HorizontalRuleLabels","./form/VerticalRuleLabels","./form/SimpleTextarea","./form/Textarea","./layout/AccordionContainer","./layout/ContentPane","./layout/BorderContainer","./layout/LayoutContainer","./layout/LinkPane","./layout/SplitContainer","./layout/StackContainer","./layout/TabContainer"],function(_ae7){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 _ae7;});
|