1
0
Derivar 0
tt-rss/lib/dojo/dojo.js
Anders Kaseorg 6887a0f573 lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 13:22:14 -05:00

8 linhas
Sem EOL
140 KiB
JavaScript

/*
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>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);};0&&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;}0&&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);}has.add("host-webworker",((typeof WorkerGlobalScope!=="undefined")&&(self instanceof WorkerGlobalScope)));if(has("host-webworker")){_c(_2.hasCache,{"host-browser":0,"dom":0,"dojo-dom-ready-api":0,"dojo-sniff":0,"dojo-inject-api":1,"host-webworker":1,"dojo-guarantee-console":0});_2.loaderPatch={injectUrl:function(url,_20){try{importScripts(url);_20();}catch(e){console.error(e);}}};}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _21=1,_22=2,_23=3,_24=4,_25=5;if(0){_21="requested";_22="arrived";_23="not-a-module";_24="executing";_25="executed";}var _26=0,_27="sync",xd="xd",_28=[],_29=0,_2a=_3,_2b=_3,_2c;if(1){req.isXdUrl=_3;req.initSyncLoader=function(_2d,_2e,_2f){if(!_29){_29=_2d;_2a=_2e;_2b=_2f;}return {sync:_27,requested:_21,arrived:_22,nonmodule:_23,executing:_24,executed:_25,syncExecStack:_28,modules:_30,execQ:_31,getModule:_32,injectModule:_33,setArrived:_34,signal:_35,finishExec:_36,execModule:_37,dojoRequirePlugin:_29,getLegacyMode:function(){return _26;},guardCheckComplete:_38};};if(1||has("host-webworker")){var _39=location.protocol,_3a=location.host;req.isXdUrl=function(url){if(/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3b=url.match(/^([^\/\:]+\:)\/+([^\/]+)/);return _3b&&(_3b[1]!=_39||(_3a&&_3b[2]!=_3a));};1||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")){_2c=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){}}_2c=function(){return new ActiveXObject(_3d);};}req.getXhr=_2c;has.add("dojo-gettext-api",1);req.getText=function(url,_3e,_3f){var xhr=_2c();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=has("csp-restrictions")?function(){}:new Function("return eval(arguments[0]);");req.eval=function(_42,_43){return _41(_42+"\r\n//# sourceURL="+_43);};var _44={},_45="error",_35=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={},map=req.map={},_51=[],_30={},_52="",_53={},_54="url:",_55={},_56={},_57=0;if(1){var _58=function(_59,_5a){_5a=_5a!==false;var p,_5b,_5c,now,m;for(p in _55){_5b=_55[p];_5c=p.match(/^url\:(.+)/);if(_5c){_53[_54+_5d(_5c[1],_59)]=_5b;}else{if(p=="*now"){now=_5b;}else{if(p!="*noref"){m=_5e(p,_59,true);_53[m.mid]=_53[_54+m.url]=_5b;}}}}if(now){now(_5f(_59));}if(_5a){_55={};}},_60=function(s){return s.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;});},_61=function(map,_62){_62.splice(0,_62.length);for(var p in map){_62.push([p,map[p],new RegExp("^"+_60(p)+"(/|$)"),p.length]);}_62.sort(function(lhs,rhs){return rhs[3]-lhs[3];});return _62;},_63=function(_64,_65){_9(_64,function(_66){_65.push([_7(_66[0])?new RegExp("^"+_60(_66[0])+"$"):_66[0],_66[1]]);});},_67=function(_68){var _69=_68.name;if(!_69){_69=_68;_68={name:_69};}_68=_c({main:"main"},_68);_68.location=_68.location?_68.location:_69;if(_68.packageMap){map[_69]=_68.packageMap;}if(!_68.main.indexOf("./")){_68.main=_68.main.substring(2);}_50[_69]=_68;},_6a=[],_6b=function(_6c,_6d,_6e){for(var p in _6c){if(p=="waitSeconds"){req.waitms=(_6c[p]||0)*1000;}if(p=="cacheBust"){_52=_6c[p]?(_7(_6c[p])?_6c[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_6c[p];}if(1&&p=="async"){var _6f=_6c[p];req.legacyMode=_26=(_7(_6f)&&/sync|legacyAsync/.test(_6f)?_6f:(!_6f?_27:false));req.async=!_26;}if(_6c[p]!==_1a){req.rawConfig[p]=_6c[p];p!="has"&&has.add("config-"+p,_6c[p],0,_6d);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _6c.has){has.add(p,_6c.has[p],0,_6d);}_9(_6c.packages,_67);for(var _70 in _6c.packagePaths){_9(_6c.packagePaths[_70],function(_71){var _72=_70+"/"+_71;if(_7(_71)){_71={name:_71};}_71.location=_72;_67(_71);});}_61(_c(map,_6c.map),_51);_9(_51,function(_73){_73[1]=_61(_73[1],[]);if(_73[0]=="*"){_51.star=_73;}});_61(_c(_4e,_6c.paths),_4f);_63(_6c.aliases,_4d);if(_6d){_6a.push({config:_6c.config});}else{for(p in _6c.config){var _74=_32(p,_6e);_74.config=_c(_74.config||{},_6c.config[p]);}}if(_6c.cache){_58();_55=_6c.cache;_58(0,!!_6c.cache["*noref"]);}_35("config",[_6c,req.rawConfig]);};if(has("dojo-cdn")||1){var _75=doc.getElementsByTagName("script"),i=0,_76,_77,src,_78;while(i<_75.length){_76=_75[i++];if((src=_76.getAttribute("src"))&&(_78=src.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){_77=_78[3]||"";_2.baseUrl=_2.baseUrl||_77;_57=_76;}if((src=(_76.getAttribute("data-dojo-config")||_76.getAttribute("djConfig")))){_56=req.eval("({ "+src+" })","data-dojo-config");_57=_76;}if(0){if((src=_76.getAttribute("data-main"))){_56.deps=_56.deps||[src];}}}}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={};_6b(_2,1);if(has("dojo-cdn")){_50.dojo.location=_77;if(_77){_77+="/";}_50.dijit.location=_77+"../dijit/";_50.dojox.location=_77+"../dojox/";}_6b(_1,1);_6b(_56,1);}else{_4e=_2.paths;_4f=_2.pathsMapProg;_50=_2.packs;_4d=_2.aliases;_51=_2.mapProgs;_30=_2.modules;_53=_2.cache;_52=_2.cacheBust;req.rawConfig=_2;}if(0){req.combo=req.combo||{add:_3};var _79=0,_7a=[],_7b=null;}var _7c=function(_7d){_38(function(){_9(_7d.deps,_33);if(0&&_79&&!_7b){_7b=setTimeout(function(){_79=0;_7b=null;req.combo.done(function(_7e,url){var _7f=function(){_80(0,_7e);_81();};_7a.push(_7e);_82=_7e;req.injectUrl(url,_7f,_7e);_82=0;},req);},0);}});},_16=function(a1,a2,a3,_83,_84){var _85,_86;if(_7(a1)){_85=_32(a1,_83,true);if(_85&&_85.executed){return _85.result;}throw _f("undefinedModule",a1);}if(!_8(a1)){_6b(a1,0,_83);a1=a2;a2=a3;}if(_8(a1)){if(!a1.length){a2&&a2();}else{_86="require*"+uid();for(var mid,_87=[],i=0;i<a1.length;){mid=a1[i++];_87.push(_32(mid,_83));}_85=_c(_88("",_86,0,""),{injected:_22,deps:_87,def:a2||_3,require:_83?_83.require:req,gc:1});_30[_85.mid]=_85;_7c(_85);var _89=_8a&&_26!=_27;_38(function(){_37(_85,_89);});if(!_85.executed){_31.push(_85);}_81();}}return _84;},_5f=function(_8b){if(!_8b){return req;}var _8c=_8b.require;if(!_8c){_8c=function(a1,a2,a3){return _16(a1,a2,a3,_8b,_8c);};_8b.require=_c(_8c,req);_8c.module=_8b;_8c.toUrl=function(_8d){return _5d(_8d,_8b);};_8c.toAbsMid=function(mid){return _bc(mid,_8b);};if(0){_8c.undef=function(mid){req.undef(mid,_8b);};}if(1){_8c.syncLoadNls=function(mid){var _8e=_5e(mid,_8b),_8f=_30[_8e.mid];if(!_8f||!_8f.executed){_90=_53[_8e.mid]||_53[_54+_8e.url];if(_90){_91(_90);_8f=_30[_8e.mid];}}return _8f&&_8f.executed&&_8f.result;};}}return _8c;},_31=[],_92=[],_93={},_94=function(_95){_95.injected=_21;_93[_95.mid]=1;if(_95.url){_93[_95.url]=_95.pack||1;}_96();},_34=function(_97){_97.injected=_22;delete _93[_97.mid];if(_97.url){delete _93[_97.url];}if(_4(_93)){_98();1&&_26==xd&&(_26=_27);}},_99=req.idle=function(){return !_92.length&&_4(_93)&&!_31.length&&!_8a;},_9a=function(_9b,map){if(map){for(var i=0;i<map.length;i++){if(map[i][2].test(_9b)){return map[i];}}}return 0;},_9c=function(_9d){var _9e=[],_9f,_a0;_9d=_9d.replace(/\\/g,"/").split("/");while(_9d.length){_9f=_9d.shift();if(_9f==".."&&_9e.length&&_a0!=".."){_9e.pop();_a0=_9e[_9e.length-1];}else{if(_9f!="."){_9e.push(_a0=_9f);}}}return _9e.join("/");},_88=function(pid,mid,_a1,url){if(1){var xd=req.isXdUrl(url);return {pid:pid,mid:mid,pack:_a1,url:url,executed:0,def:0,isXd:xd,isAmd:!!(xd||(_50[pid]&&_50[pid].isAmd))};}else{return {pid:pid,mid:mid,pack:_a1,url:url,executed:0,def:0};}},_a2=function(mid,_a3,_a4,_a5,_a6,_a7,_a8,_a9,_aa,_ab){var pid,_ac,_ad,_ae,url,_af,_b0,_b1;_b1=mid;_b0=/^\./.test(mid);if(/(^\/)|(\:)|(\.js$)/.test(mid)||(_b0&&!_a3)){return _88(0,mid,0,mid);}else{mid=_9c(_b0?(_a3.mid+"/../"+mid):mid);if(/^\./.test(mid)){throw _f("irrationalPath",mid);}if(!_ab&&!_b0&&_a7.star){_ae=_9a(mid,_a7.star[1]);}if(!_ae&&_a3){_ae=_9a(_a3.mid,_a7);_ae=_ae&&_9a(mid,_ae[1]);}if(_ae){mid=_ae[1]+mid.substring(_ae[3]);}_78=mid.match(/^([^\/]+)(\/(.+))?$/);pid=_78?_78[1]:"";if((_ac=_a4[pid])){mid=pid+"/"+(_ad=(_78[3]||_ac.main));}else{pid="";}var _b2=0,_b3=0;_9(_a9,function(_b4){var _b5=mid.match(_b4[0]);if(_b5&&_b5.length>_b2){_b3=_6(_b4[1])?mid.replace(_b4[0],_b4[1]):_b4[1];}});if(_b3){return _a2(_b3,0,_a4,_a5,_a6,_a7,_a8,_a9,_aa);}_af=_a5[mid];if(_af){return _aa?_88(_af.pid,_af.mid,_af.pack,_af.url):_a5[mid];}}_ae=_9a(mid,_a8);if(_ae){url=_ae[1]+mid.substring(_ae[3]);}else{if(pid){url=_ac.location+"/"+_ad;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_a6+url;}url+=".js";return _88(pid,mid,_ac,_9c(url));},_5e=function(mid,_b6,_b7){return _a2(mid,_b6,_50,_30,req.baseUrl,_51,_4f,_4d,undefined,_b7);},_b8=function(_b9,_ba,_bb){return _b9.normalize?_b9.normalize(_ba,function(mid){return _bc(mid,_bb);}):_bc(_ba,_bb);},_bd=0,_32=function(mid,_be,_bf){var _c0,_c1,_c2,_c3;_c0=mid.match(/^(.+?)\!(.*)$/);if(_c0){_c1=_32(_c0[1],_be,_bf);if(1&&_26==_27&&!_c1.executed){_33(_c1);if(_c1.injected===_22&&!_c1.executed){_38(function(){_37(_c1);});}if(_c1.executed){_c4(_c1);}else{_31.unshift(_c1);}}if(_c1.executed===_25&&!_c1.load){_c4(_c1);}if(_c1.load){_c2=_b8(_c1,_c0[2],_be);mid=(_c1.mid+"!"+(_c1.dynamic?++_bd+"!":"")+_c2);}else{_c2=_c0[2];mid=_c1.mid+"!"+(++_bd)+"!waitingForPlugin";}_c3={plugin:_c1,mid:mid,req:_5f(_be),prid:_c2};}else{_c3=_5e(mid,_be);}return _30[_c3.mid]||(!_bf&&(_30[_c3.mid]=_c3));},_bc=req.toAbsMid=function(mid,_c5){return _5e(mid,_c5).mid;},_5d=req.toUrl=function(_c6,_c7){var _c8=_5e(_c6+"/x",_c7),url=_c8.url;return _40(_c8.pid===0?_c6:url.substring(0,url.length-5));},_c9={injected:_22,executed:_25,def:_23,result:_23},_ca=function(mid){return _30[mid]=_c({mid:mid},_c9);},_cb=_ca("require"),_cc=_ca("exports"),_cd=_ca("module"),_ce=function(_cf,_d0){req.trace("loader-run-factory",[_cf.mid]);var _d1=_cf.def,_d2;1&&_28.unshift(_cf);if(has("config-dojo-loader-catches")){try{_d2=_6(_d1)?_d1.apply(null,_d0):_d1;}catch(e){_35(_45,_cf.result=_f("factoryThrew",[_cf,e]));}}else{_d2=_6(_d1)?_d1.apply(null,_d0):_d1;}_cf.result=_d2===undefined&&_cf.cjs?_cf.cjs.exports:_d2;1&&_28.shift(_cf);},_d3={},_d4=0,_c4=function(_d5){var _d6=_d5.result;_d5.dynamic=_d6.dynamic;_d5.normalize=_d6.normalize;_d5.load=_d6.load;return _d5;},_d7=function(_d8){var map={};_9(_d8.loadQ,function(_d9){var _da=_b8(_d8,_d9.prid,_d9.req.module),mid=_d8.dynamic?_d9.mid.replace(/waitingForPlugin$/,_da):(_d8.mid+"!"+_da),_db=_c(_c({},_d9),{mid:mid,prid:_da,injected:0});if(!_30[mid]||!_30[mid].injected){_ed(_30[mid]=_db);}map[_d9.mid]=_30[mid];_34(_d9);delete _30[_d9.mid];});_d8.loadQ=0;var _dc=function(_dd){for(var _de,_df=_dd.deps||[],i=0;i<_df.length;i++){_de=map[_df[i].mid];if(_de){_df[i]=_de;}}};for(var p in _30){_dc(_30[p]);}_9(_31,_dc);},_36=function(_e0){req.trace("loader-finish-exec",[_e0.mid]);_e0.executed=_25;_e0.defOrder=_d4++;1&&_9(_e0.provides,function(cb){cb();});if(_e0.loadQ){_c4(_e0);_d7(_e0);}for(i=0;i<_31.length;){if(_31[i]===_e0){_31.splice(i,1);}else{i++;}}if(/^require\*/.test(_e0.mid)){delete _30[_e0.mid];}},_e1=[],_37=function(_e2,_e3){if(_e2.executed===_24){req.trace("loader-circular-dependency",[_e1.concat(_e2.mid).join("->")]);return (!_e2.def||_e3)?_d3:(_e2.cjs&&_e2.cjs.exports);}if(!_e2.executed){if(!_e2.def){return _d3;}var mid=_e2.mid,_e4=_e2.deps||[],arg,_e5,_e6=[],i=0;if(0){_e1.push(mid);req.trace("loader-exec-module",["exec",_e1.length,mid]);}_e2.executed=_24;while((arg=_e4[i++])){_e5=((arg===_cb)?_5f(_e2):((arg===_cc)?_e2.cjs.exports:((arg===_cd)?_e2.cjs:_37(arg,_e3))));if(_e5===_d3){_e2.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_e1.pop();return _d3;}_e6.push(_e5);}_ce(_e2,_e6);_36(_e2);0&&_e1.pop();}return _e2.result;},_8a=0,_38=function(_e7){try{_8a++;_e7();}catch(e){throw e;}finally{_8a--;}if(_99()){_35("idle",[]);}},_81=function(){if(_8a){return;}_38(function(){_2a();for(var _e8,_e9,i=0;i<_31.length;){_e8=_d4;_e9=_31[i];_37(_e9);if(_e8!=_d4){_2a();i=0;}else{i++;}}});};if(0){req.undef=function(_ea,_eb){var _ec=_32(_ea,_eb);_34(_ec);_c(_ec,{def:0,executed:0,injected:0,node:0,load:0});};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _40=typeof _1.fixupUrl=="function"?_1.fixupUrl:function(url){url+="";return url+(_52?((/\?/.test(url)?"&":"?")+_52):"");},_ed=function(_ee){var _ef=_ee.plugin;if(_ef.executed===_25&&!_ef.load){_c4(_ef);}var _f0=function(def){_ee.result=def;_34(_ee);_36(_ee);_81();};if(_ef.load){_ef.load(_ee.prid,_ee.req,_f0);}else{if(_ef.loadQ){_ef.loadQ.push(_ee);}else{_ef.loadQ=[_ee];_31.unshift(_ef);_33(_ef);}}},_90=0,_82=0,_f1=0,_91=function(_f2,_f3){if(has("config-stripStrict")){_f2=_f2.replace(/(["'])use strict\1/g,"");}_f1=1;if(has("config-dojo-loader-catches")){try{if(_f2===_90){_90.call(null);}else{req.eval(_f2,has("dojo-loader-eval-hint-url")?_f3.url:_f3.mid);}}catch(e){_35(_45,_f("evalModuleThrew",_f3));}}else{if(_f2===_90){_90.call(null);}else{req.eval(_f2,has("dojo-loader-eval-hint-url")?_f3.url:_f3.mid);}}_f1=0;},_33=function(_f4){var mid=_f4.mid,url=_f4.url;if(_f4.executed||_f4.injected||_93[mid]||(_f4.url&&((_f4.pack&&_93[_f4.url]===_f4.pack)||_93[_f4.url]==1))){return;}_94(_f4);if(0){var _f5=0;if(_f4.plugin&&_f4.plugin.isCombo){req.combo.add(_f4.plugin.mid,_f4.prid,0,req);_f5=1;}else{if(!_f4.plugin){_f5=req.combo.add(0,_f4.mid,_f4.url,req);}}if(_f5){_79=1;return;}}if(_f4.plugin){_ed(_f4);return;}var _f6=function(){_80(_f4);if(_f4.injected!==_22){if(has("dojo-enforceDefine")){_35(_45,_f("noDefine",_f4));return;}_34(_f4);_c(_f4,_c9);req.trace("loader-define-nonmodule",[_f4.url]);}if(1&&_26){!_28.length&&_81();}else{_81();}};_90=_53[mid]||_53[_54+_f4.url];if(_90){req.trace("loader-inject",["cache",_f4.mid,url]);_91(_90,_f4);_f6();return;}if(1&&_26){if(_f4.isXd){_26==_27&&(_26=xd);}else{if(_f4.isAmd&&_26!=_27){}else{var _f7=function(_f8){if(_26==_27){_28.unshift(_f4);_91(_f8,_f4);_28.shift();_80(_f4);if(!_f4.cjs){_34(_f4);_36(_f4);}if(_f4.finish){var _f9=mid+"*finish",_fa=_f4.finish;delete _f4.finish;def(_f9,["dojo",("dojo/require!"+_fa.join(",")).replace(/\./g,"/")],function(_fb){_9(_fa,function(mid){_fb.require(mid);});});_31.unshift(_32(_f9));}_f6();}else{_f8=_2b(_f4,_f8);if(_f8){_91(_f8,_f4);_f6();}else{_82=_f4;req.injectUrl(_40(url),_f6,_f4);_82=0;}}};req.trace("loader-inject",["xhr",_f4.mid,url,_26!=_27]);if(has("config-dojo-loader-catches")){try{req.getText(url,_26!=_27,_f7);}catch(e){_35(_45,_f("xhrInjectFailed",[_f4,e]));}}else{req.getText(url,_26!=_27,_f7);}return;}}}req.trace("loader-inject",["script",_f4.mid,url]);_82=_f4;req.injectUrl(_40(url),_f6,_f4);_82=0;},_fc=function(_fd,_fe,def){req.trace("loader-define-module",[_fd.mid,_fe]);if(0&&_fd.plugin&&_fd.plugin.isCombo){_fd.result=_6(def)?def():def;_34(_fd);_36(_fd);return _fd;}var mid=_fd.mid;if(_fd.injected===_22){_35(_45,_f("multipleDefine",_fd));return _fd;}_c(_fd,{deps:_fe,def:def,cjs:{id:_fd.mid,uri:_fd.url,exports:(_fd.result={}),setExports:function(_ff){_fd.cjs.exports=_ff;},config:function(){return _fd.config;}}});for(var i=0;_fe[i];i++){_fe[i]=_32(_fe[i],_fd);}if(1&&_26&&!_93[mid]){_7c(_fd);_31.push(_fd);_81();}_34(_fd);if(!_6(def)&&!_fe.length){_fd.result=def;_36(_fd);}return _fd;},_80=function(_100,mids){var _101=[],_102,args;while(_92.length){args=_92.shift();mids&&(args[0]=mids.shift());_102=(args[0]&&_32(args[0]))||_100;_101.push([_102,args[1],args[2]]);}_58(_100);_9(_101,function(args){_7c(_fc.apply(null,args));});};}var _103=0,_98=_3,_96=_3;if(1){_98=function(){_103&&clearTimeout(_103);_103=0;};_96=function(){_98();if(req.waitms){_103=_17.setTimeout(function(){_98();_35(_45,_f("timeout",_93));},req.waitms);}};}if(1){has.add("ie-event-behavior",doc.attachEvent&&typeof Windows==="undefined"&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _104=function(node,_105,_106,_107){if(!has("ie-event-behavior")){node.addEventListener(_105,_107,false);return function(){node.removeEventListener(_105,_107,false);};}else{node.attachEvent(_106,_107);return function(){node.detachEvent(_106,_107);};}},_108=_104(window,"load","onload",function(){req.pageLoaded=1;try{doc.readyState!="complete"&&(doc.readyState="complete");}catch(e){}_108();});if(1){var _75=doc.getElementsByTagName("script"),i=0,_76;while(!_57){if(!/^dojo/.test((_76=_75[i++])&&_76.type)){_57=_76;}}req.injectUrl=function(url,_109,_10a){var node=_10a.node=doc.createElement("script"),_10b=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_10c();_10d();_109&&_109();}},_10c=_104(node,"load","onreadystatechange",_10b),_10d=_104(node,"error","onerror",function(e){_10c();_10d();_35(_45,_f("scriptError",[url,e]));});node.type="text/javascript";node.charset="utf-8";node.src=url;_57.parentNode.insertBefore(node,_57);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 _10e=req.trace=function(_10f,args){if(_10e.on&&_10e.group[_10f]){_35("trace",[_10f,args]);for(var arg,dump=[],text="trace:"+_10f+(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(_10e,{on:1,group:{},set:function(_110,_111){if(_7(_110)){_10e.group[_110]=_111;}else{_c(_10e.group,_110);}}});_10e.set(_c(_c(_c({},_2.trace),_1.trace),_56.trace));on("config",function(_112){_112.trace&&_10e.set(_112.trace);});}else{req.trace=_3;}var def=function(mid,_113,_114){var _115=arguments.length,_116=["require","exports","module"],args=[0,mid,_113];if(_115==1){args=[0,(_6(mid)?_116:[]),mid];}else{if(_115==2&&_7(mid)){args=[mid,(_6(_113)?_116:[]),_113];}else{if(_115==3){args=[mid,_113,_114];}}}if(0&&args[1]===_116){args[2].toString().replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"").replace(/require\(["']([\w\!\-_\.\/]+)["']\)/g,function(_117,dep){args[1].push(dep);});}req.trace("loader-define",args.slice(0,2));var _118=args[0]&&_32(args[0]),_119;if(_118&&!_93[_118.mid]){_7c(_fc(_118,args[1],args[2]));}else{if(!has("ie-event-behavior")||!1||_f1){_92.push(args);}else{_118=_118||_82;if(!_118){for(mid in _93){_119=_30[mid];if(_119&&_119.node&&_119.node.readyState==="interactive"){_118=_119;break;}}if(0&&!_118){for(var i=0;i<_7a.length;i++){_118=_7a[i];if(_118.node&&_118.node.readyState==="interactive"){break;}_118=0;}}}if(0&&_8(_118)){_7c(_fc(_32(_118.shift()),args[1],args[2]));if(!_118.length){_7a.splice(i,1);}}else{if(_118){_58(_118);_7c(_fc(_118,args[1],args[2]));}else{_35(_45,_f("ieDefineFailed",args[0]));}}_81();}}};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:_53,packs:_50});if(0){_c(req,{paths:_4e,aliases:_4d,modules:_30,legacyMode:_26,execQ:_31,defQ:_92,waiting:_93,packs:_50,mapProgs:_51,pathsMapProg:_4f,listenerQueues:_44,computeMapProg:_61,computeAliases:_63,runMapProg:_9a,compactPath:_9c,getModuleInfo:_a2});}if(_17.define){if(1){_35(_45,_f("defineAlreadyDefined",0));}return;}else{_17.define=def;_17.require=req;if(0){require=req;}}if(0&&req.combo&&req.combo.plugins){var _11a=req.combo.plugins,_11b;for(_11b in _11a){_c(_c(_32(_11b),_11a[_11b]),{isCombo:1,executed:"executed",load:1});}}if(1){_9(_6a,function(c){_6b(c);});var _11c=_56.deps||_1.deps||_2.deps,_11d=_56.callback||_1.callback||_2.callback;req.boot=(_11c||_11d)?[_11c||[],_11d]: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/main":function(){define(["./_base/kernel","./has","require","./sniff","./_base/lang","./_base/array","./_base/config","./ready","./_base/declare","./_base/connect","./_base/Deferred","./_base/json","./_base/Color","./has!dojo-firebug?./_firebug/firebug","./_base/browser","./_base/loader"],function(_11e,has,_11f,_120,lang,_121,_122,_123){if(_122.isDebug){_11f(["./_firebug/firebug"]);}1||has.add("dojo-config-require",1);if(1){var deps=_122.require;if(deps){deps=_121.map(lang.isArray(deps)?deps:[deps],function(item){return item.replace(/\./g,"/");});if(_11e.isAsync){_11f(deps);}else{_123(1,function(){_11f(deps);});}}}return _11e;});},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(has,_124,_125,_126){var i,p,_127=(function(){return this;})(),_128={},_129={},dojo={config:_124,global:_127,dijit:_128,dojox:_129};var _12a={dojo:["dojo",dojo],dijit:["dijit",_128],dojox:["dojox",_129]},_12b=(_125.map&&_125.map[_126.id.match(/[^\/]+/)[0]]),item;for(p in _12b){if(_12a[p]){_12a[p][0]=_12b[p];}else{_12a[p]=[_12b[p],{}];}}for(p in _12a){item=_12a[p];item[1]._scopeName=item[0];if(!_124.noGlobals){_127[item[0]]=item[1];}}dojo.scopeMap=_12a;dojo.baseUrl=dojo.config.baseUrl=_125.baseUrl;dojo.isAsync=!1||_125.async;dojo.locale=_124.locale;var rev="$Rev: a1e2d9d $".match(/[0-9a-f]{7,}/);dojo.version={major:1,minor:12,patch:1,flag:"",revision:rev?rev[0]:NaN,toString:function(){var v=dojo.version;return v.major+"."+v.minor+"."+v.patch+v.flag+" ("+v.revision+")";}};1||has.add("extend-dojo",1);if(!has("csp-restrictions")){(Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(dojo);}if(0){dojo.exit=function(_12c){quit(_12c);};}else{dojo.exit=function(){};}if(!has("host-webworker")){1||has.add("dojo-guarantee-console",1);}if(1){has.add("console-as-object",function(){return Function.prototype.bind&&console&&typeof console.log==="object";});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.prototype.slice.call(arguments);a.unshift(tcn+":");console["log"](a.join(" "));}:function(){};console[tcn]._fake=true;})();}else{if(has("console-as-object")){console[tn]=Function.prototype.bind.call(console[tn],console);}}}}has.add("dojo-debug-messages",!!_124.isDebug);dojo.deprecated=dojo.experimental=function(){};if(has("dojo-debug-messages")){dojo.deprecated=function(_12d,_12e,_12f){var _130="DEPRECATED: "+_12d;if(_12e){_130+=" "+_12e;}if(_12f){_130+=" -- will be removed in version: "+_12f;}console.warn(_130);};dojo.experimental=function(_131,_132){var _133="EXPERIMENTAL: "+_131+" -- APIs subject to change without notice.";if(_132){_133+=" "+_132;}console.warn(_133);};}1||has.add("dojo-modulePaths",1);if(1){if(_124.modulePaths){dojo.deprecated("dojo.modulePaths","use paths configuration");var _134={};for(p in _124.modulePaths){_134[p.replace(/\./g,"/")]=_124.modulePaths[p];}_125({paths:_134});}}1||has.add("dojo-moduleUrl",1);if(1){dojo.moduleUrl=function(_135,url){dojo.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var _136=null;if(_135){_136=_125.toUrl(_135.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");}return _136;};}dojo._hasResource={};return dojo;});},"dojo/has":function(){define(["require","module"],function(_137,_138){var has=_137.has||function(){};if(!1){var _139=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_13a=(function(){return this;})(),doc=_139&&document,_13b=doc&&doc.createElement("DiV"),_13c=(_138.config&&_138.config())||{};has=function(name){return typeof _13c[name]=="function"?(_13c[name]=_13c[name](_13a,doc,_13b)):_13c[name];};has.cache=_13c;has.add=function(name,test,now,_13d){(typeof _13c[name]=="undefined"||_13d)&&(_13c[name]=test);return now&&has(name);};1||has.add("host-browser",_139);0&&has.add("host-node",(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));0&&has.add("host-rhino",(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));1||has.add("dom",_139);1||has.add("dojo-dom-ready-api",1);1||has.add("dojo-sniff",1);}if(1){has.add("dom-addeventlistener",!!document.addEventListener);has.add("touch","ontouchstart" in document||("onpointerdown" in document&&navigator.maxTouchPoints>0)||window.navigator.msMaxTouchPoints);has.add("touch-events","ontouchstart" in document);has.add("pointer-events","pointerEnabled" in window.navigator?window.navigator.pointerEnabled:"PointerEvent" in window);has.add("MSPointer",window.navigator.msPointerEnabled);has.add("device-width",screen.availWidth||innerWidth);var form=document.createElement("form");has.add("dom-attributes-explicit",form.attributes.length==0);has.add("dom-attributes-specified-flag",form.attributes.length>0&&form.attributes.length<40);}has.clearElement=function(_13e){_13e.innerHTML="";return _13e;};has.normalize=function(id,_13f){var _140=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_140[i++];if(term==":"){return 0;}else{if(_140[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_13f(id);};has.load=function(id,_141,_142){if(id){_141([id],_142);}else{_142();}};return has;});},"dojo/_base/config":function(){define(["../has","require"],function(has,_143){var _144={};if(1){var src=_143.rawConfig,p;for(p in src){_144[p]=src[p];}}else{var _145=function(_146,_147,_148){for(p in _146){p!="has"&&has.add(_147+p,_146[p],0,_148);}};var _149=(function(){return this;})();_144=1?_143.rawConfig:_149.dojoConfig||_149.djConfig||{};_145(_144,"config",1);_145(_144.has,"",1);}if(!_144.locale&&typeof navigator!="undefined"){var _14a=(navigator.languages&&navigator.languages.length)?navigator.languages[0]:(navigator.language||navigator.userLanguage);if(_14a){_144.locale=_14a.toLowerCase();}}return _144;});},"dojo/sniff":function(){define(["./has"],function(has){if(1){var n=navigator,dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);has.add("air",dua.indexOf("AdobeAIR")>=0);has.add("wp",parseFloat(dua.split("Windows Phone")[1])||undefined);has.add("msapp",parseFloat(dua.split("MSAppHost/")[1])||undefined);has.add("khtml",dav.indexOf("Konqueror")>=0?tv:undefined);has.add("edge",parseFloat(dua.split("Edge/")[1])||undefined);has.add("opr",parseFloat(dua.split("OPR/")[1])||undefined);has.add("webkit",!has("wp")&&!has("edge")&&parseFloat(dua.split("WebKit/")[1])||undefined);has.add("chrome",!has("edge")&&!has("opr")&&parseFloat(dua.split("Chrome/")[1])||undefined);has.add("android",!has("wp")&&parseFloat(dua.split("Android ")[1])||undefined);has.add("safari",dav.indexOf("Safari")>=0&&!has("wp")&&!has("chrome")&&!has("android")&&!has("edge")&&!has("opr")?parseFloat(dav.split("Version/")[1]):undefined);has.add("mac",dav.indexOf("Macintosh")>=0);has.add("quirks",document.compatMode=="BackCompat");if(!has("wp")&&dua.match(/(iPhone|iPod|iPad)/)){var p=RegExp.$1.replace(/P/,"p");var v=dua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));has.add(p,os);has.add("ios",os);}has.add("bb",(dua.indexOf("BlackBerry")>=0||dua.indexOf("BB10")>=0)&&parseFloat(dua.split("Version/")[1])||undefined);has.add("trident",parseFloat(dav.split("Trident/")[1])||undefined);has.add("svg",typeof SVGAngle!=="undefined");if(!has("webkit")){if(dua.indexOf("Opera")>=0){has.add("opera",tv>=9.8?parseFloat(dua.split("Version/")[1])||tv:tv);}if(dua.indexOf("Gecko")>=0&&!has("wp")&&!has("khtml")&&!has("trident")&&!has("edge")){has.add("mozilla",tv);}if(has("mozilla")){has.add("ff",parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined);}if(document.all&&!has("opera")){var isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var mode=document.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}has.add("ie",isIE);}has.add("wii",typeof opera!="undefined"&&opera.wiiremote);}}return has;});},"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 _14b=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_14c=_14b.length,_14d=function(_14e,_14f,_150){if(!_150){if(_14e[0]&&dojo.scopeMap[_14e[0]]){_150=dojo.scopeMap[_14e.shift()][1];}else{_150=dojo.global;}}try{for(var i=0;i<_14e.length;i++){var p=_14e[i];if(!(p in _150)){if(_14f){_150[p]={};}else{return;}}_150=_150[p];}return _150;}catch(e){}},opts=Object.prototype.toString,_151=function(obj,_152,_153){return (_153||[]).concat(Array.prototype.slice.call(obj,_152||0));},_154=/\{([^\}]+)\}/g;var lang={_extraNames:_14b,_mixin:function(dest,_155,_156){var name,s,i,_157={};for(name in _155){s=_155[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _157)||_157[name]!==s))){dest[name]=_156?_156(s):s;}}if(has("bug-for-in-skips-shadowed")){if(_155){for(i=0;i<_14c;++i){name=_14b[i];s=_155[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _157)||_157[name]!==s))){dest[name]=_156?_156(s):s;}}}}return dest;},mixin:function(dest,_158){if(!dest){dest={};}for(var i=1,l=arguments.length;i<l;i++){lang._mixin(dest,arguments[i]);}return dest;},setObject:function(name,_159,_15a){var _15b=name.split("."),p=_15b.pop(),obj=_14d(_15b,true,_15a);return obj&&p?(obj[p]=_159):undefined;},getObject:function(name,_15c,_15d){return !name?_15d:_14d(name.split("."),_15c,_15d);},exists:function(name,obj){return lang.getObject(name,false,obj)!==undefined;},isString:function(it){return (typeof it=="string"||it instanceof String);},isArray:Array.isArray||function(it){return opts.call(it)=="[object Array]";},isFunction:function(it){return opts.call(it)==="[object Function]";},isObject:function(it){return it!==undefined&&(it===null||typeof it=="object"||lang.isArray(it)||lang.isFunction(it));},isArrayLike:function(it){return !!it&&!lang.isString(it)&&!lang.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(lang.isArray(it)||isFinite(it.length));},isAlien:function(it){return it&&!lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));},extend:function(ctor,_15e){for(var i=1,l=arguments.length;i<l;i++){lang._mixin(ctor.prototype,arguments[i]);}return ctor;},_hitchArgs:function(_15f,_160){var pre=lang._toArray(arguments,2);var _161=lang.isString(_160);return function(){var args=lang._toArray(arguments);var f=_161?(_15f||dojo.global)[_160]:_160;return f&&f.apply(_15f||this,pre.concat(args));};},hitch:function(_162,_163){if(arguments.length>2){return lang._hitchArgs.apply(dojo,arguments);}if(!_163){_163=_162;_162=null;}if(lang.isString(_163)){_162=_162||dojo.global;if(!_162[_163]){throw (["lang.hitch: scope[\"",_163,"\"] is null (scope=\"",_162,"\")"].join(""));}return function(){return _162[_163].apply(_162,arguments||[]);};}return !_162?_163:function(){return _163.apply(_162,arguments||[]);};},delegate:(function(){function TMP(){};return function(obj,_164){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_164){lang._mixin(tmp,_164);}return tmp;};})(),_toArray:has("ie")?(function(){function slow(obj,_165,_166){var arr=_166||[];for(var x=_165||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};return function(obj){return ((obj.item)?slow:_151).apply(this,arguments);};})():_151,partial:function(_167){var arr=[null];return lang.hitch.apply(dojo,arr.concat(lang._toArray(arguments)));},clone: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[i]=lang.clone(src[i]);}}}else{r=src.constructor?new src.constructor():{};}return lang._mixin(r,src,lang.clone);},trim:String.prototype.trim?function(str){return str.trim();}:function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");},replace:function(tmpl,map,_168){return tmpl.replace(_168||_154,lang.isFunction(map)?map:function(_169,k){return lang.getObject(k,false,map);});}};1&&lang.mixin(dojo,lang);return lang;});},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var _16a={},u;function _16b(fn){return _16a[fn]=new Function("item","index","array",fn);};function _16c(some){var _16d=!some;return function(a,fn,o){var i=0,l=a&&a.length||0,_16e;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_16a[fn]||_16b(fn);}if(o){for(;i<l;++i){_16e=!fn.call(o,a[i],i,a);if(some^_16e){return !_16e;}}}else{for(;i<l;++i){_16e=!fn(a[i],i,a);if(some^_16e){return !_16e;}}}return _16d;};};function _16f(up){var _170=1,_171=0,_172=0;if(!up){_170=_171=_172=-1;}return function(a,x,from,last){if(last&&_170>0){return _173.lastIndexOf(a,x,from);}var l=a&&a.length||0,end=up?l+_172:_171,i;if(from===u){i=up?_171:l+_172;}else{if(from<0){i=l+from;if(i<0){i=_171;}}else{i=from>=l?l+_172:from;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_170){if(a[i]==x){return i;}}return -1;};};var _173={every:_16c(false),some:_16c(true),indexOf:_16f(true),lastIndexOf:_16f(false),forEach:function(arr,_174,_175){var i=0,l=arr&&arr.length||0;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _174=="string"){_174=_16a[_174]||_16b(_174);}if(_175){for(;i<l;++i){_174.call(_175,arr[i],i,arr);}}else{for(;i<l;++i){_174(arr[i],i,arr);}}},map:function(arr,_176,_177,Ctr){var i=0,l=arr&&arr.length||0,out=new (Ctr||Array)(l);if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _176=="string"){_176=_16a[_176]||_16b(_176);}if(_177){for(;i<l;++i){out[i]=_176.call(_177,arr[i],i,arr);}}else{for(;i<l;++i){out[i]=_176(arr[i],i,arr);}}return out;},filter:function(arr,_178,_179){var i=0,l=arr&&arr.length||0,out=[],_17a;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _178=="string"){_178=_16a[_178]||_16b(_178);}if(_179){for(;i<l;++i){_17a=arr[i];if(_178.call(_179,_17a,i,arr)){out.push(_17a);}}}else{for(;i<l;++i){_17a=arr[i];if(_178(_17a,i,arr)){out.push(_17a);}}}return out;},clearCache:function(){_16a={};}};1&&lang.mixin(dojo,_173);return _173;});},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(dojo,has,_17b,_17c,lang){var _17d=0,_17e=[],_17f=0,_180=function(){_17d=1;dojo._postLoad=dojo.config.afterOnLoad=true;_181();},_181=function(){if(_17f){return;}_17f=1;while(_17d&&(!_17c||_17c._Q.length==0)&&(_17b.idle?_17b.idle():true)&&_17e.length){var f=_17e.shift();try{f();}catch(e){e.info=e.message;if(_17b.signal){_17b.signal("error",e);}else{throw e;}}}_17f=0;};_17b.on&&_17b.on("idle",_181);if(_17c){_17c._onQEmpty=_181;}var _182=dojo.ready=dojo.addOnLoad=function(_183,_184,_185){var _186=lang._toArray(arguments);if(typeof _183!="number"){_185=_184;_184=_183;_183=1000;}else{_186.shift();}_185=_185?lang.hitch.apply(dojo,_186):function(){_184();};_185.priority=_183;for(var i=0;i<_17e.length&&_183>=_17e[i].priority;i++){}_17e.splice(i,0,_185);_181();};1||has.add("dojo-config-addOnLoad",1);if(1){var dca=dojo.config.addOnLoad;if(dca){_182[(lang.isArray(dca)?"apply":"call")](dojo,dca);}}if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){_182(99,function(){if(!dojo.parser){dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");_17b(["dojo/parser"]);}});}if(_17c){_17c(_180);}else{_180();}return _182;});},"dojo/domReady":function(){define(["./has"],function(has){var _187=(function(){return this;})(),doc=document,_188={"loaded":1,"complete":1},_189=typeof doc.readyState!="string",_18a=!!_188[doc.readyState],_18b=[],_18c;function _18d(_18e){_18b.push(_18e);if(_18a){_18f();}};_18d.load=function(id,req,load){_18d(load);};_18d._Q=_18b;_18d._onQEmpty=function(){};if(_189){doc.readyState="loading";}function _18f(){if(_18c){return;}_18c=true;while(_18b.length){try{(_18b.shift())(doc);}catch(err){console.error(err,"in domReady callback",err.stack);}}_18c=false;_18d._onQEmpty();};if(!_18a){var _190=[],_191=function(evt){evt=evt||_187.event;if(_18a||(evt.type=="readystatechange"&&!_188[doc.readyState])){return;}if(_189){doc.readyState="complete";}_18a=1;_18f();},on=function(node,_192){node.addEventListener(_192,_191,false);_18b.push(function(){node.removeEventListener(_192,_191,false);});};if(!has("dom-addeventlistener")){on=function(node,_193){_193="on"+_193;node.attachEvent(_193,_191);_18b.push(function(){node.detachEvent(_193,_191);});};var div=doc.createElement("div");try{if(div.doScroll&&_187.frameElement===null){_190.push(function(){try{div.doScroll("left");return 1;}catch(e){}});}}catch(e){}}on(doc,"DOMContentLoaded");on(_187,"load");if("onreadystatechange" in doc){on(doc,"readystatechange");}else{if(!_189){_190.push(function(){return _188[doc.readyState];});}}if(_190.length){var _194=function(){if(_18a){return;}var i=_190.length;while(i--){if(_190[i]()){_191("poller");return;}}setTimeout(_194,30);};_194();}}return _18d;});},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var mix=lang.mixin,op=Object.prototype,opts=op.toString,xtor,_195=0,_196="constructor";if(!has("csp-restrictions")){xtor=new Function;}else{xtor=function(){};}function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _197(_198,_199){var _19a=[],_19b=[{cls:0,refs:[]}],_19c={},_19d=1,l=_198.length,i=0,j,lin,base,top,_19e,rec,name,refs;for(;i<l;++i){base=_198[i];if(!base){err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?",_199);}else{if(opts.call(base)!="[object Function]"){err("mixin #"+i+" is not a callable constructor.",_199);}}lin=base._meta?base._meta.bases:[base];top=0;for(j=lin.length-1;j>=0;--j){_19e=lin[j].prototype;if(!_19e.hasOwnProperty("declaredClass")){_19e.declaredClass="uniqName_"+(_195++);}name=_19e.declaredClass;if(!_19c.hasOwnProperty(name)){_19c[name]={count:0,refs:[],cls:lin[j]};++_19d;}rec=_19c[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_19b[0].refs.push(top);}while(_19b.length){top=_19b.pop();_19a.push(top.cls);--_19d;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_19a.push(top.cls);--_19d;}if(top){for(i=0,l=refs.length;i<l;++i){top=refs[i];if(!--top.count){_19b.push(top);}}}}if(_19d){err("can't build consistent linearization",_199);}base=_198[0];_19a[0]=base?base._meta&&base===_19a[_19a.length-base._meta.bases.length]?base._meta.bases.length:1:0;return _19a;};function _19f(args,a,f){var name,_1a0,_1a1,_1a2,meta,base,_1a3,opf,pos,_1a4=this._inherited=this._inherited||{};if(typeof args=="string"){name=args;args=a;a=f;}f=0;_1a2=args.callee;name=name||_1a2.nom;if(!name){err("can't deduce a name to call inherited()",this.declaredClass);}meta=this.constructor._meta;_1a1=meta.bases;pos=_1a4.p;if(name!=_196){if(_1a4.c!==_1a2){pos=0;base=_1a1[0];meta=base._meta;if(meta.hidden[name]!==_1a2){_1a0=meta.chains;if(_1a0&&typeof _1a0[name]=="string"){err("calling chained method with inherited: "+name,this.declaredClass);}do{meta=base._meta;_1a3=base.prototype;if(meta&&(_1a3[name]===_1a2&&_1a3.hasOwnProperty(name)||meta.hidden[name]===_1a2)){break;}}while(base=_1a1[++pos]);pos=base?pos:-1;}}base=_1a1[++pos];if(base){_1a3=base.prototype;if(base._meta&&_1a3.hasOwnProperty(name)){f=_1a3[name];}else{opf=op[name];do{_1a3=base.prototype;f=_1a3[name];if(f&&(base._meta?_1a3.hasOwnProperty(name):f!==opf)){break;}}while(base=_1a1[++pos]);}}f=base&&f||op[name];}else{if(_1a4.c!==_1a2){pos=0;meta=_1a1[0]._meta;if(meta&&meta.ctor!==_1a2){_1a0=meta.chains;if(!_1a0||_1a0.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(base=_1a1[++pos]){meta=base._meta;if(meta&&meta.ctor===_1a2){break;}}pos=base?pos:-1;}}while(base=_1a1[++pos]){meta=base._meta;f=meta?meta.ctor:base;if(f){break;}}f=base&&f;}_1a4.c=f;_1a4.p=pos;if(f){return a===true?f:f.apply(this,a||args);}};function _1a5(name,args){if(typeof name=="string"){return this.__inherited(name,args,true);}return this.__inherited(name,true);};function _1a6(args,a1,a2){var f=this.getInherited(args,a1);if(f){return f.apply(this,a2||a1||args);}};var _1a7=dojo.config.isDebug?_1a6:_19f;function _1a8(cls){var _1a9=this.constructor._meta.bases;for(var i=0,l=_1a9.length;i<l;++i){if(_1a9[i]===cls){return true;}}return this instanceof cls;};function _1aa(_1ab,_1ac){for(var name in _1ac){if(name!=_196&&_1ac.hasOwnProperty(name)){_1ab[name]=_1ac[name];}}if(has("bug-for-in-skips-shadowed")){for(var _1ad=lang._extraNames,i=_1ad.length;i;){name=_1ad[--i];if(name!=_196&&_1ac.hasOwnProperty(name)){_1ab[name]=_1ac[name];}}}};function _1ae(_1af,_1b0){var name,t;for(name in _1b0){t=_1b0[name];if((t!==op[name]||!(name in op))&&name!=_196){if(opts.call(t)=="[object Function]"){t.nom=name;}_1af[name]=t;}}if(has("bug-for-in-skips-shadowed")&&_1b0){for(var _1b1=lang._extraNames,i=_1b1.length;i;){name=_1b1[--i];t=_1b0[name];if((t!==op[name]||!(name in op))&&name!=_196){if(opts.call(t)=="[object Function]"){t.nom=name;}_1af[name]=t;}}}return _1af;};function _1b2(_1b3){_1b4.safeMixin(this.prototype,_1b3);return this;};function _1b5(_1b6,_1b7){if(!(_1b6 instanceof Array||typeof _1b6=="function")){_1b7=_1b6;_1b6=undefined;}_1b7=_1b7||{};_1b6=_1b6||[];return _1b4([this].concat(_1b6),_1b7);};function _1b8(_1b9,_1ba){return function(){var a=arguments,args=a,a0=a[0],f,i,m,l=_1b9.length,_1bb;if(!(this instanceof a.callee)){return _1bc(a);}if(_1ba&&(a0&&a0.preamble||this.preamble)){_1bb=new Array(_1b9.length);_1bb[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_1b9[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_1bb[i]=a;}}for(i=l-1;i>=0;--i){f=_1b9[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_1bb?_1bb[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _1bd(ctor,_1be){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _1bc(a);}if(_1be){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 _1bf(_1c0){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _1bc(a);}for(;f=_1c0[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 _1c1(name,_1c2,_1c3){return function(){var b,m,f,i=0,step=1;if(_1c3){i=_1c2.length-1;step=-1;}for(;b=_1c2[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _1c4(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _1bc(args){var ctor=args.callee,t=_1c4(ctor);ctor.apply(t,args);return t;};function _1b4(_1c5,_1c6,_1c7){if(typeof _1c5!="string"){_1c7=_1c6;_1c6=_1c5;_1c5="";}_1c7=_1c7||{};var _1c8,i,t,ctor,name,_1c9,_1ca,_1cb=1,_1cc=_1c6;if(opts.call(_1c6)=="[object Array]"){_1c9=_197(_1c6,_1c5);t=_1c9[0];_1cb=_1c9.length-t;_1c6=_1c9[_1cb];}else{_1c9=[0];if(_1c6){if(opts.call(_1c6)=="[object Function]"){t=_1c6._meta;_1c9=_1c9.concat(t?t.bases:_1c6);}else{err("base class is not a callable constructor.",_1c5);}}else{if(_1c6!==null){err("unknown base class. Did you use dojo.require to pull it in?",_1c5);}}}if(_1c6){for(i=_1cb-1;;--i){_1c8=_1c4(_1c6);if(!i){break;}t=_1c9[i];(t._meta?_1aa:mix)(_1c8,t.prototype);if(has("csp-restrictions")){ctor=function(){};}else{ctor=new Function;}ctor.superclass=_1c6;ctor.prototype=_1c8;_1c6=_1c8.constructor=ctor;}}else{_1c8={};}_1b4.safeMixin(_1c8,_1c7);t=_1c7.constructor;if(t!==op.constructor){t.nom=_196;_1c8.constructor=t;}for(i=_1cb-1;i;--i){t=_1c9[i]._meta;if(t&&t.chains){_1ca=mix(_1ca||{},t.chains);}}if(_1c8["-chains-"]){_1ca=mix(_1ca||{},_1c8["-chains-"]);}if(_1c6&&_1c6.prototype&&_1c6.prototype["-chains-"]){_1ca=mix(_1ca||{},_1c6.prototype["-chains-"]);}t=!_1ca||!_1ca.hasOwnProperty(_196);_1c9[0]=ctor=(_1ca&&_1ca.constructor==="manual")?_1bf(_1c9):(_1c9.length==1?_1bd(_1c7.constructor,t):_1b8(_1c9,t));ctor._meta={bases:_1c9,hidden:_1c7,chains:_1ca,parents:_1cc,ctor:_1c7.constructor};ctor.superclass=_1c6&&_1c6.prototype;ctor.extend=_1b2;ctor.createSubclass=_1b5;ctor.prototype=_1c8;_1c8.constructor=ctor;_1c8.getInherited=_1a5;_1c8.isInstanceOf=_1a8;_1c8.inherited=_1a7;_1c8.__inherited=_19f;if(_1c5){_1c8.declaredClass=_1c5;lang.setObject(_1c5,ctor);}if(_1ca){for(name in _1ca){if(_1c8[name]&&typeof _1ca[name]=="string"&&name!=_196){t=_1c8[name]=_1c1(name,_1c9,_1ca[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_1b4.safeMixin=_1ae;dojo.declare=_1b4;return _1b4;});},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(dojo,on,hub,_1cd,_1ce,_1cf,has,lang){has.add("events-keypress-typed",function(){var _1d0={charCode:0};try{_1d0=document.createEvent("KeyboardEvent");(_1d0.initKeyboardEvent||_1d0.initKeyEvent).call(_1d0,"keypress",true,true,null,false,false,false,false,9,3);}catch(e){}return _1d0.charCode==0&&!has("opera");});function _1d1(obj,_1d2,_1d3,_1d4,_1d5){_1d4=lang.hitch(_1d3,_1d4);if(!obj||!(obj.addEventListener||obj.attachEvent)){return _1cd.after(obj||dojo.global,_1d2,_1d4,true);}if(typeof _1d2=="string"&&_1d2.substring(0,2)=="on"){_1d2=_1d2.substring(2);}if(!obj){obj=dojo.global;}if(!_1d5){switch(_1d2){case "keypress":_1d2=_1d6;break;case "mouseenter":_1d2=_1cf.enter;break;case "mouseleave":_1d2=_1cf.leave;break;}}return on(obj,_1d2,_1d4,_1d5);};var _1d7={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 _1d8=has("mac")?"metaKey":"ctrlKey";var _1d9=function(evt,_1da){var faux=lang.mixin({},evt,_1da);_1db(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};function _1db(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _1d6;if(has("events-keypress-typed")){var _1dc=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};_1d6=function(_1dd,_1de){var _1df=on(_1dd,"keydown",function(evt){var k=evt.keyCode;var _1e0=(k!=13)&&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(_1e0||evt.ctrlKey){var c=_1e0?0:k;if(evt.ctrlKey){if(k==3||k==13){return _1de.call(evt.currentTarget,evt);}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=_1d7[c]||c;}}}}var faux=_1d9(evt,{type:"keypress",faux:true,charCode:c});_1de.call(evt.currentTarget,faux);if(has("ie")){_1dc(evt,faux.keyCode);}}});var _1e1=on(_1dd,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_1d9(evt,{charCode:c,faux:true});return _1de.call(this,evt);});return {remove:function(){_1df.remove();_1e1.remove();}};};}else{if(has("opera")){_1d6=function(_1e2,_1e3){return on(_1e2,"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 _1e3.call(this,_1d9(evt,{charCode:c}));});};}else{_1d6=function(_1e4,_1e5){return on(_1e4,"keypress",function(evt){_1db(evt);return _1e5.call(this,evt);});};}}var _1e6={_keypress:_1d6,connect:function(obj,_1e7,_1e8,_1e9,_1ea){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 _1d1.apply(this,args);},disconnect:function(_1eb){if(_1eb){_1eb.remove();}},subscribe:function(_1ec,_1ed,_1ee){return hub.subscribe(_1ec,lang.hitch(_1ed,_1ee));},publish:function(_1ef,args){return hub.publish.apply(hub,[_1ef].concat(args));},connectPublisher:function(_1f0,obj,_1f1){var pf=function(){_1e6.publish(_1f0,arguments);};return _1f1?_1e6.connect(obj,_1f1,pf):_1e6.connect(obj,pf);},isCopyKey:function(e){return e[_1d8];}};_1e6.unsubscribe=_1e6.disconnect;1&&lang.mixin(dojo,_1e6);return _1e6;});},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(_1f2,dojo,has){"use strict";if(1){var _1f3=window.ScriptEngineMajorVersion;has.add("jscript",_1f3&&(_1f3()+ScriptEngineMinorVersion()/10));has.add("event-orientationchange",has("touch")&&!has("android"));has.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);has.add("event-focusin",function(_1f4,doc,_1f5){return "onfocusin" in _1f5;});if(has("touch")){has.add("touch-can-modify-event-delegate",function(){var _1f6=function(){};_1f6.prototype=document.createEvent("MouseEvents");try{var _1f7=new _1f6;_1f7.target=null;return _1f7.target===null;}catch(e){return false;}});}}var on=function(_1f8,type,_1f9,_1fa){if(typeof _1f8.on=="function"&&typeof type!="function"&&!_1f8.nodeType){return _1f8.on(type,_1f9);}return on.parse(_1f8,type,_1f9,_1fb,_1fa,this);};on.pausable=function(_1fc,type,_1fd,_1fe){var _1ff;var _200=on(_1fc,type,function(){if(!_1ff){return _1fd.apply(this,arguments);}},_1fe);_200.pause=function(){_1ff=true;};_200.resume=function(){_1ff=false;};return _200;};on.once=function(_201,type,_202,_203){var _204=on(_201,type,function(){_204.remove();return _202.apply(this,arguments);});return _204;};on.parse=function(_205,type,_206,_207,_208,_209){var _20a;if(type.call){return type.call(_209,_205,_206);}if(type instanceof Array){_20a=type;}else{if(type.indexOf(",")>-1){_20a=type.split(/\s*,\s*/);}}if(_20a){var _20b=[];var i=0;var _20c;while(_20c=_20a[i++]){_20b.push(on.parse(_205,_20c,_206,_207,_208,_209));}_20b.remove=function(){for(var i=0;i<_20b.length;i++){_20b[i].remove();}};return _20b;}return _207(_205,type,_206,_208,_209);};var _20d=/^touch/;function _1fb(_20e,type,_20f,_210,_211){var _212=type.match(/(.*):(.*)/);if(_212){type=_212[2];_212=_212[1];return on.selector(_212,type).call(_211,_20e,_20f);}if(has("touch")){if(_20d.test(type)){_20f=_213(_20f);}if(!has("event-orientationchange")&&(type=="orientationchange")){type="resize";_20e=window;_20f=_213(_20f);}}if(_214){_20f=_214(_20f);}if(_20e.addEventListener){var _215=type in _216,_217=_215?_216[type]:type;_20e.addEventListener(_217,_20f,_215);return {remove:function(){_20e.removeEventListener(_217,_20f,_215);}};}type="on"+type;if(_218&&_20e.attachEvent){return _218(_20e,type,_20f);}throw new Error("Target must be an event emitter");};on.matches=function(node,_219,_21a,_21b,_21c){_21c=_21c&&(typeof _21c.matches=="function")?_21c:dojo.query;_21b=_21b!==false;if(node.nodeType!=1){node=node.parentNode;}while(!_21c.matches(node,_219,_21a)){if(node==_21a||_21b===false||!(node=node.parentNode)||node.nodeType!=1){return false;}}return node;};on.selector=function(_21d,_21e,_21f){return function(_220,_221){var _222=typeof _21d=="function"?{matches:_21d}:this,_223=_21e.bubble;function _224(_225){return on.matches(_225,_21d,_220,_21f,_222);};if(_223){return on(_220,_223(_224),_221);}return on(_220,_21e,function(_226){var _227=_224(_226.target);if(_227){_226.selectorTarget=_227;return _221.call(_227,_226);}});};};function _228(){this.cancelable=false;this.defaultPrevented=true;};function _229(){this.bubbles=false;};var _22a=[].slice,_22b=on.emit=function(_22c,type,_22d){var args=_22a.call(arguments,2);var _22e="on"+type;if("parentNode" in _22c){var _22f=args[0]={};for(var i in _22d){_22f[i]=_22d[i];}_22f.preventDefault=_228;_22f.stopPropagation=_229;_22f.target=_22c;_22f.type=type;_22d=_22f;}do{_22c[_22e]&&_22c[_22e].apply(_22c,args);}while(_22d&&_22d.bubbles&&(_22c=_22c.parentNode));return _22d&&_22d.cancelable&&_22d;};var _216=has("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!has("event-stopimmediatepropagation")){var _230=function(){this.immediatelyStopped=true;this.modified=true;};var _214=function(_231){return function(_232){if(!_232.immediatelyStopped){_232.stopImmediatePropagation=_230;return _231.apply(this,arguments);}};};}if(has("dom-addeventlistener")){on.emit=function(_233,type,_234){if(_233.dispatchEvent&&document.createEvent){var _235=_233.ownerDocument||document;var _236=_235.createEvent("HTMLEvents");_236.initEvent(type,!!_234.bubbles,!!_234.cancelable);for(var i in _234){if(!(i in _236)){_236[i]=_234[i];}}return _233.dispatchEvent(_236)&&_236;}return _22b.apply(on,arguments);};}else{on._fixEvent=function(evt,_237){if(!evt){var w=_237&&(_237.ownerDocument||_237.document||_237).parentWindow||window;evt=w.event;}if(!evt){return evt;}try{if(_238&&evt.type==_238.type&&evt.srcElement==_238.target){evt=_238;}}catch(e){}if(!evt.target){evt.target=evt.srcElement;evt.currentTarget=(_237||evt.srcElement);if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(!evt.stopPropagation){evt.stopPropagation=_239;evt.preventDefault=_23a;}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;_23b(evt);break;}}return evt;};var _238,_23c=function(_23d){this.handle=_23d;};_23c.prototype.remove=function(){delete _dojoIEListeners_[this.handle];};var _23e=function(_23f){return function(evt){evt=on._fixEvent(evt,this);var _240=_23f.call(this,evt);if(evt.modified){if(!_238){setTimeout(function(){_238=null;});}_238=evt;}return _240;};};var _218=function(_241,type,_242){_242=_23e(_242);if(((_241.ownerDocument?_241.ownerDocument.parentWindow:_241.parentWindow||_241.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){if(typeof _dojoIEListeners_=="undefined"){_dojoIEListeners_=[];}var _243=_241[type];if(!_243||!_243.listeners){var _244=_243;_243=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);}}");_243.listeners=[];_241[type]=_243;_243.global=this;if(_244){_243.listeners.push(_dojoIEListeners_.push(_244)-1);}}var _245;_243.listeners.push(_245=(_243.global._dojoIEListeners_.push(_242)-1));return new _23c(_245);}return _1f2.after(_241,type,_242,true);};var _23b=function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _239=function(){this.cancelBubble=true;};var _23a=on._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){try{this.keyCode=0;}catch(e){}}this.defaultPrevented=true;this.returnValue=false;this.modified=true;};}if(has("touch")){var _246=function(){};var _247=window.orientation;var _213=function(_248){return function(_249){var _24a=_249.corrected;if(!_24a){var type=_249.type;try{delete _249.type;}catch(e){}if(_249.type){if(has("touch-can-modify-event-delegate")){_246.prototype=_249;_24a=new _246;}else{_24a={};for(var name in _249){_24a[name]=_249[name];}}_24a.preventDefault=function(){_249.preventDefault();};_24a.stopPropagation=function(){_249.stopPropagation();};}else{_24a=_249;_24a.type=type;}_249.corrected=_24a;if(type=="resize"){if(_247==window.orientation){return null;}_247=window.orientation;_24a.type="orientationchange";return _248.call(this,_24a);}if(!("rotation" in _24a)){_24a.rotation=0;_24a.scale=1;}var _24b=_24a.changedTouches[0];for(var i in _24b){delete _24a[i];_24a[i]=_24b[i];}}return _248.call(this,_24a);};};}return on;});},"dojo/topic":function(){define(["./Evented"],function(_24c){var hub=new _24c;return {publish:function(_24d,_24e){return hub.emit.apply(hub,arguments);},subscribe:function(_24f,_250){return hub.on.apply(hub,arguments);}};});},"dojo/Evented":function(){define(["./aspect","./on"],function(_251,on){"use strict";var _252=_251.after;function _253(){};_253.prototype={on:function(type,_254){return on.parse(this,type,_254,function(_255,type){return _252(_255,"on"+type,_254,true);});},emit:function(type,_256){var args=[this];args.push.apply(args,arguments);return on.emit.apply(on,args);}};return _253;});},"dojo/aspect":function(){define([],function(){"use strict";var _257;function _258(_259,type,_25a,_25b){var _25c=_259[type];var _25d=type=="around";var _25e;if(_25d){var _25f=_25a(function(){return _25c.advice(this,arguments);});_25e={remove:function(){if(_25f){_25f=_259=_25a=null;}},advice:function(_260,args){return _25f?_25f.apply(_260,args):_25c.advice(_260,args);}};}else{_25e={remove:function(){if(_25e.advice){var _261=_25e.previous;var next=_25e.next;if(!next&&!_261){delete _259[type];}else{if(_261){_261.next=next;}else{_259[type]=next;}if(next){next.previous=_261;}}_259=_25a=_25e.advice=null;}},id:_259.nextId++,advice:_25a,receiveArguments:_25b};}if(_25c&&!_25d){if(type=="after"){while(_25c.next&&(_25c=_25c.next)){}_25c.next=_25e;_25e.previous=_25c;}else{if(type=="before"){_259[type]=_25e;_25e.next=_25c;_25c.previous=_25e;}}}else{_259[type]=_25e;}return _25e;};function _262(type){return function(_263,_264,_265,_266){var _267=_263[_264],_268;if(!_267||_267.target!=_263){_263[_264]=_268=function(){var _269=_268.nextId;var args=arguments;var _26a=_268.before;while(_26a){if(_26a.advice){args=_26a.advice.apply(this,args)||args;}_26a=_26a.next;}if(_268.around){var _26b=_268.around.advice(this,args);}var _26c=_268.after;while(_26c&&_26c.id<_269){if(_26c.advice){if(_26c.receiveArguments){var _26d=_26c.advice.apply(this,args);_26b=_26d===_257?_26b:_26d;}else{_26b=_26c.advice.call(this,_26b,args);}}_26c=_26c.next;}return _26b;};if(_267){_268.around={advice:function(_26e,args){return _267.apply(_26e,args);}};}_268.target=_263;_268.nextId=_268.nextId||0;}var _26f=_258((_268||_267),type,_265,_266);_265=null;return _26f;};};var _270=_262("after");var _271=_262("before");var _272=_262("around");return {before:_271,around:_272,after:_270};});},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(dojo,on,has,dom){if(on._fixEvent){var _273=on._fixEvent;on._fixEvent=function(evt,se){evt=_273(evt,se);if(evt){dom.normalizeEvent(evt);}return evt;};}var ret={fix:function(evt,_274){if(on._fixEvent){return on._fixEvent(evt,_274);}return evt;},stop: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);}}};if(1){dojo.fixEvent=ret.fix;dojo.stopEvent=ret.stop;}return ret;});},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_275){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_276){node=dom.byId(node);var s=_276||_275.getComputedStyle(node),px=_275.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,_277){node=dom.byId(node);var px=_275.toPixelValue,s=_277||_275.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,_278){node=dom.byId(node);var s=_278||_275.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,_279){node=dom.byId(node);var s=_279||_275.getComputedStyle(node),px=_275.toPixelValue,l=px(node,s.marginLeft),t=px(node,s.marginTop),r=px(node,s.marginRight),b=px(node,s.marginBottom);return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getMarginBox=function getMarginBox(node,_27a){node=dom.byId(node);var s=_27a||_275.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_275.toPixelValue,pcs;if((has("ie")==8&&!has("quirks"))){if(p){pcs=_275.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,_27b){node=dom.byId(node);var s=_27b||_275.getComputedStyle(node),w=node.clientWidth,h,pe=geom.getPadExtents(node,s),be=geom.getBorderExtents(node,s),l=node.offsetLeft+pe.l+be.l,t=node.offsetTop+pe.t+be.t;if(!w){w=node.offsetWidth-be.w;h=node.offsetHeight-be.h;}else{h=node.clientHeight;}if((has("ie")==8&&!has("quirks"))){var p=node.parentNode,px=_275.toPixelValue,pcs;if(p){pcs=_275.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:w-pe.w,h:h-pe.h};};function _27c(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 _27d(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _27e(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_27d(node);};geom.setContentSize=function setContentSize(node,box,_27f){node=dom.byId(node);var w=box.w,h=box.h;if(_27e(node)){var pb=geom.getPadBorderExtents(node,_27f);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_27c(node,NaN,NaN,w,h);};var _280={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_281){node=dom.byId(node);var s=_281||_275.getComputedStyle(node),w=box.w,h=box.h,pb=_27e(node)?_280:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_27d(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);}_27c(node,box.l,box.t,w,h);};geom.isBodyLtr=function isBodyLtr(doc){doc=doc||win.doc;return (win.body(doc).dir||doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};geom.docScroll=function docScroll(doc){doc=doc||win.doc;var node=win.doc.parentWindow||win.doc.defaultView;return "pageXOffset" in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body(doc):doc.documentElement)&&{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0,doc),y:node.scrollTop||0};};geom.getIeDocumentElementOffset=function(doc){return {x:0,y:0};};geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_282,doc){doc=doc||win.doc;var ie=has("ie");if(ie&&!geom.isBodyLtr(doc)){var qk=has("quirks"),de=qk?win.body(doc):doc.documentElement,pwin=win.global;if(ie==6&&!qk&&pwin.frameElement&&de.scrollHeight>de.clientHeight){_282+=de.clientLeft;}return (ie<8||qk)?(_282+de.clientWidth-de.scrollWidth):-_282;}return _282;};geom.position=function(node,_283){node=dom.byId(node);var db=win.body(node.ownerDocument),ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")<9){ret.x-=(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=(has("quirks")?db.clientTop+db.offsetTop:0);}if(_283){var _284=geom.docScroll(node.ownerDocument);ret.x+=_284.x;ret.y+=_284.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_285){node=dom.byId(node);var me=geom.getMarginExtents(node,_285||_275.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_286){if(!("layerX" in _286)){_286.layerX=_286.offsetX;_286.layerY=_286.offsetY;}if(!("pageX" in _286)){var se=_286.target;var doc=(se&&se.ownerDocument)||document;var _287=has("quirks")?doc.body:doc.documentElement;_286.pageX=_286.clientX+geom.fixIeBiDiScrollLeft(_287.scrollLeft||0,doc);_286.pageY=_286.clientY+(_287.scrollTop||0);}};return geom;});},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){var ret={global:dojo.global,doc:dojo.global["document"]||null,body:function(doc){doc=doc||dojo.doc;return doc.body||doc.getElementsByTagName("body")[0];},setContext:function(_288,_289){dojo.global=ret.global=_288;dojo.doc=ret.doc=_289;},withGlobal:function(_28a,_28b,_28c,_28d){var _28e=dojo.global;try{dojo.global=ret.global=_28a;return ret.withDoc.call(null,_28a.document,_28b,_28c,_28d);}finally{dojo.global=ret.global=_28e;}},withDoc:function(_28f,_290,_291,_292){var _293=ret.doc,oldQ=has("quirks"),_294=has("ie"),isIE,mode,pwin;try{dojo.doc=ret.doc=_28f;dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);if(has("ie")){if((pwin=_28f.parentWindow)&&pwin.navigator){isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;mode=_28f.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}dojo.isIE=has.add("ie",isIE,true,true);}}if(_291&&typeof _290=="string"){_290=_291[_290];}return _290.apply(_291,_292||[]);}finally{dojo.doc=ret.doc=_293;dojo.isQuirks=has.add("quirks",oldQ,true,true);dojo.isIE=has.add("ie",_294,true,true);}}};1&&lang.mixin(dojo,ret);return ret;});},"dojo/dom":function(){define(["./sniff","./_base/window","./_base/kernel"],function(has,win,_295){if(has("ie")<=7){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 _296=doc||win.doc,te=id&&_296.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_296.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;};}var doc=_295.global["document"]||null;has.add("dom-contains",!!(doc&&doc.contains));dom.isDescendant=has("dom-contains")?function(node,_297){return !!((_297=dom.byId(_297))&&_297.contains(dom.byId(node)));}:function(node,_298){try{node=dom.byId(node);_298=dom.byId(_298);while(node){if(node==_298){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_299,doc,_29a){if(!_29a){return false;}var _29b=_29a.style;var _29c=["Khtml","O","Moz","Webkit"],i=_29c.length,name="userSelect",_29d;do{if(typeof _29b[name]!=="undefined"){return name;}}while(i--&&(name=_29c[i]+"UserSelect"));return false;});var _29e=has("css-user-select");dom.setSelectable=_29e?function(node,_29f){dom.byId(node).style[_29e]=_29f?"":"none";}:function(node,_2a0){node=dom.byId(node);var _2a1=node.getElementsByTagName("*"),i=_2a1.length;if(_2a0){node.removeAttribute("unselectable");while(i--){_2a1[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_2a1[i].setAttribute("unselectable","on");}}};return dom;});},"dojo/dom-style":function(){define(["./sniff","./dom","./_base/window"],function(has,dom,win){var _2a2,_2a3={};if(has("webkit")){_2a2=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"))){_2a2=function(node){return node.nodeType==1&&node.currentStyle?node.currentStyle:{};};}else{_2a2=function(node){var dv=node.ownerDocument.defaultView,w=dv.opener?dv:win.global.window.parent;return node.nodeType==1?w.getComputedStyle(node,null):{};};}}_2a3.getComputedStyle=_2a2;var _2a4;if(!has("ie")){_2a4=function(_2a5,_2a6){return parseFloat(_2a6)||0;};}else{_2a4=function(_2a7,_2a8){if(!_2a8){return 0;}if(_2a8=="medium"){return 4;}if(_2a8.slice&&_2a8.slice(-2)=="px"){return parseFloat(_2a8);}var s=_2a7.style,rs=_2a7.runtimeStyle,cs=_2a7.currentStyle,_2a9=s.left,_2aa=rs.left;rs.left=cs.left;try{s.left=_2a8;_2a8=s.pixelLeft;}catch(e){_2a8=0;}s.left=_2a9;rs.left=_2aa;return _2a8;};}_2a3.toPixelValue=_2a4;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _2ab=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _2a2(node).opacity;};var _2ac=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_2ad){if(_2ad===""){_2ad=1;}var ov=_2ad*100,_2ae=_2ad===1;if(_2ae){node.style.zoom="";if(af(node)){node.style.filter=node.style.filter.replace(new RegExp("\\s*progid:"+astr+"\\([^\\)]+?\\)","i"),"");}}else{node.style.zoom=1;if(af(node)){af(node,1).Opacity=ov;}else{node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}af(node,1).Enabled=true;}if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_2ac(td,_2ad);}}}return _2ad;}:function(node,_2af){return node.style.opacity=_2af;};var _2b0={left:true,top:true};var _2b1=/margin|padding|width|height|max|min|offset/;function _2b2(node,type,_2b3){type=type.toLowerCase();if(_2b3=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2b3){case 700:return "bold";case 400:default:return "normal";}}if(!(type in _2b0)){_2b0[type]=_2b1.test(type);}return _2b0[type]?_2a4(node,_2b3):_2b3;};var _2b4={cssFloat:1,styleFloat:1,"float":1};_2a3.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _2ab(n);}name=_2b4[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;var s=_2a3.getComputedStyle(n);return (l==1)?s:_2b2(n,name,s[name]||n.style[name]);};_2a3.set=function setStyle(node,name,_2b5){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_2b4[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;if(l==3){return op?_2ac(n,_2b5):n.style[name]=_2b5;}for(var x in name){_2a3.set(node,x,name[x]);}return _2a3.getComputedStyle(n);};return _2a3;});},"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"));has.add("events-mousewheel",win.doc&&"onmousewheel" in win.doc);var _2b6;if((has("dom-quirks")&&has("ie"))||!has("dom-addeventlistener")){_2b6={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_2b7){return e.button&_2b7;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{_2b6={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_2b8){return e.button==_2b8;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}dojo.mouseButtons=_2b6;function _2b9(type,_2ba){var _2bb=function(node,_2bc){return on(node,type,function(evt){if(_2ba){return _2ba(evt,_2bc);}if(!dom.isDescendant(evt.relatedTarget,node)){return _2bc.call(this,evt);}});};_2bb.bubble=function(_2bd){return _2b9(type,function(evt,_2be){var _2bf=_2bd(evt.target);var _2c0=evt.relatedTarget;if(_2bf&&(_2bf!=(_2c0&&_2c0.nodeType==1&&_2bd(_2c0)))){return _2be.call(_2bf,evt);}});};return _2bb;};var _2c1;if(has("events-mousewheel")){_2c1="mousewheel";}else{_2c1=function(node,_2c2){return on(node,"DOMMouseScroll",function(evt){evt.wheelDelta=-evt.detail;_2c2.call(this,evt);});};}return {_eventHandler:_2b9,enter:_2b9("mouseover"),leave:_2b9("mouseout"),wheel:_2c1,isLeft:_2b6.isLeft,isMiddle:_2b6.isMiddle,isRight:_2b6.isRight};});},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){if(!1){return has;}dojo._name="browser";lang.mixin(dojo,{isBrowser:true,isFF:has("ff"),isIE:has("ie"),isKhtml:has("khtml"),isWebKit:has("webkit"),isMozilla:has("mozilla"),isMoz:has("mozilla"),isOpera:has("opera"),isSafari:has("safari"),isChrome:has("chrome"),isMac:has("mac"),isIos:has("ios"),isAndroid:has("android"),isWii:has("wii"),isQuirks:has("quirks"),isAir:has("air")});return has;});},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(dojo,has){return dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:has("webkit")?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/_base/Deferred":function(){define(["./kernel","../Deferred","../promise/Promise","../errors/CancelError","../has","./lang","../when"],function(dojo,_2c3,_2c4,_2c5,has,lang,when){var _2c6=function(){};var _2c7=Object.freeze||function(){};var _2c8=dojo.Deferred=function(_2c9){var _2ca,_2cb,_2cc,_2cd,_2ce,head,_2cf;var _2d0=(this.promise=new _2c4());function _2d1(_2d2){if(_2cb){throw new Error("This deferred has already been resolved");}_2ca=_2d2;_2cb=true;_2d3();};function _2d3(){var _2d4;while(!_2d4&&_2cf){var _2d5=_2cf;_2cf=_2cf.next;if((_2d4=(_2d5.progress==_2c6))){_2cb=false;}var func=(_2ce?_2d5.error:_2d5.resolved);if(has("config-useDeferredInstrumentation")){if(_2ce&&_2c3.instrumentRejected){_2c3.instrumentRejected(_2ca,!!func);}}if(func){try{var _2d6=func(_2ca);if(_2d6&&typeof _2d6.then==="function"){_2d6.then(lang.hitch(_2d5.deferred,"resolve"),lang.hitch(_2d5.deferred,"reject"),lang.hitch(_2d5.deferred,"progress"));continue;}var _2d7=_2d4&&_2d6===undefined;if(_2d4&&!_2d7){_2ce=_2d6 instanceof Error;}_2d5.deferred[_2d7&&_2ce?"reject":"resolve"](_2d7?_2ca:_2d6);}catch(e){_2d5.deferred.reject(e);}}else{if(_2ce){_2d5.deferred.reject(_2ca);}else{_2d5.deferred.resolve(_2ca);}}}};this.isResolved=_2d0.isResolved=function(){return _2cd==0;};this.isRejected=_2d0.isRejected=function(){return _2cd==1;};this.isFulfilled=_2d0.isFulfilled=function(){return _2cd>=0;};this.isCanceled=_2d0.isCanceled=function(){return _2cc;};this.resolve=this.callback=function(_2d8){this.fired=_2cd=0;this.results=[_2d8,null];_2d1(_2d8);};this.reject=this.errback=function(_2d9){_2ce=true;this.fired=_2cd=1;if(has("config-useDeferredInstrumentation")){if(_2c3.instrumentRejected){_2c3.instrumentRejected(_2d9,!!_2cf);}}_2d1(_2d9);this.results=[null,_2d9];};this.progress=function(_2da){var _2db=_2cf;while(_2db){var _2dc=_2db.progress;_2dc&&_2dc(_2da);_2db=_2db.next;}};this.addCallbacks=function(_2dd,_2de){this.then(_2dd,_2de,_2c6);return this;};_2d0.then=this.then=function(_2df,_2e0,_2e1){var _2e2=_2e1==_2c6?this:new _2c8(_2d0.cancel);var _2e3={resolved:_2df,error:_2e0,progress:_2e1,deferred:_2e2};if(_2cf){head=head.next=_2e3;}else{_2cf=head=_2e3;}if(_2cb){_2d3();}return _2e2.promise;};var _2e4=this;_2d0.cancel=this.cancel=function(){if(!_2cb){var _2e5=_2c9&&_2c9(_2e4);if(!_2cb){if(!(_2e5 instanceof Error)){_2e5=new _2c5(_2e5);}_2e5.log=false;_2e4.reject(_2e5);}}_2cc=true;};_2c7(_2d0);};lang.extend(_2c8,{addCallback:function(_2e6){return this.addCallbacks(lang.hitch.apply(dojo,arguments));},addErrback:function(_2e7){return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));},addBoth:function(_2e8){var _2e9=lang.hitch.apply(dojo,arguments);return this.addCallbacks(_2e9,_2e9);},fired:-1});_2c8.when=dojo.when=when;return _2c8;});},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(has,lang,_2ea,_2eb,_2ec){"use strict";var _2ed=0,_2ee=1,_2ef=2;var _2f0="This deferred has already been fulfilled.";var _2f1=Object.freeze||function(){};var _2f2=function(_2f3,type,_2f4,_2f5,_2f6){if(1){if(type===_2ef&&_2f7.instrumentRejected&&_2f3.length===0){_2f7.instrumentRejected(_2f4,false,_2f5,_2f6);}}for(var i=0;i<_2f3.length;i++){_2f8(_2f3[i],type,_2f4,_2f5);}};var _2f8=function(_2f9,type,_2fa,_2fb){var func=_2f9[type];var _2fc=_2f9.deferred;if(func){try{var _2fd=func(_2fa);if(type===_2ed){if(typeof _2fd!=="undefined"){_2fe(_2fc,type,_2fd);}}else{if(_2fd&&typeof _2fd.then==="function"){_2f9.cancel=_2fd.cancel;_2fd.then(_2ff(_2fc,_2ee),_2ff(_2fc,_2ef),_2ff(_2fc,_2ed));return;}_2fe(_2fc,_2ee,_2fd);}}catch(error){_2fe(_2fc,_2ef,error);}}else{_2fe(_2fc,type,_2fa);}if(1){if(type===_2ef&&_2f7.instrumentRejected){_2f7.instrumentRejected(_2fa,!!func,_2fb,_2fc.promise);}}};var _2ff=function(_300,type){return function(_301){_2fe(_300,type,_301);};};var _2fe=function(_302,type,_303){if(!_302.isCanceled()){switch(type){case _2ed:_302.progress(_303);break;case _2ee:_302.resolve(_303);break;case _2ef:_302.reject(_303);break;}}};var _2f7=function(_304){var _305=this.promise=new _2eb();var _306=this;var _307,_308,_309;var _30a=false;var _30b=[];if(1&&Error.captureStackTrace){Error.captureStackTrace(_306,_2f7);Error.captureStackTrace(_305,_2f7);}this.isResolved=_305.isResolved=function(){return _307===_2ee;};this.isRejected=_305.isRejected=function(){return _307===_2ef;};this.isFulfilled=_305.isFulfilled=function(){return !!_307;};this.isCanceled=_305.isCanceled=function(){return _30a;};this.progress=function(_30c,_30d){if(!_307){_2f2(_30b,_2ed,_30c,null,_306);return _305;}else{if(_30d===true){throw new Error(_2f0);}else{return _305;}}};this.resolve=function(_30e,_30f){if(!_307){_2f2(_30b,_307=_2ee,_308=_30e,null,_306);_30b=null;return _305;}else{if(_30f===true){throw new Error(_2f0);}else{return _305;}}};var _310=this.reject=function(_311,_312){if(!_307){if(1&&Error.captureStackTrace){Error.captureStackTrace(_309={},_310);}_2f2(_30b,_307=_2ef,_308=_311,_309,_306);_30b=null;return _305;}else{if(_312===true){throw new Error(_2f0);}else{return _305;}}};this.then=_305.then=function(_313,_314,_315){var _316=[_315,_313,_314];_316.cancel=_305.cancel;_316.deferred=new _2f7(function(_317){return _316.cancel&&_316.cancel(_317);});if(_307&&!_30b){_2f8(_316,_307,_308,_309);}else{_30b.push(_316);}return _316.deferred.promise;};this.cancel=_305.cancel=function(_318,_319){if(!_307){if(_304){var _31a=_304(_318);_318=typeof _31a==="undefined"?_318:_31a;}_30a=true;if(!_307){if(typeof _318==="undefined"){_318=new _2ea();}_310(_318);return _318;}else{if(_307===_2ef&&_308===_318){return _318;}}}else{if(_319===true){throw new Error(_2f0);}}};_2f1(_305);};_2f7.prototype.toString=function(){return "[object Deferred]";};if(_2ec){_2ec(_2f7);}return _2f7;});},"dojo/errors/CancelError":function(){define(["./create"],function(_31b){return _31b("CancelError",null,null,{dojoType:"cancel",log:false});});},"dojo/errors/create":function(){define(["../_base/lang"],function(lang){return function(name,ctor,base,_31c){base=base||Error;var _31d=function(_31e){if(base===Error){if(Error.captureStackTrace){Error.captureStackTrace(this,_31d);}var err=Error.call(this,_31e),prop;for(prop in err){if(err.hasOwnProperty(prop)){this[prop]=err[prop];}}this.message=_31e;this.stack=err.stack;}else{base.apply(this,arguments);}if(ctor){ctor.apply(this,arguments);}};_31d.prototype=lang.delegate(base.prototype,_31c);_31d.prototype.name=name;_31d.prototype.constructor=_31d;return _31d;};});},"dojo/promise/Promise":function(){define(["../_base/lang"],function(lang){"use strict";function _31f(){throw new TypeError("abstract");};return lang.extend(function Promise(){},{then:function(_320,_321,_322){_31f();},cancel:function(_323,_324){_31f();},isResolved:function(){_31f();},isRejected:function(){_31f();},isFulfilled:function(){_31f();},isCanceled:function(){_31f();},always:function(_325){return this.then(_325,_325);},otherwise:function(_326){return this.then(null,_326);},trace:function(){return this;},traceRejected:function(){return this;},toString:function(){return "[object Promise]";}});});},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(_327,has,lang,_328){has.add("config-useDeferredInstrumentation","report-unhandled-rejections");function _329(_32a,_32b,_32c){if(_32a&&_32a.log===false){return;}var _32d="";if(_32a&&_32a.stack){_32d+=_32a.stack;}if(_32b&&_32b.stack){_32d+="\n ----------------------------------------\n rejected"+_32b.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ");}if(_32c&&_32c.stack){_32d+="\n ----------------------------------------\n"+_32c.stack;}console.error(_32a,_32d);};function _32e(_32f,_330,_331,_332){if(!_330){_329(_32f,_331,_332);}};var _333=[];var _334=false;var _335=1000;function _336(_337,_338,_339,_33a){if(!_328.some(_333,function(obj){if(obj.error===_337){if(_338){obj.handled=true;}return true;}})){_333.push({error:_337,rejection:_339,handled:_338,deferred:_33a,timestamp:new Date().getTime()});}if(!_334){_334=setTimeout(_33b,_335);}};function _33b(){var now=new Date().getTime();var _33c=now-_335;_333=_328.filter(_333,function(obj){if(obj.timestamp<_33c){if(!obj.handled){_329(obj.error,obj.rejection,obj.deferred);}return false;}return true;});if(_333.length){_334=setTimeout(_33b,_333[0].timestamp+_335-now);}else{_334=false;}};return function(_33d){var _33e=has("config-useDeferredInstrumentation");if(_33e){_327.on("resolved",lang.hitch(console,"log","resolved"));_327.on("rejected",lang.hitch(console,"log","rejected"));_327.on("progress",lang.hitch(console,"log","progress"));var args=[];if(typeof _33e==="string"){args=_33e.split(",");_33e=args.shift();}if(_33e==="report-rejections"){_33d.instrumentRejected=_32e;}else{if(_33e==="report-unhandled-rejections"||_33e===true||_33e===1){_33d.instrumentRejected=_336;_335=parseInt(args[0],10)||_335;}else{throw new Error("Unsupported instrumentation usage <"+_33e+">");}}}};});},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(lang,_33f,_340){"use strict";var _341=new _340;var emit=_341.emit;_341.emit=null;function _342(args){setTimeout(function(){emit.apply(_341,args);},0);};_33f.prototype.trace=function(){var args=lang._toArray(arguments);this.then(function(_343){_342(["resolved",_343].concat(args));},function(_344){_342(["rejected",_344].concat(args));},function(_345){_342(["progress",_345].concat(args));});return this;};_33f.prototype.traceRejected=function(){var args=lang._toArray(arguments);this.otherwise(function(_346){_342(["rejected",_346].concat(args));});return this;};return _341;});},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(_347,_348){"use strict";return function when(_349,_34a,_34b,_34c){var _34d=_349&&typeof _349.then==="function";var _34e=_34d&&_349 instanceof _348;if(!_34d){if(arguments.length>1){return _34a?_34a(_349):_349;}else{return new _347().resolve(_349);}}else{if(!_34e){var _34f=new _347(_349.cancel);_349.then(_34f.resolve,_34f.reject,_34f.progress);_349=_34f.promise;}}if(_34a||_34b||_34c){return _349.then(_34a,_34b,_34c);}return _349;};});},"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,_350){return json.stringify(it,function(key,_351){if(_351){var tf=_351.__json__||_351.json;if(typeof tf=="function"){return tf.call(_351);}}return _351;},_350&&dojo.toJsonIndentStr);};return dojo;});},"dojo/json":function(){define(["./has"],function(has){"use strict";var _352=typeof JSON!="undefined";has.add("json-parse",_352);has.add("json-stringify",_352&&JSON.stringify({a:0},function(k,v){return v||1;})=="{\"a\":1}");if(has("json-stringify")){return JSON;}else{var _353=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,_354){if(_354&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){throw new SyntaxError("Invalid characters in JSON");}return eval("("+str+")");},stringify:function(_355,_356,_357){var _358;if(typeof _356=="string"){_357=_356;_356=null;}function _359(it,_35a,key){if(_356){it=_356(key,it);}var val,_35b=typeof it;if(_35b=="number"){return isFinite(it)?it+"":"null";}if(_35b=="boolean"){return it+"";}if(it===null){return "null";}if(typeof it=="string"){return _353(it);}if(_35b=="function"||_35b=="undefined"){return _358;}if(typeof it.toJSON=="function"){return _359(it.toJSON(key),_35a,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 _359(it.valueOf(),_35a,key);}var _35c=_357?(_35a+_357):"";var sep=_357?" ":"";var _35d=_357?"\n":"";if(it instanceof Array){var itl=it.length,res=[];for(key=0;key<itl;key++){var obj=it[key];val=_359(obj,_35c,key);if(typeof val!="string"){val="null";}res.push(_35d+_35c+val);}return "["+res.join(",")+_35d+_35a+"]";}var _35e=[];for(key in it){var _35f;if(it.hasOwnProperty(key)){if(typeof key=="number"){_35f="\""+key+"\"";}else{if(typeof key=="string"){_35f=_353(key);}else{continue;}}val=_359(it[key],_35c,key);if(typeof val!="string"){continue;}_35e.push(_35d+_35c+_35f+":"+sep+val);}}return "{"+_35e.join(",")+_35d+_35a+"}";};return _359(_355,"","");}};}});},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(dojo,lang,_360,_361){var _362=dojo.Color=function(_363){if(_363){this.setColor(_363);}};_362.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":_361.transparentColor||[0,0,0,0]};lang.extend(_362,{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(_364){if(lang.isString(_364)){_362.fromString(_364,this);}else{if(lang.isArray(_364)){_362.fromArray(_364,this);}else{this._set(_364.r,_364.g,_364.b,_364.a);if(!(_364 instanceof _362)){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=_360.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(_365){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_365?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});_362.blendColors=dojo.blendColors=function(_366,end,_367,obj){var t=obj||new _362();_360.forEach(["r","g","b","a"],function(x){t[x]=_366[x]+(end[x]-_366[x])*_367;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};_362.fromRgb=dojo.colorFromRgb=function(_368,obj){var m=_368.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&_362.fromArray(m[1].split(/\s*,\s*/),obj);};_362.fromHex=dojo.colorFromHex=function(_369,obj){var t=obj||new _362(),bits=(_369.length==4)?4:8,mask=(1<<bits)-1;_369=Number("0x"+_369.substr(1));if(isNaN(_369)){return null;}_360.forEach(["b","g","r"],function(x){var c=_369&mask;_369>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};_362.fromArray=dojo.colorFromArray=function(a,obj){var t=obj||new _362();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};_362.fromString=dojo.colorFromString=function(str,obj){var a=_362.named[str];return a&&_362.fromArray(a,obj)||_362.fromRgb(str,obj)||_362.fromHex(str,obj);};return _362;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(dojo,lang,on){var win=window;var _36a={addOnWindowUnload:function(obj,_36b){if(!dojo.windowUnloaded){on(win,"unload",(dojo.windowUnloaded=function(){}));}on(win,"unload",lang.hitch(obj,_36b));},addOnUnload:function(obj,_36c){on(win,"beforeunload",lang.hitch(obj,_36c));}};dojo.addOnWindowUnload=_36a.addOnWindowUnload;dojo.addOnUnload=_36a.addOnUnload;return _36a;});},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_36d,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,_36e){if(arguments.length==2){return attr[typeof name=="string"?"get":"set"](node,name);}return attr.set(node,name,_36e);};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,_36f){dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");node=dom.byId(node);var s=_36d.getComputedStyle(node),mb=geom.getMarginBox(node,s);var abs=geom.position(node,_36f);mb.x=abs.x;mb.y=abs.y;return mb;};dojo.getProp=prop.get;dojo.setProp=prop.set;dojo.prop=function(node,name,_370){if(arguments.length==2){return prop[typeof name=="string"?"get":"set"](node,name);}return prop.set(node,name,_370);};dojo.getStyle=_36d.get;dojo.setStyle=_36d.set;dojo.getComputedStyle=_36d.getComputedStyle;dojo.__toPixelValue=dojo.toPixelValue=_36d.toPixelValue;dojo.style=function(node,name,_371){switch(arguments.length){case 1:return _36d.get(node);case 2:return _36d[typeof name=="string"?"get":"set"](node,name);}return _36d.set(node,name,_371);};return dojo;});},"dojo/dom-attr":function(){define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_372,has,lang,dom,_373,prop){var _374={innerHTML:1,textContent:1,className:1,htmlFor:has("ie"),value:1},_375={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _376(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return !!attr&&attr.specified;};_372.has=function hasAttr(node,name){var lc=name.toLowerCase();return _374[prop.names[lc]||name]||_376(dom.byId(node),_375[lc]||name);};_372.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_377=prop.names[lc]||name,_378=_374[_377],_379=node[_377];if(_378&&typeof _379!="undefined"){return _379;}if(_377=="textContent"){return prop.get(node,_377);}if(_377!="href"&&(typeof _379=="boolean"||lang.isFunction(_379))){return _379;}var _37a=_375[lc]||name;return _376(node,_37a)?node.getAttribute(_37a):null;};_372.set=function setAttr(node,name,_37b){node=dom.byId(node);if(arguments.length==2){for(var x in name){_372.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_37c=prop.names[lc]||name,_37d=_374[_37c];if(_37c=="style"&&typeof _37b!="string"){_373.set(node,_37b);return node;}if(_37d||typeof _37b=="boolean"||lang.isFunction(_37b)){return prop.set(node,name,_37b);}node.setAttribute(_375[lc]||name,_37b);return node;};_372.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_375[name.toLowerCase()]||name);};_372.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_37e=prop.names[lc]||name;if((_37e in node)&&_37e!="href"){return node[_37e];}var _37f=_375[lc]||name;return _376(node,_37f)?node.getAttribute(_37f):null;};});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_380,dojo,has,lang,dom,_381,ctr,conn){var _382={},_383=1,_384=dojo._scopeName+"attrid";has.add("dom-textContent",function(_385,doc,_386){return "textContent" in _386;});_380.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};function _387(node){var text="",ch=node.childNodes;for(var i=0,n;n=ch[i];i++){if(n.nodeType!=8){if(n.nodeType==1){text+=_387(n);}else{text+=n.nodeValue;}}}return text;};_380.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_388=_380.names[lc]||name;if(_388=="textContent"&&!has("dom-textContent")){return _387(node);}return node[_388];};_380.set=function setProp(node,name,_389){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_380.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_38a=_380.names[lc]||name;if(_38a=="style"&&typeof _389!="string"){_381.set(node,_389);return node;}if(_38a=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in {col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}){ctr.empty(node);node.appendChild(ctr.toDom(_389,node.ownerDocument));}else{node[_38a]=_389;}return node;}if(_38a=="textContent"&&!has("dom-textContent")){ctr.empty(node);node.appendChild(node.ownerDocument.createTextNode(_389));return node;}if(lang.isFunction(_389)){var _38b=node[_384];if(!_38b){_38b=_383++;node[_384]=_38b;}if(!_382[_38b]){_382[_38b]={};}var h=_382[_38b][_38a];if(h){conn.disconnect(h);}else{try{delete node[_38a];}catch(e){}}if(_389){_382[_38b][_38a]=conn.connect(node,_38a,_389);}else{node[_38a]=null;}return node;}node[_38a]=_389;return node;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],function(_38c,dojo,has,win,dom,attr){var _38d={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"]},_38e=/<\s*([\w\:]+)/,_38f={},_390=0,_391="__"+dojo._scopeName+"ToDomId";for(var _392 in _38d){if(_38d.hasOwnProperty(_392)){var tw=_38d[_392];tw.pre=_392=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}}var _393;if(has("ie")<=8){_393=function(doc){doc.__dojo_html5_tested="yes";var div=_394("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},doc.body);if(div.childNodes.length!==1){("abbr article aside audio canvas details figcaption figure footer header "+"hgroup mark meter nav output progress section summary time video").replace(/\b\w+\b/g,function(n){doc.createElement(n);});}_395(div);};}function _396(node,ref){var _397=ref.parentNode;if(_397){_397.insertBefore(node,ref);}};function _398(node,ref){var _399=ref.parentNode;if(_399){if(_399.lastChild==ref){_399.appendChild(node);}else{_399.insertBefore(node,ref.nextSibling);}}};_38c.toDom=function toDom(frag,doc){doc=doc||win.doc;var _39a=doc[_391];if(!_39a){doc[_391]=_39a=++_390+"";_38f[_39a]=doc.createElement("div");}if(has("ie")<=8){if(!doc.__dojo_html5_tested&&doc.body){_393(doc);}}frag+="";var _39b=frag.match(_38e),tag=_39b?_39b[1].toLowerCase():"",_39c=_38f[_39a],wrap,i,fc,df;if(_39b&&_38d[tag]){wrap=_38d[tag];_39c.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_39c=_39c.firstChild;}}else{_39c.innerHTML=frag;}if(_39c.childNodes.length==1){return _39c.removeChild(_39c.firstChild);}df=doc.createDocumentFragment();while((fc=_39c.firstChild)){df.appendChild(fc);}return df;};_38c.place=function place(node,_39d,_39e){_39d=dom.byId(_39d);if(typeof node=="string"){node=/^\s*</.test(node)?_38c.toDom(node,_39d.ownerDocument):dom.byId(node);}if(typeof _39e=="number"){var cn=_39d.childNodes;if(!cn.length||cn.length<=_39e){_39d.appendChild(node);}else{_396(node,cn[_39e<0?0:_39e]);}}else{switch(_39e){case "before":_396(node,_39d);break;case "after":_398(node,_39d);break;case "replace":_39d.parentNode.replaceChild(node,_39d);break;case "only":_38c.empty(_39d);_39d.appendChild(node);break;case "first":if(_39d.firstChild){_396(node,_39d.firstChild);break;}default:_39d.appendChild(node);}}return node;};var _394=_38c.create=function _394(tag,_39f,_3a0,pos){var doc=win.doc;if(_3a0){_3a0=dom.byId(_3a0);doc=_3a0.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_39f){attr.set(tag,_39f);}if(_3a0){_38c.place(tag,_3a0,pos);}return tag;};function _3a1(node){if("innerHTML" in node){try{node.innerHTML="";return;}catch(e){}}for(var c;c=node.lastChild;){node.removeChild(c);}};_38c.empty=function empty(node){_3a1(dom.byId(node));};function _3a2(node,_3a3){if(node.firstChild){_3a1(node);}if(_3a3){has("ie")&&_3a3.canHaveChildren&&"removeNode" in node?node.removeNode(false):_3a3.removeChild(node);}};var _395=_38c.destroy=function _395(node){node=dom.byId(node);if(!node){return;}_3a2(node,node.parentNode);};});},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(lang,_3a4,dom){var _3a5="className";var cls,_3a6=/\s+/,a1=[""];function _3a7(s){if(typeof s=="string"||s instanceof String){if(s&&!_3a6.test(s)){a1[0]=s;return a1;}var a=s.split(_3a6);if(a.length&&!a[0]){a.shift();}if(a.length&&!a[a.length-1]){a.pop();}return a;}if(!s){return [];}return _3a4.filter(s,function(x){return x;});};var _3a8={};cls={contains:function containsClass(node,_3a9){return ((" "+dom.byId(node)[_3a5]+" ").indexOf(" "+_3a9+" ")>=0);},add:function addClass(node,_3aa){node=dom.byId(node);_3aa=_3a7(_3aa);var cls=node[_3a5],_3ab;cls=cls?" "+cls+" ":" ";_3ab=cls.length;for(var i=0,len=_3aa.length,c;i<len;++i){c=_3aa[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}if(_3ab<cls.length){node[_3a5]=cls.substr(1,cls.length-2);}},remove:function removeClass(node,_3ac){node=dom.byId(node);var cls;if(_3ac!==undefined){_3ac=_3a7(_3ac);cls=" "+node[_3a5]+" ";for(var i=0,len=_3ac.length;i<len;++i){cls=cls.replace(" "+_3ac[i]+" "," ");}cls=lang.trim(cls);}else{cls="";}if(node[_3a5]!=cls){node[_3a5]=cls;}},replace:function replaceClass(node,_3ad,_3ae){node=dom.byId(node);_3a8[_3a5]=node[_3a5];cls.remove(_3a8,_3ae);cls.add(_3a8,_3ad);if(node[_3a5]!==_3a8[_3a5]){node[_3a5]=_3a8[_3a5];}},toggle:function toggleClass(node,_3af,_3b0){node=dom.byId(node);if(_3b0===undefined){_3af=_3a7(_3af);for(var i=0,len=_3af.length,c;i<len;++i){c=_3af[i];cls[cls.contains(node,c)?"remove":"add"](node,c);}}else{cls[_3b0?"add":"remove"](node,_3af);}return _3b0;}};return cls;});},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(dojo,_3b1,_3b2){var _3b3=_3b1.NodeList,nlp=_3b3.prototype;nlp.connect=_3b3._adaptAsForEach(function(){return dojo.connect.apply(this,arguments);});nlp.coords=_3b3._adaptAsMap(dojo.coords);_3b3.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];_3b2.forEach(_3b3.events,function(evt){var _3b4="on"+evt;nlp[_3b4]=function(a,b){return this.connect(_3b4,a,b);};});dojo.NodeList=_3b3;return _3b3;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_3b5,lang,_3b6,_3b7){"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,_3b8=_3b5.forEach;var tnl=function(a,_3b9,_3ba){var _3bb=new (_3ba||this._NodeListCtor||nl)(a);return _3b9?_3bb._stash(_3b9):_3bb;};var _3bc=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 _3bd=function(f,o){return function(){this.forEach(_3bc(f,arguments,o));return this;};};var _3be=function(f,o){return function(){return this.map(_3bc(f,arguments,o));};};var _3bf=function(f,o){return function(){return this.filter(_3bc(f,arguments,o));};};var _3c0=function(f,g,o){return function(){var a=arguments,body=_3bc(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _3c1=function(_3c2){var _3c3=this instanceof nl&&has("array-extensible");if(typeof _3c2=="number"){_3c2=Array(_3c2);}var _3c4=(_3c2&&"length" in _3c2)?_3c2:arguments;if(_3c3||!_3c4.sort){var _3c5=_3c3?this:[],l=_3c5.length=_3c4.length;for(var i=0;i<l;i++){_3c5[i]=_3c4[i];}if(_3c3){return _3c5;}_3c4=_3c5;}lang._mixin(_3c4,nlp);_3c4._NodeListCtor=function(_3c6){return nl(_3c6);};return _3c4;};var nl=_3c1,nlp=nl.prototype=has("array-extensible")?[]:{};nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_3be;nl._adaptAsForEach=_3bd;nl._adaptAsFilter=_3bf;nl._adaptWithCondition=_3c0;_3b8(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});_3b8(["indexOf","lastIndexOf","every","some"],function(name){var f=_3b5[name];nlp[name]=function(){return f.apply(dojo,[this].concat(aps.call(arguments,0)));};});lang.extend(_3c1,{constructor:nl,_NodeListCtor:nl,toString:function(){return this.join(",");},_stash:function(_3c7){this._parent=_3c7;return this;},on:function(_3c8,_3c9){var _3ca=this.map(function(node){return on(node,_3c8,_3c9);});_3ca.remove=function(){for(var i=0;i<_3ca.length;i++){_3ca[i].remove();}};return _3ca;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor(0);}},concat:function(item){var t=aps.call(this,0),m=_3b5.map(arguments,function(a){return aps.call(a,0);});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(_3b5.map(this,func,obj),this);},forEach:function(_3cb,_3cc){_3b8(this,_3cb,_3cc);return this;},filter:function(_3cd){var a=arguments,_3ce=this,_3cf=0;if(typeof _3cd=="string"){_3ce=_3d0._filterResult(this,a[0]);if(a.length==1){return _3ce._stash(this);}_3cf=1;}return this._wrap(_3b5.filter(_3ce,a[_3cf],a[_3cf+1]),this);},instantiate:function(_3d1,_3d2){var c=lang.isFunction(_3d1)?_3d1:lang.getObject(_3d1);_3d2=_3d2||{};return this.forEach(function(node){new c(_3d2,node);});},at:function(){var t=new this._NodeListCtor(0);_3b8(arguments,function(i){if(i<0){i=this.length+i;}if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});function _3d3(_3d4,_3d5){var _3d6=function(_3d7,root){if(typeof root=="string"){root=dom.byId(root);if(!root){return new _3d5([]);}}var _3d8=typeof _3d7=="string"?_3d4(_3d7,root):_3d7?(_3d7.end&&_3d7.on)?_3d7:[_3d7]:[];if(_3d8.end&&_3d8.on){return _3d8;}return new _3d5(_3d8);};_3d6.matches=_3d4.match||function(node,_3d9,root){return _3d6.filter([node],_3d9,root).length>0;};_3d6.filter=_3d4.filter||function(_3da,_3db,root){return _3d6(_3db,root).filter(function(node){return _3b5.indexOf(_3da,node)>-1;});};if(typeof _3d4!="function"){var _3dc=_3d4.search;_3d4=function(_3dd,root){return _3dc(root||document,_3dd);};}return _3d6;};var _3d0=_3d3(_3b7,_3c1);dojo.query=_3d3(_3b7,function(_3de){return _3c1(_3de);});_3d0.load=function(id,_3df,_3e0){_3b6.load(id,_3df,function(_3e1){_3e0(_3d3(_3e1,_3c1));});};dojo._filterQueryResult=_3d0._filterResult=function(_3e2,_3e3,root){return new _3c1(_3d0.filter(_3e2,_3e3,root));};dojo.NodeList=_3d0.NodeList=_3c1;return _3d0;});},"dojo/selector/_loader":function(){define(["../has","require"],function(has,_3e4){"use strict";if(typeof document!=="undefined"){var _3e5=document.createElement("div");has.add("dom-qsa2.1",!!_3e5.querySelectorAll);has.add("dom-qsa3",function(){try{_3e5.innerHTML="<p class='TEST'></p>";return _3e5.querySelectorAll(".TEST:empty").length==1;}catch(e){}});}var _3e6;var acme="./acme",lite="./lite";return {load:function(id,_3e7,_3e8,_3e9){if(_3e9&&_3e9.isBuild){_3e8();return;}var req=_3e4;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=_3e7)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var _3ea=true;}if(_3ea&&(has("dom-compliant-qsa")||_3e6)){return _3e8(_3e6);}req([id],function(_3eb){if(id!="./lite"){_3e6=_3eb;}_3e8(_3eb);});}};});},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_3ec,_3ed,lang,_3ee,_3ef,_3f0,_3f1,_3f2){var _3f3=function(a){return a.length==1&&(typeof a[0]=="string");};var _3f4=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};var _3f5=_3ec.NodeList,awc=_3f5._adaptWithCondition,aafe=_3f5._adaptAsForEach,aam=_3f5._adaptAsMap;function _3f6(_3f7){return function(node,name,_3f8){if(arguments.length==2){return _3f7[typeof name=="string"?"get":"set"](node,name);}return _3f7.set(node,name,_3f8);};};lang.extend(_3f5,{_normalize:function(_3f9,_3fa){var _3fb=_3f9.parse===true;if(typeof _3f9.template=="string"){var _3fc=_3f9.templateFunc||(dojo.string&&dojo.string.substitute);_3f9=_3fc?_3fc(_3f9.template,_3f9):_3f9;}var type=(typeof _3f9);if(type=="string"||type=="number"){_3f9=_3ef.toDom(_3f9,(_3fa&&_3fa.ownerDocument));if(_3f9.nodeType==11){_3f9=lang._toArray(_3f9.childNodes);}else{_3f9=[_3f9];}}else{if(!lang.isArrayLike(_3f9)){_3f9=[_3f9];}else{if(!lang.isArray(_3f9)){_3f9=lang._toArray(_3f9);}}}if(_3fb){_3f9._runParse=true;}return _3f9;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_3fd,_3fe,_3ff){if(_3fd.nodeType!=1&&_3fe=="only"){return;}var _400=_3fd,_401;var _402=ary.length;for(var i=_402-1;i>=0;i--){var node=(_3ff?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_401){_401=_400.ownerDocument.createElement("div");}_401.appendChild(node);dojo.parser.parse(_401);node=_401.firstChild;while(_401.firstChild){_401.removeChild(_401.firstChild);}}if(i==_402-1){_3ef.place(node,_400,_3fe);}else{_400.parentNode.insertBefore(node,_400);}_400=node;}},position:aam(_3f0.position),attr:awc(_3f6(_3f1),_3f3),style:awc(_3f6(_3f2),_3f3),addClass:aafe(_3ee.add),removeClass:aafe(_3ee.remove),toggleClass:aafe(_3ee.toggle),replaceClass:aafe(_3ee.replace),empty:aafe(_3ef.empty),removeAttr:aafe(_3f1.remove),marginBox:aam(_3f0.getMarginBox),place:function(_403,_404){var item=_3ec(_403)[0];return this.forEach(function(node){_3ef.place(node,item,_404);});},orphan:function(_405){return (_405?_3ec._filterResult(this,_405):this).forEach(_3f4);},adopt:function(_406,_407){return _3ec(_406).place(this[0],_407)._stash(this);},query:function(_408){if(!_408){return this;}var ret=new _3f5;this.map(function(node){_3ec(_408,node).forEach(function(_409){if(_409!==undefined){ret.push(_409);}});});return ret._stash(this);},filter:function(_40a){var a=arguments,_40b=this,_40c=0;if(typeof _40a=="string"){_40b=_3ec._filterResult(this,a[0]);if(a.length==1){return _40b._stash(this);}_40c=1;}return this._wrap(_3ed.filter(_40b,a[_40c],a[_40c+1]),this);},addContent:function(_40d,_40e){_40d=this._normalize(_40d,this[0]);for(var i=0,node;(node=this[i]);i++){if(_40d.length){this._place(_40d,node,_40e,i>0);}else{_3ef.empty(node);}}return this;}});return _3f5;});},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],function(dojo,has,_40f,ioq,dom,_410,_411,_412,json,lang,_413,on,_414,_415,_416,util){dojo._xhrObj=_416._create;var cfg=dojo.config;dojo.objectToQuery=ioq.objectToQuery;dojo.queryToObject=ioq.queryToObject;dojo.fieldToObject=_410.fieldToObject;dojo.formToObject=_410.toObject;dojo.formToQuery=_410.toQuery;dojo.formToJson=_410.toJson;dojo._blockAsync=false;var _417=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(!_412.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 _418=xhr.responseText;var _419=_418.indexOf("/*");var _41a=_418.lastIndexOf("*/");if(_419==-1||_41a==-1){throw new Error("JSON was not comment filtered");}return json.fromJson(_418.substring(_419+2,_41a));},"javascript":function(xhr){return dojo.eval(xhr.responseText);},"xml":function(xhr){var _41b=xhr.responseXML;if(_41b&&has("dom-qsa2.1")&&!_41b.querySelectorAll&&has("dom-parser")){_41b=new DOMParser().parseFromString(xhr.responseText,"application/xml");}if(has("ie")){if((!_41b||!_41b.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_413.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_41b=dom;}catch(e){return false;}return true;});}}return _41b;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _417["json-comment-filtered"](xhr);}else{return _417["json"](xhr);}}};dojo._ioSetArgs=function(args,_41c,_41d,_41e){var _41f={args:args,url:args.url};var _420=null;if(args.form){var form=dom.byId(args.form);var _421=form.getAttributeNode("action");_41f.url=_41f.url||(_421?_421.value:(dojo.doc?dojo.doc.URL:null));_420=_410.toObject(form);}var _422=[{}];if(_420){_422.push(_420);}if(args.content){_422.push(args.content);}if(args.preventCache){_422.push({"dojo.preventCache":new Date().valueOf()});}_41f.query=ioq.objectToQuery(lang.mixin.apply(null,_422));_41f.handleAs=args.handleAs||"text";var d=new _411(function(dfd){dfd.canceled=true;_41c&&_41c(dfd);var err=dfd.ioArgs.error;if(!err){err=new Error("request cancelled");err.dojoType="cancel";dfd.ioArgs.error=err;}return err;});d.addCallback(_41d);var ld=args.load;if(ld&&lang.isFunction(ld)){d.addCallback(function(_423){return ld.call(args,_423,_41f);});}var err=args.error;if(err&&lang.isFunction(err)){d.addErrback(function(_424){return err.call(args,_424,_41f);});}var _425=args.handle;if(_425&&lang.isFunction(_425)){d.addBoth(function(_426){return _425.call(args,_426,_41f);});}d.addErrback(function(_427){return _41e(_427,d);});if(cfg.ioPublish&&dojo.publish&&_41f.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=_41f;return d;};var _428=function(dfd){var ret=_417[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _429=function(_42a,dfd){if(!dfd.ioArgs.args.failOk){console.error(_42a);}return _42a;};var _42b=function(dfd){if(_42c<=0){_42c=0;if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){dojo.publish("/dojo/io/stop");}}};var _42c=0;_414.after(_415,"_onAction",function(){_42c-=1;});_414.after(_415,"_onInFlight",_42b);dojo._ioCancelAll=_415.cancelAll;dojo._ioNotifyStart=function(dfd){if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_42c){dojo.publish("/dojo/io/start");}_42c+=1;dojo.publish("/dojo/io/send",[dfd]);}};dojo._ioWatch=function(dfd,_42d,_42e,_42f){var args=dfd.ioArgs.options=dfd.ioArgs.args;lang.mixin(dfd,{response:dfd.ioArgs,isValid:function(_430){return _42d(dfd);},isReady:function(_431){return _42e(dfd);},handleResponse:function(_432){return _42f(dfd);}});_415(dfd);_42b(dfd);};var _433="application/x-www-form-urlencoded";dojo._ioAddQueryToUrl=function(_434){if(_434.query.length){_434.url+=(_434.url.indexOf("?")==-1?"?":"&")+_434.query;_434.query=null;}};dojo.xhr=function(_435,args,_436){var rDfd;var dfd=dojo._ioSetArgs(args,function(dfd){rDfd&&rDfd.cancel();},_428,_429);var _437=dfd.ioArgs;if("postData" in args){_437.query=args.postData;}else{if("putData" in args){_437.query=args.putData;}else{if("rawBody" in args){_437.query=args.rawBody;}else{if((arguments.length>2&&!_436)||"POST|PUT".indexOf(_435.toUpperCase())===-1){dojo._ioAddQueryToUrl(_437);}}}}var _438={method:_435,handleAs:"text",timeout:args.timeout,withCredentials:args.withCredentials,ioArgs:_437};if(typeof args.headers!=="undefined"){_438.headers=args.headers;}if(typeof args.contentType!=="undefined"){if(!_438.headers){_438.headers={};}_438.headers["Content-Type"]=args.contentType;}if(typeof _437.query!=="undefined"){_438.data=_437.query;}if(typeof args.sync!=="undefined"){_438.sync=args.sync;}dojo._ioNotifyStart(dfd);try{rDfd=_416(_437.url,_438,true);}catch(e){dfd.cancel();return dfd;}dfd.ioArgs.xhr=rDfd.response.xhr;rDfd.then(function(){dfd.resolve(dfd);}).otherwise(function(_439){_437.error=_439;if(_439.response){_439.status=_439.response.status;_439.responseText=_439.response.text;_439.xhr=_439.response.xhr;}dfd.reject(_439);});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(x){return util.checkStatus(x.status);};dojo._getText=function(url){var _43a;dojo.xhrGet({url:url,sync:true,load:function(text){_43a=text;}});return _43a;};lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_410.fieldToObject,formToObject:_410.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_410.toQuery,formToJson:_410.toJson,queryToObject:ioq.queryToObject,contentHandlers:_417,_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/io-query":function(){define(["./_base/lang"],function(lang){var _43b={};return {objectToQuery:function objectToQuery(map){var enc=encodeURIComponent,_43c=[];for(var name in map){var _43d=map[name];if(_43d!=_43b[name]){var _43e=enc(name)+"=";if(lang.isArray(_43d)){for(var i=0,l=_43d.length;i<l;++i){_43c.push(_43e+enc(_43d[i]));}}else{_43c.push(_43e+enc(_43d));}}}return _43c.join("&");},queryToObject:function queryToObject(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;}};});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _43f(obj,name,_440){if(_440===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_440];}else{if(lang.isArray(val)){val.push(_440);}else{obj[name]=_440;}}};var _441="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_442){var ret=null;_442=dom.byId(_442);if(_442){var _443=_442.name,type=(_442.type||"").toLowerCase();if(_443&&type&&!_442.disabled){if(type=="radio"||type=="checkbox"){if(_442.checked){ret=_442.value;}}else{if(_442.multiple){ret=[];var _444=[_442.firstChild];while(_444.length){for(var node=_444.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_444.push(node.nextSibling);}if(node.firstChild){_444.push(node.firstChild);}break;}}}}else{ret=_442.value;}}}}return ret;},toObject:function formToObject(_445){var ret={},_446=dom.byId(_445).elements;for(var i=0,l=_446.length;i<l;++i){var item=_446[i],_447=item.name,type=(item.type||"").toLowerCase();if(_447&&type&&_441.indexOf(type)<0&&!item.disabled){_43f(ret,_447,form.fieldToObject(item));if(type=="image"){ret[_447+".x"]=ret[_447+".y"]=ret[_447].x=ret[_447].y=0;}}}return ret;},toQuery:function formToQuery(_448){return ioq.objectToQuery(form.toObject(_448));},toJson:function formToJson(_449,_44a){return json.stringify(form.toObject(_449),null,_44a?4:0);}};return form;});},"dojo/request/watch":function(){define(["./util","../errors/RequestTimeoutError","../errors/CancelError","../_base/array","../_base/window","../has!host-browser?dom-addeventlistener?:../on:"],function(util,_44b,_44c,_44d,win,on){var _44e=null,_44f=[];function _450(){var now=+(new Date);for(var i=0,dfd;i<_44f.length&&(dfd=_44f[i]);i++){var _451=dfd.response,_452=_451.options;if((dfd.isCanceled&&dfd.isCanceled())||(dfd.isValid&&!dfd.isValid(_451))){_44f.splice(i--,1);_453._onAction&&_453._onAction();}else{if(dfd.isReady&&dfd.isReady(_451)){_44f.splice(i--,1);dfd.handleResponse(_451);_453._onAction&&_453._onAction();}else{if(dfd.startTime){if(dfd.startTime+(_452.timeout||0)<now){_44f.splice(i--,1);dfd.cancel(new _44b("Timeout exceeded",_451));_453._onAction&&_453._onAction();}}}}}_453._onInFlight&&_453._onInFlight(dfd);if(!_44f.length){clearInterval(_44e);_44e=null;}};function _453(dfd){if(dfd.response.options.timeout){dfd.startTime=+(new Date);}if(dfd.isFulfilled()){return;}_44f.push(dfd);if(!_44e){_44e=setInterval(_450,50);}if(dfd.response.options.sync){_450();}};_453.cancelAll=function cancelAll(){try{_44d.forEach(_44f,function(dfd){try{dfd.cancel(new _44c("All requests canceled."));}catch(e){}});}catch(e){}};if(win&&on&&win.doc.attachEvent){on(win.global,"unload",function(){_453.cancelAll();});}return _453;});},"dojo/request/util":function(){define(["exports","../errors/RequestError","../errors/CancelError","../Deferred","../io-query","../_base/array","../_base/lang","../promise/Promise"],function(_454,_455,_456,_457,_458,_459,lang,_45a){_454.deepCopy=function deepCopy(_45b,_45c){for(var name in _45c){var tval=_45b[name],sval=_45c[name];if(tval!==sval){if(tval&&typeof tval==="object"&&sval&&typeof sval==="object"){_454.deepCopy(tval,sval);}else{_45b[name]=sval;}}}return _45b;};_454.deepCreate=function deepCreate(_45d,_45e){_45e=_45e||{};var _45f=lang.delegate(_45d),name,_460;for(name in _45d){_460=_45d[name];if(_460&&typeof _460==="object"){_45f[name]=_454.deepCreate(_460,_45e[name]);}}return _454.deepCopy(_45f,_45e);};var _461=Object.freeze||function(obj){return obj;};function _462(_463){return _461(_463);};function _464(_465){return _465.data!==undefined?_465.data:_465.text;};_454.deferred=function deferred(_466,_467,_468,_469,_46a,last){var def=new _457(function(_46b){_467&&_467(def,_466);if(!_46b||!(_46b instanceof _455)&&!(_46b instanceof _456)){return new _456("Request canceled",_466);}return _46b;});def.response=_466;def.isValid=_468;def.isReady=_469;def.handleResponse=_46a;function _46c(_46d){_46d.response=_466;throw _46d;};var _46e=def.then(_462).otherwise(_46c);if(_454.notify){_46e.then(lang.hitch(_454.notify,"emit","load"),lang.hitch(_454.notify,"emit","error"));}var _46f=_46e.then(_464);var _470=new _45a();for(var prop in _46f){if(_46f.hasOwnProperty(prop)){_470[prop]=_46f[prop];}}_470.response=_46e;_461(_470);if(last){def.then(function(_471){last.call(def,_471);},function(_472){last.call(def,_466,_472);});}def.promise=_470;def.then=_470.then;return def;};_454.addCommonMethods=function addCommonMethods(_473,_474){_459.forEach(_474||["GET","POST","PUT","DELETE"],function(_475){_473[(_475==="DELETE"?"DEL":_475).toLowerCase()]=function(url,_476){_476=lang.delegate(_476||{});_476.method=_475;return _473(url,_476);};});};_454.parseArgs=function parseArgs(url,_477,_478){var data=_477.data,_479=_477.query;if(data&&!_478){if(typeof data==="object"&&!(data instanceof ArrayBuffer||data instanceof Blob)){_477.data=_458.objectToQuery(data);}}if(_479){if(typeof _479==="object"){_479=_458.objectToQuery(_479);}if(_477.preventCache){_479+=(_479?"&":"")+"request.preventCache="+(+(new Date));}}else{if(_477.preventCache){_479="request.preventCache="+(+(new Date));}}if(url&&_479){url+=(~url.indexOf("?")?"&":"?")+_479;}return {url:url,options:_477,getHeader:function(_47a){return null;}};};_454.checkStatus=function(stat){stat=stat||0;return (stat>=200&&stat<300)||stat===304||stat===1223||!stat;};});},"dojo/errors/RequestError":function(){define(["./create"],function(_47b){return _47b("RequestError",function(_47c,_47d){this.response=_47d;});});},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(_47e,_47f){return _47e("RequestTimeoutError",null,_47f,{dojoType:"timeout"});});},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(_480,_481,_482,util,has){has.add("native-xhr",function(){return typeof XMLHttpRequest!=="undefined";});has.add("dojo-force-activex-xhr",function(){return has("activex")&&window.location.protocol==="file:";});has.add("native-xhr2",function(){if(!has("native-xhr")||has("dojo-force-activex-xhr")){return;}var x=new XMLHttpRequest();return typeof x["addEventListener"]!=="undefined"&&(typeof opera==="undefined"||typeof x["upload"]!=="undefined");});has.add("native-formdata",function(){return typeof FormData!=="undefined";});has.add("native-response-type",function(){return has("native-xhr")&&typeof new XMLHttpRequest().responseType!=="undefined";});has.add("native-xhr2-blob",function(){if(!has("native-response-type")){return;}var x=new XMLHttpRequest();x.open("GET","/",true);x.responseType="blob";var _483=x.responseType;x.abort();return _483==="blob";});var _484={"blob":has("native-xhr2-blob")?"blob":"arraybuffer","document":"document","arraybuffer":"arraybuffer"};function _485(_486,_487){var _488=_486.xhr;_486.status=_486.xhr.status;try{_486.text=_488.responseText;}catch(e){}if(_486.options.handleAs==="xml"){_486.data=_488.responseXML;}if(!_487){try{_482(_486);}catch(e){_487=e;}}var _489;if(_487){this.reject(_487);}else{try{_482(_486);}catch(e){_489=e;}if(util.checkStatus(_488.status)){if(!_489){this.resolve(_486);}else{this.reject(_489);}}else{if(!_489){_487=new _480("Unable to load "+_486.url+" status: "+_488.status,_486);this.reject(_487);}else{_487=new _480("Unable to load "+_486.url+" status: "+_488.status+" and an error in handleAs: transformation of response",_486);this.reject(_487);}}}};var _48a,_48b,_48c,_48d;if(has("native-xhr2")){_48a=function(_48e){return !this.isFulfilled();};_48d=function(dfd,_48f){_48f.xhr.abort();};_48c=function(_490,dfd,_491){function _492(evt){dfd.handleResponse(_491);};function _493(evt){var _494=evt.target;var _495=new _480("Unable to load "+_491.url+" status: "+_494.status,_491);dfd.handleResponse(_491,_495);};function _496(evt){if(evt.lengthComputable){_491.loaded=evt.loaded;_491.total=evt.total;dfd.progress(_491);}else{if(_491.xhr.readyState===3){_491.loaded=("loaded" in evt)?evt.loaded:evt.position;dfd.progress(_491);}}};_490.addEventListener("load",_492,false);_490.addEventListener("error",_493,false);_490.addEventListener("progress",_496,false);return function(){_490.removeEventListener("load",_492,false);_490.removeEventListener("error",_493,false);_490.removeEventListener("progress",_496,false);_490=null;};};}else{_48a=function(_497){return _497.xhr.readyState;};_48b=function(_498){return 4===_498.xhr.readyState;};_48d=function(dfd,_499){var xhr=_499.xhr;var _49a=typeof xhr.abort;if(_49a==="function"||_49a==="object"||_49a==="unknown"){xhr.abort();}};}function _49b(_49c){return this.xhr.getResponseHeader(_49c);};var _49d,_49e={data:null,query:null,sync:false,method:"GET"};function xhr(url,_49f,_4a0){var _4a1=has("native-formdata")&&_49f&&_49f.data&&_49f.data instanceof FormData;var _4a2=util.parseArgs(url,util.deepCreate(_49e,_49f),_4a1);url=_4a2.url;_49f=_4a2.options;var _4a3,last=function(){_4a3&&_4a3();};var dfd=util.deferred(_4a2,_48d,_48a,_48b,_485,last);var _4a4=_4a2.xhr=xhr._create();if(!_4a4){dfd.cancel(new _480("XHR was not created"));return _4a0?dfd:dfd.promise;}_4a2.getHeader=_49b;if(_48c){_4a3=_48c(_4a4,dfd,_4a2);}var data=typeof (_49f.data)==="undefined"?null:_49f.data,_4a5=!_49f.sync,_4a6=_49f.method;try{_4a4.open(_4a6,url,_4a5,_49f.user||_49d,_49f.password||_49d);if(_49f.withCredentials){_4a4.withCredentials=_49f.withCredentials;}if(has("native-response-type")&&_49f.handleAs in _484){_4a4.responseType=_484[_49f.handleAs];}var _4a7=_49f.headers,_4a8=_4a1?false:"application/x-www-form-urlencoded";if(_4a7){for(var hdr in _4a7){if(hdr.toLowerCase()==="content-type"){_4a8=_4a7[hdr];}else{if(_4a7[hdr]){_4a4.setRequestHeader(hdr,_4a7[hdr]);}}}}if(_4a8&&_4a8!==false){_4a4.setRequestHeader("Content-Type",_4a8);}if(!_4a7||!("X-Requested-With" in _4a7)){_4a4.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(util.notify){util.notify.emit("send",_4a2,dfd.promise.cancel);}_4a4.send(data);}catch(e){dfd.reject(e);}_481(dfd);_4a4=null;return _4a0?dfd:dfd.promise;};xhr._create=function(){throw new Error("XMLHTTP not available");};if(has("native-xhr")&&!has("dojo-force-activex-xhr")){xhr._create=function(){return new XMLHttpRequest();};}else{if(has("activex")){try{new ActiveXObject("Msxml2.XMLHTTP");xhr._create=function(){return new ActiveXObject("Msxml2.XMLHTTP");};}catch(e){try{new ActiveXObject("Microsoft.XMLHTTP");xhr._create=function(){return new ActiveXObject("Microsoft.XMLHTTP");};}catch(e){}}}}util.addCommonMethods(xhr);return xhr;});},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(JSON,_4a9,_4aa,has){has.add("activex",typeof ActiveXObject!=="undefined");has.add("dom-parser",function(_4ab){return "DOMParser" in _4ab;});var _4ac;if(has("activex")){var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];var _4ad;_4ac=function(_4ae){var _4af=_4ae.data;var text=_4ae.text;if(_4af&&has("dom-qsa2.1")&&!_4af.querySelectorAll&&has("dom-parser")){_4af=new DOMParser().parseFromString(text,"application/xml");}function _4b0(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(text);_4af=dom;_4ad=p;}catch(e){return false;}return true;};if(!_4af||!_4af.documentElement){if(!_4ad||!_4b0(_4ad)){_4aa.some(dp,_4b0);}}return _4af;};}var _4b1=function(_4b2){if(!has("native-xhr2-blob")&&_4b2.options.handleAs==="blob"&&typeof Blob!=="undefined"){return new Blob([_4b2.xhr.response],{type:_4b2.xhr.getResponseHeader("Content-Type")});}return _4b2.xhr.response;};var _4b3={"javascript":function(_4b4){return _4a9.eval(_4b4.text||"");},"json":function(_4b5){return JSON.parse(_4b5.text||null);},"xml":_4ac,"blob":_4b1,"arraybuffer":_4b1,"document":_4b1};function _4b6(_4b7){var _4b8=_4b3[_4b7.options.handleAs];_4b7.data=_4b8?_4b8(_4b7):(_4b7.data||_4b7.text);return _4b7;};_4b6.register=function(name,_4b9){_4b3[name]=_4b9;};return _4b6;});},"dojo/_base/fx":function(){define(["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(dojo,_4ba,lang,_4bb,_4bc,_4bd,has,dom,_4be){var _4bf=lang.mixin;var _4c0={};var _4c1=_4c0._Line=function(_4c2,end){this.start=_4c2;this.end=end;};_4c1.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};var _4c3=_4c0.Animation=function(args){_4bf(this,args);if(lang.isArray(this.curve)){this.curve=new _4c1(this.curve[0],this.curve[1]);}};_4c3.prototype=new _4bb();lang.extend(_4c3,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _4c4=this._percent,_4c5=this.easing;return _4c5?_4c5(_4c4):_4c4;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(_4ba.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(_4c6,_4c7){var _4c8=this;if(_4c8._delayTimer){_4c8._clearTimer();}if(_4c7){_4c8._stopTimer();_4c8._active=_4c8._paused=false;_4c8._percent=0;}else{if(_4c8._active&&!_4c8._paused){return _4c8;}}_4c8._fire("beforeBegin",[_4c8.node]);var de=_4c6||_4c8.delay,_4c9=lang.hitch(_4c8,"_play",_4c7);if(de>0){_4c8._delayTimer=setTimeout(_4c9,de);return _4c8;}_4c9();return _4c8;},_play:function(_4ca){var _4cb=this;if(_4cb._delayTimer){_4cb._clearTimer();}_4cb._startTime=new Date().valueOf();if(_4cb._paused){_4cb._startTime-=_4cb.duration*_4cb._percent;}_4cb._active=true;_4cb._paused=false;var _4cc=_4cb.curve.getValue(_4cb._getStep());if(!_4cb._percent){if(!_4cb._startRepeatCount){_4cb._startRepeatCount=_4cb.repeat;}_4cb._fire("onBegin",[_4cc]);}_4cb._fire("onPlay",[_4cc]);_4cb._cycle();return _4cb;},pause:function(){var _4cd=this;if(_4cd._delayTimer){_4cd._clearTimer();}_4cd._stopTimer();if(!_4cd._active){return _4cd;}_4cd._paused=true;_4cd._fire("onPause",[_4cd.curve.getValue(_4cd._getStep())]);return _4cd;},gotoPercent:function(_4ce,_4cf){var _4d0=this;_4d0._stopTimer();_4d0._active=_4d0._paused=true;_4d0._percent=_4ce;if(_4cf){_4d0.play();}return _4d0;},stop:function(_4d1){var _4d2=this;if(_4d2._delayTimer){_4d2._clearTimer();}if(!_4d2._timer){return _4d2;}_4d2._stopTimer();if(_4d1){_4d2._percent=1;}_4d2._fire("onStop",[_4d2.curve.getValue(_4d2._getStep())]);_4d2._active=_4d2._paused=false;return _4d2;},destroy:function(){this.stop();},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _4d3=this;if(_4d3._active){var curr=new Date().valueOf();var step=_4d3.duration===0?1:(curr-_4d3._startTime)/(_4d3.duration);if(step>=1){step=1;}_4d3._percent=step;if(_4d3.easing){step=_4d3.easing(step);}_4d3._fire("onAnimate",[_4d3.curve.getValue(step)]);if(_4d3._percent<1){_4d3._startTimer();}else{_4d3._active=false;if(_4d3.repeat>0){_4d3.repeat--;_4d3.play(null,true);}else{if(_4d3.repeat==-1){_4d3.play(null,true);}else{if(_4d3._startRepeatCount){_4d3.repeat=_4d3._startRepeatCount;_4d3._startRepeatCount=0;}}}_4d3._percent=0;_4d3._fire("onEnd",[_4d3.node]);!_4d3.repeat&&_4d3._stopTimer();}}return _4d3;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_4d4=null,_4d5={run:function(){}};lang.extend(_4c3,{_startTimer:function(){if(!this._timer){this._timer=_4bd.after(_4d5,"run",lang.hitch(this,"_cycle"),true);ctr++;}if(!_4d4){_4d4=setInterval(lang.hitch(_4d5,"run"),this.rate);}},_stopTimer:function(){if(this._timer){this._timer.remove();this._timer=null;ctr--;}if(ctr<=0){clearInterval(_4d4);_4d4=null;ctr=0;}}});var _4d6=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_4be.get(node,"width")=="auto"){ns.width="auto";}}:function(){};_4c0._fade=function(args){args.node=dom.byId(args.node);var _4d7=_4bf({properties:{}},args),_4d8=(_4d7.properties.opacity={});_4d8.start=!("start" in _4d7)?function(){return +_4be.get(_4d7.node,"opacity")||0;}:_4d7.start;_4d8.end=_4d7.end;var anim=_4c0.animateProperty(_4d7);_4bd.after(anim,"beforeBegin",lang.partial(_4d6,_4d7.node),true);return anim;};_4c0.fadeIn=function(args){return _4c0._fade(_4bf({end:1},args));};_4c0.fadeOut=function(args){return _4c0._fade(_4bf({end:0},args));};_4c0._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _4d9=function(_4da){this._properties=_4da;for(var p in _4da){var prop=_4da[p];if(prop.start instanceof _4bc){prop.tempColor=new _4bc();}}};_4d9.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_4db=prop.start;if(_4db instanceof _4bc){ret[p]=_4bc.blendColors(_4db,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_4db)){ret[p]=((prop.end-_4db)*r)+_4db+(p!="opacity"?prop.units||"px":0);}}}return ret;};_4c0.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new _4c3(args);_4bd.after(anim,"beforeBegin",lang.hitch(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]=_4bf({},(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 _4dc=(p.toLowerCase().indexOf("color")>=0);function _4dd(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_4be.get(node,p);return (p=="opacity")?+v:(_4dc?v:parseFloat(v));};if(!("end" in prop)){prop.end=_4dd(n,p);}else{if(!("start" in prop)){prop.start=_4dd(n,p);}}if(_4dc){prop.start=new _4bc(prop.start);prop.end=new _4bc(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _4d9(pm);}),true);_4bd.after(anim,"onAnimate",lang.hitch(_4be,"set",anim.node),true);return anim;};_4c0.anim=function(node,_4de,_4df,_4e0,_4e1,_4e2){return _4c0.animateProperty({node:node,duration:_4df||_4c3.prototype.duration,properties:_4de,easing:_4e0,onEnd:_4e1}).play(_4e2||0);};if(1){_4bf(dojo,_4c0);dojo._Animation=_4c3;}return _4c0;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","../json","./lang","./array"],function(dojo,has,_4e3,_4e4,json,lang,_4e5){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}1||has.add("dojo-fast-sync-require",1);var _4e6=function(id){return {src:_4e4.id,id:id};},_4e7=function(name){return name.replace(/\./g,"/");},_4e8=/\/\/>>built/,_4e9=[],_4ea=[],_4eb=function(mid,_4ec,_4ed){_4e9.push(_4ed);_4e5.forEach(mid.split(","),function(mid){var _4ee=_4ef(mid,_4ec.module);_4ea.push(_4ee);_4f0(_4ee);});_4f1();},_4f1=(1?function(){var _4f2,mid;for(mid in _4f3){_4f2=_4f3[mid];if(_4f2.noReqPluginCheck===undefined){_4f2.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(!_4f2.executed&&!_4f2.noReqPluginCheck&&_4f2.injected==_4f4){return;}}_4f5(function(){var _4f6=_4e9;_4e9=[];_4e5.forEach(_4f6,function(cb){cb(1);});});}:(function(){var _4f7,_4f8=function(m){_4f7[m.mid]=1;for(var t,_4f9,deps=m.deps||[],i=0;i<deps.length;i++){_4f9=deps[i];if(!(t=_4f7[_4f9.mid])){if(t===0||!_4f8(_4f9)){_4f7[m.mid]=0;return false;}}}return true;};return function(){var _4fa,mid;_4f7={};for(mid in _4f3){_4fa=_4f3[mid];if(_4fa.executed||_4fa.noReqPluginCheck){_4f7[mid]=1;}else{if(_4fa.noReqPluginCheck!==0){_4fa.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(_4fa.noReqPluginCheck){_4f7[mid]=1;}else{if(_4fa.injected!==_526){_4f7[mid]=0;}}}}for(var t,i=0,end=_4ea.length;i<end;i++){_4fa=_4ea[i];if(!(t=_4f7[_4fa.mid])){if(t===0||!_4f8(_4fa)){return;}}}_4f5(function(){var _4fb=_4e9;_4e9=[];_4e5.forEach(_4fb,function(cb){cb(1);});});};})()),_4fc=function(mid,_4fd,_4fe){_4fd([mid],function(_4ff){_4fd(_4ff.names,function(){for(var _500="",args=[],i=0;i<arguments.length;i++){_500+="var "+_4ff.names[i]+"= arguments["+i+"]; ";args.push(arguments[i]);}eval(_500);var _501=_4fd.module,_502=[],_503,_504={provide:function(_505){_505=_4e7(_505);var _506=_4ef(_505,_501);if(_506!==_501){_52c(_506);}},require:function(_507,_508){_507=_4e7(_507);_508&&(_4ef(_507,_501).result=_527);_502.push(_507);},requireLocalization:function(_509,_50a,_50b){if(!_503){_503=["dojo/i18n"];}_50b=(_50b||dojo.locale).toLowerCase();_509=_4e7(_509)+"/nls/"+(/root/i.test(_50b)?"":_50b+"/")+_4e7(_50a);if(_4ef(_509,_501).isXd){_503.push("dojo/i18n!"+_509);}},loadInit:function(f){f();}},hold={},p;try{for(p in _504){hold[p]=dojo[p];dojo[p]=_504[p];}_4ff.def.apply(null,args);}catch(e){_50c("error",[_4e6("failedDojoLoadInit"),e]);}finally{for(p in _504){dojo[p]=hold[p];}}if(_503){_502=_502.concat(_503);}if(_502.length){_4eb(_502.join(","),_4fd,_4fe);}else{_4fe();}});});},_50d=function(text,_50e,_50f){var _510=/\(|\)/g,_511=1,_512;_510.lastIndex=_50e;while((_512=_510.exec(text))){if(_512[0]==")"){_511-=1;}else{_511+=1;}if(_511==0){break;}}if(_511!=0){throw "unmatched paren around character "+_510.lastIndex+" in: "+text;}return [dojo.trim(text.substring(_50f,_510.lastIndex))+";\n",_510.lastIndex];},_513=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,_514=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,_515=/(^|\s)(require|define)\s*\(/m,_516=function(text,_517){var _518,_519,_51a,_51b,_51c=[],_51d=[],_51e=[];_517=_517||text.replace(_513,function(_51f){_514.lastIndex=_515.lastIndex=0;return (_514.test(_51f)||_515.test(_51f))?"":_51f;});while((_518=_514.exec(_517))){_519=_514.lastIndex;_51a=_519-_518[0].length;_51b=_50d(_517,_519,_51a);if(_518[2]=="loadInit"){_51c.push(_51b[0]);}else{_51d.push(_51b[0]);}_514.lastIndex=_51b[1];}_51e=_51c.concat(_51d);if(_51e.length||!_515.test(_517)){return [text.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),_51e.join(""),_51e];}else{return 0;}},_520=function(_521,text){var _522,id,_523=[],_524=[];if(_4e8.test(text)||!(_522=_516(text))){return 0;}id=_521.mid+"-*loadInit";for(var p in _4ef("dojo",_521).result.scopeMap){_523.push(p);_524.push("\""+p+"\"");}return "// xdomain rewrite of "+_521.mid+"\n"+"define('"+id+"',{\n"+"\tnames:"+json.stringify(_523)+",\n"+"\tdef:function("+_523.join(",")+"){"+_522[1]+"}"+"});\n\n"+"define("+json.stringify(_523.concat(["dojo/loadInit!"+id]))+", function("+_523.join(",")+"){\n"+_522[0]+"});";},_525=_4e3.initSyncLoader(_4eb,_4f1,_520),sync=_525.sync,_4f4=_525.requested,_526=_525.arrived,_527=_525.nonmodule,_528=_525.executing,_529=_525.executed,_52a=_525.syncExecStack,_4f3=_525.modules,_52b=_525.execQ,_4ef=_525.getModule,_4f0=_525.injectModule,_52c=_525.setArrived,_50c=_525.signal,_52d=_525.finishExec,_52e=_525.execModule,_52f=_525.getLegacyMode,_4f5=_525.guardCheckComplete;_4eb=_525.dojoRequirePlugin;dojo.provide=function(mid){var _530=_52a[0],_531=lang.mixin(_4ef(_4e7(mid),_4e3.module),{executed:_528,result:lang.getObject(mid,true)});_52c(_531);if(_530){(_530.provides||(_530.provides=[])).push(function(){_531.result=lang.getObject(mid);delete _531.provides;_531.executed!==_529&&_52d(_531);});}return _531.result;};has.add("config-publishRequireResult",1,0,0);dojo.require=function(_532,_533){function _534(mid,_535){var _536=_4ef(_4e7(mid),_4e3.module);if(_52a.length&&_52a[0].finish){_52a[0].finish.push(mid);return undefined;}if(_536.executed){return _536.result;}_535&&(_536.result=_527);var _537=_52f();_4f0(_536);_537=_52f();if(_536.executed!==_529&&_536.injected===_526){_525.guardCheckComplete(function(){_52e(_536);});}if(_536.executed){return _536.result;}if(_537==sync){if(_536.cjs){_52b.unshift(_536);}else{_52a.length&&(_52a[0].finish=[mid]);}}else{_52b.push(_536);}return undefined;};var _538=_534(_532,_533);if(has("config-publishRequireResult")&&!lang.exists(_532)&&_538!==undefined){lang.setObject(_532,_538);}return _538;};dojo.loadInit=function(f){f();};dojo.registerModulePath=function(_539,_53a){var _53b={};_53b[_539.replace(/\./g,"/")]=_53a;_4e3({paths:_53b});};dojo.platformRequire=function(_53c){var _53d=(_53c.common||[]).concat(_53c[dojo._name]||_53c["default"]||[]),temp;while(_53d.length){if(lang.isArray(temp=_53d.shift())){dojo.require.apply(dojo,temp);}else{dojo.require(temp);}}};dojo.requireIf=dojo.requireAfterIf=function(_53e,_53f,_540){if(_53e){dojo.require(_53f,_540);}};dojo.requireLocalization=function(_541,_542,_543){_4e3(["../i18n"],function(i18n){i18n.getLocalization(_541,_542,_543);});};return {extractLegacyApiApplications:_516,require:_4eb,loadInit:_4fc};});}}});(function(){var _544=this.require;_544({cache:{}});!_544.async&&_544(["dojo"]);_544.boot&&_544.apply(null,_544.boot);})();