You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/lib/dojo/dojo.js

15 lines
116 KiB
JavaScript

/*
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(){_76++;},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(_1e in _68.packagePaths){_9(_68.packagePaths[_1e],function(_6b){_63(_6b,_1e+"/");});}_5e(_c(_4e,_68.paths),_4f);_9(_68.aliases,function(_6c){if(_7(_6c[0])){_6c[0]=new RegExp("^"+_6c[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;})+"$");}_4d.push(_6c);});_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 _6d,src,_6e,_6f=doc.getElementsByTagName("script"),i=0;i<_6f.length&&!_6e;i++){if((src=_6f[i].getAttribute("src"))&&(_6e=src.match(/(.*)\/?dojo\.js(\W|$)/i))){_1.baseUrl=_6d=_1.baseUrl||_2.baseUrl||_6e[1];src=(_6f[i].getAttribute("data-dojo-config")||_6f[i].getAttribute("djConfig"));if(src){_56=req.eval("({ "+src+" })","data-dojo-config");}if(0){var _70=_6f[i].getAttribute("data-main");if(_70){_56.deps=_56.deps||[_70];}}}}}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=_6d;_50.dijit.location=_6d+"../dijit/";_50.dojox.location=_6d+"../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 _71=0,_72=[],_73=null;}var _74=function(_75){_76++;_9(_75.deps,_32);if(0&&_71&&!_73){_73=setTimeout(function(){_71=0;_73=null;req.combo.done(function(_77,url){var _78=function(){_79(0,_77);_7a();};_72.push(_77);_7b=_77;req.injectUrl(url,_78,_77);_7b=0;},req);},0);}_37();},_16=function(a1,a2,a3,_7c,_7d){var _7e,_7f;if(_7(a1)){_7e=_31(a1,_7c,true);if(_7e&&_7e.executed){return _7e.result;}throw _f("undefinedModule",a1);}if(!_8(a1)){_67(a1);a1=a2;a2=a3;}if(_8(a1)){if(!a1.length){a2&&a2();}else{_7f="require*"+uid();for(var mid,_80=[],i=0;i<a1.length;){mid=a1[i++];if(mid in {exports:1,module:1}){throw _f("illegalModuleId",mid);}_80.push(_31(mid,_7c));}_7e=_c(_81("",_7f,0,""),{injected:_21,deps:_80,def:a2||_3,require:_7c?_7c.require:req});_2f[_7e.mid]=_7e;_74(_7e);var _82=_76&&req.async;_76++;_36(_7e,_82);_37();if(!_7e.executed){_30.push(_7e);}_7a();}}return _7d;},_5d=function(_83){if(!_83){return req;}var _84=_83.require;if(!_84){_84=function(a1,a2,a3){return _16(a1,a2,a3,_83,_84);};_83.require=_c(_84,req);_84.module=_83;_84.toUrl=function(_85){return _5b(_85,_83);};_84.toAbsMid=function(mid){return _b4(mid,_83);};if(0){_84.undef=function(mid){req.undef(mid,_83);};}if(1){_84.syncLoadNls=function(mid){var _86=_5c(mid,_83),_87=_2f[_86.mid];if(!_87||!_87.executed){_88=_54[_86.mid]||_54[_86.cacheId];if(_88){_89(_88);_87=_2f[_86.mid];}}return _87&&_87.executed&&_87.result;};}}return _84;},_30=[],_8a=[],_8b={},_8c=function(_8d){_8d.injected=_20;_8b[_8d.mid]=1;if(_8d.url){_8b[_8d.url]=_8d.pack||1;}},_33=function(_8e){_8e.injected=_21;delete _8b[_8e.mid];if(_8e.url){delete _8b[_8e.url];}if(_4(_8b)){_8f();1&&_25==xd&&(_25=_26);}},_90=req.idle=function(){return !_8a.length&&_4(_8b)&&!_30.length&&!_76;},_91=function(_92,map){for(var i=0;i<map.length;i++){if(map[i][2].test(_92)){return map[i];}}return 0;},_93=function(_94){var _95=[],_96,_97;_94=_94.replace(/\\/g,"/").split("/");while(_94.length){_96=_94.shift();if(_96==".."&&_95.length&&_97!=".."){_95.pop();_97=_95[_95.length-1];}else{if(_96!="."){_95.push(_97=_96);}}}return _95.join("/");},_81=function(pid,mid,_98,url,_99){if(1){var xd=req.isXdUrl(url);return {pid:pid,mid:mid,pack:_98,url:url,executed:0,def:0,isXd:xd,isAmd:!!(xd||(_50[pid]&&_50[pid].isAmd)),cacheId:_99};}else{return {pid:pid,mid:mid,pack:_98,url:url,executed:0,def:0,cacheId:_99};}},_9a=function(mid,_9b,_9c,_9d,_9e,_9f,_a0,_a1){var pid,_a2,_a3,_a4,_a5,_a6,url,_a7,_a8,_a9,_aa=0;_a9=mid;_a8=/^\./.test(mid);if(/(^\/)|(\:)|(\.js$)/.test(mid)||(_a8&&!_9b)){return _81(0,mid,0,mid);}else{mid=_93(_a8?(_9b.mid+"/../"+mid):mid);if(/^\./.test(mid)){throw _f("irrationalPath",mid);}_a4=_9b&&_9b.pack&&_9b.pack.mapProg;_a5=(_a4&&_91(mid,_a4))||_91(mid,_9f);if(_a5){pid=_a5[1];mid=mid.substring(_a5[3]);_a2=_9c[pid];if(!mid){mid=_a2.main;}_a3=mid;_aa=_a2.reverseName+"/"+mid;mid=pid+"/"+mid;}else{pid="";}var _ab=0,_ac=0;_9(_4d,function(_ad){var _ae=mid.match(_ad[0]);if(_ae&&_ae.length>_ab){_ac=_6(_ad[1])?mid.replace(_ad[0],_ad[1]):_ad[1];}});if(_ac){return _9a(_ac,0,_9c,_9d,_9e,_9f,_a0,_a1);}_a7=_9d[mid];if(_a7){return _a1?_81(_a7.pid,_a7.mid,_a7.pack,_a7.url,_aa):_9d[mid];}}_a5=_91(mid,_a0);if(_a5){url=_a5[1]+mid.substring(_a5[3]-1);}else{if(pid){url=_a2.location+"/"+_a3;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_9e+url;}url+=".js";return _81(pid,mid,_a2,_93(url),_aa);},_5c=function(mid,_af){return _9a(mid,_af,_50,_2f,req.baseUrl,_52,_4f);},_b0=function(_b1,_b2,_b3){return _b1.normalize?_b1.normalize(_b2,function(mid){return _b4(mid,_b3);}):_b4(_b2,_b3);},_b5=0,_31=function(mid,_b6,_b7){var _b8,_b9,_ba,_bb;_b8=mid.match(/^(.+?)\!(.*)$/);if(_b8){_b9=_31(_b8[1],_b6,_b7);if(1&&_25==_26&&!_b9.executed){_32(_b9);if(_b9.injected===_21&&!_b9.executed){_76++;_36(_b9);_37();}if(_b9.executed){_bc(_b9);}else{_30.unshift(_b9);}}if(_b9.executed===_24&&!_b9.load){_bc(_b9);}if(_b9.load){_ba=_b0(_b9,_b8[2],_b6);mid=(_b9.mid+"!"+(_b9.dynamic?++_b5+"!":"")+_ba);}else{_ba=_b8[2];mid=_b9.mid+"!"+(++_b5)+"!waitingForPlugin";}_bb={plugin:_b9,mid:mid,req:_5d(_b6),prid:_ba};}else{_bb=_5c(mid,_b6);}return _2f[_bb.mid]||(!_b7&&(_2f[_bb.mid]=_bb));},_b4=req.toAbsMid=function(mid,_bd){return _5c(mid,_bd).mid;},_5b=req.toUrl=function(_be,_bf){var _c0=_5c(_be+"/x",_bf),url=_c0.url;return _40(_c0.pid===0?_be:url.substring(0,url.length-5));},_c1={injected:_21,executed:_24,def:_22,result:_22},_c2=function(mid){return _2f[mid]=_c({mid:mid},_c1);},_c3=_c2("require"),_c4=_c2("exports"),_c5=_c2("module"),_c6=function(_c7,_c8){req.trace("loader-run-factory",[_c7.mid]);var _c9=_c7.def,_ca;1&&_27.unshift(_c7);if(has("config-dojo-loader-catches")){try{_ca=_6(_c9)?_c9.apply(null,_c8):_c9;}catch(e){_34(_45,_c7.result=_f("factoryThrew",[_c7,e]));}}else{_ca=_6(_c9)?_c9.apply(null,_c8):_c9;}_c7.result=_ca===undefined&&_c7.cjs?_c7.cjs.exports:_ca;1&&_27.shift(_c7);},_cb={},_cc=0,_bc=function(_cd){var _ce=_cd.result;_cd.dynamic=_ce.dynamic;_cd.normalize=_ce.normalize;_cd.load=_ce.load;return _cd;},_cf=function(_d0){var map={};_9(_d0.loadQ,function(_d1){var _d2=_d1.mid,_d3=_b0(_d0,_d1.prid,_d1.req.module),mid=_d0.dynamic?_d1.mid.replace(/waitingForPlugin$/,_d3):(_d0.mid+"!"+_d3),_d4=_c(_c({},_d1),{mid:mid,prid:_d3,injected:0});if(!_2f[mid]){_e5(_2f[mid]=_d4);}map[_d1.mid]=_2f[mid];_33(_d1);delete _2f[_d1.mid];});_d0.loadQ=0;var _d5=function(_d6){for(var _d7,_d8=_d6.deps||[],i=0;i<_d8.length;i++){_d7=map[_d8[i].mid];if(_d7){_d8[i]=_d7;}}};for(var p in _2f){_d5(_2f[p]);}_9(_30,_d5);},_35=function(_d9){req.trace("loader-finish-exec",[_d9.mid]);_d9.executed=_24;_d9.defOrder=_cc++;1&&_9(_d9.provides,function(cb){cb();});if(_d9.loadQ){_bc(_d9);_cf(_d9);}for(i=0;i<_30.length;){if(_30[i]===_d9){_30.splice(i,1);}else{i++;}}},_da=[],_36=function(_db,_dc){if(_db.executed===_23){req.trace("loader-circular-dependency",[_da.concat(mid).join("->")]);return (!_db.def||_dc)?_cb:(_db.cjs&&_db.cjs.exports);}if(!_db.executed){if(!_db.def){return _cb;}var mid=_db.mid,_dd=_db.deps||[],arg,_de,_df=[],i=0;if(0){_da.push(mid);req.trace("loader-exec-module",["exec",_da.length,mid]);}_db.executed=_23;while(i<_dd.length){arg=_dd[i++];_de=((arg===_c3)?_5d(_db):((arg===_c4)?_db.cjs.exports:((arg===_c5)?_db.cjs:_36(arg,_dc))));if(_de===_cb){_db.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_da.pop();return _cb;}_df.push(_de);}_c6(_db,_df);_35(_db);}0&&_da.pop();return _db.result;},_76=0,_7a=function(){if(_76){return;}_76++;_29();for(var _e0,_e1,i=0;i<_30.length;){_e0=_cc;_e1=_30[i];_36(_e1);if(_e0!=_cc){_29();i=0;}else{i++;}}_37();},_37=function(){_76--;if(_90()){_34("idle",[]);}};if(0){req.undef=function(_e2,_e3){var _e4=_31(_e2,_e3);_33(_e4);delete _2f[_e4.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):"");},_e5=function(_e6){var _e7=_e6.plugin;if(_e7.executed===_24&&!_e7.load){_bc(_e7);}var _e8=function(def){_e6.result=def;_33(_e6);_35(_e6);_7a();};if(_e7.load){_e7.load(_e6.prid,_e6.req,_e8);}else{if(_e7.loadQ){_e7.loadQ.push(_e6);}else{_e7.loadQ=[_e6];_30.unshift(_e7);_32(_e7);}}},_88=0,_7b=0,_e9=0,_89=function(_ea,_eb){_e9=1;if(has("config-dojo-loader-catches")){try{if(_ea===_88){_88.call(null);}else{req.eval(_ea,has("dojo-loader-eval-hint-url")?_eb.url:_eb.mid);}}catch(e){_34(_45,_f("evalModuleThrew",_eb));}}else{if(_ea===_88){_88.call(null);}else{req.eval(_ea,has("dojo-loader-eval-hint-url")?_eb.url:_eb.mid);}}_e9=0;},_32=function(_ec){var mid=_ec.mid,url=_ec.url;if(_ec.executed||_ec.injected||_8b[mid]||(_ec.url&&((_ec.pack&&_8b[_ec.url]===_ec.pack)||_8b[_ec.url]==1))){return;}_8c(_ec);if(0){var _ed=0;if(_ec.plugin&&_ec.plugin.isCombo){req.combo.add(_ec.plugin.mid,_ec.prid,0,req);_ed=1;}else{if(!_ec.plugin){_ed=req.combo.add(0,_ec.mid,_ec.url,req);}}if(_ed){_71=1;return;}}if(_ec.plugin){_e5(_ec);return;}var _ee=function(){_79(_ec);if(_ec.injected!==_21){_33(_ec);_c(_ec,_c1);}if(1&&_25){!_27.length&&_7a();}else{_7a();}};_88=_54[mid]||_54[_ec.cacheId];if(_88){req.trace("loader-inject",["cache",_ec.mid,url]);_89(_88,_ec);_ee();return;}if(1&&_25){if(_ec.isXd){_25==_26&&(_25=xd);}else{if(_ec.isAmd&&_25!=_26){}else{var _ef=function(_f0){if(_25==_26){_27.unshift(_ec);_89(_f0,_ec);_27.shift();_79(_ec);if(!_ec.cjs){_33(_ec);_35(_ec);}if(_ec.finish){var _f1=mid+"*finish",_f2=_ec.finish;delete _ec.finish;def(_f1,["dojo",("dojo/require!"+_f2.join(",")).replace(/\./g,"/")],function(_f3){_9(_f2,function(mid){_f3.require(mid);});});_30.unshift(_31(_f1));}_ee();}else{_f0=_2a(_ec,_f0);if(_f0){_89(_f0,_ec);_ee();}else{_7b=_ec;req.injectUrl(_40(url),_ee,_ec);_7b=0;}}};req.trace("loader-inject",["xhr",_ec.mid,url,_25!=_26]);if(has("config-dojo-loader-catches")){try{req.getText(url,_25!=_26,_ef);}catch(e){_34(_45,_f("xhrInjectFailed",[_ec,e]));}}else{req.getText(url,_25!=_26,_ef);}return;}}}req.trace("loader-inject",["script",_ec.mid,url]);_7b=_ec;req.injectUrl(_40(url),_ee,_ec);_7b=0;},_f4=function(_f5,_f6,def){req.trace("loader-define-module",[_f5.mid,_f6]);if(0&&_f5.plugin&&_f5.plugin.isCombo){_f5.result=_6(def)?def():def;_33(_f5);_35(_f5);return _f5;}var mid=_f5.mid;if(_f5.injected===_21){_34(_45,_f("multipleDefine",_f5));return _f5;}_c(_f5,{deps:_f6,def:def,cjs:{id:_f5.mid,uri:_f5.url,exports:(_f5.result={}),setExports:function(_f7){_f5.cjs.exports=_f7;}}});for(var i=0;i<_f6.length;i++){_f6[i]=_31(_f6[i],_f5);}if(1&&_25&&!_8b[mid]){_74(_f5);_30.push(_f5);_7a();}_33(_f5);if(!_6(def)&&!_f6.length){_f5.result=def;_35(_f5);}return _f5;},_79=function(_f8,_f9){var _fa=[],_fb,_fc;while(_8a.length){_fc=_8a.shift();_f9&&(_fc[0]=_f9.shift());_fb=(_fc[0]&&_31(_fc[0]))||_f8;_fa.push([_fb,_fc[1],_fc[2]]);}_57(_f8);_9(_fa,function(_fd){_74(_f4.apply(null,_fd));});};}var _fe=0,_8f=_3,_ff=_3;if(1){_8f=function(){_fe&&clearTimeout(_fe);_fe=0;},_ff=function(){_8f();req.waitms&&(_fe=setTimeout(function(){_8f();_34(_45,_f("timeout",_8b));},req.waitms));};}if(1){has.add("ie-event-behavior",doc.attachEvent&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _100=function(node,_101,_102,_103){if(!has("ie-event-behavior")){node.addEventListener(_101,_103,false);return function(){node.removeEventListener(_101,_103,false);};}else{node.attachEvent(_102,_103);return function(){node.detachEvent(_102,_103);};}},_104=_100(window,"load","onload",function(){req.pageLoaded=1;doc.readyState!="complete"&&(doc.readyState="complete");_104();});if(1){var _105=doc.getElementsByTagName("script")[0],_106=_105.parentNode;req.injectUrl=function(url,_107,_108){_ff();var node=_108.node=doc.createElement("script"),_109=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_10a();_107&&_107();}},_10a=_100(node,"load","onreadystatechange",_109);node.type="text/javascript";node.charset="utf-8";node.src=url;_106.insertBefore(node,_105);return node;};}}if(1){req.log=function(){try{for(var i=0;i<arguments.length;i++){}}catch(e){}};}else{req.log=_3;}if(0){var _10b=req.trace=function(_10c,args){if(_10b.on&&_10b.group[_10c]){_34("trace",[_10c,args]);for(var arg,dump=[],text="trace:"+_10c+(args.length?(":"+args[0]):""),i=1;i<args.length;){arg=args[i++];if(_7(arg)){text+=", "+arg;}else{dump.push(arg);}}req.log(text);dump.length&&dump.push(".");req.log.apply(req,dump);}};_c(_10b,{on:1,group:{},set:function(_10d,_10e){if(_7(_10d)){_10b.group[_10d]=_10e;}else{_c(_10b.group,_10d);}}});_10b.set(_c(_c(_c({},_2.trace),_1.trace),_56.trace));on("config",function(_10f){_10f.trace&&_10b.set(_10f.trace);});}else{req.trace=_3;}var def=function(mid,_110,_111){var _112=arguments.length,args=0,_113=["require","exports","module"];if(0){if(_112==1&&_6(mid)){_110=[];mid.toString().replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"").replace(/require\(["']([\w\!\-_\.\/]+)["']\)/g,function(_114,dep){_110.push(dep);});args=[0,_113.concat(_110),mid];}}if(!args){args=_112==1?[0,_113,mid]:(_112==2?(_8(mid)?[0,mid,_110]:(_6(_110)?[mid,_113,_110]:[mid,[],_110])):[mid,_110,_111]);}req.trace("loader-define",args.slice(0,2));var _115=args[0]&&_31(args[0]),_116;if(_115&&!_8b[_115.mid]){_74(_f4(_115,args[1],args[2]));}else{if(!has("ie-event-behavior")||!1||_e9){_8a.push(args);}else{_115=_115||_7b;if(!_115){for(mid in _8b){_116=_2f[mid];if(_116&&_116.node&&_116.node.readyState==="interactive"){_115=_116;break;}}if(0&&!_115){for(var i=0;i<_72.length;i++){_115=_72[i];if(_115.node&&_115.node.readyState==="interactive"){break;}_115=0;}}}if(0&&_8(_115)){_74(_f4(_31(_115.shift()),args[1],args[2]));if(!_115.length){_72.splice(i,1);}}else{if(_115){_57(_115);_74(_f4(_115,args[1],args[2]));}else{_34(_45,_f("ieDefineFailed",args[0]));}}_7a();}}};def.amd={vendor:"dojotoolkit.org"};if(0){req.def=def;}_c(_c(req,_2.loaderPatch),_1.loaderPatch);on(_45,function(arg){try{console.error(arg);if(arg instanceof Error){for(var p in arg){}}}catch(e){}});_c(req,{uid:uid,cache:_54,packs:_50});if(0){_c(req,{paths:_4e,aliases:_4d,packageMap:_51,modules:_2f,legacyMode:_25,execQ:_30,defQ:_8a,waiting:_8b,pathsMapProg:_4f,packageMapProg:_52,listenerQueues:_44,computeMapProg:_5e,runMapProg:_91,compactPath:_93,getModuleInfo:_9a});}if(_17.define){if(1){_34(_45,_f("defineAlreadyDefined",0));}}else{_17.define=def;_17.require=req;}if(0&&req.combo&&req.combo.plugins){var _117=req.combo.plugins,_118;for(_118 in _117){_c(_c(_31(_118),_117[_118]),{isCombo:1,executed:"executed",load:1});}}if(1){var _119=_56.deps||_1.deps||_2.deps,_11a=_56.callback||_1.callback||_2.callback;req.boot=(_119||_11a)?[_119||[],_11a]:0;}if(!1){!req.async&&req(["dojo"]);req.boot&&req.apply(null,req.boot);}})(this.dojoConfig||this.djConfig||this.require||{},{async:0,hasCache:{"config-selectorEngine":"acme","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../dijit",name:"dijit"},{location:".",name:"dojo"}]});require({cache:{"dojo/_base/fx":function(){define(["./kernel","./lang","../Evented","./Color","./connect","./sniff","../dom","../dom-style"],function(dojo,lang,_11b,_11c,_11d,has,dom,_11e){var _11f=lang.mixin;dojo._Line=function(_120,end){this.start=_120;this.end=end;};dojo._Line.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};dojo.Animation=function(args){_11f(this,args);if(lang.isArray(this.curve)){this.curve=new dojo._Line(this.curve[0],this.curve[1]);}};dojo.Animation.prototype=new _11b();dojo._Animation=dojo.Animation;lang.extend(dojo.Animation,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _121=this._percent,_122=this.easing;return _122?_122(_121):_121;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(dojo.config.debugAtAllCosts){this[evt].apply(this,a);}else{try{this[evt].apply(this,a);}catch(e){console.error("exception in animation handler for:",evt);console.error(e);}}}return this;},play:function(_123,_124){var _125=this;if(_125._delayTimer){_125._clearTimer();}if(_124){_125._stopTimer();_125._active=_125._paused=false;_125._percent=0;}else{if(_125._active&&!_125._paused){return _125;}}_125._fire("beforeBegin",[_125.node]);var de=_123||_125.delay,_126=lang.hitch(_125,"_play",_124);if(de>0){_125._delayTimer=setTimeout(_126,de);return _125;}_126();return _125;},_play:function(_127){var _128=this;if(_128._delayTimer){_128._clearTimer();}_128._startTime=new Date().valueOf();if(_128._paused){_128._startTime-=_128.duration*_128._percent;}_128._active=true;_128._paused=false;var _129=_128.curve.getValue(_128._getStep());if(!_128._percent){if(!_128._startRepeatCount){_128._startRepeatCount=_128.repeat;}_128._fire("onBegin",[_129]);}_128._fire("onPlay",[_129]);_128._cycle();return _128;},pause:function(){var _12a=this;if(_12a._delayTimer){_12a._clearTimer();}_12a._stopTimer();if(!_12a._active){return _12a;}_12a._paused=true;_12a._fire("onPause",[_12a.curve.getValue(_12a._getStep())]);return _12a;},gotoPercent:function(_12b,_12c){var _12d=this;_12d._stopTimer();_12d._active=_12d._paused=true;_12d._percent=_12b;if(_12c){_12d.play();}return _12d;},stop:function(_12e){var _12f=this;if(_12f._delayTimer){_12f._clearTimer();}if(!_12f._timer){return _12f;}_12f._stopTimer();if(_12e){_12f._percent=1;}_12f._fire("onStop",[_12f.curve.getValue(_12f._getStep())]);_12f._active=_12f._paused=false;return _12f;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _130=this;if(_130._active){var curr=new Date().valueOf();var step=(curr-_130._startTime)/(_130.duration);if(step>=1){step=1;}_130._percent=step;if(_130.easing){step=_130.easing(step);}_130._fire("onAnimate",[_130.curve.getValue(step)]);if(_130._percent<1){_130._startTimer();}else{_130._active=false;if(_130.repeat>0){_130.repeat--;_130.play(null,true);}else{if(_130.repeat==-1){_130.play(null,true);}else{if(_130._startRepeatCount){_130.repeat=_130._startRepeatCount;_130._startRepeatCount=0;}}}_130._percent=0;_130._fire("onEnd",[_130.node]);!_130.repeat&&_130._stopTimer();}}return _130;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_131=null,_132={run:function(){}};lang.extend(dojo.Animation,{_startTimer:function(){if(!this._timer){this._timer=_11d.connect(_132,"run",this,"_cycle");ctr++;}if(!_131){_131=setInterval(lang.hitch(_132,"run"),this.rate);}},_stopTimer:function(){if(this._timer){_11d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_131);_131=null;ctr=0;}}});var _133=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_11e.get(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=dom.byId(args.node);var _134=_11f({properties:{}},args),_135=(_134.properties.opacity={});_135.start=!("start" in _134)?function(){return +_11e.get(_134.node,"opacity")||0;}:_134.start;_135.end=_134.end;var anim=dojo.animateProperty(_134);_11d.connect(anim,"beforeBegin",lang.partial(_133,_134.node));return anim;};dojo.fadeIn=function(args){return dojo._fade(_11f({end:1},args));};dojo.fadeOut=function(args){return dojo._fade(_11f({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _136=function(_137){this._properties=_137;for(var p in _137){var prop=_137[p];if(prop.start instanceof _11c){prop.tempColor=new _11c();}}};_136.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_138=prop.start;if(_138 instanceof _11c){ret[p]=_11c.blendColors(_138,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_138)){ret[p]=((prop.end-_138)*r)+_138+(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);_11d.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]=_11f({},(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 _139=(p.toLowerCase().indexOf("color")>=0);function _13a(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_11e.get(node,p);return (p=="opacity")?+v:(_139?v:parseFloat(v));};if(!("end" in prop)){prop.end=_13a(n,p);}else{if(!("start" in prop)){prop.start=_13a(n,p);}}if(_139){prop.start=new _11c(prop.start);prop.end=new _11c(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _136(pm);});_11d.connect(anim,"onAnimate",lang.hitch(_11e,"set",anim.node));return anim;};dojo.anim=function(node,_13b,_13c,_13d,_13e,_13f){return dojo.animateProperty({node:node,duration:_13c||dojo.Animation.prototype.duration,properties:_13b,easing:_13d,onEnd:_13e}).play(_13f||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("dojo/dom-form",["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _140(obj,name,_141){if(_141===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_141];}else{if(lang.isArray(val)){val.push(_141);}else{obj[name]=_141;}}};var _142="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_143){var ret=null;_143=dom.byId(_143);if(_143){var _144=_143.name,type=(_143.type||"").toLowerCase();if(_144&&type&&!_143.disabled){if(type=="radio"||type=="checkbox"){if(_143.checked){ret=_143.value;}}else{if(_143.multiple){ret=[];var _145=[_143.firstChild];while(_145.length){for(var node=_145.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_145.push(node.nextSibling);}if(node.firstChild){_145.push(node.firstChild);}break;}}}}else{ret=_143.value;}}}}return ret;},toObject:function formToObject(_146){var ret={},_147=dom.byId(_146).elements;for(var i=0,l=_147.length;i<l;++i){var item=_147[i],_148=item.name,type=(item.type||"").toLowerCase();if(_148&&type&&_142.indexOf(type)<0&&!item.disabled){_140(ret,_148,form.fieldToObject(item));if(type=="image"){ret[_148+".x"]=ret[_148+".y"]=ret[_148].x=ret[_148].y=0;}}}return ret;},toQuery:function formToQuery(_149){return ioq.objectToQuery(form.toObject(_149));},toJson:function formToJson(_14a,_14b){return json.stringify(form.toObject(_14a),null,_14b?4:0);}};return form;});},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_14c,attr,prop,cls,ctr,geom){dojo.byId=dom.byId;dojo.isDescendant=dom.isDescendant;dojo.setSelectable=dom.setSelectable;dojo.getAttr=attr.get;dojo.setAttr=attr.set;dojo.hasAttr=attr.has;dojo.removeAttr=attr.remove;dojo.getNodeProp=attr.getNodeProp;dojo.attr=function(node,name,_14d){if(arguments.length==2){return attr[typeof name=="string"?"get":"set"](node,name);}return attr.set(node,name,_14d);};dojo.hasClass=cls.contains;dojo.addClass=cls.add;dojo.removeClass=cls.remove;dojo.toggleClass=cls.toggle;dojo.replaceClass=cls.replace;dojo._toDom=dojo.toDom=ctr.toDom;dojo.place=ctr.place;dojo.create=ctr.create;dojo.empty=function(node){ctr.empty(node);};dojo._destroyElement=dojo.destroy=function(node){ctr.destroy(node);};dojo._getPadExtents=dojo.getPadExtents=geom.getPadExtents;dojo._getBorderExtents=dojo.getBorderExtents=geom.getBorderExtents;dojo._getPadBorderExtents=dojo.getPadBorderExtents=geom.getPadBorderExtents;dojo._getMarginExtents=dojo.getMarginExtents=geom.getMarginExtents;dojo._getMarginSize=dojo.getMarginSize=geom.getMarginSize;dojo._getMarginBox=dojo.getMarginBox=geom.getMarginBox;dojo.setMarginBox=geom.setMarginBox;dojo._getContentBox=dojo.getContentBox=geom.getContentBox;dojo.setContentSize=geom.setContentSize;dojo._isBodyLtr=dojo.isBodyLtr=geom.isBodyLtr;dojo._docScroll=dojo.docScroll=geom.docScroll;dojo._getIeDocumentElementOffset=dojo.getIeDocumentElementOffset=geom.getIeDocumentElementOffset;dojo._fixIeBiDiScrollLeft=dojo.fixIeBiDiScrollLeft=geom.fixIeBiDiScrollLeft;dojo.position=geom.position;dojo.marginBox=function marginBox(node,box){return box?geom.setMarginBox(node,box):geom.getMarginBox(node);};dojo.contentBox=function contentBox(node,box){return box?geom.setContentSize(node,box):geom.getContentBox(node);};dojo.coords=function(node,_14e){dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");node=dom.byId(node);var s=_14c.getComputedStyle(node),mb=geom.getMarginBox(node,s);var abs=geom.position(node,_14e);mb.x=abs.x;mb.y=abs.y;return mb;};dojo.getProp=prop.get;dojo.setProp=prop.set;dojo.prop=function(node,name,_14f){if(arguments.length==2){return prop[typeof name=="string"?"get":"set"](node,name);}return prop.set(node,name,_14f);};dojo.getStyle=_14c.get;dojo.setStyle=_14c.set;dojo.getComputedStyle=_14c.getComputedStyle;dojo.__toPixelValue=dojo.toPixelValue=_14c.toPixelValue;dojo.style=function(node,name,_150){switch(arguments.length){case 1:return _14c.get(node);case 2:return _14c[typeof name=="string"?"get":"set"](node,name);}return _14c.set(node,name,_150);};return dojo;});},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(has,_151,_152,_153){var i,p,_154={},_155={},dojo={config:_151,global:this,dijit:_154,dojox:_155};var _156={dojo:["dojo",dojo],dijit:["dijit",_154],dojox:["dojox",_155]},_157=(_152.packs&&_152.packs[_153.id.match(/[^\/]+/)[0]].packageMap)||{},item;for(p in _157){if(_156[p]){_156[p][0]=_157[p];}else{_156[p]=[_157[p],{}];}}for(p in _156){item=_156[p];item[1]._scopeName=item[0];if(!_151.noGlobals){this[item[0]]=item[1];}}dojo.scopeMap=_156;dojo.baseUrl=dojo.config.baseUrl=_152.baseUrl;dojo.isAsync=!1||_152.async;dojo.locale=_151.locale;var rev="$Rev: 28982 $".match(/\d+/);dojo.version={major:1,minor:7,patch:3,flag:"",revision:rev?+rev[0]:NaN,toString:function(){var v=dojo.version;return v.major+"."+v.minor+"."+v.patch+v.flag+" ("+v.revision+")";}};true||has.add("extend-dojo",1);dojo.eval=function(_158){};(Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(dojo);if(0){dojo.exit=function(_159){quit(_159);};}else{dojo.exit=function(){};}true||has.add("dojo-guarantee-console",1);if(1){typeof console!="undefined"||(console={});var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var tn;i=0;while((tn=cn[i++])){if(!console[tn]){(function(){var tcn=tn+"";console[tcn]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(tcn+":");console["log"](a.join(" "));}:function(){};console[tcn]._fake=true;})();}}}has.add("dojo-debug-messages",!!_151.isDebug);if(has("dojo-debug-messages")){dojo.deprecated=function(_15a,_15b,_15c){var _15d="DEPRECATED: "+_15a;if(_15b){_15d+=" "+_15b;}if(_15c){_15d+=" -- will be removed in version: "+_15c;}console.warn(_15d);};dojo.experimental=function(_15e,_15f){var _160="EXPERIMENTAL: "+_15e+" -- APIs subject to change without notice.";if(_15f){_160+=" "+_15f;}console.warn(_160);};}else{dojo.deprecated=dojo.experimental=function(){};}true||has.add("dojo-modulePaths",1);if(1){if(_151.modulePaths){dojo.deprecated("dojo.modulePaths","use paths configuration");var _161={};for(p in _151.modulePaths){_161[p.replace(/\./g,"/")]=_151.modulePaths[p];}_152({paths:_161});}}true||has.add("dojo-moduleUrl",1);if(1){dojo.moduleUrl=function(_162,url){dojo.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var _163=null;if(_162){_163=_152.toUrl(_162.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");}return _163;};}dojo._hasResource={};return dojo;});},"dojo/io-query":function(){define(["./_base/lang"],function(lang){var _164={};function _165(map){var enc=encodeURIComponent,_166=[];for(var name in map){var _167=map[name];if(_167!=_164[name]){var _168=enc(name)+"=";if(lang.isArray(_167)){for(var i=0,l=_167.length;i<l;++i){_166.push(_168+enc(_167[i]));}}else{_166.push(_168+enc(_167));}}}return _166.join("&");};function _169(str){var dec=decodeURIComponent,qp=str.split("&"),ret={},name,val;for(var i=0,l=qp.length,item;i<l;++i){item=qp[i];if(item.length){var s=item.indexOf("=");if(s<0){name=dec(item);val="";}else{name=dec(item.slice(0,s));val=dec(item.slice(s+1));}if(typeof ret[name]=="string"){ret[name]=[ret[name]];}if(lang.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}}return ret;};return {objectToQuery:_165,queryToObject:_169};});},"dojo/_base/Deferred":function(){define("dojo/_base/Deferred",["./kernel","./lang"],function(dojo,lang){var _16a=function(){};var _16b=Object.freeze||function(){};dojo.Deferred=function(_16c){var _16d,_16e,_16f,head,_170;var _171=(this.promise={});function _172(_173){if(_16e){throw new Error("This deferred has already been resolved");}_16d=_173;_16e=true;_174();};function _174(){var _175;while(!_175&&_170){var _176=_170;_170=_170.next;if((_175=(_176.progress==_16a))){_16e=false;}var func=(_16f?_176.error:_176.resolved);if(func){try{var _177=func(_16d);if(_177&&typeof _177.then==="function"){_177.then(lang.hitch(_176.deferred,"resolve"),lang.hitch(_176.deferred,"reject"),lang.hitch(_176.deferred,"progress"));continue;}var _178=_175&&_177===undefined;if(_175&&!_178){_16f=_177 instanceof Error;}_176.deferred[_178&&_16f?"reject":"resolve"](_178?_16d:_177);}catch(e){_176.deferred.reject(e);}}else{if(_16f){_176.deferred.reject(_16d);}else{_176.deferred.resolve(_16d);}}}};this.resolve=this.callback=function(_179){this.fired=0;this.results=[_179,null];_172(_179);};this.reject=this.errback=function(_17a){_16f=true;this.fired=1;_172(_17a);this.results=[null,_17a];if(!_17a||_17a.log!==false){(dojo.config.deferredOnError||function(x){console.error(x);})(_17a);}};this.progress=function(_17b){var _17c=_170;while(_17c){var _17d=_17c.progress;_17d&&_17d(_17b);_17c=_17c.next;}};this.addCallbacks=function(_17e,_17f){this.then(_17e,_17f,_16a);return this;};_171.then=this.then=function(_180,_181,_182){var _183=_182==_16a?this:new dojo.Deferred(_171.cancel);var _184={resolved:_180,error:_181,progress:_182,deferred:_183};if(_170){head=head.next=_184;}else{_170=head=_184;}if(_16e){_174();}return _183.promise;};var _185=this;_171.cancel=this.cancel=function(){if(!_16e){var _186=_16c&&_16c(_185);if(!_16e){if(!(_186 instanceof Error)){_186=new Error(_186);}_186.log=false;_185.reject(_186);}}};_16b(_171);};lang.extend(dojo.Deferred,{addCallback:function(_187){return this.addCallbacks(lang.hitch.apply(dojo,arguments));},addErrback:function(_188){return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));},addBoth:function(_189){var _18a=lang.hitch.apply(dojo,arguments);return this.addCallbacks(_18a,_18a);},fired:-1});dojo.Deferred.when=dojo.when=function(_18b,_18c,_18d,_18e){if(_18b&&typeof _18b.then==="function"){return _18b.then(_18c,_18d,_18e);}return _18c?_18c(_18b):_18b;};return dojo.Deferred;});},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_18f,_190,lang,_191,_192,_193,_194,_195){var _196=function(a){return a.length==1&&(typeof a[0]=="string");};var _197=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};var _198=_18f.NodeList,awc=_198._adaptWithCondition,aafe=_198._adaptAsForEach,aam=_198._adaptAsMap;function _199(_19a){return function(node,name,_19b){if(arguments.length==2){return _19a[typeof name=="string"?"get":"set"](node,name);}return _19a.set(node,name,_19b);};};lang.extend(_198,{_normalize:function(_19c,_19d){var _19e=_19c.parse===true;if(typeof _19c.template=="string"){var _19f=_19c.templateFunc||(dojo.string&&dojo.string.substitute);_19c=_19f?_19f(_19c.template,_19c):_19c;}var type=(typeof _19c);if(type=="string"||type=="number"){_19c=_192.toDom(_19c,(_19d&&_19d.ownerDocument));if(_19c.nodeType==11){_19c=lang._toArray(_19c.childNodes);}else{_19c=[_19c];}}else{if(!lang.isArrayLike(_19c)){_19c=[_19c];}else{if(!lang.isArray(_19c)){_19c=lang._toArray(_19c);}}}if(_19e){_19c._runParse=true;}return _19c;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_1a0,_1a1,_1a2){if(_1a0.nodeType!=1&&_1a1=="only"){return;}var _1a3=_1a0,_1a4;var _1a5=ary.length;for(var i=_1a5-1;i>=0;i--){var node=(_1a2?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1a4){_1a4=_1a3.ownerDocument.createElement("div");}_1a4.appendChild(node);dojo.parser.parse(_1a4);node=_1a4.firstChild;while(_1a4.firstChild){_1a4.removeChild(_1a4.firstChild);}}if(i==_1a5-1){_192.place(node,_1a3,_1a1);}else{_1a3.parentNode.insertBefore(node,_1a3);}_1a3=node;}},attr:awc(_199(_194),_196),style:awc(_199(_195),_196),addClass:aafe(_191.add),removeClass:aafe(_191.remove),replaceClass:aafe(_191.replace),toggleClass:aafe(_191.toggle),empty:aafe(_192.empty),removeAttr:aafe(_194.remove),position:aam(_193.position),marginBox:aam(_193.getMarginBox),place:function(_1a6,_1a7){var item=_18f(_1a6)[0];return this.forEach(function(node){_192.place(node,item,_1a7);});},orphan:function(_1a8){return (_1a8?_18f._filterResult(this,_1a8):this).forEach(_197);},adopt:function(_1a9,_1aa){return _18f(_1a9).place(this[0],_1aa)._stash(this);},query:function(_1ab){if(!_1ab){return this;}var ret=new _198;this.map(function(node){_18f(_1ab,node).forEach(function(_1ac){if(_1ac!==undefined){ret.push(_1ac);}});});return ret._stash(this);},filter:function(_1ad){var a=arguments,_1ae=this,_1af=0;if(typeof _1ad=="string"){_1ae=_18f._filterResult(this,a[0]);if(a.length==1){return _1ae._stash(this);}_1af=1;}return this._wrap(_190.filter(_1ae,a[_1af],a[_1af+1]),this);},addContent:function(_1b0,_1b1){_1b0=this._normalize(_1b0,this[0]);for(var i=0,node;(node=this[i]);i++){this._place(_1b0,node,_1b1,i>0);}return this;}});return _198;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_1b2,lang,_1b3,_1b4){"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,_1b5=_1b2.forEach;var tnl=function(a,_1b6,_1b7){var _1b8=new (_1b7||this._NodeListCtor||nl)(a);return _1b6?_1b8._stash(_1b6):_1b8;};var _1b9=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 _1ba=function(f,o){return function(){this.forEach(_1b9(f,arguments,o));return this;};};var _1bb=function(f,o){return function(){return this.map(_1b9(f,arguments,o));};};var _1bc=function(f,o){return function(){return this.filter(_1b9(f,arguments,o));};};var _1bd=function(f,g,o){return function(){var a=arguments,body=_1b9(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _1be=function(_1bf){var _1c0=this instanceof nl&&has("array-extensible");if(typeof _1bf=="number"){_1bf=Array(_1bf);}var _1c1=(_1bf&&"length" in _1bf)?_1bf:arguments;if(_1c0||!_1c1.sort){var _1c2=_1c0?this:[],l=_1c2.length=_1c1.length;for(var i=0;i<l;i++){_1c2[i]=_1c1[i];}if(_1c0){return _1c2;}_1c1=_1c2;}lang._mixin(_1c1,nlp);_1c1._NodeListCtor=function(_1c3){return nl(_1c3);};return _1c1;};var nl=_1be,nlp=nl.prototype=has("array-extensible")?[]:{};nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_1bb;nl._adaptAsForEach=_1ba;nl._adaptAsFilter=_1bc;nl._adaptWithCondition=_1bd;_1b5(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});_1b5(["indexOf","lastIndexOf","every","some"],function(name){var f=_1b2[name];nlp[name]=function(){return f.apply(dojo,[this].concat(aps.call(arguments,0)));};});lang.extend(_1be,{constructor:nl,_NodeListCtor:nl,toString:function(){return this.join(",");},_stash:function(_1c4){this._parent=_1c4;return this;},on:function(_1c5,_1c6){var _1c7=this.map(function(node){return on(node,_1c5,_1c6);});_1c7.remove=function(){for(var i=0;i<_1c7.length;i++){_1c7[i].remove();}};return _1c7;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor(0);}},concat:function(item){var t=lang.isArray(this)?this:aps.call(this,0),m=_1b2.map(arguments,function(a){return a&&!lang.isArray(a)&&(typeof _1be!="undefined"&&a.constructor===_1be||a.constructor===this._NodeListCtor)?aps.call(a,0):a;});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(_1b2.map(this,func,obj),this);},forEach:function(_1c8,_1c9){_1b5(this,_1c8,_1c9);return this;},filter:function(_1ca){var a=arguments,_1cb=this,_1cc=0;if(typeof _1ca=="string"){_1cb=_1cd._filterResult(this,a[0]);if(a.length==1){return _1cb._stash(this);}_1cc=1;}return this._wrap(_1b2.filter(_1cb,a[_1cc],a[_1cc+1]),this);},instantiate:function(_1ce,_1cf){var c=lang.isFunction(_1ce)?_1ce:lang.getObject(_1ce);_1cf=_1cf||{};return this.forEach(function(node){new c(_1cf,node);});},at:function(){var t=new this._NodeListCtor(0);_1b5(arguments,function(i){if(i<0){i=this.length+i;}if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});function _1d0(_1d1,_1d2){var _1d3=function(_1d4,root){if(typeof root=="string"){root=dom.byId(root);if(!root){return new _1d2([]);}}var _1d5=typeof _1d4=="string"?_1d1(_1d4,root):_1d4.orphan?_1d4:[_1d4];if(_1d5.orphan){return _1d5;}return new _1d2(_1d5);};_1d3.matches=_1d1.match||function(node,_1d6,root){return _1d3.filter([node],_1d6,root).length>0;};_1d3.filter=_1d1.filter||function(_1d7,_1d8,root){return _1d3(_1d8,root).filter(function(node){return _1b2.indexOf(_1d7,node)>-1;});};if(typeof _1d1!="function"){var _1d9=_1d1.search;_1d1=function(_1da,root){return _1d9(root||document,_1da);};}return _1d3;};var _1cd=_1d0(_1b4,_1be);dojo.query=_1d0(_1b4,function(_1db){return _1be(_1db);});_1cd.load=function(id,_1dc,_1dd,_1de){_1b3.load(id,_1dc,function(_1df){_1dd(_1d0(_1df,_1be));});};dojo._filterQueryResult=_1cd._filterResult=function(_1e0,_1e1,root){return new _1be(_1cd.filter(_1e0,_1e1,root));};dojo.NodeList=_1cd.NodeList=_1be;return _1cd;});},"dojo/has":function(){define(["require"],function(_1e2){var has=_1e2.has||function(){};if(!1){var _1e3=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_1e4=this,doc=_1e3&&document,_1e5=doc&&doc.createElement("DiV"),_1e6={};has=function(name){return typeof _1e6[name]=="function"?(_1e6[name]=_1e6[name](_1e4,doc,_1e5)):_1e6[name];};has.cache=_1e6;has.add=function(name,test,now,_1e7){(typeof _1e6[name]=="undefined"||_1e7)&&(_1e6[name]=test);return now&&has(name);};true||has.add("host-browser",_1e3);true||has.add("dom",_1e3);true||has.add("dojo-dom-ready-api",1);true||has.add("dojo-sniff",1);}if(1){var _1e8=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",!!_1e8.match(/iPhone|iP[ao]d/));has.add("agent-android",_1e8.indexOf("android")>1);}has.clearElement=function(_1e9){_1e9.innerHTML="";return _1e9;};has.normalize=function(id,_1ea){var _1eb=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_1eb[i++];if(term==":"){return 0;}else{if(_1eb[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_1ea(id);};has.load=function(id,_1ec,_1ed){if(id){_1ec([id],_1ed);}else{_1ed();}};return has;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","./json","./lang","./array"],function(dojo,has,_1ee,_1ef,json,lang,_1f0){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}var _1f1=function(id){return {src:_1ef.id,id:id};},_1f2=function(name){return name.replace(/\./g,"/");},_1f3=/\/\/>>built/,_1f4=[],_1f5=[],_1f6=function(mid,_1f7,_1f8){_1f4.push(_1f8);_1f0.forEach(mid.split(","),function(mid){var _1f9=_1fa(mid,_1f7.module);_1f5.push(_1f9);_1fb(_1f9);});_1fc();},_1fd,_1fe=function(m){_1fd[m.mid]=1;for(var t,_1ff,deps=m.deps||[],i=0;i<deps.length;i++){_1ff=deps[i];if(!(t=_1fd[_1ff.mid])){if(t===0||!_1fe(_1ff)){_1fd[m.mid]=0;return false;}}}return true;},_1fc=function(){var _200,mid;_1fd={};for(mid in _201){_200=_201[mid];if(_200.executed||_200.noReqPluginCheck){_1fd[mid]=1;}else{if(_200.noReqPluginCheck!==0){_200.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(_200.noReqPluginCheck){_1fd[mid]=1;}else{if(_200.injected!==_202){_1fd[mid]=0;}}}}for(var t,i=0,end=_1f5.length;i<end;i++){_200=_1f5[i];if(!(t=_1fd[_200.mid])){if(t===0||!_1fe(_200)){return;}}}_203.holdIdle();var _204=_1f4;_1f4=[];_1f0.forEach(_204,function(cb){cb(1);});_203.releaseIdle();},_205=function(mid,_206,_207){_206([mid],function(_208){_206(_208.names,function(){for(var _209="",args=[],i=0;i<arguments.length;i++){_209+="var "+_208.names[i]+"= arguments["+i+"]; ";args.push(arguments[i]);}eval(_209);var _20a=_206.module,deps=[],hold={},_20b=[],p,_20c={provide:function(_20d){_20d=_1f2(_20d);var _20e=_1fa(_20d,_20a);if(_20e!==_20a){_232(_20e);}},require:function(_20f,_210){_20f=_1f2(_20f);_210&&(_1fa(_20f,_20a).result=_22d);_20b.push(_20f);},requireLocalization:function(_211,_212,_213){deps.length||(deps=["dojo/i18n"]);_213=(_213||dojo.locale).toLowerCase();_211=_1f2(_211)+"/nls/"+(/root/i.test(_213)?"":_213+"/")+_1f2(_212);if(_1fa(_211,_20a).isXd){deps.push("dojo/i18n!"+_211);}},loadInit:function(f){f();}};try{for(p in _20c){hold[p]=dojo[p];dojo[p]=_20c[p];}_208.def.apply(null,args);}catch(e){_233("error",[_1f1("failedDojoLoadInit"),e]);}finally{for(p in _20c){dojo[p]=hold[p];}}_20b.length&&deps.push("dojo/require!"+_20b.join(","));_1f4.push(_207);_1f0.forEach(_20b,function(mid){var _214=_1fa(mid,_206.module);_1f5.push(_214);_1fb(_214);});_1fc();});});},_215=function(text,_216,_217){var _218=/\(|\)/g,_219=1,_21a;_218.lastIndex=_216;while((_21a=_218.exec(text))){if(_21a[0]==")"){_219-=1;}else{_219+=1;}if(_219==0){break;}}if(_219!=0){throw "unmatched paren around character "+_218.lastIndex+" in: "+text;}return [dojo.trim(text.substring(_217,_218.lastIndex))+";\n",_218.lastIndex];},_21b=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,_21c=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,_21d=/(^|\s)(require|define)\s*\(/m,_21e=function(text,_21f){var _220,_221,_222,_223,_224=[],_225=[],_226=[];_21f=_21f||text.replace(_21b,function(_227){_21c.lastIndex=_21d.lastIndex=0;return (_21c.test(_227)||_21d.test(_227))?"":_227;});while((_220=_21c.exec(_21f))){_221=_21c.lastIndex;_222=_221-_220[0].length;_223=_215(_21f,_221,_222);if(_220[2]=="loadInit"){_224.push(_223[0]);}else{_225.push(_223[0]);}_21c.lastIndex=_223[1];}_226=_224.concat(_225);if(_226.length||!_21d.test(_21f)){return [text.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),_226.join(""),_226];}else{return 0;}},_228=function(_229,text){var _22a,id,_22b=[],_22c=[];if(_1f3.test(text)||!(_22a=_21e(text))){return 0;}id=_229.mid+"-*loadInit";for(var p in _1fa("dojo",_229).result.scopeMap){_22b.push(p);_22c.push("\""+p+"\"");}return "// xdomain rewrite of "+_229.path+"\n"+"define('"+id+"',{\n"+"\tnames:"+dojo.toJson(_22b)+",\n"+"\tdef:function("+_22b.join(",")+"){"+_22a[1]+"}"+"});\n\n"+"define("+dojo.toJson(_22b.concat(["dojo/loadInit!"+id]))+", function("+_22b.join(",")+"){\n"+_22a[0]+"});";},_203=_1ee.initSyncLoader(_1f6,_1fc,_228),sync=_203.sync,xd=_203.xd,_202=_203.arrived,_22d=_203.nonmodule,_22e=_203.executing,_22f=_203.executed,_230=_203.syncExecStack,_201=_203.modules,_231=_203.execQ,_1fa=_203.getModule,_1fb=_203.injectModule,_232=_203.setArrived,_233=_203.signal,_234=_203.finishExec,_235=_203.execModule,_236=_203.getLegacyMode;dojo.provide=function(mid){var _237=_230[0],_238=lang.mixin(_1fa(_1f2(mid),_1ee.module),{executed:_22e,result:lang.getObject(mid,true)});_232(_238);if(_237){(_237.provides||(_237.provides=[])).push(function(){_238.result=lang.getObject(mid);delete _238.provides;_238.executed!==_22f&&_234(_238);});}return _238.result;};has.add("config-publishRequireResult",1,0,0);dojo.require=function(_239,_23a){function _23b(mid,_23c){var _23d=_1fa(_1f2(mid),_1ee.module);if(_230.length&&_230[0].finish){_230[0].finish.push(mid);return undefined;}if(_23d.executed){return _23d.result;}_23c&&(_23d.result=_22d);var _23e=_236();_1fb(_23d);_23e=_236();if(_23d.executed!==_22f&&_23d.injected===_202){_203.holdIdle();_235(_23d);_203.releaseIdle();}if(_23d.executed){return _23d.result;}if(_23e==sync){if(_23d.cjs){_231.unshift(_23d);}else{_230.length&&(_230[0].finish=[mid]);}}else{_231.push(_23d);}return undefined;};var _23f=_23b(_239,_23a);if(has("config-publishRequireResult")&&!lang.exists(_239)&&_23f!==undefined){lang.setObject(_239,_23f);}return _23f;};dojo.loadInit=function(f){f();};dojo.registerModulePath=function(_240,_241){var _242={};_242[_240.replace(/\./g,"/")]=_241;_1ee({paths:_242});};dojo.platformRequire=function(_243){var _244=(_243.common||[]).concat(_243[dojo._name]||_243["default"]||[]),temp;while(_244.length){if(lang.isArray(temp=_244.shift())){dojo.require.apply(dojo,temp);}else{dojo.require(temp);}}};dojo.requireIf=dojo.requireAfterIf=function(_245,_246,_247){if(_245){dojo.require(_246,_247);}};dojo.requireLocalization=function(_248,_249,_24a){_1ee(["../i18n"],function(i18n){i18n.getLocalization(_248,_249,_24a);});};return {extractLegacyApiApplications:_21e,require:_203.dojoRequirePlugin,loadInit:_205};});},"dojo/json":function(){define(["./has"],function(has){"use strict";var _24b=typeof JSON!="undefined";has.add("json-parse",_24b);has.add("json-stringify",_24b&&JSON.stringify({a:0},function(k,v){return v||1;})=="{\"a\":1}");if(has("json-stringify")){return JSON;}else{var _24c=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};return {parse:has("json-parse")?JSON.parse:function(str,_24d){if(_24d&&!/^([\s\[\{]*(?:"(?:\\.|[^"])+"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){throw new SyntaxError("Invalid characters in JSON");}return eval("("+str+")");},stringify:function(_24e,_24f,_250){var _251;if(typeof _24f=="string"){_250=_24f;_24f=null;}function _252(it,_253,key){if(_24f){it=_24f(key,it);}var val,_254=typeof it;if(_254=="number"){return isFinite(it)?it+"":"null";}if(_254=="boolean"){return it+"";}if(it===null){return "null";}if(typeof it=="string"){return _24c(it);}if(_254=="function"||_254=="undefined"){return _251;}if(typeof it.toJSON=="function"){return _252(it.toJSON(key),_253,key);}if(it instanceof Date){return "\"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z\"".replace(/\{(\w+)(\+)?\}/g,function(t,prop,plus){var num=it["getUTC"+prop]()+(plus?1:0);return num<10?"0"+num:num;});}if(it.valueOf()!==it){return _252(it.valueOf(),_253,key);}var _255=_250?(_253+_250):"";var sep=_250?" ":"";var _256=_250?"\n":"";if(it instanceof Array){var itl=it.length,res=[];for(key=0;key<itl;key++){var obj=it[key];val=_252(obj,_255,key);if(typeof val!="string"){val="null";}res.push(_256+_255+val);}return "["+res.join(",")+_256+_253+"]";}var _257=[];for(key in it){var _258;if(typeof key=="number"){_258="\""+key+"\"";}else{if(typeof key=="string"){_258=_24c(key);}else{continue;}}val=_252(it[key],_255,key);if(typeof val!="string"){continue;}_257.push(_256+_255+_258+":"+sep+val);}return "{"+_257.join(",")+_256+_253+"}";};return _252(_24e,"","");}};}});},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var mix=lang.mixin,op=Object.prototype,opts=op.toString,xtor=new Function,_259=0,_25a="constructor";function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _25b(_25c,_25d){var _25e=[],_25f=[{cls:0,refs:[]}],_260={},_261=1,l=_25c.length,i=0,j,lin,base,top,_262,rec,name,refs;for(;i<l;++i){base=_25c[i];if(!base){err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?",_25d);}else{if(opts.call(base)!="[object Function]"){err("mixin #"+i+" is not a callable constructor.",_25d);}}lin=base._meta?base._meta.bases:[base];top=0;for(j=lin.length-1;j>=0;--j){_262=lin[j].prototype;if(!_262.hasOwnProperty("declaredClass")){_262.declaredClass="uniqName_"+(_259++);}name=_262.declaredClass;if(!_260.hasOwnProperty(name)){_260[name]={count:0,refs:[],cls:lin[j]};++_261;}rec=_260[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_25f[0].refs.push(top);}while(_25f.length){top=_25f.pop();_25e.push(top.cls);--_261;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_25e.push(top.cls);--_261;}if(top){for(i=0,l=refs.length;i<l;++i){top=refs[i];if(!--top.count){_25f.push(top);}}}}if(_261){err("can't build consistent linearization",_25d);}base=_25c[0];_25e[0]=base?base._meta&&base===_25e[_25e.length-base._meta.bases.length]?base._meta.bases.length:1:0;return _25e;};function _263(args,a,f){var name,_264,_265,_266,meta,base,_267,opf,pos,_268=this._inherited=this._inherited||{};if(typeof args=="string"){name=args;args=a;a=f;}f=0;_266=args.callee;name=name||_266.nom;if(!name){err("can't deduce a name to call inherited()",this.declaredClass);}meta=this.constructor._meta;_265=meta.bases;pos=_268.p;if(name!=_25a){if(_268.c!==_266){pos=0;base=_265[0];meta=base._meta;if(meta.hidden[name]!==_266){_264=meta.chains;if(_264&&typeof _264[name]=="string"){err("calling chained method with inherited: "+name,this.declaredClass);}do{meta=base._meta;_267=base.prototype;if(meta&&(_267[name]===_266&&_267.hasOwnProperty(name)||meta.hidden[name]===_266)){break;}}while(base=_265[++pos]);pos=base?pos:-1;}}base=_265[++pos];if(base){_267=base.prototype;if(base._meta&&_267.hasOwnProperty(name)){f=_267[name];}else{opf=op[name];do{_267=base.prototype;f=_267[name];if(f&&(base._meta?_267.hasOwnProperty(name):f!==opf)){break;}}while(base=_265[++pos]);}}f=base&&f||op[name];}else{if(_268.c!==_266){pos=0;meta=_265[0]._meta;if(meta&&meta.ctor!==_266){_264=meta.chains;if(!_264||_264.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(base=_265[++pos]){meta=base._meta;if(meta&&meta.ctor===_266){break;}}pos=base?pos:-1;}}while(base=_265[++pos]){meta=base._meta;f=meta?meta.ctor:base;if(f){break;}}f=base&&f;}_268.c=f;_268.p=pos;if(f){return a===true?f:f.apply(this,a||args);}};function _269(name,args){if(typeof name=="string"){return this.__inherited(name,args,true);}return this.__inherited(name,true);};function _26a(args,a1,a2){var f=this.getInherited(args,a1);if(f){return f.apply(this,a2||a1||args);}};var _26b=dojo.config.isDebug?_26a:_263;function _26c(cls){var _26d=this.constructor._meta.bases;for(var i=0,l=_26d.length;i<l;++i){if(_26d[i]===cls){return true;}}return this instanceof cls;};function _26e(_26f,_270){for(var name in _270){if(name!=_25a&&_270.hasOwnProperty(name)){_26f[name]=_270[name];}}if(has("bug-for-in-skips-shadowed")){for(var _271=lang._extraNames,i=_271.length;i;){name=_271[--i];if(name!=_25a&&_270.hasOwnProperty(name)){_26f[name]=_270[name];}}}};function _272(_273,_274){var name,t;for(name in _274){t=_274[name];if((t!==op[name]||!(name in op))&&name!=_25a){if(opts.call(t)=="[object Function]"){t.nom=name;}_273[name]=t;}}if(has("bug-for-in-skips-shadowed")){for(var _275=lang._extraNames,i=_275.length;i;){name=_275[--i];t=_274[name];if((t!==op[name]||!(name in op))&&name!=_25a){if(opts.call(t)=="[object Function]"){t.nom=name;}_273[name]=t;}}}return _273;};function _276(_277){_278.safeMixin(this.prototype,_277);return this;};function _279(_27a,_27b){return function(){var a=arguments,args=a,a0=a[0],f,i,m,l=_27a.length,_27c;if(!(this instanceof a.callee)){return _27d(a);}if(_27b&&(a0&&a0.preamble||this.preamble)){_27c=new Array(_27a.length);_27c[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_27a[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_27c[i]=a;}}for(i=l-1;i>=0;--i){f=_27a[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_27c?_27c[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _27e(ctor,_27f){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _27d(a);}if(_27f){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 _280(_281){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _27d(a);}for(;f=_281[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 _282(name,_283,_284){return function(){var b,m,f,i=0,step=1;if(_284){i=_283.length-1;step=-1;}for(;b=_283[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _285(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _27d(args){var ctor=args.callee,t=_285(ctor);ctor.apply(t,args);return t;};function _278(_286,_287,_288){if(typeof _286!="string"){_288=_287;_287=_286;_286="";}_288=_288||{};var _289,i,t,ctor,name,_28a,_28b,_28c=1,_28d=_287;if(opts.call(_287)=="[object Array]"){_28a=_25b(_287,_286);t=_28a[0];_28c=_28a.length-t;_287=_28a[_28c];}else{_28a=[0];if(_287){if(opts.call(_287)=="[object Function]"){t=_287._meta;_28a=_28a.concat(t?t.bases:_287);}else{err("base class is not a callable constructor.",_286);}}else{if(_287!==null){err("unknown base class. Did you use dojo.require to pull it in?",_286);}}}if(_287){for(i=_28c-1;;--i){_289=_285(_287);if(!i){break;}t=_28a[i];(t._meta?_26e:mix)(_289,t.prototype);ctor=new Function;ctor.superclass=_287;ctor.prototype=_289;_287=_289.constructor=ctor;}}else{_289={};}_278.safeMixin(_289,_288);t=_288.constructor;if(t!==op.constructor){t.nom=_25a;_289.constructor=t;}for(i=_28c-1;i;--i){t=_28a[i]._meta;if(t&&t.chains){_28b=mix(_28b||{},t.chains);}}if(_289["-chains-"]){_28b=mix(_28b||{},_289["-chains-"]);}t=!_28b||!_28b.hasOwnProperty(_25a);_28a[0]=ctor=(_28b&&_28b.constructor==="manual")?_280(_28a):(_28a.length==1?_27e(_288.constructor,t):_279(_28a,t));ctor._meta={bases:_28a,hidden:_288,chains:_28b,parents:_28d,ctor:_288.constructor};ctor.superclass=_287&&_287.prototype;ctor.extend=_276;ctor.prototype=_289;_289.constructor=ctor;_289.getInherited=_269;_289.isInstanceOf=_26c;_289.inherited=_26b;_289.__inherited=_263;if(_286){_289.declaredClass=_286;lang.setObject(_286,ctor);}if(_28b){for(name in _28b){if(_289[name]&&typeof _28b[name]=="string"&&name!=_25a){t=_289[name]=_282(name,_28a,_28b[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_278.safeMixin=_272;dojo.declare=_278;return _278;});},"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 _28e=doc||win.doc,te=id&&_28e.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_28e.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,_28f){try{node=dom.byId(node);_28f=dom.byId(_28f);while(node){if(node==_28f){return true;}node=node.parentNode;}}catch(e){}return false;};dom.setSelectable=function(node,_290){node=dom.byId(node);if(has("mozilla")){node.style.MozUserSelect=_290?"":"none";}else{if(has("khtml")||has("webkit")){node.style.KhtmlUserSelect=_290?"auto":"none";}else{if(has("ie")){var v=(node.unselectable=_290?"":"on"),cs=node.getElementsByTagName("*"),i=0,l=cs.length;for(;i<l;++i){cs.item(i).unselectable=v;}}}}};return dom;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define("dojo/_base/browser",["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/dom-style":function(){define(["./_base/sniff","./dom"],function(has,dom){var _291,_292={};if(has("webkit")){_291=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"))){_291=function(node){return node.nodeType==1?node.currentStyle:{};};}else{_291=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_292.getComputedStyle=_291;var _293;if(!has("ie")){_293=function(_294,_295){return parseFloat(_295)||0;};}else{_293=function(_296,_297){if(!_297){return 0;}if(_297=="medium"){return 4;}if(_297.slice&&_297.slice(-2)=="px"){return parseFloat(_297);}var s=_296.style,rs=_296.runtimeStyle,cs=_296.currentStyle,_298=s.left,_299=rs.left;rs.left=cs.left;try{s.left=_297;_297=s.pixelLeft;}catch(e){_297=0;}s.left=_298;rs.left=_299;return _297;};}_292.toPixelValue=_293;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _29a=has("ie")<9||(has("ie")&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _291(node).opacity;};var _29b=has("ie")<9||(has("ie")&&has("quirks"))?function(node,_29c){var ov=_29c*100,_29d=_29c==1;node.style.zoom=_29d?"":1;if(!af(node)){if(_29d){return _29c;}node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}af(node,1).Enabled=!_29d;if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_29b(td,_29c);}}}return _29c;}:function(node,_29e){return node.style.opacity=_29e;};var _29f={left:true,top:true};var _2a0=/margin|padding|width|height|max|min|offset/;function _2a1(node,type,_2a2){type=type.toLowerCase();if(has("ie")){if(_2a2=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2a2){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _29f)){_29f[type]=_2a0.test(type);}return _29f[type]?_293(node,_2a2):_2a2;};var _2a3=has("ie")?"styleFloat":"cssFloat",_2a4={"cssFloat":_2a3,"styleFloat":_2a3,"float":_2a3};_292.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _29a(n);}name=_2a4[name]||name;var s=_292.getComputedStyle(n);return (l==1)?s:_2a1(n,name,s[name]||n.style[name]);};_292.set=function setStyle(node,name,_2a5){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_2a4[name]||name;if(l==3){return op?_29b(n,_2a5):n.style[name]=_2a5;}for(var x in name){_292.set(node,x,name[x]);}return _292.getComputedStyle(n);};return _292;});},"dojo/dom-geometry":function(){define(["./_base/sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_2a6){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_2a7){node=dom.byId(node);var s=_2a7||_2a6.getComputedStyle(node),px=_2a6.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,_2a8){node=dom.byId(node);var px=_2a6.toPixelValue,s=_2a8||_2a6.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,_2a9){node=dom.byId(node);var s=_2a9||_2a6.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,_2aa){node=dom.byId(node);var s=_2aa||_2a6.getComputedStyle(node),px=_2a6.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,_2ab){node=dom.byId(node);var s=_2ab||_2a6.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_2a6.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=_2a6.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=_2a6.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,_2ac){node=dom.byId(node);var s=_2ac||_2a6.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 _2ad(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 _2ae(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _2af(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_2ae(node);};geom.setContentSize=function setContentSize(node,box,_2b0){node=dom.byId(node);var w=box.w,h=box.h;if(_2af(node)){var pb=geom.getPadBorderExtents(node,_2b0);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_2ad(node,NaN,NaN,w,h);};var _2b1={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_2b2){node=dom.byId(node);var s=_2b2||_2a6.getComputedStyle(node),w=box.w,h=box.h,pb=_2af(node)?_2b1:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_2ae(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);}_2ad(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(_2b3){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){_2b3+=de.clientLeft;}return (ie<8||qk)?(_2b3+de.clientWidth-de.scrollWidth):-_2b3;}return _2b3;};geom.position=function(node,_2b4){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")){var _2b5=geom.getIeDocumentElementOffset();ret.x-=_2b5.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_2b5.y+(has("quirks")?db.clientTop+db.offsetTop:0);}else{if(has("ff")==3){var cs=_2a6.getComputedStyle(dh),px=_2a6.toPixelValue;ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}}if(_2b4){var _2b6=geom.docScroll();ret.x+=_2b6.x;ret.y+=_2b6.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_2b7){node=dom.byId(node);var me=geom.getMarginExtents(node,_2b7||_2a6.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_2b8){if(!("layerX" in _2b8)){_2b8.layerX=_2b8.offsetX;_2b8.layerY=_2b8.offsetY;}if(!has("dom-addeventlistener")){var se=_2b8.target;var doc=(se&&se.ownerDocument)||document;var _2b9=has("quirks")?doc.body:doc.documentElement;var _2ba=geom.getIeDocumentElementOffset();_2b8.pageX=_2b8.clientX+geom.fixIeBiDiScrollLeft(_2b9.scrollLeft||0)-_2ba.x;_2b8.pageY=_2b8.clientY+(_2b9.scrollTop||0)-_2ba.y;}};return geom;});},"dojo/dom-prop":function(){define("dojo/dom-prop",["exports","./_base/kernel","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_2bb,dojo,has,lang,dom,_2bc,ctr,conn){var _2bd={},_2be=0,_2bf=dojo._scopeName+"attrid";var _2c0={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};_2bb.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_2bb.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2c1=_2bb.names[lc]||name;return node[_2c1];};_2bb.set=function setProp(node,name,_2c2){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_2bb.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_2c3=_2bb.names[lc]||name;if(_2c3=="style"&&typeof _2c2!="string"){_2bc.style(node,_2c2);return node;}if(_2c3=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in _2c0){ctr.empty(node);node.appendChild(ctr.toDom(_2c2,node.ownerDocument));}else{node[_2c3]=_2c2;}return node;}if(lang.isFunction(_2c2)){var _2c4=node[_2bf];if(!_2c4){_2c4=_2be++;node[_2bf]=_2c4;}if(!_2bd[_2c4]){_2bd[_2c4]={};}var h=_2bd[_2c4][_2c3];if(h){conn.disconnect(h);}else{try{delete node[_2c3];}catch(e){}}if(_2c2){_2bd[_2c4][_2c3]=conn.connect(node,_2c3,_2c2);}else{node[_2c3]=null;}return node;}node[_2c3]=_2c2;return node;};});},"dojo/dom-attr":function(){define(["exports","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_2c5,has,lang,dom,_2c6,prop){var _2c7={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_2c8={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _2c9(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};_2c5.has=function hasAttr(node,name){var lc=name.toLowerCase();return _2c7[prop.names[lc]||name]||_2c9(dom.byId(node),_2c8[lc]||name);};_2c5.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2ca=prop.names[lc]||name,_2cb=_2c7[_2ca];value=node[_2ca];if(_2cb&&typeof value!="undefined"){return value;}if(_2ca!="href"&&(typeof value=="boolean"||lang.isFunction(value))){return value;}var _2cc=_2c8[lc]||name;return _2c9(node,_2cc)?node.getAttribute(_2cc):null;};_2c5.set=function setAttr(node,name,_2cd){node=dom.byId(node);if(arguments.length==2){for(var x in name){_2c5.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_2ce=prop.names[lc]||name,_2cf=_2c7[_2ce];if(_2ce=="style"&&typeof _2cd!="string"){_2c6.set(node,_2cd);return node;}if(_2cf||typeof _2cd=="boolean"||lang.isFunction(_2cd)){return prop.set(node,name,_2cd);}node.setAttribute(_2c8[lc]||name,_2cd);return node;};_2c5.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_2c8[name.toLowerCase()]||name);};_2c5.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2d0=prop.names[lc]||name;if((_2d0 in node)&&_2d0!="href"){return node[_2d0];}var _2d1=_2c8[lc]||name;return _2c9(node,_2d1)?node.getAttribute(_2d1):null;};});},"dojo/dom-construct":function(){define("dojo/dom-construct",["exports","./_base/kernel","./_base/sniff","./_base/window","./dom","./dom-attr","./on"],function(_2d2,dojo,has,win,dom,attr,on){var _2d3={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"]},_2d4=/<\s*([\w\:]+)/,_2d5={},_2d6=0,_2d7="__"+dojo._scopeName+"ToDomId";for(var _2d8 in _2d3){if(_2d3.hasOwnProperty(_2d8)){var tw=_2d3[_2d8];tw.pre=_2d8=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}}function _2d9(node,ref){var _2da=ref.parentNode;if(_2da){_2da.insertBefore(node,ref);}};function _2db(node,ref){var _2dc=ref.parentNode;if(_2dc){if(_2dc.lastChild==ref){_2dc.appendChild(node);}else{_2dc.insertBefore(node,ref.nextSibling);}}};var _2dd=null,_2de;on(window,"unload",function(){_2dd=null;});_2d2.toDom=function toDom(frag,doc){doc=doc||win.doc;var _2df=doc[_2d7];if(!_2df){doc[_2d7]=_2df=++_2d6+"";_2d5[_2df]=doc.createElement("div");}frag+="";var _2e0=frag.match(_2d4),tag=_2e0?_2e0[1].toLowerCase():"",_2e1=_2d5[_2df],wrap,i,fc,df;if(_2e0&&_2d3[tag]){wrap=_2d3[tag];_2e1.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_2e1=_2e1.firstChild;}}else{_2e1.innerHTML=frag;}if(_2e1.childNodes.length==1){return _2e1.removeChild(_2e1.firstChild);}df=doc.createDocumentFragment();while(fc=_2e1.firstChild){df.appendChild(fc);}return df;};_2d2.place=function place(node,_2e2,_2e3){_2e2=dom.byId(_2e2);if(typeof node=="string"){node=/^\s*</.test(node)?_2d2.toDom(node,_2e2.ownerDocument):dom.byId(node);}if(typeof _2e3=="number"){var cn=_2e2.childNodes;if(!cn.length||cn.length<=_2e3){_2e2.appendChild(node);}else{_2d9(node,cn[_2e3<0?0:_2e3]);}}else{switch(_2e3){case "before":_2d9(node,_2e2);break;case "after":_2db(node,_2e2);break;case "replace":_2e2.parentNode.replaceChild(node,_2e2);break;case "only":_2d2.empty(_2e2);_2e2.appendChild(node);break;case "first":if(_2e2.firstChild){_2d9(node,_2e2.firstChild);break;}default:_2e2.appendChild(node);}}return node;};_2d2.create=function create(tag,_2e4,_2e5,pos){var doc=win.doc;if(_2e5){_2e5=dom.byId(_2e5);doc=_2e5.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_2e4){attr.set(tag,_2e4);}if(_2e5){_2d2.place(tag,_2e5,pos);}return tag;};_2d2.empty=has("ie")?function(node){node=dom.byId(node);for(var c;c=node.lastChild;){_2d2.destroy(c);}}:function(node){dom.byId(node).innerHTML="";};_2d2.destroy=function destroy(node){node=dom.byId(node);try{var doc=node.ownerDocument;if(!_2dd||_2de!=doc){_2dd=doc.createElement("div");_2de=doc;}_2dd.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_2dd.innerHTML="";}catch(e){}};});},"dojo/keys":function(){define("dojo/keys",["./_base/kernel","./_base/sniff"],function(dojo,has){return dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:has("safari")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:has("mac")&&!has("air")?(has("safari")?91:224):17};});},"dojo/domReady":function(){define(["./has"],function(has){var _2e6=this,doc=document,_2e7={"loaded":1,"complete":1},_2e8=typeof doc.readyState!="string",_2e9=!!_2e7[doc.readyState];if(_2e8){doc.readyState="loading";}if(!_2e9){var _2ea=[],_2eb=[],_2ec=function(evt){evt=evt||_2e6.event;if(_2e9||(evt.type=="readystatechange"&&!_2e7[doc.readyState])){return;}_2e9=1;if(_2e8){doc.readyState="complete";}while(_2ea.length){(_2ea.shift())();}},on=function(node,_2ed){node.addEventListener(_2ed,_2ec,false);_2ea.push(function(){node.removeEventListener(_2ed,_2ec,false);});};if(!has("dom-addeventlistener")){on=function(node,_2ee){_2ee="on"+_2ee;node.attachEvent(_2ee,_2ec);_2ea.push(function(){node.detachEvent(_2ee,_2ec);});};var div=doc.createElement("div");try{if(div.doScroll&&_2e6.frameElement===null){_2eb.push(function(){try{div.doScroll("left");return 1;}catch(e){}});}}catch(e){}}on(doc,"DOMContentLoaded");on(_2e6,"load");if("onreadystatechange" in doc){on(doc,"readystatechange");}else{if(!_2e8){_2eb.push(function(){return _2e7[doc.readyState];});}}if(_2eb.length){var _2ef=function(){if(_2e9){return;}var i=_2eb.length;while(i--){if(_2eb[i]()){_2ec("poller");return;}}setTimeout(_2ef,30);};_2ef();}}function _2f0(_2f1){if(_2e9){_2f1(1);}else{_2ea.push(_2f1);}};_2f0.load=function(id,req,load){_2f0(load);};return _2f0;});},"dojo/_base/lang":function(){define(["./kernel","../has","./sniff"],function(dojo,has){has.add("bug-for-in-skips-shadowed",function(){for(var i in {toString:1}){return 0;}return 1;});var _2f2=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_2f3=_2f2.length,_2f4=function(dest,_2f5,_2f6){var name,s,i,_2f7={};for(name in _2f5){s=_2f5[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _2f7)||_2f7[name]!==s))){dest[name]=_2f6?_2f6(s):s;}}if(has("bug-for-in-skips-shadowed")){if(_2f5){for(i=0;i<_2f3;++i){name=_2f2[i];s=_2f5[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _2f7)||_2f7[name]!==s))){dest[name]=_2f6?_2f6(s):s;}}}}return dest;},_2f8=function(dest,_2f9){if(!dest){dest={};}for(var i=1,l=arguments.length;i<l;i++){lang._mixin(dest,arguments[i]);}return dest;},_2fa=function(_2fb,_2fc,_2fd){var p,i=0,_2fe=dojo.global;if(!_2fd){if(!_2fb.length){return _2fe;}else{p=_2fb[i++];try{_2fd=dojo.scopeMap[p]&&dojo.scopeMap[p][1];}catch(e){}_2fd=_2fd||(p in _2fe?_2fe[p]:(_2fc?_2fe[p]={}:undefined));}}while(_2fd&&(p=_2fb[i++])){_2fd=(p in _2fd?_2fd[p]:(_2fc?_2fd[p]={}:undefined));}return _2fd;},_2ff=function(name,_300,_301){var _302=name.split("."),p=_302.pop(),obj=_2fa(_302,true,_301);return obj&&p?(obj[p]=_300):undefined;},_303=function(name,_304,_305){return _2fa(name.split("."),_304,_305);},_306=function(name,obj){return lang.getObject(name,false,obj)!==undefined;},opts=Object.prototype.toString,_307=function(it){return (typeof it=="string"||it instanceof String);},_308=function(it){return it&&(it instanceof Array||typeof it=="array");},_309=function(it){return opts.call(it)==="[object Function]";},_30a=function(it){return it!==undefined&&(it===null||typeof it=="object"||lang.isArray(it)||lang.isFunction(it));},_30b=function(it){return it&&it!==undefined&&!lang.isString(it)&&!lang.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(lang.isArray(it)||isFinite(it.length));},_30c=function(it){return it&&!lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));},_30d=function(_30e,_30f){for(var i=1,l=arguments.length;i<l;i++){lang._mixin(_30e.prototype,arguments[i]);}return _30e;},_310=function(_311,_312){var pre=_313(arguments,2);var _314=lang.isString(_312);return function(){var args=_313(arguments);var f=_314?(_311||dojo.global)[_312]:_312;return f&&f.apply(_311||this,pre.concat(args));};},_315=function(_316,_317){if(arguments.length>2){return lang._hitchArgs.apply(dojo,arguments);}if(!_317){_317=_316;_316=null;}if(lang.isString(_317)){_316=_316||dojo.global;if(!_316[_317]){throw (["dojo.hitch: scope[\"",_317,"\"] is null (scope=\"",_316,"\")"].join(""));}return function(){return _316[_317].apply(_316,arguments||[]);};}return !_316?_317:function(){return _317.apply(_316,arguments||[]);};},_318=(function(){function TMP(){};return function(obj,_319){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_319){lang._mixin(tmp,_319);}return tmp;};})(),_31a=function(obj,_31b,_31c){return (_31c||[]).concat(Array.prototype.slice.call(obj,_31b||0));},_313=has("ie")?(function(){function slow(obj,_31d,_31e){var arr=_31e||[];for(var x=_31d||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};return function(obj){return ((obj.item)?slow:_31a).apply(this,arguments);};})():_31a,_31f=function(_320){var arr=[null];return lang.hitch.apply(dojo,arr.concat(lang._toArray(arguments)));},_321=function(src){if(!src||typeof src!="object"||lang.isFunction(src)){return src;}if(src.nodeType&&"cloneNode" in src){return src.cloneNode(true);}if(src instanceof Date){return new Date(src.getTime());}if(src instanceof RegExp){return new RegExp(src);}var r,i,l;if(lang.isArray(src)){r=[];for(i=0,l=src.length;i<l;++i){if(i in src){r.push(_321(src[i]));}}}else{r=src.constructor?new src.constructor():{};}return lang._mixin(r,src,_321);},trim=String.prototype.trim?function(str){return str.trim();}:function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");},_322=/\{([^\}]+)\}/g,_323=function(tmpl,map,_324){return tmpl.replace(_324||_322,lang.isFunction(map)?map:function(_325,k){return _303(k,false,map);});},lang={_extraNames:_2f2,_mixin:_2f4,mixin:_2f8,setObject:_2ff,getObject:_303,exists:_306,isString:_307,isArray:_308,isFunction:_309,isObject:_30a,isArrayLike:_30b,isAlien:_30c,extend:_30d,_hitchArgs:_310,hitch:_315,delegate:_318,_toArray:_313,partial:_31f,clone:_321,trim:trim,replace:_323};1&&_2f8(dojo,lang);return lang;});},"dojo/Evented":function(){define(["./aspect","./on"],function(_326,on){"use strict";var _327=_326.after;function _328(){};_328.prototype={on:function(type,_329){return on.parse(this,type,_329,function(_32a,type){return _327(_32a,"on"+type,_329,true);});},emit:function(type,_32b){var args=[this];args.push.apply(args,arguments);return on.emit.apply(on,args);}};return _328;});},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(dojo,on,has,dom,win){has.add("dom-quirks",win.doc&&win.doc.compatMode=="BackCompat");has.add("events-mouseenter",win.doc&&"onmouseenter" in win.doc.createElement("div"));var _32c;if(has("dom-quirks")||!has("dom-addeventlistener")){_32c={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_32d){return e.button&_32d;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{_32c={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_32e){return e.button==_32e;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}dojo.mouseButtons=_32c;function _32f(type,_330){var _331=function(node,_332){return on(node,type,function(evt){if(!dom.isDescendant(evt.relatedTarget,_330?evt.target:node)){return _332.call(this,evt);}});};if(!_330){_331.bubble=_32f(type,true);}return _331;};return {enter:_32f("mouseover"),leave:_32f("mouseout"),isLeft:_32c.isLeft,isMiddle:_32c.isMiddle,isRight:_32c.isRight};});},"dojo/topic":function(){define(["./Evented"],function(_333){var hub=new _333;return {publish:function(_334,_335){return hub.emit.apply(hub,arguments);},subscribe:function(_336,_337){return hub.on.apply(hub,arguments);}};});},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./json","./lang","./array","../on"],function(dojo,has,_338,ioq,dom,_339,_33a,json,lang,_33b,on){has.add("native-xhr",function(){return typeof XMLHttpRequest!=="undefined";});if(1&&_338.getXhr){dojo._xhrObj=_338.getXhr;}else{if(has("native-xhr")){dojo._xhrObj=function(){try{return new XMLHttpRequest();}catch(e){throw new Error("XMLHTTP not available: "+e);}};}else{for(var _33c=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_33d,i=0;i<3;){try{_33d=_33c[i++];if(new ActiveXObject(_33d)){break;}}catch(e){}}dojo._xhrObj=function(){return new ActiveXObject(_33d);};}}var cfg=dojo.config;dojo.objectToQuery=ioq.objectToQuery;dojo.queryToObject=ioq.queryToObject;dojo.fieldToObject=_339.fieldToObject;dojo.formToObject=_339.toObject;dojo.formToQuery=_339.toQuery;dojo.formToJson=_339.toJson;dojo._blockAsync=false;var _33e=dojo._contentHandlers=dojo.contentHandlers={"text":function(xhr){return xhr.responseText;},"json":function(xhr){return json.fromJson(xhr.responseText||null);},"json-comment-filtered":function(xhr){if(!dojo.config.useCommentedJson){console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");}var _33f=xhr.responseText;var _340=_33f.indexOf("/*");var _341=_33f.lastIndexOf("*/");if(_340==-1||_341==-1){throw new Error("JSON was not comment filtered");}return json.fromJson(_33f.substring(_340+2,_341));},"javascript":function(xhr){return dojo.eval(xhr.responseText);},"xml":function(xhr){var _342=xhr.responseXML;if(has("ie")){if((!_342||!_342.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_33b.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_342=dom;}catch(e){return false;}return true;});}}return _342;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _33e["json-comment-filtered"](xhr);}else{return _33e["json"](xhr);}}};dojo._ioSetArgs=function(args,_343,_344,_345){var _346={args:args,url:args.url};var _347=null;if(args.form){var form=dom.byId(args.form);var _348=form.getAttributeNode("action");_346.url=_346.url||(_348?_348.value:null);_347=_339.toObject(form);}var _349=[{}];if(_347){_349.push(_347);}if(args.content){_349.push(args.content);}if(args.preventCache){_349.push({"dojo.preventCache":new Date().valueOf()});}_346.query=ioq.objectToQuery(lang.mixin.apply(null,_349));_346.handleAs=args.handleAs||"text";var d=new _33a(_343);d.addCallbacks(_344,function(_34a){return _345(_34a,d);});var ld=args.load;if(ld&&lang.isFunction(ld)){d.addCallback(function(_34b){return ld.call(args,_34b,_346);});}var err=args.error;if(err&&lang.isFunction(err)){d.addErrback(function(_34c){return err.call(args,_34c,_346);});}var _34d=args.handle;if(_34d&&lang.isFunction(_34d)){d.addBoth(function(_34e){return _34d.call(args,_34e,_346);});}if(cfg.ioPublish&&dojo.publish&&_346.args.ioPublish!==false){d.addCallbacks(function(res){dojo.publish("/dojo/io/load",[d,res]);return res;},function(res){dojo.publish("/dojo/io/error",[d,res]);return res;});d.addBoth(function(res){dojo.publish("/dojo/io/done",[d,res]);return res;});}d.ioArgs=_346;return d;};var _34f=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _350=typeof xhr.abort;if(_350=="function"||_350=="object"||_350=="unknown"){xhr.abort();}var err=dfd.ioArgs.error;if(!err){err=new Error("xhr cancelled");err.dojoType="cancel";}return err;};var _351=function(dfd){var ret=_33e[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _352=function(_353,dfd){if(!dfd.ioArgs.args.failOk){console.error(_353);}return _353;};var _354=null;var _355=[];var _356=0;var _357=function(dfd){if(_356<=0){_356=0;if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){dojo.publish("/dojo/io/stop");}}};var _358=function(){var now=(new Date()).getTime();if(!dojo._blockAsync){for(var i=0,tif;i<_355.length&&(tif=_355[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_355.splice(i--,1);_356-=1;}else{if(tif.ioCheck(dfd)){_355.splice(i--,1);tif.resHandle(dfd);_356-=1;}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_355.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();_356-=1;}}}}};if(dojo.config.debugAtAllCosts){func.call(this);}else{try{func.call(this);}catch(e){dfd.errback(e);}}}}_357(dfd);if(!_355.length){clearInterval(_354);_354=null;}};dojo._ioCancelAll=function(){try{_33b.forEach(_355,function(i){try{i.dfd.cancel();}catch(e){}});}catch(e){}};if(has("ie")){on(window,"unload",dojo._ioCancelAll);}dojo._ioNotifyStart=function(dfd){if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_356){dojo.publish("/dojo/io/start");}_356+=1;dojo.publish("/dojo/io/send",[dfd]);}};dojo._ioWatch=function(dfd,_359,_35a,_35b){var args=dfd.ioArgs.args;if(args.timeout){dfd.startTime=(new Date()).getTime();}_355.push({dfd:dfd,validCheck:_359,ioCheck:_35a,resHandle:_35b});if(!_354){_354=setInterval(_358,50);}if(args.sync){_358();}};var _35c="application/x-www-form-urlencoded";var _35d=function(dfd){return dfd.ioArgs.xhr.readyState;};var _35e=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _35f=function(dfd){var xhr=dfd.ioArgs.xhr;if(dojo._isDocumentOk(xhr)){dfd.callback(dfd);}else{var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);err.status=xhr.status;err.responseText=xhr.responseText;err.xhr=xhr;dfd.errback(err);}};dojo._ioAddQueryToUrl=function(_360){if(_360.query.length){_360.url+=(_360.url.indexOf("?")==-1?"?":"&")+_360.query;_360.query=null;}};dojo.xhr=function(_361,args,_362){var dfd=dojo._ioSetArgs(args,_34f,_351,_352);var _363=dfd.ioArgs;var xhr=_363.xhr=dojo._xhrObj(_363.args);if(!xhr){dfd.cancel();return dfd;}if("postData" in args){_363.query=args.postData;}else{if("putData" in args){_363.query=args.putData;}else{if("rawBody" in args){_363.query=args.rawBody;}else{if((arguments.length>2&&!_362)||"POST|PUT".indexOf(_361.toUpperCase())==-1){dojo._ioAddQueryToUrl(_363);}}}}xhr.open(_361,_363.url,args.sync!==true,args.user||undefined,args.password||undefined);if(args.headers){for(var hdr in args.headers){if(hdr.toLowerCase()==="content-type"&&!args.contentType){args.contentType=args.headers[hdr];}else{if(args.headers[hdr]){xhr.setRequestHeader(hdr,args.headers[hdr]);}}}}if(args.contentType!==false){xhr.setRequestHeader("Content-Type",args.contentType||_35c);}if(!args.headers||!("X-Requested-With" in args.headers)){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}dojo._ioNotifyStart(dfd);if(dojo.config.debugAtAllCosts){xhr.send(_363.query);}else{try{xhr.send(_363.query);}catch(e){_363.error=e;dfd.cancel();}}dojo._ioWatch(dfd,_35d,_35e,_35f);xhr=null;return dfd;};dojo.xhrGet=function(args){return dojo.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return dojo.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return dojo.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return dojo.xhr("DELETE",args);};dojo._isDocumentOk=function(http){var stat=http.status||0;stat=(stat>=200&&stat<300)||stat==304||stat==1223||!stat;return stat;};dojo._getText=function(url){var _364;dojo.xhrGet({url:url,sync:true,load:function(text){_364=text;}});return _364;};lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_339.fieldToObject,formToObject:_339.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_339.toQuery,formToJson:_339.toJson,queryToObject:ioq.queryToObject,contentHandlers:_33e,_ioSetArgs:dojo._ioSetArgs,_ioCancelAll:dojo._ioCancelAll,_ioNotifyStart:dojo._ioNotifyStart,_ioWatch:dojo._ioWatch,_ioAddQueryToUrl:dojo._ioAddQueryToUrl,_isDocumentOk:dojo._isDocumentOk,_getText:dojo._getText,get:dojo.xhrGet,post:dojo.xhrPost,put:dojo.xhrPut,del:dojo.xhrDelete});return dojo.xhr;});},"dojo/_base/unload":function(){define(["./kernel","./connect"],function(dojo,_365){var win=window;dojo.addOnWindowUnload=function(obj,_366){if(!dojo.windowUnloaded){_365.connect(win,"unload",(dojo.windowUnloaded=function(){}));}_365.connect(win,"unload",obj,_366);};dojo.addOnUnload=function(obj,_367){_365.connect(win,"beforeunload",obj,_367);};return {addOnWindowUnload:dojo.addOnWindowUnload,addOnUnload:dojo.addOnUnload};});},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(dojo,_368,_369){var _36a=_368.NodeList;var nlp=_36a.prototype;nlp.connect=_36a._adaptAsForEach(function(){return dojo.connect.apply(this,arguments);});nlp.coords=_36a._adaptAsMap(dojo.coords);_36a.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];_369.forEach(_36a.events,function(evt){var _36b="on"+evt;nlp[_36b]=function(a,b){return this.connect(_36b,a,b);};});dojo.NodeList=_36a;return dojo.NodeList;});},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(dojo,lang,_36c,_36d){var _36e=dojo.Color=function(_36f){if(_36f){this.setColor(_36f);}};_36e.named={"black":[0,0,0],"silver":[192,192,192],"gray":[128,128,128],"white":[255,255,255],"maroon":[128,0,0],"red":[255,0,0],"purple":[128,0,128],"fuchsia":[255,0,255],"green":[0,128,0],"lime":[0,255,0],"olive":[128,128,0],"yellow":[255,255,0],"navy":[0,0,128],"blue":[0,0,255],"teal":[0,128,128],"aqua":[0,255,255],"transparent":_36d.transparentColor||[0,0,0,0]};lang.extend(_36e,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){var t=this;t.r=r;t.g=g;t.b=b;t.a=a;},setColor:function(_370){if(lang.isString(_370)){_36e.fromString(_370,this);}else{if(lang.isArray(_370)){_36e.fromArray(_370,this);}else{this._set(_370.r,_370.g,_370.b,_370.a);if(!(_370 instanceof _36e)){this.sanitize();}}}return this;},sanitize:function(){return this;},toRgb:function(){var t=this;return [t.r,t.g,t.b];},toRgba:function(){var t=this;return [t.r,t.g,t.b,t.a];},toHex:function(){var arr=_36c.map(["r","g","b"],function(x){var s=this[x].toString(16);return s.length<2?"0"+s:s;},this);return "#"+arr.join("");},toCss:function(_371){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_371?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});_36e.blendColors=dojo.blendColors=function(_372,end,_373,obj){var t=obj||new _36e();_36c.forEach(["r","g","b","a"],function(x){t[x]=_372[x]+(end[x]-_372[x])*_373;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};_36e.fromRgb=dojo.colorFromRgb=function(_374,obj){var m=_374.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&_36e.fromArray(m[1].split(/\s*,\s*/),obj);};_36e.fromHex=dojo.colorFromHex=function(_375,obj){var t=obj||new _36e(),bits=(_375.length==4)?4:8,mask=(1<<bits)-1;_375=Number("0x"+_375.substr(1));if(isNaN(_375)){return null;}_36c.forEach(["b","g","r"],function(x){var c=_375&mask;_375>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};_36e.fromArray=dojo.colorFromArray=function(a,obj){var t=obj||new _36e();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};_36e.fromString=dojo.colorFromString=function(str,obj){var a=_36e.named[str];return a&&_36e.fromArray(a,obj)||_36e.fromRgb(str,obj)||_36e.fromHex(str,obj);};return _36e;});},"dojo/selector/_loader":function(){define(["../has","require"],function(has,_376){"use strict";var _377=document.createElement("div");has.add("dom-qsa2.1",!!_377.querySelectorAll);has.add("dom-qsa3",function(){try{_377.innerHTML="<p class='TEST'></p>";return _377.querySelectorAll(".TEST:empty").length==1;}catch(e){}});var _378;var acme="./acme",lite="./lite";return {load:function(id,_379,_37a,_37b){var req=_376;id=id=="default"?has("config-selectorEngine")||"css3":id;id=id=="css2"||id=="lite"?lite:id=="css2.1"?has("dom-qsa2.1")?lite:acme:id=="css3"?has("dom-qsa3")?lite:acme:id=="acme"?acme:(req=_379)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var _37c=true;}if(_37c&&(has("dom-compliant-qsa")||_378)){return _37a(_378);}req([id],function(_37d){if(id!="./lite"){_378=_37d;}_37a(_37d);});}};});},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./has"],function(_37e,dojo,has){"use strict";if(1){var _37f=window.ScriptEngineMajorVersion;has.add("jscript",_37f&&(_37f()+ScriptEngineMinorVersion()/10));has.add("event-orientationchange",has("touch")&&!has("android"));}var on=function(_380,type,_381,_382){if(_380.on){return _380.on(type,_381);}return on.parse(_380,type,_381,_383,_382,this);};on.pausable=function(_384,type,_385,_386){var _387;var _388=on(_384,type,function(){if(!_387){return _385.apply(this,arguments);}},_386);_388.pause=function(){_387=true;};_388.resume=function(){_387=false;};return _388;};on.once=function(_389,type,_38a,_38b){var _38c=on(_389,type,function(){_38c.remove();return _38a.apply(this,arguments);});return _38c;};on.parse=function(_38d,type,_38e,_38f,_390,_391){if(type.call){return type.call(_391,_38d,_38e);}if(type.indexOf(",")>-1){var _392=type.split(/\s*,\s*/);var _393=[];var i=0;var _394;while(_394=_392[i++]){_393.push(_38f(_38d,_394,_38e,_390,_391));}_393.remove=function(){for(var i=0;i<_393.length;i++){_393[i].remove();}};return _393;}return _38f(_38d,type,_38e,_390,_391);};var _395=/^touch/;function _383(_396,type,_397,_398,_399){var _39a=type.match(/(.*):(.*)/);if(_39a){type=_39a[2];_39a=_39a[1];return on.selector(_39a,type).call(_399,_396,_397);}if(has("touch")){if(_395.test(type)){_397=_39b(_397);}if(!has("event-orientationchange")&&(type=="orientationchange")){type="resize";_396=window;_397=_39b(_397);}}if(_396.addEventListener){var _39c=type in _39d;_396.addEventListener(_39c?_39d[type]:type,_397,_39c);return {remove:function(){_396.removeEventListener(type,_397,_39c);}};}type="on"+type;if(_39e&&_396.attachEvent){return _39e(_396,type,_397);}throw new Error("Target must be an event emitter");};on.selector=function(_39f,_3a0,_3a1){return function(_3a2,_3a3){var _3a4=this;var _3a5=_3a0.bubble;if(_3a5){_3a0=_3a5;}else{if(_3a1!==false){_3a1=true;}}return on(_3a2,_3a0,function(_3a6){var _3a7=_3a6.target;_3a4=_3a4&&_3a4.matches?_3a4:dojo.query;while(!_3a4.matches(_3a7,_39f,_3a2)){if(_3a7==_3a2||!_3a1||!(_3a7=_3a7.parentNode)){return;}}return _3a3.call(_3a7,_3a6);});};};function _3a8(){this.cancelable=false;};function _3a9(){this.bubbles=false;};var _3aa=[].slice,_3ab=on.emit=function(_3ac,type,_3ad){var args=_3aa.call(arguments,2);var _3ae="on"+type;if("parentNode" in _3ac){var _3af=args[0]={};for(var i in _3ad){_3af[i]=_3ad[i];}_3af.preventDefault=_3a8;_3af.stopPropagation=_3a9;_3af.target=_3ac;_3af.type=type;_3ad=_3af;}do{_3ac[_3ae]&&_3ac[_3ae].apply(_3ac,args);}while(_3ad&&_3ad.bubbles&&(_3ac=_3ac.parentNode));return _3ad&&_3ad.cancelable&&_3ad;};var _39d={};if(has("dom-addeventlistener")){_39d={focusin:"focus",focusout:"blur"};if(has("opera")){_39d.keydown="keypress";}on.emit=function(_3b0,type,_3b1){if(_3b0.dispatchEvent&&document.createEvent){var _3b2=document.createEvent("HTMLEvents");_3b2.initEvent(type,!!_3b1.bubbles,!!_3b1.cancelable);for(var i in _3b1){var _3b3=_3b1[i];if(!(i in _3b2)){_3b2[i]=_3b1[i];}}return _3b0.dispatchEvent(_3b2)&&_3b2;}return _3ab.apply(on,arguments);};}else{on._fixEvent=function(evt,_3b4){if(!evt){var w=_3b4&&(_3b4.ownerDocument||_3b4.document||_3b4).parentWindow||window;evt=w.event;}if(!evt){return (evt);}if(!evt.target){evt.target=evt.srcElement;evt.currentTarget=(_3b4||evt.srcElement);if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(!evt.stopPropagation){evt.stopPropagation=_3b5;evt.preventDefault=_3b6;}switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;_3b7(evt);break;}}return evt;};var _3b8=function(_3b9){this.handle=_3b9;};_3b8.prototype.remove=function(){delete _dojoIEListeners_[this.handle];};var _3ba=function(_3bb){return function(evt){evt=on._fixEvent(evt,this);return _3bb.call(this,evt);};};var _39e=function(_3bc,type,_3bd){_3bd=_3ba(_3bd);if(((_3bc.ownerDocument?_3bc.ownerDocument.parentWindow:_3bc.parentWindow||_3bc.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){if(typeof _dojoIEListeners_=="undefined"){_dojoIEListeners_=[];}var _3be=_3bc[type];if(!_3be||!_3be.listeners){var _3bf=_3be;_3bc[type]=_3be=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}");_3be.listeners=[];_3be.global=this;if(_3bf){_3be.listeners.push(_dojoIEListeners_.push(_3bf)-1);}}var _3c0;_3be.listeners.push(_3c0=(_3be.global._dojoIEListeners_.push(_3bd)-1));return new _3b8(_3c0);}return _37e.after(_3bc,type,_3bd,true);};var _3b7=function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _3b5=function(){this.cancelBubble=true;};var _3b6=on._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){try{this.keyCode=0;}catch(e){}}this.returnValue=false;};}if(has("touch")){var _3c1=function(){};var _3c2=window.orientation;var _39b=function(_3c3){return function(_3c4){var _3c5=_3c4.corrected;if(!_3c5){var type=_3c4.type;try{delete _3c4.type;}catch(e){}if(_3c4.type){_3c1.prototype=_3c4;var _3c5=new _3c1;_3c5.preventDefault=function(){_3c4.preventDefault();};_3c5.stopPropagation=function(){_3c4.stopPropagation();};}else{_3c5=_3c4;_3c5.type=type;}_3c4.corrected=_3c5;if(type=="resize"){if(_3c2==window.orientation){return null;}_3c2=window.orientation;_3c5.type="orientationchange";return _3c3.call(this,_3c5);}if(!("rotation" in _3c5)){_3c5.rotation=0;_3c5.scale=1;}var _3c6=_3c5.changedTouches[0];for(var i in _3c6){delete _3c5[i];_3c5[i]=_3c6[i];}}return _3c3.call(this,_3c5);};};}return on;});},"dojo/_base/sniff":function(){define(["./kernel","../has"],function(dojo,has){if(!1){return has;}dojo.isBrowser=true,dojo._name="browser";var _3c7=has.add,n=navigator,dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav),_3c8,_3c9,_3ca,_3cb,_3cc,_3cd,_3ce,_3cf,_3d0,isIE,isFF,_3d1,_3d2,_3d3,_3d4;if(dua.indexOf("AdobeAIR")>=0){_3c9=1;}_3ca=(dav.indexOf("Konqueror")>=0)?tv:0;_3cb=parseFloat(dua.split("WebKit/")[1])||undefined;_3cc=parseFloat(dua.split("Chrome/")[1])||undefined;_3cd=dav.indexOf("Macintosh")>=0;_3d2=/iPhone|iPod|iPad/.test(dua);_3d3=parseFloat(dua.split("Android ")[1])||undefined;_3d4=typeof opera!="undefined"&&opera.wiiremote;var _3d5=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_3d5&&!_3cc){_3ce=parseFloat(dav.split("Version/")[1]);if(!_3ce||parseFloat(dav.substr(_3d5+7))<=419.3){_3ce=2;}}if(!has("dojo-webkit")){if(dua.indexOf("Opera")>=0){_3c8=tv;if(_3c8>=9.8){_3c8=parseFloat(dua.split("Version/")[1])||tv;}}if(dua.indexOf("Gecko")>=0&&!_3ca&&!_3cb){_3cf=_3d0=tv;}if(_3d0){isFF=parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined;}if(document.all&&!_3c8){isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var mode=document.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}}}_3d1=document.compatMode=="BackCompat";_3c7("opera",dojo.isOpera=_3c8);_3c7("air",dojo.isAIR=_3c9);_3c7("khtml",dojo.isKhtml=_3ca);_3c7("webkit",dojo.isWebKit=_3cb);_3c7("chrome",dojo.isChrome=_3cc);_3c7("mac",dojo.isMac=_3cd);_3c7("safari",dojo.isSafari=_3ce);_3c7("mozilla",dojo.isMozilla=dojo.isMoz=_3cf);_3c7("ie",dojo.isIE=isIE);_3c7("ff",dojo.isFF=isFF);_3c7("quirks",dojo.isQuirks=_3d1);_3c7("ios",dojo.isIos=_3d2);_3c7("android",dojo.isAndroid=_3d3);dojo.locale=dojo.locale||(isIE?n.userLanguage:n.language).toLowerCase();return has;});},"dojo/_base/array":function(){define("dojo/_base/array",["./kernel","../has","./lang"],function(dojo,has,lang){var _3d6={},u,_3d7;function _3d8(){_3d6={};};function _3d9(fn){return _3d6[fn]=new Function("item","index","array",fn);};function _3da(some){var _3db=!some;return function(a,fn,o){var i=0,l=a&&a.length||0,_3dc;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_3d6[fn]||_3d9(fn);}if(o){for(;i<l;++i){_3dc=!fn.call(o,a[i],i,a);if(some^_3dc){return !_3dc;}}}else{for(;i<l;++i){_3dc=!fn(a[i],i,a);if(some^_3dc){return !_3dc;}}}return _3db;};};function _3dd(up){var _3de=1,_3df=0,_3e0=0;if(!up){_3de=_3df=_3e0=-1;}return function(a,x,from,last){if(last&&_3de>0){return _3d7.lastIndexOf(a,x,from);}var l=a&&a.length||0,end=up?l+_3e0:_3df,i;if(from===u){i=up?_3df:l+_3e0;}else{if(from<0){i=l+from;if(i<0){i=_3df;}}else{i=from>=l?l+_3e0:from;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_3de){if(a[i]==x){return i;}}return -1;};};function _3e1(a,fn,o){var i=0,l=a&&a.length||0;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_3d6[fn]||_3d9(fn);}if(o){for(;i<l;++i){fn.call(o,a[i],i,a);}}else{for(;i<l;++i){fn(a[i],i,a);}}};function map(a,fn,o,Ctr){var i=0,l=a&&a.length||0,out=new (Ctr||Array)(l);if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_3d6[fn]||_3d9(fn);}if(o){for(;i<l;++i){out[i]=fn.call(o,a[i],i,a);}}else{for(;i<l;++i){out[i]=fn(a[i],i,a);}}return out;};function _3e2(a,fn,o){var i=0,l=a&&a.length||0,out=[],_3e3;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_3d6[fn]||_3d9(fn);}if(o){for(;i<l;++i){_3e3=a[i];if(fn.call(o,_3e3,i,a)){out.push(_3e3);}}}else{for(;i<l;++i){_3e3=a[i];if(fn(_3e3,i,a)){out.push(_3e3);}}}return out;};_3d7={every:_3da(false),some:_3da(true),indexOf:_3dd(true),lastIndexOf:_3dd(false),forEach:_3e1,map:map,filter:_3e2,clearCache:_3d8};1&&lang.mixin(dojo,_3d7);return _3d7;});},"dojo/_base/json":function(){define(["./kernel","../json"],function(dojo,json){dojo.fromJson=function(js){return eval("("+js+")");};dojo._escapeString=json.stringify;dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_3e4){return json.stringify(it,function(key,_3e5){if(_3e5){var tf=_3e5.__json__||_3e5.json;if(typeof tf=="function"){return tf.call(_3e5);}}return _3e5;},_3e4&&dojo.toJsonIndentStr);};return dojo;});},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(lang,_3e6,dom){var _3e7="className";var cls,_3e8=/\s+/,a1=[""];function _3e9(s){if(typeof s=="string"||s instanceof String){if(s&&!_3e8.test(s)){a1[0]=s;return a1;}var a=s.split(_3e8);if(a.length&&!a[0]){a.shift();}if(a.length&&!a[a.length-1]){a.pop();}return a;}if(!s){return [];}return _3e6.filter(s,function(x){return x;});};var _3ea={};cls={contains:function containsClass(node,_3eb){return ((" "+dom.byId(node)[_3e7]+" ").indexOf(" "+_3eb+" ")>=0);},add:function addClass(node,_3ec){node=dom.byId(node);_3ec=_3e9(_3ec);var cls=node[_3e7],_3ed;cls=cls?" "+cls+" ":" ";_3ed=cls.length;for(var i=0,len=_3ec.length,c;i<len;++i){c=_3ec[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}if(_3ed<cls.length){node[_3e7]=cls.substr(1,cls.length-2);}},remove:function removeClass(node,_3ee){node=dom.byId(node);var cls;if(_3ee!==undefined){_3ee=_3e9(_3ee);cls=" "+node[_3e7]+" ";for(var i=0,len=_3ee.length;i<len;++i){cls=cls.replace(" "+_3ee[i]+" "," ");}cls=lang.trim(cls);}else{cls="";}if(node[_3e7]!=cls){node[_3e7]=cls;}},replace:function replaceClass(node,_3ef,_3f0){node=dom.byId(node);_3ea[_3e7]=node[_3e7];cls.remove(_3ea,_3f0);cls.add(_3ea,_3ef);if(node[_3e7]!==_3ea[_3e7]){node[_3e7]=_3ea[_3e7];}},toggle:function toggleClass(node,_3f1,_3f2){node=dom.byId(node);if(_3f2===undefined){_3f1=_3e9(_3f1);for(var i=0,len=_3f1.length,c;i<len;++i){c=_3f1[i];cls[cls.contains(node,c)?"remove":"add"](node,c);}}else{cls[_3f2?"add":"remove"](node,_3f1);}return _3f2;}};return cls;});},"dojo/_base/window":function(){define(["./kernel","../has","./sniff"],function(dojo,has){dojo.doc=this["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_3f3,_3f4){dojo.global=ret.global=_3f3;dojo.doc=ret.doc=_3f4;};dojo.withGlobal=function(_3f5,_3f6,_3f7,_3f8){var _3f9=dojo.global;try{dojo.global=ret.global=_3f5;return dojo.withDoc.call(null,_3f5.document,_3f6,_3f7,_3f8);}finally{dojo.global=ret.global=_3f9;}};dojo.withDoc=function(_3fa,_3fb,_3fc,_3fd){var _3fe=dojo.doc,oldQ=dojo.isQuirks,_3ff=dojo.isIE,isIE,mode,pwin;try{dojo.doc=ret.doc=_3fa;dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);if(has("ie")){if((pwin=_3fa.parentWindow)&&pwin.navigator){isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;mode=_3fa.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}dojo.isIE=has.add("ie",isIE,true,true);}}if(_3fc&&typeof _3fb=="string"){_3fb=_3fc[_3fb];}return _3fb.apply(_3fc,_3fd||[]);}finally{dojo.doc=ret.doc=_3fe;dojo.isQuirks=has.add("quirks",oldQ,true,true);dojo.isIE=has.add("ie",_3ff,true,true);}};var ret={global:dojo.global,doc:dojo.doc,body:dojo.body,setContext:dojo.setContext,withGlobal:dojo.withGlobal,withDoc:dojo.withDoc};return ret;});},"dojo/_base/config":function(){define(["../has","require"],function(has,_400){var _401={};if(1){var src=_400.rawConfig,p;for(p in src){_401[p]=src[p];}}else{var _402=function(_403,_404,_405){for(p in _403){p!="has"&&has.add(_404+p,_403[p],0,_405);}};_401=1?_400.rawConfig:this.dojoConfig||this.djConfig||{};_402(_401,"config",1);_402(_401.has,"",1);}return _401;});},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(dojo,on,has,dom){if(on._fixEvent){var _406=on._fixEvent;on._fixEvent=function(evt,se){evt=_406(evt,se);if(evt){dom.normalizeEvent(evt);}return evt;};}dojo.fixEvent=function(evt,_407){if(on._fixEvent){return on._fixEvent(evt,_407);}return evt;};dojo.stopEvent=function(evt){if(has("dom-addeventlistener")||(evt&&evt.preventDefault)){evt.preventDefault();evt.stopPropagation();}else{evt=evt||window.event;evt.cancelBubble=true;on._preventDefault.call(evt);}};return {fix:dojo.fixEvent,stop:dojo.stopEvent};});},"dojo/main":function(){define(["./_base/kernel","./has","require","./_base/sniff","./_base/lang","./_base/array","./ready","./_base/declare","./_base/connect","./_base/Deferred","./_base/json","./_base/Color","./has!dojo-firebug?./_firebug/firebug","./_base/browser","./_base/loader"],function(dojo,has,_408,_409,lang,_40a,_40b){if(dojo.config.isDebug){_408(["./_firebug/firebug"]);}true||has.add("dojo-config-require",1);if(1){var deps=dojo.config.require;if(deps){deps=_40a.map(lang.isArray(deps)?deps:[deps],function(item){return item.replace(/\./g,"/");});if(dojo.isAsync){_408(deps);}else{_40b(1,function(){_408(deps);});}}}return dojo;});},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(dojo,has,_40c,_40d,lang){var _40e=0,_40f,_410=[],_411=0,_412=function(){_40e=1;dojo._postLoad=dojo.config.afterOnLoad=true;if(_410.length){_40f(_413);}},_413=function(){if(_40e&&!_411&&_410.length){_411=1;var f=_410.shift();try{f();}finally{_411=0;}_411=0;if(_410.length){_40f(_413);}}};if(1){_40c.on("idle",_413);_40f=function(){if(_40c.idle()){_413();}};}else{_40f=function(){_40c.ready(_413);};}var _414=dojo.ready=dojo.addOnLoad=function(_415,_416,_417){var _418=lang._toArray(arguments);if(typeof _415!="number"){_417=_416;_416=_415;_415=1000;}else{_418.shift();}_417=_417?lang.hitch.apply(dojo,_418):function(){_416();};_417.priority=_415;for(var i=0;i<_410.length&&_415>=_410[i].priority;i++){}_410.splice(i,0,_417);_40f();};true||has.add("dojo-config-addOnLoad",1);if(1){var dca=dojo.config.addOnLoad;if(dca){_414[(lang.isArray(dca)?"apply":"call")](dojo,dca);}}if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){_414(99,function(){if(!dojo.parser){dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");_40c(["dojo/parser"]);}});}if(1){_40d(_412);}else{_412();}return _414;});},"dojo/aspect":function(){define([],function(){"use strict";var _419=0;function _41a(_41b,type,_41c,_41d){var _41e=_41b[type];var _41f=type=="around";var _420;if(_41f){var _421=_41c(function(){return _41e.advice(this,arguments);});_420={remove:function(){_420.cancelled=true;},advice:function(_422,args){return _420.cancelled?_41e.advice(_422,args):_421.apply(_422,args);}};}else{_420={remove:function(){var _423=_420.previous;var next=_420.next;if(!next&&!_423){delete _41b[type];}else{if(_423){_423.next=next;}else{_41b[type]=next;}if(next){next.previous=_423;}}},id:_419++,advice:_41c,receiveArguments:_41d};}if(_41e&&!_41f){if(type=="after"){var next=_41e;while(next){_41e=next;next=next.next;}_41e.next=_420;_420.previous=_41e;}else{if(type=="before"){_41b[type]=_420;_420.next=_41e;_41e.previous=_420;}}}else{_41b[type]=_420;}return _420;};function _424(type){return function(_425,_426,_427,_428){var _429=_425[_426],_42a;if(!_429||_429.target!=_425){_425[_426]=_42a=function(){var _42b=_419;var args=arguments;var _42c=_42a.before;while(_42c){args=_42c.advice.apply(this,args)||args;_42c=_42c.next;}if(_42a.around){var _42d=_42a.around.advice(this,args);}var _42e=_42a.after;while(_42e&&_42e.id<_42b){_42d=_42e.receiveArguments?_42e.advice.apply(this,args)||_42d:_42e.advice.call(this,_42d);_42e=_42e.next;}return _42d;};if(_429){_42a.around={advice:function(_42f,args){return _429.apply(_42f,args);}};}_42a.target=_425;}var _430=_41a((_42a||_429),type,_427,_428);_427=null;return _430;};};return {before:_424("before"),around:_424("around"),after:_424("after")};});},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(_431,on,hub,_432,_433,_434,has,lang){has.add("events-keypress-typed",function(){var _435={charCode:0};try{_435=document.createEvent("KeyboardEvent");(_435.initKeyboardEvent||_435.initKeyEvent).call(_435,"keypress",true,true,null,false,false,false,false,9,3);}catch(e){}return _435.charCode==0&&!has("opera");});function _436(obj,_437,_438,_439,_43a){_439=lang.hitch(_438,_439);if(!obj||!(obj.addEventListener||obj.attachEvent)){return _432.after(obj||_431.global,_437,_439,true);}if(typeof _437=="string"&&_437.substring(0,2)=="on"){_437=_437.substring(2);}if(!obj){obj=_431.global;}if(!_43a){switch(_437){case "keypress":_437=_43b;break;case "mouseenter":_437=_434.enter;break;case "mouseleave":_437=_434.leave;break;}}return on(obj,_437,_439,_43a);};var _43c={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113};var _43d=has("mac")?"metaKey":"ctrlKey";var _43e=function(evt,_43f){var faux=lang.mixin({},evt,_43f);_440(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};function _440(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _43b;if(has("events-keypress-typed")){var _441=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};_43b=function(_442,_443){var _444=on(_442,"keydown",function(evt){var k=evt.keyCode;var _445=(k!=13||(has("ie")>=9&&!has("quirks")))&&k!=32&&(k!=27||!has("ie"))&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222)&&k!=229;if(_445||evt.ctrlKey){var c=_445?0:k;if(evt.ctrlKey){if(k==3||k==13){return _443.call(evt.currentTarget,evt);}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=_43c[c]||c;}}}}var faux=_43e(evt,{type:"keypress",faux:true,charCode:c});_443.call(evt.currentTarget,faux);if(has("ie")){_441(evt,faux.keyCode);}}});var _446=on(_442,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_43e(evt,{charCode:c,faux:true});return _443.call(this,evt);});return {remove:function(){_444.remove();_446.remove();}};};}else{if(has("opera")){_43b=function(_447,_448){return on(_447,"keypress",function(evt){var c=evt.which;if(c==3){c=99;}c=c<32&&!evt.shiftKey?0:c;if(evt.ctrlKey&&!evt.shiftKey&&c>=65&&c<=90){c+=32;}return _448.call(this,_43e(evt,{charCode:c}));});};}else{_43b=function(_449,_44a){return on(_449,"keypress",function(evt){_440(evt);return _44a.call(this,evt);});};}}var _44b={_keypress:_43b,connect:function(obj,_44c,_44d,_44e,_44f){var a=arguments,args=[],i=0;args.push(typeof a[0]=="string"?null:a[i++],a[i++]);var a1=a[i+1];args.push(typeof a1=="string"||typeof a1=="function"?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){args.push(a[i]);}return _436.apply(this,args);},disconnect:function(_450){if(_450){_450.remove();}},subscribe:function(_451,_452,_453){return hub.subscribe(_451,lang.hitch(_452,_453));},publish:function(_454,args){return hub.publish.apply(hub,[_454].concat(args));},connectPublisher:function(_455,obj,_456){var pf=function(){_44b.publish(_455,arguments);};return _456?_44b.connect(obj,_456,pf):_44b.connect(obj,pf);},isCopyKey:function(e){return e[_43d];}};_44b.unsubscribe=_44b.disconnect;1&&lang.mixin(_431,_44b);return _44b;});}}});(function(){var _457=this.require;_457({cache:{}});!_457.async&&_457(["dojo"]);_457.boot&&_457.apply(null,_457.boot);})();