/* 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 (function(_1,_2){var _3=function(){},_4=function(it){for(var p in it){return 0;}return 1;},_5={}.toString,_6=function(it){return _5.call(it)=="[object Function]";},_7=function(it){return _5.call(it)=="[object String]";},_8=function(it){return _5.call(it)=="[object Array]";},_9=function(_a,_b){if(_a){for(var i=0;i<_a.length;){_b(_a[i++]);}}},_c=function(_d,_e){for(var p in _e){_d[p]=_e[p];}return _d;},_f=function(_10,_11){return _c(new Error(_10),{src:"dojoLoader",info:_11});},_12=1,uid=function(){return "_"+_12++;},req=function(_13,_14,_15){return _16(_13,_14,_15,0,req);},_17=this,doc=_17.document,_18=doc&&doc.createElement("DiV"),has=req.has=function(_19){return _6(_1a[_19])?(_1a[_19]=_1a[_19](_17,doc,_18)):_1a[_19];},_1a=has.cache=_2.hasCache;has.add=function(_1b,_1c,now,_1d){(_1a[_1b]===undefined||_1d)&&(_1a[_1b]=_1c);return now&&has(_1b);};false&&has.add("host-node",_1.has&&"host-node" in _1.has?_1.has["host-node"]:(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));if(0){require("./_base/configNode.js").config(_2);_2.loaderPatch.nodeRequire=require;}false&&has.add("host-rhino",_1.has&&"host-rhino" in _1.has?_1.has["host-rhino"]:(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));if(0){for(var _1e=_1.baseUrl||".",arg,_1f=this.arguments,i=0;i<_1f.length;){arg=(_1f[i++]+"").split("=");if(arg[0]=="baseUrl"){_1e=arg[1];break;}}load(_1e+"/_base/configRhino.js");rhinoDojoConfig(_2,_1e,_1f);}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _20=1,_21=2,_22=3,_23=4,_24=5;if(0){_20="requested";_21="arrived";_22="not-a-module";_23="executing";_24="executed";}var _25=0,_26="sync",xd="xd",_27=[],_28=0,_29=_3,_2a=_3,_2b;if(1){req.isXdUrl=_3;req.initSyncLoader=function(_2c,_2d,_2e){if(!_28){_28=_2c;_29=_2d;_2a=_2e;}return {sync:_26,xd:xd,arrived:_21,nonmodule:_22,executing:_23,executed:_24,syncExecStack:_27,modules:_2f,execQ:_30,getModule:_31,injectModule:_32,setArrived:_33,signal:_34,finishExec:_35,execModule:_36,dojoRequirePlugin:_28,getLegacyMode:function(){return _25;},holdIdle:function(){_77++;},releaseIdle:function(){_37();}};};if(1){var _38=location.protocol,_39=location.host,_3a=!_39;req.isXdUrl=function(url){if(_3a||/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3b=url.match(/^([^\/\:]+\:)\/\/([^\/]+)/);return _3b&&(_3b[1]!=_38||_3b[2]!=_39);};true||has.add("dojo-xhr-factory",1);has.add("dojo-force-activex-xhr",1&&!doc.addEventListener&&window.location.protocol=="file:");has.add("native-xhr",typeof XMLHttpRequest!="undefined");if(has("native-xhr")&&!has("dojo-force-activex-xhr")){_2b=function(){return new XMLHttpRequest();};}else{for(var _3c=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_3d,i=0;i<3;){try{_3d=_3c[i++];if(new ActiveXObject(_3d)){break;}}catch(e){}}_2b=function(){return new ActiveXObject(_3d);};}req.getXhr=_2b;has.add("dojo-gettext-api",1);req.getText=function(url,_3e,_3f){var xhr=_2b();xhr.open("GET",_40(url),false);xhr.send(null);if(xhr.status==200||(!location.host&&!xhr.status)){if(_3f){_3f(xhr.responseText,_3e);}}else{throw _f("xhrFailed",xhr.status);}return xhr.responseText;};}}else{req.async=1;}var _41=new Function("return eval(arguments[0]);");req.eval=function(_42,_43){return _41(_42+"\r\n//# sourceURL="+_43);};var _44={},_45="error",_34=req.signal=function(_46,_47){var _48=_44[_46];_9(_48&&_48.slice(0),function(_49){_49.apply(null,_8(_47)?_47:[_47]);});},on=req.on=function(_4a,_4b){var _4c=_44[_4a]||(_44[_4a]=[]);_4c.push(_4b);return {remove:function(){for(var i=0;i<_4c.length;i++){if(_4c[i]===_4b){_4c.splice(i,1);return;}}}};};var _4d=[],_4e={},_4f=[],_50={},_51={},_52=[],_2f={},_53="",_54={},_55={},_56={};if(1){var _57=function(_58){var p,_59,_5a,now;for(p in _55){_59=_55[p];_5a=p.match(/^url\:(.+)/);if(_5a){_54[_5b(_5a[1],_58)]=_59;}else{if(p=="*now"){now=_59;}else{if(p!="*noref"){_54[_5c(p,_58).mid]=_59;}}}}if(now){now(_5d(_58));}_55={};},_5e=function(map,_5f,_60){_5f.splice(0,_5f.length);var p,i,_61,_62=0;for(p in map){_5f.push([p,map[p]]);if(map[p]==_60){_62=p;}}_5f.sort(function(lhs,rhs){return rhs[0].length-lhs[0].length;});for(i=0;i<_5f.length;){_61=_5f[i++];_61[2]=new RegExp("^"+_61[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;})+"(/|$)");_61[3]=_61[0].length+1;}return _62;},_63=function(_64,_65){var _66=_64.name;if(!_66){_66=_64;_64={name:_66};}_64=_c({main:"main",mapProg:[]},_64);_64.location=(_65||"")+(_64.location?_64.location:_66);_64.reverseName=_5e(_64.packageMap,_64.mapProg,_66);if(!_64.main.indexOf("./")){_64.main=_64.main.substring(2);}_c(_4e,_64.paths);_50[_66]=_64;_51[_66]=_66;},_67=function(_68,_69){for(var p in _68){if(p=="waitSeconds"){req.waitms=(_68[p]||0)*1000;}if(p=="cacheBust"){_53=_68[p]?(_7(_68[p])?_68[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_68[p];}if(1&&p=="async"){var _6a=_68[p];req.legacyMode=_25=(_7(_6a)&&/sync|legacyAsync/.test(_6a)?_6a:(!_6a?"sync":false));req.async=!_25;}if(_68[p]!==_1a){req.rawConfig[p]=_68[p];p!="has"&&has.add("config-"+p,_68[p],0,_69);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _68.has){has.add(p,_68.has[p],0,_69);}_9(_68.packages,_63);for(var _6b in _68.packagePaths){_9(_68.packagePaths[_6b],function(_6c){_63(_6c,_6b+"/");});}_5e(_c(_4e,_68.paths),_4f);_9(_68.aliases,function(_6d){if(_7(_6d[0])){_6d[0]=new RegExp("^"+_6d[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;})+"$");}_4d.push(_6d);});_5e(_c(_51,_68.packageMap),_52);if(_68.cache){_57();_55=_68.cache;if(_68.cache["*noref"]){_57();}}_34("config",[_68,req.rawConfig]);};if(has("dojo-cdn")||1){for(var _6e,src,_6f,_70=doc.getElementsByTagName("script"),i=0;i<_70.length&&!_6f;i++){if((src=_70[i].getAttribute("src"))&&(_6f=src.match(/(.*)\/?dojo\.js(\W|$)/i))){_1.baseUrl=_6e=_1.baseUrl||_2.baseUrl||_6f[1];src=(_70[i].getAttribute("data-dojo-config")||_70[i].getAttribute("djConfig"));if(src){_56=req.eval("({ "+src+" })","data-dojo-config");}if(0){var _71=_70[i].getAttribute("data-main");if(_71){_56.deps=_56.deps||[_71];}}}}}if(0){try{if(window.parent!=window&&window.parent.require){var doh=window.parent.require("doh");doh&&_c(_56,doh.testConfig);}}catch(e){}}req.rawConfig={};_67(_2,1);_67(_1,1);_67(_56,1);if(has("dojo-cdn")){_50.dojo.location=_6e;_50.dijit.location=_6e+"../dijit/";_50.dojox.location=_6e+"../dojox/";}}else{_4e=_2.paths;_4f=_2.pathsMapProg;_50=_2.packs;_4d=_2.aliases;_51=_2.packageMap;_52=_2.packageMapProg;_2f=_2.modules;_54=_2.cache;_53=_2.cacheBust;req.rawConfig=_2;}if(0){req.combo=req.combo||{add:_3};var _72=0,_73=[],_74=null;}var _75=function(_76){_77++;_9(_76.deps,_32);if(0&&_72&&!_74){_74=setTimeout(function(){_72=0;_74=null;req.combo.done(function(_78,url){var _79=function(){_7a(0,_78);_7b();};_73.push(_78);_7c=_78;req.injectUrl(url,_79,_78);_7c=0;},req);},0);}_37();},_16=function(a1,a2,a3,_7d,_7e){var _7f,_80;if(_7(a1)){_7f=_31(a1,_7d,true);if(_7f&&_7f.executed){return _7f.result;}throw _f("undefinedModule",a1);}if(!_8(a1)){_67(a1);a1=a2;a2=a3;}if(_8(a1)){if(!a1.length){a2&&a2();}else{_80="require*"+uid();for(var mid,_81=[],i=0;i_ac){_ad=_6(_ae[1])?mid.replace(_ae[0],_ae[1]):_ae[1];}});if(_ad){return _9b(_ad,0,_9d,_9e,_9f,_a0,_a1,_a2);}_a8=_9e[mid];if(_a8){return _a2?_82(_a8.pid,_a8.mid,_a8.pack,_a8.url,_ab):_9e[mid];}}_a6=_92(mid,_a1);if(_a6){url=_a6[1]+mid.substring(_a6[3]-1);}else{if(pid){url=_a3.location+"/"+_a4;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_9f+url;}url+=".js";return _82(pid,mid,_a3,_94(url),_ab);},_5c=function(mid,_b0){return _9b(mid,_b0,_50,_2f,req.baseUrl,_52,_4f);},_b1=function(_b2,_b3,_b4){return _b2.normalize?_b2.normalize(_b3,function(mid){return _b5(mid,_b4);}):_b5(_b3,_b4);},_b6=0,_31=function(mid,_b7,_b8){var _b9,_ba,_bb,_bc;_b9=mid.match(/^(.+?)\!(.*)$/);if(_b9){_ba=_31(_b9[1],_b7,_b8);if(1&&_25==_26&&!_ba.executed){_32(_ba);if(_ba.injected===_21&&!_ba.executed){_77++;_36(_ba);_37();}if(_ba.executed){_bd(_ba);}else{_30.unshift(_ba);}}if(_ba.executed===_24&&!_ba.load){_bd(_ba);}if(_ba.load){_bb=_b1(_ba,_b9[2],_b7);mid=(_ba.mid+"!"+(_ba.dynamic?++_b6+"!":"")+_bb);}else{_bb=_b9[2];mid=_ba.mid+"!"+(++_b6)+"!waitingForPlugin";}_bc={plugin:_ba,mid:mid,req:_5d(_b7),prid:_bb};}else{_bc=_5c(mid,_b7);}return _2f[_bc.mid]||(!_b8&&(_2f[_bc.mid]=_bc));},_b5=req.toAbsMid=function(mid,_be){return _5c(mid,_be).mid;},_5b=req.toUrl=function(_bf,_c0){var _c1=_5c(_bf+"/x",_c0),url=_c1.url;return _40(_c1.pid===0?_bf:url.substring(0,url.length-5));},_c2={injected:_21,executed:_24,def:_22,result:_22},_c3=function(mid){return _2f[mid]=_c({mid:mid},_c2);},_c4=_c3("require"),_c5=_c3("exports"),_c6=_c3("module"),_c7=function(_c8,_c9){req.trace("loader-run-factory",[_c8.mid]);var _ca=_c8.def,_cb;1&&_27.unshift(_c8);if(has("config-dojo-loader-catches")){try{_cb=_6(_ca)?_ca.apply(null,_c9):_ca;}catch(e){_34(_45,_c8.result=_f("factoryThrew",[_c8,e]));}}else{_cb=_6(_ca)?_ca.apply(null,_c9):_ca;}_c8.result=_cb===undefined&&_c8.cjs?_c8.cjs.exports:_cb;1&&_27.shift(_c8);},_cc={},_cd=0,_bd=function(_ce){var _cf=_ce.result;_ce.dynamic=_cf.dynamic;_ce.normalize=_cf.normalize;_ce.load=_cf.load;return _ce;},_d0=function(_d1){var map={};_9(_d1.loadQ,function(_d2){var _d3=_d2.mid,_d4=_b1(_d1,_d2.prid,_d2.req.module),mid=_d1.dynamic?_d2.mid.replace(/waitingForPlugin$/,_d4):(_d1.mid+"!"+_d4),_d5=_c(_c({},_d2),{mid:mid,prid:_d4,injected:0});if(!_2f[mid]){_e6(_2f[mid]=_d5);}map[_d2.mid]=_2f[mid];_33(_d2);delete _2f[_d2.mid];});_d1.loadQ=0;var _d6=function(_d7){for(var _d8,_d9=_d7.deps||[],i=0;i<_d9.length;i++){_d8=map[_d9[i].mid];if(_d8){_d9[i]=_d8;}}};for(var p in _2f){_d6(_2f[p]);}_9(_30,_d6);},_35=function(_da){req.trace("loader-finish-exec",[_da.mid]);_da.executed=_24;_da.defOrder=_cd++;1&&_9(_da.provides,function(cb){cb();});if(_da.loadQ){_bd(_da);_d0(_da);}for(i=0;i<_30.length;){if(_30[i]===_da){_30.splice(i,1);}else{i++;}}},_db=[],_36=function(_dc,_dd){if(_dc.executed===_23){req.trace("loader-circular-dependency",[_db.concat(mid).join("->")]);return (!_dc.def||_dd)?_cc:(_dc.cjs&&_dc.cjs.exports);}if(!_dc.executed){if(!_dc.def){return _cc;}var mid=_dc.mid,_de=_dc.deps||[],arg,_df,_e0=[],i=0;if(0){_db.push(mid);req.trace("loader-exec-module",["exec",_db.length,mid]);}_dc.executed=_23;while(i<_de.length){arg=_de[i++];_df=((arg===_c4)?_5d(_dc):((arg===_c5)?_dc.cjs.exports:((arg===_c6)?_dc.cjs:_36(arg,_dd))));if(_df===_cc){_dc.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_db.pop();return _cc;}_e0.push(_df);}_c7(_dc,_e0);_35(_dc);}0&&_db.pop();return _dc.result;},_77=0,_7b=function(){if(_77){return;}_77++;_29();for(var _e1,_e2,i=0;i<_30.length;){_e1=_cd;_e2=_30[i];_36(_e2);if(_e1!=_cd){_29();i=0;}else{i++;}}_37();},_37=function(){_77--;if(_91()){_34("idle",[]);}};if(0){req.undef=function(_e3,_e4){var _e5=_31(_e3,_e4);_33(_e5);delete _2f[_e5.mid];};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _40=function(url){url+="";return url+(_53?((/\?/.test(url)?"&":"?")+_53):"");},_e6=function(_e7){var _e8=_e7.plugin;if(_e8.executed===_24&&!_e8.load){_bd(_e8);}var _e9=function(def){_e7.result=def;_33(_e7);_35(_e7);_7b();};if(_e8.load){_e8.load(_e7.prid,_e7.req,_e9);}else{if(_e8.loadQ){_e8.loadQ.push(_e7);}else{_e8.loadQ=[_e7];_30.unshift(_e8);_32(_e8);}}},_89=0,_7c=0,_ea=0,_8a=function(_eb,_ec){_ea=1;if(has("config-dojo-loader-catches")){try{if(_eb===_89){_89.call(null);}else{req.eval(_eb,has("dojo-loader-eval-hint-url")?_ec.url:_ec.mid);}}catch(e){_34(_45,_f("evalModuleThrew",_ec));}}else{if(_eb===_89){_89.call(null);}else{req.eval(_eb,has("dojo-loader-eval-hint-url")?_ec.url:_ec.mid);}}_ea=0;},_32=function(_ed){var mid=_ed.mid,url=_ed.url;if(_ed.executed||_ed.injected||_8c[mid]||(_ed.url&&((_ed.pack&&_8c[_ed.url]===_ed.pack)||_8c[_ed.url]==1))){return;}_8d(_ed);if(0){var _ee=0;if(_ed.plugin&&_ed.plugin.isCombo){req.combo.add(_ed.plugin.mid,_ed.prid,0,req);_ee=1;}else{if(!_ed.plugin){_ee=req.combo.add(0,_ed.mid,_ed.url,req);}}if(_ee){_72=1;return;}}if(_ed.plugin){_e6(_ed);return;}var _ef=function(){_7a(_ed);if(_ed.injected!==_21){_33(_ed);_c(_ed,_c2);}if(1&&_25){!_27.length&&_7b();}else{_7b();}};_89=_54[mid]||_54[_ed.cacheId];if(_89){req.trace("loader-inject",["cache",_ed.mid,url]);_8a(_89,_ed);_ef();return;}if(1&&_25){if(_ed.isXd){_25==_26&&(_25=xd);}else{if(_ed.isAmd&&_25!=_26){}else{var _f0=function(_f1){if(_25==_26){_27.unshift(_ed);_8a(_f1,_ed);_27.shift();_7a(_ed);if(!_ed.cjs){_33(_ed);_35(_ed);}if(_ed.finish){var _f2=mid+"*finish",_f3=_ed.finish;delete _ed.finish;def(_f2,["dojo",("dojo/require!"+_f3.join(",")).replace(/\./g,"/")],function(_f4){_9(_f3,function(mid){_f4.require(mid);});});_30.unshift(_31(_f2));}_ef();}else{_f1=_2a(_ed,_f1);if(_f1){_8a(_f1,_ed);_ef();}else{_7c=_ed;req.injectUrl(_40(url),_ef,_ed);_7c=0;}}};req.trace("loader-inject",["xhr",_ed.mid,url,_25!=_26]);if(has("config-dojo-loader-catches")){try{req.getText(url,_25!=_26,_f0);}catch(e){_34(_45,_f("xhrInjectFailed",[_ed,e]));}}else{req.getText(url,_25!=_26,_f0);}return;}}}req.trace("loader-inject",["script",_ed.mid,url]);_7c=_ed;req.injectUrl(_40(url),_ef,_ed);_7c=0;},_f5=function(_f6,_f7,def){req.trace("loader-define-module",[_f6.mid,_f7]);if(0&&_f6.plugin&&_f6.plugin.isCombo){_f6.result=_6(def)?def():def;_33(_f6);_35(_f6);return _f6;}var mid=_f6.mid;if(_f6.injected===_21){_34(_45,_f("multipleDefine",_f6));return _f6;}_c(_f6,{deps:_f7,def:def,cjs:{id:_f6.mid,uri:_f6.url,exports:(_f6.result={}),setExports:function(_f8){_f6.cjs.exports=_f8;}}});for(var i=0;i<_f7.length;i++){_f7[i]=_31(_f7[i],_f6);}if(1&&_25&&!_8c[mid]){_75(_f6);_30.push(_f6);_7b();}_33(_f6);if(!_6(def)&&!_f7.length){_f6.result=def;_35(_f6);}return _f6;},_7a=function(_f9,_fa){var _fb=[],_fc,_fd;while(_8b.length){_fd=_8b.shift();_fa&&(_fd[0]=_fa.shift());_fc=(_fd[0]&&_31(_fd[0]))||_f9;_fb.push([_fc,_fd[1],_fd[2]]);}_57(_f9);_9(_fb,function(_fe){_75(_f5.apply(null,_fe));});};}var _ff=0,_90=_3,_100=_3;if(1){_90=function(){_ff&&clearTimeout(_ff);_ff=0;},_100=function(){_90();req.waitms&&(_ff=setTimeout(function(){_90();_34(_45,_f("timeout",_8c));},req.waitms));};}if(1){has.add("ie-event-behavior",doc.attachEvent&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _101=function(node,_102,_103,_104){if(!has("ie-event-behavior")){node.addEventListener(_102,_104,false);return function(){node.removeEventListener(_102,_104,false);};}else{node.attachEvent(_103,_104);return function(){node.detachEvent(_103,_104);};}},_105=_101(window,"load","onload",function(){req.pageLoaded=1;doc.readyState!="complete"&&(doc.readyState="complete");_105();});if(1){var _106=doc.getElementsByTagName("script")[0],_107=_106.parentNode;req.injectUrl=function(url,_108,_109){_100();var node=_109.node=doc.createElement("script"),_10a=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_10b();_108&&_108();}},_10b=_101(node,"load","onreadystatechange",_10a);node.type="text/javascript";node.charset="utf-8";node.src=url;_107.insertBefore(node,_106);return node;};}}if(1){req.log=function(){try{for(var i=0;i0){_126._delayTimer=setTimeout(_127,de);return _126;}_127();return _126;},_play:function(_128){var _129=this;if(_129._delayTimer){_129._clearTimer();}_129._startTime=new Date().valueOf();if(_129._paused){_129._startTime-=_129.duration*_129._percent;}_129._active=true;_129._paused=false;var _12a=_129.curve.getValue(_129._getStep());if(!_129._percent){if(!_129._startRepeatCount){_129._startRepeatCount=_129.repeat;}_129._fire("onBegin",[_12a]);}_129._fire("onPlay",[_12a]);_129._cycle();return _129;},pause:function(){var _12b=this;if(_12b._delayTimer){_12b._clearTimer();}_12b._stopTimer();if(!_12b._active){return _12b;}_12b._paused=true;_12b._fire("onPause",[_12b.curve.getValue(_12b._getStep())]);return _12b;},gotoPercent:function(_12c,_12d){var _12e=this;_12e._stopTimer();_12e._active=_12e._paused=true;_12e._percent=_12c;if(_12d){_12e.play();}return _12e;},stop:function(_12f){var _130=this;if(_130._delayTimer){_130._clearTimer();}if(!_130._timer){return _130;}_130._stopTimer();if(_12f){_130._percent=1;}_130._fire("onStop",[_130.curve.getValue(_130._getStep())]);_130._active=_130._paused=false;return _130;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _131=this;if(_131._active){var curr=new Date().valueOf();var step=(curr-_131._startTime)/(_131.duration);if(step>=1){step=1;}_131._percent=step;if(_131.easing){step=_131.easing(step);}_131._fire("onAnimate",[_131.curve.getValue(step)]);if(_131._percent<1){_131._startTimer();}else{_131._active=false;if(_131.repeat>0){_131.repeat--;_131.play(null,true);}else{if(_131.repeat==-1){_131.play(null,true);}else{if(_131._startRepeatCount){_131.repeat=_131._startRepeatCount;_131._startRepeatCount=0;}}}_131._percent=0;_131._fire("onEnd",[_131.node]);!_131.repeat&&_131._stopTimer();}}return _131;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_132=null,_133={run:function(){}};lang.extend(dojo.Animation,{_startTimer:function(){if(!this._timer){this._timer=_11e.connect(_133,"run",this,"_cycle");ctr++;}if(!_132){_132=setInterval(lang.hitch(_133,"run"),this.rate);}},_stopTimer:function(){if(this._timer){_11e.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_132);_132=null;ctr=0;}}});var _134=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_11f.get(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=dom.byId(args.node);var _135=_120({properties:{}},args),_136=(_135.properties.opacity={});_136.start=!("start" in _135)?function(){return +_11f.get(_135.node,"opacity")||0;}:_135.start;_136.end=_135.end;var anim=dojo.animateProperty(_135);_11e.connect(anim,"beforeBegin",lang.partial(_134,_135.node));return anim;};dojo.fadeIn=function(args){return dojo._fade(_120({end:1},args));};dojo.fadeOut=function(args){return dojo._fade(_120({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _137=function(_138){this._properties=_138;for(var p in _138){var prop=_138[p];if(prop.start instanceof _11d){prop.tempColor=new _11d();}}};_137.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_139=prop.start;if(_139 instanceof _11d){ret[p]=_11d.blendColors(_139,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_139)){ret[p]=((prop.end-_139)*r)+_139+(p!="opacity"?prop.units||"px":0);}}}return ret;};dojo.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new dojo.Animation(args);_11e.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];if(lang.isFunction(prop)){prop=prop(n);}prop=pm[p]=_120({},(lang.isObject(prop)?prop:{end:prop}));if(lang.isFunction(prop.start)){prop.start=prop.start(n);}if(lang.isFunction(prop.end)){prop.end=prop.end(n);}var _13a=(p.toLowerCase().indexOf("color")>=0);function _13b(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_11f.get(node,p);return (p=="opacity")?+v:(_13a?v:parseFloat(v));};if(!("end" in prop)){prop.end=_13b(n,p);}else{if(!("start" in prop)){prop.start=_13b(n,p);}}if(_13a){prop.start=new _11d(prop.start);prop.end=new _11d(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _137(pm);});_11e.connect(anim,"onAnimate",lang.hitch(_11f,"set",anim.node));return anim;};dojo.anim=function(node,_13c,_13d,_13e,_13f,_140){return dojo.animateProperty({node:node,duration:_13d||dojo.Animation.prototype.duration,properties:_13c,easing:_13e,onEnd:_13f}).play(_140||0);};return {_Line:dojo._Line,Animation:dojo.Animation,_fade:dojo._fade,fadeIn:dojo.fadeIn,fadeOut:dojo.fadeOut,_defaultEasing:dojo._defaultEasing,animateProperty:dojo.animateProperty,anim:dojo.anim};});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _141(obj,name,_142){if(_142===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_142];}else{if(lang.isArray(val)){val.push(_142);}else{obj[name]=_142;}}};var _143="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_144){var ret=null;_144=dom.byId(_144);if(_144){var _145=_144.name,type=(_144.type||"").toLowerCase();if(_145&&type&&!_144.disabled){if(type=="radio"||type=="checkbox"){if(_144.checked){ret=_144.value;}}else{if(_144.multiple){ret=[];var _146=[_144.firstChild];while(_146.length){for(var node=_146.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_146.push(node.nextSibling);}if(node.firstChild){_146.push(node.firstChild);}break;}}}}else{ret=_144.value;}}}}return ret;},toObject:function formToObject(_147){var ret={},_148=dom.byId(_147).elements;for(var i=0,l=_148.length;i=0;i--){var node=(_1a4?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1a6){_1a6=_1a5.ownerDocument.createElement("div");}_1a6.appendChild(node);dojo.parser.parse(_1a6);node=_1a6.firstChild;while(_1a6.firstChild){_1a6.removeChild(_1a6.firstChild);}}if(i==_1a7-1){_194.place(node,_1a5,_1a3);}else{_1a5.parentNode.insertBefore(node,_1a5);}_1a5=node;}},attr:awc(_19b(_196),_198),style:awc(_19b(_197),_198),addClass:aafe(_193.add),removeClass:aafe(_193.remove),replaceClass:aafe(_193.replace),toggleClass:aafe(_193.toggle),empty:aafe(_194.empty),removeAttr:aafe(_196.remove),position:aam(_195.position),marginBox:aam(_195.getMarginBox),place:function(_1a8,_1a9){var item=_191(_1a8)[0];return this.forEach(function(node){_194.place(node,item,_1a9);});},orphan:function(_1aa){return (_1aa?_191._filterResult(this,_1aa):this).forEach(_199);},adopt:function(_1ab,_1ac){return _191(_1ab).place(this[0],_1ac)._stash(this);},query:function(_1ad){if(!_1ad){return this;}var ret=new _19a;this.map(function(node){_191(_1ad,node).forEach(function(_1ae){if(_1ae!==undefined){ret.push(_1ae);}});});return ret._stash(this);},filter:function(_1af){var a=arguments,_1b0=this,_1b1=0;if(typeof _1af=="string"){_1b0=_191._filterResult(this,a[0]);if(a.length==1){return _1b0._stash(this);}_1b1=1;}return this._wrap(_192.filter(_1b0,a[_1b1],a[_1b1+1]),this);},addContent:function(_1b2,_1b3){_1b2=this._normalize(_1b2,this[0]);for(var i=0,node;(node=this[i]);i++){this._place(_1b2,node,_1b3,i>0);}return this;}});return _19a;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_1b4,lang,_1b5,_1b6){"use strict";has.add("array-extensible",function(){return lang.delegate([],{length:1}).length==1&&!has("bug-for-in-skips-shadowed");});var ap=Array.prototype,aps=ap.slice,apc=ap.concat,_1b7=_1b4.forEach;var tnl=function(a,_1b8,_1b9){var _1ba=new (_1b9||this._NodeListCtor||nl)(a);return _1b8?_1ba._stash(_1b8):_1ba;};var _1bb=function(f,a,o){a=[0].concat(aps.call(a,0));o=o||dojo.global;return function(node){a[0]=node;return f.apply(o,a);};};var _1bc=function(f,o){return function(){this.forEach(_1bb(f,arguments,o));return this;};};var _1bd=function(f,o){return function(){return this.map(_1bb(f,arguments,o));};};var _1be=function(f,o){return function(){return this.filter(_1bb(f,arguments,o));};};var _1bf=function(f,g,o){return function(){var a=arguments,body=_1bb(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _1c0=function(_1c1){var _1c2=this instanceof nl&&has("array-extensible");if(typeof _1c1=="number"){_1c1=Array(_1c1);}var _1c3=(_1c1&&"length" in _1c1)?_1c1:arguments;if(_1c2||!_1c3.sort){var _1c4=_1c2?this:[],l=_1c4.length=_1c3.length;for(var i=0;i0;};_1d5.filter=_1d3.filter||function(_1d9,_1da,root){return _1d5(_1da,root).filter(function(node){return _1b4.indexOf(_1d9,node)>-1;});};if(typeof _1d3!="function"){var _1db=_1d3.search;_1d3=function(_1dc,root){return _1db(root||document,_1dc);};}return _1d5;};var _1cf=_1d2(_1b6,_1c0);dojo.query=_1d2(_1b6,function(_1dd){return _1c0(_1dd);});_1cf.load=function(id,_1de,_1df,_1e0){_1b5.load(id,_1de,function(_1e1){_1df(_1d2(_1e1,_1c0));});};dojo._filterQueryResult=_1cf._filterResult=function(_1e2,_1e3,root){return new _1c0(_1cf.filter(_1e2,_1e3,root));};dojo.NodeList=_1cf.NodeList=_1c0;return _1cf;});},"dojo/has":function(){define(["require"],function(_1e4){var has=_1e4.has||function(){};if(!1){var _1e5=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_1e6=(function(){return this;})(),doc=_1e5&&document,_1e7=doc&&doc.createElement("DiV"),_1e8={};has=function(name){return typeof _1e8[name]=="function"?(_1e8[name]=_1e8[name](_1e6,doc,_1e7)):_1e8[name];};has.cache=_1e8;has.add=function(name,test,now,_1e9){(typeof _1e8[name]=="undefined"||_1e9)&&(_1e8[name]=test);return now&&has(name);};true||has.add("host-browser",_1e5);false&&has.add("host-node",(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));false&&has.add("host-rhino",(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));true||has.add("dom",_1e5);true||has.add("dojo-dom-ready-api",1);true||has.add("dojo-sniff",1);}if(1){var _1ea=navigator.userAgent;has.add("dom-addeventlistener",!!document.addEventListener);has.add("touch","ontouchstart" in document);has.add("device-width",screen.availWidth||innerWidth);has.add("agent-ios",!!_1ea.match(/iPhone|iP[ao]d/));has.add("agent-android",_1ea.indexOf("android")>1);}has.clearElement=function(_1eb){_1eb.innerHTML="";return _1eb;};has.normalize=function(id,_1ec){var _1ed=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_1ed[i++];if(term==":"){return 0;}else{if(_1ed[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_1ec(id);};has.load=function(id,_1ee,_1ef){if(id){_1ee([id],_1ef);}else{_1ef();}};return has;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","./json","./lang","./array"],function(dojo,has,_1f0,_1f1,json,lang,_1f2){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}var _1f3=function(id){return {src:_1f1.id,id:id};},_1f4=function(name){return name.replace(/\./g,"/");},_1f5=/\/\/>>built/,_1f6=[],_1f7=[],_1f8=function(mid,_1f9,_1fa){_1f6.push(_1fa);_1f2.forEach(mid.split(","),function(mid){var _1fb=_1fc(mid,_1f9.module);_1f7.push(_1fb);_1fd(_1fb);});_1fe();},_1ff,_200=function(m){_1ff[m.mid]=1;for(var t,_201,deps=m.deps||[],i=0;i=0;--j){_264=lin[j].prototype;if(!_264.hasOwnProperty("declaredClass")){_264.declaredClass="uniqName_"+(_25b++);}name=_264.declaredClass;if(!_262.hasOwnProperty(name)){_262[name]={count:0,refs:[],cls:lin[j]};++_263;}rec=_262[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_261[0].refs.push(top);}while(_261.length){top=_261.pop();_260.push(top.cls);--_263;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_260.push(top.cls);--_263;}if(top){for(i=0,l=refs.length;i=0;--i){f=_27e[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_280?_280[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _282(ctor,_283){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _281(a);}if(_283){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(ctor){ctor.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}};};function _284(_285){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _281(a);}for(;f=_285[i];++i){m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,a);break;}}f=this.postscript;if(f){f.apply(this,a);}};};function _286(name,_287,_288){return function(){var b,m,f,i=0,step=1;if(_288){i=_287.length-1;step=-1;}for(;b=_287[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _289(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _281(args){var ctor=args.callee,t=_289(ctor);ctor.apply(t,args);return t;};function _27a(_28a,_28b,_28c){if(typeof _28a!="string"){_28c=_28b;_28b=_28a;_28a="";}_28c=_28c||{};var _28d,i,t,ctor,name,_28e,_28f,_290=1,_291=_28b;if(opts.call(_28b)=="[object Array]"){_28e=_25d(_28b,_28a);t=_28e[0];_290=_28e.length-t;_28b=_28e[_290];}else{_28e=[0];if(_28b){if(opts.call(_28b)=="[object Function]"){t=_28b._meta;_28e=_28e.concat(t?t.bases:_28b);}else{err("base class is not a callable constructor.",_28a);}}else{if(_28b!==null){err("unknown base class. Did you use dojo.require to pull it in?",_28a);}}}if(_28b){for(i=_290-1;;--i){_28d=_289(_28b);if(!i){break;}t=_28e[i];(t._meta?_270:mix)(_28d,t.prototype);ctor=new Function;ctor.superclass=_28b;ctor.prototype=_28d;_28b=_28d.constructor=ctor;}}else{_28d={};}_27a.safeMixin(_28d,_28c);t=_28c.constructor;if(t!==op.constructor){t.nom=_25c;_28d.constructor=t;}for(i=_290-1;i;--i){t=_28e[i]._meta;if(t&&t.chains){_28f=mix(_28f||{},t.chains);}}if(_28d["-chains-"]){_28f=mix(_28f||{},_28d["-chains-"]);}t=!_28f||!_28f.hasOwnProperty(_25c);_28e[0]=ctor=(_28f&&_28f.constructor==="manual")?_284(_28e):(_28e.length==1?_282(_28c.constructor,t):_27d(_28e,t));ctor._meta={bases:_28e,hidden:_28c,chains:_28f,parents:_291,ctor:_28c.constructor};ctor.superclass=_28b&&_28b.prototype;ctor.extend=_278;ctor.createSubclass=_27b;ctor.prototype=_28d;_28d.constructor=ctor;_28d.getInherited=_26b;_28d.isInstanceOf=_26e;_28d.inherited=_26d;_28d.__inherited=_265;if(_28a){_28d.declaredClass=_28a;lang.setObject(_28a,ctor);}if(_28f){for(name in _28f){if(_28d[name]&&typeof _28f[name]=="string"&&name!=_25c){t=_28d[name]=_286(name,_28e,_28f[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_27a.safeMixin=_274;dojo.declare=_27a;return _27a;});},"dojo/dom":function(){define(["./_base/sniff","./_base/lang","./_base/window"],function(has,lang,win){try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}var dom={};if(has("ie")){dom.byId=function(id,doc){if(typeof id!="string"){return id;}var _292=doc||win.doc,te=id&&_292.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_292.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}};}else{dom.byId=function(id,doc){return ((typeof id=="string")?(doc||win.doc).getElementById(id):id)||null;};}dom.isDescendant=function(node,_293){try{node=dom.byId(node);_293=dom.byId(_293);while(node){if(node==_293){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_294,doc,_295){if(!_295){return false;}var _296=_295.style;var _297=["Khtml","O","Moz","Webkit"],i=_297.length,name="userSelect",_298;do{if(typeof _296[name]!=="undefined"){return name;}}while(i--&&(name=_297[i]+"UserSelect"));return false;});var _299=has("css-user-select");dom.setSelectable=_299?function(node,_29a){dom.byId(node).style[_299]=_29a?"":"none";}:function(node,_29b){node=dom.byId(node);var _29c=node.getElementsByTagName("*"),i=_29c.length;if(_29b){node.removeAttribute("unselectable");while(i--){_29c[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_29c[i].setAttribute("unselectable","on");}}};return dom;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/selector/acme":function(){define(["../_base/kernel","../has","../dom","../_base/sniff","../_base/array","../_base/lang","../_base/window"],function(dojo,has,dom){var trim=dojo.trim;var each=dojo.forEach;var _29d=function(){return dojo.doc;};var _29e=(_29d().compatMode)=="BackCompat";var _29f=">~+";var _2a0=false;var _2a1=function(){return true;};var _2a2=function(_2a3){if(_29f.indexOf(_2a3.slice(-1))>=0){_2a3+=" * ";}else{_2a3+=" ";}var ts=function(s,e){return trim(_2a3.slice(s,e));};var _2a4=[];var _2a5=-1,_2a6=-1,_2a7=-1,_2a8=-1,_2a9=-1,inId=-1,_2aa=-1,_2ab,lc="",cc="",_2ac;var x=0,ql=_2a3.length,_2ad=null,_2ae=null;var _2af=function(){if(_2aa>=0){var tv=(_2aa==x)?null:ts(_2aa,x);_2ad[(_29f.indexOf(tv)<0)?"tag":"oper"]=tv;_2aa=-1;}};var _2b0=function(){if(inId>=0){_2ad.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _2b1=function(){if(_2a9>=0){_2ad.classes.push(ts(_2a9+1,x).replace(/\\/g,""));_2a9=-1;}};var _2b2=function(){_2b0();_2af();_2b1();};var _2b3=function(){_2b2();if(_2a8>=0){_2ad.pseudos.push({name:ts(_2a8+1,x)});}_2ad.loops=(_2ad.pseudos.length||_2ad.attrs.length||_2ad.classes.length);_2ad.oquery=_2ad.query=ts(_2ac,x);_2ad.otag=_2ad.tag=(_2ad["oper"])?null:(_2ad.tag||"*");if(_2ad.tag){_2ad.tag=_2ad.tag.toUpperCase();}if(_2a4.length&&(_2a4[_2a4.length-1].oper)){_2ad.infixOper=_2a4.pop();_2ad.query=_2ad.infixOper.query+" "+_2ad.query;}_2a4.push(_2ad);_2ad=null;};for(;lc=cc,cc=_2a3.charAt(x),x=0){if(cc=="]"){if(!_2ae.attr){_2ae.attr=ts(_2a5+1,x);}else{_2ae.matchFor=ts((_2a7||_2a5+1),x);}var cmf=_2ae.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_2ae.matchFor=cmf.slice(1,-1);}}if(_2ae.matchFor){_2ae.matchFor=_2ae.matchFor.replace(/\\/g,"");}_2ad.attrs.push(_2ae);_2ae=null;_2a5=_2a7=-1;}else{if(cc=="="){var _2b4=("|~^$*".indexOf(lc)>=0)?lc:"";_2ae.type=_2b4+cc;_2ae.attr=ts(_2a5+1,x-_2b4.length);_2a7=x+1;}}}else{if(_2a6>=0){if(cc==")"){if(_2a8>=0){_2ae.value=ts(_2a6+1,x);}_2a8=_2a6=-1;}}else{if(cc=="#"){_2b2();inId=x+1;}else{if(cc=="."){_2b2();_2a9=x;}else{if(cc==":"){_2b2();_2a8=x;}else{if(cc=="["){_2b2();_2a5=x;_2ae={};}else{if(cc=="("){if(_2a8>=0){_2ae={name:ts(_2a8+1,x),value:null};_2ad.pseudos.push(_2ae);}_2a6=x;}else{if((cc==" ")&&(lc!=cc)){_2b3();}}}}}}}}}return _2a4;};var _2b5=function(_2b6,_2b7){if(!_2b6){return _2b7;}if(!_2b7){return _2b6;}return function(){return _2b6.apply(window,arguments)&&_2b7.apply(window,arguments);};};var _2b8=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _2b9=function(n){return (1==n.nodeType);};var _2ba="";var _2bb=function(elem,attr){if(!elem){return _2ba;}if(attr=="class"){return elem.className||_2ba;}if(attr=="for"){return elem.htmlFor||_2ba;}if(attr=="style"){return elem.style.cssText||_2ba;}return (_2a0?elem.getAttribute(attr):elem.getAttribute(attr,2))||_2ba;};var _2bc={"*=":function(attr,_2bd){return function(elem){return (_2bb(elem,attr).indexOf(_2bd)>=0);};},"^=":function(attr,_2be){return function(elem){return (_2bb(elem,attr).indexOf(_2be)==0);};},"$=":function(attr,_2bf){return function(elem){var ea=" "+_2bb(elem,attr);var _2c0=ea.lastIndexOf(_2bf);return _2c0>-1&&(_2c0==(ea.length-_2bf.length));};},"~=":function(attr,_2c1){var tval=" "+_2c1+" ";return function(elem){var ea=" "+_2bb(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_2c2){var _2c3=_2c2+"-";return function(elem){var ea=_2bb(elem,attr);return ((ea==_2c2)||(ea.indexOf(_2c3)==0));};},"=":function(attr,_2c4){return function(elem){return (_2bb(elem,attr)==_2c4);};}};var _2c5=(typeof _29d().firstChild.nextElementSibling=="undefined");var _2c6=!_2c5?"nextElementSibling":"nextSibling";var _2c7=!_2c5?"previousElementSibling":"previousSibling";var _2c8=(_2c5?_2b9:_2a1);var _2c9=function(node){while(node=node[_2c7]){if(_2c8(node)){return false;}}return true;};var _2ca=function(node){while(node=node[_2c6]){if(_2c8(node)){return false;}}return true;};var _2cb=function(node){var root=node.parentNode;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||-1),cl=(root["_l"]||-1);if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}root["_l"]=l;ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_2c6]){if(_2c8(te)){te["_i"]=++i;if(node===te){ci=i;}}}return ci;};var _2cc=function(elem){return !((_2cb(elem))%2);};var _2cd=function(elem){return ((_2cb(elem))%2);};var _2ce={"checked":function(name,_2cf){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"first-child":function(){return _2c9;},"last-child":function(){return _2ca;},"only-child":function(name,_2d0){return function(node){return _2c9(node)&&_2ca(node);};},"empty":function(name,_2d1){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"disabled":function(name,_2d2){return function(elem){return elem.disabled;};},"enabled":function(name,_2d3){return function(elem){return !elem.disabled;};},"contains":function(name,_2d4){var cz=_2d4.charAt(0);if(cz=="\""||cz=="'"){_2d4=_2d4.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_2d4)>=0);};},"not":function(name,_2d5){var p=_2a2(_2d5)[0];var _2d6={el:1};if(p.tag!="*"){_2d6.tag=1;}if(!p.classes.length){_2d6.classes=1;}var ntf=_2d7(p,_2d6);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_2d8){var pi=parseInt;if(_2d8=="odd"){return _2cd;}else{if(_2d8=="even"){return _2cc;}}if(_2d8.indexOf("n")!=-1){var _2d9=_2d8.split("n",2);var pred=_2d9[0]?((_2d9[0]=="-")?-1:pi(_2d9[0])):1;var idx=_2d9[1]?pi(_2d9[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_2cb(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_2d8=idx;}}var _2da=pi(_2d8);return function(elem){return (_2cb(elem)==_2da);};}};var _2db=(dojo.isIE<9||dojo.isIE==9&&dojo.isQuirks)?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_2a0?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _2d7=function(_2dc,_2dd){if(!_2dc){return _2a1;}_2dd=_2dd||{};var ff=null;if(!("el" in _2dd)){ff=_2b5(ff,_2b9);}if(!("tag" in _2dd)){if(_2dc.tag!="*"){ff=_2b5(ff,function(elem){return (elem&&(elem.tagName==_2dc.getTag()));});}}if(!("classes" in _2dd)){each(_2dc.classes,function(_2de,idx,arr){var re=new RegExp("(?:^|\\s)"+_2de+"(?:\\s|$)");ff=_2b5(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _2dd)){each(_2dc.pseudos,function(_2df){var pn=_2df.name;if(_2ce[pn]){ff=_2b5(ff,_2ce[pn](pn,_2df.value));}});}if(!("attrs" in _2dd)){each(_2dc.attrs,function(attr){var _2e0;var a=attr.attr;if(attr.type&&_2bc[attr.type]){_2e0=_2bc[attr.type](a,attr.matchFor);}else{if(a.length){_2e0=_2db(a);}}if(_2e0){ff=_2b5(ff,_2e0);}});}if(!("id" in _2dd)){if(_2dc.id){ff=_2b5(ff,function(elem){return (!!elem&&(elem.id==_2dc.id));});}}if(!ff){if(!("default" in _2dd)){ff=_2a1;}}return ff;};var _2e1=function(_2e2){return function(node,ret,bag){while(node=node[_2c6]){if(_2c5&&(!_2b9(node))){continue;}if((!bag||_2e3(node,bag))&&_2e2(node)){ret.push(node);}break;}return ret;};};var _2e4=function(_2e5){return function(root,ret,bag){var te=root[_2c6];while(te){if(_2c8(te)){if(bag&&!_2e3(te,bag)){break;}if(_2e5(te)){ret.push(te);}}te=te[_2c6];}return ret;};};var _2e6=function(_2e7){_2e7=_2e7||_2a1;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_2c8(te)&&(!bag||_2e3(te,bag))&&(_2e7(te,x))){ret.push(te);}}return ret;};};var _2e8=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _2e9={};var _2ea=function(_2eb){var _2ec=_2e9[_2eb.query];if(_2ec){return _2ec;}var io=_2eb.infixOper;var oper=(io?io.oper:"");var _2ed=_2d7(_2eb,{el:1});var qt=_2eb.tag;var _2ee=("*"==qt);var ecs=_29d()["getElementsByClassName"];if(!oper){if(_2eb.id){_2ed=(!_2eb.loops&&_2ee)?_2a1:_2d7(_2eb,{el:1,id:1});_2ec=function(root,arr){var te=dom.byId(_2eb.id,(root.ownerDocument||root));if(!te||!_2ed(te)){return;}if(9==root.nodeType){return _2b8(te,arr);}else{if(_2e8(te,root)){return _2b8(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_2eb.classes.length&&!_29e){_2ed=_2d7(_2eb,{el:1,classes:1,id:1});var _2ef=_2eb.classes.join(" ");_2ec=function(root,arr,bag){var ret=_2b8(0,arr),te,x=0;var tret=root.getElementsByClassName(_2ef);while((te=tret[x++])){if(_2ed(te,root)&&_2e3(te,bag)){ret.push(te);}}return ret;};}else{if(!_2ee&&!_2eb.loops){_2ec=function(root,arr,bag){var ret=_2b8(0,arr),te,x=0;var tret=root.getElementsByTagName(_2eb.getTag());while((te=tret[x++])){if(_2e3(te,bag)){ret.push(te);}}return ret;};}else{_2ed=_2d7(_2eb,{el:1,tag:1,id:1});_2ec=function(root,arr,bag){var ret=_2b8(0,arr),te,x=0;var tret=root.getElementsByTagName(_2eb.getTag());while((te=tret[x++])){if(_2ed(te,root)&&_2e3(te,bag)){ret.push(te);}}return ret;};}}}}else{var _2f0={el:1};if(_2ee){_2f0.tag=1;}_2ed=_2d7(_2eb,_2f0);if("+"==oper){_2ec=_2e1(_2ed);}else{if("~"==oper){_2ec=_2e4(_2ed);}else{if(">"==oper){_2ec=_2e6(_2ed);}}}}return _2e9[_2eb.query]=_2ec;};var _2f1=function(root,_2f2){var _2f3=_2b8(root),qp,x,te,qpl=_2f2.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_2ea(qp);for(var j=0;(te=_2f3[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_2f3=ret;}return ret;};var _2f4={},_2f5={};var _2f6=function(_2f7){var _2f8=_2a2(trim(_2f7));if(_2f8.length==1){var tef=_2ea(_2f8[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _2f1(root,_2f8);};};var nua=navigator.userAgent;var wk="WebKit/";var _2f9=(dojo.isWebKit&&(nua.indexOf(wk)>0)&&(parseFloat(nua.split(wk)[1])>528));var _2fa=dojo.isIE?"commentStrip":"nozip";var qsa="querySelectorAll";var _2fb=(!!_29d()[qsa]&&(!dojo.isSafari||(dojo.isSafari>3.1)||_2f9));var _2fc=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _2fd=function(_2fe,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_2fe;};var _2ff=/([^[]*)([^\]]*])?/g;var _300=function(_301,_302,att){return _302.replace(_2fc,_2fd)+(att||"");};var _303=function(_304,_305){_304=_304.replace(_2ff,_300);if(_2fb){var _306=_2f5[_304];if(_306&&!_305){return _306;}}var _307=_2f4[_304];if(_307){return _307;}var qcz=_304.charAt(0);var _308=(-1==_304.indexOf(" "));if((_304.indexOf("#")>=0)&&(_308)){_305=true;}var _309=(_2fb&&(!_305)&&(_29f.indexOf(qcz)==-1)&&(!dojo.isIE||(_304.indexOf(":")==-1))&&(!(_29e&&(_304.indexOf(".")>=0)))&&(_304.indexOf(":contains")==-1)&&(_304.indexOf(":checked")==-1)&&(_304.indexOf("|=")==-1));if(_309){var tq=(_29f.indexOf(_304.charAt(_304.length-1))>=0)?(_304+" *"):_304;return _2f5[_304]=function(root){try{if(!((9==root.nodeType)||_308)){throw "";}var r=root[qsa](tq);r[_2fa]=true;return r;}catch(e){return _303(_304,true)(root);}};}else{var _30a=_304.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _2f4[_304]=((_30a.length<2)?_2f6(_304):function(root){var _30b=0,ret=[],tp;while((tp=_30a[_30b++])){ret=ret.concat(_2f6(tp)(root));}return ret;});}};var _30c=0;var _30d=dojo.isIE?function(node){if(_2a0){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_30c)||_30c);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_30c));};var _2e3=function(node,bag){if(!bag){return 1;}var id=_30d(node);if(!bag[id]){return bag[id]=1;}return 0;};var _30e="_zipIdx";var _30f=function(arr){if(arr&&arr.nozip){return arr;}var ret=[];if(!arr||!arr.length){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_30c++;if(dojo.isIE&&_2a0){var _310=_30c+"";arr[0].setAttribute(_30e,_310);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute(_30e)!=_310){ret.push(te);}te.setAttribute(_30e,_310);}}else{if(dojo.isIE&&arr.commentStrip){try{for(var x=1,te;te=arr[x];x++){if(_2b9(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_30e]=_30c;}for(var x=1,te;te=arr[x];x++){if(arr[x][_30e]!=_30c){ret.push(te);}te[_30e]=_30c;}}}return ret;};var _311=function(_312,root){root=root||_29d();var od=root.ownerDocument||root;_2a0=(od.createElement("div").tagName==="div");var r=_303(_312)(root);if(r&&r.nozip){return r;}return _30f(r);};_311.filter=function(_313,_314,root){var _315=[],_316=_2a2(_314),_317=(_316.length==1&&!/[^\w#\.]/.test(_314))?_2d7(_316[0]):function(node){return dojo.query(_314,root).indexOf(node)!=-1;};for(var x=0,te;te=_313[x];x++){if(_317(te)){_315.push(te);}}return _315;};return _311;});},"dojo/dom-style":function(){define("dojo/dom-style",["./_base/sniff","./dom"],function(has,dom){var _318,_319={};if(has("webkit")){_318=function(node){var s;if(node.nodeType==1){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(has("ie")&&(has("ie")<9||has("quirks"))){_318=function(node){return node.nodeType==1?node.currentStyle:{};};}else{_318=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_319.getComputedStyle=_318;var _31a;if(!has("ie")){_31a=function(_31b,_31c){return parseFloat(_31c)||0;};}else{_31a=function(_31d,_31e){if(!_31e){return 0;}if(_31e=="medium"){return 4;}if(_31e.slice&&_31e.slice(-2)=="px"){return parseFloat(_31e);}var s=_31d.style,rs=_31d.runtimeStyle,cs=_31d.currentStyle,_31f=s.left,_320=rs.left;rs.left=cs.left;try{s.left=_31e;_31e=s.pixelLeft;}catch(e){_31e=0;}s.left=_31f;rs.left=_320;return _31e;};}_319.toPixelValue=_31a;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _321=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _318(node).opacity;};var _322=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_323){var ov=_323*100,_324=_323==1;node.style.zoom=_324?"":1;if(!af(node)){if(_324){return _323;}node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}af(node,1).Enabled=!_324;if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_322(td,_323);}}}return _323;}:function(node,_325){return node.style.opacity=_325;};var _326={left:true,top:true};var _327=/margin|padding|width|height|max|min|offset/;function _328(node,type,_329){type=type.toLowerCase();if(has("ie")){if(_329=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_329){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _326)){_326[type]=_327.test(type);}return _326[type]?_31a(node,_329):_329;};var _32a={cssFloat:1,styleFloat:1,"float":1};_319.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _321(n);}name=_32a[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;var s=_319.getComputedStyle(n);return (l==1)?s:_328(n,name,s[name]||n.style[name]);};_319.set=function setStyle(node,name,_32b){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_32a[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;if(l==3){return op?_322(n,_32b):n.style[name]=_32b;}for(var x in name){_319.set(node,x,name[x]);}return _319.getComputedStyle(n);};return _319;});},"dojo/dom-geometry":function(){define(["./_base/sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_32c){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_32d){node=dom.byId(node);var s=_32d||_32c.getComputedStyle(node),px=_32c.toPixelValue,l=px(node,s.paddingLeft),t=px(node,s.paddingTop),r=px(node,s.paddingRight),b=px(node,s.paddingBottom);return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};var none="none";geom.getBorderExtents=function getBorderExtents(node,_32e){node=dom.byId(node);var px=_32c.toPixelValue,s=_32e||_32c.getComputedStyle(node),l=s.borderLeftStyle!=none?px(node,s.borderLeftWidth):0,t=s.borderTopStyle!=none?px(node,s.borderTopWidth):0,r=s.borderRightStyle!=none?px(node,s.borderRightWidth):0,b=s.borderBottomStyle!=none?px(node,s.borderBottomWidth):0;return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getPadBorderExtents=function getPadBorderExtents(node,_32f){node=dom.byId(node);var s=_32f||_32c.getComputedStyle(node),p=geom.getPadExtents(node,s),b=geom.getBorderExtents(node,s);return {l:p.l+b.l,t:p.t+b.t,r:p.r+b.r,b:p.b+b.b,w:p.w+b.w,h:p.h+b.h};};geom.getMarginExtents=function getMarginExtents(node,_330){node=dom.byId(node);var s=_330||_32c.getComputedStyle(node),px=_32c.toPixelValue,l=px(node,s.marginLeft),t=px(node,s.marginTop),r=px(node,s.marginRight),b=px(node,s.marginBottom);if(has("webkit")&&(s.position!="absolute")){r=l;}return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getMarginBox=function getMarginBox(node,_331){node=dom.byId(node);var s=_331||_32c.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_32c.toPixelValue,pcs;if(has("mozilla")){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{if(p&&p.style){pcs=_32c.getComputedStyle(p);if(pcs.overflow!="visible"){l+=pcs.borderLeftStyle!=none?px(node,pcs.borderLeftWidth):0;t+=pcs.borderTopStyle!=none?px(node,pcs.borderTopWidth):0;}}}}else{if(has("opera")||(has("ie")==8&&!has("quirks"))){if(p){pcs=_32c.getComputedStyle(p);l-=pcs.borderLeftStyle!=none?px(node,pcs.borderLeftWidth):0;t-=pcs.borderTopStyle!=none?px(node,pcs.borderTopWidth):0;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};geom.getContentBox=function getContentBox(node,_332){node=dom.byId(node);var s=_332||_32c.getComputedStyle(node),w=node.clientWidth,h,pe=geom.getPadExtents(node,s),be=geom.getBorderExtents(node,s);if(!w){w=node.offsetWidth;h=node.offsetHeight;}else{h=node.clientHeight;be.w=be.h=0;}if(has("opera")){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};function _333(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};function _334(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _335(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_334(node);};geom.setContentSize=function setContentSize(node,box,_336){node=dom.byId(node);var w=box.w,h=box.h;if(_335(node)){var pb=geom.getPadBorderExtents(node,_336);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_333(node,NaN,NaN,w,h);};var _337={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_338){node=dom.byId(node);var s=_338||_32c.getComputedStyle(node),w=box.w,h=box.h,pb=_335(node)?_337:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_334(node)){var ns=node.style;if(w>=0&&!ns.width){ns.width="4px";}if(h>=0&&!ns.height){ns.height="4px";}}}if(w>=0){w=Math.max(w-pb.w-mb.w,0);}if(h>=0){h=Math.max(h-pb.h-mb.h,0);}_333(node,box.l,box.t,w,h);};geom.isBodyLtr=function isBodyLtr(){return (win.body().dir||win.doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};geom.docScroll=function docScroll(){var node=win.doc.parentWindow||win.doc.defaultView;return "pageXOffset" in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body():win.doc.documentElement,{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0),y:node.scrollTop||0});};geom.getIeDocumentElementOffset=function getIeDocumentElementOffset(){var de=win.doc.documentElement;if(has("ie")<8){var r=de.getBoundingClientRect(),l=r.left,t=r.top;if(has("ie")<7){l+=de.clientLeft;t+=de.clientTop;}return {x:l<0?0:l,y:t<0?0:t};}else{return {x:0,y:0};}};geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_339){var ie=has("ie");if(ie&&!geom.isBodyLtr()){var qk=has("quirks"),de=qk?win.body():win.doc.documentElement;if(ie==6&&!qk&&win.global.frameElement&&de.scrollHeight>de.clientHeight){_339+=de.clientLeft;}return (ie<8||qk)?(_339+de.clientWidth-de.scrollWidth):-_339;}return _339;};geom.position=function(node,_33a){node=dom.byId(node);var db=win.body(),dh=db.parentNode,ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")<9){var _33b=geom.getIeDocumentElementOffset();ret.x-=_33b.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_33b.y+(has("quirks")?db.clientTop+db.offsetTop:0);}else{if(has("ff")==3){var cs=_32c.getComputedStyle(dh),px=_32c.toPixelValue;ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}}if(_33a){var _33c=geom.docScroll();ret.x+=_33c.x;ret.y+=_33c.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_33d){node=dom.byId(node);var me=geom.getMarginExtents(node,_33d||_32c.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_33e){if(!("layerX" in _33e)){_33e.layerX=_33e.offsetX;_33e.layerY=_33e.offsetY;}if(!has("dom-addeventlistener")){var se=_33e.target;var doc=(se&&se.ownerDocument)||document;var _33f=has("quirks")?doc.body:doc.documentElement;var _340=geom.getIeDocumentElementOffset();_33e.pageX=_33e.clientX+geom.fixIeBiDiScrollLeft(_33f.scrollLeft||0)-_340.x;_33e.pageY=_33e.clientY+(_33f.scrollTop||0)-_340.y;}};return geom;});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_341,dojo,has,lang,dom,_342,ctr,conn){var _343={},_344=0,_345=dojo._scopeName+"attrid";var _346={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};_341.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_341.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_347=_341.names[lc]||name;return node[_347];};_341.set=function setProp(node,name,_348){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_341.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_349=_341.names[lc]||name;if(_349=="style"&&typeof _348!="string"){_342.style(node,_348);return node;}if(_349=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in _346){ctr.empty(node);node.appendChild(ctr.toDom(_348,node.ownerDocument));}else{node[_349]=_348;}return node;}if(lang.isFunction(_348)){var _34a=node[_345];if(!_34a){_34a=_344++;node[_345]=_34a;}if(!_343[_34a]){_343[_34a]={};}var h=_343[_34a][_349];if(h){conn.disconnect(h);}else{try{delete node[_349];}catch(e){}}if(_348){_343[_34a][_349]=conn.connect(node,_349,_348);}else{node[_349]=null;}return node;}node[_349]=_348;return node;};});},"dojo/dom-attr":function(){define(["exports","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_34b,has,lang,dom,_34c,prop){var _34d={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_34e={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _34f(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};_34b.has=function hasAttr(node,name){var lc=name.toLowerCase();return _34d[prop.names[lc]||name]||_34f(dom.byId(node),_34e[lc]||name);};_34b.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_350=prop.names[lc]||name,_351=_34d[_350];value=node[_350];if(_351&&typeof value!="undefined"){return value;}if(_350!="href"&&(typeof value=="boolean"||lang.isFunction(value))){return value;}var _352=_34e[lc]||name;return _34f(node,_352)?node.getAttribute(_352):null;};_34b.set=function setAttr(node,name,_353){node=dom.byId(node);if(arguments.length==2){for(var x in name){_34b.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_354=prop.names[lc]||name,_355=_34d[_354];if(_354=="style"&&typeof _353!="string"){_34c.set(node,_353);return node;}if(_355||typeof _353=="boolean"||lang.isFunction(_353)){return prop.set(node,name,_353);}node.setAttribute(_34e[lc]||name,_353);return node;};_34b.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_34e[name.toLowerCase()]||name);};_34b.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_356=prop.names[lc]||name;if((_356 in node)&&_356!="href"){return node[_356];}var _357=_34e[lc]||name;return _34f(node,_357)?node.getAttribute(_357):null;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/window","./dom","./dom-attr","./on"],function(_358,dojo,has,win,dom,attr,on){var _359={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},_35a=/<\s*([\w\:]+)/,_35b={},_35c=0,_35d="__"+dojo._scopeName+"ToDomId";for(var _35e in _359){if(_359.hasOwnProperty(_35e)){var tw=_359[_35e];tw.pre=_35e=="option"?"\n"}});define("dijit/form/TextBox",["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html",".."],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){var _c=_1([_8,_9],{templateString:_a,_singleNodeTemplate:"",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _d=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_d=="hidden"||_d=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _e=this;setTimeout(function(){_e._handleOnChange(_e.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{onmousedown:function(e){e.preventDefault();},className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_f,_10,_11){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_12){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_12);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(_6("ie")<9){_c=_1(_c,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _13=_7.doc.selection.createRange();var _14=_13.parentElement();return _14==this.textbox&&_13.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(_5.hitch(this,function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _15=this.domNode.getElementsByTagName("INPUT");if(_15){for(var i=0;i<_15.length;i++){_15[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_b._setSelectionRange=_9._setSelectionRange=function(_16,_17,_18){if(_16.createTextRange){var r=_16.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_17);r.moveEnd("character",_18-_17);r.select();}};}else{if(_6("mozilla")){_c=_1(_c,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_c.prototype.declaredClass="dijit.form.TextBox";}}_5.setObject("dijit.form.TextBox",_c);return _c;});},"url:dijit/form/templates/ComboButton.html":"
\n","dijit/_HasDropDown":function(){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/touch","dojo/_base/window","./registry","./focus","./popup","./_FocusMixin","./Viewport"],function(_19,_1a,_1b,dom,_1c,_1d,_1e,_1f,has,_20,_21,_22,win,_23,_24,_25,_26,_27){return _19("dijit._HasDropDown",_26,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this._docHandler=this.connect(win.doc,_22.release,"_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _28=this.dropDown,_29=false;if(e&&this._opened){var c=_1e.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_29){if(_1d.contains(t,"dijitPopup")){_29=true;}else{t=t.parentNode;}}if(_29){t=e.target;if(_28.onItemClick){var _2a;while(t&&!(_2a=_23.byNode(t))){t=t.parentNode;}if(_2a&&_2a.onClick&&_2a.getParent){_2a.getParent().onItemClick(_2a,e);}}return;}}}if(this._opened){if(_28.focus&&_28.autoFocus!==false){window.setTimeout(_21.hitch(_28,"focus"),1);}}else{setTimeout(_21.hitch(this,"focus"),0);}if(has("ios")){this._justGotMouseUp=true;setTimeout(_21.hitch(this,function(){this._justGotMouseUp=false;}),0);}},_onDropDownClick:function(e){if(has("ios")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_1b.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _2b={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_1d.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_2b+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,_22.press,"_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeydown","_onKey");this.connect(this.focusNode,"onkeyup","_onKeyUp");},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_2c=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_1b.stop(e);return;}}if(d&&this._opened&&e.keyCode==_20.ESCAPE){this.closeDropDown();_1b.stop(e);}else{if(!this._opened&&(e.keyCode==_20.DOWN_ARROW||((e.keyCode==_20.ENTER||e.keyCode==dojo.keys.SPACE)&&((_2c.tagName||"").toLowerCase()!=="input"||(_2c.type&&_2c.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_1b.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(_21.hitch(d,"focus"),1);}}},_onBlur:function(){var _2d=_24.curNode&&this.dropDown&&dom.isDescendant(_24.curNode,this.dropDown.domNode);this.closeDropDown(_2d);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_2e){_2e();},loadAndOpenDropDown:function(){var d=new _1a(),_2f=_21.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_2f);}else{_2f();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _30=this.dropDown,_31=_30.domNode,_32=this._aroundNode||this.domNode,_33=this;if(!this._preparedNode){this._preparedNode=true;if(_31.style.width){this._explicitDDWidth=true;}if(_31.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _34={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_34.width="";}if(!this._explicitDDHeight){_34.height="";}_1f.set(_31,_34);var _35=this.maxHeight;if(_35==-1){var _36=_27.getEffectiveBox(this.ownerDocument),_37=_1e.position(_32,false);_35=Math.floor(Math.max(_37.y,_36.h-(_37.y+_37.h)));}_25.moveOffScreen(_30);if(_30.startup&&!_30._started){_30.startup();}var mb=_1e.getMarginSize(_31);var _38=(_35&&mb.h>_35);_1f.set(_31,{overflow:_38?"auto":"visible"});if(_38){mb.h=_35;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_32.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_32.offsetWidth);}else{delete mb.w;}}if(_21.isFunction(_30.resize)){_30.resize(mb);}else{_1e.setMarginBox(_31,mb);}}var _39=_25.open({parent:this,popup:_30,around:_32,orient:this.dropDownPosition,onExecute:function(){_33.closeDropDown(true);},onCancel:function(){_33.closeDropDown(true);},onClose:function(){_1c.set(_33._popupStateNode,"popupActive",false);_1d.remove(_33._popupStateNode,"dijitHasDropDownOpen");_33._opened=false;}});_1c.set(this._popupStateNode,"popupActive","true");_1d.add(_33._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _39;},closeDropDown:function(_3a){if(this._opened){if(_3a){this.focus();}_25.close(this.dropDown);this._opened=false;}}});});},"dijit/form/Slider":function(){define("dijit/form/Slider",["dojo/_base/kernel","./HorizontalSlider","./VerticalSlider","./HorizontalRule","./VerticalRule","./HorizontalRuleLabels","./VerticalRuleLabels"],function(_3b){_3b.deprecated("Call require() for HorizontalSlider / VerticalRule, explicitly rather than 'dijit.form.Slider' itself","","2.0");});},"dijit/form/_ComboBoxMenuMixin":function(){define("dijit/form/_ComboBoxMenuMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_3c,_3d,_3e,_3f,win){return _3d("dijit.form._ComboBoxMenuMixin",null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=_3f.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_40){this.value=_40;this.onChange(_40);},onClick:function(_41){if(_41==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(_41==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(_41);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(_42,_43){var _44=this._createMenuItem();var _45=_43(_42);if(_45.html){_44.innerHTML=_45.label;}else{_44.appendChild(win.doc.createTextNode(_45.label));}if(_44.innerHTML==""){_44.innerHTML=" ";}this.applyTextDir(_44,(_44.innerText||_44.textContent||""));_44.item=_42;return _44;},createOptions:function(_46,_47,_48){this.items=_46;this.previousButton.style.display=(_47.start==0)?"none":"";_3e.set(this.previousButton,"id",this.id+"_prev");_3c.forEach(_46,function(_49,i){var _4a=this._createOption(_49,_48);_4a.setAttribute("item",i);_3e.set(_4a,"id",this.id+i);this.nextButton.parentNode.insertBefore(_4a,this.nextButton);},this);var _4b=false;if(_46.total&&!_46.total.then&&_46.total!=-1){if((_47.start+_47.count)<_46.total){_4b=true;}else{if((_47.start+_47.count)>_46.total&&_47.count==_46.length){_4b=true;}}}else{if(_47.count==_46.length){_4b=true;}}this.nextButton.style.display=_4b?"":"none";_3e.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _4c=this.containerNode;while(_4c.childNodes.length>2){_4c.removeChild(_4c.childNodes[_4c.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this._getSelectedAttr();}});});},"dojo/parser":function(){define("dojo/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./has","./query","./on","./ready"],function(_4d,_4e,_4f,_50,_51,_52,_53,_54,_55,_56,has,_57,don,_58){new Date("X");if(1){var _59=document.createElement("form");has.add("dom-attributes-explicit",_59.attributes.length==0);has.add("dom-attributes-specified-flag",_59.attributes.length<40);}_4d.parser=new function(){var _5a={};function _5b(_5c){var map={};for(var _5d in _5c){if(_5d.charAt(0)=="_"){continue;}map[_5d.toLowerCase()]=_5d;}return map;};_55.after(_4e,"extend",function(){_5a={};},true);var _5e={};function _5f(_60){var map=_5e[_60]||(_5e[_60]={});return map["__type"]||(map["__type"]=(_4e.getObject(_60)||require(_60)));};this._functionFromScript=function(_61,_62){var _63="";var _64="";var _65=(_61.getAttribute(_62+"args")||_61.getAttribute("args"));if(_65){_4f.forEach(_65.split(/\s*,\s*/),function(_66,idx){_63+="var "+_66+" = arguments["+idx+"]; ";});}var _67=_61.getAttribute("with");if(_67&&_67.length){_4f.forEach(_67.split(/\s*,\s*/),function(_68){_63+="with("+_68+"){";_64+="}";});}return new Function(_63+_61.innerHTML+_64);};this.instantiate=function(_69,_6a,_6b){_6a=_6a||{};_6b=_6b||{};var _6c=(_6b.scope||_4d._scopeName)+"Type",_6d="data-"+(_6b.scope||_4d._scopeName)+"-",_6e=_6d+"type";var _6f=[];_4f.forEach(_69,function(_70){var _71=_6c in _6a?_6a[_6c]:_70.getAttribute(_6e)||_70.getAttribute(_6c);if(_71){_6f.push({node:_70,"type":_71});}});return this._instantiate(_6f,_6a,_6b);};this._instantiate=function(_72,_73,_74){var _75=[];var _76=(_74.scope||_4d._scopeName)+"Type",_77="data-"+(_74.scope||_4d._scopeName)+"-",_78=_77+"type",_79=_77+"props",_7a=_77+"attach-point",_7b=_77+"attach-event",_7c=_77+"id",_7d=_77+"mixins";var _7e={};_4f.forEach([_79,_78,_76,_7c,"jsId",_7a,_7b,"dojoAttachPoint","dojoAttachEvent","class","style",_7d],function(_7f){_7e[_7f.toLowerCase()]=_7f.replace(_74.scope,"dojo");});function _80(_81,_82){return _81.createSubclass&&_81.createSubclass(_82)||_81.extend.apply(_81,_82);};_4f.forEach(_72,function(obj){if(!obj){return;}var _83=obj.node,_84=obj.type,_85=_83.getAttribute(_7d),_86;if(_85){var map=_5e[_84];_85=_85.replace(/ /g,"");_86=map&&map[_85];if(!_86){_86=_5f(_84);_86=_5e[_84][_85]=_80(_86,_4f.map(_85.split(","),_5f));}}else{_86=_5f(_84);}var _87=_86&&_86.prototype;var _88={};if(_74.defaults){_4e.mixin(_88,_74.defaults);}if(obj.inherited){_4e.mixin(_88,obj.inherited);}var _89;if(has("dom-attributes-explicit")){_89=_83.attributes;}else{if(has("dom-attributes-specified-flag")){_89=_4f.filter(_83.attributes,function(a){return a.specified;});}else{var _8a=/^input$|^img$/i.test(_83.nodeName)?_83:_83.cloneNode(false),_8b=_8a.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_89=_4f.map(_8b.split(/\s+/),function(_8c){var _8d=_8c.toLowerCase();return {name:_8c,value:(_83.nodeName=="LI"&&_8c=="value")||_8d=="enctype"?_83.getAttribute(_8d):_83.getAttributeNode(_8d).value};});}}var i=0,_8e;while(_8e=_89[i++]){var _8f=_8e.name,_90=_8f.toLowerCase(),_91=_8e.value;if(_90 in _7e){switch(_7e[_90]){case "data-dojo-props":var _92=_91;break;case "data-dojo-id":case "jsId":var _93=_91;break;case "data-dojo-attach-point":case "dojoAttachPoint":_88.dojoAttachPoint=_91;break;case "data-dojo-attach-event":case "dojoAttachEvent":_88.dojoAttachEvent=_91;break;case "class":_88["class"]=_83.className;break;case "style":_88["style"]=_83.style&&_83.style.cssText;break;}}else{if(!(_8f in _87)){var map=(_5a[_84]||(_5a[_84]=_5b(_87)));_8f=map[_90]||_8f;}if(_8f in _87){switch(typeof _87[_8f]){case "string":_88[_8f]=_91;break;case "number":_88[_8f]=_91.length?Number(_91):NaN;break;case "boolean":_88[_8f]=_91.toLowerCase()!="false";break;case "function":if(_91===""||_91.search(/[^\w\.]+/i)!=-1){_88[_8f]=new Function(_91);}else{_88[_8f]=_4e.getObject(_91,false)||new Function(_91);}break;default:var _94=_87[_8f];_88[_8f]=(_94&&"length" in _94)?(_91?_91.split(/\s*,\s*/):[]):(_94 instanceof Date)?(_91==""?new Date(""):_91=="now"?new Date():_56.fromISOString(_91)):(_94 instanceof _4d._Url)?(_4d.baseUrl+_91):_54.fromJson(_91);}}else{_88[_8f]=_91;}}}if(_92){try{_92=_54.fromJson.call(_74.propsThis,"{"+_92+"}");_4e.mixin(_88,_92);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_92+"'");}}_4e.mixin(_88,_73);var _95=obj.scripts||(_86&&(_86._noScript||_87._noScript)?[]:_57("> script[type^='dojo/']",_83));var _96=[],_97=[],_98=[],on=[];if(_95){for(i=0;i<_95.length;i++){var _99=_95[i];_83.removeChild(_99);var _9a=(_99.getAttribute(_77+"event")||_99.getAttribute("event")),_9b=_99.getAttribute(_77+"prop"),_9c=_99.getAttribute("type"),nf=this._functionFromScript(_99,_77);if(_9a){if(_9c=="dojo/connect"){_96.push({event:_9a,func:nf});}else{if(_9c=="dojo/on"){on.push({event:_9a,func:nf});}else{_88[_9a]=nf;}}}else{if(_9c=="dojo/watch"){_98.push({prop:_9b,func:nf});}else{_97.push(nf);}}}}var _9d=_86.markupFactory||_87.markupFactory;var _9e=_9d?_9d(_88,_83,_86):new _86(_88,_83);_75.push(_9e);if(_93){_4e.setObject(_93,_9e);}for(i=0;i<_96.length;i++){_55.after(_9e,_96[i].event,_4d.hitch(_9e,_96[i].func),true);}for(i=0;i<_97.length;i++){_97[i].call(_9e);}for(i=0;i<_98.length;i++){_9e.watch(_98[i].prop,_98[i].func);}for(i=0;i\n","dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_be,_bf,_c0,_c1){return _be("dijit.form.ToggleButton",[_c0,_c1],{baseClass:"dijitToggleButton",setChecked:function(_c2){_bf.deprecated("setChecked("+_c2+") is deprecated. Use set('checked',"+_c2+") instead.","","2.0");this.set("checked",_c2);}});});},"dijit/form/NumberSpinner":function(){define("dijit/form/NumberSpinner",["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_c3,_c4,_c5,_c6,_c7){return _c3("dijit.form.NumberSpinner",[_c6,_c7.Mixin],{adjust:function(val,_c8){var tc=this.constraints,v=isNaN(val),_c9=!isNaN(tc.max),_ca=!isNaN(tc.min);if(v&&_c8!=0){val=(_c8>0)?_ca?tc.min:_c9?tc.max:0:_c9?this.constraints.max:_ca?tc.min:0;}var _cb=val+_c8;if(v||isNaN(_cb)){return val;}if(_c9&&(_cb>tc.max)){_cb=tc.max;}if(_ca&&(_cb
\n"}});define("dijit/form/ComboButton",["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_d4,_d5,_d6,_d7,_d8,_d9){return _d4("dijit.form.ComboButton",_d8,{templateString:_d9,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==_d6[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_d7.focus(this._popupStateNode);_d5.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==_d6[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_d7.focus(this.titleNode);_d5.stop(evt);}},focus:function(_da){if(!this.disabled){_d7.focus(_da=="start"?this.titleNode:this._popupStateNode);}}});});},"url:dijit/templates/Calendar.html":"\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t${!dayCellsHtml}\n\t\t\n\t\n\t\n\t\t\t${!dateRowsHtml}\n\t\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n
\n\t\t\t\t\"\"\n\t\t\t\t-\n\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t\t\"\"\n\t\t\t\t+\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n","dijit/form/_AutoCompleterMixin":function(){define("dijit/form/_AutoCompleterMixin",["dojo/_base/connect","dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/query","dojo/regexp","dojo/_base/sniff","dojo/string","dojo/_base/window","./DataList","../registry","./_TextBoxMixin"],function(_db,_dc,_dd,_de,_df,_e0,_e1,_e2,on,_e3,_e4,has,_e5,win,_e6,_e7,_e8){return _dd("dijit.form._AutoCompleterMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(_e9){this._set("list",_e9);},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_ea){var pos=0;if(typeof (_ea.selectionStart)=="number"){pos=_ea.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_ea.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_eb,_ec){_ec=parseInt(_ec);_e8.selectInputText(_eb,_ec,_ec);},_setDisabledAttr:function(_ed){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_ed);},_abortQuery:function(){if(this.searchTimer){clearTimeout(this.searchTimer);this.searchTimer=null;}if(this._fetchHandle){if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_onInput:function(evt){this.inherited(arguments);if(evt.charOrCode==229){this._onKeyPress(evt);}},_onKey:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.keyCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!=86&&key!=88))||key==_e1.SHIFT){return;}var _ee=false;var pw=this.dropDown;var _ef=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_ef=pw.getHighlightedOption();}switch(key){case _e1.PAGE_DOWN:case _e1.DOWN_ARROW:case _e1.PAGE_UP:case _e1.UP_ARROW:if(this._opened){this._announceOption(_ef);}_e0.stop(evt);break;case _e1.ENTER:if(_ef){if(_ef==pw.nextButton){this._nextSearch(1);_e0.stop(evt);break;}else{if(_ef==pw.previousButton){this._nextSearch(-1);_e0.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_e0.stop(evt);}case _e1.TAB:var _f0=this.get("displayedValue");if(pw&&(_f0==pw._messages["previousMessage"]||_f0==pw._messages["nextMessage"])){break;}if(_ef){this._selectOption(_ef);}case _e1.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_ef){_e0.stop(evt);this._selectOption(_ef);this.closeDropDown();}else{_ee=true;}break;case _e1.DELETE:case _e1.BACKSPACE:this._prev_key_backspace=true;_ee=true;break;}if(_ee){this.item=undefined;this.searchTimer=setTimeout(_e2.hitch(this,"_startSearchFromInput"),1);}},_onKeyPress:function(evt){if(typeof evt.charOrCode=="string"||evt.charOrCode==229){this.item=undefined;this.searchTimer=setTimeout(_e2.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(_f1){var fn=this.focusNode;_e8.selectInputText(fn,fn.value.length);var _f2=this.ignoreCase?"toLowerCase":"substr";if(_f1[_f2](0).indexOf(this.focusNode.value[_f2](0))==0){var _f3=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((_f3+1)>fn.value.length){fn.value=_f1;_e8.selectInputText(fn,_f3);}}else{fn.value=_f1;_e8.selectInputText(fn);}},_openResultList:function(_f4,_f5,_f6){this._fetchHandle=null;if(this.disabled||this.readOnly||(_f5[this.searchAttr]!==this._lastQuery)){return;}var _f7=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_f4.length&&_f6.start==0){this.closeDropDown();return;}this.dropDown.createOptions(_f4,_f6,_e2.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_f6.direction){if(1==_f6.direction){this.dropDown.highlightFirstOption();}else{if(-1==_f6.direction){this.dropDown.highlightLastOption();}}if(_f7){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_f5[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _f8=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_f8==pw._messages["previousMessage"]||_f8==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_f8);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(_f9,_fa,_fb){var _fc="";if(_f9){if(!_fb){_fb=this.store._oldAPI?this.store.getValue(_f9,this.searchAttr):_f9[this.searchAttr];}_fc=this._getValueField()!=this.searchAttr?this.store.getIdentity(_f9):_fb;}this.set("value",_fc,_fa,_fb,_f9);},_announceOption:function(_fd){if(!_fd){return;}var _fe;if(_fd==this.dropDown.nextButton||_fd==this.dropDown.previousButton){_fe=_fd.innerHTML;this.item=undefined;this.value="";}else{var _ff=this.dropDown.items[_fd.getAttribute("item")];_fe=(this.store._oldAPI?this.store.getValue(_ff,this.searchAttr):_ff[this.searchAttr]).toString();this.set("item",_ff,false,_fe);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_df.get(_fd,"id"));this._autoCompleteText(_fe);},_selectOption:function(_100){this.closeDropDown();if(_100){this._announceOption(_100);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_getQueryString:function(text){return _e5.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _101=this.id+"_popup",_102=_e2.isString(this.dropDownClass)?_e2.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _102({onChange:_e2.hitch(this,this._selectOption),id:_101,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_101);}this._lastInput=key;var _103=_e2.clone(this.query);var _104={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};_e2.mixin(_104,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_dc.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_103[this.searchAttr]=q;var _105=this,_106=function(){var _107=_105._fetchHandle=_105.store.query(_103,_104);_de.when(_107,function(res){_105._fetchHandle=null;res.total=_107.total;_105._openResultList(res,_103,_104);},function(err){_105._fetchHandle=null;if(!_105._cancelingQuery){console.error(_105.declaredClass+" "+err.toString());_105.closeDropDown();}});};this.searchTimer=setTimeout(_e2.hitch(this,function(_108,_109){this.searchTimer=null;_106();this._nextSearch=this.dropDown.onPage=function(_10a){_104.start+=_104.count*_10a;_104.direction=_10a;_106();_109.focus();};},_103,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _10b=this.srcNodeRef;var list=this.list;if(list){this.store=_e7.byId(list);}else{this.store=new _e6({},_10b);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _10c=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_10c):item[_10c];}}}this.inherited(arguments);},postCreate:function(){var _10d=_e3("label[for=\""+this.id+"\"]");if(_10d.length){_10d[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_10d[0].id);}this.inherited(arguments);this.connect(this.focusNode,"onkeypress","_onKeyPress");},_getMenuLabelFromItem:function(item){var _10e=this.labelFunc(item,this.store),_10f=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_10e=this.doHighlight(_10e,this._escapeHtml(this._lastInput));_10f="html";}return {html:_10f=="html",label:_10e};},doHighlight:function(_110,find){var _111=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_e4.escapeString(find);return this._escapeHtml(_110).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_111),"$1");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_112){return (_112._oldAPI?_112.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_113,_114,_115,item){this._set("item",item||null);if(!_113){_113="";}this.inherited(arguments);},_setTextDirAttr:function(_116){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_116);}}});});},"dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_117,_118,_119){return _117("dijit.form.MappedTextBox",_119,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_118.place("",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"
\n"}});define("dijit/form/ComboBoxMixin",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_11a,_11b,_11c,lang,_11d,_11e,_11f,_120,_121){return _11a("dijit.form.ComboBoxMixin",[_120,_11e],{dropDownClass:_11f,hasDownArrow:true,templateString:_121,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_122){if(!_122.get){lang.mixin(_122,{_oldAPI:true,get:function(id){var _123=new _11b();this.fetchItemByIdentity({identity:id,onItem:function(_124){_123.resolve(_124);},onError:function(_125){_123.reject(_125);}});return _123.promise;},query:function(_126,_127){var _128=new _11b(function(){_129.abort&&_129.abort();});var _129=this.fetch(lang.mixin({query:_126,onBegin:function(_12a){_128.total=_12a;},onComplete:function(_12b){_128.resolve(_12b);},onError:function(_12c){_128.reject(_12c);}},_127));return _11d(_128);}});}this._set("store",_122);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _12d=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_11c.deprecated(_12d+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_11c.deprecated(_12d+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_11c.deprecated(_12d+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_12e){new _12e({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_12f,_130,dom,_131,keys,lang,_132){var _133=_130("dijit.form._TextBoxMixin",null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_134,_135,_136){var _137;if(_134!==undefined){_137=this.filter(_134);if(typeof _136!="string"){if(_137!==null&&((typeof _137!="number")||!isNaN(_137))){_136=this.filter(this.format(_137,this.constraints));}else{_136="";}}}if(_136!=null&&_136!=undefined&&((typeof _136)!="number"||!isNaN(_136))&&this.textbox.value!=_136){this.textbox.value=_136;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_136);}this.inherited(arguments,[_137,_135]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_138){if(_138===null||_138===undefined){_138="";}else{if(typeof _138!="string"){_138=String(_138);}}this.textbox.value=_138;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_138);}},format:function(_139){return ((_139==null||_139==undefined)?"":(_139.toString?_139.toString():_139));},parse:function(_13a){return _13a;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _13b=function(e){var _13c=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_13c){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_13c>=65&&_13c<=90){return;}}}if(e.type=="keypress"&&typeof _13c!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_13c,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_131.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_12f.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput","oncompositionend"],function(_13d){this.connect(this.textbox,_13d,_13b);},this);},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}},_isTextSelected:function(){return this.textbox.selectionStart==this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);if(this._isTextSelected()){_133.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_13e){if(!this._created||this.textDir!=_13e){this._set("textDir",_13e);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_133._setSelectionRange=_132._setSelectionRange=function(_13f,_140,stop){if(_13f.setSelectionRange){_13f.setSelectionRange(_140,stop);}};_133.selectInputText=_132.selectInputText=function(_141,_142,stop){_141=dom.byId(_141);if(isNaN(_142)){_142=0;}if(isNaN(stop)){stop=_141.value?_141.value.length:0;}try{_141.focus();_133._setSelectionRange(_141,_142,stop);}catch(e){}};return _133;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_143,_144,has,win,_145){return _143("dijit.form.SimpleTextarea",_145,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_144.add(this.textbox,"dijitTextAreaCols");}},filter:function(_146){if(_146){_146=_146.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _147=parseInt(this.maxLength);var _148=this.textbox.value.replace(/\r/g,"");var _149=_148.length-_147;if(_149>0){var _14a=this.textbox;if(_14a.selectionStart){var pos=_14a.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_148.substring(0,pos-_149-cr)+_148.substring(pos-cr);_14a.setSelectionRange(pos-_149,pos-_149);}else{if(win.doc.selection){_14a.focus();var _14b=win.doc.selection.createRange();_14b.moveStart("character",-_149);_14b.text="";_14b.select();}}}}this.inherited(arguments);}});});},"dijit/_TimePicker":function(){require({cache:{"url:dijit/templates/TimePicker.html":"
 
 
\n"}});define("dijit/_TimePicker",["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/query","dijit/typematic","./_Widget","./_TemplatedMixin","./form/_FormValueWidget","dojo/text!./templates/TimePicker.html"],function(_14c,_14d,_14e,_14f,_150,_151,_152,_153,_154,keys,lang,has,_155,_156,_157,_158,_159,_15a){return _150("dijit._TimePicker",[_157,_158],{templateString:_15a,baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_14f.toISOString,setValue:function(_15b){_154.deprecated("dijit._TimePicker:setValue() is deprecated. Use set('value', ...) instead.","","2.0");this.set("value",_15b);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_15c,_15d,_15e,_15f){var _160=[],_161=_15f?_15f.date:this._refDate,n,i=_15c,max=this._maxIncrement+Math.abs(i),chk=_15e?-1:1,dec=_15e?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_15e&&n.date>_161)||(!_15e&&n.date<_161)){break;}_160[_15e?"unshift":"push"](n);_161=n.date;}i+=inc;}while(_160.length<_15d&&(i*chk)>1)+1,false),_169=[],_16a=_167-_168.length,_16b=this._getFilteredNodes(0,_16a,true,_168[0]);if(_16b.length<_16a&&_168.length>0){_169=this._getFilteredNodes(_168.length,_16a-_16b.length,false,_168[_168.length-1]);}_14c.forEach(_16b.concat(_168,_169),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_16c){for(var key in {clickableIncrement:1,visibleIncrement:1,visibleRange:1}){if(key in _16c){this[key]=_16c[key];}}if(!_16c.locale){_16c.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("ie")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_156.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_156.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_151.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_16d){var date=new Date(this._refDate);var _16e=this._clickableIncrementDate;date.setHours(date.getHours()+_16e.getHours()*_16d,date.getMinutes()+_16e.getMinutes()*_16d,date.getSeconds()+_16e.getSeconds()*_16d);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _16f=_14e.format(date,this.constraints);if(this.filterString&&_16f.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_152.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_16d;_152.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_16f},div);if(_16d%this._visibleIncrement<1&&_16d%this._visibleIncrement>-1){_151.add(div,this.baseClass+"Marker");}else{if(!(_16d%this._clickableIncrement)){_151.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_151.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_14d.compare(this.value,date,this.constraints.selector)){div.selected=true;_151.add(div,this.baseClass+"ItemSelected");if(_151.contains(div,this.baseClass+"Marker")){_151.add(div,this.baseClass+"MarkerSelected");}else{_151.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _170=tgt.target.date||tgt.target.parentNode.date;if(!_170||this.isDisabledDate(_170)){return;}this._highlighted_option=null;this.set("value",_170);this.onChange(_170);},onChange:function(){},_highlightOption:function(node,_171){if(!node){return;}if(_171){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}_151.toggle(node,this.baseClass+"ItemHover",_171);if(_151.contains(node,this.baseClass+"Marker")){_151.toggle(node,this.baseClass+"MarkerHover",_171);}else{_151.toggle(node,this.baseClass+"TickHover",_171);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_151.contains(tgr,this.baseClass+"Item")){return;}this._highlightOption(tgr,true);},onmouseout:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlightOption(tgr,false);},_mouseWheeled:function(e){this._keyboardSelected=null;_153.stop(e);var _172=(has("ie")?e.wheelDelta:-e.detail);this[(_172>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_173){if(typeof _173=="number"&&_173==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _174=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_174,1,true,this.timeMenu.childNodes[0]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(divs[0],this.timeMenu.childNodes[0]);}},_onArrowDown:function(_175){if(typeof _175=="number"&&_175==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _176=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_176,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){if(e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.UP_ARROW){_153.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _177=this.timeMenu,tgt=this._highlighted_option||_155("."+this.baseClass+"ItemSelected",_177)[0];if(!tgt){tgt=_177.childNodes[0];}else{if(_177.childNodes.length){if(e.keyCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.keyCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.keyCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.keyCode==keys.ENTER||e.keyCode===keys.TAB){if(!this._keyboardSelected&&e.keyCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.keyCode===keys.TAB;}}return undefined;}});});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_178,_179,_17a){return _178("dijit.form.RadioButton",[_179,_17a],{baseClass:"dijitRadio"});});},"url:dijit/form/templates/HorizontalSlider.html":"
-
+
\n","url:dijit/templates/TimePicker.html":"
 
 
\n","dijit/InlineEditBox":function(){require({cache:{"url:dijit/templates/InlineEditBox.html":"