/* Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ /* This is an optimized version of Dojo, built for deployment and not for development. To get sources and documentation, please visit: http://dojotoolkit.org */ //>>built (function(_1,_2){var _3=function(){},_4=function(it){for(var p in it){return 0;}return 1;},_5={}.toString,_6=function(it){return _5.call(it)=="[object Function]";},_7=function(it){return _5.call(it)=="[object String]";},_8=function(it){return _5.call(it)=="[object Array]";},_9=function(_a,_b){if(_a){for(var i=0;i<_a.length;){_b(_a[i++]);}}},_c=function(_d,_e){for(var p in _e){_d[p]=_e[p];}return _d;},_f=function(_10,_11){return _c(new Error(_10),{src:"dojoLoader",info:_11});},_12=1,uid=function(){return "_"+_12++;},req=function(_13,_14,_15){return _16(_13,_14,_15,0,req);},_17=this,doc=_17.document,_18=doc&&doc.createElement("DiV"),has=req.has=function(_19){return _6(_1a[_19])?(_1a[_19]=_1a[_19](_17,doc,_18)):_1a[_19];},_1a=has.cache=_2.hasCache;has.add=function(_1b,_1c,now,_1d){(_1a[_1b]===undefined||_1d)&&(_1a[_1b]=_1c);return now&&has(_1b);};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);}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _20=1,_21=2,_22=3,_23=4,_24=5;if(0){_20="requested";_21="arrived";_22="not-a-module";_23="executing";_24="executed";}var _25=0,_26="sync",xd="xd",_27=[],_28=0,_29=_3,_2a=_3,_2b;if(1){req.isXdUrl=_3;req.initSyncLoader=function(_2c,_2d,_2e){if(!_28){_28=_2c;_29=_2d;_2a=_2e;}return {sync:_26,requested:_20,arrived:_21,nonmodule:_22,executing:_23,executed:_24,syncExecStack:_27,modules:_2f,execQ:_30,getModule:_31,injectModule:_32,setArrived:_33,signal:_34,finishExec:_35,execModule:_36,dojoRequirePlugin:_28,getLegacyMode:function(){return _25;},guardCheckComplete:_37};};if(1){var _38=location.protocol,_39=location.host;req.isXdUrl=function(url){if(/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3a=url.match(/^([^\/\:]+\:)\/+([^\/]+)/);return _3a&&(_3a[1]!=_38||(_39&&_3a[2]!=_39));};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")){_2b=function(){return new XMLHttpRequest();};}else{for(var _3b=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_3c,i=0;i<3;){try{_3c=_3b[i++];if(new ActiveXObject(_3c)){break;}}catch(e){}}_2b=function(){return new ActiveXObject(_3c);};}req.getXhr=_2b;has.add("dojo-gettext-api",1);req.getText=function(url,_3d,_3e){var xhr=_2b();xhr.open("GET",_3f(url),false);xhr.send(null);if(xhr.status==200||(!location.host&&!xhr.status)){if(_3e){_3e(xhr.responseText,_3d);}}else{throw _f("xhrFailed",xhr.status);}return xhr.responseText;};}}else{req.async=1;}var _40=new Function("return eval(arguments[0]);");req.eval=function(_41,_42){return _40(_41+"\r\n////@ sourceURL="+_42);};var _43={},_44="error",_34=req.signal=function(_45,_46){var _47=_43[_45];_9(_47&&_47.slice(0),function(_48){_48.apply(null,_8(_46)?_46:[_46]);});},on=req.on=function(_49,_4a){var _4b=_43[_49]||(_43[_49]=[]);_4b.push(_4a);return {remove:function(){for(var i=0;i<_4b.length;i++){if(_4b[i]===_4a){_4b.splice(i,1);return;}}}};};var _4c=[],_4d={},_4e=[],_4f={},map=req.map={},_50=[],_2f={},_51="",_52={},_53="url:",_54={},_55={};if(1){var _56=function(_57){var p,_58,_59,now,m;for(p in _54){_58=_54[p];_59=p.match(/^url\:(.+)/);if(_59){_52[_53+_5a(_59[1],_57)]=_58;}else{if(p=="*now"){now=_58;}else{if(p!="*noref"){m=_5b(p,_57);_52[m.mid]=_52[_53+m.url]=_58;}}}}if(now){now(_5c(_57));}_54={};},_5d=function(s){return s.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;});},_5e=function(map,_5f){_5f.splice(0,_5f.length);for(var p in map){_5f.push([p,map[p],new RegExp("^"+_5d(p)+"(/|$)"),p.length]);}_5f.sort(function(lhs,rhs){return rhs[3]-lhs[3];});return _5f;},_60=function(_61){var _62=_61.name;if(!_62){_62=_61;_61={name:_62};}_61=_c({main:"main"},_61);_61.location=_61.location?_61.location:_62;if(_61.packageMap){map[_62]=_61.packageMap;}if(!_61.main.indexOf("./")){_61.main=_61.main.substring(2);}_4f[_62]=_61;},_63=[],_64=function(_65,_66,_67){for(var p in _65){if(p=="waitSeconds"){req.waitms=(_65[p]||0)*1000;}if(p=="cacheBust"){_51=_65[p]?(_7(_65[p])?_65[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_65[p];}if(1&&p=="async"){var _68=_65[p];req.legacyMode=_25=(_7(_68)&&/sync|legacyAsync/.test(_68)?_68:(!_68?_26:false));req.async=!_25;}if(_65[p]!==_1a){req.rawConfig[p]=_65[p];p!="has"&&has.add("config-"+p,_65[p],0,_66);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _65.has){has.add(p,_65.has[p],0,_66);}_9(_65.packages,_60);for(_1e in _65.packagePaths){_9(_65.packagePaths[_1e],function(_69){var _6a=_1e+"/"+_69;if(_7(_69)){_69={name:_69};}_69.location=_6a;_60(_69);});}_5e(_c(map,_65.map),_50);_9(_50,function(_6b){_6b[1]=_5e(_6b[1],[]);if(_6b[0]=="*"){_50.star=_6b;}});_5e(_c(_4d,_65.paths),_4e);_9(_65.aliases,function(_6c){if(_7(_6c[0])){_6c[0]=new RegExp("^"+_5d(_6c[0])+"$");}_4c.push(_6c);});if(_66){_63.push({config:_65.config});}else{for(p in _65.config){var _6d=_31(p,_67);_6d.config=_c(_6d.config||{},_65.config[p]);}}if(_65.cache){_56();_54=_65.cache;if(_65.cache["*noref"]){_56();}}_34("config",[_65,req.rawConfig]);};if(has("dojo-cdn")||1){var _6e=doc.getElementsByTagName("script"),i=0,_6f,_70,src,_71;while(i<_6e.length){_6f=_6e[i++];if((src=_6f.getAttribute("src"))&&(_71=src.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){_70=_71[3]||"";_2.baseUrl=_2.baseUrl||_70;src=(_6f.getAttribute("data-dojo-config")||_6f.getAttribute("djConfig"));if(src){_55=req.eval("({ "+src+" })","data-dojo-config");}if(0){var _72=_6f.getAttribute("data-main");if(_72){_55.deps=_55.deps||[_72];}}break;}}}if(0){try{if(window.parent!=window&&window.parent.require){var doh=window.parent.require("doh");doh&&_c(_55,doh.testConfig);}}catch(e){}}req.rawConfig={};_64(_2,1);if(has("dojo-cdn")){_4f.dojo.location=_70;if(_70){_70+="/";}_4f.dijit.location=_70+"../dijit/";_4f.dojox.location=_70+"../dojox/";}_64(_1,1);_64(_55,1);}else{_4d=_2.paths;_4e=_2.pathsMapProg;_4f=_2.packs;_4c=_2.aliases;_50=_2.mapProgs;_2f=_2.modules;_52=_2.cache;_51=_2.cacheBust;req.rawConfig=_2;}if(0){req.combo=req.combo||{add:_3};var _73=0,_74=[],_75=null;}var _76=function(_77){_37(function(){_9(_77.deps,_32);if(0&&_73&&!_75){_75=setTimeout(function(){_73=0;_75=null;req.combo.done(function(_78,url){var _79=function(){_7a(0,_78);_7b();};_74.push(_78);_7c=_78;req.injectUrl(url,_79,_78);_7c=0;},req);},0);}});},_16=function(a1,a2,a3,_7d,_7e){var _7f,_80;if(_7(a1)){_7f=_31(a1,_7d,true);if(_7f&&_7f.executed){return _7f.result;}throw _f("undefinedModule",a1);}if(!_8(a1)){_64(a1,0,_7d);a1=a2;a2=a3;}if(_8(a1)){if(!a1.length){a2&&a2();}else{_80="require*"+uid();for(var mid,_81=[],i=0;i_ab){_ac=_6(_ad[1])?mid.replace(_ad[0],_ad[1]):_ad[1];}});if(_ac){return _9c(_ac,0,_9e,_9f,_a0,_a1,_a2,_a3);}_a8=_9f[mid];if(_a8){return _a3?_82(_a8.pid,_a8.mid,_a8.pack,_a8.url):_9f[mid];}}_a7=_94(mid,_a2);if(_a7){url=_a7[1]+mid.substring(_a7[3]);}else{if(pid){url=_a4.location+"/"+_a5;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_a0+url;}url+=".js";return _82(pid,mid,_a4,_96(url));},_5b=function(mid,_af){return _9c(mid,_af,_4f,_2f,req.baseUrl,_50,_4e);},_b0=function(_b1,_b2,_b3){return _b1.normalize?_b1.normalize(_b2,function(mid){return _b4(mid,_b3);}):_b4(_b2,_b3);},_b5=0,_31=function(mid,_b6,_b7){var _b8,_b9,_ba,_bb;_b8=mid.match(/^(.+?)\!(.*)$/);if(_b8){_b9=_31(_b8[1],_b6,_b7);if(1&&_25==_26&&!_b9.executed){_32(_b9);if(_b9.injected===_21&&!_b9.executed){_37(function(){_36(_b9);});}if(_b9.executed){_bc(_b9);}else{_30.unshift(_b9);}}if(_b9.executed===_24&&!_b9.load){_bc(_b9);}if(_b9.load){_ba=_b0(_b9,_b8[2],_b6);mid=(_b9.mid+"!"+(_b9.dynamic?++_b5+"!":"")+_ba);}else{_ba=_b8[2];mid=_b9.mid+"!"+(++_b5)+"!waitingForPlugin";}_bb={plugin:_b9,mid:mid,req:_5c(_b6),prid:_ba};}else{_bb=_5b(mid,_b6);}return _2f[_bb.mid]||(!_b7&&(_2f[_bb.mid]=_bb));},_b4=req.toAbsMid=function(mid,_bd){return _5b(mid,_bd).mid;},_5a=req.toUrl=function(_be,_bf){var _c0=_5b(_be+"/x",_bf),url=_c0.url;return _3f(_c0.pid===0?_be:url.substring(0,url.length-5));},_c1={injected:_21,executed:_24,def:_22,result:_22},_c2=function(mid){return _2f[mid]=_c({mid:mid},_c1);},_c3=_c2("require"),_c4=_c2("exports"),_c5=_c2("module"),_c6=function(_c7,_c8){req.trace("loader-run-factory",[_c7.mid]);var _c9=_c7.def,_ca;1&&_27.unshift(_c7);if(has("config-dojo-loader-catches")){try{_ca=_6(_c9)?_c9.apply(null,_c8):_c9;}catch(e){_34(_44,_c7.result=_f("factoryThrew",[_c7,e]));}}else{_ca=_6(_c9)?_c9.apply(null,_c8):_c9;}_c7.result=_ca===undefined&&_c7.cjs?_c7.cjs.exports:_ca;1&&_27.shift(_c7);},_cb={},_cc=0,_bc=function(_cd){var _ce=_cd.result;_cd.dynamic=_ce.dynamic;_cd.normalize=_ce.normalize;_cd.load=_ce.load;return _cd;},_cf=function(_d0){var map={};_9(_d0.loadQ,function(_d1){var _d2=_b0(_d0,_d1.prid,_d1.req.module),mid=_d0.dynamic?_d1.mid.replace(/waitingForPlugin$/,_d2):(_d0.mid+"!"+_d2),_d3=_c(_c({},_d1),{mid:mid,prid:_d2,injected:0});if(!_2f[mid]){_e5(_2f[mid]=_d3);}map[_d1.mid]=_2f[mid];_33(_d1);delete _2f[_d1.mid];});_d0.loadQ=0;var _d4=function(_d5){for(var _d6,_d7=_d5.deps||[],i=0;i<_d7.length;i++){_d6=map[_d7[i].mid];if(_d6){_d7[i]=_d6;}}};for(var p in _2f){_d4(_2f[p]);}_9(_30,_d4);},_35=function(_d8){req.trace("loader-finish-exec",[_d8.mid]);_d8.executed=_24;_d8.defOrder=_cc++;1&&_9(_d8.provides,function(cb){cb();});if(_d8.loadQ){_bc(_d8);_cf(_d8);}for(i=0;i<_30.length;){if(_30[i]===_d8){_30.splice(i,1);}else{i++;}}if(/^require\*/.test(_d8.mid)){delete _2f[_d8.mid];}},_d9=[],_36=function(_da,_db){if(_da.executed===_23){req.trace("loader-circular-dependency",[_d9.concat(_da.mid).join("->")]);return (!_da.def||_db)?_cb:(_da.cjs&&_da.cjs.exports);}if(!_da.executed){if(!_da.def){return _cb;}var mid=_da.mid,_dc=_da.deps||[],arg,_dd,_de=[],i=0;if(0){_d9.push(mid);req.trace("loader-exec-module",["exec",_d9.length,mid]);}_da.executed=_23;while(i<_dc.length){arg=_dc[i++];_dd=((arg===_c3)?_5c(_da):((arg===_c4)?_da.cjs.exports:((arg===_c5)?_da.cjs:_36(arg,_db))));if(_dd===_cb){_da.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_d9.pop();return _cb;}_de.push(_dd);}_c6(_da,_de);_35(_da);0&&_d9.pop();}return _da.result;},_84=0,_37=function(_df){try{_84++;_df();}finally{_84--;}if(_93()){_34("idle",[]);}},_7b=function(){if(_84){return;}_37(function(){_29();for(var _e0,_e1,i=0;i<_30.length;){_e0=_cc;_e1=_30[i];_36(_e1);if(_e0!=_cc){_29();i=0;}else{i++;}}});};if(0){req.undef=function(_e2,_e3){var _e4=_31(_e2,_e3);_33(_e4);delete _2f[_e4.mid];};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _3f=function(url){url+="";return url+(_51?((/\?/.test(url)?"&":"?")+_51):"");},_e5=function(_e6){var _e7=_e6.plugin;if(_e7.executed===_24&&!_e7.load){_bc(_e7);}var _e8=function(def){_e6.result=def;_33(_e6);_35(_e6);_7b();};if(_e7.load){_e7.load(_e6.prid,_e6.req,_e8);}else{if(_e7.loadQ){_e7.loadQ.push(_e6);}else{_e7.loadQ=[_e6];_30.unshift(_e7);_32(_e7);}}},_8a=0,_7c=0,_e9=0,_8b=function(_ea,_eb){if(has("config-stripStrict")){_ea=_ea.replace(/"use strict"/g,"");}_e9=1;if(has("config-dojo-loader-catches")){try{if(_ea===_8a){_8a.call(null);}else{req.eval(_ea,has("dojo-loader-eval-hint-url")?_eb.url:_eb.mid);}}catch(e){_34(_44,_f("evalModuleThrew",_eb));}}else{if(_ea===_8a){_8a.call(null);}else{req.eval(_ea,has("dojo-loader-eval-hint-url")?_eb.url:_eb.mid);}}_e9=0;},_32=function(_ec){var mid=_ec.mid,url=_ec.url;if(_ec.executed||_ec.injected||_8d[mid]||(_ec.url&&((_ec.pack&&_8d[_ec.url]===_ec.pack)||_8d[_ec.url]==1))){return;}_8e(_ec);if(0){var _ed=0;if(_ec.plugin&&_ec.plugin.isCombo){req.combo.add(_ec.plugin.mid,_ec.prid,0,req);_ed=1;}else{if(!_ec.plugin){_ed=req.combo.add(0,_ec.mid,_ec.url,req);}}if(_ed){_73=1;return;}}if(_ec.plugin){_e5(_ec);return;}var _ee=function(){_7a(_ec);if(_ec.injected!==_21){_33(_ec);_c(_ec,_c1);req.trace("loader-define-nonmodule",[_ec.url]);}if(1&&_25){!_27.length&&_7b();}else{_7b();}};_8a=_52[mid]||_52[_53+_ec.url];if(_8a){req.trace("loader-inject",["cache",_ec.mid,url]);_8b(_8a,_ec);_ee();return;}if(1&&_25){if(_ec.isXd){_25==_26&&(_25=xd);}else{if(_ec.isAmd&&_25!=_26){}else{var _ef=function(_f0){if(_25==_26){_27.unshift(_ec);_8b(_f0,_ec);_27.shift();_7a(_ec);if(!_ec.cjs){_33(_ec);_35(_ec);}if(_ec.finish){var _f1=mid+"*finish",_f2=_ec.finish;delete _ec.finish;def(_f1,["dojo",("dojo/require!"+_f2.join(",")).replace(/\./g,"/")],function(_f3){_9(_f2,function(mid){_f3.require(mid);});});_30.unshift(_31(_f1));}_ee();}else{_f0=_2a(_ec,_f0);if(_f0){_8b(_f0,_ec);_ee();}else{_7c=_ec;req.injectUrl(_3f(url),_ee,_ec);_7c=0;}}};req.trace("loader-inject",["xhr",_ec.mid,url,_25!=_26]);if(has("config-dojo-loader-catches")){try{req.getText(url,_25!=_26,_ef);}catch(e){_34(_44,_f("xhrInjectFailed",[_ec,e]));}}else{req.getText(url,_25!=_26,_ef);}return;}}}req.trace("loader-inject",["script",_ec.mid,url]);_7c=_ec;req.injectUrl(_3f(url),_ee,_ec);_7c=0;},_f4=function(_f5,_f6,def){req.trace("loader-define-module",[_f5.mid,_f6]);if(0&&_f5.plugin&&_f5.plugin.isCombo){_f5.result=_6(def)?def():def;_33(_f5);_35(_f5);return _f5;}var mid=_f5.mid;if(_f5.injected===_21){_34(_44,_f("multipleDefine",_f5));return _f5;}_c(_f5,{deps:_f6,def:def,cjs:{id:_f5.mid,uri:_f5.url,exports:(_f5.result={}),setExports:function(_f7){_f5.cjs.exports=_f7;},config:function(){return _f5.config;}}});for(var i=0;i<_f6.length;i++){_f6[i]=_31(_f6[i],_f5);}if(1&&_25&&!_8d[mid]){_76(_f5);_30.push(_f5);_7b();}_33(_f5);if(!_6(def)&&!_f6.length){_f5.result=def;_35(_f5);}return _f5;},_7a=function(_f8,_f9){var _fa=[],_fb,_fc;while(_8c.length){_fc=_8c.shift();_f9&&(_fc[0]=_f9.shift());_fb=(_fc[0]&&_31(_fc[0]))||_f8;_fa.push([_fb,_fc[1],_fc[2]]);}_56(_f8);_9(_fa,function(_fd){_76(_f4.apply(null,_fd));});};}var _fe=0,_92=_3,_90=_3;if(1){_92=function(){_fe&&clearTimeout(_fe);_fe=0;},_90=function(){_92();if(req.waitms){_fe=window.setTimeout(function(){_92();_34(_44,_f("timeout",_8d));},req.waitms);}};}if(1){has.add("ie-event-behavior",!!doc.attachEvent&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _ff=function(node,_100,_101,_102){if(!has("ie-event-behavior")){node.addEventListener(_100,_102,false);return function(){node.removeEventListener(_100,_102,false);};}else{node.attachEvent(_101,_102);return function(){node.detachEvent(_101,_102);};}},_103=_ff(window,"load","onload",function(){req.pageLoaded=1;doc.readyState!="complete"&&(doc.readyState="complete");_103();});if(1){var _104=doc.getElementsByTagName("script")[0],_105=_104.parentNode;req.injectUrl=function(url,_106,_107){var node=_107.node=doc.createElement("script"),_108=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_109();_10a();_106&&_106();}},_109=_ff(node,"load","onreadystatechange",_108),_10a=_ff(node,"error","onerror",function(e){_109();_10a();_34(_44,_f("scriptError",[url,e]));});node.type="text/javascript";node.charset="utf-8";node.src=url;_105.insertBefore(node,_104);return node;};}}if(1){req.log=function(){try{for(var i=0;i0){_129._delayTimer=setTimeout(_12a,de);return _129;}_12a();return _129;},_play:function(_12b){var _12c=this;if(_12c._delayTimer){_12c._clearTimer();}_12c._startTime=new Date().valueOf();if(_12c._paused){_12c._startTime-=_12c.duration*_12c._percent;}_12c._active=true;_12c._paused=false;var _12d=_12c.curve.getValue(_12c._getStep());if(!_12c._percent){if(!_12c._startRepeatCount){_12c._startRepeatCount=_12c.repeat;}_12c._fire("onBegin",[_12d]);}_12c._fire("onPlay",[_12d]);_12c._cycle();return _12c;},pause:function(){var _12e=this;if(_12e._delayTimer){_12e._clearTimer();}_12e._stopTimer();if(!_12e._active){return _12e;}_12e._paused=true;_12e._fire("onPause",[_12e.curve.getValue(_12e._getStep())]);return _12e;},gotoPercent:function(_12f,_130){var _131=this;_131._stopTimer();_131._active=_131._paused=true;_131._percent=_12f;if(_130){_131.play();}return _131;},stop:function(_132){var _133=this;if(_133._delayTimer){_133._clearTimer();}if(!_133._timer){return _133;}_133._stopTimer();if(_132){_133._percent=1;}_133._fire("onStop",[_133.curve.getValue(_133._getStep())]);_133._active=_133._paused=false;return _133;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _134=this;if(_134._active){var curr=new Date().valueOf();var step=_134.duration===0?1:(curr-_134._startTime)/(_134.duration);if(step>=1){step=1;}_134._percent=step;if(_134.easing){step=_134.easing(step);}_134._fire("onAnimate",[_134.curve.getValue(step)]);if(_134._percent<1){_134._startTimer();}else{_134._active=false;if(_134.repeat>0){_134.repeat--;_134.play(null,true);}else{if(_134.repeat==-1){_134.play(null,true);}else{if(_134._startRepeatCount){_134.repeat=_134._startRepeatCount;_134._startRepeatCount=0;}}}_134._percent=0;_134._fire("onEnd",[_134.node]);!_134.repeat&&_134._stopTimer();}}return _134;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_135=null,_136={run:function(){}};lang.extend(_124,{_startTimer:function(){if(!this._timer){this._timer=_11e.connect(_136,"run",this,"_cycle");ctr++;}if(!_135){_135=setInterval(lang.hitch(_136,"run"),this.rate);}},_stopTimer:function(){if(this._timer){_11e.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_135);_135=null;ctr=0;}}});var _137=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_11f.get(node,"width")=="auto"){ns.width="auto";}}:function(){};_121._fade=function(args){args.node=dom.byId(args.node);var _138=_120({properties:{}},args),_139=(_138.properties.opacity={});_139.start=!("start" in _138)?function(){return +_11f.get(_138.node,"opacity")||0;}:_138.start;_139.end=_138.end;var anim=_121.animateProperty(_138);_11e.connect(anim,"beforeBegin",lang.partial(_137,_138.node));return anim;};_121.fadeIn=function(args){return _121._fade(_120({end:1},args));};_121.fadeOut=function(args){return _121._fade(_120({end:0},args));};_121._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _13a=function(_13b){this._properties=_13b;for(var p in _13b){var prop=_13b[p];if(prop.start instanceof _11d){prop.tempColor=new _11d();}}};_13a.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_13c=prop.start;if(_13c instanceof _11d){ret[p]=_11d.blendColors(_13c,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_13c)){ret[p]=((prop.end-_13c)*r)+_13c+(p!="opacity"?prop.units||"px":0);}}}return ret;};_121.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new _124(args);_11e.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];if(lang.isFunction(prop)){prop=prop(n);}prop=pm[p]=_120({},(lang.isObject(prop)?prop:{end:prop}));if(lang.isFunction(prop.start)){prop.start=prop.start(n);}if(lang.isFunction(prop.end)){prop.end=prop.end(n);}var _13d=(p.toLowerCase().indexOf("color")>=0);function _13e(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_11f.get(node,p);return (p=="opacity")?+v:(_13d?v:parseFloat(v));};if(!("end" in prop)){prop.end=_13e(n,p);}else{if(!("start" in prop)){prop.start=_13e(n,p);}}if(_13d){prop.start=new _11d(prop.start);prop.end=new _11d(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _13a(pm);});_11e.connect(anim,"onAnimate",lang.hitch(_11f,"set",anim.node));return anim;};_121.anim=function(node,_13f,_140,_141,_142,_143){return _121.animateProperty({node:node,duration:_140||_124.prototype.duration,properties:_13f,easing:_141,onEnd:_142}).play(_143||0);};if(1){_120(dojo,_121);dojo._Animation=_124;}return _121;});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _144(obj,name,_145){if(_145===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_145];}else{if(lang.isArray(val)){val.push(_145);}else{obj[name]=_145;}}};var _146="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_147){var ret=null;_147=dom.byId(_147);if(_147){var _148=_147.name,type=(_147.type||"").toLowerCase();if(_148&&type&&!_147.disabled){if(type=="radio"||type=="checkbox"){if(_147.checked){ret=_147.value;}}else{if(_147.multiple){ret=[];var _149=[_147.firstChild];while(_149.length){for(var node=_149.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_149.push(node.nextSibling);}if(node.firstChild){_149.push(node.firstChild);}break;}}}}else{ret=_147.value;}}}}return ret;},toObject:function formToObject(_14a){var ret={},_14b=dom.byId(_14a).elements;for(var i=0,l=_14b.length;i=0;i--){var node=(_1ae?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1b0){_1b0=_1af.ownerDocument.createElement("div");}_1b0.appendChild(node);dojo.parser.parse(_1b0);node=_1b0.firstChild;while(_1b0.firstChild){_1b0.removeChild(_1b0.firstChild);}}if(i==_1b1-1){_19e.place(node,_1af,_1ad);}else{_1af.parentNode.insertBefore(node,_1af);}_1af=node;}},position:aam(_19f.position),attr:awc(_1a5(_1a0),_1a2),style:awc(_1a5(_1a1),_1a2),addClass:aafe(_19d.add),removeClass:aafe(_19d.remove),toggleClass:aafe(_19d.toggle),replaceClass:aafe(_19d.replace),empty:aafe(_19e.empty),removeAttr:aafe(_1a0.remove),marginBox:aam(_19f.getMarginBox),place:function(_1b2,_1b3){var item=_19b(_1b2)[0];return this.forEach(function(node){_19e.place(node,item,_1b3);});},orphan:function(_1b4){return (_1b4?_19b._filterResult(this,_1b4):this).forEach(_1a3);},adopt:function(_1b5,_1b6){return _19b(_1b5).place(this[0],_1b6)._stash(this);},query:function(_1b7){if(!_1b7){return this;}var ret=new _1a4;this.map(function(node){_19b(_1b7,node).forEach(function(_1b8){if(_1b8!==undefined){ret.push(_1b8);}});});return ret._stash(this);},filter:function(_1b9){var a=arguments,_1ba=this,_1bb=0;if(typeof _1b9=="string"){_1ba=_19b._filterResult(this,a[0]);if(a.length==1){return _1ba._stash(this);}_1bb=1;}return this._wrap(_19c.filter(_1ba,a[_1bb],a[_1bb+1]),this);},addContent:function(_1bc,_1bd){_1bc=this._normalize(_1bc,this[0]);for(var i=0,node;(node=this[i]);i++){this._place(_1bc,node,_1bd,i>0);}return this;}});return _1a4;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_1be,lang,_1bf,_1c0){"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,_1c1=_1be.forEach;var tnl=function(a,_1c2,_1c3){var _1c4=new (_1c3||this._NodeListCtor||nl)(a);return _1c2?_1c4._stash(_1c2):_1c4;};var _1c5=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 _1c6=function(f,o){return function(){this.forEach(_1c5(f,arguments,o));return this;};};var _1c7=function(f,o){return function(){return this.map(_1c5(f,arguments,o));};};var _1c8=function(f,o){return function(){return this.filter(_1c5(f,arguments,o));};};var _1c9=function(f,g,o){return function(){var a=arguments,body=_1c5(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _1ca=function(_1cb){var _1cc=this instanceof nl&&has("array-extensible");if(typeof _1cb=="number"){_1cb=Array(_1cb);}var _1cd=(_1cb&&"length" in _1cb)?_1cb:arguments;if(_1cc||!_1cd.sort){var _1ce=_1cc?this:[],l=_1ce.length=_1cd.length;for(var i=0;i0;};_1df.filter=_1dd.filter||function(_1e3,_1e4,root){return _1df(_1e4,root).filter(function(node){return _1be.indexOf(_1e3,node)>-1;});};if(typeof _1dd!="function"){var _1e5=_1dd.search;_1dd=function(_1e6,root){return _1e5(root||document,_1e6);};}return _1df;};var _1d9=_1dc(_1c0,_1ca);dojo.query=_1dc(_1c0,function(_1e7){return _1ca(_1e7);});_1d9.load=function(id,_1e8,_1e9){_1bf.load(id,_1e8,function(_1ea){_1e9(_1dc(_1ea,_1ca));});};dojo._filterQueryResult=_1d9._filterResult=function(_1eb,_1ec,root){return new _1ca(_1d9.filter(_1eb,_1ec,root));};dojo.NodeList=_1d9.NodeList=_1ca;return _1d9;});},"dojo/has":function(){define(["require","module"],function(_1ed,_1ee){var has=_1ed.has||function(){};if(!1){var _1ef=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_1f0=this,doc=_1ef&&document,_1f1=doc&&doc.createElement("DiV"),_1f2=(_1ee.config&&_1ee.config())||{};has=function(name){return typeof _1f2[name]=="function"?(_1f2[name]=_1f2[name](_1f0,doc,_1f1)):_1f2[name];};has.cache=_1f2;has.add=function(name,test,now,_1f3){(typeof _1f2[name]=="undefined"||_1f3)&&(_1f2[name]=test);return now&&has(name);};1||has.add("host-browser",_1ef);1||has.add("dom",_1ef);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);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(_1f4){_1f4.innerHTML="";return _1f4;};has.normalize=function(id,_1f5){var _1f6=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_1f6[i++];if(term==":"){return 0;}else{if(_1f6[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_1f5(id);};has.load=function(id,_1f7,_1f8){if(id){_1f7([id],_1f8);}else{_1f8();}};return has;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","./json","./lang","./array"],function(dojo,has,_1f9,_1fa,json,lang,_1fb){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 _1fc=function(id){return {src:_1fa.id,id:id};},_1fd=function(name){return name.replace(/\./g,"/");},_1fe=/\/\/>>built/,_1ff=[],_200=[],_201=function(mid,_202,_203){_1ff.push(_203);_1fb.forEach(mid.split(","),function(mid){var _204=_205(mid,_202.module);_200.push(_204);_206(_204);});_207();},_207=(1?function(){var _208,mid;for(mid in _209){_208=_209[mid];if(_208.noReqPluginCheck===undefined){_208.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(!_208.executed&&!_208.noReqPluginCheck&&_208.injected==_20a){return;}}_20b(function(){var _20c=_1ff;_1ff=[];_1fb.forEach(_20c,function(cb){cb(1);});});}:(function(){var _20d,_20e=function(m){_20d[m.mid]=1;for(var t,_20f,deps=m.deps||[],i=0;i=0;--j){_271=lin[j].prototype;if(!_271.hasOwnProperty("declaredClass")){_271.declaredClass="uniqName_"+(_268++);}name=_271.declaredClass;if(!_26f.hasOwnProperty(name)){_26f[name]={count:0,refs:[],cls:lin[j]};++_270;}rec=_26f[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_26e[0].refs.push(top);}while(_26e.length){top=_26e.pop();_26d.push(top.cls);--_270;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_26d.push(top.cls);--_270;}if(top){for(i=0,l=refs.length;i=0;--i){f=_28b[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_28d?_28d[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _28f(ctor,_290){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _28e(a);}if(_290){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 _291(_292){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _28e(a);}for(;f=_292[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 _293(name,_294,_295){return function(){var b,m,f,i=0,step=1;if(_295){i=_294.length-1;step=-1;}for(;b=_294[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _296(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _28e(args){var ctor=args.callee,t=_296(ctor);ctor.apply(t,args);return t;};function _287(_297,_298,_299){if(typeof _297!="string"){_299=_298;_298=_297;_297="";}_299=_299||{};var _29a,i,t,ctor,name,_29b,_29c,_29d=1,_29e=_298;if(opts.call(_298)=="[object Array]"){_29b=_26a(_298,_297);t=_29b[0];_29d=_29b.length-t;_298=_29b[_29d];}else{_29b=[0];if(_298){if(opts.call(_298)=="[object Function]"){t=_298._meta;_29b=_29b.concat(t?t.bases:_298);}else{err("base class is not a callable constructor.",_297);}}else{if(_298!==null){err("unknown base class. Did you use dojo.require to pull it in?",_297);}}}if(_298){for(i=_29d-1;;--i){_29a=_296(_298);if(!i){break;}t=_29b[i];(t._meta?_27d:mix)(_29a,t.prototype);ctor=new Function;ctor.superclass=_298;ctor.prototype=_29a;_298=_29a.constructor=ctor;}}else{_29a={};}_287.safeMixin(_29a,_299);t=_299.constructor;if(t!==op.constructor){t.nom=_269;_29a.constructor=t;}for(i=_29d-1;i;--i){t=_29b[i]._meta;if(t&&t.chains){_29c=mix(_29c||{},t.chains);}}if(_29a["-chains-"]){_29c=mix(_29c||{},_29a["-chains-"]);}t=!_29c||!_29c.hasOwnProperty(_269);_29b[0]=ctor=(_29c&&_29c.constructor==="manual")?_291(_29b):(_29b.length==1?_28f(_299.constructor,t):_28a(_29b,t));ctor._meta={bases:_29b,hidden:_299,chains:_29c,parents:_29e,ctor:_299.constructor};ctor.superclass=_298&&_298.prototype;ctor.extend=_285;ctor.createSubclass=_288;ctor.prototype=_29a;_29a.constructor=ctor;_29a.getInherited=_278;_29a.isInstanceOf=_27b;_29a.inherited=_27a;_29a.__inherited=_272;if(_297){_29a.declaredClass=_297;lang.setObject(_297,ctor);}if(_29c){for(name in _29c){if(_29a[name]&&typeof _29c[name]=="string"&&name!=_269){t=_29a[name]=_293(name,_29b,_29c[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_287.safeMixin=_281;dojo.declare=_287;return _287;});},"dojo/dom":function(){define(["./sniff","./_base/window"],function(has,win){if(has("ie")<=7){try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}}var dom={};if(has("ie")){dom.byId=function(id,doc){if(typeof id!="string"){return id;}var _29f=doc||win.doc,te=id&&_29f.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_29f.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}};}else{dom.byId=function(id,doc){return ((typeof id=="string")?(doc||win.doc).getElementById(id):id)||null;};}dom.isDescendant=function(node,_2a0){try{node=dom.byId(node);_2a0=dom.byId(_2a0);while(node){if(node==_2a0){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_2a1,doc,_2a2){if(!_2a2){return false;}var _2a3=_2a2.style;var _2a4=["Khtml","O","ms","Moz","Webkit"],i=_2a4.length,name="userSelect",_2a5;do{if(typeof _2a3[name]!=="undefined"){return name;}}while(i--&&(name=_2a4[i]+"UserSelect"));return false;});var _2a6=has("css-user-select");dom.setSelectable=_2a6?function(node,_2a7){dom.byId(node).style[_2a6]=_2a7?"":"none";}:function(node,_2a8){node=dom.byId(node);var _2a9=node.getElementsByTagName("*"),i=_2a9.length;if(_2a8){node.removeAttribute("unselectable");while(i--){_2a9[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_2a9[i].setAttribute("unselectable","on");}}};return dom;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/errors/RequestTimeoutError":function(){define("dojo/errors/RequestTimeoutError",["./create","./RequestError"],function(_2aa,_2ab){return _2aa("RequestTimeoutError",null,_2ab,{dojoType:"timeout"});});},"dojo/dom-style":function(){define("dojo/dom-style",["./sniff","./dom"],function(has,dom){var _2ac,_2ad={};if(has("webkit")){_2ac=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"))){_2ac=function(node){return node.nodeType==1&&node.currentStyle?node.currentStyle:{};};}else{_2ac=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_2ad.getComputedStyle=_2ac;var _2ae;if(!has("ie")){_2ae=function(_2af,_2b0){return parseFloat(_2b0)||0;};}else{_2ae=function(_2b1,_2b2){if(!_2b2){return 0;}if(_2b2=="medium"){return 4;}if(_2b2.slice&&_2b2.slice(-2)=="px"){return parseFloat(_2b2);}var s=_2b1.style,rs=_2b1.runtimeStyle,cs=_2b1.currentStyle,_2b3=s.left,_2b4=rs.left;rs.left=cs.left;try{s.left=_2b2;_2b2=s.pixelLeft;}catch(e){_2b2=0;}s.left=_2b3;rs.left=_2b4;return _2b2;};}_2ad.toPixelValue=_2ae;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _2b5=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _2ac(node).opacity;};var _2b6=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_2b7){var ov=_2b7*100,_2b8=_2b7==1;node.style.zoom=_2b8?"":1;if(!af(node)){if(_2b8){return _2b7;}node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}af(node,1).Enabled=!_2b8;if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_2b6(td,_2b7);}}}return _2b7;}:function(node,_2b9){return node.style.opacity=_2b9;};var _2ba={left:true,top:true};var _2bb=/margin|padding|width|height|max|min|offset/;function _2bc(node,type,_2bd){type=type.toLowerCase();if(has("ie")){if(_2bd=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2bd){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _2ba)){_2ba[type]=_2bb.test(type);}return _2ba[type]?_2ae(node,_2bd):_2bd;};var _2be=has("ie")?"styleFloat":"cssFloat",_2bf={"cssFloat":_2be,"styleFloat":_2be,"float":_2be};_2ad.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _2b5(n);}name=_2bf[name]||name;var s=_2ad.getComputedStyle(n);return (l==1)?s:_2bc(n,name,s[name]||n.style[name]);};_2ad.set=function setStyle(node,name,_2c0){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_2bf[name]||name;if(l==3){return op?_2b6(n,_2c0):n.style[name]=_2c0;}for(var x in name){_2ad.set(node,x,name[x]);}return _2ad.getComputedStyle(n);};return _2ad;});},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_2c1){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_2c2){node=dom.byId(node);var s=_2c2||_2c1.getComputedStyle(node),px=_2c1.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,_2c3){node=dom.byId(node);var px=_2c1.toPixelValue,s=_2c3||_2c1.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,_2c4){node=dom.byId(node);var s=_2c4||_2c1.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,_2c5){node=dom.byId(node);var s=_2c5||_2c1.getComputedStyle(node),px=_2c1.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,_2c6){node=dom.byId(node);var s=_2c6||_2c1.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_2c1.toPixelValue,pcs;if(has("mozilla")){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl;t=st;}else{if(p&&p.style){pcs=_2c1.getComputedStyle(p);if(pcs.overflow!="visible"){l+=pcs.borderLeftStyle!=none?px(node,pcs.borderLeftWidth):0;t+=pcs.borderTopStyle!=none?px(node,pcs.borderTopWidth):0;}}}}else{if(has("opera")||(has("ie")==8&&!has("quirks"))){if(p){pcs=_2c1.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,_2c7){node=dom.byId(node);var s=_2c7||_2c1.getComputedStyle(node),w=node.clientWidth,h,pe=geom.getPadExtents(node,s),be=geom.getBorderExtents(node,s);if(!w){w=node.offsetWidth;h=node.offsetHeight;}else{h=node.clientHeight;be.w=be.h=0;}if(has("opera")){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};function _2c8(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 _2c9(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _2ca(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_2c9(node);};geom.setContentSize=function setContentSize(node,box,_2cb){node=dom.byId(node);var w=box.w,h=box.h;if(_2ca(node)){var pb=geom.getPadBorderExtents(node,_2cb);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_2c8(node,NaN,NaN,w,h);};var _2cc={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_2cd){node=dom.byId(node);var s=_2cd||_2c1.getComputedStyle(node),w=box.w,h=box.h,pb=_2ca(node)?_2cc:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_2c9(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);}_2c8(node,box.l,box.t,w,h);};geom.isBodyLtr=function isBodyLtr(doc){doc=doc||win.doc;return (win.body(doc).dir||doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};geom.docScroll=function docScroll(doc){doc=doc||win.doc;var node=win.doc.parentWindow||win.doc.defaultView;return "pageXOffset" in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body(doc):doc.documentElement)&&{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0,doc),y:node.scrollTop||0};};if(has("ie")){geom.getIeDocumentElementOffset=function getIeDocumentElementOffset(doc){doc=doc||win.doc;var de=doc.documentElement;if(has("ie")<8){var r=de.getBoundingClientRect(),l=r.left,t=r.top;if(has("ie")<7){l+=de.clientLeft;t+=de.clientTop;}return {x:l<0?0:l,y:t<0?0:t};}else{return {x:0,y:0};}};}geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_2ce,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){_2ce+=de.clientLeft;}return (ie<8||qk)?(_2ce+de.clientWidth-de.scrollWidth):-_2ce;}return _2ce;};geom.position=function(node,_2cf){node=dom.byId(node);var db=win.body(node.ownerDocument),ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")<9){var _2d0=geom.getIeDocumentElementOffset(node.ownerDocument);ret.x-=_2d0.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_2d0.y+(has("quirks")?db.clientTop+db.offsetTop:0);}if(_2cf){var _2d1=geom.docScroll(node.ownerDocument);ret.x+=_2d1.x;ret.y+=_2d1.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_2d2){node=dom.byId(node);var me=geom.getMarginExtents(node,_2d2||_2c1.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_2d3){if(!("layerX" in _2d3)){_2d3.layerX=_2d3.offsetX;_2d3.layerY=_2d3.offsetY;}if(!has("dom-addeventlistener")){var se=_2d3.target;var doc=(se&&se.ownerDocument)||document;var _2d4=has("quirks")?doc.body:doc.documentElement;var _2d5=geom.getIeDocumentElementOffset(doc);_2d3.pageX=_2d3.clientX+geom.fixIeBiDiScrollLeft(_2d4.scrollLeft||0,doc)-_2d5.x;_2d3.pageY=_2d3.clientY+(_2d4.scrollTop||0)-_2d5.y;}};return geom;});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_2d6,dojo,has,lang,dom,_2d7,ctr,conn){var _2d8={},_2d9=0,_2da=dojo._scopeName+"attrid";_2d6.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_2d6.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2db=_2d6.names[lc]||name;return node[_2db];};_2d6.set=function setProp(node,name,_2dc){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_2d6.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_2dd=_2d6.names[lc]||name;if(_2dd=="style"&&typeof _2dc!="string"){_2d7.set(node,_2dc);return node;}if(_2dd=="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(_2dc,node.ownerDocument));}else{node[_2dd]=_2dc;}return node;}if(lang.isFunction(_2dc)){var _2de=node[_2da];if(!_2de){_2de=_2d9++;node[_2da]=_2de;}if(!_2d8[_2de]){_2d8[_2de]={};}var h=_2d8[_2de][_2dd];if(h){conn.disconnect(h);}else{try{delete node[_2dd];}catch(e){}}if(_2dc){_2d8[_2de][_2dd]=conn.connect(node,_2dd,_2dc);}else{node[_2dd]=null;}return node;}node[_2dd]=_2dc;return node;};});},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(_2df,_2e0){"use strict";return function when(_2e1,_2e2,_2e3,_2e4){var _2e5=_2e1&&typeof _2e1.then==="function";var _2e6=_2e5&&_2e1 instanceof _2e0;if(!_2e5){if(_2e2){return _2e2(_2e1);}else{return new _2df().resolve(_2e1);}}else{if(!_2e6){var _2e7=new _2df(_2e1.cancel);_2e1.then(_2e7.resolve,_2e7.reject,_2e7.progress);_2e1=_2e7.promise;}}if(_2e2||_2e3||_2e4){return _2e1.then(_2e2,_2e3,_2e4);}return _2e1;};});},"dojo/dom-attr":function(){define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_2e8,has,lang,dom,_2e9,prop){var _2ea={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_2eb={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _2ec(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};_2e8.has=function hasAttr(node,name){var lc=name.toLowerCase();return _2ea[prop.names[lc]||name]||_2ec(dom.byId(node),_2eb[lc]||name);};_2e8.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2ed=prop.names[lc]||name,_2ee=_2ea[_2ed],_2ef=node[_2ed];if(_2ee&&typeof _2ef!="undefined"){return _2ef;}if(_2ed!="href"&&(typeof _2ef=="boolean"||lang.isFunction(_2ef))){return _2ef;}var _2f0=_2eb[lc]||name;return _2ec(node,_2f0)?node.getAttribute(_2f0):null;};_2e8.set=function setAttr(node,name,_2f1){node=dom.byId(node);if(arguments.length==2){for(var x in name){_2e8.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_2f2=prop.names[lc]||name,_2f3=_2ea[_2f2];if(_2f2=="style"&&typeof _2f1!="string"){_2e9.set(node,_2f1);return node;}if(_2f3||typeof _2f1=="boolean"||lang.isFunction(_2f1)){return prop.set(node,name,_2f1);}node.setAttribute(_2eb[lc]||name,_2f1);return node;};_2e8.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_2eb[name.toLowerCase()]||name);};_2e8.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2f4=prop.names[lc]||name;if((_2f4 in node)&&_2f4!="href"){return node[_2f4];}var _2f5=_2eb[lc]||name;return _2ec(node,_2f5)?node.getAttribute(_2f5):null;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr","./on"],function(_2f6,dojo,has,win,dom,attr,on){var _2f7={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"]},_2f8=/<\s*([\w\:]+)/,_2f9={},_2fa=0,_2fb="__"+dojo._scopeName+"ToDomId";for(var _2fc in _2f7){if(_2f7.hasOwnProperty(_2fc)){var tw=_2f7[_2fc];tw.pre=_2fc=="option"?"