/usr/share/javascript/dijit/dijit-all.js is in libjs-dojo-dijit 1.7.2+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | /*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
/*
This is an optimized version of Dojo, built for deployment and not for
development. To get sources and documentation, please visit:
http://dojotoolkit.org
*/
//>>built
require({cache:{"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/window","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c){var _d=_8("dijit.ColorPalette",[_3,_4,_5],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_2,baseClass:"dijitColorPalette",_dyeFactory:function(_e,_f,col){return new this._dyeClass(_e,_f,col);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_8(_d._Color,{hc:_9.contains(_b.body(),"dijit_a11y"),palette:this.palette});this._preparePalette(this._palettes[this.palette],_6.getLocalization("dojo","colors",this.lang));}});_d._Color=_8("dijit._Color",_7,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_1.toUrl("./themes/a11y/colors7x10.png"),"3x4":_1.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_10,row,col){this._alias=_10;this._row=row;this._col=col;this.setColor(_7.named[_10]);},getValue:function(){return this.toHex();},fillCell:function(_11,_12){var _13=_c.substitute(this.hc?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_12,alt:this._alias,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_a.place(_13,_11);}});return _d;});},"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\">\n\t<table dojoAttachPoint=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"grid\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","./_CssStateMixin","./focus","./typematic"],function(_14,_15,_16,_17,_18,_19,_1a,_1b,_1c,_1d){return _14("dijit._PaletteMixin",[_1b],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:"",summary:"",_setSummaryAttr:"paletteTableNode",_dyeFactory:function(_1e){var _1f=_1a.getObject(this.dyeClass);return new _1f(_1e);},_preparePalette:function(_20,_21){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_20.length;row++){var _22=_17.create("tr",{tabIndex:"-1"},this.gridNode);for(var col=0;col<_20[row].length;col++){var _23=_20[row][col];if(_23){var _24=this._dyeFactory(_23,row,col);var _25=_17.create("td",{"class":this.cellClass,tabIndex:"-1",title:_21[_23],role:"gridcell"});_24.fillCell(_25,url);_17.place(_25,_22);_25.index=this._cells.length;this._cells.push({node:_25,dye:_24});}}}this._xDim=_20[0].length;this._yDim=_20.length;var _26={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _26){this._connects.push(_1d.addKeyListener(this.domNode,{charOrCode:_19[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _27=_26[key];return function(_28){this._navigateByKey(_27,_28);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_1c.focus(this._currentFocus);},_onCellClick:function(evt){var _29=evt.target;while(_29.tagName!="TD"){if(!_29.parentNode||_29==this.gridNode){return;}_29=_29.parentNode;}var _2a=this._getDye(_29).getValue();this._setCurrent(_29);_1c.focus(_29);this._setValueAttr(_2a,true);_18.stop(evt);},_setCurrent:function(_2b){if("_currentFocus" in this){_15.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=_2b;if(_2b){_15.set(_2b,"tabIndex",this.tabIndex);}},_setValueAttr:function(_2c,_2d){if(this._selectedCell>=0){_16.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_2c){for(var i=0;i<this._cells.length;i++){if(_2c==this._cells[i].dye.getValue()){this._selectedCell=i;_16.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_2c:null);if(_2d||_2d===undefined){this.onChange(_2c);}},onChange:function(){},_navigateByKey:function(_2e,_2f){if(_2f==-1){return;}var _30=this._currentFocus.index+_2e;if(_30<this._cells.length&&_30>-1){var _31=this._cells[_30].node;this._setCurrent(_31);setTimeout(_1a.hitch(dijit,"focus",_31),0);}},_getDye:function(_32){return this._cells[_32.index].dye;}});});},"dojo/nls/colors":function(){define({root:({aliceblue:"alice blue",antiquewhite:"antique white",aqua:"aqua",aquamarine:"aquamarine",azure:"azure",beige:"beige",bisque:"bisque",black:"black",blanchedalmond:"blanched almond",blue:"blue",blueviolet:"blue-violet",brown:"brown",burlywood:"burlywood",cadetblue:"cadet blue",chartreuse:"chartreuse",chocolate:"chocolate",coral:"coral",cornflowerblue:"cornflower blue",cornsilk:"cornsilk",crimson:"crimson",cyan:"cyan",darkblue:"dark blue",darkcyan:"dark cyan",darkgoldenrod:"dark goldenrod",darkgray:"dark gray",darkgreen:"dark green",darkgrey:"dark gray",darkkhaki:"dark khaki",darkmagenta:"dark magenta",darkolivegreen:"dark olive green",darkorange:"dark orange",darkorchid:"dark orchid",darkred:"dark red",darksalmon:"dark salmon",darkseagreen:"dark sea green",darkslateblue:"dark slate blue",darkslategray:"dark slate gray",darkslategrey:"dark slate gray",darkturquoise:"dark turquoise",darkviolet:"dark violet",deeppink:"deep pink",deepskyblue:"deep sky blue",dimgray:"dim gray",dimgrey:"dim gray",dodgerblue:"dodger blue",firebrick:"fire brick",floralwhite:"floral white",forestgreen:"forest green",fuchsia:"fuchsia",gainsboro:"gainsboro",ghostwhite:"ghost white",gold:"gold",goldenrod:"goldenrod",gray:"gray",green:"green",greenyellow:"green-yellow",grey:"gray",honeydew:"honeydew",hotpink:"hot pink",indianred:"indian red",indigo:"indigo",ivory:"ivory",khaki:"khaki",lavender:"lavender",lavenderblush:"lavender blush",lawngreen:"lawn green",lemonchiffon:"lemon chiffon",lightblue:"light blue",lightcoral:"light coral",lightcyan:"light cyan",lightgoldenrodyellow:"light goldenrod yellow",lightgray:"light gray",lightgreen:"light green",lightgrey:"light gray",lightpink:"light pink",lightsalmon:"light salmon",lightseagreen:"light sea green",lightskyblue:"light sky blue",lightslategray:"light slate gray",lightslategrey:"light slate gray",lightsteelblue:"light steel blue",lightyellow:"light yellow",lime:"lime",limegreen:"lime green",linen:"linen",magenta:"magenta",maroon:"maroon",mediumaquamarine:"medium aquamarine",mediumblue:"medium blue",mediumorchid:"medium orchid",mediumpurple:"medium purple",mediumseagreen:"medium sea green",mediumslateblue:"medium slate blue",mediumspringgreen:"medium spring green",mediumturquoise:"medium turquoise",mediumvioletred:"medium violet-red",midnightblue:"midnight blue",mintcream:"mint cream",mistyrose:"misty rose",moccasin:"moccasin",navajowhite:"navajo white",navy:"navy",oldlace:"old lace",olive:"olive",olivedrab:"olive drab",orange:"orange",orangered:"orange red",orchid:"orchid",palegoldenrod:"pale goldenrod",palegreen:"pale green",paleturquoise:"pale turquoise",palevioletred:"pale violet-red",papayawhip:"papaya whip",peachpuff:"peach puff",peru:"peru",pink:"pink",plum:"plum",powderblue:"powder blue",purple:"purple",red:"red",rosybrown:"rosy brown",royalblue:"royal blue",saddlebrown:"saddle brown",salmon:"salmon",sandybrown:"sandy brown",seagreen:"sea green",seashell:"seashell",sienna:"sienna",silver:"silver",skyblue:"sky blue",slateblue:"slate blue",slategray:"slate gray",slategrey:"slate gray",snow:"snow",springgreen:"spring green",steelblue:"steel blue",tan:"tan",teal:"teal",thistle:"thistle",tomato:"tomato",transparent:"transparent",turquoise:"turquoise",violet:"violet",wheat:"wheat",white:"white",whitesmoke:"white smoke",yellow:"yellow",yellowgreen:"yellow green"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(_33,_34,_35,_36){var _37=_34.getObject("dojo.colors",true);var _38=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};_33.colorFromRgb=_35.fromRgb=function(_39,obj){var m=_39.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_36.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _35.fromArray(a,obj);}return _35.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_38(m1,m2,H+1/3)*256,_38(m1,m2,H)*256,_38(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _35.fromArray(a,obj);}}return null;};var _3a=function(c,low,_3b){c=Number(c);return isNaN(c)?_3b:c<low?low:c>_3b?_3b:c;};_35.prototype.sanitize=function(){var t=this;t.r=Math.round(_3a(t.r,0,255));t.g=Math.round(_3a(t.g,0,255));t.b=Math.round(_3a(t.b,0,255));t.a=_3a(t.a,0,1);return this;};_37.makeGrey=_35.makeGrey=function(g,a){return _35.fromArray([g,g,g,a]);};_34.mixin(_35.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _35;});},"dijit/Declaration":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/parser","dojo/query","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/NodeList-dom"],function(_3c,_3d,_3e,_3f,_40,_41,_42,_43,_44){return _3e("dijit.Declaration",_42,{_noScript:true,stopParser:true,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_45=_41("> script[type^='dojo/method']",src).orphan(),_46=_41("> script[type^='dojo/connect']",src).orphan(),_47=src.nodeName;var _48=this.defaults||{};_3c.forEach(_45,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),_49=_40._functionFromScript(s);if(evt){_48[evt]=_49;}else{_46.push(s);}});this.mixins=this.mixins.length?_3c.map(this.mixins,function(_4a){return _3f.getObject(_4a);}):[_42,_43,_44];_48._skipNodeCache=true;_48.templateString="<"+_47+" class='"+src.className+"'"+" data-dojo-attach-point='"+(src.getAttribute("data-dojo-attach-point")||src.getAttribute("dojoAttachPoint")||"")+"' data-dojo-attach-event='"+(src.getAttribute("data-dojo-attach-event")||src.getAttribute("dojoAttachEvent")||"")+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"</"+_47+">";var wc=_3e(this.widgetClass,this.mixins,_48);_3c.forEach(_46,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event")||"postscript",_4b=_40._functionFromScript(s);_3d.connect(wc.prototype,evt,_4b);});}});});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/parser","dijit/registry"],function(_4c,_4d,_4e,_4f){return _4d("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var _50=this.domNode;var cw=(this._startupWidgets=_4e.parse(_50,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));this._supportingWidgets=_4f.findWidgets(_50);this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_4c.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);}});});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/fx","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/_base/window","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","dojo/text!./templates/Dialog.html",".","dojo/i18n!./nls/common"],function(_51,_52,_53,_54,_55,dom,_56,_57,_58,_59,fx,_5a,_5b,_5c,_5d,on,_5e,has,win,_5f,_60,_61,_62,_63,_64,_65,_66,_67,_68,_69,_6a,_6b,_6c){var _6d=_54("dijit._DialogBase",[_65,_67,_68,_66],{templateString:_6b,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_63.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _6e=_5a.getLocalization("dijit","common");_5d.mixin(this,_6e);this.inherited(arguments);},postCreate:function(){_58.set(this.domNode,{display:"none",position:"absolute"});win.body().appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();if(this.autofocus&&_6f.isTop(this)){this._getFocusItems(this.domNode);_62.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(){var _70=_57.position(this.domNode),_71=_5f.getBox();_70.y=Math.min(Math.max(_70.y,0),(_71.h-_70.h));_70.x=Math.min(Math.max(_70.x,0),(_71.w-_70.w));this._relativePosition=_70;this._position();},_setup:function(){var _72=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_61:_60)(_72,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_56.add(_72,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_52.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(this._singleChildOriginalStyle){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;}delete this._singleChildOriginalStyle;}else{_58.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_57.position(this.domNode);var _73=_5f.getBox();if(bb.w>=_73.w||bb.h>=_73.h){var w=Math.min(bb.w,Math.floor(_73.w*0.75)),h=Math.min(bb.h,Math.floor(_73.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{_58.set(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!_56.contains(win.body(),"dojoMove")){var _74=this.domNode,_75=_5f.getBox(),p=this._relativePosition,bb=p?null:_57.position(_74),l=Math.floor(_75.l+(p?p.x:(_75.w-bb.w)/2)),t=Math.floor(_75.t+(p?p.y:(_75.h-bb.h)/2));_58.set(_74,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.charOrCode){var _76=evt.target;if(evt.charOrCode===_5c.TAB){this._getFocusItems(this.domNode);}var _77=(this._firstFocusItem==this._lastFocusItem);if(_76==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===_5c.TAB){if(!_77){_62.focus(this._lastFocusItem);}_59.stop(evt);}else{if(_76==this._lastFocusItem&&evt.charOrCode===_5c.TAB&&!evt.shiftKey){if(!_77){_62.focus(this._firstFocusItem);}_59.stop(evt);}else{while(_76){if(_76==this.domNode||_56.contains(_76,"dijitPopup")){if(evt.charOrCode==_5c.ESCAPE){this.onCancel();}else{return;}}_76=_76.parentNode;}if(evt.charOrCode!==_5c.TAB){_59.stop(evt);}else{if(!has("opera")){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}this._modalconnects.push(on(window,"scroll",_5d.hitch(this,"layout")));this._modalconnects.push(on(window,"resize",_5d.hitch(this,function(){var _78=_5f.getBox();if(!this._oldViewport||_78.h!=this._oldViewport.h||_78.w!=this._oldViewport.w){this.layout();this._oldViewport=_78;}})));this._modalconnects.push(on(this.domNode,_53._keypress,_5d.hitch(this,"_onKey")));_58.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _79;this._fadeInDeferred=new _55(_5d.hitch(this,function(){_79.stop();delete this._fadeInDeferred;}));_79=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:_5d.hitch(this,function(){_6f.show(this,this.underlayAttrs);}),onEnd:_5d.hitch(this,function(){if(this.autofocus&&_6f.isTop(this)){this._getFocusItems(this.domNode);_62.focus(this._firstFocusItem);}this._fadeInDeferred.callback(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _7a;this._fadeOutDeferred=new _55(_5d.hitch(this,function(){_7a.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(_5d.hitch(this,"onHide"));_7a=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_5d.hitch(this,function(){this.domNode.style.display="none";_6f.hide(this);this._fadeOutDeferred.callback(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return this._fadeOutDeferred;},layout:function(){if(this.domNode.style.display!="none"){if(_6c._underlay){_6c._underlay.layout();}this._position();}},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_6f.hide(this);this.inherited(arguments);}});var _7b=_54("dijit.Dialog",[_6a,_6d],{});_7b._DialogBase=_6d;var _6f=_7b._DialogLevelManager={_beginZIndex:950,show:function(_7c,_7d){ds[ds.length-1].focus=_62.curNode;var _7e=_6c._underlay;if(!_7e||_7e._destroyed){_7e=_6c._underlay=new _69(_7d);}else{_7e.set(_7c.underlayAttrs);}var _7f=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_7b._DialogLevelManager._beginZIndex;if(ds.length==1){_7e.show();}_58.set(_6c._underlay.domNode,"zIndex",_7f-1);_58.set(_7c.domNode,"zIndex",_7f);ds.push({dialog:_7c,underlayAttrs:_7d,zIndex:_7f});},hide:function(_80){if(ds[ds.length-1].dialog==_80){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!_6c._underlay._destroyed){_6c._underlay.hide();}}else{_58.set(_6c._underlay.domNode,"zIndex",pd.zIndex-1);_6c._underlay.set(pd.underlayAttrs);}if(_80.refocus){var _81=pd.focus;if(pd.dialog&&(!_81||!dom.isDescendant(_81,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_81=pd.dialog._firstFocusItem;}if(_81){_81.focus();}}}else{var idx=_52.indexOf(_52.map(ds,function(_82){return _82.dialog;}),_80);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_83){return ds[ds.length-1].dialog==_83;}};var ds=_7b._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(!_5b.isAsync){_5e(0,function(){var _84=["dijit/TooltipDialog"];_51(_84);});}return _7b;});},"dojo/dnd/Moveable":function(){define(["../main","../Evented","../touch","./Mover"],function(_85,_86,_87){_85.declare("dojo.dnd.Moveable",[_86],{handle:"",delay:0,skip:false,constructor:function(_88,_89){this.node=_85.byId(_88);if(!_89){_89={};}this.handle=_89.handle?_85.byId(_89.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_89.delay>0?_89.delay:0;this.skip=_89.skip;this.mover=_89.mover?_89.mover:_85.dnd.Mover;this.events=[_85.connect(this.handle,_87.press,this,"onMouseDown"),_85.connect(this.handle,"ondragstart",this,"onSelectStart"),_85.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_8a,_8b,_8c){return new _8c(_8b,_8a);},destroy:function(){_85.forEach(this.events,_85.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&_85.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(_85.connect(this.handle,_87.move,this,"onMouseMove"),_85.connect(this.handle,_87.release,this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}_85.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}_85.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){_85.disconnect(this.events.pop());}_85.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!_85.dnd.isFormElement(e)){_85.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_8d){_85.publish("/dnd/move/start",[_8d]);_85.addClass(_85.body(),"dojoMove");_85.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_8e){_85.publish("/dnd/move/stop",[_8e]);_85.removeClass(_85.body(),"dojoMove");_85.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_8f,e){},onMove:function(_90,_91,e){this.onMoving(_90,_91);var s=_90.node.style;s.left=_91.l+"px";s.top=_91.t+"px";this.onMoved(_90,_91);},onMoving:function(_92,_93){},onMoved:function(_94,_95){}});return _85.dnd.Moveable;});},"dojo/dnd/Mover":function(){define(["../main","../Evented","../touch","./common","./autoscroll"],function(_96,_97,_98){_96.declare("dojo.dnd.Mover",[_97],{constructor:function(_99,e,_9a){this.node=_96.byId(_99);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=_9a),d=_99.ownerDocument;this.events=[_96.connect(d,_98.move,this,"onFirstMove"),_96.connect(d,_98.move,this,"onMouseMove"),_96.connect(d,_98.release,this,"onMouseUp"),_96.connect(d,"ondragstart",_96.stopEvent),_96.connect(d.body,"onselectstart",_96.stopEvent)];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_96.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);_96.stopEvent(e);},onMouseUp:function(e){if(_96.isWebKit&&_96.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}_96.stopEvent(e);},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_96.marginBox(this.node);var b=_96.doc.body;var bs=_96.getComputedStyle(b);var bm=_96._getMarginBox(b,bs);var bc=_96._getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}_96.disconnect(this.events.shift());},destroy:function(){_96.forEach(this.events,_96.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});return _96.dnd.Mover;});},"dojo/dnd/common":function(){define(["../main"],function(_9b){_9b.getObject("dnd",true,_9b);_9b.dnd.getCopyKeyState=_9b.isCopyKey;_9b.dnd._uniqueId=0;_9b.dnd.getUniqueId=function(){var id;do{id=_9b._scopeName+"Unique"+(++_9b.dnd._uniqueId);}while(_9b.byId(id));return id;};_9b.dnd._empty={};_9b.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _9b.dnd;});},"dojo/dnd/autoscroll":function(){define(["../main","../window"],function(_9c){_9c.getObject("dnd",true,_9c);_9c.dnd.getViewport=_9c.window.getBox;_9c.dnd.V_TRIGGER_AUTOSCROLL=32;_9c.dnd.H_TRIGGER_AUTOSCROLL=32;_9c.dnd.V_AUTOSCROLL_VALUE=16;_9c.dnd.H_AUTOSCROLL_VALUE=16;_9c.dnd.autoScroll=function(e){var v=_9c.window.getBox(),dx=0,dy=0;if(e.clientX<_9c.dnd.H_TRIGGER_AUTOSCROLL){dx=-_9c.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_9c.dnd.H_TRIGGER_AUTOSCROLL){dx=_9c.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<_9c.dnd.V_TRIGGER_AUTOSCROLL){dy=-_9c.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_9c.dnd.V_TRIGGER_AUTOSCROLL){dy=_9c.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};_9c.dnd._validNodes={"div":1,"p":1,"td":1};_9c.dnd._validOverflow={"auto":1,"scroll":1};_9c.dnd.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_9d,_9e;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _9c.dnd._validNodes)){var s=_9c.getComputedStyle(n),_9f=(s.overflow.toLowerCase() in _9c.dnd._validOverflow),_a0=(s.overflowX.toLowerCase() in _9c.dnd._validOverflow),_a1=(s.overflowY.toLowerCase() in _9c.dnd._validOverflow);if(_9f||_a0||_a1){b=_9c._getContentBox(n,s);t=_9c.position(n,true);}if(_9f||_a0){w=Math.min(_9c.dnd.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(_9c.isWebKit||_9c.isOpera){rx+=_9c.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_9d=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_9f||_a1){h=Math.min(_9c.dnd.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(_9c.isWebKit||_9c.isOpera){ry+=_9c.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_9e=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_9c.dnd.autoScroll(e);};return _9c.dnd;});},"dojo/dnd/TimedMoveable":function(){define(["../main","./Moveable"],function(_a2){var _a3=_a2.dnd.Moveable.prototype.onMove;_a2.declare("dojo.dnd.TimedMoveable",_a2.dnd.Moveable,{timeout:40,constructor:function(_a4,_a5){if(!_a5){_a5={};}if(_a5.timeout&&typeof _a5.timeout=="number"&&_a5.timeout>=0){this.timeout=_a5.timeout;}},onMoveStop:function(_a6){if(_a6._timer){clearTimeout(_a6._timer);_a3.call(this,_a6,_a6._leftTop);}_a2.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_a7,_a8){_a7._leftTop=_a8;if(!_a7._timer){var _a9=this;_a7._timer=setTimeout(function(){_a7._timer=null;_a3.call(_a9,_a7,_a7._leftTop);},this.timeout);}}});return _a2.dnd.TimedMoveable;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/window"],function(_aa,_ab,_ac,_ad,_ae){return _ab("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_af){var res=[];_aa.forEach(_af||this.getChildren(),function(_b0){if("value" in _b0){res.push(_b0);}else{res=res.concat(this._getDescendantFormWidgets(_b0.getChildren()));}},this);return res;},reset:function(){_aa.forEach(this._getDescendantFormWidgets(),function(_b1){if(_b1.reset){_b1.reset();}});},validate:function(){var _b2=false;return _aa.every(_aa.map(this._getDescendantFormWidgets(),function(_b3){_b3._hasBeenBlurred=true;var _b4=_b3.disabled||!_b3.validate||_b3.validate();if(!_b4&&!_b2){_ae.scrollIntoView(_b3.containerNode||_b3.domNode);_b3.focus();_b2=true;}return _b4;}),function(_b5){return _b5;});},setValues:function(val){_ac.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_aa.forEach(this._getDescendantFormWidgets(),function(_b6){if(!_b6.name){return;}var _b7=map[_b6.name]||(map[_b6.name]=[]);_b7.push(_b6);});for(var _b8 in map){if(!map.hasOwnProperty(_b8)){continue;}var _b9=map[_b8],_ba=_ad.getObject(_b8,false,obj);if(_ba===undefined){continue;}if(!_ad.isArray(_ba)){_ba=[_ba];}if(typeof _b9[0].checked=="boolean"){_aa.forEach(_b9,function(w){w.set("value",_aa.indexOf(_ba,w.value)!=-1);});}else{if(_b9[0].multiple){_b9[0].set("value",_ba);}else{_aa.forEach(_b9,function(w,i){w.set("value",_ba[i]);});}}}},getValues:function(){_ac.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_aa.forEach(this._getDescendantFormWidgets(),function(_bb){var _bc=_bb.name;if(!_bc||_bb.disabled){return;}var _bd=_bb.get("value");if(typeof _bb.checked=="boolean"){if(/Radio/.test(_bb.declaredClass)){if(_bd!==false){_ad.setObject(_bc,_bd,obj);}else{_bd=_ad.getObject(_bc,false,obj);if(_bd===undefined){_ad.setObject(_bc,null,obj);}}}else{var ary=_ad.getObject(_bc,false,obj);if(!ary){ary=[];_ad.setObject(_bc,ary,obj);}if(_bd!==false){ary.push(_bd);}}}else{var _be=_ad.getObject(_bc,false,obj);if(typeof _be!="undefined"){if(_ad.isArray(_be)){_be.push(_bd);}else{_ad.setObject(_bc,[_be,_bd],obj);}}else{_ad.setObject(_bc,_bd,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _bf=_aa.map(this._descendants,function(w){return w.get("state")||"";});return _aa.indexOf(_bf,"Error")>=0?"Error":_aa.indexOf(_bf,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){_aa.forEach(this._childConnections||[],_ad.hitch(this,"disconnect"));_aa.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_c0){var _c1=this;this.disconnectChildren();this._descendants=this._getDescendantFormWidgets();var set=_c0?function(_c2,val){_c1[_c2]=val;}:_ad.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _c3=(this._childConnections=[]),_c4=(this._childWatches=[]);_aa.forEach(_aa.filter(this._descendants,function(_c5){return _c5.validate;}),function(_c6){_aa.forEach(["state","disabled"],function(_c7){_c4.push(_c6.watch(_c7,function(){_c1.set("state",_c1._getState());}));});});var _c8=function(){if(_c1._onChangeDelayTimer){clearTimeout(_c1._onChangeDelayTimer);}_c1._onChangeDelayTimer=setTimeout(function(){delete _c1._onChangeDelayTimer;_c1._set("value",_c1.get("value"));},10);};_aa.forEach(_aa.filter(this._descendants,function(_c9){return _c9.onChange;}),function(_ca){_c3.push(_c1.connect(_ca,"onChange",_c8));_c4.push(_ca.watch("disabled",_c8));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(_cb,_cc,_cd){this.onValidStateChange(_cd=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_ce,_cf){return _ce("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _d0=_cf._getTabNavigable(this.containerNode);this._firstFocusItem=_d0.lowest||_d0.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_d0.last||_d0.highest||this._firstFocusItem;}});});},"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/window","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_d1,_d2,win,_d3,_d4,_d5,_d6){return _d1("dijit.DialogUnderlay",[_d4,_d5],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_d2.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_d7){this.node.className="dijitDialogUnderlay "+_d7;this._set("class",_d7);},postCreate:function(){win.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _d8=_d3.getBox();os.top=_d8.t+"px";os.left=_d8.l+"px";is.width=_d8.w+"px";is.height=_d8.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _d6(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/_base/window","dojo/_base/xhr","dojo/i18n"],function(_d9,_da,_db,_dc,_dd,_de,_df,_e0,_e1,_e2,dom,_e3,win,xhr,_e4){return _e1("dijit.layout.ContentPane",[_db,_dc],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_d9._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,create:function(_e5,_e6){if((!_e5||!_e5.template)&&_e6&&!("href" in _e5)&&!("content" in _e5)){var df=win.doc.createDocumentFragment();_e6=dom.byId(_e6);while(_e6.firstChild){df.appendChild(_e6.firstChild);}_e5=_da.delegate(_e5,{content:df});}this.inherited(arguments,[_e5,_e6]);},postMixInProperties:function(){this.inherited(arguments);var _e7=_e4.getLocalization("dijit","loading",this.lang);this.loadingMessage=_dd.substitute(this.loadingMessage,_e7);this.errorMessage=_dd.substitute(this.errorMessage,_e7);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!_e3.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_e0.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&_da.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(_e8){_d9.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",_e8);},_setHrefAttr:function(_e9){this.cancel();this.onLoadDeferred=new _e2(_da.hitch(this,"cancel"));this.onLoadDeferred.addCallback(_da.hitch(this,"onLoad"));this._set("href",_e9);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(_ea){_d9.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",_ea);},_setContentAttr:function(_eb){this._set("href","");this.cancel();this.onLoadDeferred=new _e2(_da.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.addCallback(_da.hitch(this,"onLoad"));}this._setContent(_eb||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},uninitialize:function(){if(this._beingDestroyed){this.cancel();}this.inherited(arguments);},destroyRecursive:function(_ec){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _e2(_da.hitch(this,"cancel"));this.onLoadDeferred.addCallback(_da.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var _ed=this;var _ee={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(_da.isObject(this.ioArgs)){_da.mixin(_ee,this.ioArgs);}var _ef=(this._xhrDfd=(this.ioMethod||xhr.get)(_ee));_ef.addCallback(function(_f0){try{_ed._isDownloaded=true;_ed._setContent(_f0,false);_ed.onDownloadEnd();}catch(err){_ed._onError("Content",err);}delete _ed._xhrDfd;return _f0;});_ef.addErrback(function(err){if(!_ef.canceled){_ed._onError("Download",err);}delete _ed._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(_f1){this._set("isLoaded",true);try{this.onLoadDeferred.callback(_f1);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_f2){if(this.isLoaded){this._onUnloadHandler();}var _f3=this._contentSetter;_e0.forEach(this.getChildren(),function(_f4){if(_f4.destroyRecursive){_f4.destroyRecursive(_f2);}});if(_f3){_e0.forEach(_f3.parseResults,function(_f5){if(_f5.destroyRecursive&&_f5.domNode&&_f5.domNode.parentNode==win.body()){_f5.destroyRecursive(_f2);}});delete _f3.parseResults;}if(!_f2){_de._emptyNode(this.containerNode);}delete this._singleChild;},_setContent:function(_f6,_f7){this.destroyDescendants();var _f8=this._contentSetter;if(!(_f8&&_f8 instanceof _de._ContentSetter)){_f8=this._contentSetter=new _de._ContentSetter({node:this.containerNode,_onError:_da.hitch(this,this._onError),onContentError:_da.hitch(this,function(e){var _f9=this.onContentError(e);try{this.containerNode.innerHTML=_f9;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _fa=_da.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!_f6.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});_f8.set((_da.isObject(_f6)&&_f6.domNode)?_f6.domNode:_f6,_fa);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_f7){if(this._started){delete this._started;this.startup();this._scheduleLayout();}this._onLoadHandler(_f6);}},_onError:function(_fb,err,_fc){this.onLoadDeferred.errback(err);var _fd=this["on"+_fb+"Error"].call(this,err);if(_fc){console.error(_fc,err);}else{if(_fd){this._setContent(_fd,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/query","dojo/_base/sniff","dojo/_base/window","../registry","./utils","../_Contained"],function(_fe,_ff,_100,_101,_102,lang,_103,has,win,_104,_105,_106){return _ff("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _107=this.getParent();this._childOfLayoutWidget=_107&&_107.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.connect(has("ie")?this.domNode:win.global,"onresize",function(){this._needLayout=!this._childOfLayoutWidget;this.resize();});}},_checkIfSingleChild:function(){var _108=_103("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_109=_108.filter(function(node){return _100.has(node,"data-dojo-type")||_100.has(node,"dojoType")||_100.has(node,"widgetId");}),_10a=_fe.filter(_109.map(_104.byNode),function(_10b){return _10b&&_10b.domNode&&_10b.resize;});if(_108.length==_109.length&&_10a.length==1){this._singleChild=_10a[0];}else{delete this._singleChild;}_101.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_10c,_10d){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_10c,_10d);},_scheduleLayout:function(_10e,_10f){if(this._isShown()){this._layout(_10e,_10f);}else{this._needLayout=true;this._changeSize=_10e;this._resultSize=_10f;}},_layout:function(_110,_111){if(_110){_102.setMarginBox(this.domNode,_110);}var cn=this.containerNode;if(cn===this.domNode){var mb=_111||{};lang.mixin(mb,_110||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_102.getMarginBox(cn),mb);}this._contentBox=_105.marginBox2contentBox(cn,mb);}else{this._contentBox=_102.getContentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_102.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_fe.forEach(this.getChildren(),function(_112){if(_112.resize){_112.resize();}});}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_113=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_101.contains(node,"dijitHidden")&&_113&&_113.style&&(_113.style.display!="none");}}},_onShow:function(){if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);this._wasShown=true;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang",".."],function(_114,_115,_116,_117,lang,_118){var _119=lang.getObject("layout",true,_118);_119.marginBox2contentBox=function(node,mb){var cs=_117.getComputedStyle(node);var me=_116.getMarginExtents(node,cs);var pb=_116.getPadBorderExtents(node,cs);return {l:_117.toPixelValue(node,cs.paddingLeft),t:_117.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _11a(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_11b,dim){var _11c=_11b.resize?_11b.resize(dim):_116.setMarginBox(_11b.domNode,dim);if(_11c){lang.mixin(_11b,_11c);}else{lang.mixin(_11b,_116.getMarginBox(_11b.domNode));lang.mixin(_11b,dim);}};_119.layoutChildren=function(_11d,dim,_11e,_11f,_120){dim=lang.mixin({},dim);_115.add(_11d,"dijitLayoutContainer");_11e=_114.filter(_11e,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_114.filter(_11e,function(item){return item.region=="center"||item.layoutAlign=="client";}));_114.forEach(_11e,function(_121){var elm=_121.domNode,pos=(_121.region||_121.layoutAlign);if(!pos){throw new Error("No region setting for "+_121.id);}var _122=elm.style;_122.left=dim.l+"px";_122.top=dim.t+"px";_122.position="absolute";_115.add(elm,"dijitAlign"+_11a(pos));var _123={};if(_11f&&_11f==_121.id){_123[_121.region=="top"||_121.region=="bottom"?"h":"w"]=_120;}if(pos=="top"||pos=="bottom"){_123.w=dim.w;size(_121,_123);dim.h-=_121.h;if(pos=="top"){dim.t+=_121.h;}else{_122.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_123.h=dim.h;size(_121,_123);dim.w-=_121.w;if(pos=="left"){dim.l+=_121.w;}else{_122.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_121,dim);}}}});};return {marginBox2contentBox:_119.marginBox2contentBox,layoutChildren:_119.layoutChildren};});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(dojo,lang,_124,_125,dom,_126,_127){lang.getObject("html",true,dojo);var _128=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=_126.empty;dojo.html._setNodeContent=function(node,cont){_126.empty(node);if(cont){if(typeof cont=="string"){cont=_126.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _129=cont.length,i=0;i<cont.length;i=_129==cont.length?i+1:0){_126.place(cont[i],node,"last");}}else{_126.place(cont,node,"last");}}return node;};_125("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_12a,node){lang.mixin(this,_12a||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_128++].join("_");}},set:function(cont,_12b){if(undefined!==cont){this.content=cont;}if(_12b){this._mixin(_12b);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _12c=this.onContentError(e);try{node.innerHTML=_12c;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){_124.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _12d=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_12d){cont=_12d[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_12e){var _12f={},key;for(key in _12e){if(key in _12f){continue;}this[key]=_12e[key];}},_parse:function(){var _130=this.node;try{var _131={};_124.forEach(["dir","lang","textDir"],function(name){if(this[name]){_131[name]=this[name];}},this);this.parseResults=_127.parse({rootNode:_130,noStart:!this.startup,inherited:_131,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_132){var _133=this["on"+type+"Error"].call(this,err);if(_132){console.error(_132,err);}else{if(_133){dojo.html._setNodeContent(this.node,_133,true);}}}});dojo.html.set=function(node,cont,_134){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_134){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(lang.mixin(_134,{content:cont,node:node}));return op.set();}};return dojo.html;});},"dijit/nls/loading":function(){define({root:({loadingState:"Loading...",errorState:"Sorry, an error occurred"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","dijit/nls/common":function(){define({root:({buttonOk:"OK",buttonCancel:"Cancel",buttonSave:"Save",itemClose:"Close"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","."],function(_135,_136,_137,keys,lang,_138,_139,_13a,_13b,_13c,_13d,_13e){return _135("dijit.TooltipDialog",[_139,_13c,_13b,_13a],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_13d,_setTitleAttr:function(_13f){this.containerNode.title=_13f;this._set("title",_13f);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_140,_141){var newC="dijitTooltipAB"+(_141.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_141.charAt(0)=="T"?"Below":"Above");_136.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_138.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.containerNode);}var _142=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){setTimeout(lang.hitch(this,"onCancel"),0);_137.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_142){_138.focus(this._lastFocusItem);}_137.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_142){_138.focus(this._firstFocusItem);}_137.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"url:dijit/templates/TooltipDialog.html":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\"></div>\n</div>\n","dijit/Editor":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/i18n","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/topic","dojo/_base/window","./_base/focus","./_Container","./Toolbar","./ToolbarSeparator","./layout/_LayoutWidget","./form/ToggleButton","./_editor/_Plugin","./_editor/plugins/EnterKeyHandling","./_editor/html","./_editor/range","./_editor/RichText",".","dojo/i18n!./_editor/nls/commands"],function(_143,_144,_145,i18n,_146,_147,_148,_149,_14a,keys,lang,has,_14b,_14c,win,_14d,_14e,_14f,_150,_151,_152,_153,_154,html,_155,_156,_157){var _158=_144("dijit.Editor",_156,{plugins:null,extraPlugins:null,constructor:function(){if(!lang.isArray(this.plugins)){this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull",_154];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _145();this.inherited(arguments);},postCreate:function(){this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);if(lang.isArray(this.extraPlugins)){this.plugins=this.plugins.concat(this.extraPlugins);}this.inherited(arguments);this.commands=i18n.getLocalization("dijit._editor","commands",this.lang);if(!this.toolbar){this.toolbar=new _14f({dir:this.dir,lang:this.lang});this.header.appendChild(this.toolbar.domNode);}_143.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.callback(true);_147.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_147.add(this.iframe,"dijitEditorIFrame");_146.set(this.iframe,"allowTransparency",true);if(has("webkit")){_149.set(this.domNode,"KhtmlUserSelect","none");}this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_143.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_159,_15a){var args=lang.isString(_159)?{name:_159}:lang.isFunction(_159)?{ctor:_159}:_159;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_153.registry[args.name]){o.plugin=_153.registry[args.name](args);}else{_14c.publish(_157._scopeName+".Editor.getPlugin",o);}}if(!o.plugin){var pc=args.ctor||lang.getObject(args.name);if(pc){o.plugin=new pc(args);}}if(!o.plugin){console.warn("Cannot find plugin",_159);return;}_159=o.plugin;}if(arguments.length>1){this._plugins[_15a]=_159;}else{this._plugins.push(_159);}_159.setEditor(this);if(lang.isFunction(_159.setToolbar)){_159.setToolbar(this.toolbar);}},resize:function(size){if(size){_151.prototype.resize.apply(this,arguments);}},layout:function(){var _15b=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_148.getPadBorderExtents(this.iframe.parentNode).h+_148.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_15b+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _15c;var b=this.document.body;var _15d=b.clientWidth;var _15e=b.clientHeight;var _15f=b.clientLeft;var _160=b.offsetWidth;var _161=b.offsetHeight;var _162=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_15d<_160&&e.x>_15d&&e.x<_160){_15c=true;}}else{if(e.x<_15f&&e.x>_162){_15c=true;}}if(!_15c){if(_15e<_161&&e.y>_15e&&e.y<_161){_15c=true;}}if(!_15c){delete this._cursorToStart;delete this._savedSelection;if(e.target.tagName=="BODY"){setTimeout(lang.hitch(this,"placeCursorAtEnd"),0);}this.inherited(arguments);}},onBeforeActivate:function(){this._restoreSelection();},onBeforeDeactivate:function(e){if(this.customUndo){this.endEditing(true);}if(e.target.tagName!="BODY"){this._saveSelection();}},customUndo:true,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){clearTimeout(this._editTimer);}this._editTimer=setTimeout(lang.hitch(this,this.endEditing),this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{if(this.customUndo){this.endEditing();this._beginEditing();}var r=this.inherited(arguments);if(this.customUndo){this._endEditing();}return r;}},_pasteImpl:function(){return this._clipboardCommand("paste");},_cutImpl:function(){return this._clipboardCommand("cut");},_copyImpl:function(){return this._clipboardCommand("copy");},_clipboardCommand:function(cmd){var r;try{r=this.document.execCommand(cmd,false,null);if(has("webkit")&&!r){throw {code:1011};}}catch(e){if(e.code==1011){var sub=_14b.substitute,_163={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_163[cmd]])]));}r=false;}return r;},queryCommandEnabled:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return cmd=="undo"?(this._steps.length>1):(this._undoedSteps.length>0);}else{return this.inherited(arguments);}},_moveToBookmark:function(b){var _164=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_165,_166,sel;if(mark){if(has("ie")<9){if(lang.isArray(mark)){_164=[];_143.forEach(mark,function(n){_164.push(_155.getNode(n,this.editNode));},this);win.withGlobal(this.window,"moveToBookmark",_157,[{mark:_164,isCollapsed:col}]);}else{if(mark.startContainer&&mark.endContainer){sel=_155.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_155.create(this.window);_165=_155.getNode(mark.startContainer,this.editNode);_166=_155.getNode(mark.endContainer,this.editNode);if(_165&&_166){r.setStart(_165,mark.startOffset);r.setEnd(_166,mark.endOffset);sel.addRange(r);}}}}}else{sel=_155.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_155.create(this.window);_165=_155.getNode(mark.startContainer,this.editNode);_166=_155.getNode(mark.endContainer,this.editNode);if(_165&&_166){r.setStart(_165,mark.startOffset);r.setEnd(_166,mark.endOffset);sel.addRange(r);}}}}},_changeToStep:function(from,to){this.setValue(to.text);var b=to.bookmark;if(!b){return;}this._moveToBookmark(b);},undo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._steps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(s,this._steps[this._steps.length-1]);this._undoedSteps.push(s);this.onDisplayChanged();delete this._undoRedoActive;ret=true;}delete this._undoRedoActive;}return ret;},redo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._undoedSteps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(this._steps[this._steps.length-1],s);this._steps.push(s);this.onDisplayChanged();ret=true;}delete this._undoRedoActive;}return ret;},endEditing:function(_167){if(this._editTimer){clearTimeout(this._editTimer);}if(this._inEditing){this._endEditing(_167);this._inEditing=false;}},_getBookmark:function(){var b=win.withGlobal(this.window,_14d.getBookmark);var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9){var sel=_155.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _168;if(sel.rangeCount){_168=sel.getRangeAt(0);}if(_168){b.mark=_168.cloneRange();}else{b.mark=win.withGlobal(this.window,_14d.getBookmark);}}}else{_143.forEach(b.mark,function(n){tmp.push(_155.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_155.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_155.getIndex(b.mark.endContainer,this.editNode).o,endOffset:b.mark.endOffset};}}catch(e){b.mark=null;}}return b;},_beginEditing:function(){if(this._steps.length===0){this._steps.push({"text":html.getChildrenHtml(this.editNode),"bookmark":this._getBookmark()});}},_endEditing:function(){var v=html.getChildrenHtml(this.editNode);this._undoedSteps=[];this._steps.push({text:v,bookmark:this._getBookmark()});},onKeyDown:function(e){if(!has("ie")&&!this.iframe&&e.keyCode==keys.TAB&&!this.tabIndent){this._saveSelection();}if(!this.customUndo){this.inherited(arguments);return;}var k=e.keyCode;if(e.ctrlKey&&!e.altKey){if(k==90||k==122){_14a.stop(e);this.undo();return;}else{if(k==89||k==121){_14a.stop(e);this.redo();return;}}}this.inherited(arguments);switch(k){case keys.ENTER:case keys.BACKSPACE:case keys.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");setTimeout(lang.hitch(this,this.endEditing),1);}else{this.beginEditing("paste");setTimeout(lang.hitch(this,this.endEditing),1);}break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCode<keys.F1||e.keyCode>keys.F15)){this.beginEditing();break;}case keys.ALT:this.endEditing();break;case keys.UP_ARROW:case keys.DOWN_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:case keys.HOME:case keys.END:case keys.PAGE_UP:case keys.PAGE_DOWN:this.endEditing(true);break;case keys.CTRL:case keys.SHIFT:case keys.TAB:break;}},_onBlur:function(){this.inherited(arguments);this.endEditing(true);},_saveSelection:function(){try{this._savedSelection=this._getBookmark();}catch(e){}},_restoreSelection:function(){if(this._savedSelection){delete this._cursorToStart;if(win.withGlobal(this.window,"isCollapsed",_157)){this._moveToBookmark(this._savedSelection);}delete this._savedSelection;}},onClick:function(){this.endEditing(true);this.inherited(arguments);},replaceValue:function(html){if(!this.customUndo){this.inherited(arguments);}else{if(this.isClosed){this.setValue(html);}else{this.beginEditing();if(!html){html=" ";}this.setValue(html);this.endEditing();}}},_setDisabledAttr:function(_169){var _16a=lang.hitch(this,function(){if((!this.disabled&&_169)||(!this._buttonEnabledPlugins&&_169)){_143.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_169){_143.forEach(this._plugins,function(p){p.set("disabled",false);});}}});this.setValueDeferred.addCallback(_16a);this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_149.set(this.document.body,"color",_149.get(this.iframe,"color"));}}catch(e){}}});function _16b(args){return new _153({command:args.name});};function _16c(args){return new _153({buttonClass:_152,command:args.name});};lang.mixin(_153.registry,{"undo":_16b,"redo":_16b,"cut":_16b,"copy":_16b,"paste":_16b,"insertOrderedList":_16b,"insertUnorderedList":_16b,"indent":_16b,"outdent":_16b,"justifyCenter":_16b,"justifyFull":_16b,"justifyLeft":_16b,"justifyRight":_16b,"delete":_16b,"selectAll":_16b,"removeFormat":_16b,"unlink":_16b,"insertHorizontalRule":_16b,"bold":_16c,"italic":_16c,"underline":_16c,"strikethrough":_16c,"subscript":_16c,"superscript":_16c,"|":function(){return new _153({button:new _150(),setEditor:function(_16d){this.editor=_16d;}});}});return _158;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/_base/kernel","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_16e,_16f,_170,keys,_171,_172,_173,_174){if(!_170.isAsync){_171(0,function(){var _175=["dijit/ToolbarSeparator"];_16e(_175);});}return _16f("dijit.Toolbar",[_172,_174,_173],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",postCreate:function(){this.inherited(arguments);this.connectKeyNavHandlers(this.isLeftToRight()?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],this.isLeftToRight()?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);}});});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/kernel","./_Container","./_FocusMixin","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/event","dojo/dom-attr","dojo/_base/lang"],function(_176,_177,_178,_179,keys,_17a,_17b,_17c,lang){return _17a("dijit._KeyNavContainer",[_178,_177],{tabIndex:"0",connectKeyNavHandlers:function(_17d,_17e){var _17f=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_179.forEach(_17d,function(code){_17f[code]=prev;});_179.forEach(_17e,function(code){_17f[code]=next;});_17f[keys.HOME]=lang.hitch(this,"focusFirstChild");_17f[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_176.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_179.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_180,_181){this.inherited(arguments);this._startupChild(_180);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},focusChild:function(_182,last){if(!_182){return;}if(this.focusedChild&&_182!==this.focusedChild){this._onChildBlur(this.focusedChild);}_182.set("tabIndex",this.tabIndex);_182.focus(last?"end":"start");this._set("focusedChild",_182);},_startupChild:function(_183){_183.set("tabIndex","-1");this.connect(_183,"_onFocus",function(){_183.set("tabIndex",this.tabIndex);});this.connect(_183,"_onBlur",function(){_183.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_17c.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_17c.set(this.domNode,"tabIndex",this.tabIndex);}this.focusedChild=null;this.inherited(arguments);},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();_17b.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_184,dir){if(_184){_184=this._getSiblingOfChild(_184,dir);}var _185=this.getChildren();for(var i=0;i<_185.length;i++){if(!_184){_184=_185[(dir>0)?0:(_185.length-1)];}if(_184.isFocusable()){return _184;}_184=this._getSiblingOfChild(_184,dir);}return null;}});});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_186,dom,_187,_188){return _186("dijit.ToolbarSeparator",[_187,_188],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_189,_18a,_18b,_18c){return _189("dijit.form.ToggleButton",[_18b,_18c],{baseClass:"dijitToggleButton",setChecked:function(_18d){_18a.deprecated("setChecked("+_18d+") is deprecated. Use set('checked',"+_18d+") instead.","","2.0");this.set("checked",_18d);}});});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_18e,_18f,_190,_191,lang,_192,_193,_194,_195){if(!_191.isAsync){_192(0,function(){var _196=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_18e(_196);});}return _18f("dijit.form.Button",[_193,_194],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_195,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();}}return ok;},_fillContent:function(_197){if(_197&&(!this.params||!("label" in this.params))){var _198=lang.trim(_197.innerHTML);if(_198){this.label=_198;}}},_setShowLabelAttr:function(val){if(this.containerNode){_190.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_199){_191.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_199);},_setLabelAttr:function(_19a){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_19b,dom,_19c,_19d){return _19b("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_19c.stop(e);return false;}var _19e=this.onClick(e)===false;if(!_19e&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _19f=_19d.byNode(node);if(_19f&&typeof _19f._onSubmit=="function"){_19f._onSubmit(e);_19e=true;break;}}}if(_19e){e.preventDefault();}return !_19e;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_1a0){this._set("label",_1a0);(this.containerNode||this.focusNode).innerHTML=_1a0;}});});},"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">●</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_1a1,_1a2){return _1a1("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _1a3=this.checked;this._set("checked",!_1a3);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_1a3);return ret;},_setCheckedAttr:function(_1a4,_1a5){this._set("checked",_1a4);_1a2.set(this.focusNode||this.domNode,"checked",_1a4);(this.focusNode||this.domNode).setAttribute(this._aria_attr,_1a4?"true":"false");this._handleOnChange(_1a4,_1a5);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../form/Button"],function(_1a6,_1a7,lang,_1a8){var _1a9=_1a7("dijit._editor._Plugin",null,{constructor:function(args){this.params=args||{};lang.mixin(this,this.params);this._connects=[];this._attrPairNames={};},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:true,buttonClass:_1a8,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _1aa=this.getLabel(this.command),_1ab=this.editor,_1ac=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _1ad=lang.mixin({label:_1aa,dir:_1ab.dir,lang:_1ab.lang,showLabel:false,iconClass:_1ac,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});this.button=new this.buttonClass(_1ad);}}if(this.get("disabled")&&this.button){this.button.set("disabled",this.get("disabled"));}},destroy:function(){var h;while(h=this._connects.pop()){h.remove();}if(this.dropDown){this.dropDown.destroyRecursive();}},connect:function(o,f,tf){this._connects.push(_1a6.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_1ae,_1af;if(!e||!e.isLoaded||!c.length){return;}var _1b0=this.get("disabled");if(this.button){try{_1af=!_1b0&&e.queryCommandEnabled(c);if(this.enabled!==_1af){this.enabled=_1af;this.button.set("disabled",!_1af);}if(typeof this.button.checked=="boolean"){_1ae=e.queryCommandState(c);if(this.checked!==_1ae){this.checked=_1ae;this.button.set("checked",e.queryCommandState(c));}}}catch(e){}}},setEditor:function(_1b1){this.editor=_1b1;this._initButton();if(this.button&&this.useDefaultCommand){if(this.editor.queryCommandAvailable(this.command)){this.connect(this.button,"onClick",lang.hitch(this.editor,"execCommand",this.command,this.commandArg));}else{this.button.domNode.style.display="none";}}this.connect(this.editor,"onNormalizedDisplayChanged","updateState");},setToolbar:function(_1b2){if(this.button){_1b2.addChild(this.button);}},set:function(name,_1b3){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _1b4=this._getAttrNames(name);if(this[_1b4.s]){var _1b5=this[_1b4.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_1b3);}return _1b5||this;},get:function(name){var _1b6=this._getAttrNames(name);return this[_1b6.g]?this[_1b6.g]():this[name];},_setDisabledAttr:function(_1b7){this.disabled=_1b7;this.updateState();},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(name,_1b8){this[name]=_1b8;}});_1a9.registry={};return _1a9;});},"dijit/_editor/plugins/EnterKeyHandling":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/window","../_Plugin","../RichText","../range","../selection"],function(_1b9,_1ba,_1bb,keys,lang,has,win,_1bc,_1bd,_1be,_1bf,_1c0){return _1b9("dijit._editor.plugins.EnterKeyHandling",_1bd,{blockNodeForEnter:"BR",constructor:function(args){if(args){if("blockNodeForEnter" in args){args.blockNodeForEnter=args.blockNodeForEnter.toUpperCase();}lang.mixin(this,args);}},setEditor:function(_1c1){if(this.editor===_1c1){return;}this.editor=_1c1;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_1c1.onLoadDeferred.addCallback(lang.hitch(this,function(d){this.connect(_1c1.document,"onkeypress",function(e){if(e.charOrCode==keys.ENTER){var ne=lang.mixin({},e);ne.shiftKey=true;if(!this.handleEnterKey(ne)){_1bb.stop(e);}}});return d;}));}else{if(this.blockNodeForEnter){var h=lang.hitch(this,this.handleEnterKey);_1c1.addKeyHandler(13,0,0,h);_1c1.addKeyHandler(13,0,1,h);this.connect(this.editor,"onKeyPressed","onKeyPressed");}}},onKeyPressed:function(){if(this._checkListLater){if(win.withGlobal(this.editor.window,"isCollapsed",dijit)){var _1c2=win.withGlobal(this.editor.window,"getAncestorElement",_1c3,["LI"]);if(!_1c2){_1be.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _1c4=win.withGlobal(this.editor.window,"getAncestorElement",_1c3,[this.blockNodeForEnter]);if(_1c4){_1c4.innerHTML=this.bogusHtmlContent;if(has("ie")){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();}}else{console.error("onKeyPressed: Cannot find the new block node");}}else{if(has("mozilla")){if(_1c2.parentNode.parentNode.nodeName=="LI"){_1c2=_1c2.parentNode.parentNode;}}var fc=_1c2.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_1c2.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _1c5=_1bf.create(this.editor.window);_1c5.setStart(_1c2.firstChild,0);var _1c3=_1bf.getSelection(this.editor.window,true);_1c3.removeAllRanges();_1c3.addRange(_1c5);}}}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 _1c6,_1c7,_1c8,_1c9,_1ca,_1cb,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _1cc=win.withGlobal(this.editor.window,"getParentElement",_1c0);var _1cd=_1bf.getAncestor(_1cc,this.blockNodes);if(_1cd){if(_1cd.tagName=="LI"){return true;}_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);if(!_1c7.collapsed){_1c7.deleteContents();_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);}if(_1bf.atBeginningOfContainer(_1cd,_1c7.startContainer,_1c7.startOffset)){br=doc.createElement("br");_1c8=_1bf.create(this.editor.window);_1cd.insertBefore(br,_1cd.firstChild);_1c8.setStartAfter(br);_1c6.removeAllRanges();_1c6.addRange(_1c8);}else{if(_1bf.atEndOfContainer(_1cd,_1c7.startContainer,_1c7.startOffset)){_1c8=_1bf.create(this.editor.window);br=doc.createElement("br");_1cd.appendChild(br);_1cd.appendChild(doc.createTextNode(" "));_1c8.setStart(_1cd.lastChild,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);}else{rs=_1c7.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;win.withGlobal(this.editor.window,function(){_1c9=doc.createTextNode(txt.substring(0,_1c7.startOffset));_1ca=doc.createTextNode(txt.substring(_1c7.startOffset));_1cb=doc.createElement("br");if(_1ca.nodeValue==""&&has("webkit")){_1ca=doc.createTextNode(" ");}_1ba.place(_1c9,rs,"after");_1ba.place(_1cb,_1c9,"after");_1ba.place(_1ca,_1cb,"after");_1ba.destroy(rs);_1c8=_1bf.create();_1c8.setStart(_1ca,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);});return false;}return true;}}}else{_1c6=_1bf.getSelection(this.editor.window);if(_1c6.rangeCount){_1c7=_1c6.getRangeAt(0);if(_1c7&&_1c7.startContainer){if(!_1c7.collapsed){_1c7.deleteContents();_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);}rs=_1c7.startContainer;if(rs&&rs.nodeType==3){win.withGlobal(this.editor.window,lang.hitch(this,function(){var _1ce=false;var _1cf=_1c7.startOffset;if(rs.length<_1cf){ret=this._adjustNodeAndOffset(rs,_1cf);rs=ret.node;_1cf=ret.offset;}txt=rs.nodeValue;_1c9=doc.createTextNode(txt.substring(0,_1cf));_1ca=doc.createTextNode(txt.substring(_1cf));_1cb=doc.createElement("br");if(!_1ca.length){_1ca=doc.createTextNode(" ");_1ce=true;}if(_1c9.length){_1ba.place(_1c9,rs,"after");}else{_1c9=rs;}_1ba.place(_1cb,_1c9,"after");_1ba.place(_1ca,_1cb,"after");_1ba.destroy(rs);_1c8=_1bf.create();_1c8.setStart(_1ca,0);_1c8.setEnd(_1ca,_1ca.length);_1c6.removeAllRanges();_1c6.addRange(_1c8);if(_1ce&&!has("webkit")){_1c0.remove();}else{_1c0.collapse(true);}}));}else{var _1d0;if(_1c7.startOffset>=0){_1d0=rs.childNodes[_1c7.startOffset];}win.withGlobal(this.editor.window,lang.hitch(this,function(){var _1d1=doc.createElement("br");var _1d2=doc.createTextNode(" ");if(!_1d0){rs.appendChild(_1d1);rs.appendChild(_1d2);}else{_1ba.place(_1d1,_1d0,"before");_1ba.place(_1d2,_1d1,"after");}_1c8=_1bf.create(win.global);_1c8.setStart(_1d2,0);_1c8.setEnd(_1d2,_1d2.length);_1c6.removeAllRanges();_1c6.addRange(_1c8);_1c0.collapse(true);}));}}}else{_1be.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _1d3=true;_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);if(!_1c7.collapsed){_1c7.deleteContents();_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);}var _1d4=_1bf.getBlockAncestor(_1c7.endContainer,null,this.editor.editNode);var _1d5=_1d4.blockNode;if((this._checkListLater=(_1d5&&(_1d5.nodeName=="LI"||_1d5.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_1d5;}if(/^(\s| | |\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s| | |\xA0)<\/span>)?(<br>)?$/.test(_1d5.innerHTML)){_1d5.innerHTML="";if(has("webkit")){_1c8=_1bf.create(this.editor.window);_1c8.setStart(_1d5,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);}this._checkListLater=false;}return true;}if(!_1d4.blockNode||_1d4.blockNode===this.editor.editNode){try{_1be.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_1d4={blockNode:win.withGlobal(this.editor.window,"getAncestorElement",_1c0,[this.blockNodeForEnter]),blockContainer:this.editor.editNode};if(_1d4.blockNode){if(_1d4.blockNode!=this.editor.editNode&&(!(_1d4.blockNode.textContent||_1d4.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_1d4.blockNode);return false;}}else{_1d4.blockNode=this.editor.editNode;}_1c6=_1bf.getSelection(this.editor.window);_1c7=_1c6.getRangeAt(0);}var _1d6=doc.createElement(this.blockNodeForEnter);_1d6.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_1d4.blockNode);var _1d7=_1c7.endOffset;var node=_1c7.endContainer;if(node.length<_1d7){var ret=this._adjustNodeAndOffset(node,_1d7);node=ret.node;_1d7=ret.offset;}if(_1bf.atEndOfContainer(_1d4.blockNode,node,_1d7)){if(_1d4.blockNode===_1d4.blockContainer){_1d4.blockNode.appendChild(_1d6);}else{_1ba.place(_1d6,_1d4.blockNode,"after");}_1d3=false;_1c8=_1bf.create(this.editor.window);_1c8.setStart(_1d6,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);if(this.editor.height){_1bc.scrollIntoView(_1d6);}}else{if(_1bf.atBeginningOfContainer(_1d4.blockNode,_1c7.startContainer,_1c7.startOffset)){_1ba.place(_1d6,_1d4.blockNode,_1d4.blockNode===_1d4.blockContainer?"first":"before");if(_1d6.nextSibling&&this.editor.height){_1c8=_1bf.create(this.editor.window);_1c8.setStart(_1d6.nextSibling,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);_1bc.scrollIntoView(_1d6.nextSibling);}_1d3=false;}else{if(_1d4.blockNode===_1d4.blockContainer){_1d4.blockNode.appendChild(_1d6);}else{_1ba.place(_1d6,_1d4.blockNode,"after");}_1d3=false;if(_1d4.blockNode.style){if(_1d6.style){if(_1d4.blockNode.style.cssText){_1d6.style.cssText=_1d4.blockNode.style.cssText;}}}rs=_1c7.startContainer;var _1d8;if(rs&&rs.nodeType==3){var _1d9,_1da;_1d7=_1c7.endOffset;if(rs.length<_1d7){ret=this._adjustNodeAndOffset(rs,_1d7);rs=ret.node;_1d7=ret.offset;}txt=rs.nodeValue;_1c9=doc.createTextNode(txt.substring(0,_1d7));_1ca=doc.createTextNode(txt.substring(_1d7,txt.length));_1ba.place(_1c9,rs,"before");_1ba.place(_1ca,rs,"after");_1ba.destroy(rs);var _1db=_1c9.parentNode;while(_1db!==_1d4.blockNode){var tg=_1db.tagName;var _1dc=doc.createElement(tg);if(_1db.style){if(_1dc.style){if(_1db.style.cssText){_1dc.style.cssText=_1db.style.cssText;}}}if(_1db.tagName==="FONT"){if(_1db.color){_1dc.color=_1db.color;}if(_1db.face){_1dc.face=_1db.face;}if(_1db.size){_1dc.size=_1db.size;}}_1d9=_1ca;while(_1d9){_1da=_1d9.nextSibling;_1dc.appendChild(_1d9);_1d9=_1da;}_1ba.place(_1dc,_1db,"after");_1c9=_1db;_1ca=_1dc;_1db=_1db.parentNode;}_1d9=_1ca;if(_1d9.nodeType==1||(_1d9.nodeType==3&&_1d9.nodeValue)){_1d6.innerHTML="";}_1d8=_1d9;while(_1d9){_1da=_1d9.nextSibling;_1d6.appendChild(_1d9);_1d9=_1da;}}_1c8=_1bf.create(this.editor.window);var _1dd;var _1de=_1d8;if(this.blockNodeForEnter!=="BR"){while(_1de){_1dd=_1de;_1da=_1de.firstChild;_1de=_1da;}if(_1dd&&_1dd.parentNode){_1d6=_1dd.parentNode;_1c8.setStart(_1d6,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);if(this.editor.height){_1bc.scrollIntoView(_1d6);}if(has("mozilla")){this._pressedEnterInBlock=_1d4.blockNode;}}else{_1d3=true;}}else{_1c8.setStart(_1d6,0);_1c6.removeAllRanges();_1c6.addRange(_1c8);if(this.editor.height){_1bc.scrollIntoView(_1d6);}if(has("mozilla")){this._pressedEnterInBlock=_1d4.blockNode;}}}}return _1d3;},_adjustNodeAndOffset:function(node,_1df){while(node.length<_1df&&node.nextSibling&&node.nextSibling.nodeType==3){_1df=_1df-node.length;node=node.nextSibling;}return {"node":node,"offset":_1df};},removeTrailingBr:function(_1e0){var para=/P|DIV|LI/i.test(_1e0.tagName)?_1e0:_1c0.getParentOfType(_1e0,["P","DIV","LI"]);if(!para){return;}if(para.lastChild){if((para.childNodes.length>1&¶.lastChild.nodeType==3&&/^[\s\xAD]*$/.test(para.lastChild.nodeValue))||para.lastChild.tagName=="BR"){_1ba.destroy(para.lastChild);}}if(!para.childNodes.length){para.innerHTML=this.bogusHtmlContent;}}});});},"dijit/_editor/RichText":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/query","dojo/ready","dojo/_base/sniff","dojo/topic","dojo/_base/unload","dojo/_base/url","dojo/_base/window","../_Widget","../_CssStateMixin","./selection","./range","./html","../focus",".."],function(_1e1,_1e2,_1e3,_1e4,dom,_1e5,_1e6,_1e7,_1e8,_1e9,_1ea,_1eb,keys,lang,on,_1ec,_1ed,has,_1ee,_1ef,_1f0,win,_1f1,_1f2,_1f3,_1f4,_1f5,_1f6,_1f7){var _1f8=_1e3("dijit._editor.RichText",[_1f1,_1f2],{constructor:function(_1f9){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_1f9&&lang.isString(_1f9.value)){this.value=_1f9.value;}this.onLoadDeferred=new _1e4();},baseClass:"dijitEditor",inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:false,disableSpellCheck:false,postCreate:function(){if("textarea"===this.domNode.tagName.toLowerCase()){console.warn("RichText should not be used with the TEXTAREA tag. See dijit._editor.RichText docs.");}this.contentPreFilters=[lang.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);if(has("mozilla")){this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters);this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters);}if(has("webkit")){this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters);this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters);}if(has("ie")){this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters);this.contentDomPostFilters=[lang.hitch(this,this._stripBreakerNodes)].concat(this.contentDomPostFilters);}this.inherited(arguments);_1ee.publish(_1f7._scopeName+"._editor.RichText::init",this);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=lang.hitch(this,function(cmd,arg){return function(){return !this.execCommand(cmd,arg);};});var _1fa={b:exec("bold"),i:exec("italic"),u:exec("underline"),a:exec("selectall"),s:function(){this.save(true);},m:function(){this.isTabIndent=!this.isTabIndent;},"1":exec("formatblock","h1"),"2":exec("formatblock","h2"),"3":exec("formatblock","h3"),"4":exec("formatblock","h4"),"\\":exec("insertunorderedlist")};if(!has("ie")){_1fa.Z=exec("redo");}var key;for(key in _1fa){this.addKeyHandler(key,true,false,_1fa[key]);}},events:["onKeyPress","onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_1f8._editorCommandsLocalized){this._local2NativeFormatNames=_1f8._local2NativeFormatNames;this._native2LocalFormatNames=_1f8._native2LocalFormatNames;return;}_1f8._editorCommandsLocalized=true;_1f8._local2NativeFormatNames={};_1f8._native2LocalFormatNames={};this._local2NativeFormatNames=_1f8._local2NativeFormatNames;this._native2LocalFormatNames=_1f8._native2LocalFormatNames;var _1fb=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _1fc="",_1fd,i=0;while((_1fd=_1fb[i++])){if(_1fd.charAt(1)!=="l"){_1fc+="<"+_1fd+"><span>content</span></"+_1fd+"><br/>";}else{_1fc+="<"+_1fd+"><li>content</li></"+_1fd+"><br/>";}}var _1fe={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_1e7.create("div",{style:_1fe,innerHTML:_1fc});win.body().appendChild(div);var _1ff=lang.hitch(this,function(){var node=div.firstChild;while(node){try{_1f3.selectElement(node.firstChild);var _200=node.tagName.toLowerCase();this._local2NativeFormatNames[_200]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_200]]=_200;node=node.nextSibling.nextSibling;}catch(e){}}div.parentNode.removeChild(div);div.innerHTML="";});setTimeout(_1ff,0);},open:function(_201){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _1e4();}if(!this.isClosed){this.close();}_1ee.publish(_1f7._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_201.nodeName){this.domNode=_201;}var dn=this.domNode;var html;if(lang.isString(this.value)){html=this.value;delete this.value;dn.innerHTML="";}else{if(dn.nodeName&&dn.nodeName.toLowerCase()=="textarea"){var ta=(this.textarea=dn);this.name=ta.name;html=ta.value;dn=this.domNode=win.doc.createElement("div");dn.setAttribute("widgetId",this.id);ta.removeAttribute("widgetId");dn.cssText=ta.cssText;dn.className+=" "+ta.className;_1e7.place(dn,ta,"before");var _202=lang.hitch(this,function(){_1e9.set(ta,{display:"block",position:"absolute",top:"-1000px"});if(has("ie")){var s=ta.style;this.__overflow=s.overflow;s.overflow="hidden";}});if(has("ie")){setTimeout(_202,10);}else{_202();}if(ta.form){var _203=ta.value;this.reset=function(){var _204=this.getValue();if(_204!==_203){this.replaceValue(_203);}};on(ta.form,"submit",lang.hitch(this,function(){_1e5.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_1f5.getChildrenHtml(dn);dn.innerHTML="";}}this.value=html;if(dn.nodeName&&dn.nodeName==="LI"){dn.innerHTML=" <br>";}this.header=dn.ownerDocument.createElement("div");dn.appendChild(this.header);this.editingArea=dn.ownerDocument.createElement("div");dn.appendChild(this.editingArea);this.footer=dn.ownerDocument.createElement("div");dn.appendChild(this.footer);if(!this.name){this.name=this.id+"_AUTOGEN";}if(this.name!==""&&(!_1e2["useXDomain"]||_1e2["allowXdRichTextSave"])){var _205=dom.byId(_1f7._scopeName+"._editor.RichText.value");if(_205&&_205.value!==""){var _206=_205.value.split(this._SEPARATOR),i=0,dat;while((dat=_206[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){html=data[1];_206=_206.splice(i,1);_205.value=_206.join(this._SEPARATOR);break;}}}if(!_1f8._globalSaveHandler){_1f8._globalSaveHandler={};_1ef.addOnUnload(function(){var id;for(id in _1f8._globalSaveHandler){var f=_1f8._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_1f8._globalSaveHandler[this.id]=lang.hitch(this,"_saveContent");}this.isClosed=false;var ifr=(this.editorObject=this.iframe=win.doc.createElement("iframe"));ifr.id=this.id+"_iframe";this._iframeSrc=this._getIframeDocTxt();ifr.style.border="none";ifr.style.width="100%";if(this._layoutMode){ifr.style.height="100%";}else{if(has("ie")>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}}ifr.frameBorder=0;ifr._loadFunc=lang.hitch(this,function(w){this.window=w;this.document=this.window.document;if(has("ie")){this._localizeEditorCommands();}this.onLoad(html);});var _207="parent."+_1f7._scopeName+".byId(\""+this.id+"\")._iframeSrc";var s="javascript:(function(){try{return "+_207+"}catch(e){document.open();document.domain=\""+document.domain+"\";document.write("+_207+");document.close();}})()";ifr.setAttribute("src",s);this.editingArea.appendChild(ifr);if(has("safari")<=4){var src=ifr.getAttribute("src");if(!src||src.indexOf("javascript")===-1){setTimeout(function(){ifr.setAttribute("src",s);},0);}}if(dn.nodeName==="LI"){dn.lastChild.style.marginTop="-1.2em";}_1e6.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _208=_1e9.getComputedStyle(this.domNode);var html="";var _209=true;if(has("ie")||has("webkit")||(!this.height&&!has("mozilla"))){html="<div id='dijitEditorBody'></div>";_209=false;}else{if(has("mozilla")){this._cursorToStart=true;html=" ";}}var font=[_208.fontWeight,_208.fontSize,_208.fontFamily].join(" ");var _20a=_208.lineHeight;if(_20a.indexOf("px")>=0){_20a=parseFloat(_20a)/parseFloat(_208.fontSize);}else{if(_20a.indexOf("em")>=0){_20a=parseFloat(_20a);}else{_20a="normal";}}var _20b="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_20c){_20c=_20c.replace(/^;/ig,"")+";";var s=_20c.split(":")[0];if(s){s=lang.trim(s);s=s.toLowerCase();var i;var sC="";for(i=0;i<s.length;i++){var c=s.charAt(i);switch(c){case "-":i++;c=s.charAt(i).toUpperCase();default:sC+=c;}}_1e9.set(self.domNode,sC,"");}_20b+=_20c+";";});var _20d=_1ec("label[for=\""+this.id+"\"]");return [this.isLeftToRight()?"<html>\n<head>\n":"<html dir='rtl'>\n<head>\n",(has("mozilla")&&_20d.length?"<title>"+_20d[0].innerHTML+"</title>\n":""),"<meta http-equiv='Content-Type' content='text/html'>\n","<style>\n","\tbody,html {\n","\t\tbackground:transparent;\n","\t\tpadding: 1px 0 0 0;\n","\t\tmargin: -1px 0 0 0;\n",((has("webkit"))?"\t\twidth: 100%;\n":""),((has("webkit"))?"\t\theight: 100%;\n":""),"\t}\n","\tbody{\n","\t\ttop:0px;\n","\t\tleft:0px;\n","\t\tright:0px;\n","\t\tfont:",font,";\n",((this.height||has("opera"))?"":"\t\tposition: fixed;\n"),"\t\tmin-height:",this.minHeight,";\n","\t\tline-height:",_20a,";\n","\t}\n","\tp{ margin: 1em 0; }\n",(!_209&&!this.height?"\tbody,html {overflow-y: hidden;}\n":""),"\t#dijitEditorBody{overflow-x: auto; overflow-y:"+(this.height?"auto;":"hidden;")+" outline: 0px;}\n","\tli > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; }\n",(!has("ie")?"\tli{ min-height:1.2em; }\n":""),"</style>\n",this._applyEditingAreaStyleSheets(),"\n","</head>\n<body ",(_209?"id='dijitEditorBody' ":""),"onload='frameElement._loadFunc(window,document)' style='"+_20b+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _20e=[];if(this.styleSheets){_20e=this.styleSheets.split(";");this.styleSheets="";}_20e=_20e.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_20e[i++])){var _20f=(new _1f0(win.global.location,url)).toString();this.editingAreaStyleSheets.push(_20f);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_20f+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _1f0(win.global.location,url)).toString();}if(_1e1.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);this.onLoadDeferred.addCallback(lang.hitch(this,function(){if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _210=this.document.createElement("link");_210.rel="stylesheet";_210.type="text/css";_210.href=url;head.appendChild(_210);}}));},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _1f0(win.global.location,url)).toString();}var _211=_1e1.indexOf(this.editingAreaStyleSheets,url);if(_211===-1){return;}delete this.editingAreaStyleSheets[_211];win.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_212){_212=!!_212;this._set("disabled",_212);if(!this.isLoaded){return;}if(has("ie")||has("webkit")||has("opera")){var _213=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_213){this.editNode.unselectable="on";}this.editNode.contentEditable=!_212;if(_213){var _214=this;setTimeout(function(){if(_214.editNode){_214.editNode.unselectable="off";}},0);}}else{try{this.document.designMode=(_212?"off":"on");}catch(e){return;}if(!_212&&this._mozSettingProps){var ps=this._mozSettingProps;var n;for(n in ps){if(ps.hasOwnProperty(n)){try{this.document.execCommand(n,false,ps[n]);}catch(e2){}}}}}this._disabledOK=true;},onLoad:function(html){if(!this.window.__registeredWindow){this.window.__registeredWindow=true;this._iframeRegHandle=_1f6.registerIframe(this.iframe);}if(!has("ie")&&!has("webkit")&&(this.height||has("mozilla"))){this.editNode=this.document.body;}else{this.editNode=this.document.body.firstChild;var _215=this;if(has("ie")){this.tabStop=_1e7.create("div",{tabIndex:-1},this.editingArea);this.iframe.onfocus=function(){_215.editNode.setActive();};}}this.focusNode=this.editNode;var _216=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;_1e1.forEach(_216,function(item){this.connect(ap,item.toLowerCase(),item);},this);this.connect(ap,"onmouseup","onClick");if(has("ie")){this.connect(this.document,"onmousedown","_onIEMouseDown");this.editNode.style.zoom=1;}else{this.connect(this.document,"onmousedown",function(){delete this._cursorToStart;});}if(has("webkit")){this._webkitListener=this.connect(this.document,"onmouseup","onDisplayChanged");this.connect(this.document,"onmousedown",function(e){var t=e.target;if(t&&(t===this.document.body||t===this.document)){setTimeout(lang.hitch(this,"placeCursorAtEnd"),0);}});}if(has("ie")){try{this.document.execCommand("RespectVisibilityInDesign",true,null);}catch(e){}}this.isLoaded=true;this.set("disabled",this.disabled);var _217=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}this.onDisplayChanged();if(this.focusOnLoad){_1ed(lang.hitch(this,function(){setTimeout(lang.hitch(this,"focus"),this.updateInterval);}));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.addCallback(_217);}else{_217();}},onKeyDown:function(e){if(e.keyCode===keys.TAB&&this.isTabIndent){_1ea.stop(e);if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(has("ie")){if(e.keyCode==keys.TAB&&!this.isTabIndent){if(e.shiftKey&&!e.ctrlKey&&!e.altKey){this.iframe.focus();}else{if(!e.shiftKey&&!e.ctrlKey&&!e.altKey){this.tabStop.focus();}}}else{if(e.keyCode===keys.BACKSPACE&&this.document.selection.type==="Control"){_1ea.stop(e);this.execCommand("delete");}else{if((65<=e.keyCode&&e.keyCode<=90)||(e.keyCode>=37&&e.keyCode<=40)){e.charCode=e.keyCode;this.onKeyPress(e);}}}}if(has("ff")){if(e.keyCode===keys.PAGE_UP||e.keyCode===keys.PAGE_DOWN){if(this.editNode.clientHeight>=this.editNode.scrollHeight){e.preventDefault();}}}return true;},onKeyUp:function(){},setDisabled:function(_218){_1eb.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_218);},_setValueAttr:function(_219){this.setValue(_219);},_setDisableSpellCheckAttr:function(_21a){if(this.document){_1e5.set(this.document.body,"spellcheck",!_21a);}else{this.onLoadDeferred.addCallback(lang.hitch(this,function(){_1e5.set(this.document.body,"spellcheck",!_21a);}));}this._set("disableSpellCheck",_21a);},onKeyPress:function(e){var c=(e.keyChar&&e.keyChar.toLowerCase())||e.keyCode,_21b=this._keyHandlers[c],args=arguments;if(_21b&&!e.altKey){_1e1.some(_21b,function(h){if(!(h.shift^e.shiftKey)&&!(h.ctrl^(e.ctrlKey||e.metaKey))){if(!h.handler.apply(this,args)){e.preventDefault();}return true;}},this);}if(!this._onKeyHitch){this._onKeyHitch=lang.hitch(this,"onKeyPressed");}setTimeout(this._onKeyHitch,1);return true;},addKeyHandler:function(key,ctrl,_21c,_21d){if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_21c||false,ctrl:ctrl||false,handler:_21d});},onKeyPressed:function(){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onIEMouseDown:function(){if(!this.focused&&!this.disabled){this.focus();}},_onBlur:function(e){this.inherited(arguments);var _21e=this.getValue(true);if(_21e!==this.value){this.onChange(_21e);}this._set("value",_21e);},_onFocus:function(e){if(!this.disabled){if(!this._disabledOK){this.set("disabled",false);}this.inherited(arguments);}},blur:function(){if(!has("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(win.doc.body.focus){win.doc.body.focus();}}},focus:function(){if(!this.isLoaded){this.focusOnLoad=true;return;}if(this._cursorToStart){delete this._cursorToStart;if(this.editNode.childNodes){this.placeCursorAtStart();return;}}if(!has("ie")){_1f6.focus(this.iframe);}else{if(this.editNode&&this.editNode.focus){this.iframe.fireEvent("onfocus",document.createEventObject());}}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(){if(this._updateTimer){clearTimeout(this._updateTimer);}if(!this._updateHandler){this._updateHandler=lang.hitch(this,"onNormalizedDisplayChanged");}this._updateTimer=setTimeout(this._updateHandler,this.updateInterval);},onNormalizedDisplayChanged:function(){delete this._updateTimer;},onChange:function(){},_normalizeCommand:function(cmd,_21f){var _220=cmd.toLowerCase();if(_220==="formatblock"){if(has("safari")&&_21f===undefined){_220="heading";}}else{if(_220==="hilitecolor"&&!has("mozilla")){_220="backcolor";}}return _220;},_qcaCache:{},queryCommandAvailable:function(_221){var ca=this._qcaCache[_221];if(ca!==undefined){return ca;}return (this._qcaCache[_221]=this._queryCommandAvailable(_221));},_queryCommandAvailable:function(_222){var ie=1;var _223=1<<1;var _224=1<<2;var _225=1<<3;function _226(_227){return {ie:Boolean(_227&ie),mozilla:Boolean(_227&_223),webkit:Boolean(_227&_224),opera:Boolean(_227&_225)};};var _228=null;switch(_222.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":_228=_226(_223|ie|_224|_225);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":case "tabindent":_228=_226(_223|ie|_225|_224);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_228=_226(ie);break;case "cut":case "copy":case "paste":_228=_226(ie|_223|_224);break;case "inserttable":_228=_226(_223|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_228=_226(ie|_223);break;default:return false;}return (has("ie")&&_228.ie)||(has("mozilla")&&_228.mozilla)||(has("webkit")&&_228.webkit)||(has("opera")&&_228.opera);},execCommand:function(_229,_22a){var _22b;this.focus();_229=this._normalizeCommand(_229,_22a);if(_22a!==undefined){if(_229==="heading"){throw new Error("unimplemented");}else{if((_229==="formatblock")&&has("ie")){_22a="<"+_22a+">";}}}var _22c="_"+_229+"Impl";if(this[_22c]){_22b=this[_22c](_22a);}else{_22a=arguments.length>1?_22a:null;if(_22a||_229!=="createlink"){_22b=this.document.execCommand(_229,false,_22a);}}this.onDisplayChanged();return _22b;},queryCommandEnabled:function(_22d){if(this.disabled||!this._disabledOK){return false;}_22d=this._normalizeCommand(_22d);var _22e="_"+_22d+"EnabledImpl";if(this[_22e]){return this[_22e](_22d);}else{return this._browserQueryCommandEnabled(_22d);}},queryCommandState:function(_22f){if(this.disabled||!this._disabledOK){return false;}_22f=this._normalizeCommand(_22f);try{return this.document.queryCommandState(_22f);}catch(e){return false;}},queryCommandValue:function(_230){if(this.disabled||!this._disabledOK){return false;}var r;_230=this._normalizeCommand(_230);if(has("ie")&&_230==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_230)];}else{if(has("mozilla")&&_230==="hilitecolor"){var _231;try{_231=this.document.queryCommandValue("styleWithCSS");}catch(e){_231=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_230);this.document.execCommand("styleWithCSS",false,_231);}else{r=this.document.queryCommandValue(_230);}}return r;},_sCall:function(name,args){return win.withGlobal(this.window,name,_1f3,args);},placeCursorAtStart:function(){this.focus();var _232=false;if(has("mozilla")){var _233=this.editNode.firstChild;while(_233){if(_233.nodeType===3){if(_233.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_232=true;this._sCall("selectElement",[_233]);break;}}else{if(_233.nodeType===1){_232=true;var tg=_233.tagName?_233.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this._sCall("selectElement",[_233]);}else{this._sCall("selectElementChildren",[_233]);}break;}}_233=_233.nextSibling;}}else{_232=true;this._sCall("selectElementChildren",[this.editNode]);}if(_232){this._sCall("collapse",[true]);}},placeCursorAtEnd:function(){this.focus();var _234=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_234=true;this._sCall("selectElement",[last]);break;}}else{if(last.nodeType===1){_234=true;if(last.lastChild){this._sCall("selectElement",[last.lastChild]);}else{this._sCall("selectElement",[last]);}break;}}last=last.previousSibling;}}else{_234=true;this._sCall("selectElementChildren",[this.editNode]);}if(_234){this._sCall("collapse",[false]);}},getValue:function(_235){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_235);},_getValueAttr:function(){return this.getValue(true);},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.addCallback(lang.hitch(this,function(){this.setValue(html);}));return;}this._cursorToStart=true;if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;if(html&&has("mozilla")&&html.toLowerCase()==="<p></p>"){html="<p> </p>";}if(!html&&has("webkit")){html=" ";}node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();this._set("value",this.getValue(true));},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!has("mozilla")){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");if(!html){this._cursorToStart=true;html=" ";}this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}this._set("value",this.getValue(true));},_preFilterContent:function(html){var ec=html;_1e1.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_1e1.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_236){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_236){dom=lang.clone(dom);}_1e1.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_1f5.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_1e1.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _237=dom.byId(_1f7._scopeName+"._editor.RichText.value");if(_237){if(_237.value){_237.value+=this._SEPARATOR;}_237.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_238){str=str.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");if(!_238){str=str.replace(/'/gm,"'");}return str;},getNodeHtml:function(node){_1eb.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _1f5.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_1eb.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _1f5.getChildrenHtml(dom);},close:function(save){if(this.isClosed){return;}if(!arguments.length){save=true;}if(save){this._set("value",this.getValue(true));}if(this.interval){clearInterval(this.interval);}if(this._webkitListener){this.disconnect(this._webkitListener);delete this._webkitListener;}if(has("ie")){this.iframe.onfocus=null;}this.iframe._loadFunc=null;if(this._iframeRegHandle){this._iframeRegHandle.remove();delete this._iframeRegHandle;}if(this.textarea){var s=this.textarea.style;s.position="";s.left=s.top="";if(has("ie")){s.overflow=this.__overflow;this.__overflow=null;}this.textarea.value=this.value;_1e7.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_1e6.remove(this.domNode,this.baseClass);this.isClosed=true;this.isLoaded=false;delete this.editNode;delete this.focusNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;},destroy:function(){if(!this.isClosed){this.close(false);}if(this._updateTimer){clearTimeout(this._updateTimer);}this.inherited(arguments);if(_1f8._globalSaveHandler){delete _1f8._globalSaveHandler[this.id];}},_removeMozBogus:function(html){return html.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"").replace(/_moz_resizing="(true|false)"/gi,"");},_removeWebkitBogus:function(html){html=html.replace(/\sclass="webkit-block-placeholder"/gi,"");html=html.replace(/\sclass="apple-style-span"/gi,"");html=html.replace(/<meta charset=\"utf-8\" \/>/gi,"");return html;},_normalizeFontStyle:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_preFixUrlAttributes:function(html){return html.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");},_browserQueryCommandEnabled:function(_239){if(!_239){return false;}var elem=has("ie")?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_239);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _23a=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_23a=true;}else{_23a=this.document.queryCommandEnabled("createlink");}}else{_23a=this._browserQueryCommandEnabled("createlink");}return _23a;},_unlinkEnabledImpl:function(){var _23b=true;if(has("mozilla")||has("webkit")){_23b=this._sCall("hasAncestorElement",["a"]);}else{_23b=this._browserQueryCommandEnabled("unlink");}return _23b;},_inserttableEnabledImpl:function(){var _23c=true;if(has("mozilla")||has("webkit")){_23c=true;}else{_23c=this._browserQueryCommandEnabled("inserttable");}return _23c;},_cutEnabledImpl:function(){var _23d=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_23d=!!sel;}else{_23d=this._browserQueryCommandEnabled("cut");}return _23d;},_copyEnabledImpl:function(){var _23e=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_23e=!!sel;}else{_23e=this._browserQueryCommandEnabled("copy");}return _23e;},_pasteEnabledImpl:function(){var _23f=true;if(has("webkit")){return true;}else{_23f=this._browserQueryCommandEnabled("paste");}return _23f;},_inserthorizontalruleImpl:function(_240){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_240);},_unlinkImpl:function(_241){if((this.queryCommandEnabled("unlink"))&&(has("mozilla")||has("webkit"))){var a=this._sCall("getAncestorElement",["a"]);this._sCall("selectElement",[a]);return this.document.execCommand("unlink",false,null);}return this.document.execCommand("unlink",false,_241);},_hilitecolorImpl:function(_242){var _243;var _244=this._handleTextColorOrProperties("hilitecolor",_242);if(!_244){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_243=this.document.execCommand("hilitecolor",false,_242);this.document.execCommand("styleWithCSS",false,false);}else{_243=this.document.execCommand("hilitecolor",false,_242);}}return _243;},_backcolorImpl:function(_245){if(has("ie")){_245=_245?_245:null;}var _246=this._handleTextColorOrProperties("backcolor",_245);if(!_246){_246=this.document.execCommand("backcolor",false,_245);}return _246;},_forecolorImpl:function(_247){if(has("ie")){_247=_247?_247:null;}var _248=false;_248=this._handleTextColorOrProperties("forecolor",_247);if(!_248){_248=this.document.execCommand("forecolor",false,_247);}return _248;},_inserthtmlImpl:function(_249){_249=this._preFilterContent(_249);var rv=true;if(has("ie")){var _24a=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_24a.item(0);while(_24a.length){_24a.remove(_24a.item(0));}n.outerHTML=_249;}else{_24a.pasteHTML(_249);}_24a.select();}else{if(has("mozilla")&&!_249.length){this._sCall("remove");}else{rv=this.document.execCommand("inserthtml",false,_249);}}return rv;},_boldImpl:function(_24b){var _24c=false;if(has("ie")){this._adaptIESelection();_24c=this._adaptIEFormatAreaAndExec("bold");}if(!_24c){_24c=this.document.execCommand("bold",false,_24b);}return _24c;},_italicImpl:function(_24d){var _24e=false;if(has("ie")){this._adaptIESelection();_24e=this._adaptIEFormatAreaAndExec("italic");}if(!_24e){_24e=this.document.execCommand("italic",false,_24d);}return _24e;},_underlineImpl:function(_24f){var _250=false;if(has("ie")){this._adaptIESelection();_250=this._adaptIEFormatAreaAndExec("underline");}if(!_250){_250=this.document.execCommand("underline",false,_24f);}return _250;},_strikethroughImpl:function(_251){var _252=false;if(has("ie")){this._adaptIESelection();_252=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_252){_252=this.document.execCommand("strikethrough",false,_251);}return _252;},_superscriptImpl:function(_253){var _254=false;if(has("ie")){this._adaptIESelection();_254=this._adaptIEFormatAreaAndExec("superscript");}if(!_254){_254=this.document.execCommand("superscript",false,_253);}return _254;},_subscriptImpl:function(_255){var _256=false;if(has("ie")){this._adaptIESelection();_256=this._adaptIEFormatAreaAndExec("subscript");}if(!_256){_256=this.document.execCommand("subscript",false,_255);}return _256;},_fontnameImpl:function(_257){var _258;if(has("ie")){_258=this._handleTextColorOrProperties("fontname",_257);}if(!_258){_258=this.document.execCommand("fontname",false,_257);}return _258;},_fontsizeImpl:function(_259){var _25a;if(has("ie")){_25a=this._handleTextColorOrProperties("fontsize",_259);}if(!_25a){_25a=this.document.execCommand("fontsize",false,_259);}return _25a;},_insertorderedlistImpl:function(_25b){var _25c=false;if(has("ie")){_25c=this._adaptIEList("insertorderedlist",_25b);}if(!_25c){_25c=this.document.execCommand("insertorderedlist",false,_25b);}return _25c;},_insertunorderedlistImpl:function(_25d){var _25e=false;if(has("ie")){_25e=this._adaptIEList("insertunorderedlist",_25d);}if(!_25e){_25e=this.document.execCommand("insertunorderedlist",false,_25d);}return _25e;},getHeaderHeight:function(){return this._getNodeChildrenHeight(this.header);},getFooterHeight:function(){return this._getNodeChildrenHeight(this.footer);},_getNodeChildrenHeight:function(node){var h=0;if(node&&node.childNodes){var i;for(i=0;i<node.childNodes.length;i++){var size=_1e8.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_25f){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_25f);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_25f)==="");}}return false;},_removeStartingRangeFromRange:function(node,_260){if(node.nextSibling){_260.setStart(node.nextSibling,0);}else{var _261=node.parentNode;while(_261&&_261.nextSibling==null){_261=_261.parentNode;}if(_261){_260.setStart(_261.nextSibling,0);}}return _260;},_adaptIESelection:function(){var _262=_1f4.getSelection(this.window);if(_262&&_262.rangeCount&&!_262.isCollapsed){var _263=_262.getRangeAt(0);var _264=_263.startContainer;var _265=_263.startOffset;while(_264.nodeType===3&&_265>=_264.length&&_264.nextSibling){_265=_265-_264.length;_264=_264.nextSibling;}var _266=null;while(this._isNodeEmpty(_264,_265)&&_264!==_266){_266=_264;_263=this._removeStartingRangeFromRange(_264,_263);_264=_263.startContainer;_265=0;}_262.removeAllRanges();_262.addRange(_263);}},_adaptIEFormatAreaAndExec:function(_267){var _268=_1f4.getSelection(this.window);var doc=this.document;var rs,ret,_269,txt,_26a,_26b,_26c,_26d;if(_267&&_268&&_268.isCollapsed){var _26e=this.queryCommandValue(_267);if(_26e){var _26f=this._tagNamesForCommand(_267);_269=_268.getRangeAt(0);var fs=_269.startContainer;if(fs.nodeType===3){var _270=_269.endOffset;if(fs.length<_270){ret=this._adjustNodeAndOffset(rs,_270);fs=ret.node;_270=ret.offset;}}var _271;while(fs&&fs!==this.editNode){var _272=fs.tagName?fs.tagName.toLowerCase():"";if(_1e1.indexOf(_26f,_272)>-1){_271=fs;break;}fs=fs.parentNode;}if(_271){rs=_269.startContainer;var _273=doc.createElement(_271.tagName);_1e7.place(_273,_271,"after");if(rs&&rs.nodeType===3){var _274,_275;var _276=_269.endOffset;if(rs.length<_276){ret=this._adjustNodeAndOffset(rs,_276);rs=ret.node;_276=ret.offset;}txt=rs.nodeValue;_26a=doc.createTextNode(txt.substring(0,_276));var _277=txt.substring(_276,txt.length);if(_277){_26b=doc.createTextNode(_277);}_1e7.place(_26a,rs,"before");if(_26b){_26c=doc.createElement("span");_26c.className="ieFormatBreakerSpan";_1e7.place(_26c,rs,"after");_1e7.place(_26b,_26c,"after");_26b=_26c;}_1e7.destroy(rs);var _278=_26a.parentNode;var _279=[];var _27a;while(_278!==_271){var tg=_278.tagName;_27a={tagName:tg};_279.push(_27a);var _27b=doc.createElement(tg);if(_278.style){if(_27b.style){if(_278.style.cssText){_27b.style.cssText=_278.style.cssText;_27a.cssText=_278.style.cssText;}}}if(_278.tagName==="FONT"){if(_278.color){_27b.color=_278.color;_27a.color=_278.color;}if(_278.face){_27b.face=_278.face;_27a.face=_278.face;}if(_278.size){_27b.size=_278.size;_27a.size=_278.size;}}if(_278.className){_27b.className=_278.className;_27a.className=_278.className;}if(_26b){_274=_26b;while(_274){_275=_274.nextSibling;_27b.appendChild(_274);_274=_275;}}if(_27b.tagName==_278.tagName){_26c=doc.createElement("span");_26c.className="ieFormatBreakerSpan";_1e7.place(_26c,_278,"after");_1e7.place(_27b,_26c,"after");}else{_1e7.place(_27b,_278,"after");}_26a=_278;_26b=_27b;_278=_278.parentNode;}if(_26b){_274=_26b;if(_274.nodeType===1||(_274.nodeType===3&&_274.nodeValue)){_273.innerHTML="";}while(_274){_275=_274.nextSibling;_273.appendChild(_274);_274=_275;}}if(_279.length){_27a=_279.pop();var _27c=doc.createElement(_27a.tagName);if(_27a.cssText&&_27c.style){_27c.style.cssText=_27a.cssText;}if(_27a.className){_27c.className=_27a.className;}if(_27a.tagName==="FONT"){if(_27a.color){_27c.color=_27a.color;}if(_27a.face){_27c.face=_27a.face;}if(_27a.size){_27c.size=_27a.size;}}_1e7.place(_27c,_273,"before");while(_279.length){_27a=_279.pop();var _27d=doc.createElement(_27a.tagName);if(_27a.cssText&&_27d.style){_27d.style.cssText=_27a.cssText;}if(_27a.className){_27d.className=_27a.className;}if(_27a.tagName==="FONT"){if(_27a.color){_27d.color=_27a.color;}if(_27a.face){_27d.face=_27a.face;}if(_27a.size){_27d.size=_27a.size;}}_27c.appendChild(_27d);_27c=_27d;}_26d=doc.createTextNode(".");_26c.appendChild(_26d);_27c.appendChild(_26d);win.withGlobal(this.window,lang.hitch(this,function(){var _27e=_1f4.create();_27e.setStart(_26d,0);_27e.setEnd(_26d,_26d.length);_268.removeAllRanges();_268.addRange(_27e);_1f3.collapse(false);_26d.parentNode.innerHTML="";}));}else{_26c=doc.createElement("span");_26c.className="ieFormatBreakerSpan";_26d=doc.createTextNode(".");_26c.appendChild(_26d);_1e7.place(_26c,_273,"before");win.withGlobal(this.window,lang.hitch(this,function(){var _27f=_1f4.create();_27f.setStart(_26d,0);_27f.setEnd(_26d,_26d.length);_268.removeAllRanges();_268.addRange(_27f);_1f3.collapse(false);_26d.parentNode.innerHTML="";}));}if(!_273.firstChild){_1e7.destroy(_273);}return true;}}return false;}else{_269=_268.getRangeAt(0);rs=_269.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _280=_269.startOffset;if(rs.length<_280){ret=this._adjustNodeAndOffset(rs,_280);rs=ret.node;_280=ret.offset;}txt=rs.nodeValue;_26a=doc.createTextNode(txt.substring(0,_280));var _281=txt.substring(_280);if(_281!==""){_26b=doc.createTextNode(txt.substring(_280));}_26c=doc.createElement("span");_26d=doc.createTextNode(".");_26c.appendChild(_26d);if(_26a.length){_1e7.place(_26a,rs,"after");}else{_26a=rs;}_1e7.place(_26c,_26a,"after");if(_26b){_1e7.place(_26b,_26c,"after");}_1e7.destroy(rs);var _282=_1f4.create();_282.setStart(_26d,0);_282.setEnd(_26d,_26d.length);_268.removeAllRanges();_268.addRange(_282);doc.execCommand(_267);_1e7.place(_26c.firstChild,_26c,"before");_1e7.destroy(_26c);_282.setStart(_26d,0);_282.setEnd(_26d,_26d.length);_268.removeAllRanges();_268.addRange(_282);_1f3.collapse(false);_26d.parentNode.innerHTML="";}));return true;}}}else{return false;}},_adaptIEList:function(_283){var _284=_1f4.getSelection(this.window);if(_284.isCollapsed){if(_284.rangeCount&&!this.queryCommandValue(_283)){var _285=_284.getRangeAt(0);var sc=_285.startContainer;if(sc&&sc.nodeType==3){if(!_285.startOffset){win.withGlobal(this.window,lang.hitch(this,function(){var _286="ul";if(_283==="insertorderedlist"){_286="ol";}var list=_1e7.create(_286);var li=_1e7.create("li",null,list);_1e7.place(list,sc,"before");li.appendChild(sc);_1e7.create("br",null,list,"after");var _287=_1f4.create();_287.setStart(sc,0);_287.setEnd(sc,sc.length);_284.removeAllRanges();_284.addRange(_287);_1f3.collapse(true);}));return true;}}}}return false;},_handleTextColorOrProperties:function(_288,_289){var _28a=_1f4.getSelection(this.window);var doc=this.document;var rs,ret,_28b,txt,_28c,_28d,_28e,_28f;_289=_289||null;if(_288&&_28a&&_28a.isCollapsed){if(_28a.rangeCount){_28b=_28a.getRangeAt(0);rs=_28b.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _290=_28b.startOffset;if(rs.length<_290){ret=this._adjustNodeAndOffset(rs,_290);rs=ret.node;_290=ret.offset;}txt=rs.nodeValue;_28c=doc.createTextNode(txt.substring(0,_290));var _291=txt.substring(_290);if(_291!==""){_28d=doc.createTextNode(txt.substring(_290));}_28e=_1e7.create("span");_28f=doc.createTextNode(".");_28e.appendChild(_28f);var _292=_1e7.create("span");_28e.appendChild(_292);if(_28c.length){_1e7.place(_28c,rs,"after");}else{_28c=rs;}_1e7.place(_28e,_28c,"after");if(_28d){_1e7.place(_28d,_28e,"after");}_1e7.destroy(rs);var _293=_1f4.create();_293.setStart(_28f,0);_293.setEnd(_28f,_28f.length);_28a.removeAllRanges();_28a.addRange(_293);if(has("webkit")){var _294="color";if(_288==="hilitecolor"||_288==="backcolor"){_294="backgroundColor";}_1e9.set(_28e,_294,_289);_1f3.remove();_1e7.destroy(_292);_28e.innerHTML=" ";_1f3.selectElement(_28e);this.focus();}else{this.execCommand(_288,_289);_1e7.place(_28e.firstChild,_28e,"before");_1e7.destroy(_28e);_293.setStart(_28f,0);_293.setEnd(_28f,_28f.length);_28a.removeAllRanges();_28a.addRange(_293);_1f3.collapse(false);_28f.parentNode.removeChild(_28f);}}));return true;}}}return false;},_adjustNodeAndOffset:function(node,_295){while(node.length<_295&&node.nextSibling&&node.nextSibling.nodeType===3){_295=_295-node.length;node=node.nextSibling;}return {"node":node,"offset":_295};},_tagNamesForCommand:function(_296){if(_296==="bold"){return ["b","strong"];}else{if(_296==="italic"){return ["i","em"];}else{if(_296==="strikethrough"){return ["s","strike"];}else{if(_296==="superscript"){return ["sup"];}else{if(_296==="subscript"){return ["sub"];}else{if(_296==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){win.withGlobal(this.window,lang.hitch(this,function(){var _297=_1ec(".ieFormatBreakerSpan",node);var i;for(i=0;i<_297.length;i++){var b=_297[i];while(b.firstChild){_1e7.place(b.firstChild,b,"before");}_1e7.destroy(b);}}));return node;}});return _1f8;});},"dijit/_editor/selection":function(){define(["dojo/dom","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window",".."],function(dom,lang,has,win,_298){lang.getObject("_editor.selection",true,_298);lang.mixin(_298._editor.selection,{getType:function(){if(has("ie")<9){return win.doc.selection.type.toLowerCase();}else{var _299="text";var oSel;try{oSel=win.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _29a=oSel.getRangeAt(0);if((_29a.startContainer==_29a.endContainer)&&((_29a.endOffset-_29a.startOffset)==1)&&(_29a.startContainer.nodeType!=3)){_299="control";}}return _299;}},getSelectedText:function(){if(has("ie")<9){if(_298._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().text;}else{var _29b=win.global.getSelection();if(_29b){return _29b.toString();}}return "";},getSelectedHtml:function(){if(has("ie")<9){if(_298._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().htmlText;}else{var _29c=win.global.getSelection();if(_29c&&_29c.rangeCount){var i;var html="";for(i=0;i<_29c.rangeCount;i++){var frag=_29c.getRangeAt(i).cloneContents();var div=win.doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}},getSelectedElement:function(){if(_298._editor.selection.getType()=="control"){if(has("ie")<9){var _29d=win.doc.selection.createRange();if(_29d&&_29d.item){return win.doc.selection.createRange().item(0);}}else{var _29e=win.global.getSelection();return _29e.anchorNode.childNodes[_29e.anchorOffset];}}return null;},getParentElement:function(){if(_298._editor.selection.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(has("ie")<9){var r=win.doc.selection.createRange();r.collapse(true);return r.parentElement();}else{var _29f=win.global.getSelection();if(_29f){var node=_29f.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}return null;},hasAncestorElement:function(_2a0){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_2a1){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _2a2=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _2a3=String(tags[i]).toLowerCase();if(_2a2==_2a3){return _2a3;}}}return "";},getParentOfType:function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;},collapse:function(_2a4){if(window.getSelection){var _2a5=win.global.getSelection();if(_2a5.removeAllRanges){if(_2a4){_2a5.collapseToStart();}else{_2a5.collapseToEnd();}}else{_2a5.collapse(_2a4);}}else{if(has("ie")){var _2a6=win.doc.selection.createRange();_2a6.collapse(_2a4);_2a6.select();}}},remove:function(){var sel=win.doc.selection;if(has("ie")<9){if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}else{sel=win.global.getSelection();sel.deleteFromDocument();return sel;}},selectElementChildren:function(_2a7,_2a8){var _2a9=win.global;var doc=win.doc;var _2aa;_2a7=dom.byId(_2a7);if(doc.selection&&has("ie")<9&&win.body().createTextRange){_2aa=_2a7.ownerDocument.body.createTextRange();_2aa.moveToElementText(_2a7);if(!_2a8){try{_2aa.select();}catch(e){}}}else{if(_2a9.getSelection){var _2ab=win.global.getSelection();if(has("opera")){if(_2ab.rangeCount){_2aa=_2ab.getRangeAt(0);}else{_2aa=doc.createRange();}_2aa.setStart(_2a7,0);_2aa.setEnd(_2a7,(_2a7.nodeType==3)?_2a7.length:_2a7.childNodes.length);_2ab.addRange(_2aa);}else{_2ab.selectAllChildren(_2a7);}}}},selectElement:function(_2ac,_2ad){var _2ae;var doc=win.doc;var _2af=win.global;_2ac=dom.byId(_2ac);if(has("ie")<9&&win.body().createTextRange){try{var tg=_2ac.tagName?_2ac.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_2ae=win.body().createControlRange();}else{_2ae=win.body().createRange();}_2ae.addElement(_2ac);if(!_2ad){_2ae.select();}}catch(e){this.selectElementChildren(_2ac,_2ad);}}else{if(_2af.getSelection){var _2b0=_2af.getSelection();_2ae=doc.createRange();if(_2b0.removeAllRanges){if(has("opera")){if(_2b0.getRangeAt(0)){_2ae=_2b0.getRangeAt(0);}}_2ae.selectNode(_2ac);_2b0.removeAllRanges();_2b0.addRange(_2ae);}}}},inSelection:function(node){if(node){var _2b1;var doc=win.doc;var _2b2;if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.rangeCount>0){_2b2=sel.getRangeAt(0);}if(_2b2&&_2b2.compareBoundaryPoints&&doc.createRange){try{_2b1=doc.createRange();_2b1.setStart(node,0);if(_2b2.compareBoundaryPoints(_2b2.START_TO_END,_2b1)===1){return true;}}catch(e){}}}else{if(doc.selection){_2b2=doc.selection.createRange();try{_2b1=node.ownerDocument.body.createControlRange();if(_2b1){_2b1.addElement(node);}}catch(e1){try{_2b1=node.ownerDocument.body.createTextRange();_2b1.moveToElementText(node);}catch(e2){}}if(_2b2&&_2b1){if(_2b2.compareEndPoints("EndToStart",_2b1)===1){return true;}}}}}return false;}});return _298._editor.selection;});},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window",".."],function(_2b3,_2b4,lang,win,_2b5){_2b5.range={};_2b5.range.getIndex=function(node,_2b6){var ret=[],retR=[];var _2b7=node;var _2b8,n;while(node!=_2b6){var i=0;_2b8=node.parentNode;while((n=_2b8.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_2b8.childNodes.length);node=_2b8;}if(ret.length>0&&_2b7.nodeType==3){n=_2b7.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_2b7.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};};_2b5.range.getNode=function(_2b9,_2ba){if(!lang.isArray(_2b9)||_2b9.length==0){return _2ba;}var node=_2ba;_2b3.every(_2b9,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;};_2b5.range.getCommonAncestor=function(n1,n2,root){root=root||n1.ownerDocument.body;var _2bb=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_2bb(n1);var n2as=_2bb(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;};_2b5.range.getAncestor=function(node,_2bc,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_2bc.test(name)){return node;}node=node.parentNode;}return null;};_2b5.range.BlockTagNames=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/;_2b5.range.getBlockAncestor=function(node,_2bd,root){root=root||node.ownerDocument.body;_2bd=_2bd||_2b5.range.BlockTagNames;var _2be=null,_2bf;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_2be&&_2bd.test(name)){_2be=node;}if(!_2bf&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_2bf=node;}node=node.parentNode;}return {blockNode:_2be,blockContainer:_2bf||node.ownerDocument.body};};_2b5.range.atBeginningOfContainer=function(_2c0,node,_2c1){var _2c2=false;var _2c3=(_2c1==0);if(!_2c3&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_2c1))){_2c3=true;}}if(_2c3){var _2c4=node;_2c2=true;while(_2c4&&_2c4!==_2c0){if(_2c4.previousSibling){_2c2=false;break;}_2c4=_2c4.parentNode;}}return _2c2;};_2b5.range.atEndOfContainer=function(_2c5,node,_2c6){var _2c7=false;var _2c8=(_2c6==(node.length||node.childNodes.length));if(!_2c8&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_2c6))){_2c8=true;}}if(_2c8){var _2c9=node;_2c7=true;while(_2c9&&_2c9!==_2c5){if(_2c9.nextSibling){_2c7=false;break;}_2c9=_2c9.parentNode;}}return _2c7;};_2b5.range.adjacentNoneTextNode=function(_2ca,next){var node=_2ca;var len=(0-_2ca.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];};_2b5.range._w3c=Boolean(window["getSelection"]);_2b5.range.create=function(_2cb){if(_2b5.range._w3c){return (_2cb||win.global).document.createRange();}else{return new _2b5.range.W3CRange();}};_2b5.range.getSelection=function(win,_2cc){if(_2b5.range._w3c){return win.getSelection();}else{var s=new _2b5.range.ie.selection(win);if(!_2cc){s._getCurrentSelection();}return s;}};if(!_2b5.range._w3c){_2b5.range.ie={cachedSelection:{},selection:function(win){this._ranges=[];this.addRange=function(r,_2cd){this._ranges.push(r);if(!_2cd){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _2ce=function(){var r=win.document.selection.createRange();var type=win.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _2b5.range.W3CRange(_2b5.range.ie.decomposeControlRange(r));}else{return new _2b5.range.W3CRange(_2b5.range.ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_2ce();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_2cf){var _2d0=_2cf.item(0),_2d1=_2cf.item(_2cf.length-1);var _2d2=_2d0.parentNode,_2d3=_2d1.parentNode;var _2d4=_2b5.range.getIndex(_2d0,_2d2).o[0];var _2d5=_2b5.range.getIndex(_2d1,_2d3).o[0]+1;return [_2d2,_2d4,_2d3,_2d5];},getEndPoint:function(_2d6,end){var _2d7=_2d6.duplicate();_2d7.collapse(!end);var _2d8="EndTo"+(end?"End":"Start");var _2d9=_2d7.parentElement();var _2da,_2db,_2dc;if(_2d9.childNodes.length>0){_2b3.every(_2d9.childNodes,function(node,i){var _2dd;if(node.nodeType!=3){_2d7.moveToElementText(node);if(_2d7.compareEndPoints(_2d8,_2d6)>0){if(_2dc&&_2dc.nodeType==3){_2da=_2dc;_2dd=true;}else{_2da=_2d9;_2db=i;return false;}}else{if(i==_2d9.childNodes.length-1){_2da=_2d9;_2db=_2d9.childNodes.length;return false;}}}else{if(i==_2d9.childNodes.length-1){_2da=node;_2dd=true;}}if(_2dd&&_2da){var _2de=_2b5.range.adjacentNoneTextNode(_2da)[0];if(_2de){_2da=_2de.nextSibling;}else{_2da=_2d9.firstChild;}var _2df=_2b5.range.adjacentNoneTextNode(_2da);_2de=_2df[0];var _2e0=_2df[1];if(_2de){_2d7.moveToElementText(_2de);_2d7.collapse(false);}else{_2d7.moveToElementText(_2d9);}_2d7.setEndPoint(_2d8,_2d6);_2db=_2d7.text.length-_2e0;return false;}_2dc=node;return true;});}else{_2da=_2d9;_2db=0;}if(!end&&_2da.nodeType==1&&_2db==_2da.childNodes.length){var _2e1=_2da.nextSibling;if(_2e1&&_2e1.nodeType==3){_2da=_2e1;_2db=0;}}return [_2da,_2db];},setEndPoint:function(_2e2,_2e3,_2e4){var _2e5=_2e2.duplicate(),node,len;if(_2e3.nodeType!=3){if(_2e4>0){node=_2e3.childNodes[_2e4-1];if(node){if(node.nodeType==3){_2e3=node;_2e4=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_2e3=node.nextSibling;_2e4=0;}else{_2e5.moveToElementText(node.nextSibling?node:_2e3);var _2e6=node.parentNode;var _2e7=_2e6.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_2e5.collapse(false);_2e6.removeChild(_2e7);}}}}else{_2e5.moveToElementText(_2e3);_2e5.collapse(true);}}if(_2e3.nodeType==3){var _2e8=_2b5.range.adjacentNoneTextNode(_2e3);var _2e9=_2e8[0];len=_2e8[1];if(_2e9){_2e5.moveToElementText(_2e9);_2e5.collapse(false);if(_2e9.contentEditable!="inherit"){len++;}}else{_2e5.moveToElementText(_2e3.parentNode);_2e5.collapse(true);}_2e4+=len;if(_2e4>0){if(_2e5.move("character",_2e4)!=_2e4){console.error("Error when moving!");}}}return _2e5;},decomposeTextRange:function(_2ea){var _2eb=_2b5.range.ie.getEndPoint(_2ea);var _2ec=_2eb[0],_2ed=_2eb[1];var _2ee=_2eb[0],_2ef=_2eb[1];if(_2ea.htmlText.length){if(_2ea.htmlText==_2ea.text){_2ef=_2ed+_2ea.text.length;}else{_2eb=_2b5.range.ie.getEndPoint(_2ea,true);_2ee=_2eb[0],_2ef=_2eb[1];}}return [_2ec,_2ed,_2ee,_2ef];},setRange:function(_2f0,_2f1,_2f2,_2f3,_2f4,_2f5){var _2f6=_2b5.range.ie.setEndPoint(_2f0,_2f1,_2f2);_2f0.setEndPoint("StartToStart",_2f6);if(!_2f5){var end=_2b5.range.ie.setEndPoint(_2f0,_2f3,_2f4);}_2f0.setEndPoint("EndToEnd",end||_2f6);return _2f0;}};_2b4("dijit.range.W3CRange",null,{constructor:function(){if(arguments.length>0){this.setStart(arguments[0][0],arguments[0][1]);this.setEnd(arguments[0][2],arguments[0][3]);}else{this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}},_updateInternal:function(){if(this.startContainer!==this.endContainer){this.commonAncestorContainer=_2b5.range.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_2f7){_2f7=parseInt(_2f7);if(this.startContainer===node&&this.startOffset==_2f7){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_2f7;if(!this.endContainer){this.setEnd(node,_2f7);}else{this._updateInternal();}},setEnd:function(node,_2f8){_2f8=parseInt(_2f8);if(this.endContainer===node&&this.endOffset==_2f8){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_2f8;if(!this.startContainer){this.setStart(node,_2f8);}else{this._updateInternal();}},setStartAfter:function(node,_2f9){this._setPoint("setStart",node,_2f9,1);},setStartBefore:function(node,_2fa){this._setPoint("setStart",node,_2fa,0);},setEndAfter:function(node,_2fb){this._setPoint("setEnd",node,_2fb,1);},setEndBefore:function(node,_2fc){this._setPoint("setEnd",node,_2fc,0);},_setPoint:function(what,node,_2fd,ext){var _2fe=_2b5.range.getIndex(node,node.parentNode).o;this[what](node.parentNode,_2fe.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();_2b5.range.ie.setRange(r,this.startContainer,this.startOffset,this.endContainer,this.endOffset,this.collapsed);return r;},getBookmark:function(){this._getIERange();return this._cachedBookmark;},_select:function(){var r=this._getIERange();r.select();},deleteContents:function(){var s=this.startContainer,r=this._getIERange();if(s.nodeType===3&&!this.startOffset){this.setStartBefore(s);}r.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=true;},cloneRange:function(){var r=new _2b5.range.W3CRange([this.startContainer,this.startOffset,this.endContainer,this.endOffset]);r._body=this._body;return r;},detach:function(){this._body=null;this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}});}return _2b5.range;});},"dijit/_editor/html":function(){define(["dojo/_base/lang","dojo/_base/sniff",".."],function(lang,has,_2ff){lang.getObject("_editor",true,_2ff);_2ff._editor.escapeXml=function(str,_300){str=str.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");if(!_300){str=str.replace(/'/gm,"'");}return str;};_2ff._editor.getNodeHtml=function(node){var _301;switch(node.nodeType){case 1:var _302=node.nodeName.toLowerCase();if(!_302||_302.charAt(0)=="/"){return "";}_301="<"+_302;var _303=[];var attr;if(has("ie")&&node.outerHTML){var s=node.outerHTML;s=s.substr(0,s.indexOf(">")).replace(/(['"])[^"']*\1/g,"");var reg=/(\b\w+)\s?=/g;var m,key;while((m=reg.exec(s))){key=m[1];if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(node.getAttribute("_djrealurl")){_303.push([key,node.getAttribute("_djrealurl")]);continue;}}var val,_304;switch(key){case "style":val=node.style.cssText.toLowerCase();break;case "class":val=node.className;break;case "width":if(_302==="img"){_304=/width=(\S+)/i.exec(s);if(_304){val=_304[1];}break;}case "height":if(_302==="img"){_304=/height=(\S+)/i.exec(s);if(_304){val=_304[1];}break;}default:val=node.getAttribute(key);}if(val!=null){_303.push([key,val.toString()]);}}}}else{var i=0;while((attr=node.attributes[i++])){var n=attr.name;if(n.substr(0,3)!="_dj"){var v=attr.value;if(n=="src"||n=="href"){if(node.getAttribute("_djrealurl")){v=node.getAttribute("_djrealurl");}}_303.push([n,v]);}}}_303.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((attr=_303[j++])){_301+=" "+attr[0]+"=\""+(lang.isString(attr[1])?_2ff._editor.escapeXml(attr[1],true):attr[1])+"\"";}if(_302==="script"){_301+=">"+node.innerHTML+"</"+_302+">";}else{if(node.childNodes.length){_301+=">"+_2ff._editor.getChildrenHtml(node)+"</"+_302+">";}else{switch(_302){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_301+=" />";break;default:_301+="></"+_302+">";}}}break;case 4:case 3:_301=_2ff._editor.escapeXml(node.nodeValue,true);break;case 8:_301="<!--"+_2ff._editor.escapeXml(node.nodeValue,true)+"-->";break;default:_301="<!-- Element not recognized - Type: "+node.nodeType+" Name: "+node.nodeName+"-->";}return _301;};_2ff._editor.getChildrenHtml=function(dom){var out="";if(!dom){return out;}var _305=dom["childNodes"]||dom;var _306=!has("ie")||_305!==dom;var node,i=0;while((node=_305[i++])){if(!_306||node.parentNode==dom){out+=_2ff._editor.getNodeHtml(node);}}return out;};return _2ff._editor;});},"dijit/_editor/nls/commands":function(){define({root:({"bold":"Bold","copy":"Copy","cut":"Cut","delete":"Delete","indent":"Indent","insertHorizontalRule":"Horizontal Rule","insertOrderedList":"Numbered List","insertUnorderedList":"Bullet List","italic":"Italic","justifyCenter":"Align Center","justifyFull":"Justify","justifyLeft":"Align Left","justifyRight":"Align Right","outdent":"Outdent","paste":"Paste","redo":"Redo","removeFormat":"Remove Format","selectAll":"Select All","strikethrough":"Strikethrough","subscript":"Subscript","superscript":"Superscript","underline":"Underline","undo":"Undo","unlink":"Remove Link","createLink":"Create Link","toggleDir":"Toggle Direction","insertImage":"Insert Image","insertTable":"Insert/Edit Table","toggleTableBorder":"Toggle Table Border","deleteTable":"Delete Table","tableProp":"Table Property","htmlToggle":"HTML Source","foreColor":"Foreground Color","hiliteColor":"Background Color","plainFormatBlock":"Paragraph Style","formatBlock":"Paragraph Style","fontSize":"Font Size","fontName":"Font Name","tabIndent":"Tab Indent","fullScreen":"Toggle Full Screen","viewSource":"View HTML Source","print":"Print","newPage":"New Page","systemShortcut":"The \"${0}\" action is only available in your browser using a keyboard shortcut. Use ${1}.","ctrlKey":"ctrl+${0}","appleKey":"⌘${0}"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dijit/_editor/plugins/FontChoice":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/i18n","dojo/_base/lang","dojo/store/Memory","dojo/_base/window","../../registry","../../_Widget","../../_TemplatedMixin","../../_WidgetsInTemplateMixin","../../form/FilteringSelect","../_Plugin","../range","../selection","dojo/i18n!../nls/FontChoice"],function(_307,_308,_309,i18n,lang,_30a,win,_30b,_30c,_30d,_30e,_30f,_310,_311,_312){var _313=_308("dijit._editor.plugins._FontDropDown",[_30c,_30d,_30e],{label:"",plainText:false,templateString:"<span style='white-space: nowrap' class='dijit dijitReset dijitInline'>"+"<label class='dijitLeft dijitInline' for='${selectId}'>${label}</label>"+"<input data-dojo-type='dijit.form.FilteringSelect' required='false' "+"data-dojo-props='labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' "+"tabIndex='-1' id='${selectId}' data-dojo-attach-point='select' value=''/>"+"</span>",postMixInProperties:function(){this.inherited(arguments);this.strings=i18n.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=_30b.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments);},postCreate:function(){this.select.set("store",new _30a({idProperty:"value",data:_307.map(this.values,function(_314){var name=this.strings[_314]||_314;return {label:this.getLabel(_314,name),name:name,value:_314};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_315,_316){_316=_316!==false;this.select.set("value",_307.indexOf(this.values,_315)<0?"":_315,_316);if(!_316){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_317){this.disabled=_317;this.select.set("disabled",_317);}});var _318=_308("dijit._editor.plugins._FontNameDropDown",_313,{generic:false,command:"fontName",postMixInProperties:function(){if(!this.values){this.values=this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"];}this.inherited(arguments);},getLabel:function(_319,name){if(this.plainText){return name;}else{return "<div style='font-family: "+_319+"'>"+name+"</div>";}},_setValueAttr:function(_31a,_31b){_31b=_31b!==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"};_31a=map[_31a]||_31a;}this.inherited(arguments,[_31a,_31b]);}});var _31c=_308("dijit._editor.plugins._FontSizeDropDown",_313,{command:"fontSize",values:[1,2,3,4,5,6,7],getLabel:function(_31d,name){if(this.plainText){return name;}else{return "<font size="+_31d+"'>"+name+"</font>";}},_setValueAttr:function(_31e,_31f){_31f=_31f!==false;if(_31e.indexOf&&_31e.indexOf("px")!=-1){var _320=parseInt(_31e,10);_31e={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_320]||_31e;}this.inherited(arguments,[_31e,_31f]);}});var _321=_308("dijit._editor.plugins._FormatBlockDropDown",_313,{command:"formatBlock",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_322,name){if(this.plainText||_322=="noFormat"){return name;}else{return "<"+_322+">"+name+"</"+_322+">";}},_execCommand:function(_323,_324,_325){if(_325==="noFormat"){var _326;var end;var sel=_311.getSelection(_323.window);if(sel&&sel.rangeCount>0){var _327=sel.getRangeAt(0);var node,tag;if(_327){_326=_327.startContainer;end=_327.endContainer;while(_326&&_326!==_323.editNode&&_326!==_323.document.body&&_326.nodeType!==1){_326=_326.parentNode;}while(end&&end!==_323.editNode&&end!==_323.document.body&&end.nodeType!==1){end=end.parentNode;}var _328=lang.hitch(this,function(node,ary){if(node.childNodes&&node.childNodes.length){var i;for(i=0;i<node.childNodes.length;i++){var c=node.childNodes[i];if(c.nodeType==1){if(win.withGlobal(_323.window,"inSelection",_312,[c])){var tag=c.tagName?c.tagName.toLowerCase():"";if(_307.indexOf(this.values,tag)!==-1){ary.push(c);}_328(c,ary);}}}}});var _329=lang.hitch(this,function(_32a){if(_32a&&_32a.length){_323.beginEditing();while(_32a.length){this._removeFormat(_323,_32a.pop());}_323.endEditing();}});var _32b=[];if(_326==end){var _32c;node=_326;while(node&&node!==_323.editNode&&node!==_323.document.body){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_307.indexOf(this.values,tag)!==-1){_32c=node;break;}}node=node.parentNode;}_328(_326,_32b);if(_32c){_32b=[_32c].concat(_32b);}_329(_32b);}else{node=_326;while(win.withGlobal(_323.window,"inSelection",_312,[node])){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_307.indexOf(this.values,tag)!==-1){_32b.push(node);}_328(node,_32b);}node=node.nextSibling;}_329(_32b);}_323.onDisplayChanged();}}}else{_323.execCommand(_324,_325);}},_removeFormat:function(_32d,node){if(_32d.customUndo){while(node.firstChild){_309.place(node.firstChild,node,"before");}node.parentNode.removeChild(node);}else{win.withGlobal(_32d.window,"selectElementChildren",_312,[node]);var html=win.withGlobal(_32d.window,"getSelectedHtml",_312,[null]);win.withGlobal(_32d.window,"selectElement",_312,[node]);_32d.execCommand("inserthtml",html||"");}}});var _32e=_308("dijit._editor.plugins.FontChoice",_310,{useDefaultCommand:false,_initButton:function(){var _32f={fontName:_318,fontSize:_31c,formatBlock:_321}[this.command],_330=this.params;if(this.params.custom){_330.values=this.params.custom;}var _331=this.editor;this.button=new _32f(lang.delegate({dir:_331.dir,lang:_331.lang},_330));this.connect(this.button.select,"onChange",function(_332){this.editor.focus();if(this.command=="fontName"&&_332.indexOf(" ")!=-1){_332="'"+_332+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_332);}else{this.editor.execCommand(this.command,_332);}});},updateState:function(){var _333=this.editor;var _334=this.command;if(!_333||!_333.isLoaded||!_334.length){return;}if(this.button){var _335=this.get("disabled");this.button.set("disabled",_335);if(_335){return;}var _336;try{_336=_333.queryCommandValue(_334)||"";}catch(e){_336="";}var _337=lang.isString(_336)&&_336.match(/'([^']*)'/);if(_337){_336=_337[1];}if(_334==="formatBlock"){if(!_336||_336=="p"){_336=null;var elem;var sel=_311.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _338=sel.getRangeAt(0);if(_338){elem=_338.endContainer;}}while(elem&&elem!==_333.editNode&&elem!==_333.document){var tg=elem.tagName?elem.tagName.toLowerCase():"";if(tg&&_307.indexOf(this.button.values,tg)>-1){_336=tg;break;}elem=elem.parentNode;}if(!_336){_336="noFormat";}}else{if(_307.indexOf(this.button.values,_336)<0){_336="noFormat";}}}if(_336!==this.button.get("value")){this.button.set("value",_336,false);}}}});_307.forEach(["fontName","fontSize","formatBlock"],function(name){_310.registry[name]=function(args){return new _32e({command:name,plainText:args.plainText});};});});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_339,_33a,_33b){return _339("dojo.store.Memory",null,{constructor:function(_33c){for(var i in _33c){this[i]=_33c[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_33b,get:function(id){return this.data[this.index[id]];},getIdentity:function(_33d){return _33d[this.idProperty];},put:function(_33e,_33f){var data=this.data,_340=this.index,_341=this.idProperty;var id=(_33f&&"id" in _33f)?_33f.id:_341 in _33e?_33e[_341]:Math.random();if(id in _340){if(_33f&&_33f.overwrite===false){throw new Error("Object already exists");}data[_340[id]]=_33e;}else{_340[id]=data.push(_33e)-1;}return id;},add:function(_342,_343){(_343=_343||{}).overwrite=false;return this.put(_342,_343);},remove:function(id){var _344=this.index;var data=this.data;if(id in _344){data.splice(_344[id],1);this.setData(data);return true;}},query:function(_345,_346){return _33a(this.queryEngine(_345,_346)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_347,lang,_348){var util=lang.getObject("dojo.store.util",true);util.QueryResults=function(_349){if(!_349){return _349;}if(_349.then){_349=lang.delegate(_349);}function _34a(_34b){if(!_349[_34b]){_349[_34b]=function(){var args=arguments;return _348.when(_349,function(_34c){Array.prototype.unshift.call(args,_34c);return util.QueryResults(_347[_34b].apply(_347,args));});};}};_34a("forEach");_34a("filter");_34a("map");if(!_349.total){_349.total=_348.when(_349,function(_34d){return _34d.length;});}return _349;};return util.QueryResults;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_34e){return function(_34f,_350){switch(typeof _34f){default:throw new Error("Can not query with a "+typeof _34f);case "object":case "undefined":var _351=_34f;_34f=function(_352){for(var key in _351){var _353=_351[key];if(_353&&_353.test){if(!_353.test(_352[key])){return false;}}else{if(_353!=_352[key]){return false;}}}return true;};break;case "string":if(!this[_34f]){throw new Error("No filter function "+_34f+" was found in store");}_34f=this[_34f];case "function":}function _354(_355){var _356=_34e.filter(_355,_34f);if(_350&&_350.sort){_356.sort(function(a,b){for(var sort,i=0;sort=_350.sort[i];i++){var _357=a[sort.attribute];var _358=b[sort.attribute];if(_357!=_358){return !!sort.descending==_357>_358?-1:1;}}return 0;});}if(_350&&(_350.start||_350.count)){var _359=_356.length;_356=_356.slice(_350.start||0,(_350.start||0)+(_350.count||Infinity));_356.total=_359;}return _356;};_354.matches=_34f;return _354;};});},"dijit/form/FilteringSelect":function(){define(["dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","./MappedTextBox","./ComboBoxMixin"],function(_35a,_35b,_35c,lang,_35d,_35e){return _35b("dijit.form.FilteringSelect",[_35d,_35e],{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(_35f,_360,_361,_362){if((_360&&_360[this.searchAttr]!==this._lastQuery)||(!_360&&_35f.length&&this.store.getIdentity(_35f[0])!=this._lastQuery)){return;}if(!_35f.length){this.set("value","",_362||(_362===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_35f[0],_362);}},_openResultList:function(_363,_364,_365){if(_364[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(_366,_367,_368,item){if(!this._onChangeActive){_367=null;}if(item===undefined){if(_366===null||_366===""){_366="";if(!lang.isString(_368)){this._setDisplayedValueAttr(_368||"",_367);return;}}var self=this;this._lastQuery=_366;_35c.when(this.store.get(_366),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_367);});}else{this.valueNode.value=_366;this.inherited(arguments);}},_setItemAttr:function(item,_369,_36a){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_36b,_36c){if(_36b==null){_36b="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_36c=false;}if(this.store){this.closeDropDown();var _36d=lang.clone(this.query);var qs=this._getDisplayQueryString(_36b),q;if(this.store._oldAPI){q=qs;}else{q=_35a.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_36d[this.searchAttr]=q;this.textbox.value=_36b;this._lastDisplayedValue=_36b;this._set("displayedValue",_36b);var _36e=this;var _36f={ignoreCase:this.ignoreCase,deep:true};lang.mixin(_36f,this.fetchProperties);this._fetchHandle=this.store.query(_36d,_36f);_35c.when(this._fetchHandle,function(_370){_36e._fetchHandle=null;_36e._callbackSetLabel(_370||[],_36d,_36f,_36c);},function(err){_36e._fetchHandle=null;if(!_36e._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/filter":function(){define(["dojo/_base/lang"],function(lang){var _371=lang.getObject("dojo.data.util.filter",true);_371.patternToRegExp=function(_372,_373){var rxp="^";var c=null;for(var i=0;i<_372.length;i++){c=_372.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_372.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_373){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _371;});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_374,_375,_376){return _374("dijit.form.MappedTextBox",_376,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_375.place("<input type='hidden'"+(this.name?" 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/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_377,i18n,_378,_379,_37a){return _377("dijit.form.ValidationTextBox",_378,{templateString:_37a,baseClass:"dijitTextBox dijitValidationTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},regExp:".*",regExpGen:function(){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused);},validator:function(_37b,_37c){return (new RegExp("^(?:"+this.regExpGen(_37c)+")"+(this.required?"":"?")+"$")).test(_37b)&&(!this.required||!this._isEmpty(_37b))&&(this._isEmpty(_37b)||this.parse(_37b,_37c)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_37d){return (this.trim?/^\s*$/:/^$/).test(_37d);},getErrorMessage:function(){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_37e){var _37f="";var _380=this.disabled||this.isValid(_37e);if(_380){this._maskValidSubsetError=true;}var _381=this._isEmpty(this.textbox.value);var _382=!_380&&_37e&&this._isValidSubset();this._set("state",_380?"":(((((!this._hasBeenBlurred||_37e)&&_381)||_382)&&this._maskValidSubsetError)?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_380?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_37e&&_382;_37f=this.getErrorMessage(_37e);}else{if(this.state=="Incomplete"){_37f=this.getPromptMessage(_37e);this._maskValidSubsetError=!this._hasBeenBlurred||_37e;}else{if(_381){_37f=this.getPromptMessage(_37e);}}}this.set("message",_37f);return _380;},displayMessage:function(_383){if(_383&&this.focused){_379.show(_383,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_379.hide(this.domNode);}},_refreshState:function(){this.validate(this.focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_384){if(!_384.locale&&this.lang){_384.locale=this.lang;}this._set("constraints",_384);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _385="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_385+=re;break;case ")":_385+="|$)";break;default:_385+="(?:"+re+"|$)";break;}});}try{"".search(_385);}catch(e){_385=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_385+")$";},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}if(!this.invalidMessage){this.invalidMessage=this.promptMessage;}if(this.missingMessage=="$_unset_$"){this.missingMessage=this.messages.missingMessage;}if(!this.missingMessage){this.missingMessage=this.invalidMessage;}this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_386){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_387){this._set("required",_387);this.focusNode.setAttribute("aria-required",_387);this._refreshState();},_setMessageAttr:function(_388){this._set("message",_388);this.displayMessage(_388);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dijit/form/TextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html",".."],function(_389,_38a,_38b,_38c,lang,has,win,_38d,_38e,_38f,_390){var _391=_389([_38d,_38e],{templateString:_38f,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:has("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _392=this;setTimeout(function(){_392._handleOnChange(_392.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_38a.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_393,_394,_395){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_38c.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_396){_38c.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_396);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(has("ie")){_391=_389(_391,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _397=win.doc.selection.createRange();var _398=_397.parentElement();return _398==this.textbox&&_397.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(lang.hitch(this,function(){try{var s=_38b.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _399=this.domNode.getElementsByTagName("INPUT");if(_399){for(var i=0;i<_399.length;i++){_399[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_390._setSelectionRange=_38e._setSelectionRange=function(_39a,_39b,stop){if(_39a.createTextRange){var r=_39a.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_39b);r.moveEnd("character",stop-_39b);r.select();}};}else{if(has("mozilla")){_391=_389(_391,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_391.prototype.declaredClass="dijit.form.TextBox";}}lang.setObject("dijit.form.TextBox",_391);return _391;});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_39c,_39d,dom,_39e,keys,lang,_39f){var _3a0=_39d("dijit.form._TextBoxMixin",null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_3a1,_3a2,_3a3){var _3a4;if(_3a1!==undefined){_3a4=this.filter(_3a1);if(typeof _3a3!="string"){if(_3a4!==null&&((typeof _3a4!="number")||!isNaN(_3a4))){_3a3=this.filter(this.format(_3a4,this.constraints));}else{_3a3="";}}}if(_3a3!=null&&_3a3!=undefined&&((typeof _3a3)!="number"||!isNaN(_3a3))&&this.textbox.value!=_3a3){this.textbox.value=_3a3;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_3a3);}this.inherited(arguments,[_3a4,_3a2]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_3a5){if(_3a5===null||_3a5===undefined){_3a5="";}else{if(typeof _3a5!="string"){_3a5=String(_3a5);}}this.textbox.value=_3a5;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_3a5);}},format:function(_3a6){return ((_3a6==null||_3a6==undefined)?"":(_3a6.toString?_3a6.toString():_3a6));},parse:function(_3a7){return _3a7;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _3a8=function(e){var _3a9=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_3a9){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_3a9>=65&&_3a9<=90){return;}}}if(e.type=="keypress"&&typeof _3a9!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_3a9,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_39e.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_39c.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput"],function(_3aa){this.connect(this.textbox,_3aa,_3a8);},this);},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}},_isTextSelected:function(){return this.textbox.selectionStart==this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);if(this._isTextSelected()){_3a0.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_3ab){if(!this._created||this.textDir!=_3ab){this._set("textDir",_3ab);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_3a0._setSelectionRange=_39f._setSelectionRange=function(_3ac,_3ad,stop){if(_3ac.setSelectionRange){_3ac.setSelectionRange(_3ad,stop);}};_3a0.selectInputText=_39f.selectInputText=function(_3ae,_3af,stop){_3ae=dom.byId(_3ae);if(isNaN(_3af)){_3af=0;}if(isNaN(stop)){stop=_3ae.value?_3ae.value.length:0;}try{_3ae.focus();_3a0._setSelectionRange(_3ae,_3af,stop);}catch(e){}};return _3a0;});},"url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/Tooltip":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","."],function(_3b0,_3b1,fx,dom,_3b2,_3b3,_3b4,lang,has,win,_3b5,_3b6,_3b7,_3b8,_3b9,_3ba,_3bb){var _3bc=_3b1("dijit._MasterTooltip",[_3b7,_3b8],{duration:_3b5.defaultDuration,templateString:_3ba,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _3b9(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(_3bd,_3be,_3bf,rtl,_3c0){if(this.aroundNode&&this.aroundNode===_3be&&this.containerNode.innerHTML==_3bd){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_3bd;this.set("textDir",_3c0);this.containerNode.align=rtl?"right":"left";var pos=_3b6.around(this.domNode,_3be,_3bf&&_3bf.length?_3bf:_3c1.defaultPosition,!rtl,lang.hitch(this,"orient"));var _3c2=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_3c2.y+((_3c2.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=_3c2.x+((_3c2.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_3b4.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_3be;},orient:function(node,_3c3,_3c4,_3c5,_3c6){this.connectorNode.style.top="";var _3c7=_3c5.w-this.connectorNode.offsetWidth;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_3c3+"-"+_3c4];this.domNode.style.width="auto";var size=_3b3.getContentBox(this.domNode);var _3c8=Math.min((Math.max(_3c7,1)),size.w);var _3c9=_3c8<size.w;this.domNode.style.width=_3c8+"px";if(_3c9){this.containerNode.style.overflow="auto";var _3ca=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_3ca>_3c8){_3ca=_3ca+_3b4.get(this.domNode,"paddingLeft")+_3b4.get(this.domNode,"paddingRight");this.domNode.style.width=_3ca+"px";}}if(_3c4.charAt(0)=="B"&&_3c3.charAt(0)=="B"){var mb=_3b3.getMarginBox(node);var _3cb=this.connectorNode.offsetHeight;if(mb.h>_3c5.h){var _3cc=_3c5.h-((_3c6.h+_3cb)>>1);this.connectorNode.style.top=_3cc+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_3c6.h/2-_3cb/2,0),mb.h-_3cb)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_3c7);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_3cd){if(this._onDeck&&this._onDeck[1]==_3cd){this._onDeck=null;}else{if(this.aroundNode===_3cd){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_3b0.forEach(node.children,function(_3ce){this._setAutoTextDir(_3ce);},this);},_setTextDirAttr:function(_3cf){this._set("textDir",typeof _3cf!="undefined"?_3cf:"");if(_3cf=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_3bb.showTooltip=function(_3d0,_3d1,_3d2,rtl,_3d3){if(!_3c1._masterTT){_3bb._masterTT=_3c1._masterTT=new _3bc();}return _3c1._masterTT.show(_3d0,_3d1,_3d2,rtl,_3d3);};_3bb.hideTooltip=function(_3d4){return _3c1._masterTT&&_3c1._masterTT.hide(_3d4);};var _3c1=_3b1("dijit.Tooltip",_3b7,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_3d5){_3b0.forEach(this._connections||[],function(_3d6){_3b0.forEach(_3d6,lang.hitch(this,"disconnect"));},this);this._connectIds=_3b0.filter(lang.isArrayLike(_3d5)?_3d5:(_3d5?[_3d5]:[]),function(id){return dom.byId(id);});this._connections=_3b0.map(this._connectIds,function(id){var node=dom.byId(id);return [this.connect(node,"onmouseenter","_onHover"),this.connect(node,"onmouseleave","_onUnHover"),this.connect(node,"onfocus","_onHover"),this.connect(node,"onblur","_onUnHover")];},this);this._set("connectId",_3d5);},addTarget:function(node){var id=node.id||node;if(_3b0.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_3b0.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_3b2.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_3b0.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _3d7=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_3d7);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_3d8){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_3c1.show(this.label||this.domNode.innerHTML,_3d8,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_3d8;this.onShow(_3d8,this.position);},close:function(){if(this._connectNode){_3c1.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});_3c1._MasterTooltip=_3bc;_3c1.show=_3bb.showTooltip;_3c1.hide=_3bb.hideTooltip;_3c1.defaultPosition=["after-centered","before-centered"];return _3c1;});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n","url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"Χ \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/form/nls/validate":function(){define({root:({invalidMessage:"The value entered is not valid.",missingMessage:"This value is required.",rangeMessage:"This value is out of range."}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_3d9,_3da,_3db,lang,_3dc,_3dd,_3de,_3df,_3e0){return _3d9("dijit.form.ComboBoxMixin",[_3df,_3dd],{dropDownClass:_3de,hasDownArrow:true,templateString:_3e0,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(_3e1){if(!_3e1.get){lang.mixin(_3e1,{_oldAPI:true,get:function(id){var _3e2=new _3da();this.fetchItemByIdentity({identity:id,onItem:function(_3e3){_3e2.resolve(_3e3);},onError:function(_3e4){_3e2.reject(_3e4);}});return _3e2.promise;},query:function(_3e5,_3e6){var _3e7=new _3da(function(){_3e8.abort&&_3e8.abort();});var _3e8=this.fetch(lang.mixin({query:_3e5,onBegin:function(_3e9){_3e7.total=_3e9;},onComplete:function(_3ea){_3e7.resolve(_3ea);},onError:function(_3eb){_3e7.reject(_3eb);}},_3e6));return _3dc(_3e7);}});}this._set("store",_3e1);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _3ec=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_3db.deprecated(_3ec+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_3db.deprecated(_3ec+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_3db.deprecated(_3ec+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_3ed){new _3ed({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/_base/connect","dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/_base/sniff","dojo/string","dojo/_base/window","./DataList","../registry","./_TextBoxMixin"],function(_3ee,_3ef,_3f0,_3f1,_3f2,_3f3,keys,lang,_3f4,_3f5,has,_3f6,win,_3f7,_3f8,_3f9){return _3f0("dijit.form._AutoCompleterMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_3fa){var pos=0;if(typeof (_3fa.selectionStart)=="number"){pos=_3fa.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_3fa.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(_3fb,_3fc){_3fc=parseInt(_3fc);_3f9.selectInputText(_3fb,_3fc,_3fc);},_setDisabledAttr:function(_3fd){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_3fd);},_abortQuery:function(){if(this.searchTimer){clearTimeout(this.searchTimer);this.searchTimer=null;}if(this._fetchHandle){if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_onInput:function(evt){this.inherited(arguments);if(evt.charOrCode==229){this._onKey(evt);}},_onKey:function(evt){var key=evt.charOrCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT){return;}var _3fe=false;var pw=this.dropDown;var _3ff=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_3ff=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(_3ff);}_3f3.stop(evt);break;case keys.ENTER:if(_3ff){if(_3ff==pw.nextButton){this._nextSearch(1);_3f3.stop(evt);break;}else{if(_3ff==pw.previousButton){this._nextSearch(-1);_3f3.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_3f3.stop(evt);}case keys.TAB:var _400=this.get("displayedValue");if(pw&&(_400==pw._messages["previousMessage"]||_400==pw._messages["nextMessage"])){break;}if(_3ff){this._selectOption(_3ff);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_3ff){_3f3.stop(evt);this._selectOption(_3ff);this.closeDropDown();}else{_3fe=true;}break;case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;_3fe=true;break;default:_3fe=typeof key=="string"||key==229;}if(_3fe){this.item=undefined;this.searchTimer=setTimeout(lang.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;_3f9.selectInputText(fn,fn.value.length);var _401=this.ignoreCase?"toLowerCase":"substr";if(text[_401](0).indexOf(this.focusNode.value[_401](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_3f9.selectInputText(fn,cpos);}}else{fn.value=text;_3f9.selectInputText(fn);}},_openResultList:function(_402,_403,_404){this._fetchHandle=null;if(this.disabled||this.readOnly||(_403[this.searchAttr]!==this._lastQuery)){return;}var _405=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_402.length&&_404.start==0){this.closeDropDown();return;}var _406=this.dropDown.createOptions(_402,_404,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_404.direction){if(1==_404.direction){this.dropDown.highlightFirstOption();}else{if(-1==_404.direction){this.dropDown.highlightLastOption();}}if(_405){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_403[this.searchAttr].toString())){this._announceOption(_406[1]);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _407=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_407==pw._messages["previousMessage"]||_407==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_407);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_408,_409){var _40a="";if(item){if(!_409){_409=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_40a=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_409;}this.set("value",_40a,_408,_409,item);},_announceOption:function(node){if(!node){return;}var _40b;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_40b=node.innerHTML;this.item=undefined;this.value="";}else{_40b=(this.store._oldAPI?this.store.getValue(node.item,this.searchAttr):node.item[this.searchAttr]).toString();this.set("item",node.item,false,_40b);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_3f2.get(node,"id"));this._autoCompleteText(_40b);},_selectOption:function(_40c){this.closeDropDown();if(_40c){this._announceOption(_40c);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_getQueryString:function(text){return _3f6.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _40d=this.id+"_popup",_40e=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _40e({onChange:lang.hitch(this,this._selectOption),id:_40d,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_40d);}this._lastInput=key;var _40f=lang.clone(this.query);var _410={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_410,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_3ef.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_40f[this.searchAttr]=q;var _411=this,_412=function(){var _413=_411._fetchHandle=_411.store.query(_40f,_410);_3f1.when(_413,function(res){_411._fetchHandle=null;res.total=_413.total;_411._openResultList(res,_40f,_410);},function(err){_411._fetchHandle=null;if(!_411._cancelingQuery){console.error(_411.declaredClass+" "+err.toString());_411.closeDropDown();}});};this.searchTimer=setTimeout(lang.hitch(this,function(_414,_415){this.searchTimer=null;_412();this._nextSearch=this.dropDown.onPage=function(_416){_410.start+=_410.count*_416;_410.direction=_416;_412();_415.focus();};},_40f,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _417=this.srcNodeRef;var list=this.list;if(list){this.store=_3f8.byId(list);}else{this.store=new _3f7({},_417);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _418=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_418):item[_418];}}}this.inherited(arguments);},postCreate:function(){var _419=_3f4("label[for=\""+this.id+"\"]");if(_419.length){_419[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_419[0].id);}this.inherited(arguments);},_getMenuLabelFromItem:function(item){var _41a=this.labelFunc(item,this.store),_41b=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_41a=this.doHighlight(_41a,this._escapeHtml(this._lastInput));_41b="html";}return {html:_41b=="html",label:_41a};},doHighlight:function(_41c,find){var _41d=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_3f5.escapeString(find);return this._escapeHtml(_41c).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_41d),"<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,_41e){return (_41e._oldAPI?_41e.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_41f,_420,_421,item){this._set("item",item||null);if(!_41f){_41f="";}this.inherited(arguments);},_setTextDirAttr:function(_422){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_422);}}});});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_423){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_423&&_423.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_424){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_424);};dojo.regexp.group=function(_425,_426){return "("+(_426?"?:":"")+_425+")";};return dojo.regexp;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_427,dom,lang,_428,_429,_42a){function _42b(_42c){return {id:_42c.value,value:_42c.value,name:lang.trim(_42c.innerText||_42c.textContent||"")};};return _427("dijit.form.DataList",_429,{constructor:function(_42d,_42e){this.domNode=dom.byId(_42e);lang.mixin(this,_42d);if(this.id){_42a.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_428("option",this.domNode).map(_42b)}]);},destroy:function(){_42a.remove(this.id);},fetchSelectedItem:function(){var _42f=_428("> option[selected]",this.domNode)[0]||_428("> option",this.domNode)[0];return _42f&&_42b(_42f);}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_430,_431,_432,_433,keys,_434,_435,_436,_437){return _430("dijit.form._ComboBoxMenu",[_434,_435,_437,_436],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_431.add(this.previousButton,"dijitMenuItemRtl");_431.add(this.nextButton,"dijitMenuItemRtl");}},_createMenuItem:function(){return _432.create("div",{"class":"dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl"),role:"option"});},onHover:function(node){_431.add(node,"dijitMenuItemHover");},onUnhover:function(node){_431.remove(node,"dijitMenuItemHover");},onSelect:function(node){_431.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_431.remove(node,"dijitMenuItemSelected");},_page:function(up){var _438=0;var _439=this.domNode.scrollTop;var _43a=_433.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_438<_43a){var _43b=this.getHighlightedOption();if(up){if(!_43b.previousSibling||_43b.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_43b.nextSibling||_43b.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _43c=this.domNode.scrollTop;_438+=(_43c-_439)*(up?-1:1);_439=_43c;}},handleKey:function(evt){switch(evt.charOrCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_43d,_43e,_43f,i18n,win){return _43e("dijit.form._ComboBoxMenuMixin",null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_440){this.value=_440;this.onChange(_440);},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,_441){var _442=this._createMenuItem();var _443=_441(item);if(_443.html){_442.innerHTML=_443.label;}else{_442.appendChild(win.doc.createTextNode(_443.label));}if(_442.innerHTML==""){_442.innerHTML=" ";}this.applyTextDir(_442,(_442.innerText||_442.textContent||""));_442.item=item;return _442;},createOptions:function(_444,_445,_446){this.previousButton.style.display=(_445.start==0)?"none":"";_43f.set(this.previousButton,"id",this.id+"_prev");_43d.forEach(_444,function(item,i){var _447=this._createOption(item,_446);_43f.set(_447,"id",this.id+i);this.nextButton.parentNode.insertBefore(_447,this.nextButton);},this);var _448=false;if(_444.total&&!_444.total.then&&_444.total!=-1){if((_445.start+_445.count)<_444.total){_448=true;}else{if((_445.start+_445.count)>_444.total&&_445.count==_444.length){_448=true;}}}else{if(_445.count==_444.length){_448=true;}}this.nextButton.style.display=_448?"":"none";_43f.set(this.nextButton,"id",this.id+"_next");return this.containerNode.childNodes;},clearResultList:function(){var _449=this.containerNode;while(_449.childNodes.length>2){_449.removeChild(_449.childNodes[_449.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this._getSelectedAttr();}});});},"dijit/form/nls/ComboBox":function(){define({root:({previousMessage:"Previous choices",nextMessage:"More choices"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/touch","./_ListBase"],function(_44a,_44b,_44c,_44d){return _44a("dijit.form._ListMouseMixin",_44d,{postCreate:function(){this.inherited(arguments);this.connect(this.domNode,_44c.press,"_onMouseDown");this.connect(this.domNode,_44c.release,"_onMouseUp");this.connect(this.domNode,"onmouseover","_onMouseOver");this.connect(this.domNode,"onmouseout","_onMouseOut");},_onMouseDown:function(evt){_44b.stop(evt);if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(this._getTarget(evt));},_onMouseUp:function(evt){_44b.stop(evt);this._isDragging=false;var _44e=this._getSelectedAttr();var _44f=this._getTarget(evt);var _450=this._hoveredNode;if(_44e&&_44f==_44e){this.onClick(_44e);}else{if(_450&&_44f==_450){this._setSelectedAttr(_450);this.onClick(_450);}}},_onMouseOut:function(){if(this._hoveredNode){this.onUnhover(this._hoveredNode);if(this._getSelectedAttr()==this._hoveredNode){this.onSelect(this._hoveredNode);}this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}var node=this._getTarget(evt);if(!node){return;}if(this._hoveredNode!=node){if(this._hoveredNode){this._onMouseOut({target:this._hoveredNode});}if(node&&node.parentNode==this.containerNode){if(this._isDragging){this._setSelectedAttr(node);}else{this._hoveredNode=node;this.onHover(node);}}}}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/window"],function(_451,_452){return _451("dijit.form._ListBase",null,{selected:null,_getTarget:function(evt){var tgt=evt.target;var _453=this.containerNode;if(tgt==_453||tgt==this.domNode){return null;}while(tgt&&tgt.parentNode!=_453){tgt=tgt.parentNode;}return tgt;},selectFirstNode:function(){var _454=this.containerNode.firstChild;while(_454&&_454.style.display=="none"){_454=_454.nextSibling;}this._setSelectedAttr(_454);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last);},selectNextNode:function(){var _455=this._getSelectedAttr();if(!_455){this.selectFirstNode();}else{var next=_455.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next);}}},selectPreviousNode:function(){var _456=this._getSelectedAttr();if(!_456){this.selectLastNode();}else{var prev=_456.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev);}}},_setSelectedAttr:function(node){if(this.selected!=node){var _457=this._getSelectedAttr();if(_457){this.onDeselect(_457);this.selected=null;}if(node&&node.parentNode==this.containerNode){this.selected=node;_452.scrollIntoView(node);this.onSelect(node);}}else{if(node){this.onSelect(node);}}},_getSelectedAttr:function(){var v=this.selected;return (v&&v.parentNode==this.containerNode)?v:(this.selected=null);}});});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/touch","dojo/_base/window","dojo/window","./registry","./focus","./popup","./_FocusMixin"],function(_458,_459,_45a,dom,_45b,_45c,_45d,_45e,has,keys,lang,_45f,win,_460,_461,_462,_463,_464){return _458("dijit._HasDropDown",_464,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}e.preventDefault();this._docHandler=this.connect(win.doc,_45f.release,"_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _465=this.dropDown,_466=false;if(e&&this._opened){var c=_45d.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&&!_466){if(_45c.contains(t,"dijitPopup")){_466=true;}else{t=t.parentNode;}}if(_466){t=e.target;if(_465.onItemClick){var _467;while(t&&!(_467=_461.byNode(t))){t=t.parentNode;}if(_467&&_467.onClick&&_467.getParent){_467.getParent().onItemClick(_467,e);}}return;}}}if(this._opened){if(_465.focus&&_465.autoFocus!==false){window.setTimeout(lang.hitch(_465,"focus"),1);}}else{setTimeout(lang.hitch(this,"focus"),0);}if(has("ios")){this._justGotMouseUp=true;setTimeout(lang.hitch(this,function(){this._justGotMouseUp=false;}),0);}},_onDropDownClick:function(e){if(has("ios")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_45a.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _468={"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";_45c.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_468+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,_45f.press,"_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeypress","_onKey");this.connect(this.focusNode,"onkeyup","_onKeyUp");},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_469=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_45a.stop(e);return;}}if(d&&this._opened&&e.charOrCode==keys.ESCAPE){this.closeDropDown();_45a.stop(e);}else{if(!this._opened&&(e.charOrCode==keys.DOWN_ARROW||((e.charOrCode==keys.ENTER||e.charOrCode==" ")&&((_469.tagName||"").toLowerCase()!=="input"||(_469.type&&_469.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_45a.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(lang.hitch(d,"focus"),1);}}},_onBlur:function(){var _46a=_462.curNode&&this.dropDown&&dom.isDescendant(_462.curNode,this.dropDown.domNode);this.closeDropDown(_46a);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_46b){_46b();},loadAndOpenDropDown:function(){var d=new _459(),_46c=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_46c);}else{_46c();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _46d=this.dropDown,_46e=_46d.domNode,_46f=this._aroundNode||this.domNode,self=this;if(!this._preparedNode){this._preparedNode=true;if(_46e.style.width){this._explicitDDWidth=true;}if(_46e.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _470={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_470.width="";}if(!this._explicitDDHeight){_470.height="";}_45e.set(_46e,_470);var _471=this.maxHeight;if(_471==-1){var _472=_460.getBox(),_473=_45d.position(_46f,false);_471=Math.floor(Math.max(_473.y,_472.h-(_473.y+_473.h)));}_463.moveOffScreen(_46d);if(_46d.startup&&!_46d._started){_46d.startup();}var mb=_45d.getMarginSize(_46e);var _474=(_471&&mb.h>_471);_45e.set(_46e,{overflowX:"hidden",overflowY:_474?"auto":"hidden"});if(_474){mb.h=_471;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_46f.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_46f.offsetWidth);}else{delete mb.w;}}if(lang.isFunction(_46d.resize)){_46d.resize(mb);}else{_45d.setMarginBox(_46e,mb);}}var _475=_463.open({parent:this,popup:_46d,around:_46f,orient:this.dropDownPosition,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_45b.set(self._popupStateNode,"popupActive",false);_45c.remove(self._popupStateNode,"dijitHasDropDownOpen");self._opened=false;}});_45b.set(this._popupStateNode,"popupActive","true");_45c.add(self._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _475;},closeDropDown:function(_476){if(this._opened){if(_476){this.focus();}_463.close(this.dropDown);this._opened=false;}}});});},"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"▼ \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"Χ \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n","dijit/_editor/nls/FontChoice":function(){define({root:({fontSize:"Size",fontName:"Font",formatBlock:"Format",serif:"serif","sans-serif":"sans-serif",monospace:"monospace",cursive:"cursive",fantasy:"fantasy",noFormat:"None",p:"Paragraph",h1:"Heading",h2:"Subheading",h3:"Sub-subheading",pre:"Pre-formatted",1:"xx-small",2:"x-small",3:"small",4:"medium",5:"large",6:"x-large",7:"xx-large"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dijit/_editor/plugins/LinkDialog":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/_base/window","../../_Widget","../_Plugin","../../form/DropDownButton","../range","../selection"],function(_477,_478,_479,keys,lang,has,_47a,win,_47b,_47c,_47d,_47e,_47f){var _480=_478("dijit._editor.plugins.LinkDialog",_47c,{buttonClass:_47d,useDefaultCommand:false,urlRegExp:"((https?|ftps?|file)\\://|./|/|)(/[a-zA-Z]{1,1}:/|)(((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)*(?:[a-zA-Z](?:[-\\da-zA-Z]{0,80}[\\da-zA-Z])?)\\.?)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:\\d+)?(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]{0,}(?:\\?[^?#\\s/]*)?(?:#.*)?)?)?",emailRegExp:"<?(mailto\\:)([!#-'*+\\-\\/-9=?A-Z^-~]+[.])*[!#-'*+\\-\\/-9=?A-Z^-~]+"+"@"+"((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)+(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)\\.?)|localhost|^[^-][a-zA-Z0-9_-]*>?",htmlTemplate:"<a href=\"${urlInput}\" _djrealurl=\"${urlInput}\""+" target=\"${targetSelect}\""+">${textInput}</a>",tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,linkDialogTemplate:["<table><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' "+"id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_targetSelect'>${target}</label>","</td><td>","<select id='${id}_targetSelect' name='targetSelect' data-dojo-type='dijit.form.Select'>","<option selected='selected' value='_self'>${currentWindow}</option>","<option value='_blank'>${newWindow}</option>","<option value='_top'>${topWindow}</option>","<option value='_parent'>${parentWindow}</option>","</select>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),_initButton:function(){this.inherited(arguments);this.button.loadDropDown=lang.hitch(this,"_loadDropDown");this._connectTagEvents();},_loadDropDown:function(_481){_477(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_482,_483){var _484=this;this.tag=this.command=="insertImage"?"img":"a";var _485=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _486=(this.dropDown=this.button.dropDown=new _482({title:_485[this.command+"Title"],execute:lang.hitch(this,"setValue"),onOpen:function(){_484._onOpenDialog();_482.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_484,"_onCloseDialog"),0);}}));_485.urlRegExp=this.urlRegExp;_485.id=_483.getUniqueId(this.editor.id);this._uniqueId=_485.id;this._setContent(_486.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_47a.substitute(this.linkDialogTemplate,_485));_486.startup();this._urlInput=_483.byId(this._uniqueId+"_urlInput");this._textInput=_483.byId(this._uniqueId+"_textInput");this._setButton=_483.byId(this._uniqueId+"_setButton");this.connect(_483.byId(this._uniqueId+"_cancelButton"),"onClick",function(){this.dropDown.onCancel();});if(this._urlInput){this.connect(this._urlInput,"onChange","_checkAndFixInput");}if(this._textInput){this.connect(this._textInput,"onChange","_checkAndFixInput");}this._urlRegExp=new RegExp("^"+this.urlRegExp+"$","i");this._emailRegExp=new RegExp("^"+this.emailRegExp+"$","i");this._urlInput.isValid=lang.hitch(this,function(){var _487=this._urlInput.get("value");return this._urlRegExp.test(_487)||this._emailRegExp.test(_487);});this.connect(_486.domNode,"onkeypress",function(e){if(e&&e.charOrCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_486.onExecute();_486.execute(_486.get("value"));}}});_481();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _488=function(url){var _489=false;var _48a=false;if(url&&url.length>1){url=lang.trim(url);if(url.indexOf("mailto:")!==0){if(url.indexOf("/")>0){if(url.indexOf("://")===-1){if(url.charAt(0)!=="/"&&url.indexOf("./")!==0){if(self._hostRxp.test(url)){_489=true;}}}}else{if(self._userAtRxp.test(url)){_48a=true;}}}}if(_489){self._urlInput.set("value","http://"+url);}if(_48a){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(){_488(url);},250);},_connectTagEvents:function(){this.editor.onLoadDeferred.addCallback(lang.hitch(this,function(){this.connect(this.editor.editNode,"ondblclick",this._onDblClick);}));},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid();},_setContent:function(_48b){this.dropDown.set({parserScope:"dojo",content:_48b});},_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=_47e.getSelection(this.editor.window);var _48c=sel.getRangeAt(0);var a=_48c.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_47f,[this.tag]);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){win.withGlobal(this.editor.window,"selectElementChildren",_47f,[a]);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_47a.substitute(this.htmlTemplate,args));},_onCloseDialog:function(){this.editor.focus();},_getCurrentValues:function(a){var url,text,_48d;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_48d=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;win.withGlobal(this.editor.window,"selectElement",_47f,[a,true]);}else{text=win.withGlobal(this.editor.window,_47f.getSelectedText);}return {urlInput:url||"",textInput:text||"",targetSelect:_48d||""};},_onOpenDialog:function(){var a;if(has("ie")<9){var sel=_47e.getSelection(this.editor.window);var _48e=sel.getRangeAt(0);a=_48e.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_47f,[this.tag]);}}else{a=win.withGlobal(this.editor.window,"getAncestorElement",_47f,[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&&_479.get(t,"href")){var _48f=this.editor;win.withGlobal(_48f.window,"selectElement",_47f,[t]);_48f.onDisplayChanged();if(_48f._updateTimer){clearTimeout(_48f._updateTimer);delete _48f._updateTimer;}_48f.onNormalizedDisplayChanged();var _490=this.button;setTimeout(function(){_490.set("disabled",false);_490.loadAndOpenDropDown().then(function(){if(_490.dropDown.focus){_490.dropDown.focus();}});},10);}}}});var _491=_478("dijit._editor.plugins.ImgLinkDialog",[_480],{linkDialogTemplate:["<table><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input dojoType='dijit.form.ValidationTextBox' regExp='${urlRegExp}' "+"required='true' id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='false' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","</td><td>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),htmlTemplate:"<img src=\"${urlInput}\" _djrealurl=\"${urlInput}\" alt=\"${textInput}\" />",tag:"img",_getCurrentValues:function(img){var url,text;if(img&&img.tagName.toLowerCase()===this.tag){url=img.getAttribute("_djrealurl")||img.getAttribute("src");text=img.getAttribute("alt");win.withGlobal(this.editor.window,"selectElement",_47f,[img,true]);}else{text=win.withGlobal(this.editor.window,_47f.getSelectedText);}return {urlInput:url||"",textInput:text||""};},_isValid:function(){return this._urlInput.isValid();},_connectTagEvents:function(){this.inherited(arguments);this.editor.onLoadDeferred.addCallback(lang.hitch(this,function(){this.connect(this.editor.editNode,"onmousedown",this._selectTag);}));},_selectTag:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag){win.withGlobal(this.editor.window,"selectElement",_47f,[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&&_479.get(t,"src")){var _492=this.editor;win.withGlobal(_492.window,"selectElement",_47f,[t]);_492.onDisplayChanged();if(_492._updateTimer){clearTimeout(_492._updateTimer);delete _492._updateTimer;}_492.onNormalizedDisplayChanged();var _493=this.button;setTimeout(function(){_493.set("disabled",false);_493.loadAndOpenDropDown().then(function(){if(_493.dropDown.focus){_493.dropDown.focus();}});},10);}}}});_47c.registry["createLink"]=function(){return new _480({command:"createLink"});};_47c.registry["insertImage"]=function(){return new _491({command:"insertImage"});};_480.ImgLinkDialog=_491;return _480;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_494,lang,_495,_496,_497,_498,_499,_49a,_49b){return _494("dijit.form.DropDownButton",[_498,_499,_49a],{baseClass:"dijitDropDownButton",templateString:_49b,_fillContent:function(){if(this.srcNodeRef){var _49c=_495("*",this.srcNodeRef);this.inherited(arguments,[_49c[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _49d=_495("[widgetId]",this.dropDownContainer)[0];this.dropDown=_496.byNode(_49d);delete this.dropDownContainer;}if(this.dropDown){_497.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _49e=this.dropDown;return (!!_49e&&(!_49e.href||_49e.isLoaded));},loadDropDown:function(_49f){var _4a0=this.dropDown;var _4a1=_4a0.on("load",lang.hitch(this,function(){_4a1.remove();_49f();}));_4a0.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">▼</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\"\n/></span>\n","dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_4a2,_4a3,_4a4,_4a5,dom,_4a6,_4a7,_4a8,_4a9,keys,lang,on,has,win,_4aa,pm,_4ab,_4ac){if(!_4a9.isAsync){_4ac(0,function(){var _4ad=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_4a2(_4ad);});}return _4a4("dijit.Menu",_4ab,{constructor:function(){this._bindings=[];},targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(win.body());}else{_4a3.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_4ae){return _4aa.get(this._iframeContentDocument(_4ae))||this._iframeContentDocument(_4ae)["__parent__"]||(_4ae.name&&win.doc.frames[_4ae.name])||null;},_iframeContentDocument:function(_4af){return _4af.contentDocument||(_4af.contentWindow&&_4af.contentWindow.document)||(_4af.name&&win.doc.frames[_4af.name]&&win.doc.frames[_4af.name].document)||null;},bindDomNode:function(node){node=dom.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _4b0=node,_4b1=this._iframeContentWindow(_4b0);cn=win.withGlobal(_4b1,win.body);}else{cn=(node==win.body()?win.doc.documentElement:node);}var _4b2={node:node,iframe:_4b0};_4a6.set(node,"_dijitMenu"+this.id,this._bindings.push(_4b2));var _4b3=lang.hitch(this,function(cn){return [on(cn,this.leftClickToOpen?"click":"contextmenu",lang.hitch(this,function(evt){_4a5.stop(evt);this._scheduleOpen(evt.target,_4b0,{x:evt.pageX,y:evt.pageY});})),on(cn,"keydown",lang.hitch(this,function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_4a5.stop(evt);this._scheduleOpen(evt.target,_4b0);}}))];});_4b2.connects=cn?_4b3(cn):[];if(_4b0){_4b2.onloadHandler=lang.hitch(this,function(){var _4b4=this._iframeContentWindow(_4b0);cn=win.withGlobal(_4b4,win.body);_4b2.connects=_4b3(cn);});if(_4b0.addEventListener){_4b0.addEventListener("load",_4b2.onloadHandler,false);}else{_4b0.attachEvent("onload",_4b2.onloadHandler);}}},unBindDomNode:function(_4b5){var node;try{node=dom.byId(_4b5);}catch(e){return;}var _4b6="_dijitMenu"+this.id;if(node&&_4a6.has(node,_4b6)){var bid=_4a6.get(node,_4b6)-1,b=this._bindings[bid],h;while(h=b.connects.pop()){h.remove();}var _4b7=b.iframe;if(_4b7){if(_4b7.removeEventListener){_4b7.removeEventListener("load",b.onloadHandler,false);}else{_4b7.detachEvent("onload",b.onloadHandler);}}_4a6.remove(node,_4b6);delete this._bindings[bid];}},_scheduleOpen:function(_4b8,_4b9,_4ba){if(!this._openTimer){this._openTimer=setTimeout(lang.hitch(this,function(){delete this._openTimer;this._openMyself({target:_4b8,iframe:_4b9,coords:_4ba});}),1);}},_openMyself:function(args){var _4bb=args.target,_4bc=args.iframe,_4bd=args.coords;if(_4bd){if(_4bc){var ifc=_4a7.position(_4bc,true),_4be=this._iframeContentWindow(_4bc),_4bf=win.withGlobal(_4be,"_docScroll",dojo);var cs=_4a8.getComputedStyle(_4bc),tp=_4a8.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_4bc,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_4bc,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_4bc,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_4bc,cs.borderTopWidth):0);_4bd.x+=ifc.x+left-_4bf.x;_4bd.y+=ifc.y+top-_4bf.y;}}else{_4bd=_4a7.position(_4bb,true);_4bd.x+=10;_4bd.y+=10;}var self=this;var _4c0=this._focusManager.get("prevNode");var _4c1=this._focusManager.get("curNode");var _4c2=!_4c1||(dom.isDescendant(_4c1,this.domNode))?_4c0:_4c1;function _4c3(){if(self.refocus&&_4c2){_4c2.focus();}pm.close(self);};pm.open({popup:this,x:_4bd.x,y:_4bd.y,onExecute:_4c3,onCancel:_4c3,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},uninitialize:function(){_4a3.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_4c4,_4c5,keys,_4c6,_4c7,_4c8){return _4c4("dijit.DropDownMenu",[_4c8,_4c7],{templateString:_4c6,baseClass:"dijitMenu",postCreate:function(){var l=this.isLeftToRight();this._openSubMenuKey=l?keys.RIGHT_ARROW:keys.LEFT_ARROW;this._closeSubMenuKey=l?keys.LEFT_ARROW:keys.RIGHT_ARROW;this.connectKeyNavHandlers([keys.UP_ARROW],[keys.DOWN_ARROW]);},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case this._openSubMenuKey:this._moveToPopup(evt);_4c5.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_4c5.stop(evt);}break;}}});});},"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","dijit/_MenuBase":function(){define(["./popup","dojo/window","./_Widget","./_KeyNavContainer","./_TemplatedMixin","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/_base/array"],function(pm,_4c9,_4ca,_4cb,_4cc,_4cd,dom,_4ce,_4cf,lang,_4d0){return _4cd("dijit._MenuBase",[_4ca,_4cc,_4cb],{parentMenu:null,popupDelay:500,onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}else{var _4d1=this._getTopMenu();if(_4d1&&_4d1._isMenuBar){_4d1.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _4d2=this.currentPopup.parentMenu;if(_4d2.focusedChild){_4d2.focusedChild._setSelected(false);}_4d2.focusedChild=this.currentPopup.from_item;_4d2.focusedChild._setSelected(true);this._stopPendingCloseTimer(this.currentPopup);}},onItemHover:function(item){if(this.isActive){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=setTimeout(lang.hitch(this,"_openPopup"),this.popupDelay);}}if(this.focusedChild){this.focusChild(item);}this._hoveredChild=item;},_onChildBlur:function(item){this._stopPopupTimer();item._setSelected(false);var _4d3=item.popup;if(_4d3){this._stopPendingCloseTimer(_4d3);_4d3._pendingClose_timer=setTimeout(function(){_4d3._pendingClose_timer=null;if(_4d3.parentMenu){_4d3.parentMenu.currentPopup=null;}pm.close(_4d3);},this.popupDelay);}},onItemUnhover:function(item){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==item){this._hoveredChild=null;}},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_stopPendingCloseTimer:function(_4d4){if(_4d4._pendingClose_timer){clearTimeout(_4d4._pendingClose_timer);_4d4._pendingClose_timer=null;}},_stopFocusTimer:function(){if(this._focus_timer){clearTimeout(this._focus_timer);this._focus_timer=null;}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(typeof this.isShowingNow=="undefined"){this._markActive();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this._openPopup();}else{this.onExecute();item.onClick(evt);}},_openPopup:function(){this._stopPopupTimer();var _4d5=this.focusedChild;if(!_4d5){return;}var _4d6=_4d5.popup;if(_4d6.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_4d6.parentMenu=this;_4d6.from_item=_4d5;var self=this;pm.open({parent:this,popup:_4d6,around:_4d5.domNode,orient:this._orient||["after","before"],onCancel:function(){self.focusChild(_4d5);self._cleanUp();_4d5._setSelected(true);self.focusedChild=_4d5;},onExecute:lang.hitch(this,"_cleanUp")});this.currentPopup=_4d6;_4d6.connect(_4d6.domNode,"onmouseenter",lang.hitch(self,"_onPopupHover"));if(_4d6.focus){_4d6._focus_timer=setTimeout(lang.hitch(_4d6,function(){this._focus_timer=null;this.focus();}),0);}},_markActive:function(){this.isActive=true;_4cf.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_4cf.replace(this.domNode,"dijitMenuPassive","dijitMenuActive");},onClose:function(){this._stopFocusTimer();this._markInactive();this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopup){if(_4d0.indexOf(this._focusManager.activeStack,this.id)>=0){_4ce.set(this.focusedChild.focusNode,"tabIndex",this.tabIndex);this.focusedChild.focusNode.focus();}pm.close(this.currentPopup);this.currentPopup=null;}if(this.focusedChild){this.focusedChild._setSelected(false);this.focusedChild._onUnhover();this.focusedChild=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this._hoveredChild._onUnhover();}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_4d7,dom,_4d8,_4d9,_4da,_4db,has,_4dc,_4dd,_4de,_4df,_4e0){return _4d7("dijit.MenuItem",[_4dc,_4dd,_4de,_4df],{templateString:_4e0,baseClass:"dijitMenuItem",label:"",_setLabelAttr:{node:"containerNode",type:"innerHTML"},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_4e1){if(_4e1&&!("label" in this.params)){this.set("label",_4e1.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _4e2=this.id+"_text";_4d8.set(this.containerNode,"id",_4e2);if(this.accelKeyNode){_4d8.set(this.accelKeyNode,"id",this.id+"_accel");_4e2+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_4e2);dom.setSelectable(this.domNode,false);},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);this._set("hovering",false);},_onClick:function(evt){this.getParent().onItemClick(this,evt);_4da.stop(evt);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_onFocus:function(){this._setSelected(true);this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_4e3){_4d9.toggle(this.domNode,"dijitMenuItemSelected",_4e3);},setLabel:function(_4e4){_4db.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_4e4);},setDisabled:function(_4e5){_4db.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_4e5);},_setDisabledAttr:function(_4e6){this.focusNode.setAttribute("aria-disabled",_4e6?"true":"false");this._set("disabled",_4e6);},_setAccelKeyAttr:function(_4e7){this.accelKeyNode.style.display=_4e7?"":"none";this.accelKeyNode.innerHTML=_4e7;_4d8.set(this.containerNode,"colSpan",_4e7?"1":"2");this._set("accelKey",_4e7);}});});},"url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n","dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/query","dojo/_base/window","./registry","./MenuItem","./hccss"],function(_4e8,_4e9,_4ea,win,_4eb,_4ec){return _4e8("dijit.PopupMenuItem",_4ec,{_fillContent:function(){if(this.srcNodeRef){var _4ed=_4ea("*",this.srcNodeRef);this.inherited(arguments,[_4ed[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_4ea("[widgetId]",this.dropDownContainer)[0];this.popup=_4eb.byNode(node);}win.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_4e9.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_4ee){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_4ee);}delete this.popup;}this.inherited(arguments);}});});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_4ef,_4f0,_4f1,_4f2){return _4ef("dijit.CheckedMenuItem",_4f1,{templateString:_4f2,checked:false,_setCheckedAttr:function(_4f3){_4f0.toggle(this.domNode,"dijitCheckedMenuItemChecked",_4f3);this.domNode.setAttribute("aria-checked",_4f3);this._set("checked",_4f3);},iconClass:"",onChange:function(){},_onClick:function(e){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});});},"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">✓</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\"> </td>\n</tr>\n","dijit/MenuBar":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(_4f4,_4f5,keys,_4f6,_4f7){return _4f4("dijit.MenuBar",_4f6,{templateString:_4f7,baseClass:"dijitMenuBar",_isMenuBar:true,postCreate:function(){var l=this.isLeftToRight();this.connectKeyNavHandlers(l?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],l?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);this._orient=["below"];},focusChild:function(item){var _4f8=this.focusedChild,_4f9=_4f8&&_4f8.popup&&_4f8.popup.isShowingNow;this.inherited(arguments);if(_4f9&&item.popup&&!item.disabled){this._openPopup();}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case keys.DOWN_ARROW:this._moveToPopup(evt);_4f5.stop(evt);}},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow){item.popup.onCancel();}else{this.inherited(arguments);}}});});},"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\" role=\"menubar\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress: _onKeyPress\"></div>\n","dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_4fa,_4fb,_4fc){var _4fd=_4fa("dijit._MenuBarItemMixin",null,{templateString:_4fc,_setIconClassAttr:null});var _4fe=_4fa("dijit.MenuBarItem",[_4fb,_4fd],{});_4fe._MenuBarItemMixin=_4fd;return _4fe;});},"url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<span data-dojo-attach-point=\"containerNode\"></span>\n</div>\n","dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_4ff,_500,_501){var _502=_501._MenuBarItemMixin;return _4ff("dijit.PopupMenuBarItem",[_500,_502],{});});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_503,dom,_504,_505,_506,_507){return _503("dijit.MenuSeparator",[_504,_505,_506],{templateString:_507,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>","dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_508,_509,_50a,lang,_50b,_50c,_50d,_50e){return _509("dijit.ProgressBar",[_50c,_50d],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_50e,_indeterminateHighContrastImagePath:_508.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!("value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},update:function(_50f){lang.mixin(this,_50f||{});var tip=this.internalProgress,ap=this.domNode;var _510=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");ap.removeAttribute("aria-valuemin");ap.removeAttribute("aria-valuemax");}else{if(String(this.progress).indexOf("%")!=-1){_510=Math.min(parseFloat(this.progress)/100,1);this.progress=_510*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_510=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-describedby",this.labelNode.id);ap.setAttribute("aria-valuenow",this.progress);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);}this.labelNode.innerHTML=this.report(_510);_50a.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_510*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(_511){this._set("label",_511);this.update();},_setIndeterminateAttr:function(_512){this.indeterminate=_512;this.update();},report:function(_513){return this.label?this.label:(this.indeterminate?" ":_50b.format(_513,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define(["./_base/kernel","./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(dojo,lang,i18n,_514,_515,_516){lang.getObject("number",true,dojo);dojo.number.format=function(_517,_518){_518=lang.mixin({},_518||{});var _519=i18n.normalizeLocale(_518.locale),_51a=i18n.getLocalization("dojo.cldr","number",_519);_518.customs=_51a;var _51b=_518.pattern||_51a[(_518.type||"decimal")+"Format"];if(isNaN(_517)||Math.abs(_517)==Infinity){return null;}return dojo.number._applyPattern(_517,_51b,_518);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_51c,_51d,_51e){_51e=_51e||{};var _51f=_51e.customs.group,_520=_51e.customs.decimal,_521=_51d.split(";"),_522=_521[0];_51d=_521[(_51c<0)?1:0]||("-"+_522);if(_51d.indexOf("%")!=-1){_51c*=100;}else{if(_51d.indexOf("‰")!=-1){_51c*=1000;}else{if(_51d.indexOf("¤")!=-1){_51f=_51e.customs.currencyGroup||_51f;_520=_51e.customs.currencyDecimal||_520;_51d=_51d.replace(/\u00a4{1,3}/,function(_523){var prop=["symbol","currency","displayName"][_523.length-1];return _51e[prop]||_51e.currency||"";});}else{if(_51d.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _524=dojo.number._numberPatternRE;var _525=_522.match(_524);if(!_525){throw new Error("unable to find a number expression in pattern: "+_51d);}if(_51e.fractional===false){_51e.places=0;}return _51d.replace(_524,dojo.number._formatAbsolute(_51c,_525[0],{decimal:_520,group:_51f,places:_51e.places,round:_51e.round}));};dojo.number.round=function(_526,_527,_528){var _529=10/(_528||10);return (_529*+_526).toFixed(_527)/_529;};if((0.9).toFixed()==0){var _52a=dojo.number.round;dojo.number.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d||a*Math.pow(10,p+1)<5){d=0;}return _52a(v,p,m)+(v>0?d:-d);};}dojo.number._formatAbsolute=function(_52b,_52c,_52d){_52d=_52d||{};if(_52d.places===true){_52d.places=0;}if(_52d.places===Infinity){_52d.places=6;}var _52e=_52c.split("."),_52f=typeof _52d.places=="string"&&_52d.places.indexOf(","),_530=_52d.places;if(_52f){_530=_52d.places.substring(_52f+1);}else{if(!(_530>=0)){_530=(_52e[1]||[]).length;}}if(!(_52d.round<0)){_52b=dojo.number.round(_52b,_530,_52d.round);}var _531=String(Math.abs(_52b)).split("."),_532=_531[1]||"";if(_52e[1]||_52d.places){if(_52f){_52d.places=_52d.places.substring(0,_52f);}var pad=_52d.places!==undefined?_52d.places:(_52e[1]&&_52e[1].lastIndexOf("0")+1);if(pad>_532.length){_531[1]=_515.pad(_532,pad,"0",true);}if(_530<_532.length){_531[1]=_532.substr(0,_530);}}else{if(_531[1]){_531.pop();}}var _533=_52e[0].replace(",","");pad=_533.indexOf("0");if(pad!=-1){pad=_533.length-pad;if(pad>_531[0].length){_531[0]=_515.pad(_531[0],pad);}if(_533.indexOf("#")==-1){_531[0]=_531[0].substr(_531[0].length-pad);}}var _534=_52e[0].lastIndexOf(","),_535,_536;if(_534!=-1){_535=_52e[0].length-_534-1;var _537=_52e[0].substr(0,_534);_534=_537.lastIndexOf(",");if(_534!=-1){_536=_537.length-_534-1;}}var _538=[];for(var _539=_531[0];_539;){var off=_539.length-_535;_538.push((off>0)?_539.substr(off):_539);_539=(off>0)?_539.slice(0,off):"";if(_536){_535=_536;delete _536;}}_531[0]=_538.reverse().join(_52d.group||",");return _531.join(_52d.decimal||".");};dojo.number.regexp=function(_53a){return dojo.number._parseInfo(_53a).regexp;};dojo.number._parseInfo=function(_53b){_53b=_53b||{};var _53c=i18n.normalizeLocale(_53b.locale),_53d=i18n.getLocalization("dojo.cldr","number",_53c),_53e=_53b.pattern||_53d[(_53b.type||"decimal")+"Format"],_53f=_53d.group,_540=_53d.decimal,_541=1;if(_53e.indexOf("%")!=-1){_541/=100;}else{if(_53e.indexOf("‰")!=-1){_541/=1000;}else{var _542=_53e.indexOf("¤")!=-1;if(_542){_53f=_53d.currencyGroup||_53f;_540=_53d.currencyDecimal||_540;}}}var _543=_53e.split(";");if(_543.length==1){_543.push("-"+_543[0]);}var re=_516.buildGroupRE(_543,function(_544){_544="(?:"+_516.escapeString(_544,".")+")";return _544.replace(dojo.number._numberPatternRE,function(_545){var _546={signed:false,separator:_53b.strict?_53f:[_53f,""],fractional:_53b.fractional,decimal:_540,exponent:false},_547=_545.split("."),_548=_53b.places;if(_547.length==1&&_541!=1){_547[1]="###";}if(_547.length==1||_548===0){_546.fractional=false;}else{if(_548===undefined){_548=_53b.pattern?_547[1].lastIndexOf("0")+1:Infinity;}if(_548&&_53b.fractional==undefined){_546.fractional=true;}if(!_53b.places&&(_548<_547[1].length)){_548+=","+_547[1].length;}_546.places=_548;}var _549=_547[0].split(",");if(_549.length>1){_546.groupSize=_549.pop().length;if(_549.length>1){_546.groupSize2=_549.pop().length;}}return "("+dojo.number._realNumberRegexp(_546)+")";});},true);if(_542){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_54a,_54b,_54c,_54d){var prop=["symbol","currency","displayName"][_54c.length-1],_54e=_516.escapeString(_53b[prop]||_53b.currency||"");_54b=_54b?"[\\s\\xa0]":"";_54d=_54d?"[\\s\\xa0]":"";if(!_53b.strict){if(_54b){_54b+="*";}if(_54d){_54d+="*";}return "(?:"+_54b+_54e+_54d+")?";}return _54b+_54e+_54d;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_53f,decimal:_540,factor:_541};};dojo.number.parse=function(_54f,_550){var info=dojo.number._parseInfo(_550),_551=(new RegExp("^"+info.regexp+"$")).exec(_54f);if(!_551){return NaN;}var _552=_551[1];if(!_551[1]){if(!_551[2]){return NaN;}_552=_551[2];info.factor*=-1;}_552=_552.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _552*info.factor;};dojo.number._realNumberRegexp=function(_553){_553=_553||{};if(!("places" in _553)){_553.places=Infinity;}if(typeof _553.decimal!="string"){_553.decimal=".";}if(!("fractional" in _553)||/^0/.test(_553.places)){_553.fractional=[true,false];}if(!("exponent" in _553)){_553.exponent=[true,false];}if(!("eSigned" in _553)){_553.eSigned=[true,false];}var _554=dojo.number._integerRegexp(_553),_555=_516.buildGroupRE(_553.fractional,function(q){var re="";if(q&&(_553.places!==0)){re="\\"+_553.decimal;if(_553.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_553.places+"}";}}return re;},true);var _556=_516.buildGroupRE(_553.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_553.eSigned})+")";}return "";});var _557=_554+_555;if(_555){_557="(?:(?:"+_557+")|(?:"+_555+"))";}return _557+_556;};dojo.number._integerRegexp=function(_558){_558=_558||{};if(!("signed" in _558)){_558.signed=[true,false];}if(!("separator" in _558)){_558.separator="";}else{if(!("groupSize" in _558)){_558.groupSize=3;}}var _559=_516.buildGroupRE(_558.signed,function(q){return q?"[-+]":"";},true);var _55a=_516.buildGroupRE(_558.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_516.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_558.groupSize,grp2=_558.groupSize2;if(grp2){var _55b="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_55b+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_55b;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _559+_55a;};return dojo.number;});},"dojo/cldr/nls/number":function(){define({root:{"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","currencyFormat":"¤ #,##0.00","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-gb":true,"es":true,"fi":true,"fr":true,"fr-ch":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"pt-pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true});},"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><img data-dojo-attach-point=\"indeterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\" alt=\"\"\n/></div>\n","dijit/TitlePane":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/event","dojo/fx","dojo/_base/kernel","dojo/keys","./_CssStateMixin","./_TemplatedMixin","./layout/ContentPane","dojo/text!./templates/TitlePane.html","./_base/manager"],function(_55c,_55d,dom,_55e,_55f,_560,_561,_562,_563,keys,_564,_565,_566,_567,_568){return _55d("dijit.TitlePane",[_566,_565,_564],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_568.defaultDuration,baseClass:"dijitTitlePane",templateString:_567,doLayout:false,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.titleNode,false);},postCreate:function(){this.inherited(arguments);if(this.toggleable){this._trackMouseState(this.titleBarNode,"dijitTitlePaneTitle");}var _569=this.hideNode,_56a=this.wipeNode;this._wipeIn=_562.wipeIn({node:_56a,duration:this.duration,beforeBegin:function(){_569.style.display="";}});this._wipeOut=_562.wipeOut({node:_56a,duration:this.duration,onEnd:function(){_569.style.display="none";}});},_setOpenAttr:function(open,_56b){_55c.forEach([this._wipeIn,this._wipeOut],function(_56c){if(_56c&&_56c.status()=="playing"){_56c.stop();}});if(_56b){var anim=this[open?"_wipeIn":"_wipeOut"];anim.play();}else{this.hideNode.style.display=this.wipeNode.style.display=open?"":"none";}if(this._started){if(open){this._onShow();}else{this.onHide();}}this.arrowNodeInner.innerHTML=open?"-":"+";this.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_56d){this.focusNode.setAttribute("role",_56d?"button":"heading");if(_56d){this.focusNode.setAttribute("aria-controls",this.id+"_pane");_55e.set(this.focusNode,"tabIndex",this.tabIndex);}else{_55e.remove(this.focusNode,"tabIndex");}this._set("toggleable",_56d);this._setCss();},_setContentAttr:function(_56e){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_560.setMarginBox(this.wipeNode,{h:_560.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 _56f=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_55f.replace(node,this._titleBarClass,_56f||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.charOrCode==keys.ENTER||e.charOrCode==" "){if(this.toggleable){this.toggle();}_561.stop(e);}else{if(e.charOrCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_570){_563.deprecated("dijit.TitlePane.setTitle() is deprecated. Use set('title', ...) instead.","","2.0");this.set("title",_570);}});});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_571,dojo,_572,_573,_574,dom,_575,geom,_576,_577){if(!dojo.isAsync){_576(0,function(){var _578=["./fx/Toggler"];_577(_578);});}var _579=dojo.fx={};var _57a={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _57b=function(_57c){this._index=-1;this._animations=_57c||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_572.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_57b.prototype=new _571();lang.extend(_57b,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_573.disconnect(this._onAnimateCtx);_573.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_573.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_573.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_57d,_57e){if(!this._current){this._current=this._animations[this._index=0];}if(!_57e&&this._current.status()=="playing"){return this;}var _57f=_573.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_580=_573.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_581=_573.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_573.disconnect(_57f);_573.disconnect(_580);_573.disconnect(_581);});if(this._onAnimateCtx){_573.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_573.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_573.disconnect(this._onEndCtx);}this._onEndCtx=_573.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_573.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_573.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_582,_583){this.pause();var _584=this.duration*_582;this._current=null;_572.some(this._animations,function(a){if(a.duration<=_584){this._current=a;return true;}_584-=a.duration;return false;});if(this._current){this._current.gotoPercent(_584/this._current.duration,_583);}return this;},stop:function(_585){if(this._current){if(_585){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_573.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_573.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_573.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_573.disconnect(this._onEndCtx);}}});lang.extend(_57b,_57a);_579.chain=function(_586){return new _57b(_586);};var _587=function(_588){this._animations=_588||[];this._connects=[];this._finished=0;this.duration=0;_572.forEach(_588,function(a){var _589=a.duration;if(a.delay){_589+=a.delay;}if(this.duration<_589){this.duration=_589;}this._connects.push(_573.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _574.Animation({curve:[0,1],duration:this.duration});var self=this;_572.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_573.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_587,{_doAction:function(_58a,args){_572.forEach(this._animations,function(a){a[_58a].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_58b,args){var t=this._pseudoAnimation;t[_58b].apply(t,args);},play:function(_58c,_58d){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(_58e,_58f){var ms=this.duration*_58e;_572.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_58f);});this._call("gotoPercent",arguments);return this;},stop:function(_590){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_572.forEach(this._connects,_573.disconnect);}});lang.extend(_587,_57a);_579.combine=function(_591){return new _587(_591);};_579.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_574.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 _592=_575.get(node,"height");return Math.max(_592,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_573.connect(anim,"onStop",fini);_573.connect(anim,"onEnd",fini);return anim;};_579.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_574.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_573.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_573.connect(anim,"onStop",fini);_573.connect(anim,"onEnd",fini);return anim;};_579.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_575.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=_574.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_573.connect(anim,"beforeBegin",anim,init);return anim;};return _579;});},"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeypress:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"arrowNode\" class=\"dijitArrowNode\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc. Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","dijit/Tree":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/cookie","dojo/_base/declare","dojo/_base/Deferred","dojo/DeferredList","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/fx","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/topic","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector"],function(_593,_594,_595,_596,_597,_598,dom,_599,_59a,_59b,_59c,_59d,_59e,keys,lang,_59f,_5a0,_5a1,_5a2,_5a3,_5a4,_5a5,_5a6,_5a7,_5a8,_5a9,_5aa,_5ab,_5ac){var _5ad=_596("dijit._TreeNode",[_5a3,_5a4,_5a5,_5a6,_5a7],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_5a8,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow",labelNode:"dijitTreeLabel"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_5ae){var _5af=(Math.max(_5ae,0)*this.tree._nodePixelIndent)+"px";_59b.set(this.domNode,"backgroundPosition",_5af+" 0px");_59b.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_5af);_593.forEach(this.getChildren(),function(_5b0){_5b0.set("indent",_5ae+1);});this._set("indent",_5ae);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_5b1=tree.model;if(tree._v10Compat&&item===_5b1.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");},_applyClassAndStyle:function(item,_5b2,_5b3){var _5b4="_"+_5b2+"Class";var _5b5=_5b2+"Node";var _5b6=this[_5b4];this[_5b4]=this.tree["get"+_5b3+"Class"](item,this.isExpanded);_599.replace(this[_5b5],this[_5b4]||"",_5b6||"");_59b.set(this[_5b5],this.tree["get"+_5b3+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _5b7=this.getParent();if(!_5b7||!_5b7.rowNode||_5b7.rowNode.style.display=="none"){_599.add(this.domNode,"dijitTreeIsRoot");}else{_599.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_5b8){var _5b9=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_5ba=["*","-","+","*"],idx=_5b8?0:(this.isExpandable?(this.isExpanded?1:2):3);_599.replace(this.expandoNode,_5b9[idx],_5b9);this.expandoNodeText.innerHTML=_5ba[idx];},expand:function(){if(this._expandDeferred){return this._expandDeferred;}this._wipeOut&&this._wipeOut.stop();this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_599.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode){this.tree.domNode.setAttribute("aria-expanded","true");}var def,_5bb=_59d.wipeIn({node:this.containerNode,duration:_5a2.defaultDuration,onEnd:function(){def.callback(true);}});def=(this._expandDeferred=new _597(function(){_5bb.stop();}));_5bb.play();return def;},collapse:function(){if(!this.isExpanded){return;}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode){this.tree.domNode.setAttribute("aria-expanded","false");}_599.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(!this._wipeOut){this._wipeOut=_59d.wipeOut({node:this.containerNode,duration:_5a2.defaultDuration});}this._wipeOut.play();},indent:0,setChildItems:function(_5bc){var tree=this.tree,_5bd=tree.model,defs=[];_593.forEach(this.getChildren(),function(_5be){_5a5.prototype.removeChild.call(this,_5be);},this);this.state="LOADED";if(_5bc&&_5bc.length>0){this.isExpandable=true;_593.forEach(_5bc,function(item){var id=_5bd.getIdentity(item),_5bf=tree._itemNodesMap[id],node;if(_5bf){for(var i=0;i<_5bf.length;i++){if(_5bf[i]&&!_5bf[i].getParent()){node=_5bf[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_5bd.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_5bf){_5bf.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_593.forEach(this.getChildren(),function(_5c0){_5c0._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);if(this==tree.rootNode){var fc=this.tree.showRoot?this:this.getChildren()[0];if(fc){fc.setFocusable(true);tree.lastFocused=fc;}else{tree.domNode.setAttribute("tabIndex","0");}}return new _598(defs);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _5c1=this.getChildren();if(_5c1.length==0){this.isExpandable=false;this.collapse();}_593.forEach(_5c1,function(_5c2){_5c2._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},_onLabelFocus:function(){this.tree._onNodeFocus(this);},setSelected:function(_5c3){this.labelNode.setAttribute("aria-selected",_5c3);_599.toggle(this.rowNode,"dijitTreeRowSelected",_5c3);},setFocusable:function(_5c4){this.labelNode.setAttribute("tabIndex",_5c4?"0":"-1");},_onClick:function(evt){this.tree._onClick(this,evt);},_onDblClick:function(evt){this.tree._onDblClick(this,evt);},_onMouseEnter:function(evt){this.tree._onNodeMouseEnter(this,evt);},_onMouseLeave:function(evt){this.tree._onNodeMouseLeave(this,evt);},_setTextDirAttr:function(_5c5){if(_5c5&&((this.textDir!=_5c5)||!this._created)){this._set("textDir",_5c5);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_593.forEach(this.getChildren(),function(_5c6){_5c6.set("textDir",_5c5);},this);}}});var Tree=_596("dijit.Tree",[_5a3,_5a4],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_5a9,persist:true,autoExpand:false,dndController:_5ac,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(_5c7,_5c8){_59f.publish(this.id,lang.mixin({tree:this,event:_5c7},_5c8||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this._loadDeferred=new _597();this.inherited(arguments);},postCreate:function(){this._initState();if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this._load();this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _5c9={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_5c9[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_5c9);}},_store2model:function(){this._v10Compat=true;_59e.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _5ca={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_5ca.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_5ca.getChildren=lang.hitch(this,function(item,_5cb,_5cc){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_5cb,_5cc);});}this.model=new _5ab(_5ca);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");rn.labelNode.setAttribute("role","presentation");rn.containerNode.setAttribute("role","tree");}this.domNode.appendChild(rn.domNode);var _5cd=this.model.getIdentity(item);if(this._itemNodesMap[_5cd]){this._itemNodesMap[_5cd].push(rn);}else{this._itemNodesMap[_5cd]=[rn];}rn._updateLayout();this._expandNode(rn).addCallback(lang.hitch(this,function(){this._loadDeferred.callback(true);this.onLoad();}));}),function(err){console.error(this,": error loading root: ",err);});},getNodesByItem:function(item){if(!item){return [];}var _5ce=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_5ce]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_5cf){var tree=this;this._loadDeferred.addCallback(lang.hitch(this,function(){var _5d0=_593.map(_5cf,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _5d1=[];_593.forEach(_5d0,function(id){_5d1=_5d1.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_5d1);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_5d2){var tree=this;return new _598(_593.map(_5d2,function(path){var d=new _597();path=_593.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){tree._loadDeferred.addCallback(function(){_5d3(path,[tree.rootNode],d);});}else{d.errback("Empty path");}return d;})).addCallback(_5d4);function _5d3(path,_5d5,def){var _5d6=path.shift();var _5d7=_593.filter(_5d5,function(node){return node.getIdentity()==_5d6;})[0];if(!!_5d7){if(path.length){tree._expandNode(_5d7).addCallback(function(){_5d3(path,_5d7.getChildren(),def);});}else{def.callback(_5d7);}}else{def.errback("Could not expand path at "+_5d6);}};function _5d4(_5d8){tree.set("selectedNodes",_593.map(_593.filter(_5d8,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_5d9){this._loadDeferred.addCallback(lang.hitch(this,function(){this.dndController.setSelection(_5d9);}));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_5da){return (!item||this.model.mayHaveChildren(item))?(_5da?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(e){if(e.altKey){return;}var _5db=_5a1.getEnclosingWidget(e.target);if(!_5db){return;}var key=e.charOrCode;if(typeof key=="string"&&key!=" "){if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){this._onLetterKeyNav({node:_5db,key:key.toLowerCase()});_59c.stop(e);}}else{if(this._curSearch){clearTimeout(this._curSearch.timer);delete this._curSearch;}var map=this._keyHandlerMap;if(!map){map={};map[keys.ENTER]="_onEnterKey";map[keys.SPACE]=map[" "]="_onEnterKey";map[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]="_onLeftArrow";map[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]="_onRightArrow";map[keys.UP_ARROW]="_onUpArrow";map[keys.DOWN_ARROW]="_onDownArrow";map[keys.HOME]="_onHomeKey";map[keys.END]="_onEndKey";this._keyHandlerMap=map;}if(this._keyHandlerMap[key]){this[this._keyHandlerMap[key]]({node:_5db,item:_5db.item,evt:e});_59c.stop(e);}}},_onEnterKey:function(_5dc){this._publish("execute",{item:_5dc.item,node:_5dc.node});this.dndController.userSelect(_5dc.node,_594.isCopyKey(_5dc.evt),_5dc.evt.shiftKey);this.onClick(_5dc.item,_5dc.node,_5dc.evt);},_onDownArrow:function(_5dd){var node=this._getNextNode(_5dd.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_5de){var node=_5de.node;var _5df=node.getPreviousSibling();if(_5df){node=_5df;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _5e0=node.getChildren();node=_5e0[_5e0.length-1];}}else{var _5e1=node.getParent();if(!(!this.showRoot&&_5e1===this.rootNode)){node=_5e1;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_5e2){var node=_5e2.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(_5e3){var node=_5e3.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _5e4=node.getParent();if(_5e4&&_5e4.isTreeNode&&!(!this.showRoot&&_5e4===this.rootNode)){this.focusNode(_5e4);}}},_onHomeKey:function(){var node=this._getRootOrFirstNode();if(node){this.focusNode(node);}},_onEndKey:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();node=c[c.length-1];}if(node&&node.isTreeNode){this.focusNode(node);}},multiCharSearchDuration:250,_onLetterKeyNav:function(_5e5){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_5e5.key;clearTimeout(cs.timer);}else{cs=this._curSearch={pattern:_5e5.key,startNode:_5e5.node};}var self=this;cs.timer=setTimeout(function(){delete self._curSearch;},this.multiCharSearchDuration);var node=cs.startNode;do{node=this._getNextNode(node);if(!node){node=this._getRootOrFirstNode();}}while(node!==cs.startNode&&(node.label.toLowerCase().substr(0,cs.pattern.length)!=cs.pattern));if(node&&node.isTreeNode){if(node!==cs.startNode){this.focusNode(node);}}},isExpandoNode:function(node,_5e6){return dom.isDescendant(node,_5e6.expandoNode);},_onClick:function(_5e7,e){var _5e8=e.target,_5e9=this.isExpandoNode(_5e8,_5e7);if((this.openOnClick&&_5e7.isExpandable)||_5e9){if(_5e7.isExpandable){this._onExpandoClick({node:_5e7});}}else{this._publish("execute",{item:_5e7.item,node:_5e7,evt:e});this.onClick(_5e7.item,_5e7,e);this.focusNode(_5e7);}_59c.stop(e);},_onDblClick:function(_5ea,e){var _5eb=e.target,_5ec=(_5eb==_5ea.expandoNode||_5eb==_5ea.expandoNodeText);if((this.openOnDblClick&&_5ea.isExpandable)||_5ec){if(_5ea.isExpandable){this._onExpandoClick({node:_5ea});}}else{this._publish("execute",{item:_5ea.item,node:_5ea,evt:e});this.onDblClick(_5ea.item,_5ea,e);this.focusNode(_5ea);}_59c.stop(e);},_onExpandoClick:function(_5ed){var node=_5ed.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _5ee=node.getNextSibling();if(_5ee){return _5ee;}node=node.getParent();}return null;}},_getRootOrFirstNode:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.isExpandable){if(node.state=="LOADING"){return;}node.collapse();this.onClose(node.item,node);this._state(node,false);}},_expandNode:function(node,_5ef){if(node._expandNodeDeferred&&!_5ef){return node._expandNodeDeferred;}var _5f0=this.model,item=node.item,_5f1=this;switch(node.state){case "UNCHECKED":node.markProcessing();var def=(node._expandNodeDeferred=new _597());_5f0.getChildren(item,function(_5f2){node.unmarkProcessing();var scid=node.setChildItems(_5f2);var ed=_5f1._expandNode(node,true);scid.addCallback(function(){ed.addCallback(function(){def.callback();});});},function(err){console.error(_5f1,": error loading root children: ",err);});break;default:def=(node._expandNodeDeferred=node.expand());this.onOpen(node.item,node);this._state(node,true);}return def;},focusNode:function(node){_5a0.focus(node.labelNode);},_onNodeFocus:function(node){if(node&&node!=this.lastFocused){if(this.lastFocused&&!this.lastFocused._destroyed){this.lastFocused.setFocusable(false);}node.setFocusable(true);this.lastFocused=node;}},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _5f3=this.model,_5f4=_5f3.getIdentity(item),_5f5=this._itemNodesMap[_5f4];if(_5f5){var _5f6=this.getLabel(item),_5f7=this.getTooltip(item);_593.forEach(_5f5,function(node){node.set({item:item,label:_5f6,tooltip:_5f7});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_5f8,_5f9){var _5fa=this.model,_5fb=_5fa.getIdentity(_5f8),_5fc=this._itemNodesMap[_5fb];if(_5fc){_593.forEach(_5fc,function(_5fd){_5fd.setChildItems(_5f9);});}},_onItemDelete:function(item){var _5fe=this.model,_5ff=_5fe.getIdentity(item),_600=this._itemNodesMap[_5ff];if(_600){_593.forEach(_600,function(node){this.dndController.removeTreeNode(node);var _601=node.getParent();if(_601){_601.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_5ff];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_595(this.cookieName);if(oreo){_593.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_602){if(!this.persist){return false;}var path=_593.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_602){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}var ary=[];for(var id in this._openedNodes){ary.push(id);}_595(this.cookieName,ary.join(","),{expires:365});}},destroy:function(){if(this._curSearch){clearTimeout(this._curSearch.timer);delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_603){if(_603){_59a.setMarginBox(this.domNode,_603);}this._nodePixelIndent=_59a.position(this.tree.indentDetector).w;if(this.tree.rootNode){this.tree.rootNode.set("indent",this.showRoot?0:-1);}},_createTreeNode:function(args){return new _5ad(args);},_setTextDirAttr:function(_604){if(_604&&this.textDir!=_604){this._set("textDir",_604);this.rootNode.set("textDir",_604);}}});Tree._TreeNode=_5ad;return Tree;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_605){dojo.cookie=function(name,_606,_607){var c=document.cookie,ret;if(arguments.length==1){var _608=c.match(new RegExp("(?:^|; )"+_605.escapeString(name)+"=([^;]*)"));ret=_608?decodeURIComponent(_608[1]):undefined;}else{_607=_607||{};var exp=_607.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_607.expires=d;}if(exp&&exp.toUTCString){_607.expires=exp.toUTCString();}_606=encodeURIComponent(_606);var _609=name+"="+_606,_60a;for(_60a in _607){_609+="; "+_60a;var _60b=_607[_60a];if(_60b!==true){_609+="="+_60b;}}document.cookie=_609;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dojo/DeferredList":function(){define(["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_60c,_60d){dojo.DeferredList=function(list,_60e,_60f,_610,_611){var _612=[];_60c.call(this);var self=this;if(list.length===0&&!_60e){this.resolve([0,[]]);}var _613=0;_60d.forEach(list,function(item,i){item.then(function(_614){if(_60e){self.resolve([i,_614]);}else{_615(true,_614);}},function(_616){if(_60f){self.reject(_616);}else{_615(false,_616);}if(_610){return null;}throw _616;});function _615(_617,_618){_612[i]=[_617,_618];_613++;if(_613===list.length){self.resolve(_612);}};});};dojo.DeferredList.prototype=new _60c();dojo.DeferredList.prototype.gatherResults=function(_619){var d=new dojo.DeferredList(_619,false,true,false);d.addCallback(function(_61a){var ret=[];_60d.forEach(_61a,function(_61b){ret.push(_61b[1]);});return ret;});return d;};return dojo.DeferredList;});},"url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow\" role=\"presentation\" data-dojo-attach-event=\"onmouseenter:_onMouseEnter, onmouseleave:_onMouseLeave, onclick:_onClick, ondblclick:_onDblClick\"\n\t\t><img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"expandoNode\" class=\"dijitTreeExpando\" role=\"presentation\"\n\t\t/><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"\n\t\t></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"iconNode\" class=\"dijitIcon dijitTreeIcon\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"labelNode\" class=\"dijitTreeLabel\" role=\"treeitem\" tabindex=\"-1\" aria-selected=\"false\" data-dojo-attach-event=\"onfocus:_onLabelFocus\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\" style=\"display: none;\"></div>\n</div>\n","url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\"\n\tdata-dojo-attach-event=\"onkeypress:_onKeyPress\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\n","dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/json","dojo/_base/lang"],function(_61c,_61d,_61e,json,lang){return _61e("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 _61f=this.store;if(!_61f.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.Tree: store must support dojo.data.Identity");}if(_61f.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_61d.after(_61f,"onNew",lang.hitch(this,"onNewItem"),true),_61d.after(_61f,"onDelete",lang.hitch(this,"onDeleteItem"),true),_61d.after(_61f,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_620,_621){if(this.root){_620(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_622){if(_622.length!=1){throw new Error(this.declaredClass+": query "+json.stringify(this.query)+" returned "+_622.length+" items, but must return exactly one item");}this.root=_622[0];_620(this.root);}),onError:_621});}},mayHaveChildren:function(item){return _61c.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_623,_624,_625){var _626=this.store;if(!_626.isItemLoaded(_623)){var _627=lang.hitch(this,arguments.callee);_626.loadItem({item:_623,onItem:function(_628){_627(_628,_624,_625);},onError:_625});return;}var _629=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_626.getValues(_623,this.childrenAttrs[i]);_629=_629.concat(vals);}var _62a=0;if(!this.deferItemLoadingUntilExpand){_61c.forEach(_629,function(item){if(!_626.isItemLoaded(item)){_62a++;}});}if(_62a==0){_624(_629);}else{_61c.forEach(_629,function(item,idx){if(!_626.isItemLoaded(item)){_626.loadItem({item:item,onItem:function(item){_629[idx]=item;if(--_62a==0){_624(_629);}},onError:_625});}});}},isItem:function(_62b){return this.store.isItem(_62b);},fetchItemByIdentity:function(_62c){this.store.fetchItemByIdentity(_62c);},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,_62d,_62e){var _62f={parent:_62d,attribute:this.childrenAttrs[0]},_630;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_62d,true,_62e);}else{_630=this.store.newItem(args,_62f);if(_630&&(_62e!=undefined)){this.pasteItem(_630,_62d,_62d,false,_62e);}}}});}else{_630=this.store.newItem(args,_62f);if(_630&&(_62e!=undefined)){this.pasteItem(_630,_62d,_62d,false,_62e);}}},pasteItem:function(_631,_632,_633,_634,_635){var _636=this.store,_637=this.childrenAttrs[0];if(_632){_61c.forEach(this.childrenAttrs,function(attr){if(_636.containsValue(_632,attr,_631)){if(!_634){var _638=_61c.filter(_636.getValues(_632,attr),function(x){return x!=_631;});_636.setValues(_632,attr,_638);}_637=attr;}});}if(_633){if(typeof _635=="number"){var _639=_636.getValues(_633,_637).slice();_639.splice(_635,0,_631);_636.setValues(_633,_637,_639);}else{_636.setValues(_633,_637,_636.getValues(_633,_637).concat(_631));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_63a){if(!_63a){return;}this.getChildren(_63a.item,lang.hitch(this,function(_63b){this.onChildrenChange(_63a.item,_63b);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_63c){if(_61c.indexOf(this.childrenAttrs,_63c)!=-1){this.getChildren(item,lang.hitch(this,function(_63d){this.onChildrenChange(item,_63d);}));}else{this.onChange(item);}}});});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","./TreeStoreModel"],function(_63e,_63f,lang,win,_640){return _63f("dijit.tree.ForestStoreModel",_640,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_641){this.root={store:this,root:true,id:_641.rootId,label:_641.rootLabel,children:_641.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_642,_643,_644){if(_642===this.root){if(this.root.children){_643(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_645){this.root.children=_645;_643(_645);}),onError:_644});}}else{this.inherited(arguments);}},isItem:function(_646){return (_646===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_647){if(_647.identity==this.root.id){var _648=_647.scope?_647.scope:win.global;if(_647.onItem){_647.onItem.call(_648,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,_649,_64a){if(_649===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_64b,_64c,_64d,_64e,_64f){if(_64c===this.root){if(!_64e){this.onLeaveRoot(_64b);}}this.inherited(arguments,[_64b,_64c===this.root?null:_64c,_64d===this.root?null:_64d,_64e,_64f]);if(_64d===this.root){this.onAddToRoot(_64b);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _650=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_651){this.root.children=_651;if(_650.length!=_651.length||_63e.some(_650,function(item,idx){return _651[idx]!=item;})){this.onChildrenChange(this.root,_651);}})});},onNewItem:function(item,_652){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_63e.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_653,_654,_655){this._requeryTop();this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","dojo/_base/window","./_dndContainer"],function(_656,_657,_658,lang,_659,on,_65a,win,_65b){return _658("dijit.tree._dndSelector",_65b,{constructor:function(){this.selection={};this.anchor=null;this.tree.domNode.setAttribute("aria-multiselect",!this.singular);this.events.push(on(this.tree.domNode,_65a.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_65a.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_65a.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _65c=[],sel=this.selection;for(var i in sel){_65c.push(sel[i]);}return _65c;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_65d){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_65d){this.anchor=node;}return node;},removeTreeNode:function(node){this.setSelection(this._setDifference(this.getSelectedTreeNodes(),[node]));return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_65e){var _65f=this.getSelectedTreeNodes();_656.forEach(this._setDifference(_65f,_65e),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_656.forEach(this._setDifference(_65e,_65f),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_656.forEach(ys,function(y){y.__exclude__=true;});var ret=_656.filter(xs,function(x){return !x.__exclude__;});_656.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _660=this.getSelectedTreeNodes();var _661=[],_662=[];_656.forEach(_660,function(node){_662.push(node);_661.push(node.getTreePath());});var _663=_656.map(_662,function(node){return node.item;});this.tree._set("paths",_661);this.tree._set("path",_661[0]||[]);this.tree._set("selectedNodes",_662);this.tree._set("selectedNode",_662[0]||null);this.tree._set("selectedItems",_663);this.tree._set("selectedItem",_663[0]||null);},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(!_659.isLeft(e)){return;}e.preventDefault();var _664=this.current,copy=_657.isCopyKey(e),id=_664.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_664,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_657.isCopyKey(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_665,_666){if(this.singular){if(this.anchor==node&&_665){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_666&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_667,end,_668=this.anchor;if(cr<0){_667=_668;end=node;}else{_667=node;end=_668;}var _669=[];while(_667!=end){_669.push(_667);_667=this.tree._getNextNode(_667);}_669.push(end);this.setSelection(_669);}else{if(this.selection[node.id]&&_665){this.removeTreeNode(node);}else{if(_665){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _66a=this.selection[key];return {data:_66a,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||win.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/mouse","dojo/on"],function(_66b,_66c,_66d,_66e,lang,_66f,on){return _66c("dijit.tree._dndContainer",null,{constructor:function(tree,_670){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_670);this.current=null;this.containerState="";_66d.add(this.node,"dojoDndContainer");this.events=[on(this.node,_66f.enter,lang.hitch(this,"onOverEvent")),on(this.node,_66f.leave,lang.hitch(this,"onOutEvent")),_66b.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_66b.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_66e,"stop")),on(this.node,"selectstart",lang.hitch(_66e,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_671){this.current=_671;},onMouseOut:function(){this.current=null;},_changeState:function(type,_672){var _673="dojoDnd"+type;var _674=type.toLowerCase()+"State";_66d.replace(this.node,_673+_672,_673+this[_674]);this[_674]=_672;},_addItemClass:function(node,type){_66d.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_66d.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/InlineEditBox":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/_base/event","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_675,_676,_677,_678,_679,_67a,_67b,i18n,_67c,keys,lang,has,fm,_67d,_67e,_67f,_680,_681,_682,_683,_684){var _685=_676("dijit._InlineEditor",[_67d,_67e,_67f],{templateString:_684,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_675.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var cls=typeof this.editor=="string"?lang.getObject(this.editor):this.editor;var _686=this.sourceStyle,_687="line-height:"+_686.lineHeight+";",_688=_67a.getComputedStyle(this.domNode);_675.forEach(["Weight","Family","Size","Style"],function(prop){var _689=_686["font"+prop],_68a=_688["font"+prop];if(_68a!=_689){_687+="font-"+prop+":"+_686["font"+prop]+";";}},this);_675.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_686[prop];},this);var _68b=this.inlineEditBox.width;if(_68b=="100%"){_687+="width:100%;";this.domNode.style.display="block";}else{_687+="width:"+(_68b+(Number(_68b)==_68b?"px":""))+";";}var _68c=lang.delegate(this.inlineEditBox.editorParams,{style:_687,dir:this.dir,lang:this.lang,textDir:this.textDir});_68c["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new cls(_68c,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_679.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");this.saveButton.set("disabled",true);}}},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get("displayedValue" in ew?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_67b.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_67b.stop(e);this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return (this.editWidget.isValid?this.editWidget.isValid():true);},focus:function(){this.editWidget.focus();setTimeout(lang.hitch(this,function(){if(this.editWidget.focusNode&&this.editWidget.focusNode.tagName=="INPUT"){_682.selectInputText(this.editWidget.focusNode);}}),0);}});var _68d=_676("dijit.InlineEditBox",_67d,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_683,editorWrapper:_685,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;var _68e={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _68e){this.connect(this.displayNode,name,_68e[name]);}this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_678.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_68f){_67c.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_68f);},_setDisabledAttr:function(_690){this.domNode.setAttribute("aria-disabled",_690);if(_690){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_678.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_690);this._set("disabled",_690);},_onMouseOver:function(){if(!this.disabled){_678.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_678.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_67b.stop(e);}this._onMouseOut();setTimeout(lang.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedPosition=_67a.get(this.displayNode,"position")||"static";this._savedOpacity=_67a.get(this.displayNode,"opacity")||"1";this._savedTabIndex=_677.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _691=_679.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:_67a.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_691);if(!this._started){this.startup();}}var ww=this.wrapperWidget;_67a.set(this.displayNode,{position:"absolute",opacity:"0"});_67a.set(ww.domNode,{position:this._savedPosition,visibility:"visible",opacity:"1"});_677.set(this.displayNode,"tabIndex","-1");setTimeout(lang.hitch(ww,function(){this.focus();this._resetValue=this.getValue();}),0);},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_692){var ww=this.wrapperWidget;_67a.set(ww.domNode,{position:"absolute",visibility:"hidden",opacity:"0"});_67a.set(this.displayNode,{position:this._savedPosition,opacity:this._savedOpacity});_677.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_692){fm.focus(this.displayNode);}},save:function(_693){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _694=ww.getValue();this.set("value",_694);this._showText(_693);},setValue:function(val){_67c.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 _695=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""").replace(/\n/g,"<br>");this.displayNode.innerHTML=_695||this.noValueIndicator;this._set("value",val);if(this._started){setTimeout(lang.hitch(this,"onChange",val),0);}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_67c.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_696){if(this.disabled||!this.editing){return;}this._set("editing",false);setTimeout(lang.hitch(this,"onCancel"),0);this._showText(_696);},_setTextDirAttr:function(_697){if(!this._created||this.textDir!=_697){this._set("textDir",_697);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_68d._InlineEditor=_685;return _68d;});},"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit.form.Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit.form.Button\" data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_698,_699,_69a,_69b,has,_69c,_69d,_69e,_69f){return _698("dijit.form.Form",[_69c,_69d,_69e,_69f],{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(_6a0){this.encType=_6a0;_699.set(this.domNode,"encType",_6a0);if(has("ie")){this.domNode.encoding=_6a0;}},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);_69a.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_69b.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_69a.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_6a1,_6a2,keys,_6a3,_6a4,_6a5){return _6a1("dijit.form.ComboButton",_6a4,{templateString:_6a5,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_6a3.focus(this._popupStateNode);_6a2.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_6a3.focus(this.titleNode);_6a2.stop(evt);}},focus:function(_6a6){if(!this.disabled){_6a3.focus(_6a6=="start"?this.titleNode:this._popupStateNode);}}});});},"url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">▼</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\"\n\t\t/></td></tr></tbody\n></table>\n","dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_6a7,_6a8,_6a9,_6aa,_6ab,_6ac,_6ad,_6ae,_6af){if(!_6aa.isAsync){_6ac(0,function(){var _6b0=["dijit/form/RadioButton"];_6a7(_6b0);});}return _6a8("dijit.form.CheckBox",[_6ad,_6ae],{templateString:_6af,baseClass:"dijitCheckBox",_setValueAttr:function(_6b1,_6b2){if(typeof _6b1=="string"){this._set("value",_6b1);_6a9.set(this.focusNode,"value",_6b1);_6b1=true;}if(this._created){this.set("checked",_6b1,_6b2);}},_getValueAttr:function(){return (this.checked?this.value:false);},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=this.checked?"checked":"";},_fillContent:function(){},_onFocus:function(){if(this.id){_6ab("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_6ab("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_6b3,_6b4,_6b5){return _6b3("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_6b6){this._set("readOnly",_6b6);_6b4.set(this.focusNode,"readOnly",_6b6);this.focusNode.setAttribute("aria-readonly",_6b6);},_setLabelAttr:undefined,postMixInProperties:function(){if(this.value==""){this.value="on";}this.inherited(arguments);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_6b4.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_6b5.stop(e);return false;}return this.inherited(arguments);}});});},"url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n","dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_6b7,_6b8,_6b9){return _6b7("dijit.form.RadioButton",[_6b8,_6b9],{baseClass:"dijitRadio"});});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","dojo/_base/window","../registry"],function(_6ba,_6bb,_6bc,_6bd,lang,_6be,win,_6bf){return _6bb("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_6be("input[type=radio]",this.focusNode.form||win.doc).forEach(lang.hitch(this,function(_6c0){if(_6c0.name==this.name&&_6c0.form==this.focusNode.form){var _6c1=_6bf.getEnclosingWidget(_6c0);if(_6c1){ary.push(_6c1);}}}));return ary;},_setCheckedAttr:function(_6c2){this.inherited(arguments);if(!this._created){return;}if(_6c2){_6ba.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_6c3){if(_6c3!=this&&_6c3.checked){_6c3.set("checked",false);}}));}},_onClick:function(e){if(this.checked||this.disabled){_6bd.stop(e);return false;}if(this.readOnly){_6bd.stop(e);_6ba.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_6c4){_6bc.set(this.focusNode||this.domNode,"checked",_6c4.checked);}));return false;}return this.inherited(arguments);}});});},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_6c5,_6c6,lang,_6c7){return _6c6("dijit.form.CurrencyTextBox",_6c7,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",regExpGen:function(_6c8){return "("+(this.focused?this.inherited(arguments,[lang.mixin({},_6c8,this.editOptions)])+"|":"")+_6c5.regexp(_6c8)+")";},_formatter:_6c5.format,_parser:_6c5.parse,parse:function(_6c9,_6ca){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_6c9)){v=lang.hitch(lang.mixin({},this,{_parser:_6c7.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_6cb){if(!_6cb.currency&&this.currency){_6cb.currency=this.currency;}this.inherited(arguments,[_6c5._mixInDefaults(lang.mixin(_6cb,{exponent:false}))]);}});});},"dojo/currency":function(){define(["./_base/kernel","./_base/lang","./_base/array","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(dojo,lang,_6cc,_6cd,i18n,_6ce,_6cf){lang.getObject("currency",true,dojo);dojo.currency._mixInDefaults=function(_6d0){_6d0=_6d0||{};_6d0.type="currency";var _6d1=i18n.getLocalization("dojo.cldr","currency",_6d0.locale)||{};var iso=_6d0.currency;var data=_6cf.getData(iso);_6cc.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_6d1[iso+"_"+prop];});data.fractional=[true,false];return lang.mixin(data,_6d0);};dojo.currency.format=function(_6d2,_6d3){return _6cd.format(_6d2,dojo.currency._mixInDefaults(_6d3));};dojo.currency.regexp=function(_6d4){return _6cd.regexp(dojo.currency._mixInDefaults(_6d4));};dojo.currency.parse=function(_6d5,_6d6){return _6cd.parse(_6d5,dojo.currency._mixInDefaults(_6d6));};return dojo.currency;});},"dojo/cldr/nls/currency":function(){define({root:{"USD_symbol":"US$","CAD_symbol":"CA$","GBP_symbol":"£","HKD_symbol":"HK$","JPY_symbol":"JPÂ¥","AUD_symbol":"AU$","CNY_symbol":"CNÂ¥","EUR_symbol":"€"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-ca":true,"es":true,"fi":true,"fr":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true,"zh-tw":true});},"dojo/cldr/monetary":function(){define(["../main"],function(dojo){dojo.getObject("cldr.monetary",true,dojo);dojo.cldr.monetary.getData=function(code){var _6d7={ADP:0,AFN:0,ALL:0,AMD:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,COP:0,CRC:0,DJF:0,ESP:0,GNF:0,GYD:0,HUF:0,IDR:0,IQD:0,IRR:3,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:0,MRO:0,MUR:0,OMR:3,PKR:0,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TZS:0,UGX:0,UZS:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0};var _6d8={CHF:5};var _6d9=_6d7[code],_6da=_6d8[code];if(typeof _6d9=="undefined"){_6d9=2;}if(typeof _6da=="undefined"){_6da=0;}return {places:_6d9,round:_6da};};return dojo.cldr.monetary;});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(_6db,lang,_6dc,_6dd){var _6de=_6db("dijit.form.NumberTextBoxMixin",null,{regExpGen:_6dc.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:_6dc.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_6df){var _6e0=typeof _6df.places=="number"?_6df.places:0;if(_6e0){_6e0++;}if(typeof _6df.max!="number"){_6df.max=9*Math.pow(10,15-_6e0);}if(typeof _6df.min!="number"){_6df.min=-9*Math.pow(10,15-_6e0);}this.inherited(arguments,[_6df]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _6e1=this.format(val,this.constraints);if(_6e1!==undefined){this.textbox.value=_6e1;}}this.inherited(arguments);},format:function(_6e2,_6e3){var _6e4=String(_6e2);if(typeof _6e2!="number"){return _6e4;}if(isNaN(_6e2)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_6e2,_6e3))&&_6e3.exponent!==false&&/\de[-+]?\d/i.test(_6e4)){return _6e4;}if(this.editOptions&&this.focused){_6e3=lang.mixin({},_6e3,this.editOptions);}return this._formatter(_6e2,_6e3);},_parser:_6dc.parse,parse:function(_6e5,_6e6){var v=this._parser(_6e5,lang.mixin({},_6e6,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_6e5,_6e6);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_6e7){return (_6e7===null||_6e7===""||_6e7===undefined)?NaN:this.inherited(arguments);},serialize:function(_6e8,_6e9){return (typeof _6e8!="number"||isNaN(_6e8))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.mixin({},this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_6ea,_6eb,_6ec){if(_6ea!==undefined&&_6ec===undefined){_6ec=String(_6ea);if(typeof _6ea=="number"){if(isNaN(_6ea)){_6ec="";}else{if(("rangeCheck" in this&&this.rangeCheck(_6ea,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_6ec)){_6ec=undefined;}}}else{if(!_6ea){_6ec="";_6ea=NaN;}else{_6ea=undefined;}}}this.inherited(arguments,[_6ea,_6eb,_6ec]);},_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("^"+_6dc._realNumberRegexp(lang.mixin({},this.constraints))+"$").test(this.textbox.value))){var n=Number(this.textbox.value);return isNaN(n)?undefined:n;}else{return undefined;}}else{return v;}},isValid:function(_6ed){if(!this.focused||this._isEmpty(this.textbox.value)){return this.inherited(arguments);}else{var v=this.get("value");if(!isNaN(v)&&this.rangeCheck(v,this.constraints)){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)){return true;}else{return this.inherited(arguments);}}else{return false;}}}});var _6ee=_6db("dijit.form.NumberTextBox",[_6dd,_6de],{baseClass:"dijitTextBox dijitNumberTextBox"});_6ee.Mixin=_6de;return _6ee;});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_6ef,i18n,_6f0){return _6ef("dijit.form.RangeBoundTextBox",_6f0,{rangeMessage:"",rangeCheck:function(_6f1,_6f2){return ("min" in _6f2?(this.compare(_6f1,_6f2.min)>=0):true)&&("max" in _6f2?(this.compare(_6f1,_6f2.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _6f3=false;var _6f4=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_6f3=(typeof min=="number")&&min<0;}if("max" in this.constraints){var max=this.constraints.max;max=this.compare(val,((typeof max!="number")||max>0)?max:0);_6f4=(typeof max=="number")&&max>0;}return _6f3||_6f4;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_6f5){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_6f5));},getErrorMessage:function(_6f6){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_6f6)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},_setConstraintsAttr:function(_6f7){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(_6f8,_6f9){this.focusNode.setAttribute("aria-valuenow",_6f8);this.inherited(arguments);},applyTextDir:function(){}});});},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_6fa,_6fb,_6fc){return _6fa("dijit.form.DateTextBox",_6fc,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_6fb,_selector:"date",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/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton","./hccss"],function(_6fd,date,_6fe,_6ff,_700,_701,_702,_703,keys,lang,has,_704,_705,_706,_707,_708){var _709=_6ff("dijit.Calendar",[_704,_705,_706],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_70a){_703.deprecated("dijit.Calendar:setValue() is deprecated. Use set('value', ...) instead.","","2.0");this.set("value",_70a);},_createMonthWidget:function(){return new _709._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress","_onKeyPress");this.connect(this.dateRowsNode,"onmouseover","_onDayMouseOver");this.connect(this.dateRowsNode,"onmouseout","_onDayMouseOut");this.connect(this.dateRowsNode,"onmousedown","_onDayMouseDown");this.connect(this.dateRowsNode,"onmouseup","_onDayMouseUp");},_onMonthSelect:function(_70b){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,"month",_70b-this.currentFocus.getMonth()));},_onDayMouseOver:function(evt){var node=_701.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_701.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_701.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(_701.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_701.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_701.contains(node,"dijitCalendarDisabledDate")){_701.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_701.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _70c=-1,_70d,_70e=this.currentFocus;switch(evt.charOrCode){case keys.RIGHT_ARROW:_70c=1;case keys.LEFT_ARROW:_70d="day";if(!this.isLeftToRight()){_70c*=-1;}break;case keys.DOWN_ARROW:_70c=1;case keys.UP_ARROW:_70d="week";break;case keys.PAGE_DOWN:_70c=1;case keys.PAGE_UP:_70d=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_70e=this.dateFuncObj.add(_70e,"month",1);_70d="day";case keys.HOME:_70e=new this.dateClassObj(_70e);_70e.setDate(1);break;case keys.ENTER:case " ":this.set("value",this.currentFocus);break;default:return true;}if(_70d){_70e=this.dateFuncObj.add(_70e,_70d,_70c);}this._setCurrentFocusAttr(_70e);return false;},_onKeyPress:function(evt){if(!this.handleKey(evt)){_702.stop(evt);}},onValueSelected:function(){},onChange:function(_70f){this.onValueSelected(_70f);},getClassForDate:function(){}});_709._MonthDropDownButton=_6ff("dijit.Calendar._MonthDropDownButton",_708,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _709._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_710){var _711=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_710);this.dropDown.set("months",_711);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_711[_710.getMonth()]+"</div>";}});_709._MonthDropDown=_6ff("dijit.Calendar._MonthDropDown",[_705,_707],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_712){this.domNode.innerHTML=_6fd.map(_712,function(_713,idx){return _713?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_713+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_700.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_701.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _709;});},"dojo/date":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("date",true,dojo);dojo.date.getDaysInMonth=function(_714){var _715=_714.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_715==1&&dojo.date.isLeapYear(_714)){return 29;}return days[_715];};dojo.date.isLeapYear=function(_716){var year=_716.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_717){var str=_717.toString();var tz="";var _718;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_718=str.match(pat))){tz=_718[1];}else{str=_717.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_718=str.match(pat))){tz=_718[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_719,_71a,_71b){_719=new Date(+_719);_71a=new Date(+(_71a||new Date()));if(_71b=="date"){_719.setHours(0,0,0,0);_71a.setHours(0,0,0,0);}else{if(_71b=="time"){_719.setFullYear(0,0,0);_71a.setFullYear(0,0,0);}}if(_719>_71a){return 1;}if(_719<_71a){return -1;}return 0;};dojo.date.add=function(date,_71c,_71d){var sum=new Date(+date);var _71e=false;var _71f="Date";switch(_71c){case "day":break;case "weekday":var days,_720;var mod=_71d%5;if(!mod){days=(_71d>0)?5:-5;_720=(_71d>0)?((_71d-5)/5):((_71d+5)/5);}else{days=mod;_720=parseInt(_71d/5);}var strt=date.getDay();var adj=0;if(strt==6&&_71d>0){adj=1;}else{if(strt==0&&_71d<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_71d>0)?2:-2;}_71d=(7*_720)+days+adj;break;case "year":_71f="FullYear";_71e=true;break;case "week":_71d*=7;break;case "quarter":_71d*=3;case "month":_71e=true;_71f="Month";break;default:_71f="UTC"+_71c.charAt(0).toUpperCase()+_71c.substring(1)+"s";}if(_71f){sum["set"+_71f](sum["get"+_71f]()+_71d);}if(_71e&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_721,_722,_723){_722=_722||new Date();_723=_723||"day";var _724=_722.getFullYear()-_721.getFullYear();var _725=1;switch(_723){case "quarter":var m1=_721.getMonth();var m2=_722.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_724*4);_725=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_721,_722,"day"));var _726=parseInt(dojo.date.difference(_721,_722,"week"));var mod=days%7;if(mod==0){days=_726*5;}else{var adj=0;var aDay=_721.getDay();var bDay=_722.getDay();_726=parseInt(days/7);mod=days%7;var _727=new Date(_721);_727.setDate(_727.getDate()+(_726*7));var _728=_727.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 (_728+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 (_728+mod)<0:adj=2;}}}days+=adj;days-=(_726*2);}_725=days;break;case "year":_725=_724;break;case "month":_725=(_722.getMonth()-_721.getMonth())+(_724*12);break;case "week":_725=parseInt(dojo.date.difference(_721,_722,"day")/7);break;case "day":_725/=24;case "hour":_725/=60;case "minute":_725/=60;case "second":_725/=1000;case "millisecond":_725*=_722.getTime()-_721.getTime();}return Math.round(_725);};return dojo.date;});},"dojo/date/locale":function(){define(["../_base/kernel","../_base/lang","../_base/array","../date","../cldr/supplemental","../regexp","../string","../i18n!../cldr/nls/gregorian"],function(dojo,lang,_729,date,cldr,_72a,_72b,_72c){lang.getObject("date.locale",true,dojo);function _72d(_72e,_72f,_730,_731){return _731.replace(/([a-z])\1*/ig,function(_732){var s,pad,c=_732.charAt(0),l=_732.length,_733=["abbr","wide","narrow"];switch(c){case "G":s=_72f[(l<4)?"eraAbbr":"eraNames"][_72e.getFullYear()<0?0:1];break;case "y":s=_72e.getFullYear();switch(l){case 1:break;case 2:if(!_730.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_72e.getMonth()+1)/3);pad=true;break;case "M":var m=_72e.getMonth();if(l<3){s=m+1;pad=true;}else{var _734=["months","format",_733[l-3]].join("-");s=_72f[_734][m];}break;case "w":var _735=0;s=dojo.date.locale._getWeekOfYear(_72e,_735);pad=true;break;case "d":s=_72e.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_72e);pad=true;break;case "E":var d=_72e.getDay();if(l<3){s=d+1;pad=true;}else{var _736=["days","format",_733[l-3]].join("-");s=_72f[_736][d];}break;case "a":var _737=(_72e.getHours()<12)?"am":"pm";s=_730[_737]||_72f["dayPeriods-format-wide-"+_737];break;case "h":case "H":case "K":case "k":var h=_72e.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=_72e.getMinutes();pad=true;break;case "s":s=_72e.getSeconds();pad=true;break;case "S":s=Math.round(_72e.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_72e,true,_730);if(s){break;}l=4;case "Z":var _738=dojo.date.locale._getZone(_72e,false,_730);var tz=[(_738<=0?"+":"-"),_72b.pad(Math.floor(Math.abs(_738)/60),2),_72b.pad(Math.abs(_738)%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: "+_731);}if(pad){s=_72b.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_739,_73a,_73b){if(_73a){return date.getTimezoneName(_739);}else{return _739.getTimezoneOffset();}};dojo.date.locale.format=function(_73c,_73d){_73d=_73d||{};var _73e=dojo.i18n.normalizeLocale(_73d.locale),_73f=_73d.formatLength||"short",_740=dojo.date.locale._getGregorianBundle(_73e),str=[],_741=lang.hitch(this,_72d,_73c,_740,_73d);if(_73d.selector=="year"){return _742(_740["dateFormatItem-yyyy"]||"yyyy",_741);}var _743;if(_73d.selector!="date"){_743=_73d.timePattern||_740["timeFormat-"+_73f];if(_743){str.push(_742(_743,_741));}}if(_73d.selector!="time"){_743=_73d.datePattern||_740["dateFormat-"+_73f];if(_743){str.push(_742(_743,_741));}}return str.length==1?str[0]:_740["dateTimeFormat-"+_73f].replace(/\{(\d+)\}/g,function(_744,key){return str[key];});};dojo.date.locale.regexp=function(_745){return dojo.date.locale._parseInfo(_745).regexp;};dojo.date.locale._parseInfo=function(_746){_746=_746||{};var _747=dojo.i18n.normalizeLocale(_746.locale),_748=dojo.date.locale._getGregorianBundle(_747),_749=_746.formatLength||"short",_74a=_746.datePattern||_748["dateFormat-"+_749],_74b=_746.timePattern||_748["timeFormat-"+_749],_74c;if(_746.selector=="date"){_74c=_74a;}else{if(_746.selector=="time"){_74c=_74b;}else{_74c=_748["dateTimeFormat-"+_749].replace(/\{(\d+)\}/g,function(_74d,key){return [_74b,_74a][key];});}}var _74e=[],re=_742(_74c,lang.hitch(this,_74f,_74e,_748,_746));return {regexp:re,tokens:_74e,bundle:_748};};dojo.date.locale.parse=function(_750,_751){var _752=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_751),_753=info.tokens,_754=info.bundle,re=new RegExp("^"+info.regexp.replace(_752,"")+"$",info.strict?"":"i"),_755=re.exec(_750&&_750.replace(_752,""));if(!_755){return null;}var _756=["abbr","wide","narrow"],_757=[1970,0,1,0,0,0,0],amPm="",_758=dojo.every(_755,function(v,i){if(!i){return true;}var _759=_753[i-1];var l=_759.length;switch(_759.charAt(0)){case "y":if(l!=2&&_751.strict){_757[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_75a=year.substring(0,2)*100,_75b=Math.min(Number(year.substring(2,4))+20,99);_757[0]=(v<_75b)?_75a+v:_75a-100+v;}else{if(_751.strict){return false;}_757[0]=v;}}break;case "M":if(l>2){var _75c=_754["months-format-"+_756[l-3]].concat();if(!_751.strict){v=v.replace(".","").toLowerCase();_75c=dojo.map(_75c,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_75c,v);if(v==-1){return false;}}else{v--;}_757[1]=v;break;case "E":case "e":var days=_754["days-format-"+_756[l-3]].concat();if(!_751.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_757[1]=0;case "d":_757[2]=v;break;case "a":var am=_751.am||_754["dayPeriods-format-wide-am"],pm=_751.pm||_754["dayPeriods-format-wide-pm"];if(!_751.strict){var _75d=/\./g;v=v.replace(_75d,"").toLowerCase();am=am.replace(_75d,"").toLowerCase();pm=pm.replace(_75d,"").toLowerCase();}if(_751.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;}_757[3]=v;break;case "m":_757[4]=v;break;case "s":_757[5]=v;break;case "S":_757[6]=v;}return true;});var _75e=+_757[3];if(amPm==="p"&&_75e<12){_757[3]=_75e+12;}else{if(amPm==="a"&&_75e==12){_757[3]=0;}}var _75f=new Date(_757[0],_757[1],_757[2],_757[3],_757[4],_757[5],_757[6]);if(_751.strict){_75f.setFullYear(_757[0]);}var _760=_753.join(""),_761=_760.indexOf("d")!=-1,_762=_760.indexOf("M")!=-1;if(!_758||(_762&&_75f.getMonth()>_757[1])||(_761&&_75f.getDate()>_757[2])){return null;}if((_762&&_75f.getMonth()<_757[1])||(_761&&_75f.getDate()<_757[2])){_75f=date.add(_75f,"hour",1);}return _75f;};function _742(_763,_764,_765,_766){var _767=function(x){return x;};_764=_764||_767;_765=_765||_767;_766=_766||_767;var _768=_763.match(/(''|[^'])+/g),_769=_763.charAt(0)=="'";dojo.forEach(_768,function(_76a,i){if(!_76a){_768[i]="";}else{_768[i]=(_769?_765:_764)(_76a.replace(/''/g,"'"));_769=!_769;}});return _766(_768.join(""));};function _74f(_76b,_76c,_76d,_76e){_76e=_72a.escapeString(_76e);if(!_76d.strict){_76e=_76e.replace(" a"," ?a");}return _76e.replace(/([a-z])\1*/ig,function(_76f){var s,c=_76f.charAt(0),l=_76f.length,p2="",p3="";if(_76d.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+?":"1[0-2]|"+p2+"[1-9]";break;case "D":s="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+p2+"[1-9][0-9]|"+p3+"[1-9]";break;case "d":s="3[01]|[12]\\d|"+p2+"[1-9]";break;case "w":s="[1-4][0-9]|5[0-3]|"+p2+"[1-9]";break;case "E":s="\\S+";break;case "h":s="1[0-2]|"+p2+"[1-9]";break;case "k":s="1[01]|"+p2+"\\d";break;case "H":s="1\\d|2[0-3]|"+p2+"\\d";break;case "K":s="1\\d|2[0-4]|"+p2+"[1-9]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_76d.am||_76c["dayPeriods-format-wide-am"],pm=_76d.pm||_76c["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_76d.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(_76b){_76b.push(_76f);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _770=[];dojo.date.locale.addCustomFormats=function(_771,_772){_770.push({pkg:_771,name:_772});};dojo.date.locale._getGregorianBundle=function(_773){var _774={};dojo.forEach(_770,function(desc){var _775=dojo.i18n.getLocalization(desc.pkg,desc.name,_773);_774=lang.mixin(_774,_775);},this);return _774;};dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_776,_777){var _778,_779=dojo.date.locale._getGregorianBundle(_777),_77a=[item,_776,type];if(_776=="standAlone"){var key=_77a.join("-");_778=_779[key];if(_778[0]==1){_778=undefined;}}_77a[1]="format";return (_778||_779[_77a.join("-")]).concat();};dojo.date.locale.isWeekend=function(_77b,_77c){var _77d=cldr.getWeekend(_77c),day=(_77b||new Date()).getDay();if(_77d.end<_77d.start){_77d.end+=7;if(day<_77d.start){day+=7;}}return day>=_77d.start&&day<=_77d.end;};dojo.date.locale._getDayOfYear=function(_77e){return date.difference(new Date(_77e.getFullYear(),0,1,_77e.getHours()),_77e)+1;};dojo.date.locale._getWeekOfYear=function(_77f,_780){if(arguments.length==1){_780=0;}var _781=new Date(_77f.getFullYear(),0,1).getDay(),adj=(_781-_780+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_77f)+adj-1)/7);if(_781==_780){week++;}return week;};return dojo.date.locale;});},"dojo/cldr/supplemental":function(){define(["../_base/kernel","../_base/lang","../i18n"],function(dojo,lang){lang.getObject("cldr.supplemental",true,dojo);dojo.cldr.supplemental.getFirstDayOfWeek=function(_782){var _783={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,sy:6,tn:6,ye:6,ar:0,as:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,il:0,"in":0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mn:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,zw:0};var _784=dojo.cldr.supplemental._region(_782);var dow=_783[_784];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_785){_785=dojo.i18n.normalizeLocale(_785);var tags=_785.split("-");var _786=tags[1];if(!_786){_786={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_786.length==4){_786=tags[2];}}return _786;};dojo.cldr.supplemental.getWeekend=function(_787){var _788={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5};var _789={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6};var _78a=dojo.cldr.supplemental._region(_787);var _78b=_788[_78a];var end=_789[_78a];if(_78b===undefined){_78b=6;}if(end===undefined){end=0;}return {start:_78b,end:end};};return dojo.cldr.supplemental;});},"dojo/cldr/nls/gregorian":function(){define({root:{"months-format-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"Day of the Week","dateFormatItem-yQQQ":"y QQQ","dateFormatItem-yMEd":"EEE, y-M-d","dateFormatItem-MMMEd":"E MMM d","eraNarrow":["BCE","CE"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"y MMMM d","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormat-medium":"{1} {0}","dateFormatItem-EEEd":"d EEE","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE, y MMMM dd","dateFormatItem-Md":"M-d","dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-era":"Era","dateFormatItem-yM":"y-M","months-standAlone-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","quarters-format-wide":["Q1","Q2","Q3","Q4"],"timeFormat-long":"HH:mm:ss z","field-year":"Year","dateFormatItem-yMMM":"y MMM","dateFormatItem-yQ":"y Q","dateTimeFormats-appendItem-Era":"{0} {1}","field-hour":"Hour","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-full":"HH:mm:ss zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"Today","field-day-relative+1":"Tomorrow","dateFormatItem-H":"HH","months-standAlone-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"quarters-format-abbr":["Q1","Q2","Q3","Q4"],"quarters-standAlone-wide":["Q1","Q2","Q3","Q4"],"dateFormatItem-M":"L","days-standAlone-wide":["1","2","3","4","5","6","7"],"timeFormat-medium":"HH:mm:ss","dateFormatItem-Hm":"HH:mm","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],"eraAbbr":["BCE","CE"],"field-minute":"Minute","field-dayperiod":"Dayperiod","days-standAlone-abbr":["1","2","3","4","5","6","7"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"Yesterday","dateFormatItem-h":"h a","dateTimeFormat-long":"{1} {0}","dayPeriods-format-narrow-am":"AM","dateFormatItem-MMMd":"MMM d","dateFormatItem-MEd":"E, M-d","dateTimeFormat-full":"{1} {0}","field-day":"Day","days-format-wide":["1","2","3","4","5","6","7"],"field-zone":"Zone","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateFormatItem-y":"y","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["1","2","3","4","5","6","7"],"eraNames":["BCE","CE"],"days-format-narrow":["1","2","3","4","5","6","7"],"days-standAlone-narrow":["1","2","3","4","5","6","7"],"dateFormatItem-MMM":"LLL","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-short":"yyyy-MM-dd","field-second":"Second","dateFormatItem-yMMMEd":"EEE, y MMM d","dateTimeFormats-appendItem-Timezone":"{0} {1}","field-week":"Week","dateFormat-medium":"y MMM d","dayPeriods-format-narrow-pm":"PM","dateTimeFormat-short":"{1} {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-ca":true,"en-gb":true,"es":true,"fi":true,"fr":true,"fr-ch":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"pt-pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true,"zh-tw":true});},"dijit/CalendarLite":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/dom","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/_base/window","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html"],function(_78c,_78d,_78e,date,_78f,dom,_790,_791,lang,has,_792,win,_793,_794,_795){var _796=_78d("dijit.CalendarLite",[_793,_794],{templateString:_795,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\"><span class=\"dijitCalendarDayLabel\">${d}</span></th>",dateTemplateString:"<td class=\"dijitReset\" role=\"gridcell\" data-dojo-attach-point=\"dateCells\"><span class=\"dijitCalendarDateLabel\" data-dojo-attach-point=\"dateLabels\"></span></td>",weekTemplateString:"<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">${d}${d}${d}${d}${d}${d}${d}</tr>",value:new Date(""),datePackage:date,dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),baseClass:"dijitCalendar",_isValidDate:function(_797){return _797&&!isNaN(_797)&&typeof _797=="object"&&_797.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){if(this.value&&!isNaN(this.value)){var _798=new this.dateClassObj(this.value);_798.setHours(0,0,0,0);if(_798.getDate()<this.value.getDate()){_798=this.dateFuncObj.add(_798,"hour",1);}return _798;}else{return null;}},_setValueAttr:function(_799,_79a){if(_799){_799=new this.dateClassObj(_799);}if(this._isValidDate(_799)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_799,this.value)){_799.setHours(1,0,0,0);if(!this.isDisabledDate(_799,this.lang)){this._set("value",_799);this.set("currentFocus",_799);if(_79a||typeof _79a=="undefined"){this.onChange(this.get("value"));}}}}else{this._set("value",null);this.set("currentFocus",this.currentFocus);}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(win.doc.createTextNode(text));},_populateGrid:function(){var _79b=new this.dateClassObj(this.currentFocus);_79b.setDate(1);var _79c=_79b.getDay(),_79d=this.dateFuncObj.getDaysInMonth(_79b),_79e=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_79b,"month",-1)),_79f=new this.dateClassObj(),_7a0=_78e.getFirstDayOfWeek(this.lang);if(_7a0>_79c){_7a0-=7;}this._date2cell={};_78c.forEach(this.dateCells,function(_7a1,idx){var i=idx+_7a0;var date=new this.dateClassObj(_79b),_7a2,_7a3="dijitCalendar",adj=0;if(i<_79c){_7a2=_79e-_79c+i+1;adj=-1;_7a3+="Previous";}else{if(i>=(_79c+_79d)){_7a2=i-_79c-_79d+1;adj=1;_7a3+="Next";}else{_7a2=i-_79c+1;_7a3+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_7a2);if(!this.dateFuncObj.compare(date,_79f,"date")){_7a3="dijitCalendarCurrentDate "+_7a3;}if(this._isSelectedDate(date,this.lang)){_7a3="dijitCalendarSelectedDate "+_7a3;_7a1.setAttribute("aria-selected",true);}else{_7a1.setAttribute("aria-selected",false);}if(this.isDisabledDate(date,this.lang)){_7a3="dijitCalendarDisabledDate "+_7a3;_7a1.setAttribute("aria-disabled",true);}else{_7a3="dijitCalendarEnabledDate "+_7a3;_7a1.removeAttribute("aria-disabled");}var _7a4=this.getClassForDate(date,this.lang);if(_7a4){_7a3=_7a4+" "+_7a3;}_7a1.className=_7a3+"Month dijitCalendarDateTemplate";var _7a5=date.valueOf();this._date2cell[_7a5]=_7a1;_7a1.dijitDateValue=_7a5;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);this.monthWidget.set("month",_79b);var y=_79b.getFullYear()-1;var d=new this.dateClassObj();_78c.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],this.dateLocaleModule.format(d,{selector:"year",locale:this.lang}));},this);},goToToday:function(){this.set("value",new this.dateClassObj());},constructor:function(args){this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=typeof this.datePackage=="string"?lang.getObject(this.datePackage,false):this.datePackage;this.dateClassObj=this.dateFuncObj.Date||Date;this.dateLocaleModule=lang.getObject("locale",false,this.dateFuncObj);},_createMonthWidget:function(){return _796._MonthWidget({id:this.id+"_mw",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_7a6=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_7a7=_78e.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_792.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _7a6[_7a7++%7];});var r=_792.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 _7a8=new this.dateClassObj(this.currentFocus);this._supportingWidgets.push(this.monthWidget=this._createMonthWidget());this.set("currentFocus",_7a8,false);var _7a9=lang.hitch(this,function(_7aa,part,_7ab){this.connect(this[_7aa],"onclick",function(){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_7ab));});});_7a9("incrementMonth","month",1);_7a9("decrementMonth","month",-1);_7a9("nextYearLabelNode","year",1);_7a9("previousYearLabelNode","year",-1);},_setCurrentFocusAttr:function(date,_7ac){var _7ad=this.currentFocus,_7ae=_7ad&&this._date2cell?this._date2cell[_7ad.valueOf()]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _7af=this._date2cell[date.valueOf()];_7af.setAttribute("tabIndex",this.tabIndex);if(this.focused||_7ac){_7af.focus();}if(_7ae&&_7ae!=_7af){if(has("webkit")){_7ae.setAttribute("tabIndex","-1");}else{_7ae.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){_791.stop(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_790.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},onChange:function(){},_isSelectedDate:function(_7b0){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_7b0,this.value,"date");},isDisabledDate:function(){},getClassForDate:function(){}});_796._MonthWidget=_78d("dijit.CalendarLite._MonthWidget",_793,{_setMonthAttr:function(_7b1){var _7b2=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_7b1),_7b3=(has("ie")==6?"":"<div class='dijitSpacer'>"+_78c.map(_7b2,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_7b3+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_7b2[_7b1.getMonth()]+"</div>";}});return _796;});},"url:dijit/templates/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"decrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div data-dojo-attach-point=\"monthNode\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"incrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"onclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\" role=\"presentation\">\n\t\t\t\t<div class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span data-dojo-attach-point=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\" role=\"button\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" role=\"button\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\" role=\"button\"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n","dijit/form/_DateTimeTextBox":function(){define(["dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/_base/lang","./RangeBoundTextBox","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(date,_7b4,_7b5,_7b6,lang,_7b7,_7b8,_7b9){new Date("X");var _7ba=_7b6("dijit.form._DateTimeTextBox",[_7b7,_7b8],{templateString:_7b9,hasDownArrow:true,openOnClick:true,regExpGen:_7b4.regexp,datePackage:date,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _7bb=this._isInvalidDate(val1);var _7bc=this._isInvalidDate(val2);return _7bb?(_7bc?0:-1):(_7bc?1:date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_7bd,_7be){if(!_7bd){return "";}return this.dateLocaleModule.format(_7bd,_7be);},"parse":function(_7bf,_7c0){return this.dateLocaleModule.parse(_7bf,_7c0)||(this._isEmpty(_7bf)?null:undefined);},serialize:function(val,_7c1){if(val.toGregorian){val=val.toGregorian();}return _7b5.toISOString(val,_7c1);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(args){this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=typeof this.datePackage=="string"?lang.getObject(this.datePackage,false):this.datePackage;this.dateClassObj=this.dateFuncObj.Date||Date;this.dateLocaleModule=lang.getObject("locale",false,this.dateFuncObj);this.regExpGen=this.dateLocaleModule.regexp;this._invalidDate=this.constructor.prototype.value.toString();},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow){this._buttonNode.style.display="none";}if(this.openOnClick||!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_7c2){_7c2.selector=this._selector;_7c2.fullYear=true;var _7c3=_7b5.fromISOString;if(typeof _7c2.min=="string"){_7c2.min=_7c3(_7c2.min);}if(typeof _7c2.max=="string"){_7c2.max=_7c3(_7c2.max);}this.inherited(arguments);},_isInvalidDate:function(_7c4){return !_7c4||isNaN(_7c4)||typeof _7c4!="object"||_7c4.toString()==this._invalidDate;},_setValueAttr:function(_7c5,_7c6,_7c7){if(_7c5!==undefined){if(typeof _7c5=="string"){_7c5=_7b5.fromISOString(_7c5);}if(this._isInvalidDate(_7c5)){_7c5=null;}if(_7c5 instanceof Date&&!(this.dateClassObj instanceof Date)){_7c5=new this.dateClassObj(_7c5);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_7c5,false);}},_set:function(attr,_7c8){if(attr=="value"&&this.value instanceof Date&&this.compare(_7c8,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_7c9){if(this.dropDown){this.dropDown.destroy();}var _7ca=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_7cb=this,_7cc=this.get("value");this.dropDown=new _7ca({onChange:function(_7cd){_7cb.set("value",_7cd,true);},id:this.id+"_popup",dir:_7cb.dir,lang:_7cb.lang,value:_7cc,currentFocus:!this._isInvalidDate(_7cc)?_7cc:this.dropDownDefaultValue,constraints:_7cb.constraints,filterString:_7cb.filterString,datePackage:_7cb.datePackage,isDisabledDate:function(date){return !_7cb.rangeCheck(date,_7cb.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_7ce,_7cf){this._setValueAttr(this.parse(_7ce,this.constraints),_7cf,_7ce);}});return _7ba;});},"dijit/form/TimeTextBox":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_7d0,keys,lang,_7d1,_7d2){return _7d0("dijit.form.TimeTextBox",_7d2,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_7d1,_selector:"time",value:new Date(""),_onKey:function(evt){if(this.disabled||this.readOnly){return;}this.inherited(arguments);switch(evt.keyCode){case keys.ENTER:case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:break;default:setTimeout(lang.hitch(this,function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();}),0);}}});});},"dijit/_TimePicker":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/query","dijit/typematic","./_Widget","./_TemplatedMixin","./form/_FormValueWidget","dojo/text!./templates/TimePicker.html"],function(_7d3,_7d4,_7d5,_7d6,_7d7,_7d8,_7d9,_7da,_7db,keys,lang,has,_7dc,_7dd,_7de,_7df,_7e0,_7e1){return _7d7("dijit._TimePicker",[_7de,_7df],{templateString:_7e1,baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_7d6.toISOString,setValue:function(_7e2){_7db.deprecated("dijit._TimePicker:setValue() is deprecated. Use set('value', ...) instead.","","2.0");this.set("value",_7e2);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_7e3,_7e4,_7e5,_7e6){var _7e7=[],_7e8=_7e6?_7e6.date:this._refDate,n,i=_7e3,max=this._maxIncrement+Math.abs(i),chk=_7e5?-1:1,dec=_7e5?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_7e5&&n.date>_7e8)||(!_7e5&&n.date<_7e8)){break;}_7e7[_7e5?"unshift":"push"](n);_7e8=n.date;}i+=inc;}while(_7e7.length<_7e4&&(i*chk)<max);return _7e7;},_showText:function(){var _7e9=_7d6.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_7e9(this.clickableIncrement);this._visibleIncrementDate=_7e9(this.visibleIncrement);this._visibleRangeDate=_7e9(this.visibleRange);var _7ea=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_7eb=_7ea(this._clickableIncrementDate),_7ec=_7ea(this._visibleIncrementDate),_7ed=_7ea(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_7eb*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_7ed/_7eb;this._visibleIncrement=_7ec/_7eb;this._maxIncrement=(60*60*24)/_7eb;var _7ee=Math.min(this._totalIncrements,10),_7ef=this._getFilteredNodes(0,(_7ee>>1)+1,false),_7f0=[],_7f1=_7ee-_7ef.length,_7f2=this._getFilteredNodes(0,_7f1,true,_7ef[0]);if(_7f2.length<_7f1&&_7ef.length>0){_7f0=this._getFilteredNodes(_7ef.length,_7f1-_7f2.length,false,_7ef[_7ef.length-1]);}_7d3.forEach(_7f2.concat(_7ef,_7f0),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_7f3){lang.mixin(this,_7f3);if(!_7f3.locale){_7f3.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("ie")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_7dd.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_7dd.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_7d8.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_7f4){var date=new Date(this._refDate);var _7f5=this._clickableIncrementDate;date.setHours(date.getHours()+_7f5.getHours()*_7f4,date.getMinutes()+_7f5.getMinutes()*_7f4,date.getSeconds()+_7f5.getSeconds()*_7f4);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _7f6=_7d5.format(date,this.constraints);if(this.filterString&&_7f6.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_7d9.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_7f4;_7d9.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_7f6},div);if(_7f4%this._visibleIncrement<1&&_7f4%this._visibleIncrement>-1){_7d8.add(div,this.baseClass+"Marker");}else{if(!(_7f4%this._clickableIncrement)){_7d8.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_7d8.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_7d4.compare(this.value,date,this.constraints.selector)){div.selected=true;_7d8.add(div,this.baseClass+"ItemSelected");if(_7d8.contains(div,this.baseClass+"Marker")){_7d8.add(div,this.baseClass+"MarkerSelected");}else{_7d8.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _7f7=tgt.target.date||tgt.target.parentNode.date;if(!_7f7||this.isDisabledDate(_7f7)){return;}this._highlighted_option=null;this.set("value",_7f7);this.onChange(_7f7);},onChange:function(){},_highlightOption:function(node,_7f8){if(!node){return;}if(_7f8){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;}}_7d8.toggle(node,this.baseClass+"ItemHover",_7f8);if(_7d8.contains(node,this.baseClass+"Marker")){_7d8.toggle(node,this.baseClass+"MarkerHover",_7f8);}else{_7d8.toggle(node,this.baseClass+"TickHover",_7f8);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_7d8.contains(tgr,this.baseClass+"Item")){return;}this._highlightOption(tgr,true);},onmouseout:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlightOption(tgr,false);},_mouseWheeled:function(e){this._keyboardSelected=null;_7da.stop(e);var _7f9=(has("ie")?e.wheelDelta:-e.detail);this[(_7f9>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_7fa){if(typeof _7fa=="number"&&_7fa==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _7fb=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_7fb,1,true,this.timeMenu.childNodes[0]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(divs[0],this.timeMenu.childNodes[0]);}},_onArrowDown:function(_7fc){if(typeof _7fc=="number"&&_7fc==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _7fd=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_7fd,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){if(e.charOrCode==keys.DOWN_ARROW||e.charOrCode==keys.UP_ARROW){_7da.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _7fe=this.timeMenu,tgt=this._highlighted_option||_7dc("."+this.baseClass+"ItemSelected",_7fe)[0];if(!tgt){tgt=_7fe.childNodes[0];}else{if(_7fe.childNodes.length){if(e.charOrCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.charOrCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.charOrCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.charOrCode==keys.ENTER||e.charOrCode===keys.TAB){if(!this._keyboardSelected&&e.charOrCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.charOrCode===keys.TAB;}}return undefined;}});});},"url:dijit/templates/TimePicker.html":"<div id=\"widget_${id}\" class=\"dijitMenu\"\n ><div data-dojo-attach-point=\"upArrow\" class=\"dijitButtonNode dijitUpArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\"> </div\n\t\t><div class=\"dijitArrowButtonChar\">▲</div></div\n ><div data-dojo-attach-point=\"timeMenu,focusNode\" data-dojo-attach-event=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n ><div data-dojo-attach-point=\"downArrow\" class=\"dijitButtonNode dijitDownArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\"> </div\n\t\t><div class=\"dijitArrowButtonChar\">▼</div></div\n></div>\n","dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_7ff,_800,keys,_801,_802){return _7ff("dijit.form.NumberSpinner",[_801,_802.Mixin],{adjust:function(val,_803){var tc=this.constraints,v=isNaN(val),_804=!isNaN(tc.max),_805=!isNaN(tc.min);if(v&&_803!=0){val=(_803>0)?_805?tc.min:_804?tc.max:0:_804?this.constraints.max:_805?tc.min:0;}var _806=val+_803;if(v||isNaN(_806)){return val;}if(_804&&(_806>tc.max)){_806=tc.max;}if(_805&&(_806<tc.min)){_806=tc.min;}return _806;},_onKeyPress:function(e){if((e.charOrCode==keys.HOME||e.charOrCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _807=this.constraints[(e.charOrCode==keys.HOME?"min":"max")];if(typeof _807=="number"){this._setValueAttr(_807,false);}_800.stop(e);}}});});},"dijit/form/_Spinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dijit/typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_808,_809,keys,lang,has,_80a,_80b,_80c,_80d){return _808("dijit.form._Spinner",_80b,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_80c,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_80e,_80f,_810){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_80f*_810),false);_80d.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_811,node,evt){var inc=this.smallDelta;if(node==this.textbox){var key=evt.charOrCode;inc=(key==keys.PAGE_UP||key==keys.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==keys.UP_ARROW||key==keys.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_811==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){_809.stop(evt);var _812=evt.wheelDelta/120;if(Math.floor(_812)!=_812){_812=evt.wheelDelta>0?1:-1;}var _813=evt.detail?(evt.detail*-1):_812;if(_813!==0){var node=this[(_813>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_813,this.smallDelta);if(!this._wheelTimer){clearTimeout(this._wheelTimer);}this._wheelTimer=setTimeout(lang.hitch(this,"_arrowReleased",node),50);}},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_80a.addListener(this.upArrowNode,this.textbox,{charOrCode:keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_80a.addListener(this.downArrowNode,this.textbox,{charOrCode:keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_80a.addListener(this.upArrowNode,this.textbox,{charOrCode:keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_80a.addListener(this.downArrowNode,this.textbox,{charOrCode:keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});});},"url:dijit/form/templates/Spinner.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdata-dojo-attach-point=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"▲\" 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=\"onkeypress:_onKeyPress\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n","dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_814,_815,_816){return _814("dijit.form.ComboBox",[_815,_816],{});});},"dijit/form/MultiSelect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/query","./_FormValueWidget"],function(_817,_818,_819,_81a,_81b){return _818("dijit.form.MultiSelect",_81b,{size:7,templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_81c){_81c.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _81d=_81c.domNode.scrollTop;_81c.domNode.scrollTop=0;_81c.domNode.scrollTop=_81d;},this);this._set("value",this.get("value"));},getSelected:function(){return _81a("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _817.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_81e,_81f){_81a("option",this.containerNode).forEach(function(n){n.selected=(_817.indexOf(_81e,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_820){var val=[];_81a("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_820===false||_820==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_819.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/_base/event","dojo/i18n","dojo/_base/lang","./_FormSelectWidget","../_HasDropDown","../Menu","../MenuItem","../MenuSeparator","../Tooltip","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_821,_822,_823,_824,_825,_826,_827,i18n,lang,_828,_829,Menu,_82a,_82b,_82c,_82d){var _82e=_822("dijit.form._SelectMenu",Menu,{buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=_825.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}}));if(o.parentNode){o.parentNode.replaceChild(n,o);}_824.remove(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";o.setAttribute("role","listbox");n.setAttribute("role","presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",_827.stop);},resize:function(mb){if(mb){_826.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _82f=_822("dijit.form.Select",[_828,_829],{baseClass:"dijitSelect",templateString:_82d,required:false,state:"",message:"",tooltipPosition:[],emptyLabel:" ",_isLoaded:false,_childrenLoaded:false,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this.value=this.options[si>=0?si:0].value;}this.dropDown=new _82e({id:this.id+"_menu"});_824.add(this.dropDown.domNode,this.baseClass+"Menu");},_getMenuItemForOption:function(_830){if(!_830.value&&!_830.label){return new _82b();}else{var _831=lang.hitch(this,"_setValueAttr",_830);var item=new _82a({option:_830,label:_830.label||this.emptyLabel,onClick:_831,disabled:_830.disabled||false});item.focusNode.setAttribute("role","listitem");return item;}},_addOptionItem:function(_832){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_832));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_833){if(_833===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_821.forEach(this._getChildren(),function(_834){_834.destroyRecursive();});var item=new _82a({label:" "});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value);}},_setValueAttr:function(_835){this.inherited(arguments);_823.set(this.valueNode,"value",this.get("value"));this.validate(this.focused);},_setDisabledAttr:function(_836){this.inherited(arguments);this.validate(this.focused);},_setRequiredAttr:function(_837){this._set("required",_837);this.focusNode.setAttribute("aria-required",_837);this.validate(this.focused);},_setDisplay:function(_838){var lbl=_838||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";this.focusNode.setAttribute("aria-valuetext",lbl);},validate:function(_839){var _83a=this.disabled||this.isValid(_839);this._set("state",_83a?"":"Incomplete");this.focusNode.setAttribute("aria-invalid",_83a?"false":"true");var _83b=_83a?"":this._missingMsg;if(_83b&&this.focused&&this._hasBeenBlurred){_82c.show(_83b,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_82c.hide(this.domNode);}this._set("message",_83b);return _83a;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_82c.hide(this.domNode);this.validate(this.focused);},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",_827.stop);},_setStyleAttr:function(_83c){this.inherited(arguments);_824.toggle(this.domNode,this.baseClass+"FixedWidth",!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_83d){this._loadChildren(true);this._isLoaded=true;_83d();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_83e){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_83e);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_82c.hide(this.domNode);this.inherited(arguments);}});_82f._Menu=_82e;return _82f;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","./_FormValueWidget"],function(_83f,_840,_841,_842,dom,_843,_844,lang,_845,_846){return _842("dijit.form._FormSelectWidget",_846,{multiple:false,options:null,store:null,query:null,queryOptions:null,onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,getOptions:function(_847){var _848=_847,opts=this.options||[],l=opts.length;if(_848===undefined){return opts;}if(lang.isArray(_848)){return _83f.map(_848,"return this.getOptions(item);",this);}if(lang.isObject(_847)){if(!_83f.some(this.options,function(o,idx){if(o===_848||(o.value&&o.value===_848.value)){_848=idx;return true;}return false;})){_848=-1;}}if(typeof _848=="string"){for(var i=0;i<l;i++){if(opts[i].value===_848){_848=i;break;}}}if(typeof _848=="number"&&_848>=0&&_848<l){return this.options[_848];}return null;},addOption:function(_849){if(!lang.isArray(_849)){_849=[_849];}_83f.forEach(_849,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_84a){if(!lang.isArray(_84a)){_84a=[_84a];}var _84b=this.getOptions(_84a);_83f.forEach(_84b,function(i){if(i){this.options=_83f.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_84c){if(!lang.isArray(_84c)){_84c=[_84c];}_83f.forEach(_84c,function(i){var _84d=this.getOptions(i),k;if(_84d){for(k in i){_84d[k]=i[k];}}},this);this._loadChildren();},setStore:function(_84e,_84f,_850){var _851=this.store;_850=_850||{};if(_851!==_84e){var h;while(h=this._notifyConnections.pop()){h.remove();}if(_84e&&_84e.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_840.after(_84e,"onNew",lang.hitch(this,"_onNewItem"),true),_840.after(_84e,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_840.after(_84e,"onSet",lang.hitch(this,"_onSetItem"),true)];}this._set("store",_84e);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_84e){this._loadingStore=true;_84e.fetch(lang.delegate(_850,{onComplete:function(_852,opts){if(this.sortByLabel&&!_850.sort&&_852.length){_852.sort(_841.createSortFunction([{attribute:_84e.getLabelAttributes(_852[0])[0]}],_84e));}if(_850.onFetch){_852=_850.onFetch.call(this,_852,opts);}_83f.forEach(_852,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_84f);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_852);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _851;},_setValueAttr:function(_853,_854){if(this._loadingStore){this._pendingValue=_853;return;}var opts=this.getOptions()||[];if(!lang.isArray(_853)){_853=[_853];}_83f.forEach(_853,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_853[idx]=_83f.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_853=_83f.filter(_853,function(i){return i&&i.value;});if(!this.multiple&&(!_853[0]||!_853[0].value)&&opts.length){_853[0]=opts[0];}_83f.forEach(opts,function(i){i.selected=_83f.some(_853,function(v){return v.value===i.value;});});var val=_83f.map(_853,function(i){return i.value;}),disp=_83f.map(_853,function(i){return i.label;});this._set("value",this.multiple?val:val[0]);this._setDisplay(this.multiple?disp:disp[0]);this._updateSelection();this._handleOnChange(this.value,_854);},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_83f.map(this.getOptions(val),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_loadChildren:function(){if(this._loadingStore){return;}_83f.forEach(this._getChildren(),function(_855){_855.destroyRecursive();});_83f.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=this.value;if(!lang.isArray(val)){val=[val];}if(val&&val[0]){_83f.forEach(this._getChildren(),function(_856){var _857=_83f.some(val,function(v){return _856.option&&(v===_856.option.value);});_843.toggle(_856.domNode,this.baseClass+"SelectedOption",_857);_856.domNode.setAttribute("aria-selected",_857);},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_83f.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 _83f.map(_83f.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_858){if(!_858||!_858.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _859=this.store;this.removeOption(_859.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _85a=this.store,_85b=_85a.getLabel(item),_85c=(_85b?_85a.getIdentity(item):null);return {value:_85c,label:_85b,item:item};},_addOptionForItem:function(item){var _85d=this.store;if(!_85d.isItemLoaded(item)){_85d.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _85e=this._getOptionObjForItem(item);this.addOption(_85e);},constructor:function(_85f){this._oValue=(_85f||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){var opts=this.options;if(!opts){opts=this.options=this.srcNodeRef?_845("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_844._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);this.connect(this,"onChange","_updateSelection");this.connect(this,"startup","_loadChildren");this._setValueAttr(this.value,null);},startup:function(){this.inherited(arguments);var _860=this.store,_861={};_83f.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_861[i]=this[i];}delete this[i];},this);if(_860&&_860.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_860,this._oValue,_861);}},destroy:function(){var h;while(h=this._notifyConnections.pop()){h.remove();}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(){},onSetStore:function(){}});});},"dojo/data/util/sorter":function(){define(["dojo/_base/lang"],function(lang){var _862=lang.getObject("dojo.data.util.sorter",true);_862.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;};_862.createSortFunction=function(_863,_864){var _865=[];function _866(attr,dir,comp,s){return function(_867,_868){var a=s.getValue(_867,attr);var b=s.getValue(_868,attr);return dir*comp(a,b);};};var _869;var map=_864.comparatorMap;var bc=_862.basicComparator;for(var i=0;i<_863.length;i++){_869=_863[i];var attr=_869.attribute;if(attr){var dir=(_869.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_865.push(_866(attr,dir,comp,_864));}}return function(rowA,rowB){var i=0;while(i<_865.length){var ret=_865[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _862;});},"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"combobox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\" role=\"presentation\"\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\" data-dojo-attach-point=\"containerNode,_popupStateNode\"></span\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">▼</div\n\t\t></td\n\t></tr></tbody\n></table>\n","dijit/form/HorizontalSlider":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/move","dojo/_base/event","dojo/_base/fx","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","../registry","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_86a,_86b,move,_86c,fx,_86d,_86e,keys,lang,has,_86f,_870,_871,_872,_873,_874,_875,_876,_877,_878){var _879=_86b("dijit.form._SliderMover",_870,{onMouseMove:function(e){var _87a=this.widget;var _87b=_87a._abspos;if(!_87b){_87b=_87a._abspos=_86d.position(_87a.sliderBarContainer,true);_87a._setPixelValue_=lang.hitch(_87a,"_setPixelValue");_87a._isReversed_=_87a._isReversed();}var _87c=e[_87a._mousePixelCoord]-_87b[_87a._startingPixelCoord];_87a._setPixelValue_(_87a._isReversed_?(_87b[_87a._pixelCount]-_87c):_87c,_87b[_87a._pixelCount],false);},destroy:function(e){_870.prototype.destroy.apply(this,arguments);var _87d=this.widget;_87d._abspos=null;_87d._setValueAttr(_87d.value,true);}});var _87e=_86b("dijit.form.HorizontalSlider",[_876,_877],{templateString:_878,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_872.defaultDuration,_setIdAttr:"",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyUp:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}this._setValueAttr(this.value,true);},_onKeyPress:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}switch(e.charOrCode){case keys.HOME:this._setValueAttr(this.minimum,false);break;case keys.END:this._setValueAttr(this.maximum,false);break;case ((this._descending||this.isLeftToRight())?keys.RIGHT_ARROW:keys.LEFT_ARROW):case (this._descending===false?keys.DOWN_ARROW:keys.UP_ARROW):case (this._descending===false?keys.PAGE_DOWN:keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?keys.LEFT_ARROW:keys.RIGHT_ARROW):case (this._descending===false?keys.UP_ARROW:keys.DOWN_ARROW):case (this._descending===false?keys.PAGE_UP:keys.PAGE_DOWN):this.decrement(e);break;default:return;}_86c.stop(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_873.focus(this.sliderHandle);}_86c.stop(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_873.focus(this.sliderHandle);_86c.stop(e);var _87f=_86d.position(this.sliderBarContainer,true);var _880=e[this._mousePixelCoord]-_87f[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_87f[this._pixelCount]-_880):_880,_87f[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_881,_882,_883){if(this.disabled||this.readOnly){return;}var _884=this.discreteValues;if(_884<=1||_884==Infinity){_884=_882;}_884--;var _885=_882/_884;var _886=Math.round(_881/_885);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_886/_884+this.minimum,this.maximum),this.minimum),_883);},_setValueAttr:function(_887,_888){this._set("value",_887);this.valueNode.value=_887;this.focusNode.setAttribute("aria-valuenow",_887);this.inherited(arguments);var _889=(_887-this.minimum)/(this.maximum-this.minimum);var _88a=(this._descending===false)?this.remainingBar:this.progressBar;var _88b=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_888&&this.slideDuration>0&&_88a.style[this._progressPixelSize]){var _88c=this;var _88d={};var _88e=parseFloat(_88a.style[this._progressPixelSize]);var _88f=this.slideDuration*(_889-_88e/100);if(_88f==0){return;}if(_88f<0){_88f=0-_88f;}_88d[this._progressPixelSize]={start:_88e,end:_889*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_88a,duration:_88f,onAnimate:function(v){_88b.style[_88c._progressPixelSize]=(100-parseFloat(v[_88c._progressPixelSize]))+"%";},onEnd:function(){delete _88c._inProgressAnim;},properties:_88d});this._inProgressAnim.play();}else{_88a.style[this._progressPixelSize]=(_889*100)+"%";_88b.style[this._progressPixelSize]=((1-_889)*100)+"%";}},_bumpValue:function(_890,_891){if(this.disabled||this.readOnly){return;}var s=_86e.getComputedStyle(this.sliderBarContainer);var c=_86d.getContentBox(this.sliderBarContainer,s);var _892=this.discreteValues;if(_892<=1||_892==Infinity){_892=c[this._pixelCount];}_892--;var _893=(this.value-this.minimum)*_892/(this.maximum-this.minimum)+_890;if(_893<0){_893=0;}if(_893>_892){_893=_892;}_893=_893*(this.maximum-this.minimum)/_892+this.minimum;this._setValueAttr(_893,_891);},_onClkBumper:function(val){if(this.disabled||this.readOnly||!this.clickSelect){return;}this._setValueAttr(val,true);},_onClkIncBumper:function(){this._onClkBumper(this._descending===false?this.minimum:this.maximum);},_onClkDecBumper:function(){this._onClkBumper(this._descending===false?this.maximum:this.minimum);},decrement:function(e){this._bumpValue(e.charOrCode==keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.charOrCode==keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){_86c.stop(evt);var _894=!has("mozilla");var _895=evt[(_894?"wheelDelta":"detail")]*(_894?1:-1);this._bumpValue(_895<0?-1:1,true);},startup:function(){if(this._started){return;}_86a.forEach(this.getChildren(),function(_896){if(this[_896.container]!=this.containerNode){this[_896.container].appendChild(_896.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_897,_898,e){if(_897==-1){this._setValueAttr(this.value,true);}else{this[(_898==(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 _899=_871("label[for=\""+this.id+"\"]");if(_899.length){_899[0].id=(this.id+"_label");this.focusNode.setAttribute("aria-labelledby",_899[0].id);}this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum);},postCreate:function(){this.inherited(arguments);if(this.showButtons){this._connects.push(_874.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));this._connects.push(_874.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _89a=_86b(_879,{widget:this});this._movable=new _86f(this.sliderHandle,{mover:_89a});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this._supportingWidgets=_872.findWidgets(this.domNode);this.inherited(arguments);}});_87e._Mover=_879;return _87e;});},"dojo/dnd/move":function(){define(["../main","./Mover","./Moveable"],function(dojo){dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,constructor:function(node,_89b){if(!_89b){_89b={};}this.constraints=_89b.constraints;this.within=_89b.within;},onFirstMove:function(_89c){var c=this.constraintBox=this.constraints.call(this,_89c);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo._getMarginSize(_89c.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_89d,_89e){var c=this.constraintBox,s=_89d.node.style;this.onMoving(_89d,_89e);_89e.l=_89e.l<c.l?c.l:c.r<_89e.l?c.r:_89e.l;_89e.t=_89e.t<c.t?c.t:c.b<_89e.t?c.b:_89e.t;s.left=_89e.l+"px";s.top=_89e.t+"px";this.onMoved(_89d,_89e);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},constructor:function(node,_89f){var box=_89f&&_89f.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",constructor:function(node,_8a0){var area=_8a0&&_8a0.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;return dojo.dnd.move;});},"url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"topDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" data-dojo-attach-event=\"press:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"containerNode,bottomDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n","dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_8a1,_8a2,_8a3){return _8a1("dijit.form.VerticalSlider",_8a2,{templateString:_8a3,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"url:dijit/form/templates/VerticalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderV\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td data-dojo-attach-point=\"leftDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV\"></td\n\t\t><td class=\"dijitReset dijitSliderDecorationC\" style=\"height:100%;\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" data-dojo-attach-event=\"press:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableV\" style=\"vertical-align:top;\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point=\"containerNode,rightDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></table>\n","dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_8a4,_8a5,_8a6){return _8a4("dijit.form.HorizontalRule",[_8a5,_8a6],{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 _8a7;if(this.count==1){_8a7=this._genHTML(50,0);}else{var i;var _8a8=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_8a7=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_8a7+=this._genHTML(_8a8*i,i);}_8a7+=this._genHTML(100,this.count-1);}else{_8a7=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_8a7+=this._genHTML(100-_8a8*i,i);}_8a7+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_8a7;}});});},"dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_8a9,_8aa){return _8a9("dijit.form.VerticalRule",_8aa,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/HorizontalRuleLabels":function(){define(["dojo/_base/declare","dojo/number","dojo/query","./HorizontalRule"],function(_8ab,_8ac,_8ad,_8ae){return _8ab("dijit.form.HorizontalRuleLabels",_8ae,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><div class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</div></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[ndx]+this._suffix;},getLabels:function(){var _8af=this.labels;if(!_8af.length){_8af=_8ad("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_8af.length&&this.count>1){var _8b0=this.minimum;var inc=(this.maximum-_8b0)/(this.count-1);for(var i=0;i<this.count;i++){_8af.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_8ac.format(_8b0,this.constraints));_8b0+=inc;}}return _8af;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_8b1,_8b2){return _8b1("dijit.form.VerticalRuleLabels",_8b2,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_8b3,_8b4,has,win,_8b5){return _8b3("dijit.form.SimpleTextarea",_8b5,{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){_8b4.add(this.textbox,"dijitTextAreaCols");}},filter:function(_8b6){if(_8b6){_8b6=_8b6.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _8b7=parseInt(this.maxLength);var _8b8=this.textbox.value.replace(/\r/g,"");var _8b9=_8b8.length-_8b7;if(_8b9>0){var _8ba=this.textbox;if(_8ba.selectionStart){var pos=_8ba.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_8b8.substring(0,pos-_8b9-cr)+_8b8.substring(pos-cr);_8ba.setSelectionRange(pos-_8b9,pos-_8b9);}else{if(win.doc.selection){_8ba.focus();var _8bb=win.doc.selection.createRange();_8bb.moveStart("character",-_8b9);_8bb.text="";_8bb.select();}}}}this.inherited(arguments);}});});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_8bc,_8bd,_8be,_8bf){return _8bc("dijit.form.Textarea",[_8bf,_8be],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_8bd.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});});},"dijit/form/_ExpandingTextAreaMixin":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/_base/window"],function(_8c0,_8c1,lang,win){var _8c2;return _8c0("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _8c3=this.textbox;if(_8c2==undefined){var te=_8c1.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,overflow:"hidden",visibility:"hidden",position:"absolute",border:"0px solid black",padding:"0px"}},win.body(),"last");_8c2=te.scrollHeight>=te.clientHeight;win.body().removeChild(te);}this.connect(_8c3,"onscroll","_resizeLater");this.connect(_8c3,"onresize","_resizeLater");this.connect(_8c3,"onfocus","_resizeLater");_8c3.style.overflowY="hidden";this._estimateHeight();this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _8c4=this.textbox;_8c4.style.height="auto";_8c4.rows=(_8c4.value.match(/\n/g)||[]).length+2;},_resizeLater:function(){setTimeout(lang.hitch(this,"resize"),0);},resize:function(){function _8c5(){var _8c6=false;if(_8c7.value===""){_8c7.value=" ";_8c6=true;}var sh=_8c7.scrollHeight;if(_8c6){_8c7.value="";}return sh;};var _8c7=this.textbox;if(_8c7.style.overflowY=="hidden"){_8c7.scrollTop=0;}if(this.resizeTimer){clearTimeout(this.resizeTimer);}this.resizeTimer=null;if(this.busyResizing){return;}this.busyResizing=true;if(_8c5()||_8c7.offsetHeight){var _8c8=_8c7.style.height;if(!(/px/.test(_8c8))){_8c8=_8c5();_8c7.rows=1;_8c7.style.height=_8c8+"px";}var newH=Math.max(parseInt(_8c8)-_8c7.clientHeight,0)+_8c5();var _8c9=newH+"px";if(_8c9!=_8c7.style.height){_8c7.rows=1;_8c7.style.height=_8c9;}if(_8c2){var _8ca=_8c5();_8c7.style.height="auto";if(_8c5()<_8ca){_8c9=newH-_8ca+_8c5()+"px";}_8c7.style.height=_8c9;}_8c7.style.overflowY=_8c5()>_8c7.clientHeight?"auto":"hidden";}else{this._estimateHeight();}this.busyResizing=false;},destroy:function(){if(this.resizeTimer){clearTimeout(this.resizeTimer);}if(this.shrinkTimer){clearTimeout(this.shrinkTimer);}this.inherited(arguments);}});});},"dijit/layout/AccordionContainer":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html"],function(_8cb,_8cc,_8cd,_8ce,fx,dom,_8cf,_8d0,_8d1,_8d2,_8d3,keys,lang,has,_8d4,_8d5,_8d6,_8d7,_8d8,_8d9,_8da,_8db,_8dc,_8dd,_8de){var _8df=_8cd("dijit.layout._AccordionButton",[_8d8,_8da,_8db],{templateString:_8de,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 _8e0=this.id.replace(" ","_");_8cf.set(this.titleTextNode,"id",_8e0+"_title");this.focusNode.setAttribute("aria-labelledby",_8cf.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _8d2.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _8e1=this.getParent();_8e1.selectChild(this.contentWidget,true);_8d5.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_8e2){this._set("selected",_8e2);this.focusNode.setAttribute("aria-expanded",_8e2);this.focusNode.setAttribute("aria-selected",_8e2);this.focusNode.setAttribute("tabIndex",_8e2?"0":"-1");}});var _8e3=_8cd("dijit.layout._AccordionInnerContainer",[_8d8,_8db],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_8d1.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _8e4=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_8e4._buttonWidget=(new cls({contentWidget:_8e4,label:_8e4.title,title:_8e4.tooltip,dir:_8e4.dir,lang:_8e4.lang,textDir:_8e4.textDir,iconClass:_8e4.iconClass,id:_8e4.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_8d1.place("<div class='dijitAccordionChildWrapper' style='display:none'>",this.domNode);_8d1.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _8e5=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_8e6,_8e7){_8e5.set("label",_8e7);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_8e8,_8e9){_8e5.set("title",_8e9);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_8ea,_8eb){_8e5.set("iconClass",_8eb);}))];},_setSelectedAttr:function(_8ec){this._set("selected",_8ec);this.button.set("selected",_8ec);if(_8ec){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_8cc.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_8ed){this.contentWidget.destroyRecursive(_8ed);}});var _8ee=_8cd("dijit.layout.AccordionContainer",_8dc,{duration:_8d6.defaultDuration,buttonWidget:_8df,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){var _8ef=this.selectedChildWidget.containerNode.style;_8ef.display="";_8ef.overflow="auto";this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _8f0=this.selectedChildWidget;if(!_8f0){return;}var _8f1=_8f0._wrapperWidget.domNode,_8f2=_8d2.getMarginExtents(_8f1),_8f3=_8d2.getPadBorderExtents(_8f1),_8f4=_8f0._wrapperWidget.containerNode,_8f5=_8d2.getMarginExtents(_8f4),_8f6=_8d2.getPadBorderExtents(_8f4),_8f7=this._contentBox;var _8f8=0;_8cc.forEach(this.getChildren(),function(_8f9){if(_8f9!=_8f0){_8f8+=_8d2.getMarginSize(_8f9._wrapperWidget.domNode).h;}});this._verticalSpace=_8f7.h-_8f8-_8f2.h-_8f3.h-_8f5.h-_8f6.h-_8f0._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_8f2.w-_8f3.w-_8f5.w-_8f6.w};if(_8f0){_8f0.resize(this._containerContentBox);}},_setupChild:function(_8fa){_8fa._wrapperWidget=_8e3({contentWidget:_8fa,buttonWidget:this.buttonWidget,id:_8fa.id+"_wrapper",dir:_8fa.dir,lang:_8fa.lang,textDir:_8fa.textDir,parent:this});this.inherited(arguments);},addChild:function(_8fb,_8fc){if(this._started){var _8fd=this.containerNode;if(_8fc&&typeof _8fc=="number"){var _8fe=_8d8.prototype.getChildren.call(this);if(_8fe&&_8fe.length>=_8fc){_8fd=_8fe[_8fc-1].domNode;_8fc="after";}}_8d1.place(_8fb.domNode,_8fd,_8fc);if(!_8fb._started){_8fb.startup();}this._setupChild(_8fb);_8d4.publish(this.id+"-addChild",_8fb,_8fc);this.layout();if(!this.selectedChildWidget){this.selectChild(_8fb);}}else{this.inherited(arguments);}},removeChild:function(_8ff){if(_8ff._wrapperWidget){_8d1.place(_8ff.domNode,_8ff._wrapperWidget.domNode,"after");_8ff._wrapperWidget.destroy();delete _8ff._wrapperWidget;}_8d0.remove(_8ff.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _8cc.map(this.inherited(arguments),function(_900){return _900.declaredClass=="dijit.layout._AccordionInnerContainer"?_900.contentWidget:_900;},this);},destroy:function(){if(this._animation){this._animation.stop();}_8cc.forEach(this.getChildren(),function(_901){if(_901._wrapperWidget){_901._wrapperWidget.destroy();}else{_901.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_902){_902._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_903){_903._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_904,_905,_906){if(has("ie")<8){_906=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_904){_904._wrapperWidget.set("selected",true);var d=this._showChild(_904);if(this.doLayout&&_904.resize){_904.resize(this._containerContentBox);}}if(_905){_905._wrapperWidget.set("selected",false);if(!_906){this._hideChild(_905);}}if(_906){var _907=_904._wrapperWidget.containerNode,_908=_905._wrapperWidget.containerNode;var _909=_904._wrapperWidget.containerNode,_90a=_8d2.getMarginExtents(_909),_90b=_8d2.getPadBorderExtents(_909),_90c=_90a.h+_90b.h;_908.style.height=(self._verticalSpace-_90c)+"px";this._animation=new fx.Animation({node:_907,duration:this.duration,curve:[1,this._verticalSpace-_90c-1],onAnimate:function(_90d){_90d=Math.floor(_90d);_907.style.height=_90d+"px";_908.style.height=(self._verticalSpace-_90c-_90d)+"px";},onEnd:function(){delete self._animation;_907.style.height="auto";_905._wrapperWidget.containerNode.style.display="none";_908.style.height="auto";self._hideChild(_905);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_90e){if(this.disabled||e.altKey||!(_90e||e.ctrlKey)){return;}var c=e.charOrCode;if((_90e&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_8ce.stop(e);}else{if((_90e&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_8ce.stop(e);}}}});if(!_8d3.isAsync){_8d7(0,function(){var _90f=["dijit/layout/AccordionPane"];_8cb(_90f);});}_8ee._InnerContainer=_8e3;_8ee._Button=_8df;return _8ee;});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/ready","dojo/topic","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_910,_911,_912,_913,_914,lang,_915,_916,_917,_918,_919){if(!_914.isAsync){_915(0,function(){var _91a=["dijit/layout/StackController"];require(_91a);});}lang.extend(_918,{selected:false,closable:false,iconClass:"dijitNoIcon",showTitle:true});return _912("dijit.layout.StackContainer",_919,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_913.add(this.domNode,"dijitLayoutContainer");this.containerNode.setAttribute("role","tabpanel");},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _91b=this.getChildren();_910.forEach(_91b,this._setupChild,this);if(this.persist){this.selectedChildWidget=_917.byId(_911(this.id+"_selectedChild"));}else{_910.some(_91b,function(_91c){if(_91c.selected){this.selectedChildWidget=_91c;}return _91c.selected;},this);}var _91d=this.selectedChildWidget;if(!_91d&&_91b[0]){_91d=this.selectedChildWidget=_91b[0];_91d.selected=true;}_916.publish(this.id+"-startup",{children:_91b,selected:_91d});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _91e=this.selectedChildWidget;if(_91e){this._showChild(_91e);}}this.inherited(arguments);},_setupChild:function(_91f){this.inherited(arguments);_913.replace(_91f.domNode,"dijitHidden","dijitVisible");_91f.domNode.title="";},addChild:function(_920,_921){this.inherited(arguments);if(this._started){_916.publish(this.id+"-addChild",_920,_921);this.layout();if(!this.selectedChildWidget){this.selectChild(_920);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_916.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _922=this.getChildren();if(_922.length){this.selectChild(_922[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_923){page=_917.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_923);this._set("selectedChildWidget",page);_916.publish(this.id+"-selectChild",page);if(this.persist){_911(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_924,_925){if(_925){this._hideChild(_925);}var d=this._showChild(_924);if(_924.resize){if(this.doLayout){_924.resize(this._containerContentBox||this._contentBox);}else{_924.resize();}}return d;},_adjacent:function(_926){var _927=this.getChildren();var _928=_910.indexOf(_927,this.selectedChildWidget);_928+=_926?1:_927.length-1;return _927[_928%_927.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_916.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _929=this.selectedChildWidget;if(_929&&_929.resize){if(this.doLayout){_929.resize(this._containerContentBox||this._contentBox);}else{_929.resize();}}},_showChild:function(page){var _92a=this.getChildren();page.isFirstChild=(page==_92a[0]);page.isLastChild=(page==_92a[_92a.length-1]);page._set("selected",true);_913.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_913.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _92b=page.onClose(this,page);if(_92b){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_92c){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_910.forEach(this.getChildren(),function(_92d){if(!_92c){this.removeChild(_92d);}_92d.destroyRecursive(_92c);},this);this._descendantsBeingDestroyed=false;}});});},"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","dojo/_base/window","../_WidgetBase","../_Widget","../_TemplatedMixin","./_LayoutWidget","./utils"],function(_92e,_92f,_930,_931,_932,_933,_934,_935,keys,lang,on,_936,win,_937,_938,_939,_93a,_93b){var _93c=_930("dijit.layout._Splitter",[_938,_939],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeypress:_onKeyPress,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_931.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _93d=_92f(this._cookieName);if(_93d){this.child.domNode.style[this.horizontal?"height":"width"]=_93d;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_93e=_933.getMarginBox(this.child.domNode)[dim],_93f=_92e.filter(this.container.getChildren(),function(_940){return _940.region=="center";})[0],_941=_933.getMarginBox(_93f.domNode)[dim];return Math.min(this.child.maxSize,_93e+_941);},_startDrag:function(e){if(!this.cover){this.cover=win.doc.createElement("div");_931.add(this.cover,"dijitSplitterCover");_932.place(this.cover,this.child.domNode,"after");}_931.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_932.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_931.add(this.domNode,"dijitSplitterShadow");_932.place(this.fake,this.domNode,"after");}_931.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_931.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _942=this._factor,_943=this.horizontal,axis=_943?"pageY":"pageX",_944=e[axis],_945=this.domNode.style,dim=_943?"h":"w",_946=_933.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_947=this.region,_948=_947=="top"||_947=="bottom"?"top":"left",_949=parseInt(_945[_948],10),_94a=this._resize,_94b=lang.hitch(this.container,"_layoutChildren",this.child.id),de=win.doc;this._handlers=this._handlers.concat([on(de,_936.move,this._drag=function(e,_94c){var _94d=e[axis]-_944,_94e=_942*_94d+_946,_94f=Math.max(Math.min(_94e,max),min);if(_94a||_94c){_94b(_94f);}_945[_948]=_94d+_949+_942*(_94f-_94e)+"px";}),on(de,"dragstart",_935.stop),on(win.body(),"selectstart",_935.stop),on(de,_936.release,lang.hitch(this,"_stopDrag"))]);_935.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_931.toggle(this.domNode,"dijitSplitterHover",o);_931.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_931.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_932.destroy(this.fake);}_931.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){_92f(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyPress:function(e){this._resize=true;var _950=this.horizontal;var tick=1;switch(e.charOrCode){case _950?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _950?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _951=_933.getMarginSize(this.child.domNode)[_950?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_951,this._computeMaxSize()),this.child.minSize));_935.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _952=_930("dijit.layout._Gutter",[_938,_939],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_931.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _953=_930("dijit.layout.BorderContainer",_93a,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_93c,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_92e.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_954){var _955=_954.region;if(_955){this.inherited(arguments);_931.add(_954.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_955=="leading"){_955=ltr?"left":"right";}if(_955=="trailing"){_955=ltr?"right":"left";}if(_955!="center"&&(_954.splitter||this.gutters)&&!_954._splitterWidget){var _956=_954.splitter?this._splitterClass:_952;if(lang.isString(_956)){_956=lang.getObject(_956);}var _957=new _956({id:_954.id+"_splitter",container:this,child:_954,region:_955,live:this.liveSplitters});_957.isSplitter=true;_954._splitterWidget=_957;_932.place(_957.domNode,_954.domNode,"after");_957.startup();}_954.region=_955;}},layout:function(){this._layoutChildren();},addChild:function(_958,_959){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_95a){var _95b=_95a.region;var _95c=_95a._splitterWidget;if(_95c){_95c.destroy();delete _95a._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_931.remove(_95a.domNode,this.baseClass+"Pane");_934.set(_95a.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_934.set(_95a.domNode,_95b=="top"||_95b=="bottom"?"width":"height","auto");},getChildren:function(){return _92e.filter(this.inherited(arguments),function(_95d){return !_95d.isSplitter;});},getSplitter:function(_95e){return _92e.filter(this.getChildren(),function(_95f){return _95f.region==_95e;})[0]._splitterWidget;},resize:function(_960,_961){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_934.getComputedStyle(node);this.pe=_933.getPadExtents(node,this.cs);this.pe.r=_934.toPixelValue(node,this.cs.paddingRight);this.pe.b=_934.toPixelValue(node,this.cs.paddingBottom);_934.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_962,_963){if(!this._borderBox||!this._borderBox.h){return;}var _964=_92e.map(this.getChildren(),function(_965,idx){return {pane:_965,weight:[_965.region=="center"?Infinity:0,_965.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_965.region)?1:-1),idx]};},this);_964.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});var _966=[];_92e.forEach(_964,function(_967){var pane=_967.pane;_966.push(pane);if(pane._splitterWidget){_966.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};_93b.layoutChildren(this.domNode,dim,_966,_962,_963);},destroyRecursive:function(){_92e.forEach(this.getChildren(),function(_968){var _969=_968._splitterWidget;if(_969){_969.destroy();}delete _968._splitterWidget;});this.inherited(arguments);}});lang.extend(_937,{region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity});_953._Splitter=_93c;_953._Gutter=_952;return _953;});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","../_WidgetBase","./_LayoutWidget","./utils"],function(_96a,lang,_96b,_96c,_96d,_96e){lang.extend(_96c,{layoutAlign:"none"});return _96b("dijit.layout.LayoutContainer",_96d,{baseClass:"dijitLayoutContainer",constructor:function(){_96a.deprecated("dijit.layout.LayoutContainer is deprecated","use BorderContainer instead",2);},layout:function(){_96e.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_96f,_970){this.inherited(arguments);if(this._started){_96e.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_971){this.inherited(arguments);if(this._started){_96e.layoutChildren(this.domNode,this._contentBox,this.getChildren());}}});});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_972,_973,_974){return _974("dijit.layout.LinkPane",[_972,_973],{templateString:"<div class=\"dijitLinkPane\" data-dojo-attach-point=\"containerNode\"></div>",postMixInProperties:function(){if(this.srcNodeRef){this.title+=this.srcNodeRef.innerHTML;}this.inherited(arguments);},_fillContent:function(){}});});},"dijit/layout/SplitContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","../registry","../_WidgetBase","./_LayoutWidget"],function(_975,_976,_977,dom,_978,_979,_97a,_97b,_97c,_97d,lang,on,has,win,_97e,_97f,_980){lang.extend(_97f,{sizeMin:10,sizeShare:10});return _977("dijit.layout.SplitContainer",_980,{constructor:function(){_97d.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 _981=win.doc.createElement("div");this.virtualSizer=_981;_981.style.position="relative";_981.style.zIndex=10;_981.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_981);dom.setSelectable(_981,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;}_975.forEach(this.getChildren(),function(_982,i,_983){this._setupChild(_982);if(i<_983.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_984){this.inherited(arguments);_984.domNode.style.position="absolute";_978.add(_984.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(_985){_985=_985===undefined?this.sizers.length:_985;var _986=win.doc.createElement("div");_986.id=_97e.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_985,0,_986);this.domNode.appendChild(_986);_986.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _987=win.doc.createElement("div");_987.className="thumb";_986.appendChild(_987);this.connect(_986,"onmousedown","_onSizerMouseDown");dom.setSelectable(_986,false);},removeChild:function(_988){if(this.sizers.length){var i=_975.indexOf(this.getChildren(),_988);if(i!=-1){if(i==this.sizers.length){i--;}_979.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_989,_98a){this.inherited(arguments);if(this._started){var _98b=this.getChildren();if(_98b.length>1){this._addSizer(_98a);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _98c=this.getChildren();if(!_98c.length){return;}var _98d=this.isHorizontal?this.paneWidth:this.paneHeight;if(_98c.length>1){_98d-=this.sizerWidth*(_98c.length-1);}var _98e=0;_975.forEach(_98c,function(_98f){_98e+=_98f.sizeShare;});var _990=_98d/_98e;var _991=0;_975.forEach(_98c.slice(0,_98c.length-1),function(_992){var size=Math.round(_990*_992.sizeShare);_992.sizeActual=size;_991+=size;});_98c[_98c.length-1].sizeActual=_98d-_991;this._checkSizes();var pos=0;var size=_98c[0].sizeActual;this._movePanel(_98c[0],pos,size);_98c[0].position=pos;pos+=size;if(!this.sizers){return;}_975.some(_98c.slice(1),function(_993,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_993.sizeActual;this._movePanel(_993,pos,size);_993.position=pos;pos+=size;},this);},_movePanel:function(_994,pos,size){var box;if(this.isHorizontal){_994.domNode.style.left=pos+"px";_994.domNode.style.top=0;box={w:size,h:this.paneHeight};if(_994.resize){_994.resize(box);}else{_97a.setMarginBox(_994.domNode,box);}}else{_994.domNode.style.left=0;_994.domNode.style.top=pos+"px";box={w:this.paneWidth,h:size};if(_994.resize){_994.resize(box);}else{_97a.setMarginBox(_994.domNode,box);}}},_moveSlider:function(_995,pos,size){if(this.isHorizontal){_995.style.left=pos+"px";_995.style.top=0;_97a.setMarginBox(_995,{w:size,h:this.paneHeight});}else{_995.style.left=0;_995.style.top=pos+"px";_97a.setMarginBox(_995,{w:this.paneWidth,h:size});}},_growPane:function(_996,pane){if(_996>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_996){pane.sizeActual=pane.sizeActual-_996;_996=0;}else{_996-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _996;},_checkSizes:function(){var _997=0;var _998=0;var _999=this.getChildren();_975.forEach(_999,function(_99a){_998+=_99a.sizeActual;_997+=_99a.sizeMin;});if(_997<=_998){var _99b=0;_975.forEach(_999,function(_99c){if(_99c.sizeActual<_99c.sizeMin){_99b+=_99c.sizeMin-_99c.sizeActual;_99c.sizeActual=_99c.sizeMin;}});if(_99b>0){var list=this.isDraggingLeft?_999.reverse():_999;_975.forEach(list,function(_99d){_99b=this._growPane(_99b,_99d);},this);}}else{_975.forEach(_999,function(_99e){_99e.sizeActual=Math.round(_998*(_99e.sizeMin/_997));});}},beginSizing:function(e,i){var _99f=this.getChildren();this.paneBefore=_99f[i];this.paneAfter=_99f[i+1];this.isSizing=true;this.sizingSplitter=this.sizers[i];if(!this.cover){this.cover=_979.create("div",{style:{position:"absolute",zIndex:5,top:0,left:0,width:"100%",height:"100%"}},this.domNode);}else{this.cover.style.zIndex=5;}this.sizingSplitter.style.zIndex=6;this.originPos=_97a.position(_99f[0].domNode,true);var _9a0,_9a1;if(this.isHorizontal){_9a0=e.layerX||e.offsetX||0;_9a1=e.pageX;this.originPos=this.originPos.x;}else{_9a0=e.layerY||e.offsetY||0;_9a1=e.pageY;this.originPos=this.originPos.y;}this.startPoint=this.lastPoint=_9a1;this.screenToClientOffset=_9a1-_9a0;this.dragOffset=this.lastPoint-this.paneBefore.sizeActual-this.originPos-this.paneBefore.position;if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[on(win.doc.documentElement,"mousemove",lang.hitch(this,"changeSizing")),on(win.doc.documentElement,"mouseup",lang.hitch(this,"endSizing"))];_97c.stop(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;this.movePoint();if(this.activeSizing){this._updateSize();}else{this._moveSizingLine();}_97c.stop(e);},endSizing:function(){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}this._updateSize();this.isSizing=false;if(this.persist){this._saveState(this);}var h;while(h=this._ownconnects.pop()){h.remove();}},movePoint:function(){var p=this.lastPoint-this.screenToClientOffset;var a=p-this.dragOffset;a=this.legaliseSplitPoint(a);p=a+this.dragOffset;this.lastPoint=p+this.screenToClientOffset;},legaliseSplitPoint:function(a){a+=this.sizingSplitter.position;this.isDraggingLeft=!!(a>0);if(!this.activeSizing){var min=this.paneBefore.position+this.paneBefore.sizeMin;if(a<min){a=min;}var max=this.paneAfter.position+(this.paneAfter.sizeActual-(this.sizerWidth+this.paneAfter.sizeMin));if(a>max){a=max;}}a-=this.sizingSplitter.position;this._checkSizes();return a;},_updateSize:function(){var pos=this.lastPoint-this.dragOffset-this.originPos;var _9a2=this.paneBefore.position;var _9a3=this.paneAfter.position+this.paneAfter.sizeActual;this.paneBefore.sizeActual=pos-_9a2;this.paneAfter.position=pos+this.sizerWidth;this.paneAfter.sizeActual=_9a3-this.paneAfter.position;_975.forEach(this.getChildren(),function(_9a4){_9a4.sizeShare=_9a4.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine();_97a.setMarginBox(this.virtualSizer,this.isHorizontal?{w:this.sizerWidth,h:this.paneHeight}:{w:this.paneWidth,h:this.sizerWidth});this.virtualSizer.style.display="block";},_hideSizingLine:function(){this.virtualSizer.style.display="none";},_moveSizingLine:function(){var pos=(this.lastPoint-this.startPoint)+this.sizingSplitter.position;_97b.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_975.forEach(this.getChildren(),function(_9a5,i){var _9a6=this._getCookieName(i);var _9a7=_976(_9a6);if(_9a7){var pos=parseInt(_9a7);if(typeof pos=="number"){_9a5.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_975.forEach(this.getChildren(),function(_9a8,i){_976(this._getCookieName(i),_9a8.sizeShare,{expires:365});},this);}});});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_9a9,_9aa,_9ab,_9ac){return _9a9("dijit.layout.TabContainer",_9aa,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_9ad){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_9ab=lang.getObject(this.controllerWidget);return new _9ab({id:this.id+"_tablist",dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_9ad);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?"dijit.layout.ScrollingTabController":"dijit.layout.TabController";}}});});},"dijit/layout/_TabContainerBase":function(){define(["dojo/text!./templates/TabContainer.html","./StackContainer","./utils","../_TemplatedMixin","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_9ae,_9af,_9b0,_9b1,_9b2,_9b3,_9b4,_9b5){return _9b2("dijit.layout._TabContainerBase",[_9af,_9b1],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_9ae,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_9b5.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_9b3.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_9b3.add(this.domNode,"dijitTabContainerNested");_9b3.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_9b3.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_9b3.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_9b3.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_9b3.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 _9b6=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_9b6;var _9b7=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_9b6},{domNode:this.containerNode,layoutAlign:"client"}];_9b0.layoutChildren(this.domNode,this._contentBox,_9b7);this._containerContentBox=_9b0.marginBox2contentBox(this.containerNode,_9b7[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _9b8=_9b4.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_9b8});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});});},"url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/i18n","dojo/_base/lang","./StackController","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_9b9,dom,_9ba,_9bb,i18n,lang,_9bc,Menu,_9bd,_9be){var _9bf=_9b9("dijit.layout._TabButton",_9bc.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_9be,scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;setTimeout(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_9bb.toggle(this.innerDiv,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _9c0=i18n.getLocalization("dijit","common");if(this.closeNode){_9ba.set(this.closeNode,"title",_9c0.itemClose);}this._closeMenu=new Menu({id:this.id+"_Menu",dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode]});this._closeMenu.addChild(new _9bd({label:_9c0.itemClose,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:lang.hitch(this,"onClickCloseButton")}));}else{if(this._closeMenu){this._closeMenu.destroyRecursive();delete this._closeMenu;}}},_setLabelAttr:function(_9c1){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},destroy:function(){if(this._closeMenu){this._closeMenu.destroyRecursive();delete this._closeMenu;}this.inherited(arguments);}});var _9c2=_9b9("dijit.layout.TabController",_9bc,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:_9bf,_rectifyRtlTabList:function(){if(0>=this.tabPosition.indexOf("-h")){return;}if(!this.pane2button){return;}var _9c3=0;for(var pane in this.pane2button){var ow=this.pane2button[pane].innerDiv.scrollWidth;_9c3=Math.max(_9c3,ow);}for(pane in this.pane2button){this.pane2button[pane].innerDiv.style.width=_9c3+"px";}}});_9c2.TabButton=_9bf;return _9c2;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/i18n!../nls/common"],function(_9c4,_9c5,_9c6,keys,lang,has,_9c7,_9c8,_9c9,_9ca,_9cb,_9cc){var _9cd=_9c5("dijit.layout._StackButton",_9cc,{tabIndex:"-1",closeButton:false,_setCheckedAttr:function(_9ce,_9cf){this.inherited(arguments);this.focusNode.removeAttribute("aria-pressed");},buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");},onClick:function(){_9c7.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});var _9d0=_9c5("dijit.layout.StackController",[_9c9,_9ca,_9cb],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:_9cd,constructor:function(){this.pane2button={};this.pane2connects={};this.pane2watches={};},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");},onStartup:function(info){_9c4.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_9c8.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_9d1){var cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _9d2=new cls({id:this.id+"_"+page.id,label:page.title,dir:page.dir,lang:page.lang,textDir:page.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip});_9d2.focusNode.setAttribute("aria-selected","false");var _9d3=["title","showTitle","iconClass","closable","tooltip"],_9d4=["label","showLabel","iconClass","closeButton","title"];this.pane2watches[page.id]=_9c4.map(_9d3,function(_9d5,idx){return page.watch(_9d5,function(name,_9d6,_9d7){_9d2.set(_9d4[idx],_9d7);});});this.pane2connects[page.id]=[this.connect(_9d2,"onClick",lang.hitch(this,"onButtonClick",page)),this.connect(_9d2,"onClickCloseButton",lang.hitch(this,"onCloseButtonClick",page))];this.addChild(_9d2,_9d1);this.pane2button[page.id]=_9d2;page.controlButton=_9d2;if(!this._currentChild){_9d2.focusNode.setAttribute("tabIndex","0");_9d2.focusNode.setAttribute("aria-selected","true");this._currentChild=page;}if(!this.isLeftToRight()&&has("ie")&&this._rectifyRtlTabList){this._rectifyRtlTabList();}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}_9c4.forEach(this.pane2connects[page.id],lang.hitch(this,"disconnect"));delete this.pane2connects[page.id];_9c4.forEach(this.pane2watches[page.id],function(w){w.unwatch();});delete this.pane2watches[page.id];var _9d8=this.pane2button[page.id];if(_9d8){this.removeChild(_9d8);delete this.pane2button[page.id];_9d8.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _9d9=this.pane2button[this._currentChild.id];_9d9.set("checked",false);_9d9.focusNode.setAttribute("aria-selected","false");_9d9.focusNode.setAttribute("tabIndex","-1");}var _9da=this.pane2button[page.id];_9da.set("checked",true);_9da.focusNode.setAttribute("aria-selected","true");this._currentChild=page;_9da.focusNode.setAttribute("tabIndex","0");var _9db=_9c8.byId(this.containerId);_9db.containerNode.setAttribute("aria-labelledby",_9da.id);},onButtonClick:function(page){if(this._currentChild.id===page.id){var _9dc=this.pane2button[page.id];_9dc.set("checked",true);}var _9dd=_9c8.byId(this.containerId);_9dd.selectChild(page);},onCloseButtonClick:function(page){var _9de=_9c8.byId(this.containerId);_9de.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_9c7.focus(b.focusNode||b.domNode);}}},adjacent:function(_9df){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_9df=!_9df;}var _9e0=this.getChildren();var _9e1=_9c4.indexOf(_9e0,this.pane2button[this._currentChild.id]);var _9e2=_9df?1:_9e0.length-1;return _9e0[(_9e1+_9e2)%_9e0.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _9e3=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_9e3=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_9e3=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_9e3=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_9e3=true;}break;case keys.HOME:case keys.END:var _9e4=this.getChildren();if(_9e4&&_9e4.length){_9e4[e.charOrCode==keys.HOME?0:_9e4.length-1].onClick();}_9c6.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_9c6.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.adjacent(!e.shiftKey).onClick();_9c6.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_9c6.stop(e);}}}}if(_9e3!==null){this.adjacent(_9e3).onClick();_9c6.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_9d0.StackButton=_9cd;return _9d0;});},"url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode\" data-dojo-attach-event='onclick:onClick'>\n <div role=\"presentation\" class='dijitTabInnerDiv' data-dojo-attach-point='innerDiv'>\n <div role=\"presentation\" class='dijitTabContent' data-dojo-attach-point='tabContent'>\n \t<div role=\"presentation\" data-dojo-attach-point='focusNode'>\n\t\t <img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" data-dojo-attach-point='iconNode' />\n\t\t <span data-dojo-attach-point='containerNode' class='tabLabel'></span>\n\t\t <span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t \t\tdata-dojo-attach-event='onclick: onClickCloseButton' role=\"presentation\">\n\t\t <span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t ></span>\n\t\t\t</div>\n </div>\n </div>\n</div>\n","dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/query","dojo/_base/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom"],function(_9e5,_9e6,_9e7,_9e8,_9e9,fx,lang,_9ea,has,_9eb,_9ec,_9ed,_9ee,_9ef,_9f0,Menu,_9f1,_9f2,_9f3){var _9f4=_9e6("dijit.layout.ScrollingTabController",[_9ee,_9f0],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_9ec,useMenu:true,useSlider:true,tabStripClass:"",widgetsInTemplate:true,_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_9e7.add(n,"tabStrip-disabled");}_9e7.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_9e9.set(this.domNode,"visibility","");this._postStartup=true;},onAddChild:function(page,_9f5){this.inherited(arguments);_9e5.forEach(["label","iconClass"],function(attr){this.pane2watches[page.id].push(this.pane2button[page.id].watch(attr,lang.hitch(this,function(){if(this._postStartup&&this._dim){this.resize(this._dim);}})));},this);_9e9.set(this.containerNode,"width",(_9e9.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_9f6){var _9f7=this.pane2button[page.id];if(this._selectedTab===_9f7.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_9ea("> .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+=_9e8.getMarginSize(btn).w;return true;}else{_9e9.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _9f8=this.getChildren();if(_9f8.length){var _9f9=_9f8[this.isLeftToRight()?0:_9f8.length-1].domNode,_9fa=_9f8[this.isLeftToRight()?_9f8.length-1:0].domNode;return _9fa.offsetLeft+_9e9.get(_9fa,"width")-_9f9.offsetLeft;}else{return 0;}},_enableBtn:function(_9fb){var _9fc=this._getTabsWidth();_9fb=_9fb||_9e9.get(this.scrollNode,"width");return _9fc>0&&_9fb<_9fc;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_9ef.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_9e8.setContentSize(this.domNode,cb);var _9fd=this._enableBtn(this._contentBox.w);this._buttons.style("display",_9fd?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_9ef.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,layoutAlign:"client"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_9e9.get(this.containerNode,"width")-_9e9.get(this.scrollNode,"width")+(has("ie")==8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _9fe=_9e9.get(this.containerNode,"width")-_9e9.get(this.scrollNode,"width");return (has("ie")==8?-1:1)*(val-_9fe);}},onSelectChild:function(page){var tab=this.pane2button[page.id];if(!tab||!page){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_9e9.get(this.scrollNode,"width")<node.offsetLeft+_9e9.get(node,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _9ff=this.getChildren(),_a00=_9e9.get(this.scrollNode,"width"),_a01=_9e9.get(this.containerNode,"width"),_a02=_a01-_a00,_a03=this._getTabsWidth();if(_9ff.length&&_a03>_a00){return {min:this.isLeftToRight()?0:_9ff[_9ff.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_9ff[_9ff.length-1].domNode.offsetLeft+_9e9.get(_9ff[_9ff.length-1].domNode,"width"))-_a00:_a02};}else{var _a04=this.isLeftToRight()?0:_a02;return {min:_a04,max:_a04};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_a05=_9e9.get(this.scrollNode,"width"),_a06=this._getScrollBounds();var pos=(n.offsetLeft+_9e9.get(n,"width")/2)-_a05/2;pos=Math.min(Math.max(pos,_a06.min),_a06.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _a07=this._getScrollBounds();x=Math.min(Math.max(x,_a07.min),_a07.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&&!_9e7.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(_a08,node){if(node&&_9e7.contains(node,"dijitTabDisabled")){return;}var _a09=_9e9.get(this.scrollNode,"width");var d=(_a09*0.75)*_a08;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_a0a){var _a0b=this._getScrollBounds();this._leftBtn.set("disabled",_a0a<=_a0b.min);this._rightBtn.set("disabled",_a0a>=_a0b.max);}});var _a0c=_9e6("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_9ed,tabIndex:"",isFocusable:function(){return false;}});_9e6("dijit.layout._ScrollingTabControllerButton",[_9f2,_a0c]);_9e6("dijit.layout._ScrollingTabControllerMenuButton",[_9f2,_9f3,_a0c],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_a0d){this.dropDown=new Menu({id:this.containerId+"_menu",dir:this.dir,lang:this.lang,textDir:this.textDir});var _a0e=_9eb.byId(this.containerId);_9e5.forEach(_a0e.getChildren(),function(page){var _a0f=new _9f1({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,dir:page.dir,lang:page.lang,textDir:page.textDir,onClick:function(){_a0e.selectChild(page);}});this.dropDown.addChild(_a0f);},this);_a0d();},closeDropDown:function(_a10){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});return _9f4;});},"url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_menuBtn\"\n\t\t\tdata-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t\tdata-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">▼</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_leftBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">◀</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_rightBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">▶</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'\n\t\t\t\tdata-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"onclick:_onClick\">\n\t<div role=\"presentation\" class=\"dijitTabInnerDiv\" data-dojo-attach-point=\"innerDiv,focusNode\">\n\t\t<div role=\"presentation\" class=\"dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"tabContent\">\n\t\t\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n\t\t</div>\n\t</div>\n</div>"}});require(["dojo/i18n"],function(i18n){i18n._preloadLocalizations("dijit/nls/dijit-all",["ar","ca","cs","da","de-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"]);});define("dijit/dijit-all",[".","./dijit","./ColorPalette","./Declaration","./Dialog","./DialogUnderlay","./TooltipDialog","./Editor","./_editor/plugins/FontChoice","./_editor/plugins/LinkDialog","./Menu","./MenuItem","./PopupMenuItem","./CheckedMenuItem","./MenuBar","./MenuBarItem","./PopupMenuBarItem","./MenuSeparator","./ProgressBar","./TitlePane","./Toolbar","./Tooltip","./Tree","./InlineEditBox","./form/Form","./form/Button","./form/DropDownButton","./form/ComboButton","./form/ToggleButton","./form/CheckBox","./form/RadioButton","./form/TextBox","./form/ValidationTextBox","./form/CurrencyTextBox","./form/DateTextBox","./form/TimeTextBox","./form/NumberSpinner","./form/NumberTextBox","./form/ComboBox","./form/FilteringSelect","./form/MultiSelect","./form/Select","./form/HorizontalSlider","./form/VerticalSlider","./form/HorizontalRule","./form/VerticalRule","./form/HorizontalRuleLabels","./form/VerticalRuleLabels","./form/SimpleTextarea","./form/Textarea","./layout/AccordionContainer","./layout/ContentPane","./layout/BorderContainer","./layout/LayoutContainer","./layout/LinkPane","./layout/SplitContainer","./layout/StackContainer","./layout/TabContainer"],function(_a11){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 _a11;});
|