/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ /* This is an optimized version of Dojo, built for deployment and not for development. To get sources and documentation, please visit: http://dojotoolkit.org */ //>>built require({cache:{"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_1,_2,_3,_4,_5){var _6=_5.doc.documentElement,ie=_4("ie"),_7=_4("opera"),_8=Math.floor,ff=_4("ff"),_9=_1.boxModel.replace(/-/,""),_a={"dj_ie":ie,"dj_ie6":_8(ie)==6,"dj_ie7":_8(ie)==7,"dj_ie8":_8(ie)==8,"dj_ie9":_8(ie)==9,"dj_quirks":_4("quirks"),"dj_iequirks":ie&&_4("quirks"),"dj_opera":_7,"dj_khtml":_4("khtml"),"dj_webkit":_4("webkit"),"dj_safari":_4("safari"),"dj_chrome":_4("chrome"),"dj_gecko":_4("mozilla"),"dj_ff3":_8(ff)==3};_a["dj_"+_9]=true;var _b="";for(var _c in _a){if(_a[_c]){_b+=_c+" ";}}_6.className=_2.trim(_6.className+" "+_b);_3(90,function(){if(!_1.isBodyLtr()){var _d="dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl ");_6.className=_2.trim(_6.className+" "+_d+"dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl "));}});return _4;});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_e,_f,_10,win){_10(90,function(){if(_f("highcontrast")){_e.add(win.body(),"dijit_a11y");}});return _f;});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_11,_12){return _11("dijit._Contained",null,{_getSibling:function(_13){var _14=this.domNode;do{_14=_14[_13+"Sibling"];}while(_14&&_14.nodeType!=1);return _14&&_12.byNode(_14);},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/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_15,on,_16,has,win,_17){var _18=new _15();_16(200,function(){var _19=_17.getBox();_18._rlh=on(win.global,"resize",function(){var _1a=_17.getBox();if(_19.h==_1a.h&&_19.w==_1a.w){return;}_19=_1a;_18.emit("resize");});if(has("ie")==8){var _1b=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_1b){_1b=screen.deviceXDPI;_18.emit("resize");}},500);}});return _18;});},"dojo/parser":function(){define(["./_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(_1c,_1d,_1e,_1f,_20,_21,_22,_23,_24,_25,_26,has,_27,don,_28){new Date("X");var _29=0;_24.after(_1d,"extend",function(){_29++;},true);function _2a(_2b){var map=_2b._nameCaseMap,_2c=_2b.prototype;if(!map||map._extendCnt<_29){map=_2b._nameCaseMap={};for(var _2d in _2c){if(_2d.charAt(0)==="_"){continue;}map[_2d.toLowerCase()]=_2d;}map._extendCnt=_29;}return map;};var _2e={};function _2f(_30){var ts=_30.join();if(!_2e[ts]){var _31=[];for(var i=0,l=_30.length;i.*$/,"");_56=_1e.map(_58.split(/\s+/),function(_59){var _5a=_59.toLowerCase();return {name:_59,value:(_4f.nodeName=="LI"&&_59=="value")||_5a=="enctype"?_4f.getAttribute(_5a):_4f.getAttributeNode(_5a).value};});}}var _5b=_51.scope||_1c._scopeName,_5c="data-"+_5b+"-",_5d={};if(_5b!=="dojo"){_5d[_5c+"props"]="data-dojo-props";_5d[_5c+"type"]="data-dojo-type";_5d[_5c+"mixins"]="data-dojo-mixins";_5d[_5b+"type"]="dojoType";_5d[_5c+"id"]="data-dojo-id";}var i=0,_5e,_5f=[],_60,_61;while(_5e=_56[i++]){var _62=_5e.name,_63=_62.toLowerCase(),_64=_5e.value;switch(_5d[_63]||_63){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_61=_64;break;case "data-dojo-id":case "jsid":_60=_64;break;case "data-dojo-attach-point":case "dojoattachpoint":_55.dojoAttachPoint=_64;break;case "data-dojo-attach-event":case "dojoattachevent":_55.dojoAttachEvent=_64;break;case "class":_55["class"]=_4f.className;break;case "style":_55["style"]=_4f.style&&_4f.style.cssText;break;default:if(!(_62 in _54)){var map=_2a(_4e);_62=map[_63]||_62;}if(_62 in _54){switch(typeof _54[_62]){case "string":_55[_62]=_64;break;case "number":_55[_62]=_64.length?Number(_64):NaN;break;case "boolean":_55[_62]=_64.toLowerCase()!="false";break;case "function":if(_64===""||_64.search(/[^\w\.]+/i)!=-1){_55[_62]=new Function(_64);}else{_55[_62]=_1d.getObject(_64,false)||new Function(_64);}_5f.push(_62);break;default:var _65=_54[_62];_55[_62]=(_65&&"length" in _65)?(_64?_64.split(/\s*,\s*/):[]):(_65 instanceof Date)?(_64==""?new Date(""):_64=="now"?new Date():_25.fromISOString(_64)):(_65 instanceof _22)?(_1c.baseUrl+_64):_23.fromJson(_64);}}else{_55[_62]=_64;}}}for(var j=0;j<_5f.length;j++){var _66=_5f[j].toLowerCase();_4f.removeAttribute(_66);_4f[_66]=null;}if(_61){try{_61=_23.fromJson.call(_51.propsThis,"{"+_61+"}");_1d.mixin(_55,_61);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_61+"'");}}_1d.mixin(_55,_50);if(!_52){_52=(_4e&&(_4e._noScript||_54._noScript)?[]:_27("> script[type^='dojo/']",_4f));}var _67=[],_68=[],_69=[],ons=[];if(_52){for(i=0;i<_52.length;i++){var _6a=_52[i];_4f.removeChild(_6a);var _6b=(_6a.getAttribute(_5c+"event")||_6a.getAttribute("event")),_6c=_6a.getAttribute(_5c+"prop"),_6d=_6a.getAttribute(_5c+"method"),_6e=_6a.getAttribute(_5c+"advice"),_6f=_6a.getAttribute("type"),nf=this._functionFromScript(_6a,_5c);if(_6b){if(_6f=="dojo/connect"){_67.push({method:_6b,func:nf});}else{if(_6f=="dojo/on"){ons.push({event:_6b,func:nf});}else{_55[_6b]=nf;}}}else{if(_6f=="dojo/aspect"){_67.push({method:_6d,advice:_6e,func:nf});}else{if(_6f=="dojo/watch"){_69.push({prop:_6c,func:nf});}else{_68.push(nf);}}}}}var _70=_4e.markupFactory||_54.markupFactory;var _71=_70?_70(_55,_4f,_4e):new _4e(_55,_4f);if(_60){_1d.setObject(_60,_71);}for(i=0;i<_67.length;i++){_24[_67[i].advice||"after"](_71,_67[i].method,_1d.hitch(_71,_67[i].func),true);}for(i=0;i<_68.length;i++){_68[i].call(_71);}for(i=0;i<_69.length;i++){_71.watch(_69[i].prop,_69[i].func);}for(i=0;i=_a8){_a9=_aa[_a8-1].domNode;_a8="after";}}_a6.place(_a7.domNode,_a9,_a8);if(this._started&&!_a7._started){_a7.startup();}},removeChild:function(_ab){if(typeof _ab=="number"){_ab=this.getChildren()[_ab];}if(_ab){var _ac=_ab.domNode;if(_ac&&_ac.parentNode){_ac.parentNode.removeChild(_ac);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_ad,dir){var _ae=this.getChildren(),idx=_a4.indexOf(this.getChildren(),_ad);return _ae[idx+dir];},getIndexOfChild:function(_af){return _a4.indexOf(this.getChildren(),_af);}});});},"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,_b0,_b1,_b2,has,_b3,win){var _b4=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_b4=evt.target;},true);}else{(function(){var _b5=function(evt){_b4=evt.srcElement;};win.doc.attachEvent("onkeydown",_b5);_b3.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_b5);});})();}function _b6(e){return (e.keyCode===_b1.ENTER||e.keyCode===_b1.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(_b7,_b8){if(/input|button/i.test(_b7.nodeName)){return on(_b7,"click",_b8);}else{var _b9=[on(_b7,"keydown",function(e){if(_b6(e)){_b4=e.target;e.preventDefault();}}),on(_b7,"keyup",function(e){if(_b6(e)&&e.target==_b4){_b4=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(_b7,"click",function(e){_b8.call(this,e);})];if(has("touch")){var _ba;_b9.push(on(_b7,"touchend",function(e){var _bb=e.target;_ba=setTimeout(function(){_ba=null;on.emit(_bb,"click",{cancelable:true,bubbles:true});},600);}),on(_b7,"click",function(e){if(_ba){clearTimeout(_ba);}}));}return {remove:function(){_b0.forEach(_b9,function(h){h.remove();});if(_ba){clearTimeout(_ba);_ba=null;}}};}};return ret;});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window","../main"],function(_bc,_bd){_bd.scrollIntoView=function(_be,pos){_bc.scrollIntoView(_be,pos);};});},"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(_bf,_c0,_c1,_c2,_c3,_c4,_c5,_c6,_c7){return _c4("dijit.layout._LayoutWidget",[_c0,_c1,_c2],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_c5.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _c8=this.getParent&&this.getParent();if(!(_c8&&_c8.isLayoutContainer)){this.resize();this.own(_c3.on("resize",_bf.hitch(this,"resize")));}},resize:function(_c9,_ca){var _cb=this.domNode;if(_c9){_c6.setMarginBox(_cb,_c9);}var mb=_ca||{};_bf.mixin(mb,_c9||{});if(!("h" in mb)||!("w" in mb)){mb=_bf.mixin(_c6.getMarginBox(_cb),mb);}var cs=_c7.getComputedStyle(_cb);var me=_c6.getMarginExtents(_cb,cs);var be=_c6.getBorderExtents(_cb,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_c6.getPadExtents(_cb,cs);this._contentBox={l:_c7.toPixelValue(_cb,cs.paddingLeft),t:_c7.toPixelValue(_cb,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_cc){var cls=this.baseClass+"-child "+(_cc.baseClass?this.baseClass+"-"+_cc.baseClass:"");_c5.add(_cc.domNode,cls);},addChild:function(_cd,_ce){this.inherited(arguments);if(this._started){this._setupChild(_cd);}},removeChild:function(_cf){var cls=this.baseClass+"-child"+(_cf.baseClass?" "+this.baseClass+"-"+_cf.baseClass:"");_c5.remove(_cf.domNode,cls);this.inherited(arguments);}});});},"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(_d0){return _d0._base;});},"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(_d1,_d2,_d3,_d4,_d5,_d6,has,_d7,_d8){return _d2("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_d9){this._set("disabled",_d9);_d3.set(this.focusNode,"disabled",_d9);if(this.valueNode){_d3.set(this.valueNode,"disabled",_d9);}this.focusNode.setAttribute("aria-disabled",_d9?"true":"false");if(_d9){this._set("hovering",false);this._set("active",false);var _da="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_d1.forEach(_d5.isArray(_da)?_da:[_da],function(_db){var _dc=this[_db];if(has("webkit")||_d8.hasDefaultTabStop(_dc)){_dc.setAttribute("tabIndex","-1");}else{_dc.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _dd=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_de);this.disconnect(_dd);});var _de=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(_de);this.disconnect(_dd);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_d7.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_d4.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(_df,_e0){if(typeof _df=="number"&&typeof _e0=="number"){return (isNaN(_df)&&isNaN(_e0))?0:_df-_e0;}else{if(_df>_e0){return 1;}else{if(_df<_e0){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_e1,_e2){if(this._lastValueReported==undefined&&(_e2===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_e1;}this._pendingOnChange=this._pendingOnChange||(typeof _e1!=typeof this._lastValueReported)||(this.compare(_e1,this._lastValueReported)!=0);if((this.intermediateChanges||_e2||_e2===undefined)&&this._pendingOnChange){this._lastValueReported=_e1;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_e1);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"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(_e3,_e4,_e5,_e6,_e7,_e8,on,has,win){var _e9=new function(){var _ea=[];this.pop=function(){var _eb;if(_ea.length){_eb=_ea.pop();_eb.style.display="";}else{if(has("ie")<9){var _ec=_e5["dojoBlankHtmlUrl"]||_e3.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var _ed="