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