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

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./place","./BackgroundIframe","./main"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,on,_d,_e,_f,_10){function _11(){if(this._popupWrapper){_7.destroy(this._popupWrapper);delete this._popupWrapper;}};var _12=_4(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_13){var _14=_13._popupWrapper,_15=_13.domNode;if(!_14){_14=_7.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},_13.ownerDocumentBody);_14.appendChild(_15);var s=_15.style;s.display="";s.visibility="";s.position="";s.top="0px";_13._popupWrapper=_14;_2.after(_13,"destroy",_11,true);}return _14;},moveOffScreen:function(_16){var _17=this._createWrapper(_16);_9.set(_17,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_18){var _19=this._createWrapper(_18);_9.set(_19,"display","none");},getTopPopup:function(){var _1a=this._stack;for(var pi=_1a.length-1;pi>0&&_1a[pi].parent===_1a[pi-1].widget;pi--){}return _1a[pi];},open:function(_1b){var _1c=this._stack,_1d=_1b.popup,_1e=_1b.orient||["below","below-alt","above","above-alt"],ltr=_1b.parent?_1b.parent.isLeftToRight():_8.isBodyLtr(_1d.ownerDocument),_1f=_1b.around,id=(_1b.around&&_1b.around.id)?(_1b.around.id+"_dropdown"):("popup_"+this._idGen++);while(_1c.length&&(!_1b.parent||!_5.isDescendant(_1b.parent.domNode,_1c[_1c.length-1].widget.domNode))){this.close(_1c[_1c.length-1].widget);}var _20=this._createWrapper(_1d);_6.set(_20,{id:id,style:{zIndex:this._beginZIndex+_1c.length},"class":"dijitPopup "+(_1d.baseClass||_1d["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:_1b.parent?_1b.parent.id:""});if(_d("ie")||_d("mozilla")){if(!_1d.bgIframe){_1d.bgIframe=new _f(_20);}}var _21=_1f?_e.around(_20,_1f,_1e,ltr,_1d.orient?_c.hitch(_1d,"orient"):null):_e.at(_20,_1b,_1e=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_1b.padding);_20.style.display="";_20.style.visibility="visible";_1d.domNode.style.visibility="visible";var _22=[];_22.push(on(_20,_3._keypress,_c.hitch(this,function(evt){if(evt.charOrCode==_b.ESCAPE&&_1b.onCancel){_a.stop(evt);_1b.onCancel();}else{if(evt.charOrCode===_b.TAB){_a.stop(evt);var _23=this.getTopPopup();if(_23&&_23.onCancel){_23.onCancel();}}}})));if(_1d.onCancel&&_1b.onCancel){_22.push(_1d.on("cancel",_1b.onCancel));}_22.push(_1d.on(_1d.onExecute?"execute":"change",_c.hitch(this,function(){var _24=this.getTopPopup();if(_24&&_24.onExecute){_24.onExecute();}})));_1c.push({widget:_1d,parent:_1b.parent,onExecute:_1b.onExecute,onCancel:_1b.onCancel,onClose:_1b.onClose,handlers:_22});if(_1d.onOpen){_1d.onOpen(_21);}return _21;},close:function(_25){var _26=this._stack;while((_25&&_1.some(_26,function(_27){return _27.widget==_25;}))||(!_25&&_26.length)){var top=_26.pop(),_28=top.widget,_29=top.onClose;if(_28.onClose){_28.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_28&&_28.domNode){this.hide(_28);}if(_29){_29();}}}});return (_10.popup=new _12());});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_2a,_2b){var _2c={};_2b.setObject("dojo.string",_2c);_2c.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_2c.pad=function(_2d,_2e,ch,end){if(!ch){ch="0";}var out=String(_2d),pad=_2c.rep(ch,Math.ceil((_2e-out.length)/ch.length));return end?out+pad:pad+out;};_2c.substitute=function(_2f,map,_30,_31){_31=_31||_2a.global;_30=_30?_2b.hitch(_31,_30):function(v){return v;};return _2f.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_32,key,_33){var _34=_2b.getObject(key,false,map);if(_33){_34=_2b.getObject(_33,false,_31).call(_31,_34,key);}return _30(_34,key).toString();});};_2c.trim=String.prototype.trim?_2b.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _2c;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/sniff","./main"],function(_35,_36,_37,dom,_38,_39,has,_3a){var _3b=(_3a._isElementShown=function(_3c){var s=_39.get(_3c);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_38.get(_3c,"type")!="hidden");});_3a.hasDefaultTabStop=function(_3d){switch(_3d.nodeName.toLowerCase()){case "a":return _38.has(_3d,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _3e;try{var _3f=_3d.contentDocument;if("designMode" in _3f&&_3f.designMode=="on"){return true;}_3e=_3f.body;}catch(e1){try{_3e=_3d.contentWindow.document.body;}catch(e2){return false;}}return _3e&&(_3e.contentEditable=="true"||(_3e.firstChild&&_3e.firstChild.contentEditable=="true"));default:return _3d.contentEditable=="true";}};var _40=(_3a.isTabNavigable=function(_41){if(_38.get(_41,"disabled")){return false;}else{if(_38.has(_41,"tabIndex")){return _38.get(_41,"tabIndex")>=0;}else{return _3a.hasDefaultTabStop(_41);}}});_3a._getTabNavigable=function(_42){var _43,_44,_45,_46,_47,_48,_49={};function _4a(_4b){return _4b&&_4b.tagName.toLowerCase()=="input"&&_4b.type&&_4b.type.toLowerCase()=="radio"&&_4b.name&&_4b.name.toLowerCase();};var _4c=function(_4d){for(var _4e=_4d.firstChild;_4e;_4e=_4e.nextSibling){if(_4e.nodeType!=1||(has("ie")<=9&&_4e.scopeName!=="HTML")||!_3b(_4e)){continue;}if(_40(_4e)){var _4f=+_38.get(_4e,"tabIndex");if(!_38.has(_4e,"tabIndex")||_4f==0){if(!_43){_43=_4e;}_44=_4e;}else{if(_4f>0){if(!_45||_4f<_46){_46=_4f;_45=_4e;}if(!_47||_4f>=_48){_48=_4f;_47=_4e;}}}var rn=_4a(_4e);if(_38.get(_4e,"checked")&&rn){_49[rn]=_4e;}}if(_4e.nodeName.toUpperCase()!="SELECT"){_4c(_4e);}}};if(_3b(_42)){_4c(_42);}function rs(_50){return _49[_4a(_50)]||_50;};return {first:rs(_43),last:rs(_44),lowest:rs(_45),highest:rs(_47)};};_3a.getFirstInTabbingOrder=function(_51,doc){var _52=_3a._getTabNavigable(dom.byId(_51,doc));return _52.lowest?_52.lowest:_52.first;};_3a.getLastInTabbingOrder=function(_53,doc){var _54=_3a._getTabNavigable(dom.byId(_53,doc));return _54.last?_54.last:_54.highest;};return {hasDefaultTabStop:_3a.hasDefaultTabStop,isTabNavigable:_3a.isTabNavigable,_getTabNavigable:_3a._getTabNavigable,getFirstInTabbingOrder:_3a.getFirstInTabbingOrder,getLastInTabbingOrder:_3a.getLastInTabbingOrder};});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_55,_56,_57,_58){var _59=_56("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5a){if(this._hash[_5a.id]){throw new Error("Tried to register widget with id=="+_5a.id+" but that id is already registered");}this._hash[_5a.id]=_5a;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_5b,_5c){_5c=_5c||_57.global;var i=0,id;for(id in this._hash){_5b.call(_5c,this._hash[id],i++,this._hash);}return this;},filter:function(_5d,_5e){_5e=_5e||_57.global;var res=new _59(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_5d.call(_5e,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _59(),id,_5f;for(id in this._hash){_5f=this._hash[id];if(_5f.declaredClass==cls){res.add(_5f);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_60,_61){return _55.map(this.toArray(),_60,_61);},every:function(_62,_63){_63=_63||_57.global;var x=0,i;for(i in this._hash){if(!_62.call(_63,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_64,_65){_65=_65||_57.global;var x=0,i;for(i in this._hash){if(_64.call(_65,this._hash[i],x++,this._hash)){return true;}}return false;}});_55.forEach(["forEach","filter","byClass","map","every","some"],function(_66){_58[_66]=_59.prototype[_66];});return _59;});},"dijit/_base/wai":function(){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_67,_68,_69){var _6a={hasWaiRole:function(_6b,_6c){var _6d=this.getWaiRole(_6b);return _6c?(_6d.indexOf(_6c)>-1):(_6d.length>0);},getWaiRole:function(_6e){return _68.trim((_67.get(_6e,"role")||"").replace("wairole:",""));},setWaiRole:function(_6f,_70){_67.set(_6f,"role",_70);},removeWaiRole:function(_71,_72){var _73=_67.get(_71,"role");if(!_73){return;}if(_72){var t=_68.trim((" "+_73+" ").replace(" "+_72+" "," "));_67.set(_71,"role",t);}else{_71.removeAttribute("role");}},hasWaiState:function(_74,_75){return _74.hasAttribute?_74.hasAttribute("aria-"+_75):!!_74.getAttribute("aria-"+_75);},getWaiState:function(_76,_77){return _76.getAttribute("aria-"+_77)||"";},setWaiState:function(_78,_79,_7a){_78.setAttribute("aria-"+_79,_7a);},removeWaiState:function(_7b,_7c){_7b.removeAttribute("aria-"+_7c);}};_68.mixin(_69,_6a);return _69;});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_7d,on,_7e,has,win,_7f){var _80=new _7d();_7e(200,function(){var _81=_7f.getBox();_80._rlh=on(win.global,"resize",function(){var _82=_7f.getBox();if(_81.h==_82.h&&_81.w==_82.w){return;}_81=_82;_80.emit("resize");});if(has("ie")==8){var _83=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_83){_83=screen.deviceXDPI;_80.emit("resize");}},500);}});return _80;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./ready","./_base/window"],function(_84,_85,_86,_87,has,_88,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_85.blankGif||_84.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_87.getComputedStyle(div),_89=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_89&&(_89=="none"||_89=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_88(90,function(){if(has("highcontrast")){_86.add(win.body(),"dj_a11y");}});return has;});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","./registry"],function(_8a,_8b,_8c,_8d,_8e,_8f,dom,_90,_91,_92,_93,_94,has,_95,_96,on,_97,_98,_99,win,_9a,_9b){has.add("dijit-legacy-requires",!_95.isAsync);if(has("dijit-legacy-requires")){_97(0,function(){var _9c=["dijit/_base/manager"];_8a(_9c);});}var _9d={};function _9e(obj){var ret={};for(var _9f in obj){ret[_9f.toLowerCase()]=true;}return ret;};function _a0(_a1){return function(val){_90[val?"set":"remove"](this.domNode,_a1,val);this._set(_a1,val);};};return _8f("dijit._WidgetBase",[_98,_9a],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_a0("lang"),dir:"",_setDirAttr:_a0("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_8d.blankGif||_8a.toUrl("dojo/resources/blank.gif"),postscript:function(_a2,_a3){this.create(_a2,_a3);},create:function(_a4,_a5){this.srcNodeRef=dom.byId(_a5);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_a4){this.params=_a4;_96.mixin(this,_a4);}this.postMixInProperties();if(!this.id){this.id=_9b.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:win.doc);this.ownerDocumentBody=win.body(this.ownerDocument);_9b.add(this);this.buildRendering();var _a6;if(this.domNode){this._applyAttributes();var _a7=this.srcNodeRef;if(_a7&&_a7.parentNode&&this.domNode!==_a7){_a7.parentNode.replaceChild(this.domNode,_a7);_a6=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_a6){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _a8=this.constructor,_a9=_a8._setterAttrs;if(!_a9){_a9=(_a8._setterAttrs=[]);for(var _aa in this.attributeMap){_a9.push(_aa);}var _ab=_a8.prototype;for(var _ac in _ab){if(_ac in this.attributeMap){continue;}var _ad="_set"+_ac.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_ad in _ab){_a9.push(_ac);}}}var _ae={};for(var key in this.params||{}){_ae[key]=this[key];}_8b.forEach(_a9,function(_af){if(_af in _ae){}else{if(this[_af]){this.set(_af,this[_af]);}}},this);for(key in _ae){this.set(key,_ae[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _b0=this.baseClass.split(" ");if(!this.isLeftToRight()){_b0=_b0.concat(_8b.map(_b0,function(_b1){return _b1+"Rtl";}));}_91.add(this.domNode,_b0);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_8b.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_96.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_b2){this._beingDestroyed=true;this.destroyDescendants(_b2);this.destroy(_b2);},destroy:function(_b3){this._beingDestroyed=true;this.uninitialize();function _b4(w){if(w.destroyRecursive){w.destroyRecursive(_b3);}else{if(w.destroy){w.destroy(_b3);}}};_8b.forEach(this._connects,_96.hitch(this,"disconnect"));_8b.forEach(this._supportingWidgets,_b4);if(this.domNode){_8b.forEach(_9b.findWidgets(this.domNode,this.containerNode),_b4);}this.destroyRendering(_b3);_9b.remove(this.id);this._destroyed=true;},destroyRendering:function(_b5){if(this.bgIframe){this.bgIframe.destroy(_b5);delete this.bgIframe;}if(this.domNode){if(_b5){_90.remove(this.domNode,"widgetId");}else{_92.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_b5){_92.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_b6){_8b.forEach(this.getChildren(),function(_b7){if(_b7.destroyRecursive){_b7.destroyRecursive(_b6);}});},uninitialize:function(){return false;},_setStyleAttr:function(_b8){var _b9=this.domNode;if(_96.isObject(_b8)){_94.set(_b9,_b8);}else{if(_b9.style.cssText){_b9.style.cssText+="; "+_b8;}else{_b9.style.cssText=_b8;}}this._set("style",_b8);},_attrToDom:function(_ba,_bb,_bc){_bc=arguments.length>=3?_bc:this.attributeMap[_ba];_8b.forEach(_96.isArray(_bc)?_bc:[_bc],function(_bd){var _be=this[_bd.node||_bd||"domNode"];var _bf=_bd.type||"attribute";switch(_bf){case "attribute":if(_96.isFunction(_bb)){_bb=_96.hitch(this,_bb);}var _c0=_bd.attribute?_bd.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_ba)?_ba.toLowerCase():_ba);if(_be.tagName){_90.set(_be,_c0,_bb);}else{_be.set(_c0,_bb);}break;case "innerText":_be.innerHTML="";_be.appendChild(this.ownerDocument.createTextNode(_bb));break;case "innerHTML":_be.innerHTML=_bb;break;case "class":_91.replace(_be,_bb,this[_ba]);break;}},this);},get:function(_c1){var _c2=this._getAttrNames(_c1);return this[_c2.g]?this[_c2.g]():this[_c1];},set:function(_c3,_c4){if(typeof _c3==="object"){for(var x in _c3){this.set(x,_c3[x]);}return this;}var _c5=this._getAttrNames(_c3),_c6=this[_c5.s];if(_96.isFunction(_c6)){var _c7=_c6.apply(this,Array.prototype.slice.call(arguments,1));}else{var _c8=this.focusNode&&!_96.isFunction(this.focusNode)?"focusNode":"domNode",_c9,map,tag;tag=this[_c8]&&this[_c8].tagName;if(tag){_c9=_9d[tag]||(_9d[tag]=_9e(this[_c8]));}map=_c3 in this.attributeMap?this.attributeMap[_c3]:_c5.s in this?this[_c5.s]:((_c9&&_c5.l in _c9&&typeof _c4!="function")||/^aria-|^data-|^role$/.test(_c3))?_c8:null;if(map!=null){this._attrToDom(_c3,_c4,map);}this._set(_c3,_c4);}return _c7||this;},_attrPairNames:{},_getAttrNames:function(_ca){var apn=this._attrPairNames;if(apn[_ca]){return apn[_ca];}var uc=_ca.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[_ca]={n:_ca+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(_cb,_cc){var _cd=this[_cb];this[_cb]=_cc;if(this._created&&_cc!==_cd){if(this._watchCallbacks){this._watchCallbacks(_cb,_cd,_cc);}this.emit("attrmodified-"+_cb,{detail:{prevValue:_cd,newValue:_cc}});}},emit:function(_ce,_cf,_d0){_cf=_cf||{};if(_cf.bubbles===undefined){_cf.bubbles=true;}if(_cf.cancelable===undefined){_cf.cancelable=true;}if(!_cf.detail){_cf.detail={};}_cf.detail.widget=this;var ret,_d1=this["on"+_ce];if(_d1){ret=_d1.apply(this,_d0?_d0:[_cf]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,_ce.toLowerCase(),_cf);}return ret;},on:function(_d2,_d3){var _d4=this._onMap(_d2);if(_d4){return _8c.after(this,_d4,_d3,true);}return this.own(on(this.domNode,_d2,_d3))[0];},_onMap:function(_d5){var _d6=this.constructor,map=_d6._onMap;if(!map){map=(_d6._onMap={});for(var _d7 in _d6.prototype){if(/^on/.test(_d7)){map[_d7.replace(/^on/,"").toLowerCase()]=_d7;}}}return map[typeof _d5=="string"&&_d5.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_9b.findWidgets(this.containerNode):[];},getParent:function(){return _9b.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_d8,_d9){return this.own(_8e.connect(obj,_d8,this,_d9))[0];},disconnect:function(_da){_da.remove();},subscribe:function(t,_db){return this.own(_99.subscribe(t,_96.hitch(this,_db)))[0];},unsubscribe:function(_dc){_dc.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_93.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_94.get(this.domNode,"display")!="none");},placeAt:function(_dd,_de){var _df=!_dd.tagName&&_9b.byId(_dd);if(_df&&_df.addChild&&(!_de||typeof _de==="number")){_df.addChild(this,_de);}else{var ref=_df?(_df.containerNode&&!/after|before|replace/.test(_de||"")?_df.containerNode:_df.domNode):dom.byId(_dd,this.ownerDocument);_92.place(this.domNode,ref,_de);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(_e0,_e1){return _e1;},applyTextDir:function(){},defer:function(fcn,_e2){var _e3=setTimeout(_96.hitch(this,function(){_e3=null;if(!this._destroyed){_96.hitch(this,fcn)();}}),_e2||0);return {remove:function(){if(_e3){clearTimeout(_e3);_e3=null;}return null;}};}});});},"dijit/_base":function(){define("dijit/_base",["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_e4){return _e4._base;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_e5,_e6,dom,_e7,on,has,_e8,_e9,win){var _ea=navigator.msPointerEnabled;var _eb;function _ec(_ed,_ee,_ef){if(_ea&&_ef){return function(_f0,_f1){return on(_f0,_ef,_f1);};}else{if(has("touch")){return function(_f2,_f3){var _f4=on(_f2,_ee,_f3),_f5=on(_f2,_ed,function(evt){if(!_eb||(new Date()).getTime()>_eb+1000){_f3.call(this,evt);}});return {remove:function(){_f4.remove();_f5.remove();}};};}else{return function(_f6,_f7){return on(_f6,_ed,_f7);};}}};var _f8,_f9,_fa;if(has("touch")&&!_ea){_e9(function(){_fa=win.body();win.doc.addEventListener("touchstart",function(_fb){_eb=(new Date()).getTime();var _fc=_fa;_fa=_fb.target;if(_fa.dojoElementFromPoint){_fa=_fa.dojoElementFromPoint(_fb.changedTouches[0].clientX,_fb.changedTouches[0].clientY);}if(_fc){on.emit(_fc,"dojotouchout",{target:_fc,relatedTarget:_fa,bubbles:true});}if(_fa){on.emit(_fa,"dojotouchover",{target:_fa,relatedTarget:_fc,bubbles:true});}},true);on(win.doc,"touchmove",function(_fd){_eb=(new Date()).getTime();_f9=_fd;var _fe=win.doc.elementFromPoint(_fd.clientX,_fd.clientY);if(_fe){var _ff=_fe;if(_fe.dojoElementFromPoint){_fe=_fe.dojoElementFromPoint(_fd.clientX,_fd.clientY);}if(_fa!==_fe){if(_fa){on.emit(_ff,"dojotouchout",{target:_fa,relatedTarget:_fe,bubbles:true});}if(_fe){on.emit(_ff,"dojotouchover",{target:_fe,relatedTarget:_fa,bubbles:true});}_fa=_fe;}on.emit(_ff,"dojotouchmove",{target:_fe,bubbles:true});}});on(win.doc,"touchend",function(_100){var node=win.doc.elementFromPoint(_100.clientX,_100.clientY);var _101=node;if(node.dojoElementFromPoint){node=node.dojoElementFromPoint(_100.clientX,_100.clientY);}if(node){on.emit(_101,"dojotouchend",_e7.delegate(_100,{target:node,bubbles:true}));}});});_f8=function(node,_102){return on(node,"dojotouchmove",function(_103){_102(_e7.delegate(_f9,{target:_103.target,preventDefault:function(){_f9.preventDefault();},stopPropagation:function(){_103.stopPropagation();}}));});};}var _104={press:_ec("mousedown","touchstart","MSPointerDown"),move:_ec("mousemove",_f8,"MSPointerMove"),release:_ec("mouseup","dojotouchend","MSPointerUp"),cancel:_ec(_e8.leave,"touchcancel",has("touch")?"MSPointerCancel":null),over:_ec("mouseover","dojotouchover","MSPointerOver"),out:_ec("mouseout","dojotouchout","MSPointerOut"),enter:_e8._eventHandler(_ec("mouseover","dojotouchover","MSPointerOver")),leave:_e8._eventHandler(_ec("mouseout","dojotouchout","MSPointerOut"))};1&&(_e5.touch=_104);return _104;});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(_105,_106,keys,has,_107){return _105("dijit.form._FormValueMixin",_107,{readOnly:false,_setReadOnlyAttr:function(_108){_106.set(this.focusNode,"readOnly",_108);this._set("readOnly",_108);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_109,_10a){this._handleOnChange(_109,_10a);},_handleOnChange:function(_10b,_10c){this._set("value",_10b);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();var node=e.srcElement,te=node.ownerDocument.createEventObject();te.keyCode=keys.ESCAPE;te.shiftKey=e.shiftKey;node.fireEvent("onkeypress",te);}}}});});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","dojo/when"],function(_10d,lang,_10e,when){return _10d("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_10f){if(_10f){this.set(_10f);}},_get:function(name,_110){return typeof this[_110.g]==="function"?this[_110.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_111){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _112=this._getAttrNames(name),_113=this._get(name,_112),_114=this[_112.s],_115;if(typeof _114==="function"){_115=_114.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_111;}if(this._watchCallbacks){var self=this;when(_115,function(){self._watchCallbacks(name,_113,_111);});}return this;},_changeAttrValue:function(name,_116){var _117=this.get(name);this[name]=_116;if(this._watchCallbacks){this._watchCallbacks(name,_117,_116);}return this;},watch:function(name,_118){var _119=this._watchCallbacks;if(!_119){var self=this;_119=this._watchCallbacks=function(name,_11a,_11b,_11c){var _11d=function(_11e){if(_11e){_11e=_11e.slice();for(var i=0,l=_11e.length;i<l;i++){_11e[i].call(self,name,_11a,_11b);}}};_11d(_119["_"+name]);if(!_11c){_11d(_119["*"]);}};}if(!_118&&typeof name==="function"){_118=name;name="*";}else{name="_"+name;}var _11f=_119[name];if(typeof _11f!=="object"){_11f=_119[name]=[];}_11f.push(_118);var _120={};_120.unwatch=_120.remove=function(){var _121=_10e.indexOf(_11f,_118);if(_121>-1){_11f.splice(_121,1);}};return _120;}});});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/window","./registry"],function(_122,_123,dom,_124,has,lang,on,_125,win,_126){var _127=_123("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_122.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_128){if(!this.disabled){switch(_128.type){case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":this._set("active",true);break;case "mouseup":case "touchend":this._set("active",false);break;}}},_setStateClass:function(){var _129=this.baseClass.split(" ");function _12a(_12b){_129=_129.concat(_122.map(_129,function(c){return c+_12b;}),"dijit"+_12b);};if(!this.isLeftToRight()){_12a("Rtl");}var _12c=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_12a(_12c);}if(this.state){_12a(this.state);}if(this.selected){_12a("Selected");}if(this._opened){_12a("Opened");}if(this.disabled){_12a("Disabled");}else{if(this.readOnly){_12a("ReadOnly");}else{if(this.active){_12a("Active");}else{if(this.hovering){_12a("Hover");}}}}if(this.focused){_12a("Focused");}var tn=this.stateNode||this.domNode,_12d={};_122.forEach(tn.className.split(" "),function(c){_12d[c]=true;});if("_stateClasses" in this){_122.forEach(this._stateClasses,function(c){delete _12d[c];});}_122.forEach(_129,function(c){_12d[c]=true;});var _12e=[];for(var c in _12d){_12e.push(c);}tn.className=_12e.join(" ");this._stateClasses=_129;},_subnodeCssMouseEvent:function(node,_12f,evt){if(this.disabled||this.readOnly){return;}function _130(_131){_124.toggle(node,_12f+"Hover",_131);};function _132(_133){_124.toggle(node,_12f+"Active",_133);};function _134(_135){_124.toggle(node,_12f+"Focused",_135);};switch(evt.type){case "mouseover":_130(true);break;case "mouseout":_130(false);_132(false);break;case "mousedown":case "touchstart":_132(true);break;case "mouseup":case "touchend":_132(false);break;case "focus":case "focusin":_134(true);break;case "blur":case "focusout":_134(false);break;}},_trackMouseState:function(node,_136){node._cssState=_136;}});_125(function(){function _137(evt){if(!dom.isDescendant(evt.relatedTarget,evt.target)){for(var node=evt.target;node&&node!=evt.relatedTarget;node=node.parentNode){if(node._cssState){var _138=_126.getEnclosingWidget(node);if(_138){if(node==_138.domNode){_138._cssMouseEvent(evt);}else{_138._subnodeCssMouseEvent(node,node._cssState,evt);}}}}}};function _139(evt){evt.target=evt.srcElement;_137(evt);};var body=win.body(),_13a=(has("touch")?[]:["mouseover","mouseout"]).concat(["mousedown","touchstart","mouseup","touchend"]);_122.forEach(_13a,function(type){if(body.addEventListener){body.addEventListener(type,_137,true);}else{body.attachEvent("on"+type,_139);}});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _13b=_126.getEnclosingWidget(node);_13b._subnodeCssMouseEvent(node,node._cssState,evt);}});});return _127;});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_13c,_13d,lang,_13e,_13f){var _140={};_13c.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_140[name]=_13e[name];});lang.mixin(_140,{defaultDuration:_13d["defaultDuration"]||200});lang.mixin(_13f,_140);return _13f;});},"dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_141,_142,_143,_144,_145,lang,on,has,win){var _146=new function(){var _147=[];this.pop=function(){var _148;if(_147.length){_148=_147.pop();_148.style.display="";}else{if(has("ie")<9){var burl=_143["dojoBlankHtmlUrl"]||_141.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_148=win.doc.createElement(html);}else{_148=_144.create("iframe");_148.src="javascript:\"\"";_148.className="dijitBackgroundIframe";_148.setAttribute("role","presentation");_145.set(_148,"opacity",0.1);}_148.tabIndex=-1;}return _148;};this.push=function(_149){_149.style.display="none";_147.push(_149);};}();_142.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _14a=(this.iframe=_146.pop());node.appendChild(_14a);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_145.set(_14a,{width:"100%",height:"100%"});}}};lang.extend(_142.BackgroundIframe,{resize:function(node){if(this.iframe){_145.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_146.push(this.iframe);delete this.iframe;}}});return _142.BackgroundIframe;});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_14b,_14c,_14d,_14e,lang,on,has,_14f){var _150=(_14f.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_151,node,_152,obj,_153,_154,_155){if(obj!=this._obj){this.stop();this._initialDelay=_154||500;this._subsequentDelay=_153||0.9;this._minDelay=_155||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_151,_152);this._evt={faux:true};for(var attr in evt){if(attr!="layerX"&&attr!="layerY"){var v=evt[attr];if(typeof v!="function"&&typeof v!="undefined"){this._evt[attr]=v;}}}this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_156,_157,_158,_159,_15a,_15b){if(_156.keyCode){_156.charOrCode=_156.keyCode;_14e.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_156.charCode){_156.charOrCode=String.fromCharCode(_156.charCode);_14e.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _15c=[on(node,_14c._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_156.charOrCode&&(_156.ctrlKey===undefined||_156.ctrlKey==evt.ctrlKey)&&(_156.altKey===undefined||_156.altKey==evt.altKey)&&(_156.metaKey===undefined||_156.metaKey==(evt.metaKey||false))&&(_156.shiftKey===undefined||_156.shiftKey==evt.shiftKey)){_14d.stop(evt);_150.trigger(evt,_157,node,_158,_156,_159,_15a,_15b);}else{if(_150._obj==_156){_150.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_150._obj==_156){_150.stop();}}))];return {remove:function(){_14b.forEach(_15c,function(h){h.remove();});}};},addMouseListener:function(node,_15d,_15e,_15f,_160,_161){var _162=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_150.trigger(evt,_15d,node,_15e,node,_15f,_160,_161);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_150.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_150.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_150.trigger(evt,_15d,node,_15e,node,_15f,_160,_161);setTimeout(lang.hitch(this,_150.stop),50);}}))];return {remove:function(){_14b.forEach(_162,function(h){h.remove();});}};},addListener:function(_163,_164,_165,_166,_167,_168,_169,_16a){var _16b=[this.addKeyListener(_164,_165,_166,_167,_168,_169,_16a),this.addMouseListener(_163,_166,_167,_168,_169,_16a)];return {remove:function(){_14b.forEach(_16b,function(h){h.remove();});}};}});return _150;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_16c=function(){var n=null,_16d=arguments,uri=[_16d[0]];for(var i=1;i<_16d.length;i++){if(!_16d[i]){continue;}var _16e=new _16c(_16d[i]+""),_16f=new _16c(uri[0]+"");if(_16e.path==""&&!_16e.scheme&&!_16e.authority&&!_16e.query){if(_16e.fragment!=n){_16f.fragment=_16e.fragment;}_16e=_16f;}else{if(!_16e.scheme){_16e.scheme=_16f.scheme;if(!_16e.authority){_16e.authority=_16f.authority;if(_16e.path.charAt(0)!="/"){var path=_16f.path.substring(0,_16f.path.lastIndexOf("/")+1)+_16e.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_16e.path=segs.join("/");}}}}uri=[];if(_16e.scheme){uri.push(_16e.scheme,":");}if(_16e.authority){uri.push("//",_16e.authority);}uri.push(_16e.path);if(_16e.query){uri.push("?",_16e.query);}if(_16e.fragment){uri.push("#",_16e.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_16c.prototype.toString=function(){return this.uri;};return dojo._Url=_16c;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_170){var _171={};lang.setObject("dojo.date.stamp",_171);_171.fromISOString=function(_172,_173){if(!_171._isoRegExp){_171._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _174=_171._isoRegExp.exec(_172),_175=null;if(_174){_174.shift();if(_174[1]){_174[1]--;}if(_174[6]){_174[6]*=1000;}if(_173){_173=new Date(_173);_170.forEach(_170.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _173["get"+prop]();}),function(_176,_177){_174[_177]=_174[_177]||_176;});}_175=new Date(_174[0]||1970,_174[1]||0,_174[2]||1,_174[3]||0,_174[4]||0,_174[5]||0,_174[6]||0);if(_174[0]<100){_175.setFullYear(_174[0]||1970);}var _178=0,_179=_174[7]&&_174[7].charAt(0);if(_179!="Z"){_178=((_174[8]||0)*60)+(Number(_174[9])||0);if(_179!="-"){_178*=-1;}}if(_179){_178-=_175.getTimezoneOffset();}if(_178){_175.setTime(_175.getTime()+_178*60000);}}return _175;};_171.toISOString=function(_17a,_17b){var _17c=function(n){return (n<10)?"0"+n:n;};_17b=_17b||{};var _17d=[],_17e=_17b.zulu?"getUTC":"get",date="";if(_17b.selector!="time"){var year=_17a[_17e+"FullYear"]();date=["0000".substr((year+"").length)+year,_17c(_17a[_17e+"Month"]()+1),_17c(_17a[_17e+"Date"]())].join("-");}_17d.push(date);if(_17b.selector!="date"){var time=[_17c(_17a[_17e+"Hours"]()),_17c(_17a[_17e+"Minutes"]()),_17c(_17a[_17e+"Seconds"]())].join(":");var _17f=_17a[_17e+"Milliseconds"]();if(_17b.milliseconds){time+="."+(_17f<100?"0":"")+_17c(_17f);}if(_17b.zulu){time+="Z";}else{if(_17b.selector!="time"){var _180=_17a.getTimezoneOffset();var _181=Math.abs(_180);time+=(_180>0?"-":"+")+_17c(Math.floor(_181/60))+":"+_17c(_181%60);}}_17d.push(time);}return _17d.join("T");};return _171;});},"dijit/_base/place":function(){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_182,lang,_183,_184,_185){var _186={};_186.getViewport=function(){return _183.getBox();};_186.placeOnScreen=_184.at;_186.placeOnScreenAroundElement=function(node,_187,_188,_189){var _18a;if(lang.isArray(_188)){_18a=_188;}else{_18a=[];for(var key in _188){_18a.push({aroundCorner:key,corner:_188[key]});}}return _184.around(node,_187,_18a,true,_189);};_186.placeOnScreenAroundNode=_186.placeOnScreenAroundElement;_186.placeOnScreenAroundRectangle=_186.placeOnScreenAroundElement;_186.getPopupAroundAlignment=function(_18b,_18c){var _18d={};_182.forEach(_18b,function(pos){var ltr=_18c;switch(pos){case "after":_18d[_18c?"BR":"BL"]=_18c?"BL":"BR";break;case "before":_18d[_18c?"BL":"BR"]=_18c?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_18d[ltr?"BL":"BR"]=ltr?"TL":"TR";_18d[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_18d[ltr?"TL":"TR"]=ltr?"BL":"BR";_18d[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _18d;};lang.mixin(_185,_186);return _185;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_18e,has,_18f,win,_190){var _191={},hash={};var _192={length:0,add:function(_193){if(hash[_193.id]){throw new Error("Tried to register widget with id=="+_193.id+" but that id is already registered");}hash[_193.id]=_193;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_194){var id;do{id=_194+"_"+(_194 in _191?++_191[_194]:_191[_194]=0);}while(hash[id]);return _190._scopeName=="dijit"?id:_190._scopeName+"_"+id;},findWidgets:function(root,_195){var _196=[];function _197(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _198=node.getAttribute("widgetId");if(_198){var _199=hash[_198];if(_199){_196.push(_199);}}else{if(node!==_195){_197(node);}}}}};_197(root);return _196;},_destroyAll:function(){_190._curFocus=null;_190._prevFocus=null;_190._activeStack=[];_18e.forEach(_192.findWidgets(win.body()),function(_19a){if(!_19a._destroyed){if(_19a.destroyRecursive){_19a.destroyRecursive();}else{if(_19a.destroy){_19a.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_190.registry=_192;return _192;});},"dijit/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/sniff","dojo/window","../a11y"],function(_19b,_19c,_19d,_19e,lang,_19f,has,_1a0,a11y){return _19c("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_1a1){this._set("disabled",_1a1);_19d.set(this.focusNode,"disabled",_1a1);if(this.valueNode){_19d.set(this.valueNode,"disabled",_1a1);}this.focusNode.setAttribute("aria-disabled",_1a1?"true":"false");if(_1a1){this._set("hovering",false);this._set("active",false);var _1a2="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_19b.forEach(lang.isArray(_1a2)?_1a2:[_1a2],function(_1a3){var node=this[_1a3];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _1a4=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_1a5);this.disconnect(_1a4);});var _1a5=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(_1a5);this.disconnect(_1a4);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_1a0.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_19e.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_1a6,_1a7){if(this._lastValueReported==undefined&&(_1a7===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1a6;}this._pendingOnChange=this._pendingOnChange||(typeof _1a6!=typeof this._lastValueReported)||(this.compare(_1a6,this._lastValueReported)!=0);if((this.intermediateChanges||_1a7||_1a7===undefined)&&this._pendingOnChange){this._lastValueReported=_1a6;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_1a6);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_1a8,lang,_1a9,has,_1aa){var html=_1aa.doc.documentElement,ie=has("ie"),_1ab=has("opera"),maj=Math.floor,ff=has("ff"),_1ac=_1a8.boxModel.replace(/-/,""),_1ad={"dj_quirks":has("quirks"),"dj_opera":_1ab,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_1ad["dj_ie"]=true;_1ad["dj_ie"+maj(ie)]=true;_1ad["dj_iequirks"]=has("quirks");}if(ff){_1ad["dj_ff"+maj(ff)]=true;}_1ad["dj_"+_1ac]=true;var _1ae="";for(var clz in _1ad){if(_1ad[clz]){_1ae+=clz+" ";}}html.className=lang.trim(html.className+" "+_1ae);_1a9(90,function(){if(!_1a8.isBodyLtr()){var _1af="dj_rtl dijitRtl "+_1ae.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_1af+"dj_rtl dijitRtl "+_1ae.replace(/ /g,"-rtl "));}});return has;});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","./main"],function(_1b0,_1b1,_1b2,_1b3,win,_1b4,_1b5){function _1b6(node,_1b7,_1b8,_1b9){var view=_1b4.getBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_1b0.some(_1b7,function(_1ba){var _1bb=_1ba.corner;var pos=_1ba.pos;var _1bc=0;var _1bd={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_1bb.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_1bb.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_1b8){var res=_1b8(node,_1ba.aroundCorner,_1bb,_1bd,_1b9);_1bc=typeof res=="undefined"?0:res;}var _1be=node.style;var _1bf=_1be.display;var _1c0=_1be.visibility;if(_1be.display=="none"){_1be.visibility="hidden";_1be.display="";}var bb=_1b1.position(node);_1be.display=_1bf;_1be.visibility=_1c0;var _1c1={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(bb.w>>1))-bb.w)}[_1bb.charAt(1)],_1c2={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_1bb.charAt(0)],_1c3=Math.max(view.l,_1c1),_1c4=Math.max(view.t,_1c2),endX=Math.min(view.l+view.w,_1c1+bb.w),endY=Math.min(view.t+view.h,_1c2+bb.h),_1c5=endX-_1c3,_1c6=endY-_1c4;_1bc+=(bb.w-_1c5)+(bb.h-_1c6);if(best==null||_1bc<best.overflow){best={corner:_1bb,aroundCorner:_1ba.aroundCorner,x:_1c3,y:_1c4,w:_1c5,h:_1c6,overflow:_1bc,spaceAvailable:_1bd};}return !_1bc;});if(best.overflow&&_1b8){_1b8(node,best.aroundCorner,best.corner,best.spaceAvailable,_1b9);}var l=_1b1.isBodyLtr(node.ownerDocument),s=node.style;s.top=best.y+"px";s[l?"left":"right"]=(l?best.x:view.w-best.x-best.w)+"px";s[l?"right":"left"]="auto";return best;};var _1c7={at:function(node,pos,_1c8,_1c9){var _1ca=_1b0.map(_1c8,function(_1cb){var c={corner:_1cb,pos:{x:pos.x,y:pos.y}};if(_1c9){c.pos.x+=_1cb.charAt(1)=="L"?_1c9.x:-_1c9.x;c.pos.y+=_1cb.charAt(0)=="T"?_1c9.y:-_1c9.y;}return c;});return _1b6(node,_1ca);},around:function(node,_1cc,_1cd,_1ce,_1cf){var _1d0=(typeof _1cc=="string"||"offsetWidth" in _1cc)?_1b1.position(_1cc,true):_1cc;if(_1cc.parentNode){var _1d1=_1b2.getComputedStyle(_1cc).position=="absolute";var _1d2=_1cc.parentNode;while(_1d2&&_1d2.nodeType==1&&_1d2.nodeName!="BODY"){var _1d3=_1b1.position(_1d2,true),pcs=_1b2.getComputedStyle(_1d2);if(/relative|absolute/.test(pcs.position)){_1d1=false;}if(!_1d1&&/hidden|auto|scroll/.test(pcs.overflow)){var _1d4=Math.min(_1d0.y+_1d0.h,_1d3.y+_1d3.h);var _1d5=Math.min(_1d0.x+_1d0.w,_1d3.x+_1d3.w);_1d0.x=Math.max(_1d0.x,_1d3.x);_1d0.y=Math.max(_1d0.y,_1d3.y);_1d0.h=_1d4-_1d0.y;_1d0.w=_1d5-_1d0.x;}if(pcs.position=="absolute"){_1d1=true;}_1d2=_1d2.parentNode;}}var x=_1d0.x,y=_1d0.y,_1d6="w" in _1d0?_1d0.w:(_1d0.w=_1d0.width),_1d7="h" in _1d0?_1d0.h:(_1b3.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_1d0.height+", width:"+_1d6+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_1d0.height+", w:"+_1d6+" }","","2.0"),_1d0.h=_1d0.height);var _1d8=[];function push(_1d9,_1da){_1d8.push({aroundCorner:_1d9,corner:_1da,pos:{x:{"L":x,"R":x+_1d6,"M":x+(_1d6>>1)}[_1d9.charAt(1)],y:{"T":y,"B":y+_1d7,"M":y+(_1d7>>1)}[_1d9.charAt(0)]}});};_1b0.forEach(_1cd,function(pos){var ltr=_1ce;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _1db=_1b6(node,_1d8,_1cf,{w:_1d6,h:_1d7});_1db.aroundNodePos=_1d0;return _1db;}};return _1b5.place=_1c7;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_1dc,dom,geom,_1dd){var _1de={getBox:function(doc){doc=doc||_1dc.doc;var _1df=(doc.compatMode=="BackCompat")?_1dc.body(doc):doc.documentElement,_1e0=geom.docScroll(doc),w,h;if(has("touch")){var _1e1=_1de.get(doc);w=_1e1.innerWidth||_1df.clientWidth;h=_1e1.innerHeight||_1df.clientHeight;}else{w=_1df.clientWidth;h=_1df.clientHeight;}return {l:_1e0.x,t:_1e0.y,w:w,h:h};},get:function(doc){if(has("ie")&&_1de!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_1dc.doc,body=_1dc.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _1e2=doc.compatMode=="BackCompat",_1e3=(isIE>=9&&"frameElement" in node.ownerDocument.parentWindow)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_1e2?body:html),_1e4=isWK?body:_1e3,_1e5=_1e3.clientWidth,_1e6=_1e3.clientHeight,rtl=!geom.isBodyLtr(doc),_1e7=pos||geom.position(node),el=node.parentNode,_1e8=function(el){return ((isIE<=6||(isIE&&_1e2))?false:(_1dd.get(el,"position").toLowerCase()=="fixed"));};if(_1e8(node)){return;}while(el){if(el==body){el=_1e4;}var _1e9=geom.position(el),_1ea=_1e8(el);if(el==_1e4){_1e9.w=_1e5;_1e9.h=_1e6;if(_1e4==html&&isIE&&rtl){_1e9.x+=_1e4.offsetWidth-_1e9.w;}if(_1e9.x<0||!isIE){_1e9.x=0;}if(_1e9.y<0||!isIE){_1e9.y=0;}}else{var pb=geom.getPadBorderExtents(el);_1e9.w-=pb.w;_1e9.h-=pb.h;_1e9.x+=pb.l;_1e9.y+=pb.t;var _1eb=el.clientWidth,_1ec=_1e9.w-_1eb;if(_1eb>0&&_1ec>0){_1e9.w=_1eb;_1e9.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_1ec:0;}_1eb=el.clientHeight;_1ec=_1e9.h-_1eb;if(_1eb>0&&_1ec>0){_1e9.h=_1eb;}}if(_1ea){if(_1e9.y<0){_1e9.h+=_1e9.y;_1e9.y=0;}if(_1e9.x<0){_1e9.w+=_1e9.x;_1e9.x=0;}if(_1e9.y+_1e9.h>_1e6){_1e9.h=_1e6-_1e9.y;}if(_1e9.x+_1e9.w>_1e5){_1e9.w=_1e5-_1e9.x;}}var l=_1e7.x-_1e9.x,t=_1e7.y-Math.max(_1e9.y,0),r=l+_1e7.w-_1e9.w,bot=t+_1e7.h-_1e9.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_1e2)||isIE>=9)){s=-s;}_1e7.x+=el.scrollLeft;el.scrollLeft+=s;_1e7.x-=el.scrollLeft;}if(bot*t>0){_1e7.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_1e7.y-=el.scrollTop;}el=(el!=_1e4)&&!_1ea&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_1de);return _1de;});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_1ed,has,_1ee,_1ef){return _1ed("dijit.form._FormValueWidget",[_1ee,_1ef],{_layoutHackIE7:function(){if(has("ie")==7){var _1f0=this.domNode;var _1f1=_1f0.parentNode;var _1f2=_1f0.firstChild||_1f0;var _1f3=_1f2.style.filter;var _1f4=this;while(_1f1&&_1f1.clientHeight==0){(function ping(){var _1f5=_1f4.connect(_1f1,"onscroll",function(){_1f4.disconnect(_1f5);_1f2.style.filter=(new Date()).getMilliseconds();_1f4.defer(function(){_1f2.style.filter=_1f3;});});})();_1f1=_1f1.parentNode;}}}});});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window","./a11yclick"],function(on,_1f6,keys,_1f7,has,_1f8,win,_1f9){var ret=_1f7("dijit._OnDijitClickMixin",null,{connect:function(obj,_1fa,_1fb){return this.inherited(arguments,[obj,_1fa=="ondijitclick"?_1f9:_1fa,_1fb]);}});ret.a11yclick=_1f9;return ret;});},"dijit/a11yclick":function(){define("dijit/a11yclick",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window"],function(on,_1fc,keys,_1fd,has,_1fe,win){var _1ff=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_1ff=evt.target;},true);}else{(function(){var _200=function(evt){_1ff=evt.srcElement;};win.doc.attachEvent("onkeydown",_200);_1fe.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_200);});})();}function _201(e){return (e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(node,_202){if(/input|button/i.test(node.nodeName)){return on(node,"click",_202);}else{var _203=[on(node,"keydown",function(e){if(_201(e)){_1ff=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_201(e)&&e.target==_1ff){_1ff=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(node,"click",function(e){_202.call(this,e);})];if(has("touch")){var _204;_203.push(on(node,"touchend",function(e){var _205=e.target;_204=setTimeout(function(){_204=null;on.emit(_205,"click",{cancelable:true,bubbles:true});},600);}),on(node,"click",function(e){if(_204){clearTimeout(_204);}}));}return {remove:function(){_1fc.forEach(_203,function(h){h.remove();});if(_204){clearTimeout(_204);_204=null;}}};}};return ret;});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_206,has,_207,win){_207(90,function(){if(has("highcontrast")){_206.add(win.body(),"dijit_a11y");}});return has;});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/sniff","dojo/_base/unload"],function(lang,_208,_209,_20a,_20b,_20c,_20d,_20e,has,_20f){var _210=_20d("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _211=this.declaredClass,_212=this;return _20a.substitute(tmpl,this,function(_213,key){if(key.charAt(0)=="!"){_213=lang.getObject(key.substr(1),false,_212);}if(typeof _213=="undefined"){throw new Error(_211+" template:"+key);}if(_213==null){return "";}return key.charAt(0)=="!"?_213:_213.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_20b(this.templatePath,{sanitize:true});}var _214=_210.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_214)){node=_20e.toDom(this._stringRepl(_214),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_214);}}else{node=_214.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_215){var dest=this.containerNode;if(_215&&dest){while(_215.hasChildNodes()){dest.appendChild(_215.firstChild);}}},_attachTemplateNodes:function(_216,_217){var _218=lang.isArray(_216)?_216:(_216.all||_216.getElementsByTagName("*"));var x=lang.isArray(_216)?0:-1;for(;x<0||_218[x];x++){var _219=(x==-1)?_216:_218[x];if(this.widgetsInTemplate&&(_217(_219,"dojoType")||_217(_219,"data-dojo-type"))){continue;}var _21a=_217(_219,"dojoAttachPoint")||_217(_219,"data-dojo-attach-point");if(_21a){var _21b,_21c=_21a.split(/\s*,\s*/);while((_21b=_21c.shift())){if(lang.isArray(this[_21b])){this[_21b].push(_219);}else{this[_21b]=_219;}this._attachPoints.push(_21b);}}var _21d=_217(_219,"dojoAttachEvent")||_217(_219,"data-dojo-attach-event");if(_21d){var _21e,_21f=_21d.split(/\s*,\s*/);var trim=lang.trim;while((_21e=_21f.shift())){if(_21e){var _220=null;if(_21e.indexOf(":")!=-1){var _221=_21e.split(":");_21e=trim(_221[0]);_220=trim(_221[1]);}else{_21e=trim(_21e);}if(!_220){_220=_21e;}this._attachEvents.push(this.connect(_219,_208[_21e]||_21e,_220));}}}}},destroyRendering:function(){_20c.forEach(this._attachPoints,function(_222){delete this[_222];},this);this._attachPoints=[];_20c.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_210._templateCache={};_210.getCachedTemplate=function(_223,_224,doc){var _225=_210._templateCache;var key=_223;var _226=_225[key];if(_226){try{if(!_226.ownerDocument||_226.ownerDocument==(doc||document)){return _226;}}catch(e){}_20e.destroy(_226);}_223=_20a.trim(_223);if(_224||_223.match(/\$\{([^\}]+)\}/g)){return (_225[key]=_223);}else{var node=_20e.toDom(_223,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_223);}return (_225[key]=node);}};if(has("ie")){_20f.addOnWindowUnload(function(){var _227=_210._templateCache;for(var key in _227){var _228=_227[key];if(typeof _228=="object"){_20e.destroy(_228);}delete _227[key];}});}lang.extend(_209,{dojoAttachEvent:"",dojoAttachPoint:""});return _210;});},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_229,has,_22a,_22b,_22c,_22d,_22e,_22f){if(has("dijit-legacy-requires")){_22b(0,function(){var _230=["dijit/form/_FormValueWidget"];require(_230);});}return _229("dijit.form._FormWidget",[_22c,_22e,_22d,_22f],{setDisabled:function(_231){_22a.deprecated("setDisabled("+_231+") is deprecated. Use set('disabled',"+_231+") instead.","","2.0");this.set("disabled",_231);},setValue:function(_232){_22a.deprecated("dijit.form._FormWidget:setValue("+_232+") is deprecated.  Use set('value',"+_232+") instead.","","2.0");this.set("value",_232);},getValue:function(){_22a.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/"/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_base/focus":function(){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../main"],function(_233,dom,lang,_234,win,_235,_236){var _237={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _236.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_235.curNode;if(win.global.getSelection){sel=win.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_238){var _239=win.doc,mark=_238.mark;if(mark){if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var n=mark.node;n.selectionStart=mark.start;n.selectionEnd=mark.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_239.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=_239.body.createControlRange();_233.forEach(mark,function(n){rg.addElement(n);});}else{rg=_239.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_23a){var node=!_235.curNode||(menu&&dom.isDescendant(_235.curNode,menu.domNode))?_236._prevFocus:_235.curNode;return {node:node,bookmark:node&&(node==_235.curNode)&&win.withGlobal(_23a||win.global,_236.getBookmark),openedForWindow:_23a};},_activeStack:[],registerIframe:function(_23b){return _235.registerIframe(_23b);},unregisterIframe:function(_23c){_23c&&_23c.remove();},registerWin:function(_23d,_23e){return _235.registerWin(_23d,_23e);},unregisterWin:function(_23f){_23f&&_23f.remove();}};_235.focus=function(_240){if(!_240){return;}var node="node" in _240?_240.node:_240,_241=_240.bookmark,_242=_240.openedForWindow,_243=_241?_241.isCollapsed:false;if(node){var _244=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_244&&_244.focus){try{_244.focus();}catch(e){}}_235._onFocusNode(node);}if(_241&&win.withGlobal(_242||win.global,_236.isCollapsed)&&!_243){if(_242){_242.focus();}try{win.withGlobal(_242||win.global,_236.moveToBookmark,null,[_241]);}catch(e2){}}};_235.watch("curNode",function(name,_245,_246){_236._curFocus=_246;_236._prevFocus=_245;if(_246){_234.publish("focusNode",_246);}});_235.watch("activeStack",function(name,_247,_248){_236._activeStack=_248;});_235.on("widget-blur",function(_249,by){_234.publish("widgetBlur",_249,by);});_235.on("widget-focus",function(_24a,by){_234.publish("widgetFocus",_24a,by);});lang.mixin(_236,_237);return _236;});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_24b,dojo,_24c,_24d,_24e,_24f,_250,_251,_252,_253,_254,_255,has,_256,don,_257){new Date("X");var _258=0;_253.after(_24c,"extend",function(){_258++;},true);function _259(ctor){var map=ctor._nameCaseMap,_25a=ctor.prototype;if(!map||map._extendCnt<_258){map=ctor._nameCaseMap={};for(var name in _25a){if(name.charAt(0)==="_"){continue;}map[name.toLowerCase()]=name;}map._extendCnt=_258;}return map;};var _25b={};function _25c(_25d){var ts=_25d.join();if(!_25b[ts]){var _25e=[];for(var i=0,l=_25d.length;i<l;i++){var t=_25d[i];_25e[_25e.length]=(_25b[t]=_25b[t]||(_24c.getObject(t)||(~t.indexOf("/")&&_24b(t))));}var ctor=_25e.shift();_25b[ts]=_25e.length?(ctor.createSubclass?ctor.createSubclass(_25e):ctor.extend.apply(ctor,_25e)):ctor;}return _25b[ts];};var _25f={_clearCache:function(){_258++;_25b={};},_functionFromScript:function(_260,_261){var _262="",_263="",_264=(_260.getAttribute(_261+"args")||_260.getAttribute("args")),_265=_260.getAttribute("with");var _266=(_264||"").split(/\s*,\s*/);if(_265&&_265.length){_24d.forEach(_265.split(/\s*,\s*/),function(part){_262+="with("+part+"){";_263+="}";});}return new Function(_266,_262+_260.innerHTML+_263);},instantiate:function(_267,_268,_269){_268=_268||{};_269=_269||{};var _26a=(_269.scope||dojo._scopeName)+"Type",_26b="data-"+(_269.scope||dojo._scopeName)+"-",_26c=_26b+"type",_26d=_26b+"mixins";var list=[];_24d.forEach(_267,function(node){var type=_26a in _268?_268[_26a]:node.getAttribute(_26c)||node.getAttribute(_26a);if(type){var _26e=node.getAttribute(_26d),_26f=_26e?[type].concat(_26e.split(/\s*,\s*/)):[type];list.push({node:node,types:_26f});}});return this._instantiate(list,_268,_269);},_instantiate:function(_270,_271,_272){var _273=_24d.map(_270,function(obj){var ctor=obj.ctor||_25c(obj.types);if(!ctor){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(ctor,obj.node,_271,_272,obj.scripts,obj.inherited);},this);if(!_271._started&&!_272.noStart){_24d.forEach(_273,function(_274){if(typeof _274.startup==="function"&&!_274._started){_274.startup();}});}return _273;},construct:function(ctor,node,_275,_276,_277,_278){var _279=ctor&&ctor.prototype;_276=_276||{};var _27a={};if(_276.defaults){_24c.mixin(_27a,_276.defaults);}if(_278){_24c.mixin(_27a,_278);}var _27b;if(has("dom-attributes-explicit")){_27b=node.attributes;}else{if(has("dom-attributes-specified-flag")){_27b=_24d.filter(node.attributes,function(a){return a.specified;});}else{var _27c=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false),_27d=_27c.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_27b=_24d.map(_27d.split(/\s+/),function(name){var _27e=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_27e=="enctype"?node.getAttribute(_27e):node.getAttributeNode(_27e).value};});}}var _27f=_276.scope||dojo._scopeName,_280="data-"+_27f+"-",hash={};if(_27f!=="dojo"){hash[_280+"props"]="data-dojo-props";hash[_280+"type"]="data-dojo-type";hash[_280+"mixins"]="data-dojo-mixins";hash[_27f+"type"]="dojoType";hash[_280+"id"]="data-dojo-id";}var i=0,item,_281=[],_282,_283;while(item=_27b[i++]){var name=item.name,_284=name.toLowerCase(),_285=item.value;switch(hash[_284]||_284){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_283=_285;break;case "data-dojo-id":case "jsid":_282=_285;break;case "data-dojo-attach-point":case "dojoattachpoint":_27a.dojoAttachPoint=_285;break;case "data-dojo-attach-event":case "dojoattachevent":_27a.dojoAttachEvent=_285;break;case "class":_27a["class"]=node.className;break;case "style":_27a["style"]=node.style&&node.style.cssText;break;default:if(!(name in _279)){var map=_259(ctor);name=map[_284]||name;}if(name in _279){switch(typeof _279[name]){case "string":_27a[name]=_285;break;case "number":_27a[name]=_285.length?Number(_285):NaN;break;case "boolean":_27a[name]=_285.toLowerCase()!="false";break;case "function":if(_285===""||_285.search(/[^\w\.]+/i)!=-1){_27a[name]=new Function(_285);}else{_27a[name]=_24c.getObject(_285,false)||new Function(_285);}_281.push(name);break;default:var pVal=_279[name];_27a[name]=(pVal&&"length" in pVal)?(_285?_285.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_285==""?new Date(""):_285=="now"?new Date():_254.fromISOString(_285)):(pVal instanceof _251)?(dojo.baseUrl+_285):_252.fromJson(_285);}}else{_27a[name]=_285;}}}for(var j=0;j<_281.length;j++){var _286=_281[j].toLowerCase();node.removeAttribute(_286);node[_286]=null;}if(_283){try{_283=_252.fromJson.call(_276.propsThis,"{"+_283+"}");_24c.mixin(_27a,_283);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_283+"'");}}_24c.mixin(_27a,_275);if(!_277){_277=(ctor&&(ctor._noScript||_279._noScript)?[]:_256("> script[type^='dojo/']",node));}var _287=[],_288=[],_289=[],ons=[];if(_277){for(i=0;i<_277.length;i++){var _28a=_277[i];node.removeChild(_28a);var _28b=(_28a.getAttribute(_280+"event")||_28a.getAttribute("event")),prop=_28a.getAttribute(_280+"prop"),_28c=_28a.getAttribute(_280+"method"),_28d=_28a.getAttribute(_280+"advice"),_28e=_28a.getAttribute("type"),nf=this._functionFromScript(_28a,_280);if(_28b){if(_28e=="dojo/connect"){_287.push({method:_28b,func:nf});}else{if(_28e=="dojo/on"){ons.push({event:_28b,func:nf});}else{_27a[_28b]=nf;}}}else{if(_28e=="dojo/aspect"){_287.push({method:_28c,advice:_28d,func:nf});}else{if(_28e=="dojo/watch"){_289.push({prop:prop,func:nf});}else{_288.push(nf);}}}}}var _28f=ctor.markupFactory||_279.markupFactory;var _290=_28f?_28f(_27a,node,ctor):new ctor(_27a,node);if(_282){_24c.setObject(_282,_290);}for(i=0;i<_287.length;i++){_253[_287[i].advice||"after"](_290,_287[i].method,_24c.hitch(_290,_287[i].func),true);}for(i=0;i<_288.length;i++){_288[i].call(_290);}for(i=0;i<_289.length;i++){_290.watch(_289[i].prop,_289[i].func);}for(i=0;i<ons.length;i++){don(_290,ons[i].event,ons[i].func);}return _290;},scan:function(root,_291){var list=[],mids=[],_292={};var _293=(_291.scope||dojo._scopeName)+"Type",_294="data-"+(_291.scope||dojo._scopeName)+"-",_295=_294+"type",_296=_294+"textdir",_297=_294+"mixins";var node=root.firstChild;var _298=_291.inherited;if(!_298){function _299(node,attr){return (node.getAttribute&&node.getAttribute(attr))||(node.parentNode&&_299(node.parentNode,attr));};_298={dir:_299(root,"dir"),lang:_299(root,"lang"),textDir:_299(root,_296)};for(var key in _298){if(!_298[key]){delete _298[key];}}}var _29a={inherited:_298};var _29b;var _29c;function _29d(_29e){if(!_29e.inherited){_29e.inherited={};var node=_29e.node,_29f=_29d(_29e.parent);var _2a0={dir:node.getAttribute("dir")||_29f.dir,lang:node.getAttribute("lang")||_29f.lang,textDir:node.getAttribute(_296)||_29f.textDir};for(var key in _2a0){if(_2a0[key]){_29e.inherited[key]=_2a0[key];}}}return _29e.inherited;};while(true){if(!node){if(!_29a||!_29a.node){break;}node=_29a.node.nextSibling;_29c=false;_29a=_29a.parent;_29b=_29a.scripts;continue;}if(node.nodeType!=1){node=node.nextSibling;continue;}if(_29b&&node.nodeName.toLowerCase()=="script"){type=node.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_29b.push(node);}node=node.nextSibling;continue;}if(_29c){node=node.nextSibling;continue;}var type=node.getAttribute(_295)||node.getAttribute(_293);var _2a1=node.firstChild;if(!type&&(!_2a1||(_2a1.nodeType==3&&!_2a1.nextSibling))){node=node.nextSibling;continue;}var _2a2;var ctor=null;if(type){var _2a3=node.getAttribute(_297),_2a4=_2a3?[type].concat(_2a3.split(/\s*,\s*/)):[type];try{ctor=_25c(_2a4);}catch(e){}if(!ctor){_24d.forEach(_2a4,function(t){if(~t.indexOf("/")&&!_292[t]){_292[t]=true;mids[mids.length]=t;}});}var _2a5=ctor&&!ctor.prototype._noScript?[]:null;_2a2={types:_2a4,ctor:ctor,parent:_29a,node:node,scripts:_2a5};_2a2.inherited=_29d(_2a2);list.push(_2a2);}else{_2a2={node:node,scripts:_29b,parent:_29a};}node=_2a1;_29b=_2a5;_29c=ctor&&ctor.prototype.stopParser&&!(_291.template);_29a=_2a2;}var d=new _255();if(mids.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+mids.join(", "));}_24b(mids,function(){d.resolve(_24d.filter(list,function(_2a6){if(!_2a6.ctor){try{_2a6.ctor=_25c(_2a6.types);}catch(e){}}var _2a7=_2a6.parent;while(_2a7&&!_2a7.types){_2a7=_2a7.parent;}var _2a8=_2a6.ctor&&_2a6.ctor.prototype;_2a6.instantiateChildren=!(_2a8&&_2a8.stopParser&&!(_291.template));_2a6.instantiate=!_2a7||(_2a7.instantiate&&_2a7.instantiateChildren);return _2a6.instantiate;}));});}else{d.resolve(list);}return d.promise;},_require:function(_2a9){var hash=_252.fromJson("{"+_2a9.innerHTML+"}"),vars=[],mids=[],d=new _255();for(var name in hash){vars.push(name);mids.push(hash[name]);}_24b(mids,function(){for(var i=0;i<vars.length;i++){_24c.setObject(vars[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(root){var _2aa=new _255(),_2ab=_2aa.promise;_2aa.resolve(true);var self=this;_256("script[type='dojo/require']",root).forEach(function(node){_2ab=_2ab.then(function(){return self._require(node);});node.parentNode.removeChild(node);});return _2ab;},parse:function(_2ac,_2ad){var root;if(!_2ad&&_2ac&&_2ac.rootNode){_2ad=_2ac;root=_2ad.rootNode;}else{if(_2ac&&_24c.isObject(_2ac)&&!("nodeType" in _2ac)){_2ad=_2ac;}else{root=_2ac;}}root=root?_24f.byId(root):_250.body();_2ad=_2ad||{};var _2ae=_2ad.template?{template:true}:{},_2af=[],self=this;var p=this._scanAmd(root,_2ad).then(function(){return self.scan(root,_2ad);}).then(function(_2b0){return _2af=_2af.concat(self._instantiate(_2b0,_2ae,_2ad));}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_24c.mixin(_2af,p);return _2af;}};if(1){dojo.parser=_25f;}if(_24e.parseOnLoad){_257(100,_25f,"parse");}return _25f;});},"dijit/layout/_LayoutWidget":function(){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_2b1,_2b2,_2b3,_2b4,_2b5,_2b6,_2b7,_2b8){return _2b5("dijit.layout._LayoutWidget",[_2b1,_2b2,_2b3],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_2b6.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _2b9=this.getParent&&this.getParent();if(!(_2b9&&_2b9.isLayoutContainer)){this.resize();this.own(_2b4.on("resize",lang.hitch(this,"resize")));}},resize:function(_2ba,_2bb){var node=this.domNode;if(_2ba){_2b7.setMarginBox(node,_2ba);}var mb=_2bb||{};lang.mixin(mb,_2ba||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_2b7.getMarginBox(node),mb);}var cs=_2b8.getComputedStyle(node);var me=_2b7.getMarginExtents(node,cs);var be=_2b7.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_2b7.getPadExtents(node,cs);this._contentBox={l:_2b8.toPixelValue(node,cs.paddingLeft),t:_2b8.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_2bc){var cls=this.baseClass+"-child "+(_2bc.baseClass?this.baseClass+"-"+_2bc.baseClass:"");_2b6.add(_2bc.domNode,cls);},addChild:function(_2bd,_2be){this.inherited(arguments);if(this._started){this._setupChild(_2bd);}},removeChild:function(_2bf){var cls=this.baseClass+"-child"+(_2bf.baseClass?" "+this.baseClass+"-"+_2bf.baseClass:"");_2b6.remove(_2bf.domNode,cls);this.inherited(arguments);}});});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_2c0,_2c1,_2c2,_2c3,has,_2c4,lang,_2c5,_2c6,_2c7,_2c8,_2c9,_2ca){function _2cb(){};function _2cc(_2cd){return function(obj,_2ce,_2cf,_2d0){if(obj&&typeof _2ce=="string"&&obj[_2ce]==_2cb){return obj.on(_2ce.substring(2).toLowerCase(),lang.hitch(_2cf,_2d0));}return _2cd.apply(_2c2,arguments);};};_2c0.around(_2c2,"connect",_2cc);if(_2c4.connect){_2c0.around(_2c4,"connect",_2cc);}var _2d1=_2c3("dijit._Widget",[_2c8,_2c9,_2ca],{onClick:_2cb,onDblClick:_2cb,onKeyDown:_2cb,onKeyPress:_2cb,onKeyUp:_2cb,onMouseDown:_2cb,onMouseMove:_2cb,onMouseOut:_2cb,onMouseOver:_2cb,onMouseLeave:_2cb,onMouseEnter:_2cb,onMouseUp:_2cb,constructor:function(_2d2){this._toConnect={};for(var name in _2d2){if(this[name]===_2cb){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_2d2[name];delete _2d2[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_2cb){return _2c2.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_2d3){_2c4.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_2d3);},attr:function(name,_2d4){if(_2c1.isDebug){var _2d5=arguments.callee._ach||(arguments.callee._ach={}),_2d6=(arguments.callee.caller||"unknown caller").toString();if(!_2d5[_2d6]){_2c4.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_2d6,"","2.0");_2d5[_2d6]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_2c4.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_2c5("[widgetId]",this.containerNode).map(_2c7.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_2c6(0,function(){var _2d7=["dijit/_base"];require(_2d7);});}return _2d1;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_2d8,_2d9,_2da,lang){lang.extend(_2d9,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _2da("dijit._FocusMixin",null,{_focusManager:_2d8});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_2db,_2dc,dom,_2dd,_2de,_2df,lang,on,_2e0,has,_2e1,_2e2,win,_2e3,a11y,_2e4,_2e5){var _2e6=_2dc([_2e1,_2df],{curNode:null,activeStack:[],constructor:function(){var _2e7=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_2db.before(_2de,"empty",_2e7);_2db.before(_2de,"destroy",_2e7);},registerIframe:function(_2e8){return this.registerWin(_2e8.contentWindow,_2e8);},registerWin:function(_2e9,_2ea){var _2eb=this;var _2ec=function(evt){_2eb._justMouseDowned=true;setTimeout(function(){_2eb._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_2eb._onTouchNode(_2ea||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_2e9.document.documentElement:_2e9.document;if(doc){if(has("ie")){_2e9.document.body.attachEvent("onmousedown",_2ec);var _2ed=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_2eb._onFocusNode(_2ea||evt.srcElement);}else{_2eb._onTouchNode(_2ea||evt.srcElement);}};doc.attachEvent("onfocusin",_2ed);var _2ee=function(evt){_2eb._onBlurNode(_2ea||evt.srcElement);};doc.attachEvent("onfocusout",_2ee);return {remove:function(){_2e9.document.detachEvent("onmousedown",_2ec);doc.detachEvent("onfocusin",_2ed);doc.detachEvent("onfocusout",_2ee);doc=null;}};}else{doc.body.addEventListener("mousedown",_2ec,true);doc.body.addEventListener("touchstart",_2ec,true);var _2ef=function(evt){_2eb._onFocusNode(_2ea||evt.target);};doc.addEventListener("focus",_2ef,true);var _2f0=function(evt){_2eb._onBlurNode(_2ea||evt.target);};doc.addEventListener("blur",_2f0,true);return {remove:function(){doc.body.removeEventListener("mousedown",_2ec,true);doc.body.removeEventListener("touchstart",_2ec,true);doc.removeEventListener("focus",_2ef,true);doc.removeEventListener("blur",_2f0,true);doc=null;}};}}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _2f1=[];try{while(node){var _2f2=_2dd.get(node,"dijitPopupParent");if(_2f2){node=_2e4.byId(_2f2).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_2e3.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_2f3=id&&_2e4.byId(id);if(_2f3&&!(by=="mouse"&&_2f3.get("disabled"))){_2f1.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_2f1,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_2f4,by){var _2f5=this.activeStack;this.set("activeStack",_2f4);for(var _2f6=0;_2f6<Math.min(_2f5.length,_2f4.length);_2f6++){if(_2f5[_2f6]!=_2f4[_2f6]){break;}}var _2f7;for(var i=_2f5.length-1;i>=_2f6;i--){_2f7=_2e4.byId(_2f5[i]);if(_2f7){_2f7._hasBeenBlurred=true;_2f7.set("focused",false);if(_2f7._focusManager==this){_2f7._onBlur(by);}this.emit("widget-blur",_2f7,by);}}for(i=_2f6;i<_2f4.length;i++){_2f7=_2e4.byId(_2f4[i]);if(_2f7){_2f7.set("focused",true);if(_2f7._focusManager==this){_2f7._onFocus(by);}this.emit("widget-focus",_2f7,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _2f8=new _2e6();_2e0(function(){var _2f9=_2f8.registerWin(_2e3.get(win.doc));if(has("ie")){_2e2.addOnWindowUnload(function(){if(_2f9){_2f9.remove();_2f9=null;}});}});_2e5.focus=function(node){_2f8.focus(node);};for(var attr in _2f8){if(!/^_/.test(attr)){_2e5.focus[attr]=typeof _2f8[attr]=="function"?lang.hitch(_2f8,attr):_2f8[attr];}}_2f8.watch(function(attr,_2fa,_2fb){_2e5.focus[attr]=_2fb;});return _2f8;});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_2fc,_2fd){return _2fc("dijit._Contained",null,{_getSibling:function(_2fe){var node=this.domNode;do{node=node[_2fe+"Sibling"];}while(node&&node.nodeType!=1);return node&&_2fd.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window","../main"],function(_2ff,_300){_300.scrollIntoView=function(node,pos){_2ff.scrollIntoView(node,pos);};});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_301,_302,_303){return _303("dijit.Destroyable",null,{destroy:function(_304){this._destroyed=true;},own:function(){_301.forEach(arguments,function(_305){var _306="destroyRecursive" in _305?"destroyRecursive":"destroy" in _305?"destroy":"remove";var odh=_302.before(this,"destroy",function(_307){_305[_306](_307);});var hdh=_302.after(_305,_306,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/_base/window":function(){define("dijit/_base/window",["dojo/window","../main"],function(_308,_309){_309.getDocumentWindow=function(doc){return _308.get(doc);};});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/_base/popup":function(){define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_30a,win,_30b){var _30c=_30b._createWrapper;_30b._createWrapper=function(_30d){if(!_30d.declaredClass){_30d={_popupWrapper:(_30d.parentNode&&_30a.contains(_30d.parentNode,"dijitPopup"))?_30d.parentNode:null,domNode:_30d,destroy:function(){},ownerDocument:_30d.ownerDocument,ownerDocumentBody:win.body(_30d.ownerDocument)};}return _30c.call(this,_30d);};var _30e=_30b.open;_30b.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _30e.call(this,args);};return _30b;});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct"],function(_30f,_310,_311){return _310("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_312,_313){var _314=this.containerNode;if(_313&&typeof _313=="number"){var _315=this.getChildren();if(_315&&_315.length>=_313){_314=_315[_313-1].domNode;_313="after";}}_311.place(_312.domNode,_314,_313);if(this._started&&!_312._started){_312.startup();}},removeChild:function(_316){if(typeof _316=="number"){_316=this.getChildren()[_316];}if(_316){var node=_316.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_317,dir){var _318=this.getChildren(),idx=_30f.indexOf(this.getChildren(),_317);return _318[idx+dir];},getIndexOfChild:function(_319){return _30f.indexOf(this.getChildren(),_319);}});});},"*noref":1}});define("dijit/dijit",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_31a){return _31a;});