/* 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/main":function(){define(["dojo/_base/kernel"],function(_1){return _1.dijit;});},"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(_2){return _2._base;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_3,_4,_5,_6,_7,_8,_9){var _a;var _b={_isElementShown:function(_c){var s=_6.get(_c);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_5.get(_c,"type")!="hidden");},hasDefaultTabStop:function(_d){switch(_d.nodeName.toLowerCase()){case "a":return _5.has(_d,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _e;try{var _f=_d.contentDocument;if("designMode" in _f&&_f.designMode=="on"){return true;}_e=_f.body;}catch(e1){try{_e=_d.contentWindow.document.body;}catch(e2){return false;}}return _e&&(_e.contentEditable=="true"||(_e.firstChild&&_e.firstChild.contentEditable=="true"));default:return _d.contentEditable=="true";}},effectiveTabIndex:function(_10){if(_5.get(_10,"disabled")){return _a;}else{if(_5.has(_10,"tabIndex")){return +_5.get(_10,"tabIndex");}else{return _b.hasDefaultTabStop(_10)?0:_a;}}},isTabNavigable:function(_11){return _b.effectiveTabIndex(_11)>=0;},isFocusable:function(_12){return _b.effectiveTabIndex(_12)>=-1;},_getTabNavigable:function(_13){var _14,_15,_16,_17,_18,_19,_1a={};function _1b(_1c){return _1c&&_1c.tagName.toLowerCase()=="input"&&_1c.type&&_1c.type.toLowerCase()=="radio"&&_1c.name&&_1c.name.toLowerCase();};var _1d=_b._isElementShown,_1e=_b.effectiveTabIndex;var _1f=function(_20){for(var _21=_20.firstChild;_21;_21=_21.nextSibling){if(_21.nodeType!=1||(_8("ie")<=9&&_21.scopeName!=="HTML")||!_1d(_21)){continue;}var _22=_1e(_21);if(_22>=0){if(_22==0){if(!_14){_14=_21;}_15=_21;}else{if(_22>0){if(!_16||_22<_17){_17=_22;_16=_21;}if(!_18||_22>=_19){_19=_22;_18=_21;}}}var rn=_1b(_21);if(_5.get(_21,"checked")&&rn){_1a[rn]=_21;}}if(_21.nodeName.toUpperCase()!="SELECT"){_1f(_21);}}};if(_1d(_13)){_1f(_13);}function rs(_23){return _1a[_1b(_23)]||_23;};return {first:rs(_14),last:rs(_15),lowest:rs(_16),highest:rs(_18)};},getFirstInTabbingOrder:function(_24,doc){var _25=_b._getTabNavigable(_4.byId(_24,doc));return _25.lowest?_25.lowest:_25.first;},getLastInTabbingOrder:function(_26,doc){var _27=_b._getTabNavigable(_4.byId(_26,doc));return _27.last?_27.last:_27.highest;}};1&&_7.mixin(_9,_b);return _b;});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_28,_29,_2a,_2b){var _2c=_29("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_2d){if(this._hash[_2d.id]){throw new Error("Tried to register widget with id=="+_2d.id+" but that id is already registered");}this._hash[_2d.id]=_2d;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_2e,_2f){_2f=_2f||_2a.global;var i=0,id;for(id in this._hash){_2e.call(_2f,this._hash[id],i++,this._hash);}return this;},filter:function(_30,_31){_31=_31||_2a.global;var res=new _2c(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_30.call(_31,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _2c(),id,_32;for(id in this._hash){_32=this._hash[id];if(_32.declaredClass==cls){res.add(_32);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_33,_34){return _28.map(this.toArray(),_33,_34);},every:function(_35,_36){_36=_36||_2a.global;var x=0,i;for(i in this._hash){if(!_35.call(_36,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_37,_38){_38=_38||_2a.global;var x=0,i;for(i in this._hash){if(_37.call(_38,this._hash[i],x++,this._hash)){return true;}}return false;}});_28.forEach(["forEach","filter","byClass","map","every","some"],function(_39){_2b[_39]=_2c.prototype[_39];});return _2c;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_3a,has,_3b,win,_3c){var _3d={},_3e={};var _3f={length:0,add:function(_40){if(_3e[_40.id]){throw new Error("Tried to register widget with id=="+_40.id+" but that id is already registered");}_3e[_40.id]=_40;this.length++;},remove:function(id){if(_3e[id]){delete _3e[id];this.length--;}},byId:function(id){return typeof id=="string"?_3e[id]:id;},byNode:function(_41){return _3e[_41.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _3e){ar.push(_3e[id]);}return ar;},getUniqueId:function(_42){var id;do{id=_42+"_"+(_42 in _3d?++_3d[_42]:_3d[_42]=0);}while(_3e[id]);return _3c._scopeName=="dijit"?id:_3c._scopeName+"_"+id;},findWidgets:function(_43,_44){var _45=[];function _46(_47){for(var _48=_47.firstChild;_48;_48=_48.nextSibling){if(_48.nodeType==1){var _49=_48.getAttribute("widgetId");if(_49){var _4a=_3e[_49];if(_4a){_45.push(_4a);}}else{if(_48!==_44){_46(_48);}}}}};_46(_43);return _45;},_destroyAll:function(){_3c._curFocus=null;_3c._prevFocus=null;_3c._activeStack=[];_3a.forEach(_3f.findWidgets(win.body()),function(_4b){if(!_4b._destroyed){if(_4b.destroyRecursive){_4b.destroyRecursive();}else{if(_4b.destroy){_4b.destroy();}}}});},getEnclosingWidget:function(_4c){while(_4c){var id=_4c.nodeType==1&&_4c.getAttribute("widgetId");if(id){return _3e[id];}_4c=_4c.parentNode;}return null;},_hash:_3e};_3c.registry=_3f;return _3f;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../main"],function(_4d,dom,_4e,_4f,win,_50,_51){var _52={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _51.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_50.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=_8a;i--){_8b=_77.byId(_89[i]);if(_8b){_8b._hasBeenBlurred=true;_8b.set("focused",false);if(_8b._focusManager==this){_8b._onBlur(by);}this.emit("widget-blur",_8b,by);}}for(i=_8a;i<_88.length;i++){_8b=_77.byId(_88[i]);if(_8b){_8b.set("focused",true);if(_8b._focusManager==this){_8b._onFocus(by);}this.emit("widget-focus",_8b,by);}}},focus:function(_8c){if(_8c){try{_8c.focus();}catch(e){}}}});var _8d=new _7a();_72(function(){var _8e=_8d.registerWin(_75.get(win.doc));if(has("ie")){_74.addOnWindowUnload(function(){if(_8e){_8e.remove();_8e=null;}});}});_78.focus=function(_8f){_8d.focus(_8f);};for(var _90 in _8d){if(!/^_/.test(_90)){_78.focus[_90]=typeof _8d[_90]=="function"?_71.hitch(_8d,_90):_8d[_90];}}_8d.watch(function(_91,_92,_93){_78.focus[_91]=_93;});return _8d;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_94,_95,_96,_97){return _94("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(_98){var apn=this._attrPairNames;if(apn[_98]){return apn[_98];}return (apn[_98]={s:"_"+_98+"Setter",g:"_"+_98+"Getter"});},postscript:function(_99){if(_99){this.set(_99);}},_get:function(_9a,_9b){return typeof this[_9b.g]==="function"?this[_9b.g]():this[_9a];},get:function(_9c){return this._get(_9c,this._getAttrNames(_9c));},set:function(_9d,_9e){if(typeof _9d==="object"){for(var x in _9d){if(_9d.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,_9d[x]);}}return this;}var _9f=this._getAttrNames(_9d),_a0=this._get(_9d,_9f),_a1=this[_9f.s],_a2;if(typeof _a1==="function"){_a2=_a1.apply(this,Array.prototype.slice.call(arguments,1));}else{this[_9d]=_9e;}if(this._watchCallbacks){var _a3=this;_97(_a2,function(){_a3._watchCallbacks(_9d,_a0,_9e);});}return this;},_changeAttrValue:function(_a4,_a5){var _a6=this.get(_a4);this[_a4]=_a5;if(this._watchCallbacks){this._watchCallbacks(_a4,_a6,_a5);}return this;},watch:function(_a7,_a8){var _a9=this._watchCallbacks;if(!_a9){var _aa=this;_a9=this._watchCallbacks=function(_ab,_ac,_ad,_ae){var _af=function(_b0){if(_b0){_b0=_b0.slice();for(var i=0,l=_b0.length;i-1){_b1.splice(_b3,1);}};return _b2;}});});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_b4,has,_b5,dom,_b6,_b7,_b8){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _b9=_b5.body(doc),_ba=_b8.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_b9,"last"),div=_b8.create("div",{style:{overflow:"hidden",direction:"ltr"}},_ba,"last"),ret=_b6.position(div).x!=0;_ba.removeChild(div);_b9.removeChild(_ba);return ret;});has.add("position-fixed-support",function(win,doc){var _bb=_b5.body(doc),_bc=_b8.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_bb,"last"),_bd=_b8.create("span",{style:{position:"fixed",left:"0",top:"0"}},_bc,"last"),ret=_b6.position(_bd).x!=_b6.position(_bc).x;_bc.removeChild(_bd);_bb.removeChild(_bc);return ret;});var _be={getBox:function(doc){doc=doc||_b5.doc;var _bf=(doc.compatMode=="BackCompat")?_b5.body(doc):doc.documentElement,_c0=_b6.docScroll(doc),w,h;if(has("touch")){var _c1=_be.get(doc);w=_c1.innerWidth||_bf.clientWidth;h=_c1.innerHeight||_bf.clientHeight;}else{w=_bf.clientWidth;h=_bf.clientHeight;}return {l:_c0.x,t:_c0.y,w:w,h:h};},get:function(doc){if(has("ie")&&_be!==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(_c2,pos){try{_c2=dom.byId(_c2);var doc=_c2.ownerDocument||_b5.doc,_c3=_b5.body(doc),_c4=doc.documentElement||_c3.parentNode,_c5=has("ie"),_c6=has("webkit");if(_c2==_c3||_c2==_c4){return;}if(!(has("mozilla")||_c5||_c6||has("opera")||has("trident"))&&("scrollIntoView" in _c2)){_c2.scrollIntoView(false);return;}var _c7=doc.compatMode=="BackCompat",_c8=Math.min(_c3.clientWidth||_c4.clientWidth,_c4.clientWidth||_c3.clientWidth),_c9=Math.min(_c3.clientHeight||_c4.clientHeight,_c4.clientHeight||_c3.clientHeight),_ca=(_c6||_c7)?_c3:_c4,_cb=pos||_b6.position(_c2),el=_c2.parentNode,_cc=function(el){return (_c5<=6||(_c5==7&&_c7))?false:(has("position-fixed-support")&&(_b7.get(el,"position").toLowerCase()=="fixed"));},_cd=this,_ce=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_cd.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_cc(_c2)){return;}while(el){if(el==_c3){el=_ca;}var _cf=_b6.position(el),_d0=_cc(el),rtl=_b7.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_ca){_cf.w=_c8;_cf.h=_c9;if(_ca==_c4&&(_c5||has("trident"))&&rtl){_cf.x+=_ca.offsetWidth-_cf.w;}_cf.x=0;_cf.y=0;}else{var pb=_b6.getPadBorderExtents(el);_cf.w-=pb.w;_cf.h-=pb.h;_cf.x+=pb.l;_cf.y+=pb.t;var _d1=el.clientWidth,_d2=_cf.w-_d1;if(_d1>0&&_d2>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_cf.x+=_d2;}_cf.w=_d1;}_d1=el.clientHeight;_d2=_cf.h-_d1;if(_d1>0&&_d2>0){_cf.h=_d1;}}if(_d0){if(_cf.y<0){_cf.h+=_cf.y;_cf.y=0;}if(_cf.x<0){_cf.w+=_cf.x;_cf.x=0;}if(_cf.y+_cf.h>_c9){_cf.h=_c9-_cf.y;}if(_cf.x+_cf.w>_c8){_cf.w=_c8-_cf.x;}}var l=_cb.x-_cf.x,t=_cb.y-_cf.y,r=l+_cb.w-_cf.w,bot=t+_cb.h-_cf.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_ca||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_c5==8&&!_c7)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_ce(el,s,0);s=el.scrollLeft-old;_cb.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_ca||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_ce(el,0,s);s=el.scrollTop-old;_cb.y-=s;}el=(el!=_ca)&&!_d0&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_c2.scrollIntoView(false);}}};1&&_b4.setObject("dojo.window",_be);return _be;});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_d3,_d4,_d5,_d6,_d7){var _d8={};_d3.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(_d9){_d8[_d9]=_d6[_d9];});_d5.mixin(_d8,{defaultDuration:_d4["defaultDuration"]||200});_d5.mixin(_d7,_d8);return _d7;});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_da,_db,_dc,_dd,_de){var _df={};_df.getViewport=function(){return _dc.getBox();};_df.placeOnScreen=_dd.at;_df.placeOnScreenAroundElement=function(_e0,_e1,_e2,_e3){var _e4;if(_db.isArray(_e2)){_e4=_e2;}else{_e4=[];for(var key in _e2){_e4.push({aroundCorner:key,corner:_e2[key]});}}return _dd.around(_e0,_e1,_e4,true,_e3);};_df.placeOnScreenAroundNode=_df.placeOnScreenAroundElement;_df.placeOnScreenAroundRectangle=_df.placeOnScreenAroundElement;_df.getPopupAroundAlignment=function(_e5,_e6){var _e7={};_da.forEach(_e5,function(pos){var ltr=_e6;switch(pos){case "after":_e7[_e6?"BR":"BL"]=_e6?"BL":"BR";break;case "before":_e7[_e6?"BL":"BR"]=_e6?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_e7[ltr?"BL":"BR"]=ltr?"TL":"TR";_e7[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_e7[ltr?"TL":"TR"]=ltr?"BL":"BR";_e7[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _e7;};_db.mixin(_de,_df);return _de;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_e8,_e9,_ea,_eb,win,_ec,_ed){function _ee(_ef,_f0,_f1,_f2){var _f3=_ec.getEffectiveBox(_ef.ownerDocument);if(!_ef.parentNode||String(_ef.parentNode.tagName).toLowerCase()!="body"){win.body(_ef.ownerDocument).appendChild(_ef);}var _f4=null;_e8.some(_f0,function(_f5){var _f6=_f5.corner;var pos=_f5.pos;var _f7=0;var _f8={w:{"L":_f3.l+_f3.w-pos.x,"R":pos.x-_f3.l,"M":_f3.w}[_f6.charAt(1)],h:{"T":_f3.t+_f3.h-pos.y,"B":pos.y-_f3.t,"M":_f3.h}[_f6.charAt(0)]};var s=_ef.style;s.left=s.right="auto";if(_f1){var res=_f1(_ef,_f5.aroundCorner,_f6,_f8,_f2);_f7=typeof res=="undefined"?0:res;}var _f9=_ef.style;var _fa=_f9.display;var _fb=_f9.visibility;if(_f9.display=="none"){_f9.visibility="hidden";_f9.display="";}var bb=_e9.position(_ef);_f9.display=_fa;_f9.visibility=_fb;var _fc={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(_f3.l,Math.min(_f3.l+_f3.w,pos.x+(bb.w>>1))-bb.w)}[_f6.charAt(1)],_fd={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(_f3.t,Math.min(_f3.t+_f3.h,pos.y+(bb.h>>1))-bb.h)}[_f6.charAt(0)],_fe=Math.max(_f3.l,_fc),_ff=Math.max(_f3.t,_fd),endX=Math.min(_f3.l+_f3.w,_fc+bb.w),endY=Math.min(_f3.t+_f3.h,_fd+bb.h),_100=endX-_fe,_101=endY-_ff;_f7+=(bb.w-_100)+(bb.h-_101);if(_f4==null||_f7<_f4.overflow){_f4={corner:_f6,aroundCorner:_f5.aroundCorner,x:_fe,y:_ff,w:_100,h:_101,overflow:_f7,spaceAvailable:_f8};}return !_f7;});if(_f4.overflow&&_f1){_f1(_ef,_f4.aroundCorner,_f4.corner,_f4.spaceAvailable,_f2);}var s=_ef.style;s.top=_f4.y+"px";s.left=_f4.x+"px";s.right="auto";return _f4;};var _102={at:function(node,pos,_103,_104){var _105=_e8.map(_103,function(_106){var c={corner:_106,pos:{x:pos.x,y:pos.y}};if(_104){c.pos.x+=_106.charAt(1)=="L"?_104.x:-_104.x;c.pos.y+=_106.charAt(0)=="T"?_104.y:-_104.y;}return c;});return _ee(node,_105);},around:function(node,_107,_108,_109,_10a){var _10b=(typeof _107=="string"||"offsetWidth" in _107||"ownerSVGElement" in _107)?_e9.position(_107,true):_107;if(_107.parentNode){var _10c=_ea.getComputedStyle(_107).position=="absolute";var _10d=_107.parentNode;while(_10d&&_10d.nodeType==1&&_10d.nodeName!="BODY"){var _10e=_e9.position(_10d,true),pcs=_ea.getComputedStyle(_10d);if(/relative|absolute/.test(pcs.position)){_10c=false;}if(!_10c&&/hidden|auto|scroll/.test(pcs.overflow)){var _10f=Math.min(_10b.y+_10b.h,_10e.y+_10e.h);var _110=Math.min(_10b.x+_10b.w,_10e.x+_10e.w);_10b.x=Math.max(_10b.x,_10e.x);_10b.y=Math.max(_10b.y,_10e.y);_10b.h=_10f-_10b.y;_10b.w=_110-_10b.x;}if(pcs.position=="absolute"){_10c=true;}_10d=_10d.parentNode;}}var x=_10b.x,y=_10b.y,_111="w" in _10b?_10b.w:(_10b.w=_10b.width),_112="h" in _10b?_10b.h:(_eb.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_10b.height+", width:"+_111+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_10b.height+", w:"+_111+" }","","2.0"),_10b.h=_10b.height);var _113=[];function push(_114,_115){_113.push({aroundCorner:_114,corner:_115,pos:{x:{"L":x,"R":x+_111,"M":x+(_111>>1)}[_114.charAt(1)],y:{"T":y,"B":y+_112,"M":y+(_112>>1)}[_114.charAt(0)]}});};_e8.forEach(_108,function(pos){var ltr=_109;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 _116=_ee(node,_113,_10a,{w:_111,h:_112});_116.aroundNodePos=_10b;return _116;}};return _ed.place=_102;});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_117,on,_118,has,win,_119){var _11a=new _117();var _11b;_118(200,function(){var _11c=_119.getBox();_11a._rlh=on(win.global,"resize",function(){var _11d=_119.getBox();if(_11c.h==_11d.h&&_11c.w==_11d.w){return;}_11c=_11d;_11a.emit("resize");});if(has("ie")==8){var _11e=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_11e){_11e=screen.deviceXDPI;_11a.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_11b=evt.target;});on(document,"focusout",function(evt){_11b=null;});}});_11a.getEffectiveBox=function(doc){var box=_119.getBox(doc);var tag=_11b&&_11b.tagName&&_11b.tagName.toLowerCase();if(has("ios")&&_11b&&!_11b.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_11b.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_11b.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _11a;});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_11f,win,_120){var _121=_120._createWrapper;_120._createWrapper=function(_122){if(!_122.declaredClass){_122={_popupWrapper:(_122.parentNode&&_11f.contains(_122.parentNode,"dijitPopup"))?_122.parentNode:null,domNode:_122,destroy:function(){},ownerDocument:_122.ownerDocument,ownerDocumentBody:win.body(_122.ownerDocument)};}return _121.call(this,_122);};var _123=_120.open;_120.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 _123.call(this,args);};return _120;});},"dijit/popup":function(){define(["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/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./main"],function(_124,_125,_126,_127,dom,_128,_129,_12a,_12b,_12c,has,keys,lang,on,_12d,_12e,_12f){function _130(){if(this._popupWrapper){_129.destroy(this._popupWrapper);delete this._popupWrapper;}};var _131=_127(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_132){var _133=_132._popupWrapper,node=_132.domNode;if(!_133){_133=_129.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_132["aria-label"]||_132.label||_132.name||_132.id},_132.ownerDocumentBody);_133.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_132._popupWrapper=_133;_125.after(_132,"destroy",_130,true);}return _133;},moveOffScreen:function(_134){var _135=this._createWrapper(_134);_12b.set(_135,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_136){var _137=this._createWrapper(_136);_12b.set(_137,"display","none");},getTopPopup:function(){var _138=this._stack;for(var pi=_138.length-1;pi>0&&_138[pi].parent===_138[pi-1].widget;pi--){}return _138[pi];},open:function(args){var _139=this._stack,_13a=args.popup,_13b=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_12a.isBodyLtr(_13a.ownerDocument),_13c=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_139.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_139[_139.length-1].widget.domNode))){this.close(_139[_139.length-1].widget);}var _13d=this._createWrapper(_13a);_128.set(_13d,{id:id,style:{zIndex:this._beginZIndex+_139.length},"class":"dijitPopup "+(_13a.baseClass||_13a["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("bgIframe")&&!_13a.bgIframe){_13a.bgIframe=new _12e(_13d);}var best=_13c?_12d.around(_13d,_13c,_13b,ltr,_13a.orient?lang.hitch(_13a,"orient"):null):_12d.at(_13d,args,_13b=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_13d.style.display="";_13d.style.visibility="visible";_13a.domNode.style.visibility="visible";var _13e=[];_13e.push(on(_13d,_126._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_12c.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_12c.stop(evt);var _13f=this.getTopPopup();if(_13f&&_13f.onCancel){_13f.onCancel();}}}})));if(_13a.onCancel&&args.onCancel){_13e.push(_13a.on("cancel",args.onCancel));}_13e.push(_13a.on(_13a.onExecute?"execute":"change",lang.hitch(this,function(){var _140=this.getTopPopup();if(_140&&_140.onExecute){_140.onExecute();}})));_139.push({widget:_13a,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_13e});if(_13a.onOpen){_13a.onOpen(best);}return best;},close:function(_141){var _142=this._stack;while((_141&&_124.some(_142,function(elem){return elem.widget==_141;}))||(!_141&&_142.length)){var top=_142.pop(),_143=top.widget,_144=top.onClose;if(_143.onClose){_143.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_143&&_143.domNode){this.hide(_143);}if(_144){_144();}}}});return (_12f.popup=new _131());});},"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(_145,_146,_147,_148,_149,lang,on,has,win){has.add("bgIframe",has("ie")||has("mozilla"));var _14a=new function(){var _14b=[];this.pop=function(){var _14c;if(_14b.length){_14c=_14b.pop();_14c.style.display="";}else{if(has("ie")<9){var burl=_147["dojoBlankHtmlUrl"]||_145.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="