/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

//>>built
(function(a,i){var l,o=function(){},g=function(a){for(var c in a)return 0;return 1},k={}.toString,n=function(a){return k.call(a)=="[object Function]"},j=function(a){return k.call(a)=="[object String]"},p=function(a){return k.call(a)=="[object Array]"},b=function(a,c){if(a)for(var b=0;b<a.length;)c(a[b++])},h=function(a,c){for(var b in c)a[b]=c[b];return a},e=function(a,c){return h(Error(a),{src:"dojoLoader",info:c})},f=1,q=function(){return"_"+f++},c=function(a,b,d){return Da(a,b,d,0,c)},d=this,m=
d.document,u=m&&m.createElement("DiV"),s=c.has=function(a){return n(t[a])?t[a]=t[a](d,m,u):t[a]},t=s.cache=i.hasCache;s.add=function(a,c,b,d){(t[a]===void 0||d)&&(t[a]=c);return b&&s(a)};for(var r in a.has)s.add(r,a.has[r],0,1);var v=0,z=[],H=0,P=o,F=o,N;c.isXdUrl=o;c.initSyncLoader=function(a,c,b){H||(H=a,P=c,F=b);return{sync:"sync",xd:"xd",arrived:2,nonmodule:3,executing:4,executed:5,syncExecStack:z,modules:y,execQ:K,getModule:V,injectModule:ga,setArrived:Y,signal:D,finishExec:aa,execModule:ba,
dojoRequirePlugin:H,getLegacyMode:function(){return v},holdIdle:function(){S++},releaseIdle:function(){ca()}}};var G=location.protocol,L=location.host,w=!L;c.isXdUrl=function(a){if(w||/^\./.test(a))return!1;if(/^\/\//.test(a))return!0;return(a=a.match(/^([^\/\:]+\:)\/\/([^\/]+)/))&&(a[1]!=G||a[2]!=L)};s.add("dojo-force-activex-xhr",!m.addEventListener&&window.location.protocol=="file:");s.add("native-xhr",typeof XMLHttpRequest!="undefined");if(s("native-xhr")&&!s("dojo-force-activex-xhr"))N=function(){return new XMLHttpRequest};
else{r=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];var A;for(l=0;l<3;)try{if(A=r[l++],new ActiveXObject(A))break}catch(I){}N=function(){return new ActiveXObject(A)}}c.getXhr=N;s.add("dojo-gettext-api",1);c.getText=function(a,c,b){var d=N();d.open("GET",ha(a),!1);d.send(null);if(d.status==200||!location.host&&!d.status)b&&b(d.responseText,c);else throw e("xhrFailed",d.status);return d.responseText};var C=new Function("return eval(arguments[0]);");c.eval=function(a,c){return C(a+"\r\n//# sourceURL="+
c)};var E={},D=c.signal=function(a,c){var d=E[a];b(d&&d.slice(0),function(a){a.apply(null,p(c)?c:[c])})},Z=c.on=function(a,c){var b=E[a]||(E[a]=[]);b.push(c);return{remove:function(){for(var a=0;a<b.length;a++)if(b[a]===c){b.splice(a,1);break}}}},T=[],W={},J=[],B={},Q={},x=[],y={},R="",U={},ia={};r={};var ja=function(a){var c,b,d,e;for(c in ia)b=ia[c],(d=c.match(/^url\:(.+)/))?U[Ea(d[1],a)]=b:c=="*now"?e=b:c!="*noref"&&(U[da(c,a).mid]=b);e&&e(ua(a));ia={}},va=function(a,c,b){c.splice(0,c.length);
var d,e=0;for(d in a)c.push([d,a[d]]),a[d]==b&&(e=d);c.sort(function(a,c){return c[0].length-a[0].length});for(a=0;a<c.length;)b=c[a++],b[2]=RegExp("^"+b[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(a){return"\\"+a})+"(/|$)"),b[3]=b[0].length+1;return e},Fa=function(a,c){var b=a.name;b||(b=a,a={name:b});a=h({main:"main",mapProg:[]},a);a.location=(c||"")+(a.location?a.location:b);a.reverseName=va(a.packageMap,a.mapProg,b);if(!a.main.indexOf("./"))a.main=a.main.substring(2);h(W,a.paths);B[b]=
a;Q[b]=b},ka=function(a,d){for(var e in a){if(e=="waitSeconds")c.waitms=(a[e]||0)*1E3;e=="cacheBust"&&(R=a[e]?j(a[e])?a[e]:(new Date).getTime()+"":"");if(e=="baseUrl"||e=="combo")c[e]=a[e];if(e=="async"){var f=a[e];c.legacyMode=v=j(f)&&/sync|legacyAsync/.test(f)?f:!f?"sync":!1;c.async=!v}a[e]!==t&&(c.rawConfig[e]=a[e],e!="has"&&s.add("config-"+e,a[e],0,d))}if(!c.baseUrl)c.baseUrl="./";/\/$/.test(c.baseUrl)||(c.baseUrl+="/");for(e in a.has)s.add(e,a.has[e],0,d);b(a.packages,Fa);for(var m in a.packagePaths)b(a.packagePaths[m],
function(a){Fa(a,m+"/")});va(h(W,a.paths),J);b(a.aliases,function(a){j(a[0])&&(a[0]=RegExp("^"+a[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(a){return"\\"+a})+"$"));T.push(a)});va(h(Q,a.packageMap),x);if(a.cache)ja(),ia=a.cache,a.cache["*noref"]&&ja();D("config",[a,c.rawConfig])};s("dojo-cdn");var O,la,wa,ma=m.getElementsByTagName("script");for(l=0;l<ma.length&&!wa;l++)if((la=ma[l].getAttribute("src"))&&(wa=la.match(/(.*)\/?dojo\.js(\W|$)/i)))a.baseUrl=O=a.baseUrl||i.baseUrl||wa[1],(la=ma[l].getAttribute("data-dojo-config")||
ma[l].getAttribute("djConfig"))&&(r=c.eval("({ "+la+" })","data-dojo-config"));c.rawConfig={};ka(i,1);ka(a,1);ka(r,1);if(s("dojo-cdn"))B.dojo.location=O,B.dijit.location=O+"../dijit/",B.dojox.location=O+"../dojox/";var ea=function(a){S++;b(a.deps,ga);ca()},Da=function(a,b,d,f,m){if(j(a)){if((b=V(a,f,!0))&&b.executed)return b.result;throw e("undefinedModule",a);}p(a)||(ka(a),a=b,b=d);if(p(a))if(a.length){for(var d="require*"+q(),k,g=[],n=0;n<a.length;){k=a[n++];if(k in{exports:1,module:1})throw e("illegalModuleId",
k);g.push(V(k,f))}b=h(na("",d,0,""),{injected:2,deps:g,def:b||o,require:f?f.require:c});y[b.mid]=b;ea(b);a=S&&c.async;S++;ba(b,a);ca();b.executed||K.push(b);$()}else b&&b();return m},ua=function(a){if(!a)return c;var b=a.require;if(!b)b=function(c,d,e){return Da(c,d,e,a,b)},a.require=h(b,c),b.module=a,b.toUrl=function(b){return Ea(b,a)},b.toAbsMid=function(b){return xa(b,a)},b.syncLoadNls=function(b){var b=da(b,a),c=y[b.mid];if(!c||!c.executed)if(X=U[b.mid]||U[b.cacheId])oa(X),c=y[b.mid];return c&&
c.executed&&c.result};return b},K=[],pa=[],M={},Qa=function(a){a.injected=1;M[a.mid]=1;a.url&&(M[a.url]=a.pack||1)},Y=function(a){a.injected=2;delete M[a.mid];a.url&&delete M[a.url];g(M)&&(qa(),v=="xd"&&(v="sync"))},Ra=c.idle=function(){return!pa.length&&g(M)&&!K.length&&!S},ya=function(a,b){for(var c=0;c<b.length;c++)if(b[c][2].test(a))return b[c];return 0},Ga=function(a){for(var b=[],c,d,a=a.replace(/\\/g,"/").split("/");a.length;)c=a.shift(),c==".."&&b.length&&d!=".."?(b.pop(),d=b[b.length-1]):
c!="."&&b.push(d=c);return b.join("/")},na=function(a,b,d,e,f){var m=c.isXdUrl(e);return{pid:a,mid:b,pack:d,url:e,executed:0,def:0,isXd:m,isAmd:!!(m||B[a]&&B[a].isAmd),cacheId:f}},Ha=function(a,c,d,f,m,h,k,g){var j,p,q,u=0;q=/^\./.test(a);if(/(^\/)|(\:)|(\.js$)/.test(a)||q&&!c)return na(0,a,0,a);else{a=Ga(q?c.mid+"/../"+a:a);if(/^\./.test(a))throw e("irrationalPath",a);if(q=(c=c&&c.pack&&c.pack.mapProg)&&ya(a,c)||ya(a,h)){c=q[1];a=a.substring(q[3]);j=d[c];if(!a)a=j.main;p=a;u=j.reverseName+"/"+a;
a=c+"/"+a}else c="";var G=0;b(T,function(b){var c=a.match(b[0]);c&&c.length>0&&(G=n(b[1])?a.replace(b[0],b[1]):b[1])});if(G)return Ha(G,0,d,f,m,h,k,g);if(d=f[a])return g?na(d.pid,d.mid,d.pack,d.url,u):f[a]}f=(q=ya(a,k))?q[1]+a.substring(q[3]-1):c?j.location+"/"+p:s("config-tlmSiblingOfDojo")?"../"+a:a;/(^\/)|(\:)/.test(f)||(f=m+f);f+=".js";return na(c,a,j,Ga(f),u)},da=function(a,b){return Ha(a,b,B,y,c.baseUrl,x,J)},Ia=function(a,b,c){return a.normalize?a.normalize(b,function(a){return xa(a,c)}):xa(b,
c)},Ja=0,V=function(a,b,c){var d,e;(d=a.match(/^(.+?)\!(.*)$/))?(e=V(d[1],b,c),v=="sync"&&!e.executed&&(ga(e),e.injected===2&&!e.executed&&(S++,ba(e),ca()),e.executed?ra(e):K.unshift(e)),e.executed===5&&!e.load&&ra(e),e.load?(d=Ia(e,d[2],b),a=e.mid+"!"+(e.dynamic?++Ja+"!":"")+d):(d=d[2],a=e.mid+"!"+ ++Ja+"!waitingForPlugin"),a={plugin:e,mid:a,req:ua(b),prid:d}):a=da(a,b);return y[a.mid]||!c&&(y[a.mid]=a)},xa=c.toAbsMid=function(a,b){return da(a,b).mid},Ea=c.toUrl=function(a,b){var c=da(a+"/x",b),
d=c.url;return ha(c.pid===0?a:d.substring(0,d.length-5))},Ka={injected:2,executed:5,def:3,result:3};O=function(a){return y[a]=h({mid:a},Ka)};var Sa=O("require"),Ta=O("exports"),Ua=O("module"),sa={},za=0,ra=function(a){var b=a.result;a.dynamic=b.dynamic;a.normalize=b.normalize;a.load=b.load;return a},Va=function(a){var c={};b(a.loadQ,function(b){var d=Ia(a,b.prid,b.req.module),e=a.dynamic?b.mid.replace(/waitingForPlugin$/,d):a.mid+"!"+d,d=h(h({},b),{mid:e,prid:d,injected:0});y[e]||La(y[e]=d);c[b.mid]=
y[e];Y(b);delete y[b.mid]});a.loadQ=0;var d=function(a){for(var b=a.deps||[],d=0;d<b.length;d++)(a=c[b[d].mid])&&(b[d]=a)},e;for(e in y)d(y[e]);b(K,d)},aa=function(a){c.trace("loader-finish-exec",[a.mid]);a.executed=5;a.defOrder=za++;b(a.provides,function(a){a()});a.loadQ&&(ra(a),Va(a));for(l=0;l<K.length;)K[l]===a?K.splice(l,1):l++},Wa=[],ba=function(a,b){if(a.executed===4)return c.trace("loader-circular-dependency",[Wa.concat(d).join("->")]),!a.def||b?sa:a.cjs&&a.cjs.exports;if(!a.executed){if(!a.def)return sa;
var d=a.mid,f=a.deps||[],m,h=[],k=0;for(a.executed=4;k<f.length;){m=f[k++];m=m===Sa?ua(a):m===Ta?a.cjs.exports:m===Ua?a.cjs:ba(m,b);if(m===sa)return a.executed=0,c.trace("loader-exec-module",["abort",d]),sa;h.push(m)}c.trace("loader-run-factory",[a.mid]);var d=a.def,j;z.unshift(a);if(s("config-dojo-loader-catches"))try{j=n(d)?d.apply(null,h):d}catch(g){D("error",a.result=e("factoryThrew",[a,g]))}else j=n(d)?d.apply(null,h):d;a.result=j===void 0&&a.cjs?a.cjs.exports:j;z.shift(a);aa(a)}return a.result},
S=0,$=function(){if(!S){S++;P();for(var a,b,c=0;c<K.length;)a=za,b=K[c],ba(b),a!=za?(P(),c=0):c++;ca()}},ca=function(){S--;Ra()&&D("idle",[])};s("dojo-loader-eval-hint-url")===void 0&&s.add("dojo-loader-eval-hint-url",1);var ha=function(a){a+="";return a+(R?(/\?/.test(a)?"&":"?")+R:"")},La=function(a){var b=a.plugin;b.executed===5&&!b.load&&ra(b);var c=function(b){a.result=b;Y(a);aa(a);$()};b.load?b.load(a.prid,a.req,c):b.loadQ?b.loadQ.push(a):(b.loadQ=[a],K.unshift(b),ga(b))},X=0,fa=0,Aa=0,oa=function(a,
b){Aa=1;if(s("config-dojo-loader-catches"))try{a===X?X.call(null):c.eval(a,s("dojo-loader-eval-hint-url")?b.url:b.mid)}catch(d){D("error",e("evalModuleThrew",b))}else a===X?X.call(null):c.eval(a,s("dojo-loader-eval-hint-url")?b.url:b.mid);Aa=0},ga=function(a){var d=a.mid,f=a.url;if(!a.executed&&!a.injected&&!(M[d]||a.url&&(a.pack&&M[a.url]===a.pack||M[a.url]==1)))if(Qa(a),a.plugin)La(a);else{var m=function(){Ma(a);a.injected!==2&&(Y(a),h(a,Ka));v?!z.length&&$():$()};if(X=U[d]||U[a.cacheId])c.trace("loader-inject",
["cache",a.mid,f]),oa(X,a),m();else{if(v)if(a.isXd)v=="sync"&&(v="xd");else if(!(a.isAmd&&v!="sync")){var k=function(e){if(v=="sync"){z.unshift(a);oa(e,a);z.shift();Ma(a);a.cjs||(Y(a),aa(a));if(a.finish){var e=d+"*finish",h=a.finish;delete a.finish;Ba(e,["dojo",("dojo/require!"+h.join(",")).replace(/\./g,"/")],function(a){b(h,function(b){a.require(b)})});K.unshift(V(e))}m()}else(e=F(a,e))?(oa(e,a),m()):(fa=a,c.injectUrl(ha(f),m,a),fa=0)};c.trace("loader-inject",["xhr",a.mid,f,v!="sync"]);if(s("config-dojo-loader-catches"))try{c.getText(f,
v!="sync",k)}catch(j){D("error",e("xhrInjectFailed",[a,j]))}else c.getText(f,v!="sync",k);return}c.trace("loader-inject",["script",a.mid,f]);fa=a;c.injectUrl(ha(f),m,a);fa=0}}},Ca=function(a,b,d){c.trace("loader-define-module",[a.mid,b]);var f=a.mid;if(a.injected===2)return D("error",e("multipleDefine",a)),a;h(a,{deps:b,def:d,cjs:{id:a.mid,uri:a.url,exports:a.result={},setExports:function(b){a.cjs.exports=b}}});for(var m=0;m<b.length;m++)b[m]=V(b[m],a);v&&!M[f]&&(ea(a),K.push(a),$());Y(a);if(!n(d)&&
!b.length)a.result=d,aa(a);return a},Ma=function(a,c){for(var d=[],e,f;pa.length;)f=pa.shift(),c&&(f[0]=c.shift()),e=f[0]&&V(f[0])||a,d.push([e,f[1],f[2]]);ja(a);b(d,function(a){ea(Ca.apply(null,a))})},ta=0,qa=o,Na=o,qa=function(){ta&&clearTimeout(ta);ta=0},Na=function(){qa();c.waitms&&(ta=setTimeout(function(){qa();D("error",e("timeout",M))},c.waitms))};s.add("ie-event-behavior",m.attachEvent&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));var Oa=function(a,b,c,d){return s("ie-event-behavior")?
(a.attachEvent(c,d),function(){a.detachEvent(c,d)}):(a.addEventListener(b,d,!1),function(){a.removeEventListener(b,d,!1)})},Xa=Oa(window,"load","onload",function(){c.pageLoaded=1;m.readyState!="complete"&&(m.readyState="complete");Xa()}),Pa=m.getElementsByTagName("script")[0],Ya=Pa.parentNode;c.injectUrl=function(a,b,c){Na();var c=c.node=m.createElement("script"),d=Oa(c,"load","onreadystatechange",function(a){var a=a||window.event,c=a.target||a.srcElement;if(a.type==="load"||/complete|loaded/.test(c.readyState))d(),
b&&b()});c.type="text/javascript";c.charset="utf-8";c.src=a;Ya.insertBefore(c,Pa);return c};c.log=function(){try{for(var a=0;a<arguments.length;a++);}catch(b){}};c.trace=o;var Ba=function(a,b,d){var f=arguments.length,m=0,h=["require","exports","module"];m||(m=f==1?[0,h,a]:f==2?p(a)?[0,a,b]:n(b)?[a,h,b]:[a,[],b]:[a,b,d]);c.trace("loader-define",m.slice(0,2));if((f=m[0]&&V(m[0]))&&!M[f.mid])ea(Ca(f,m[1],m[2]));else if(!s("ie-event-behavior")||Aa)pa.push(m);else{f=f||fa;if(!f)for(a in M)if((h=y[a])&&
h.node&&h.node.readyState==="interactive"){f=h;break}f?(ja(f),ea(Ca(f,m[1],m[2]))):D("error",e("ieDefineFailed",m[0]));$()}};Ba.amd={vendor:"dojotoolkit.org"};h(h(c,i.loaderPatch),a.loaderPatch);Z("error",function(a){try{if(console.error(a),a instanceof Error)for(var b in a);}catch(c){}});h(c,{uid:q,cache:U,packs:B});d.define?D("error",e("defineAlreadyDefined",0)):(d.define=Ba,d.require=c);O=r.deps||a.deps||i.deps;r=r.callback||a.callback||i.callback;c.boot=O||r?[O||[],r]:0})(this.dojoConfig||this.djConfig||
this.require||{},{async:"legacyAsync",hasCache:{"config-selectorEngine":"acme","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-cdn":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:".",name:"dojo"}]});
require({cache:{"dojo/_base/fx":function(){define(["./kernel","./lang","../Evented","./Color","./connect","./sniff","../dom","../dom-style"],function(a,i,l,o,g,k,n,j){var p=i.mixin;a._Line=function(a,b){this.start=a;this.end=b};a._Line.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};a.Animation=function(b){p(this,b);if(i.isArray(this.curve))this.curve=new a._Line(this.curve[0],this.curve[1])};a.Animation.prototype=new l;a._Animation=a.Animation;i.extend(a.Animation,{duration:350,
repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(b,d){var e=d||[];if(this[b])if(a.config.debugAtAllCosts)this[b].apply(this,e);else try{this[b].apply(this,e)}catch(f){console.error("exception in animation handler for:",b),console.error(f)}return this},play:function(a,b){this._delayTimer&&this._clearTimer();if(b)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&!this._paused)return this;
this._fire("beforeBegin",[this.node]);var e=a||this.delay,f=i.hitch(this,"_play",b);if(e>0)return this._delayTimer=setTimeout(f,e),this;f();return this},_play:function(){this._delayTimer&&this._clearTimer();this._startTime=(new Date).valueOf();this._paused&&(this._startTime-=this.duration*this._percent);this._active=!0;this._paused=!1;var a=this.curve.getValue(this._getStep());if(!this._percent){if(!this._startRepeatCount)this._startRepeatCount=this.repeat;this._fire("onBegin",[a])}this._fire("onPlay",
[a]);this._cycle();return this},pause:function(){this._delayTimer&&this._clearTimer();this._stopTimer();if(!this._active)return this;this._paused=!0;this._fire("onPause",[this.curve.getValue(this._getStep())]);return this},gotoPercent:function(a,b){this._stopTimer();this._active=this._paused=!0;this._percent=a;b&&this.play();return this},stop:function(a){this._delayTimer&&this._clearTimer();if(!this._timer)return this;this._stopTimer();if(a)this._percent=1;this._fire("onStop",[this.curve.getValue(this._getStep())]);
this._active=this._paused=!1;return this},status:function(){if(this._active)return this._paused?"paused":"playing";return"stopped"},_cycle:function(){if(this._active){var a=((new Date).valueOf()-this._startTime)/this.duration;a>=1&&(a=1);this._percent=a;this.easing&&(a=this.easing(a));this._fire("onAnimate",[this.curve.getValue(a)]);if(this._percent<1)this._startTimer();else{this._active=!1;if(this.repeat>0)this.repeat--,this.play(null,!0);else if(this.repeat==-1)this.play(null,!0);else if(this._startRepeatCount)this.repeat=
this._startRepeatCount,this._startRepeatCount=0;this._percent=0;this._fire("onEnd",[this.node]);!this.repeat&&this._stopTimer()}}return this},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer}});var b=0,h=null,e={run:function(){}};i.extend(a.Animation,{_startTimer:function(){if(!this._timer)this._timer=g.connect(e,"run",this,"_cycle"),b++;h||(h=setInterval(i.hitch(e,"run"),this.rate))},_stopTimer:function(){if(this._timer)g.disconnect(this._timer),this._timer=null,b--;
b<=0&&(clearInterval(h),h=null,b=0)}});var f=k("ie")?function(a){var b=a.style;if(!b.width.length&&j.get(a,"width")=="auto")b.width="auto"}:function(){};a._fade=function(b){b.node=n.byId(b.node);var d=p({properties:{}},b),b=d.properties.opacity={};b.start=!("start"in d)?function(){return+j.get(d.node,"opacity")||0}:d.start;b.end=d.end;b=a.animateProperty(d);g.connect(b,"beforeBegin",i.partial(f,d.node));return b};a.fadeIn=function(b){return a._fade(p({end:1},b))};a.fadeOut=function(b){return a._fade(p({end:0},
b))};a._defaultEasing=function(a){return 0.5+Math.sin((a+1.5)*Math.PI)/2};var q=function(a){this._properties=a;for(var b in a){var e=a[b];if(e.start instanceof o)e.tempColor=new o}};q.prototype.getValue=function(a){var b={},e;for(e in this._properties){var f=this._properties[e],h=f.start;h instanceof o?b[e]=o.blendColors(h,f.end,a,f.tempColor).toCss():i.isArray(h)||(b[e]=(f.end-h)*a+h+(e!="opacity"?f.units||"px":0))}return b};a.animateProperty=function(b){var d=b.node=n.byId(b.node);if(!b.easing)b.easing=
a._defaultEasing;b=new a.Animation(b);g.connect(b,"beforeBegin",b,function(){var a={},b;for(b in this.properties){if(b=="width"||b=="height")this.node.display="block";var c=this.properties[b];i.isFunction(c)&&(c=c(d));c=a[b]=p({},i.isObject(c)?c:{end:c});if(i.isFunction(c.start))c.start=c.start(d);if(i.isFunction(c.end))c.end=c.end(d);var e=b.toLowerCase().indexOf("color")>=0,f=function(a,b){var c={height:a.offsetHeight,width:a.offsetWidth}[b];if(c!==void 0)return c;c=j.get(a,b);return b=="opacity"?
+c:e?c:parseFloat(c)};if("end"in c){if(!("start"in c))c.start=f(d,b)}else c.end=f(d,b);e?(c.start=new o(c.start),c.end=new o(c.end)):c.start=b=="opacity"?+c.start:parseFloat(c.start)}this.curve=new q(a)});g.connect(b,"onAnimate",i.hitch(j,"set",b.node));return b};a.anim=function(b,d,e,f,h,k){return a.animateProperty({node:b,duration:e||a.Animation.prototype.duration,properties:d,easing:f,onEnd:h}).play(k||0)};return{_Line:a._Line,Animation:a.Animation,_fade:a._fade,fadeIn:a.fadeIn,fadeOut:a.fadeOut,
_defaultEasing:a._defaultEasing,animateProperty:a.animateProperty,anim:a.anim}})},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(a,i,l,o){var g={fieldToObject:function(a){var g=null;if(a=i.byId(a)){var j=a.name,p=(a.type||"").toLowerCase();if(j&&p&&!a.disabled)if(p=="radio"||p=="checkbox"){if(a.checked)g=a.value}else if(a.multiple){g=[];for(a=[a.firstChild];a.length;)for(j=a.pop();j;j=j.nextSibling)if(j.nodeType==1&&j.tagName.toLowerCase()=="option")j.selected&&
g.push(j.value);else{j.nextSibling&&a.push(j.nextSibling);j.firstChild&&a.push(j.firstChild);break}}else g=a.value}return g},toObject:function(k){for(var n={},k=i.byId(k).elements,j=0,p=k.length;j<p;++j){var b=k[j],h=b.name,e=(b.type||"").toLowerCase();if(h&&e&&"file|submit|image|reset|button".indexOf(e)<0&&!b.disabled){var f=n,q=h,b=g.fieldToObject(b);if(b!==null){var c=f[q];typeof c=="string"?f[q]=[c,b]:a.isArray(c)?c.push(b):f[q]=b}if(e=="image")n[h+".x"]=n[h+".y"]=n[h].x=n[h].y=0}}return n},toQuery:function(a){return l.objectToQuery(g.toObject(a))},
toJson:function(a,n){return o.stringify(g.toObject(a),null,n?4:0)}};return g})},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json"],function(a,i,l,o,g,k,n,j){l.add("dojo-preload-i18n-Api",1);var p=a.i18n={},b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,h=function(a,b,c,d){for(var e=[c+d],b=b.split("-"),f="",h=0;h<b.length;h++)f+=(f?"-":"")+b[h],(!a||a[f])&&e.push(c+f+"/"+d);return e},e={},f=a.getL10nName=function(b,
c,d){d=d?d.toLowerCase():a.locale;b="dojo/i18n!"+b.replace(/\./g,"/");c=c.replace(/\./g,"/");return/root/i.test(d)?b+"/nls/"+c:b+"/nls/"+d+"/"+c},q=function(a,b,c,d,f,m){a([b],function(j){var g=k.clone(j.root||j.ROOT),p=h(!j._v1x&&j,f,c,d);a(p,function(){for(var a=1;a<p.length;a++)g=k.mixin(k.clone(g),arguments[a]);e[b+"/"+f]=g;m()})})},c=function(a){var b=g.extraLocale||[],b=k.isArray(b)?b:[b];b.push(a);return b},d=function(d,f,h){if(l("dojo-preload-i18n-Api")){var m=d.split("*"),g=m[1]=="preload";
g&&(e[d]||(e[d]=1,r(m[2],j.parse(m[3]),1)),h(1));if(!(m=g))s&&t.push([d,f,h]),m=s;if(m)return}var d=b.exec(d),p=d[1]+"/",n=d[5]||d[4],i=p+n,m=(d=d[5]&&d[4])||a.locale,u=i+"/"+m,d=d?[m]:c(m),v=d.length,z=function(){--v||h(k.delegate(e[u]))};o.forEach(d,function(a){var b=i+"/"+a;l("dojo-preload-i18n-Api")&&H(b);e[b]?z():q(f,i,p,n,a,z)})};if(l("dojo-unit-tests"))var m=p.unitTests=[];l("dojo-preload-i18n-Api");var u=p.normalizeLocale=function(b){b=b?b.toLowerCase():a.locale;return b=="root"?"ROOT":b},
s=0,t=[],r=p._preloadLocalizations=function(b,c,f){function h(a,b){for(var c=a.split("-");c.length;){if(b(c.join("-")))return!0;c.pop()}return b("ROOT")}function m(a){a=u(a);h(a,function(a){if(o.indexOf(c,a)>=0){var m=b.replace(/\./g,"/")+"_"+a;s++;(i.isXdUrl(i.toUrl(m+".js"))||f?i:z)([m],function(b){for(var c in b)e[c+"/"+a]=b[c];for(--s;!s&&t.length;)d.apply(null,t.shift())});return!0}return!1})}m();o.forEach(a.config.extraLocale,m)},v=new Function("__bundle","__checkForLegacyModules","__mid","var define = function(){define.called = 1;},    require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return 1;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"),
z=function(a,b){var c=[];o.forEach(a,function(a){function b(f){f=v(f,H,a);f===1?i([a],function(a){c.push(e[d]=a)}):(f instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+d,f),f={}),c.push(e[d]=/nls\/[^\/]+\/[^\/]+$/.test(d)?f:{root:f,_v1x:1}))}var d=i.toUrl(a+".js");if(e[d])c.push(e[d]);else{var f=i.syncLoadNls(a);if(f)c.push(f);else if(n)n.get({url:d,sync:!0,load:b,error:function(){c.push(e[d]={})}});else try{i.getText(d,!0,b)}catch(m){c.push(e[d]={})}}});b&&b.apply(null,c)},
H=function(b){for(var c,d=b.split("/"),f=a.global[d[0]],m=1;f&&m<d.length-1;f=f[d[m++]]);f&&((c=f[d[m]])||(c=f[d[m].replace(/-/g,"_")]),c&&(e[b]=c));return c};p.getLocalization=function(a,b,c){var e,a=f(a,b,c).substring(10);d(a,!i.isXdUrl(i.toUrl(a+".js"))?z:i,function(a){e=a});return e};l("dojo-unit-tests")&&m.push(function(a){a.register("tests.i18n.unit",function(a){var b;b=v("{prop:1}");a.is({prop:1},b);a.is(void 0,b[1]);b=v("({prop:1})");a.is({prop:1},b);a.is(void 0,b[1]);b=v("{'prop-x':1}");
a.is({"prop-x":1},b);a.is(void 0,b[1]);b=v("({'prop-x':1})");a.is({"prop-x":1},b);a.is(void 0,b[1]);b=v("define({'prop-x':1})");a.is(1,b);b=v("this is total nonsense and should throw an error");a.is(b instanceof Error,!0)})});return k.mixin(p,{dynamic:!0,normalize:function(a,b){return/^\./.test(a)?b(a):a},load:d,cache:e})})},"dojo/_base/html":function(){define("dojo/_base/html",["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(a,
i,l,o,g,k,n,j){a.byId=i.byId;a.isDescendant=i.isDescendant;a.setSelectable=i.setSelectable;a.getAttr=o.get;a.setAttr=o.set;a.hasAttr=o.has;a.removeAttr=o.remove;a.getNodeProp=o.getNodeProp;a.attr=function(a,b,h){if(arguments.length==2)return o[typeof b=="string"?"get":"set"](a,b);return o.set(a,b,h)};a.hasClass=k.contains;a.addClass=k.add;a.removeClass=k.remove;a.toggleClass=k.toggle;a.replaceClass=k.replace;a._toDom=a.toDom=n.toDom;a.place=n.place;a.create=n.create;a.empty=function(a){n.empty(a)};
a._destroyElement=a.destroy=function(a){n.destroy(a)};a._getPadExtents=a.getPadExtents=j.getPadExtents;a._getBorderExtents=a.getBorderExtents=j.getBorderExtents;a._getPadBorderExtents=a.getPadBorderExtents=j.getPadBorderExtents;a._getMarginExtents=a.getMarginExtents=j.getMarginExtents;a._getMarginSize=a.getMarginSize=j.getMarginSize;a._getMarginBox=a.getMarginBox=j.getMarginBox;a.setMarginBox=j.setMarginBox;a._getContentBox=a.getContentBox=j.getContentBox;a.setContentSize=j.setContentSize;a._isBodyLtr=
a.isBodyLtr=j.isBodyLtr;a._docScroll=a.docScroll=j.docScroll;a._getIeDocumentElementOffset=a.getIeDocumentElementOffset=j.getIeDocumentElementOffset;a._fixIeBiDiScrollLeft=a.fixIeBiDiScrollLeft=j.fixIeBiDiScrollLeft;a.position=j.position;a.marginBox=function(a,b){return b?j.setMarginBox(a,b):j.getMarginBox(a)};a.contentBox=function(a,b){return b?j.setContentSize(a,b):j.getContentBox(a)};a.coords=function(g,b){a.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");var g=i.byId(g),
h=l.getComputedStyle(g),h=j.getMarginBox(g,h),e=j.position(g,b);h.x=e.x;h.y=e.y;return h};a.getProp=g.get;a.setProp=g.set;a.prop=function(a,b,h){if(arguments.length==2)return g[typeof b=="string"?"get":"set"](a,b);return g.set(a,b,h)};a.getStyle=l.get;a.setStyle=l.set;a.getComputedStyle=l.getComputedStyle;a.__toPixelValue=a.toPixelValue=l.toPixelValue;a.style=function(a,b,h){switch(arguments.length){case 1:return l.get(a);case 2:return l[typeof b=="string"?"get":"set"](a,b)}return l.set(a,b,h)};return a})},
"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(a,i,l,o){var g,k;g=function(){return this}();var n={},j={},p={config:i,global:g,dijit:n,dojox:j},n={dojo:["dojo",p],dijit:["dijit",n],dojox:["dojox",j]},o=l.packs&&l.packs[o.id.match(/[^\/]+/)[0]].packageMap||{};for(k in o)n[k]?n[k][0]=o[k]:n[k]=[o[k],{}];for(k in n)o=n[k],o[1]._scopeName=o[0],i.noGlobals||(g[o[0]]=o[1]);p.scopeMap=n;p.baseUrl=p.config.baseUrl=l.baseUrl;p.isAsync=l.async;p.locale=i.locale;g="$Rev: b4f2945 $".match(/[0-9a-f]{7,}/);
p.version={major:1,minor:7,patch:6,flag:"",revision:g?g[0]:NaN,toString:function(){var a=p.version;return a.major+"."+a.minor+"."+a.patch+a.flag+" ("+a.revision+")"}};p.eval=function(){};Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(p);p.exit=function(){};typeof console!="undefined"||(console={});var o=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"],
b;for(g=0;b=o[g++];)console[b]||function(){var a=b+"";console[a]="log"in console?function(){var b=Array.prototype.slice.call(arguments);b.unshift(a+":");console.log(b.join(" "))}:function(){};console[a]._fake=!0}();a.add("dojo-debug-messages",!!i.isDebug);a("dojo-debug-messages")?(p.deprecated=function(a,b,f){a="DEPRECATED: "+a;b&&(a+=" "+b);f&&(a+=" -- will be removed in version: "+f);console.warn(a)},p.experimental=function(a,b){var f="EXPERIMENTAL: "+a+" -- APIs subject to change without notice.";
b&&(f+=" "+b);console.warn(f)}):p.deprecated=p.experimental=function(){};if(i.modulePaths){p.deprecated("dojo.modulePaths","use paths configuration");a={};for(k in i.modulePaths)a[k.replace(/\./g,"/")]=i.modulePaths[k];l({paths:a})}p.moduleUrl=function(a,b){p.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var f=null;a&&(f=l.toUrl(a.replace(/\./g,"/")+(b?"/"+b:"")+"/*.*").replace(/\/\*\.\*/,"")+(b?"":"/"));return f};p._hasResource={};return p})},"dojo/io-query":function(){define(["./_base/lang"],
function(a){var i={};return{objectToQuery:function(l){var o=encodeURIComponent,g=[],k;for(k in l){var n=l[k];if(n!=i[k]){var j=o(k)+"=";if(a.isArray(n))for(var p=0,b=n.length;p<b;++p)g.push(j+o(n[p]));else g.push(j+o(n))}}return g.join("&")},queryToObject:function(i){for(var o=decodeURIComponent,i=i.split("&"),g={},k,n,j=0,p=i.length;j<p;++j)if(n=i[j],n.length){var b=n.indexOf("=");b<0?(k=o(n),n=""):(k=o(n.slice(0,b)),n=o(n.slice(b+1)));typeof g[k]=="string"&&(g[k]=[g[k]]);a.isArray(g[k])?g[k].push(n):
g[k]=n}return g}}})},"dojo/_base/Deferred":function(){define(["./kernel","./lang"],function(a,i){var l=function(){},o=Object.freeze||function(){};a.Deferred=function(g){function k(a){if(p)throw Error("This deferred has already been resolved");j=a;p=!0;n()}function n(){for(var a;!a&&e;){var d=e;e=e.next;if(a=d.progress==l)p=!1;var f=b?d.error:d.resolved;if(f)try{var h=f(j);h&&typeof h.then==="function"?h.then(i.hitch(d.deferred,"resolve"),i.hitch(d.deferred,"reject"),i.hitch(d.deferred,"progress")):
(f=a&&h===void 0,a&&!f&&(b=h instanceof Error),d.deferred[f&&b?"reject":"resolve"](f?j:h))}catch(g){d.deferred.reject(g)}else b?d.deferred.reject(j):d.deferred.resolve(j)}}var j,p,b,h,e,f=this.promise={};this.resolve=this.callback=function(a){this.fired=0;this.results=[a,null];k(a)};this.reject=this.errback=function(c){b=!0;this.fired=1;k(c);this.results=[null,c];if(!c||c.log!==!1)(a.config.deferredOnError||function(a){console.error(a)})(c)};this.progress=function(a){for(var b=e;b;){var f=b.progress;
f&&f(a);b=b.next}};this.addCallbacks=function(a,b){this.then(a,b,l);return this};f.then=this.then=function(b,d,m){var g=m==l?this:new a.Deferred(f.cancel),b={resolved:b,error:d,progress:m,deferred:g};e?h=h.next=b:e=h=b;p&&n();return g.promise};var q=this;f.cancel=this.cancel=function(){if(!p){var a=g&&g(q);if(!p)a instanceof Error||(a=Error(a)),a.log=!1,q.reject(a)}};o(f)};i.extend(a.Deferred,{addCallback:function(){return this.addCallbacks(i.hitch.apply(a,arguments))},addErrback:function(){return this.addCallbacks(null,
i.hitch.apply(a,arguments))},addBoth:function(){var g=i.hitch.apply(a,arguments);return this.addCallbacks(g,g)},fired:-1});a.Deferred.when=a.when=function(a,k,n,j){if(a&&typeof a.then==="function")return a.then(k,n,j);return k?k(a):a};return a.Deferred})},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(a,i,l,o,g,k,n,j,p){function b(a){return function(b,c,d){if(arguments.length==
2)return a[typeof c=="string"?"get":"set"](b,c);return a.set(b,c,d)}}var h=function(a){return a.length==1&&typeof a[0]=="string"},e=function(a){var b=a.parentNode;b&&b.removeChild(a)},f=i.NodeList,q=f._adaptWithCondition,c=f._adaptAsForEach,d=f._adaptAsMap;o.extend(f,{_normalize:function(b,c){var d=b.parse===!0;if(typeof b.template=="string")var f=b.templateFunc||a.string&&a.string.substitute,b=f?f(b.template,b):b;f=typeof b;f=="string"||f=="number"?(b=k.toDom(b,c&&c.ownerDocument),b=b.nodeType==
11?o._toArray(b.childNodes):[b]):o.isArrayLike(b)?o.isArray(b)||(b=o._toArray(b)):b=[b];if(d)b._runParse=!0;return b},_cloneNode:function(a){return a.cloneNode(!0)},_place:function(b,c,d,f){if(!(c.nodeType!=1&&d=="only"))for(var e,h=b.length,g=h-1;g>=0;g--){var j=f?this._cloneNode(b[g]):b[g];if(b._runParse&&a.parser&&a.parser.parse){e||(e=c.ownerDocument.createElement("div"));e.appendChild(j);a.parser.parse(e);for(j=e.firstChild;e.firstChild;)e.removeChild(e.firstChild)}g==h-1?k.place(j,c,d):c.parentNode.insertBefore(j,
c);c=j}},attr:q(b(j),h),style:q(b(p),h),addClass:c(g.add),removeClass:c(g.remove),replaceClass:c(g.replace),toggleClass:c(g.toggle),empty:c(k.empty),removeAttr:c(j.remove),position:d(n.position),marginBox:d(n.getMarginBox),place:function(a,b){var c=i(a)[0];return this.forEach(function(a){k.place(a,c,b)})},orphan:function(a){return(a?i._filterResult(this,a):this).forEach(e)},adopt:function(a,b){return i(a).place(this[0],b)._stash(this)},query:function(a){if(!a)return this;var b=new f;this.map(function(c){i(a,
c).forEach(function(a){a!==void 0&&b.push(a)})});return b._stash(this)},filter:function(a){var b=arguments,c=this,d=0;if(typeof a=="string"){c=i._filterResult(this,b[0]);if(b.length==1)return c._stash(this);d=1}return this._wrap(l.filter(c,b[d],b[d+1]),this)},addContent:function(a,b){for(var a=this._normalize(a,this[0]),c=0,d;d=this[c];c++)this._place(a,d,b,c>0);return this}});return f})},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader",
"./selector/_loader!default"],function(a,i,l,o,g,k,n,j){function p(a,b){var c=function(c,d){if(typeof d=="string"&&(d=l.byId(d),!d))return new b([]);var f=typeof c=="string"?a(c,d):c?c.orphan?c:[c]:[];if(f.orphan)return f;return new b(f)};c.matches=a.match||function(a,b,d){return c.filter([a],b,d).length>0};c.filter=a.filter||function(a,b,d){return c(b,d).filter(function(b){return g.indexOf(a,b)>-1})};if(typeof a!="function")var d=a.search,a=function(a,b){return d(b||document,a)};return c}i.add("array-extensible",
function(){return k.delegate([],{length:1}).length==1&&!i("bug-for-in-skips-shadowed")});var b=Array.prototype,h=b.slice,e=b.concat,f=g.forEach,q=function(b,c,d){c=[0].concat(h.call(c,0));d=d||a.global;return function(a){c[0]=a;return b.apply(d,c)}},c=function(a){var b=this instanceof d&&i("array-extensible");typeof a=="number"&&(a=Array(a));var c=a&&"length"in a?a:arguments;if(b||!c.sort){for(var f=b?this:[],e=f.length=c.length,h=0;h<e;h++)f[h]=c[h];if(b)return f;c=f}k._mixin(c,m);c._NodeListCtor=
function(a){return d(a)};return c},d=c,m=d.prototype=i("array-extensible")?[]:{};d._wrap=m._wrap=function(a,b,c){a=new (c||this._NodeListCtor||d)(a);return b?a._stash(b):a};d._adaptAsMap=function(a,b){return function(){return this.map(q(a,arguments,b))}};d._adaptAsForEach=function(a,b){return function(){this.forEach(q(a,arguments,b));return this}};d._adaptAsFilter=function(a,b){return function(){return this.filter(q(a,arguments,b))}};d._adaptWithCondition=function(b,c,d){return function(){var f=arguments,
e=q(b,f,d);if(c.call(d||a.global,f))return this.map(e);this.forEach(e);return this}};f(["slice","splice"],function(a){var c=b[a];m[a]=function(){return this._wrap(c.apply(this,arguments),a=="slice"?this:null)}});f(["indexOf","lastIndexOf","every","some"],function(b){var c=g[b];m[b]=function(){return c.apply(a,[this].concat(h.call(arguments,0)))}});k.extend(c,{constructor:d,_NodeListCtor:d,toString:function(){return this.join(",")},_stash:function(a){this._parent=a;return this},on:function(a,b){var c=
this.map(function(c){return o(c,a,b)});c.remove=function(){for(var a=0;a<c.length;a++)c[a].remove()};return c},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(){var a=k.isArray(this)?this:h.call(this,0),b=g.map(arguments,function(a){return a&&!k.isArray(a)&&(typeof c!="undefined"&&a.constructor===c||a.constructor===this._NodeListCtor)?h.call(a,0):a});return this._wrap(e.apply(a,b),this)},map:function(a,b){return this._wrap(g.map(this,a,b),this)},forEach:function(a,
b){f(this,a,b);return this},filter:function(a){var b=arguments,c=this,d=0;if(typeof a=="string"){c=u._filterResult(this,b[0]);if(b.length==1)return c._stash(this);d=1}return this._wrap(g.filter(c,b[d],b[d+1]),this)},instantiate:function(a,b){var c=k.isFunction(a)?a:k.getObject(a),b=b||{};return this.forEach(function(a){new c(b,a)})},at:function(){var a=new this._NodeListCtor(0);f(arguments,function(b){b<0&&(b=this.length+b);this[b]&&a.push(this[b])},this);return a._stash(this)}});var u=p(j,c);a.query=
p(j,function(a){return c(a)});u.load=function(a,b,d){n.load(a,b,function(a){d(p(a,c))})};a._filterQueryResult=u._filterResult=function(a,b,d){return new c(u.filter(a,b,d))};a.NodeList=u.NodeList=c;return u})},"dojo/has":function(){define(["require"],function(a){var i=a.has||function(){},a=navigator.userAgent;i.add("dom-addeventlistener",!!document.addEventListener);i.add("touch","ontouchstart"in document);i.add("device-width",screen.availWidth||innerWidth);i.add("agent-ios",!!a.match(/iPhone|iP[ao]d/));
i.add("agent-android",a.indexOf("android")>1);i.clearElement=function(a){a.innerHTML="";return a};i.normalize=function(a,o){var g=a.match(/[\?:]|[^:\?]*/g),k=0,n=function(a){var p=g[k++];if(p==":")return 0;else{if(g[k++]=="?")return!a&&i(p)?n():(n(!0),n(a));return p||0}};return(a=n())&&o(a)};i.load=function(a,i,g){a?i([a],g):g()};return i})},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","./json","./lang","./array"],function(a,i,l,o,g,k,n){var j=function(a){return a.replace(/\./g,
"/")},p=/\/\/>>built/,b=[],h=[],e,f=function(a){e[a.mid]=1;for(var b,c,d=a.deps||[],h=0;h<d.length;h++)if(c=d[h],!(b=e[c.mid]))if(b===0||!f(c))return e[a.mid]=0,!1;return!0},q=function(){var a,c;e={};for(c in N)if(a=N[c],a.executed||a.noReqPluginCheck)e[c]=1;else{if(a.noReqPluginCheck!==0)a.noReqPluginCheck=/loadInit\!/.test(c)||/require\!/.test(c)?1:0;a.noReqPluginCheck?e[c]=1:a.injected!==v&&(e[c]=0)}for(var d=0,g=h.length;d<g;d++)if(a=h[d],!(c=e[a.mid]))if(c===0||!f(a))return;t.holdIdle();a=b;
b=[];n.forEach(a,function(a){a(1)});t.releaseIdle()},c=function(b,c,d){var f=/\(|\)/g,e=1;for(f.lastIndex=c;c=f.exec(b);)if(c[0]==")"?e-=1:e+=1,e==0)break;if(e!=0)throw"unmatched paren around character "+f.lastIndex+" in: "+b;return[a.trim(b.substring(d,f.lastIndex))+";\n",f.lastIndex]},d=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,m=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,u=/(^|\s)(require|define)\s*\(/m,s=function(a,b){var f,e,h,g=[],j=
[];f=[];for(b=b||a.replace(d,function(a){m.lastIndex=u.lastIndex=0;return m.test(a)||u.test(a)?"":a});f=m.exec(b);)e=m.lastIndex,h=e-f[0].length,e=c(b,e,h),f[2]=="loadInit"?g.push(e[0]):j.push(e[0]),m.lastIndex=e[1];f=g.concat(j);return f.length||!u.test(b)?[a.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),f.join(""),f]:0},t=l.initSyncLoader(function(a,c,d){b.push(d);n.forEach(a.split(","),function(a){a=L(a,c.module);h.push(a);w(a)});q()},q,function(b,c){var d,f,e=[],h=[];if(p.test(c)||
!(d=s(c)))return 0;f=b.mid+"-*loadInit";for(var g in L("dojo",b).result.scopeMap)e.push(g),h.push('"'+g+'"');return"// xdomain rewrite of "+b.path+"\ndefine('"+f+"',{\n\tnames:"+a.toJson(e)+",\n\tdef:function("+e.join(",")+"){"+d[1]+"}});\n\ndefine("+a.toJson(e.concat(["dojo/loadInit!"+f]))+", function("+e.join(",")+"){\n"+d[0]+"});"}),r=t.sync,v=t.arrived,z=t.nonmodule,H=t.executing,P=t.executed,F=t.syncExecStack,N=t.modules,G=t.execQ,L=t.getModule,w=t.injectModule,A=t.setArrived,I=t.signal,C=t.finishExec,
E=t.execModule,D=t.getLegacyMode;a.provide=function(a){var b=F[0],c=k.mixin(L(j(a),l.module),{executed:H,result:k.getObject(a,!0)});A(c);if(b)(b.provides||(b.provides=[])).push(function(){c.result=k.getObject(a);delete c.provides;c.executed!==P&&C(c)});return c.result};i.add("config-publishRequireResult",1,0,0);a.require=function(a,b){var c=function(a,b){var c=L(j(a),l.module);if(F.length&&F[0].finish)F[0].finish.push(a);else{if(c.executed)return c.result;b&&(c.result=z);var d=D();w(c);d=D();c.executed!==
P&&c.injected===v&&(t.holdIdle(),E(c),t.releaseIdle());if(c.executed)return c.result;d==r?c.cjs?G.unshift(c):F.length&&(F[0].finish=[a]):G.push(c)}}(a,b);i("config-publishRequireResult")&&!k.exists(a)&&c!==void 0&&k.setObject(a,c);return c};a.loadInit=function(a){a()};a.registerModulePath=function(a,b){var c={};c[a.replace(/\./g,"/")]=b;l({paths:c})};a.platformRequire=function(b){for(var b=(b.common||[]).concat(b[a._name]||b["default"]||[]),c;b.length;)k.isArray(c=b.shift())?a.require.apply(a,c):
a.require(c)};a.requireIf=a.requireAfterIf=function(b,c,d){b&&a.require(c,d)};a.requireLocalization=function(a,b,c){l(["../i18n"],function(d){d.getLocalization(a,b,c)})};return{extractLegacyApiApplications:s,require:t.dojoRequirePlugin,loadInit:function(c,d,f){d([c],function(c){d(c.names,function(){for(var e="",g=[],m=0;m<arguments.length;m++)e+="var "+c.names[m]+"= arguments["+m+"]; ",g.push(arguments[m]);eval(e);var k=d.module,p=[],e={},i=[],l,m={provide:function(a){a=j(a);a=L(a,k);a!==k&&A(a)},
require:function(a,b){a=j(a);b&&(L(a,k).result=z);i.push(a)},requireLocalization:function(b,c,d){p.length||(p=["dojo/i18n"]);d=(d||a.locale).toLowerCase();b=j(b)+"/nls/"+(/root/i.test(d)?"":d+"/")+j(c);L(b,k).isXd&&p.push("dojo/i18n!"+b)},loadInit:function(a){a()}};try{for(l in m)e[l]=a[l],a[l]=m[l];c.def.apply(null,g)}catch(G){I("error",[{src:o.id,id:"failedDojoLoadInit"},G])}finally{for(l in m)a[l]=e[l]}i.length&&p.push("dojo/require!"+i.join(","));b.push(f);n.forEach(i,function(a){a=L(a,d.module);
h.push(a);w(a)});q()})})}}})},"dojo/json":function(){define(["./has"],function(a){var i=typeof JSON!="undefined";a.add("json-parse",i);a.add("json-stringify",i&&JSON.stringify({a:0},function(a,g){return g||1})=='{"a":1}');if(a("json-stringify"))return JSON;else{var l=function(a){return('"'+a.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:a("json-parse")?JSON.parse:function(a,g){if(g&&
!/^([\s\[\{]*(?:"(?:\\.|[^"])+"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(a))throw new SyntaxError("Invalid characters in JSON");return eval("("+a+")")},stringify:function(a,g,k){function n(a,b,h){g&&(a=g(h,a));var e;e=typeof a;if(e=="number")return isFinite(a)?a+"":"null";if(e=="boolean")return a+"";if(a===null)return"null";if(typeof a=="string")return l(a);if(e=="function"||e=="undefined")return j;if(typeof a.toJSON=="function")return n(a.toJSON(h),b,h);if(a instanceof
Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(b,c,d){b=a["getUTC"+c]()+(d?1:0);return b<10?"0"+b:b});if(a.valueOf()!==a)return n(a.valueOf(),b,h);var f=k?b+k:"",q=k?" ":"",c=k?"\n":"";if(a instanceof Array){for(var q=a.length,d=[],h=0;h<q;h++)e=n(a[h],f,h),typeof e!="string"&&(e="null"),d.push(c+f+e);return"["+d.join(",")+c+b+"]"}d=[];for(h in a){var m;if(typeof h=="number")m='"'+h+'"';else if(typeof h=="string")m=l(h);else continue;e=n(a[h],
f,h);typeof e=="string"&&d.push(c+f+m+":"+q+e)}return"{"+d.join(",")+c+b+"}"}var j;typeof g=="string"&&(k=g,g=null);return n(a,"","")}}}})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(a,i,l){function o(a,b){throw Error("declare"+(b?" "+b:"")+": "+a);}function g(a,b,c){var d,f,e,h,g,m,j,k=this._inherited=this._inherited||{};typeof a=="string"&&(d=a,a=b,b=c);c=0;h=a.callee;(d=d||h.nom)||o("can't deduce a name to call inherited()",this.declaredClass);g=this.constructor._meta;
e=g.bases;j=k.p;if(d!=z){if(k.c!==h&&(j=0,m=e[0],g=m._meta,g.hidden[d]!==h)){(f=g.chains)&&typeof f[d]=="string"&&o("calling chained method with inherited: "+d,this.declaredClass);do if(g=m._meta,f=m.prototype,g&&(f[d]===h&&f.hasOwnProperty(d)||g.hidden[d]===h))break;while(m=e[++j]);j=m?j:-1}if(m=e[++j])if(f=m.prototype,m._meta&&f.hasOwnProperty(d))c=f[d];else{h=s[d];do if(f=m.prototype,(c=f[d])&&(m._meta?f.hasOwnProperty(d):c!==h))break;while(m=e[++j])}c=m&&c||s[d]}else{if(k.c!==h&&(j=0,(g=e[0]._meta)&&
g.ctor!==h)){f=g.chains;for((!f||f.constructor!=="manual")&&o("calling chained constructor with inherited",this.declaredClass);m=e[++j];)if((g=m._meta)&&g.ctor===h)break;j=m?j:-1}for(;m=e[++j];)if(c=(g=m._meta)?g.ctor:m)break;c=m&&c}k.c=c;k.p=j;if(c)return b===!0?c:c.apply(this,b||a)}function k(a,b){if(typeof a=="string")return this.__inherited(a,b,!0);return this.__inherited(a,!0)}function n(a,b,c){var d=this.getInherited(a,b);if(d)return d.apply(this,c||b||a)}function j(a){for(var b=this.constructor._meta.bases,
c=0,d=b.length;c<d;++c)if(b[c]===a)return!0;return this instanceof a}function p(a,b){for(var c in b)c!=z&&b.hasOwnProperty(c)&&(a[c]=b[c]);if(i("bug-for-in-skips-shadowed"))for(var d=l._extraNames,f=d.length;f;)c=d[--f],c!=z&&b.hasOwnProperty(c)&&(a[c]=b[c])}function b(a){m.safeMixin(this.prototype,a);return this}function h(a,b){return function(){var w;var c=arguments,f=c,e=c[0],h,g;g=a.length;var m;if(!(this instanceof c.callee))return d(c);if(b&&(e&&e.preamble||this.preamble)){m=Array(a.length);
m[0]=c;for(h=0;;){if(e=c[0])(e=e.preamble)&&(c=e.apply(this,c)||c);e=a[h].prototype;(e=e.hasOwnProperty("preamble")&&e.preamble)&&(c=e.apply(this,c)||c);if(++h==g)break;m[h]=c}}for(h=g-1;h>=0;--h)e=a[h],(w=(g=e._meta)?g.ctor:e,e=w)&&e.apply(this,m?m[h]:c);(e=this.postscript)&&e.apply(this,f)}}function e(a,b){return function(){var c=arguments,f=c,e=c[0];if(!(this instanceof c.callee))return d(c);if(b){if(e)(e=e.preamble)&&(f=e.apply(this,f)||f);(e=this.preamble)&&e.apply(this,f)}a&&a.apply(this,c);
(e=this.postscript)&&e.apply(this,c)}}function f(a){return function(){var w;var b=arguments,c=0,f,e;if(!(this instanceof b.callee))return d(b);for(;f=a[c];++c)if(w=(e=f._meta)?e.ctor:f,f=w){f.apply(this,b);break}(f=this.postscript)&&f.apply(this,b)}}function q(a,b,c){return function(){var d,f,e=0,h=1;c&&(e=b.length-1,h=-1);for(;d=b[e];e+=h)f=d._meta,(d=(f?f.hidden:d.prototype)[a])&&d.apply(this,arguments)}}function c(a){r.prototype=a.prototype;a=new r;r.prototype=null;return a}function d(a){var b=
a.callee,d=c(b);b.apply(d,a);return d}function m(a,d,n){typeof a!="string"&&(n=d,d=a,a="");var n=n||{},i,r,w,A,I,C,E,D=1,Z=d;if(t.call(d)=="[object Array]"){D=a;w=[];A=[{cls:0,refs:[]}];C={};for(var T=1,W=d.length,J=0,B,Q,x,y;J<W;++J){(B=d[J])?t.call(B)!="[object Function]"&&o("mixin #"+J+" is not a callable constructor.",D):o("mixin #"+J+" is unknown. Did you use dojo.require to pull it in?",D);Q=B._meta?B._meta.bases:[B];x=0;for(B=Q.length-1;B>=0;--B){y=Q[B].prototype;if(!y.hasOwnProperty("declaredClass"))y.declaredClass=
"uniqName_"+v++;y=y.declaredClass;C.hasOwnProperty(y)||(C[y]={count:0,refs:[],cls:Q[B]},++T);y=C[y];x&&x!==y&&(y.refs.push(x),++x.count);x=y}++x.count;A[0].refs.push(x)}for(;A.length;){x=A.pop();w.push(x.cls);for(--T;r=x.refs,r.length==1;){x=r[0];if(!x||--x.count){x=0;break}w.push(x.cls);--T}if(x){J=0;for(W=r.length;J<W;++J)x=r[J],--x.count||A.push(x)}}T&&o("can't build consistent linearization",D);B=d[0];w[0]=B?B._meta&&B===w[w.length-B._meta.bases.length]?B._meta.bases.length:1:0;C=w;w=C[0];D=C.length-
w;d=C[D]}else C=[0],d?t.call(d)=="[object Function]"?(w=d._meta,C=C.concat(w?w.bases:d)):o("base class is not a callable constructor.",a):d!==null&&o("unknown base class. Did you use dojo.require to pull it in?",a);if(d)for(r=D-1;;--r){i=c(d);if(!r)break;w=C[r];(w._meta?p:u)(i,w.prototype);A=new Function;A.superclass=d;A.prototype=i;d=i.constructor=A}else i={};m.safeMixin(i,n);w=n.constructor;if(w!==s.constructor)w.nom=z,i.constructor=w;for(r=D-1;r;--r)(w=C[r]._meta)&&w.chains&&(E=u(E||{},w.chains));
i["-chains-"]&&(E=u(E||{},i["-chains-"]));w=!E||!E.hasOwnProperty(z);C[0]=A=E&&E.constructor==="manual"?f(C):C.length==1?e(n.constructor,w):h(C,w);A._meta={bases:C,hidden:n,chains:E,parents:Z,ctor:n.constructor};A.superclass=d&&d.prototype;A.extend=b;A.prototype=i;i.constructor=A;i.getInherited=k;i.isInstanceOf=j;i.inherited=H;i.__inherited=g;if(a)i.declaredClass=a,l.setObject(a,A);if(E)for(I in E)if(i[I]&&typeof E[I]=="string"&&I!=z)w=i[I]=q(I,C,E[I]==="after"),w.nom=I;return A}var u=l.mixin,s=Object.prototype,
t=s.toString,r=new Function,v=0,z="constructor",H=a.config.isDebug?n:g;a.safeMixin=m.safeMixin=function(a,b){var c,d;for(c in b)if(d=b[c],(d!==s[c]||!(c in s))&&c!=z){if(t.call(d)=="[object Function]")d.nom=c;a[c]=d}if(i("bug-for-in-skips-shadowed"))for(var f=l._extraNames,e=f.length;e;)if(c=f[--e],d=b[c],(d!==s[c]||!(c in s))&&c!=z){if(t.call(d)=="[object Function]")d.nom=c;a[c]=d}return a};return a.declare=m})},"dojo/dom":function(){define(["./_base/sniff","./_base/lang","./_base/window"],function(a,
i,l){try{document.execCommand("BackgroundImageCache",!1,!0)}catch(o){}var g={};g.byId=a("ie")?function(a,g){if(typeof a!="string")return a;var k=g||l.doc,b=a&&k.getElementById(a);if(b&&(b.attributes.id.value==a||b.id==a))return b;else{k=k.all[a];if(!k||k.nodeName)k=[k];for(var h=0;b=k[h++];)if(b.attributes&&b.attributes.id&&b.attributes.id.value==a||b.id==a)return b}}:function(a,g){return(typeof a=="string"?(g||l.doc).getElementById(a):a)||null};g.isDescendant=function(a,j){try{a=g.byId(a);for(j=
g.byId(j);a;){if(a==j)return!0;a=a.parentNode}}catch(k){}return!1};a.add("css-user-select",function(a,g,k){if(!k)return!1;var a=k.style,g=["Khtml","O","Moz","Webkit"],k=g.length,b="userSelect";do if(typeof a[b]!=="undefined")return b;while(k--&&(b=g[k]+"UserSelect"));return!1});var k=a("css-user-select");g.setSelectable=k?function(a,j){g.byId(a).style[k]=j?"":"none"}:function(a,k){var a=g.byId(a),i=a.getElementsByTagName("*"),b=i.length;if(k)for(a.removeAttribute("unselectable");b--;)i[b].removeAttribute("unselectable");
else for(a.setAttribute("unselectable","on");b--;)i[b].setAttribute("unselectable","on")};return g})},"dojo/_base/browser":function(){require.has&&require.has.add("config-selectorEngine","acme");define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(a){return a})},"dojo/selector/acme":function(){define(["../_base/kernel","../has","../dom","../_base/sniff","../_base/array","../_base/lang","../_base/window"],function(a,i,l){var o=
a.trim,g=a.forEach,k=a.doc.compatMode=="BackCompat",n=!1,j=function(){return!0},p=function(a){a+=">~+".indexOf(a.slice(-1))>=0?" * ":" ";for(var b=function(b,c){return o(a.slice(b,c))},c=[],d=-1,f=-1,e=-1,h=-1,g=-1,m=-1,k=-1,j,i="",q="",p,l=0,u=a.length,r=null,s=null,G=function(){if(m>=0)r.id=b(m,l).replace(/\\/g,""),m=-1;if(k>=0){var a=k==l?null:b(k,l);r[">~+".indexOf(a)<0?"tag":"oper"]=a;k=-1}g>=0&&(r.classes.push(b(g+1,l).replace(/\\/g,"")),g=-1)};i=q,q=a.charAt(l),l<u;l++)if(i!="\\")if(r||(p=
l,r={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return n?this.otag:this.tag}},k=l),j)q==j&&(j=null);else if(q=="'"||q=='"')j=q;else if(d>=0)if(q=="]"){s.attr?s.matchFor=b(e||d+1,l):s.attr=b(d+1,l);if((d=s.matchFor)&&(d.charAt(0)=='"'||d.charAt(0)=="'"))s.matchFor=d.slice(1,-1);if(s.matchFor)s.matchFor=s.matchFor.replace(/\\/g,"");r.attrs.push(s);s=null;d=e=-1}else{if(q=="=")e="|~^$*".indexOf(i)>=0?i:"",s.type=e+q,s.attr=b(d+1,l-e.length),e=l+1}else if(f>=
0){if(q==")"){if(h>=0)s.value=b(f+1,l);h=f=-1}}else if(q=="#")G(),m=l+1;else if(q==".")G(),g=l;else if(q==":")G(),h=l;else if(q=="[")G(),d=l,s={};else if(q=="(")h>=0&&(s={name:b(h+1,l),value:null},r.pseudos.push(s)),f=l;else if(q==" "&&i!=q){G();h>=0&&r.pseudos.push({name:b(h+1,l)});r.loops=r.pseudos.length||r.attrs.length||r.classes.length;r.oquery=r.query=b(p,l);r.otag=r.tag=r.oper?null:r.tag||"*";if(r.tag)r.tag=r.tag.toUpperCase();if(c.length&&c[c.length-1].oper)r.infixOper=c.pop(),r.query=r.infixOper.query+
" "+r.query;c.push(r);r=null}return c},b=function(a,b){if(!a)return b;if(!b)return a;return function(){return a.apply(window,arguments)&&b.apply(window,arguments)}},h=function(a,b){var c=b||[];a&&c.push(a);return c},e=function(a){return 1==a.nodeType},f=function(a,b){if(!a)return"";if(b=="class")return a.className||"";if(b=="for")return a.htmlFor||"";if(b=="style")return a.style.cssText||"";return(n?a.getAttribute(b):a.getAttribute(b,2))||""},q={"*=":function(a,b){return function(c){return f(c,a).indexOf(b)>=
0}},"^=":function(a,b){return function(c){return f(c,a).indexOf(b)==0}},"$=":function(a,b){return function(c){var c=" "+f(c,a),d=c.lastIndexOf(b);return d>-1&&d==c.length-b.length}},"~=":function(a,b){var c=" "+b+" ";return function(b){return(" "+f(b,a)+" ").indexOf(c)>=0}},"|=":function(a,b){var c=b+"-";return function(d){d=f(d,a);return d==b||d.indexOf(c)==0}},"=":function(a,b){return function(c){return f(c,a)==b}}},c=typeof a.doc.firstChild.nextElementSibling=="undefined",d=!c?"nextElementSibling":
"nextSibling",m=!c?"previousElementSibling":"previousSibling",u=c?e:j,s=function(a){for(;a=a[m];)if(u(a))return!1;return!0},t=function(a){for(;a=a[d];)if(u(a))return!1;return!0},r=function(a){var b=a.parentNode,c=0,f=b.children||b.childNodes,e=a._i||-1,h=b._l||-1;if(!f)return-1;f=f.length;if(h==f&&e>=0&&h>=0)return e;b._l=f;e=-1;for(b=b.firstElementChild||b.firstChild;b;b=b[d])if(u(b))b._i=++c,a===b&&(e=c);return e},v=function(a){return!(r(a)%2)},z=function(a){return r(a)%2},H={checked:function(){return function(a){return!!("checked"in
a?a.checked:a.selected)}},"first-child":function(){return s},"last-child":function(){return t},"only-child":function(){return function(a){return s(a)&&t(a)}},empty:function(){return function(a){for(var b=a.childNodes,a=a.childNodes.length-1;a>=0;a--){var c=b[a].nodeType;if(c===1||c==3)return!1}return!0}},disabled:function(){return function(a){return a.disabled}},enabled:function(){return function(a){return!a.disabled}},contains:function(a,b){var c=b.charAt(0);if(c=='"'||c=="'")b=b.slice(1,-1);return function(a){return a.innerHTML.indexOf(b)>=
0}},not:function(a,b){var c=p(b)[0],d={el:1};if(c.tag!="*")d.tag=1;if(!c.classes.length)d.classes=1;var f=F(c,d);return function(a){return!f(a)}},"nth-child":function(a,b){var c=parseInt;if(b=="odd")return z;else if(b=="even")return v;if(b.indexOf("n")!=-1){var d=b.split("n",2),f=d[0]?d[0]=="-"?-1:c(d[0]):1,e=d[1]?c(d[1]):0,h=0,g=-1;f>0?e<0?e=e%f&&f+e%f:e>0&&(e>=f&&(h=e-e%f),e%=f):f<0&&(f*=-1,e>0&&(g=e,e%=f));if(f>0)return function(a){a=r(a);return a>=h&&(g<0||a<=g)&&a%f==e};else b=e}var m=c(b);return function(a){return r(a)==
m}}},P=a.isIE<9||a.isIE==9&&a.isQuirks?function(a){var b=a.toLowerCase();b=="class"&&(a="className");return function(c){return n?c.getAttribute(a):c[a]||c[b]}}:function(a){return function(b){return b&&b.getAttribute&&b.hasAttribute(a)}},F=function(a,c){if(!a)return j;var c=c||{},d=null;"el"in c||(d=b(d,e));"tag"in c||a.tag!="*"&&(d=b(d,function(b){return b&&b.tagName==a.getTag()}));"classes"in c||g(a.classes,function(a,c){var f=RegExp("(?:^|\\s)"+a+"(?:\\s|$)");d=b(d,function(a){return f.test(a.className)});
d.count=c});"pseudos"in c||g(a.pseudos,function(a){var c=a.name;H[c]&&(d=b(d,H[c](c,a.value)))});"attrs"in c||g(a.attrs,function(a){var c,f=a.attr;a.type&&q[a.type]?c=q[a.type](f,a.matchFor):f.length&&(c=P(f));c&&(d=b(d,c))});"id"in c||a.id&&(d=b(d,function(b){return!!b&&b.id==a.id}));d||"default"in c||(d=j);return d},N=function(a){return function(b,f,h){for(;b=b[d];)if(!c||e(b)){(!h||R(b,h))&&a(b)&&f.push(b);break}return f}},G=function(a){return function(b,c,f){for(b=b[d];b;){if(u(b)){if(f&&!R(b,
f))break;a(b)&&c.push(b)}b=b[d]}return c}},L=function(a){a=a||j;return function(b,c,d){for(var f=0,e=b.children||b.childNodes;b=e[f++];)u(b)&&(!d||R(b,d))&&a(b,f)&&c.push(b);return c}},w={},A=function(b){var c=w[b.query];if(c)return c;var d=b.infixOper,d=d?d.oper:"",f=F(b,{el:1}),e="*"==b.tag,g=a.doc.getElementsByClassName;if(d){g={el:1};if(e)g.tag=1;f=F(b,g);"+"==d?c=N(f):"~"==d?c=G(f):">"==d&&(c=L(f))}else if(b.id)f=!b.loops&&e?j:F(b,{el:1,id:1}),c=function(a,c){var d=l.byId(b.id,a.ownerDocument||
a);if(d&&f(d))if(9==a.nodeType)return h(d,c);else{for(var e=d.parentNode;e;){if(e==a)break;e=e.parentNode}if(e)return h(d,c)}};else if(g&&/\{\s*\[native code\]\s*\}/.test(String(g))&&b.classes.length&&!k)var f=F(b,{el:1,classes:1,id:1}),m=b.classes.join(" "),c=function(a,b,c){for(var b=h(0,b),d,e=0,g=a.getElementsByClassName(m);d=g[e++];)f(d,a)&&R(d,c)&&b.push(d);return b};else!e&&!b.loops?c=function(a,c,d){for(var c=h(0,c),f=0,e=a.getElementsByTagName(b.getTag());a=e[f++];)R(a,d)&&c.push(a);return c}:
(f=F(b,{el:1,tag:1,id:1}),c=function(a,c,d){for(var c=h(0,c),e,g=0,m=a.getElementsByTagName(b.getTag());e=m[g++];)f(e,a)&&R(e,d)&&c.push(e);return c});return w[b.query]=c},I={},C={},E=function(a){var b=p(o(a));if(b.length==1){var c=A(b[0]);return function(a){if(a=c(a,[]))a.nozip=!0;return a}}return function(a){for(var a=h(a),c,d,f=b.length,e,g,m=0;m<f;m++){g=[];c=b[m];d=a.length-1;if(d>0)e={},g.nozip=!0;d=A(c);for(var k=0;c=a[k];k++)d(c,g,e);if(!g.length)break;a=g}return g}},i=navigator.userAgent,
i=a.isWebKit&&i.indexOf("WebKit/")>0&&parseFloat(i.split("WebKit/")[1])>528,D=a.isIE?"commentStrip":"nozip",Z=!!a.doc.querySelectorAll&&(!a.isSafari||a.isSafari>3.1||i),T=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,W=function(a,b,c,d){return c?(b?b+" ":"")+c+(d?" "+d:""):a},J=/([^[]*)([^\]]*])?/g,B=function(a,b,c){return b.replace(T,W)+(c||"")},Q=function(b,c){b=b.replace(J,B);if(Z){var d=C[b];if(d&&!c)return d}if(d=I[b])return d;var d=b.charAt(0),f=-1==b.indexOf(" ");b.indexOf("#")>=0&&f&&(c=!0);if(Z&&
!c&&">~+".indexOf(d)==-1&&(!a.isIE||b.indexOf(":")==-1)&&!(k&&b.indexOf(".")>=0)&&b.indexOf(":contains")==-1&&b.indexOf(":checked")==-1&&b.indexOf("|=")==-1){var e=">~+".indexOf(b.charAt(b.length-1))>=0?b+" *":b;return C[b]=function(a){try{if(!(9==a.nodeType||f))throw"";var c=a.querySelectorAll(e);c[D]=!0;return c}catch(d){return Q(b,!0)(a)}}}else{var h=b.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return I[b]=h.length<2?E(b):function(a){for(var b=0,c=[],d;d=h[b++];)c=c.concat(E(d)(a));
return c}}},x=0,y=a.isIE?function(a){return n?a.getAttribute("_uid")||a.setAttribute("_uid",++x)||x:a.uniqueID}:function(a){return a._uid||(a._uid=++x)},R=function(a,b){if(!b)return 1;var c=y(a);if(!b[c])return b[c]=1;return 0},U=function(b){if(b&&b.nozip)return b;var c=[];if(!b||!b.length)return c;b[0]&&c.push(b[0]);if(b.length<2)return c;x++;if(a.isIE&&n){var d=x+"";b[0].setAttribute("_zipIdx",d);for(var f=1,h;h=b[f];f++)b[f].getAttribute("_zipIdx")!=d&&c.push(h),h.setAttribute("_zipIdx",d)}else if(a.isIE&&
b.commentStrip)try{for(f=1;h=b[f];f++)e(h)&&c.push(h)}catch(g){}else{b[0]&&(b[0]._zipIdx=x);for(f=1;h=b[f];f++)b[f]._zipIdx!=x&&c.push(h),h._zipIdx=x}return c},i=function(b,c){c=c||a.doc;n=(c.ownerDocument||c).createElement("div").tagName==="div";var d=Q(b)(c);if(d&&d.nozip)return d;return U(d)};i.filter=function(b,c,d){for(var f=[],e=p(c),e=e.length==1&&!/[^\w#\.]/.test(c)?F(e[0]):function(b){return a.query(c,d).indexOf(b)!=-1},h=0,g;g=b[h];h++)e(g)&&f.push(g);return f};return i})},"dojo/dom-style":function(){define("dojo/dom-style",
["./_base/sniff","./dom"],function(a,i){function l(f,e,c){e=e.toLowerCase();if(a("ie")){if(c=="auto"){if(e=="height")return f.offsetHeight;if(e=="width")return f.offsetWidth}if(e=="fontweight")switch(c){case 700:return"bold";default:return"normal"}}e in b||(b[e]=h.test(e));return b[e]?k(f,c):c}var o,g={};o=a("webkit")?function(a){var b;if(a.nodeType==1){var c=a.ownerDocument.defaultView;b=c.getComputedStyle(a,null);if(!b&&a.style)a.style.display="",b=c.getComputedStyle(a,null)}return b||{}}:a("ie")&&
(a("ie")<9||a("quirks"))?function(a){return a.nodeType==1?a.currentStyle:{}}:function(a){return a.nodeType==1?a.ownerDocument.defaultView.getComputedStyle(a,null):{}};g.getComputedStyle=o;var k;k=a("ie")?function(a,b){if(!b)return 0;if(b=="medium")return 4;if(b.slice&&b.slice(-2)=="px")return parseFloat(b);var c=a.style,d=a.runtimeStyle,e=c.left,h=d.left;d.left=a.currentStyle.left;try{c.left=b,b=c.pixelLeft}catch(g){b=0}c.left=e;d.left=h;return b}:function(a,b){return parseFloat(b)||0};g.toPixelValue=
k;var n=function(a,b){try{return a.filters.item("DXImageTransform.Microsoft.Alpha")}catch(c){return b?{}:null}},j=a("ie")<9||a("ie")<10&&a("quirks")?function(a){try{return n(a).Opacity/100}catch(b){return 1}}:function(a){return o(a).opacity},p=a("ie")<9||a("ie")<10&&a("quirks")?function(a,b){var c=b*100,d=b==1;a.style.zoom=d?"":1;if(n(a))n(a,1).Opacity=c;else{if(d)return b;a.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+c+")"}n(a,1).Enabled=!d;if(a.tagName.toLowerCase()=="tr")for(c=
a.firstChild;c;c=c.nextSibling)c.tagName.toLowerCase()=="td"&&p(c,b);return b}:function(a,b){return a.style.opacity=b},b={left:!0,top:!0},h=/margin|padding|width|height|max|min|offset/,e={cssFloat:1,styleFloat:1,"float":1};g.get=function(a,b){var c=i.byId(a),d=arguments.length;if(d==2&&b=="opacity")return j(c);var b=e[b]?"cssFloat"in c.style?"cssFloat":"styleFloat":b,h=g.getComputedStyle(c);return d==1?h:l(c,b,h[b]||c.style[b])};g.set=function(a,b,c){var d=i.byId(a),h=arguments.length,k=b=="opacity",
b=e[b]?"cssFloat"in d.style?"cssFloat":"styleFloat":b;if(h==3)return k?p(d,c):d.style[b]=c;for(var j in b)g.set(a,j,b[j]);return g.getComputedStyle(d)};return g})},"dojo/dom-geometry":function(){define(["./_base/sniff","./_base/window","./dom","./dom-style"],function(a,i,l,o){function g(a,h,e,f,g,c){c=c||"px";a=a.style;if(!isNaN(h))a.left=h+c;if(!isNaN(e))a.top=e+c;if(f>=0)a.width=f+c;if(g>=0)a.height=g+c}function k(a){return a.tagName.toLowerCase()=="button"||a.tagName.toLowerCase()=="input"&&(a.getAttribute("type")||
"").toLowerCase()=="button"}function n(a){return j.boxModel=="border-box"||a.tagName.toLowerCase()=="table"||k(a)}var j={boxModel:"content-box"};if(a("ie"))j.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";j.getPadExtents=function(a,h){var a=l.byId(a),e=h||o.getComputedStyle(a),f=o.toPixelValue,g=f(a,e.paddingLeft),c=f(a,e.paddingTop),d=f(a,e.paddingRight),e=f(a,e.paddingBottom);return{l:g,t:c,r:d,b:e,w:g+d,h:c+e}};j.getBorderExtents=function(a,h){var a=l.byId(a),e=o.toPixelValue,
f=h||o.getComputedStyle(a),g=f.borderLeftStyle!="none"?e(a,f.borderLeftWidth):0,c=f.borderTopStyle!="none"?e(a,f.borderTopWidth):0,d=f.borderRightStyle!="none"?e(a,f.borderRightWidth):0,e=f.borderBottomStyle!="none"?e(a,f.borderBottomWidth):0;return{l:g,t:c,r:d,b:e,w:g+d,h:c+e}};j.getPadBorderExtents=function(a,h){var a=l.byId(a),e=h||o.getComputedStyle(a),f=j.getPadExtents(a,e),e=j.getBorderExtents(a,e);return{l:f.l+e.l,t:f.t+e.t,r:f.r+e.r,b:f.b+e.b,w:f.w+e.w,h:f.h+e.h}};j.getMarginExtents=function(b,
h){var b=l.byId(b),e=h||o.getComputedStyle(b),f=o.toPixelValue,g=f(b,e.marginLeft),c=f(b,e.marginTop),d=f(b,e.marginRight),f=f(b,e.marginBottom);a("webkit")&&e.position!="absolute"&&(d=g);return{l:g,t:c,r:d,b:f,w:g+d,h:c+f}};j.getMarginBox=function(b,h){var b=l.byId(b),e=h||o.getComputedStyle(b),f=j.getMarginExtents(b,e),g=b.offsetLeft-f.l,c=b.offsetTop-f.t,d=b.parentNode,m=o.toPixelValue;if(a("mozilla")){var k=parseFloat(e.left),e=parseFloat(e.top);!isNaN(k)&&!isNaN(e)?(g=k,c=e):d&&d.style&&(d=o.getComputedStyle(d),
d.overflow!="visible"&&(g+=d.borderLeftStyle!="none"?m(b,d.borderLeftWidth):0,c+=d.borderTopStyle!="none"?m(b,d.borderTopWidth):0))}else if((a("opera")||a("ie")==8&&!a("quirks"))&&d)d=o.getComputedStyle(d),g-=d.borderLeftStyle!="none"?m(b,d.borderLeftWidth):0,c-=d.borderTopStyle!="none"?m(b,d.borderTopWidth):0;return{l:g,t:c,w:b.offsetWidth+f.w,h:b.offsetHeight+f.h}};j.getContentBox=function(b,h){var b=l.byId(b),e=h||o.getComputedStyle(b),f=b.clientWidth,g=j.getPadExtents(b,e),c=j.getBorderExtents(b,
e);f?(e=b.clientHeight,c.w=c.h=0):(f=b.offsetWidth,e=b.offsetHeight);a("opera")&&(g.l+=c.l,g.t+=c.t);return{l:g.l,t:g.t,w:f-g.w-c.w,h:e-g.h-c.h}};j.setContentSize=function(a,h,e){var a=l.byId(a),f=h.w,h=h.h;n(a)&&(e=j.getPadBorderExtents(a,e),f>=0&&(f+=e.w),h>=0&&(h+=e.h));g(a,NaN,NaN,f,h)};var p={l:0,t:0,w:0,h:0};j.setMarginBox=function(b,h,e){var b=l.byId(b),f=e||o.getComputedStyle(b),e=h.w,i=h.h,c=n(b)?p:j.getPadBorderExtents(b,f),f=j.getMarginExtents(b,f);if(a("webkit")&&k(b)){var d=b.style;if(e>=
0&&!d.width)d.width="4px";if(i>=0&&!d.height)d.height="4px"}e>=0&&(e=Math.max(e-c.w-f.w,0));i>=0&&(i=Math.max(i-c.h-f.h,0));g(b,h.l,h.t,e,i)};j.isBodyLtr=function(){return(i.body().dir||i.doc.documentElement.dir||"ltr").toLowerCase()=="ltr"};j.docScroll=function(){var b=i.doc.parentWindow||i.doc.defaultView;return"pageXOffset"in b?{x:b.pageXOffset,y:b.pageYOffset}:(b=a("quirks")?i.body():i.doc.documentElement,{x:j.fixIeBiDiScrollLeft(b.scrollLeft||0),y:b.scrollTop||0})};j.getIeDocumentElementOffset=
function(){var b=i.doc.documentElement;if(a("ie")<8){var h=b.getBoundingClientRect(),e=h.left,h=h.top;a("ie")<7&&(e+=b.clientLeft,h+=b.clientTop);return{x:e<0?0:e,y:h<0?0:h}}else return{x:0,y:0}};j.fixIeBiDiScrollLeft=function(b){var h=a("ie");if(h&&!j.isBodyLtr()){var e=a("quirks"),f=e?i.body():i.doc.documentElement;h==6&&!e&&i.global.frameElement&&f.scrollHeight>f.clientHeight&&(b+=f.clientLeft);return h<8||e?b+f.clientWidth-f.scrollWidth:-b}return b};j.position=function(b,h){var b=l.byId(b),e=
i.body(),f=e.parentNode,g=b.getBoundingClientRect(),g={x:g.left,y:g.top,w:g.right-g.left,h:g.bottom-g.top};if(a("ie")<9)f=j.getIeDocumentElementOffset(),g.x-=f.x+(a("quirks")?e.clientLeft+e.offsetLeft:0),g.y-=f.y+(a("quirks")?e.clientTop+e.offsetTop:0);else if(a("ff")==3){var e=o.getComputedStyle(f),c=o.toPixelValue;g.x-=c(f,e.marginLeft)+c(f,e.borderLeftWidth);g.y-=c(f,e.marginTop)+c(f,e.borderTopWidth)}h&&(f=j.docScroll(),g.x+=f.x,g.y+=f.y);return g};j.getMarginSize=function(a,g){var a=l.byId(a),
e=j.getMarginExtents(a,g||o.getComputedStyle(a)),f=a.getBoundingClientRect();return{w:f.right-f.left+e.w,h:f.bottom-f.top+e.h}};j.normalizeEvent=function(b){if(!("layerX"in b))b.layerX=b.offsetX,b.layerY=b.offsetY;if(!a("dom-addeventlistener")){var g=b.target,g=g&&g.ownerDocument||document,g=a("quirks")?g.body:g.documentElement,e=j.getIeDocumentElementOffset();b.pageX=b.clientX+j.fixIeBiDiScrollLeft(g.scrollLeft||0)-e.x;b.pageY=b.clientY+(g.scrollTop||0)-e.y}};return j})},"dojo/dom-prop":function(){define(["exports",
"./_base/kernel","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(a,i,l,o,g,k,n,j){var p={},b=0,h=i._scopeName+"attrid",e={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};a.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};a.get=function(b,e){var b=g.byId(b),c=e.toLowerCase();return b[a.names[c]||e]};a.set=function(f,
i,c){f=g.byId(f);if(arguments.length==2&&typeof i!="string"){for(var d in i)a.set(f,d,i[d]);return f}d=i.toLowerCase();d=a.names[d]||i;if(d=="style"&&typeof c!="string")return k.style(f,c),f;if(d=="innerHTML")return l("ie")&&f.tagName.toLowerCase()in e?(n.empty(f),f.appendChild(n.toDom(c,f.ownerDocument))):f[d]=c,f;if(o.isFunction(c)){var m=f[h];m||(m=b++,f[h]=m);p[m]||(p[m]={});var u=p[m][d];if(u)j.disconnect(u);else try{delete f[d]}catch(s){}c?p[m][d]=j.connect(f,d,c):f[d]=null;return f}f[d]=c;
return f}})},"dojo/dom-attr":function(){define(["exports","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(a,i,l,o,g,k){function n(a,g){var e=a.getAttributeNode&&a.getAttributeNode(g);return e&&e.specified}var j={innerHTML:1,className:1,htmlFor:i("ie"),value:1},p={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};a.has=function(a,g){var e=g.toLowerCase();return j[k.names[e]||g]||n(o.byId(a),p[e]||g)};a.get=function(a,g){var a=o.byId(a),e=g.toLowerCase(),
f=k.names[e]||g,i=j[f];value=a[f];if(i&&typeof value!="undefined")return value;if(f!="href"&&(typeof value=="boolean"||l.isFunction(value)))return value;e=p[e]||g;return n(a,e)?a.getAttribute(e):null};a.set=function(b,h,e){b=o.byId(b);if(arguments.length==2){for(var f in h)a.set(b,f,h[f]);return b}f=h.toLowerCase();var i=k.names[f]||h,c=j[i];if(i=="style"&&typeof e!="string")return g.set(b,e),b;if(c||typeof e=="boolean"||l.isFunction(e))return k.set(b,h,e);b.setAttribute(p[f]||h,e);return b};a.remove=
function(a,g){o.byId(a).removeAttribute(p[g.toLowerCase()]||g)};a.getNodeProp=function(a,g){var a=o.byId(a),e=g.toLowerCase(),f=k.names[e]||g;if(f in a&&f!="href")return a[f];e=p[e]||g;return n(a,e)?a.getAttribute(e):null}})},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/window","./dom","./dom-attr","./on"],function(a,i,l,o,g,k){function n(a,b){var c=b.parentNode;c&&c.insertBefore(a,b)}function j(a){if(a.canHaveChildren)try{a.innerHTML="";return}catch(b){}for(var c;c=
a.lastChild;)p(c,a)}function p(a,b){a.firstChild&&j(a);b&&(l("ie")&&b.canHaveChildren&&"removeNode"in a?a.removeNode(!1):b.removeChild(a))}var b={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"]},h=/<\s*([\w\:]+)/,e={},f=0,q="__"+i._scopeName+"ToDomId",c;for(c in b)if(b.hasOwnProperty(c))i=b[c],i.pre=c=="option"?'<select multiple="multiple">':
"<"+i.join("><")+">",i.post="</"+i.reverse().join("></")+">";a.toDom=function(a,c){var c=c||o.doc,g=c[q];g||(c[q]=g=++f+"",e[g]=c.createElement("div"));a+="";var k=a.match(h),j=k?k[1].toLowerCase():"",g=e[g];if(k&&b[j]){k=b[j];g.innerHTML=k.pre+a+k.post;for(k=k.length;k;--k)g=g.firstChild}else g.innerHTML=a;if(g.childNodes.length==1)return g.removeChild(g.firstChild);for(j=c.createDocumentFragment();k=g.firstChild;)j.appendChild(k);return j};a.place=function(b,c,e){c=g.byId(c);typeof b=="string"&&
(b=/^\s*</.test(b)?a.toDom(b,c.ownerDocument):g.byId(b));if(typeof e=="number"){var f=c.childNodes;!f.length||f.length<=e?c.appendChild(b):n(b,f[e<0?0:e])}else switch(e){case "before":n(b,c);break;case "after":e=b;(f=c.parentNode)&&(f.lastChild==c?f.appendChild(e):f.insertBefore(e,c.nextSibling));break;case "replace":c.parentNode.replaceChild(b,c);break;case "only":a.empty(c);c.appendChild(b);break;case "first":if(c.firstChild){n(b,c.firstChild);break}default:c.appendChild(b)}return b};a.create=function(b,
c,e,f){var h=o.doc;if(e)e=g.byId(e),h=e.ownerDocument;typeof b=="string"&&(b=h.createElement(b));c&&k.set(b,c);e&&a.place(b,e,f);return b};a.empty=function(a){j(g.byId(a))};a.destroy=function(a){(a=g.byId(a))&&p(a,a.parentNode)}})},"dojo/text":function(){define(["./_base/kernel","require","./has","./_base/xhr"],function(a,i,l,o){var g;g=function(a,g,e){o("GET",{url:a,sync:!!g,load:e})};var k={},n=function(a){if(a){var a=a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,""),g=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
g&&(a=g[1])}else a="";return a},j={},p={};a.cache=function(a,h,e){var f;typeof a=="string"?/\//.test(a)?(f=a,e=h):f=i.toUrl(a.replace(/\./g,"/")+(h?"/"+h:"")):(f=a+"",e=h);a=e!=void 0&&typeof e!="string"?e.value:e;e=e&&e.sanitize;return typeof a=="string"?(k[f]=a,e?n(a):a):a===null?(delete k[f],null):(f in k||g(f,!0,function(a){k[f]=a}),e?n(k[f]):k[f])};return{dynamic:!0,normalize:function(a,g){var e=a.split("!"),f=e[0];return(/^\./.test(f)?g(f):f)+(e[1]?"!"+e[1]:"")},load:function(a,h,e){var a=a.split("!"),
f=a.length>1,i=a[0],c=h.toUrl(a[0]),a=j,d=function(a){e(f?n(a):a)};i in k?a=k[i]:c in h.cache?a=h.cache[c]:c in k&&(a=k[c]);if(a===j)if(p[c])p[c].push(d);else{var m=p[c]=[d];g(c,!h.async,function(a){k[i]=k[c]=a;for(var b=0;b<m.length;)m[b++](a);delete p[c]})}else d(a)}}})},"dojo/keys":function(){define("dojo/keys",["./_base/kernel","./_base/sniff"],function(a,i){return a.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:i("safari")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,
PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,
NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:i("mac")&&!i("air")?i("safari")?91:224:17}})},"dojo/domReady":function(){define(["./has"],function(a){function i(a){p.push(a);j&&l()}function l(){if(!b){for(b=!0;p.length;)try{p.shift()(g)}catch(a){}b=!1;i._onQEmpty()}}var o=function(){return this}(),g=document,k={loaded:1,complete:1},n=typeof g.readyState!="string",j=!!k[g.readyState],p=[],b;i.load=function(a,b,c){i(c)};i._Q=p;i._onQEmpty=function(){};if(n)g.readyState=
"loading";if(!j){var h=[],e=function(a){a=a||o.event;if(!(j||a.type=="readystatechange"&&!k[g.readyState])){if(n)g.readyState="complete";j=1;l()}},f=function(a,b){a.addEventListener(b,e,!1);p.push(function(){a.removeEventListener(b,e,!1)})};if(!a("dom-addeventlistener")){var f=function(a,b){b="on"+b;a.attachEvent(b,e);p.push(function(){a.detachEvent(b,e)})},q=g.createElement("div");try{q.doScroll&&o.frameElement===null&&h.push(function(){try{return q.doScroll("left"),1}catch(a){}})}catch(c){}}f(g,
"DOMContentLoaded");f(o,"load");"onreadystatechange"in g?f(g,"readystatechange"):n||h.push(function(){return k[g.readyState]});if(h.length){var d=function(){if(!j){for(var a=h.length;a--;)if(h[a]()){e("poller");return}setTimeout(d,30)}};d()}}return i})},"dojo/_base/lang":function(){define("dojo/_base/lang",["./kernel","../has","./sniff"],function(a,i){i.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var l=i("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):
[],o=l.length,g=function(a){a||(a={});for(var b=1,e=arguments.length;b<e;b++)q._mixin(a,arguments[b]);return a},k=function(b,d,e){var f,g=0,h=a.global;if(!e)if(b.length){f=b[g++];try{e=a.scopeMap[f]&&a.scopeMap[f][1]}catch(k){}e=e||(f in h?h[f]:d?h[f]={}:void 0)}else return h;for(;e&&(f=b[g++]);)e=f in e?e[f]:d?e[f]={}:void 0;return e},n=function(a,b,e){return k(a.split("."),b,e)},j=Object.prototype.toString,p=function(){function a(){}return function(b,e){a.prototype=b;var f=new a;a.prototype=null;
e&&q._mixin(f,e);return f}}(),b=function(a,b,e){return(e||[]).concat(Array.prototype.slice.call(a,b||0))},h=i("ie")?function(){function a(b,c,e){e=e||[];for(c=c||0;c<b.length;c++)e.push(b[c]);return e}return function(d){return(d.item?a:b).apply(this,arguments)}}():b,e=function(a){if(!a||typeof a!="object"||q.isFunction(a))return a;if(a.nodeType&&"cloneNode"in a)return a.cloneNode(!0);if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return RegExp(a);var b,f,g;if(q.isArray(a)){b=
[];f=0;for(g=a.length;f<g;++f)f in a&&b.push(e(a[f]))}else b=a.constructor?new a.constructor:{};return q._mixin(b,a,e)},f=/\{([^\}]+)\}/g,q={_extraNames:l,_mixin:function(a,b,e){var f,g,h,k={};for(f in b)if(g=b[f],!(f in a)||a[f]!==g&&(!(f in k)||k[f]!==g))a[f]=e?e(g):g;if(i("bug-for-in-skips-shadowed")&&b)for(h=0;h<o;++h)if(f=l[h],g=b[f],!(f in a)||a[f]!==g&&(!(f in k)||k[f]!==g))a[f]=e?e(g):g;return a},mixin:g,setObject:function(a,b,e){var f=a.split("."),a=f.pop();return(e=k(f,!0,e))&&a?e[a]=b:
void 0},getObject:n,exists:function(a,b){return q.getObject(a,!1,b)!==void 0},isString:function(a){return typeof a=="string"||a instanceof String},isArray:function(a){return a&&(a instanceof Array||typeof a=="array")},isFunction:function(a){return j.call(a)==="[object Function]"},isObject:function(a){return a!==void 0&&(a===null||typeof a=="object"||q.isArray(a)||q.isFunction(a))},isArrayLike:function(a){return a&&a!==void 0&&!q.isString(a)&&!q.isFunction(a)&&!(a.tagName&&a.tagName.toLowerCase()==
"form")&&(q.isArray(a)||isFinite(a.length))},isAlien:function(a){return a&&!q.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(String(a))},extend:function(a){for(var b=1,e=arguments.length;b<e;b++)q._mixin(a.prototype,arguments[b]);return a},_hitchArgs:function(b,d){var e=h(arguments,2),f=q.isString(d);return function(){var g=h(arguments),k=f?(b||a.global)[d]:d;return k&&k.apply(b||this,e.concat(g))}},hitch:function(b,d){if(arguments.length>2)return q._hitchArgs.apply(a,arguments);d||(d=b,b=null);
if(q.isString(d)){b=b||a.global;if(!b[d])throw['dojo.hitch: scope["',d,'"] is null (scope="',b,'")'].join("");return function(){return b[d].apply(b,arguments||[])}}return!b?d:function(){return d.apply(b,arguments||[])}},delegate:p,_toArray:h,partial:function(){return q.hitch.apply(a,[null].concat(q._toArray(arguments)))},clone:e,trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,b,e){return a.replace(e||f,q.isFunction(b)?
b:function(a,c){return n(c,!1,b)})}};g(a,q);return q})},"dojo/Evented":function(){define("dojo/Evented",["./aspect","./on"],function(a,i){function l(){}var o=a.after;l.prototype={on:function(a,k){return i.parse(this,a,k,function(a,g){return o(a,"on"+g,k,!0)})},emit:function(){var a=[this];a.push.apply(a,arguments);return i.emit.apply(i,a)}};return l})},"dojo/mouse":function(){define("dojo/mouse",["./_base/kernel","./on","./has","./dom","./_base/window"],function(a,i,l,o,g){function k(a,g){var l=function(b,
h){return i(b,a,function(a){if(!o.isDescendant(a.relatedTarget,g?a.target:b))return h.call(this,a)})};if(!g)l.bubble=k(a,!0);return l}l.add("dom-quirks",g.doc&&g.doc.compatMode=="BackCompat");l.add("events-mouseenter",g.doc&&"onmouseenter"in g.doc.createElement("div"));l=l("dom-quirks")&&l("ie")||!l("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(a,g){return a.button&g},isLeft:function(a){return a.button&1},isMiddle:function(a){return a.button&4},isRight:function(a){return a.button&
2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(a,g){return a.button==g},isLeft:function(a){return a.button==0},isMiddle:function(a){return a.button==1},isRight:function(a){return a.button==2}};a.mouseButtons=l;return{enter:k("mouseover"),leave:k("mouseout"),isLeft:l.isLeft,isMiddle:l.isMiddle,isRight:l.isRight}})},"dojo/topic":function(){define("dojo/topic",["./Evented"],function(a){var i=new a;return{publish:function(){return i.emit.apply(i,arguments)},subscribe:function(){return i.on.apply(i,arguments)}}})},
"dojo/_base/xhr":function(){define("dojo/_base/xhr",["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./json","./lang","./array","../on"],function(a,i,l,o,g,k,n,j,p,b,h){i.add("native-xhr",function(){return typeof XMLHttpRequest!=="undefined"});if(l.getXhr)a._xhrObj=l.getXhr;else if(i("native-xhr"))a._xhrObj=function(){try{return new XMLHttpRequest}catch(a){throw Error("XMLHTTP not available: "+a);}};else{for(var l=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],
e,f=0;f<3;)try{if(e=l[f++],new ActiveXObject(e))break}catch(q){}a._xhrObj=function(){return new ActiveXObject(e)}}var c=a.config;a.objectToQuery=o.objectToQuery;a.queryToObject=o.queryToObject;a.fieldToObject=k.fieldToObject;a.formToObject=k.toObject;a.formToQuery=k.toQuery;a.formToJson=k.toJson;a._blockAsync=!1;var d=a._contentHandlers=a.contentHandlers={text:function(a){return a.responseText},json:function(a){return j.fromJson(a.responseText||null)},"json-comment-filtered":function(b){a.config.useCommentedJson||
console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\nUse djConfig.useCommentedJson=true to turn off this message.");var b=b.responseText,c=b.indexOf("/*"),d=b.lastIndexOf("*/");if(c==-1||d==-1)throw Error("JSON was not comment filtered");return j.fromJson(b.substring(c+2,d))},javascript:function(b){return a.eval(b.responseText)},
xml:function(a){var c=a.responseXML;if(i("ie")&&(!c||!c.documentElement)){var d=function(a){return"MSXML"+a+".DOMDocument"},d=["Microsoft.XMLDOM",d(6),d(4),d(3),d(2)];b.some(d,function(b){try{var d=new ActiveXObject(b);d.async=!1;d.loadXML(a.responseText);c=d}catch(e){return!1}return!0})}return c},"json-comment-optional":function(a){return a.responseText&&/^[^{\[]*\/\*/.test(a.responseText)?d["json-comment-filtered"](a):d.json(a)}};a._ioSetArgs=function(b,d,e,f){var h={args:b,url:b.url},j=null;if(b.form){var j=
g.byId(b.form),i=j.getAttributeNode("action");h.url=h.url||(i?i.value:null);j=k.toObject(j)}i=[{}];j&&i.push(j);b.content&&i.push(b.content);b.preventCache&&i.push({"dojo.preventCache":(new Date).valueOf()});h.query=o.objectToQuery(p.mixin.apply(null,i));h.handleAs=b.handleAs||"text";var l=new n(d);l.addCallbacks(e,function(a){return f(a,l)});var m=b.load;m&&p.isFunction(m)&&l.addCallback(function(a){return m.call(b,a,h)});var r=b.error;r&&p.isFunction(r)&&l.addErrback(function(a){return r.call(b,
a,h)});var q=b.handle;q&&p.isFunction(q)&&l.addBoth(function(a){return q.call(b,a,h)});c.ioPublish&&a.publish&&h.args.ioPublish!==!1&&(l.addCallbacks(function(b){a.publish("/dojo/io/load",[l,b]);return b},function(b){a.publish("/dojo/io/error",[l,b]);return b}),l.addBoth(function(b){a.publish("/dojo/io/done",[l,b]);return b}));l.ioArgs=h;return l};var m=function(a){a.canceled=!0;var b=a.ioArgs.xhr,c=typeof b.abort;(c=="function"||c=="object"||c=="unknown")&&b.abort();a=a.ioArgs.error;if(!a)a=Error("xhr cancelled"),
a.dojoType="cancel";return a},u=function(a){a=d[a.ioArgs.handleAs](a.ioArgs.xhr);return a===void 0?null:a},s=function(a,b){b.ioArgs.args.failOk||console.error(a);return a},t=null,r=[],v=0,z=function(b){v<=0&&(v=0,c.ioPublish&&a.publish&&(!b||b&&b.ioArgs.args.ioPublish!==!1)&&a.publish("/dojo/io/stop"))},H=function(){var b=(new Date).getTime();if(!a._blockAsync)for(var c=0,d;c<r.length&&(d=r[c]);c++){var e=d.dfd,f=function(){if(!e||e.canceled||!d.validCheck(e))r.splice(c--,1),v-=1;else if(d.ioCheck(e))r.splice(c--,
1),d.resHandle(e),v-=1;else if(e.startTime&&e.startTime+(e.ioArgs.args.timeout||0)<b){r.splice(c--,1);var a=Error("timeout exceeded");a.dojoType="timeout";e.errback(a);e.cancel();v-=1}};if(a.config.debugAtAllCosts)f.call(this);else try{f.call(this)}catch(g){e.errback(g)}}z(e);r.length||(clearInterval(t),t=null)};a._ioCancelAll=function(){try{b.forEach(r,function(a){try{a.dfd.cancel()}catch(b){}})}catch(a){}};i("ie")&&h(window,"unload",a._ioCancelAll);a._ioNotifyStart=function(b){c.ioPublish&&a.publish&&
b.ioArgs.args.ioPublish!==!1&&(v||a.publish("/dojo/io/start"),v+=1,a.publish("/dojo/io/send",[b]))};a._ioWatch=function(a,b,c,d){var e=a.ioArgs.args;if(e.timeout)a.startTime=(new Date).getTime();r.push({dfd:a,validCheck:b,ioCheck:c,resHandle:d});t||(t=setInterval(H,50));e.sync&&H()};var P=function(a){return a.ioArgs.xhr.readyState},F=function(a){return 4==a.ioArgs.xhr.readyState},N=function(b){var c=b.ioArgs.xhr;if(a._isDocumentOk(c))b.callback(b);else{var d=Error("Unable to load "+b.ioArgs.url+" status:"+
c.status);d.status=c.status;d.responseText=c.responseText;d.xhr=c;b.errback(d)}};a._ioAddQueryToUrl=function(a){if(a.query.length)a.url+=(a.url.indexOf("?")==-1?"?":"&")+a.query,a.query=null};a.xhr=function(b,c,d){var e=a._ioSetArgs(c,m,u,s),f=e.ioArgs,g=f.xhr=a._xhrObj(f.args);if(!g)return e.cancel(),e;"postData"in c?f.query=c.postData:"putData"in c?f.query=c.putData:"rawBody"in c?f.query=c.rawBody:(arguments.length>2&&!d||"POST|PUT".indexOf(b.toUpperCase())==-1)&&a._ioAddQueryToUrl(f);g.open(b,
f.url,c.sync!==!0,c.user||void 0,c.password||void 0);if(c.headers)for(var h in c.headers)if(h.toLowerCase()==="content-type"){if(!c.contentType)c.contentType=c.headers[h]}else c.headers[h]&&g.setRequestHeader(h,c.headers[h]);c.contentType!==!1&&g.setRequestHeader("Content-Type",c.contentType||"application/x-www-form-urlencoded");(!c.headers||!("X-Requested-With"in c.headers))&&g.setRequestHeader("X-Requested-With","XMLHttpRequest");a._ioNotifyStart(e);if(a.config.debugAtAllCosts)g.send(f.query);else try{g.send(f.query)}catch(k){f.error=
k,e.cancel()}a._ioWatch(e,P,F,N);return e};a.xhrGet=function(b){return a.xhr("GET",b)};a.rawXhrPost=a.xhrPost=function(b){return a.xhr("POST",b,!0)};a.rawXhrPut=a.xhrPut=function(b){return a.xhr("PUT",b,!0)};a.xhrDelete=function(b){return a.xhr("DELETE",b)};a._isDocumentOk=function(a){a=a.status||0;return a>=200&&a<300||a==304||a==1223||!a};a._getText=function(b){var c;a.xhrGet({url:b,sync:!0,load:function(a){c=a}});return c};p.mixin(a.xhr,{_xhrObj:a._xhrObj,fieldToObject:k.fieldToObject,formToObject:k.toObject,
objectToQuery:o.objectToQuery,formToQuery:k.toQuery,formToJson:k.toJson,queryToObject:o.queryToObject,contentHandlers:d,_ioSetArgs:a._ioSetArgs,_ioCancelAll:a._ioCancelAll,_ioNotifyStart:a._ioNotifyStart,_ioWatch:a._ioWatch,_ioAddQueryToUrl:a._ioAddQueryToUrl,_isDocumentOk:a._isDocumentOk,_getText:a._getText,get:a.xhrGet,post:a.xhrPost,put:a.xhrPut,del:a.xhrDelete});return a.xhr})},"dojo/loadInit":function(){define("dojo/loadInit",["./_base/loader"],function(a){return{dynamic:0,normalize:function(a){return a},
load:a.loadInit}})},"dojo/_base/unload":function(){define(["./kernel","./connect"],function(a,i){var l=window;a.addOnWindowUnload=function(o,g){if(!a.windowUnloaded)i.connect(l,"unload",a.windowUnloaded=function(){});i.connect(l,"unload",o,g)};a.addOnUnload=function(a,g){i.connect(l,"beforeunload",a,g)};return{addOnWindowUnload:a.addOnWindowUnload,addOnUnload:a.addOnUnload}})},"dojo/_base/NodeList":function(){define("dojo/_base/NodeList",["./kernel","../query","./array","./html","../NodeList-dom"],
function(a,i,l){var i=i.NodeList,o=i.prototype;o.connect=i._adaptAsForEach(function(){return a.connect.apply(this,arguments)});o.coords=i._adaptAsMap(a.coords);i.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];l.forEach(i.events,function(a){var k="on"+a;o[k]=function(a,g){return this.connect(k,a,g)}});a.NodeList=i;return a.NodeList})},"dojo/_base/Color":function(){define(["./kernel",
"./lang","./array","./config"],function(a,i,l,o){var g=a.Color=function(a){a&&this.setColor(a)};g.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:o.transparentColor||[0,0,0,0]};i.extend(g,{r:255,g:255,b:255,a:1,_set:function(a,g,j,i){this.r=a;this.g=g;this.b=
j;this.a=i},setColor:function(a){i.isString(a)?g.fromString(a,this):i.isArray(a)?g.fromArray(a,this):(this._set(a.r,a.g,a.b,a.a),a instanceof g||this.sanitize());return this},sanitize:function(){return this},toRgb:function(){return[this.r,this.g,this.b]},toRgba:function(){return[this.r,this.g,this.b,this.a]},toHex:function(){return"#"+l.map(["r","g","b"],function(a){a=this[a].toString(16);return a.length<2?"0"+a:a},this).join("")},toCss:function(a){var g=this.r+", "+this.g+", "+this.b;return(a?"rgba("+
g+", "+this.a:"rgb("+g)+")"},toString:function(){return this.toCss(!0)}});g.blendColors=a.blendColors=function(a,i,j,p){var b=p||new g;l.forEach(["r","g","b","a"],function(g){b[g]=a[g]+(i[g]-a[g])*j;g!="a"&&(b[g]=Math.round(b[g]))});return b.sanitize()};g.fromRgb=a.colorFromRgb=function(a,i){var j=a.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return j&&g.fromArray(j[1].split(/\s*,\s*/),i)};g.fromHex=a.colorFromHex=function(a,i){var j=i||new g,p=a.length==4?4:8,b=(1<<p)-1,a=Number("0x"+a.substr(1));
if(isNaN(a))return null;l.forEach(["b","g","r"],function(g){var e=a&b;a>>=p;j[g]=p==4?17*e:e});j.a=1;return j};g.fromArray=a.colorFromArray=function(a,i){var j=i||new g;j._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(j.a))j.a=1;return j.sanitize()};g.fromString=a.colorFromString=function(a,i){var j=g.named[a];return j&&g.fromArray(j,i)||g.fromRgb(a,i)||g.fromHex(a,i)};return g})},"dojo/selector/_loader":function(){define(["../has","require"],function(a,i){var l=document.createElement("div");
a.add("dom-qsa2.1",!!l.querySelectorAll);a.add("dom-qsa3",function(){try{return l.innerHTML="<p class='TEST'></p>",l.querySelectorAll(".TEST:empty").length==1}catch(a){}});var o;return{load:function(g,k,l){var j=i,g=g=="default"?a("config-selectorEngine")||"css3":g,g=g=="css2"||g=="lite"?"./lite":g=="css2.1"?a("dom-qsa2.1")?"./lite":"./acme":g=="css3"?a("dom-qsa3")?"./lite":"./acme":g=="acme"?"./acme":(j=k)&&g;if(g.charAt(g.length-1)=="?")var g=g.substring(0,g.length-1),p=!0;if(p&&(a("dom-compliant-qsa")||
o))return l(o);j([g],function(a){g!="./lite"&&(o=a);l(a)})}}})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./has"],function(a,i,l){function o(a,b,d,f,g){if(f=b.match(/(.*):(.*)/))return b=f[2],f=f[1],j.selector(f,b).call(g,a,d);l("touch")&&(p.test(b)&&(d=t(d)),!l("event-orientationchange")&&b=="orientationchange"&&(b="resize",a=window,d=t(d)));if(a.addEventListener){var h=b in e;a.addEventListener(h?e[b]:b,d,h);return{remove:function(){a.removeEventListener(b,
d,h)}}}b="on"+b;if(c&&a.attachEvent)return c(a,b,d);throw Error("Target must be an event emitter");}function g(){this.cancelable=!1}function k(){this.bubbles=!1}var n=window.ScriptEngineMajorVersion;l.add("jscript",n&&n()+ScriptEngineMinorVersion()/10);l.add("event-orientationchange",l("touch")&&!l("android"));l.add("event-focusin",function(a,b,c){return"onfocusin"in c});var j=function(a,b,c,d){if(typeof a.on=="function"&&typeof b!="function"&&!a.nodeType)return a.on(b,c);return j.parse(a,b,c,o,d,
this)};j.pausable=function(a,b,c,d){var e,a=j(a,b,function(){if(!e)return c.apply(this,arguments)},d);a.pause=function(){e=!0};a.resume=function(){e=!1};return a};j.once=function(a,b,c){var d=j(a,b,function(){d.remove();return c.apply(this,arguments)});return d};j.parse=function(a,b,c,d,e,f){if(b.call)return b.call(f,a,c);if(b.indexOf(",")>-1){for(var b=b.split(/\s*,\s*/),g=[],h=0,i;i=b[h++];)g.push(d(a,i,c,e,f));g.remove=function(){for(var a=0;a<g.length;a++)g[a].remove()};return g}return d(a,b,
c,e,f)};var p=/^touch/;j.selector=function(a,b,c){return function(d,e){var f=this,g=b.bubble;g?b=g:c!==!1&&(c=!0);return j(d,b,function(b){var g=b.target;for(f=f&&f.matches?f:i.query;!f.matches(g,a,d);)if(g==d||!c||!(g=g.parentNode))return;return e.call(g,b)})}};var b=[].slice,h=j.emit=function(a,c,d){var e=b.call(arguments,2),f="on"+c;if("parentNode"in a){var h=e[0]={},i;for(i in d)h[i]=d[i];h.preventDefault=g;h.stopPropagation=k;h.target=a;h.type=c;d=h}do a[f]&&a[f].apply(a,e);while(d&&d.bubbles&&
(a=a.parentNode));return d&&d.cancelable&&d},e=l("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(l("dom-addeventlistener")){if(l("opera"))e.keydown="keypress";j.emit=function(a,b,c){if(a.dispatchEvent&&document.createEvent){var d=(a.ownerDocument||document).createEvent("HTMLEvents");d.initEvent(b,!!c.bubbles,!!c.cancelable);for(var e in c)e in d||(d[e]=c[e]);return a.dispatchEvent(d)&&d}return h.apply(j,arguments)}}else{j._fixEvent=function(a,b){if(!a)a=(b&&(b.ownerDocument||b.document||
b).parentWindow||window).event;if(!a)return a;if(!a.target){a.target=a.srcElement;a.currentTarget=b||a.srcElement;if(a.type=="mouseover")a.relatedTarget=a.fromElement;if(a.type=="mouseout")a.relatedTarget=a.toElement;if(!a.stopPropagation)a.stopPropagation=d,a.preventDefault=m;switch(a.type){case "keypress":var c="charCode"in a?a.charCode:a.keyCode;c==10?(c=0,a.keyCode=13):c==13||c==27?c=0:c==3&&(c=99);a.charCode=c;c=a;c.keyChar=c.charCode?String.fromCharCode(c.charCode):"";c.charOrCode=c.keyChar||
c.keyCode}}return a};var f=function(a){this.handle=a};f.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var q=function(a){return function(b){b=j._fixEvent(b,this);return a.call(this,b)}},c=function(b,c,d){d=q(d);if(((b.ownerDocument?b.ownerDocument.parentWindow:b.parentWindow||b.window||window)!=top||l("jscript")<5.8)&&!l("config-_allow_leaks")){typeof _dojoIEListeners_=="undefined"&&(_dojoIEListeners_=[]);var e=b[c];if(!e||!e.listeners){var g=e;b[c]=e=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);}}");
e.listeners=[];e.global=this;g&&e.listeners.push(_dojoIEListeners_.push(g)-1)}e.listeners.push(b=e.global._dojoIEListeners_.push(d)-1);return new f(b)}return a.after(b,c,d,!0)},d=function(){this.cancelBubble=!0},m=j._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(a){}this.returnValue=!1}}if(l("touch"))var u=function(){},s=window.orientation,t=function(a){return function(b){var c=b.corrected;if(!c){var d=b.type;try{delete b.type}catch(e){}b.type?
(u.prototype=b,c=new u,c.preventDefault=function(){b.preventDefault()},c.stopPropagation=function(){b.stopPropagation()}):(c=b,c.type=d);b.corrected=c;if(d=="resize"){if(s==window.orientation)return null;s=window.orientation;c.type="orientationchange";return a.call(this,c)}if(!("rotation"in c))c.rotation=0,c.scale=1;var d=c.changedTouches[0],f;for(f in d)delete c[f],c[f]=d[f]}return a.call(this,c)}};return j})},"dojo/_base/sniff":function(){define(["./kernel","../has"],function(a,i){a.isBrowser=!0;
a._name="browser";var l=i.add,o=navigator,g=o.userAgent,k=o.appVersion,n=parseFloat(k),j,p,b,h,e,f,q,c,d,m,u,s,t;g.indexOf("AdobeAIR")>=0&&(p=1);b=k.indexOf("Konqueror")>=0?n:0;h=parseFloat(g.split("WebKit/")[1])||void 0;e=parseFloat(g.split("Chrome/")[1])||void 0;f=k.indexOf("Macintosh")>=0;s=/iPhone|iPod|iPad/.test(g);t=parseFloat(g.split("Android ")[1])||void 0;isTrident=parseFloat(k.split("Trident/")[1])||void 0;var r=Math.max(k.indexOf("WebKit"),k.indexOf("Safari"),0);if(r&&!e&&(q=parseFloat(k.split("Version/")[1]),
!q||parseFloat(k.substr(r+7))<=419.3))q=2;if(!i("dojo-webkit")&&(g.indexOf("Opera")>=0&&(j=n,j>=9.8&&(j=parseFloat(g.split("Version/")[1])||n)),g.indexOf("Gecko")>=0&&!b&&!h&&!isTrident&&(c=d=n),d&&(u=parseFloat(g.split("Firefox/")[1]||g.split("Minefield/")[1])||void 0),document.all&&!j))m=parseFloat(k.split("MSIE ")[1])||void 0,(g=document.documentMode)&&g!=5&&Math.floor(m)!=g&&(m=g);g=document.compatMode=="BackCompat";l("opera",a.isOpera=j);l("air",a.isAIR=p);l("khtml",a.isKhtml=b);l("webkit",a.isWebKit=
h);l("chrome",a.isChrome=e);l("mac",a.isMac=f);l("safari",a.isSafari=q);l("mozilla",a.isMozilla=a.isMoz=c);l("ie",a.isIE=m);l("ff",a.isFF=u);l("quirks",a.isQuirks=g);l("ios",a.isIos=s);l("android",a.isAndroid=t);l("trident",a.isTrident=isTrident);a.locale=a.locale||(m?o.userLanguage:o.language).toLowerCase();return i})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(a,i,l){function o(a){return n[a]=new Function("item","index","array",a)}function g(a){var g=!a;return function(e,
f,i){var c=0,d=e&&e.length||0,j;d&&typeof e=="string"&&(e=e.split(""));typeof f=="string"&&(f=n[f]||o(f));if(i)for(;c<d;++c){if(j=!f.call(i,e[c],c,e),a^j)return!j}else for(;c<d;++c)if(j=!f(e[c],c,e),a^j)return!j;return g}}function k(a){var g=1,e=0,f=0;a||(g=e=f=-1);return function(i,c,d,k){if(k&&g>0)return p.lastIndexOf(i,c,d);var k=i&&i.length||0,l=a?k+f:e;d===j?d=a?e:k+f:d<0?(d=k+d,d<0&&(d=e)):d=d>=k?k+f:d;for(k&&typeof i=="string"&&(i=i.split(""));d!=l;d+=g)if(i[d]==c)return d;return-1}}var n=
{},j,p;p={every:g(!1),some:g(!0),indexOf:k(!0),lastIndexOf:k(!1),forEach:function(a,g,e){var f=0,i=a&&a.length||0;i&&typeof a=="string"&&(a=a.split(""));typeof g=="string"&&(g=n[g]||o(g));if(e)for(;f<i;++f)g.call(e,a[f],f,a);else for(;f<i;++f)g(a[f],f,a)},map:function(a,g,e,f){var i=0,c=a&&a.length||0,f=new (f||Array)(c);c&&typeof a=="string"&&(a=a.split(""));typeof g=="string"&&(g=n[g]||o(g));if(e)for(;i<c;++i)f[i]=g.call(e,a[i],i,a);else for(;i<c;++i)f[i]=g(a[i],i,a);return f},filter:function(a,
g,e){var f=0,i=a&&a.length||0,c=[],d;i&&typeof a=="string"&&(a=a.split(""));typeof g=="string"&&(g=n[g]||o(g));if(e)for(;f<i;++f)d=a[f],g.call(e,d,f,a)&&c.push(d);else for(;f<i;++f)d=a[f],g(d,f,a)&&c.push(d);return c},clearCache:function(){n={}}};l.mixin(a,p);return p})},"dojo/_base/json":function(){define(["./kernel","../json"],function(a,i){a.fromJson=function(a){return eval("("+a+")")};a._escapeString=i.stringify;a.toJsonIndentStr="\t";a.toJson=function(l,o){return i.stringify(l,function(a,i){if(i){var l=
i.__json__||i.json;if(typeof l=="function")return l.call(i)}return i},o&&a.toJsonIndentStr)};return a})},"dojo/_base/window":function(){define("dojo/_base/window",["./kernel","../has","./sniff"],function(a,i){a.doc=a.global.document||null;a.body=function(){return a.doc.body||a.doc.getElementsByTagName("body")[0]};a.setContext=function(i,g){a.global=l.global=i;a.doc=l.doc=g};a.withGlobal=function(i,g,k,n){var j=a.global;try{return a.global=l.global=i,a.withDoc.call(null,i.document,g,k,n)}finally{a.global=
l.global=j}};a.withDoc=function(o,g,k,n){var j=a.doc,p=a.isQuirks,b=a.isIE,h,e,f;try{a.doc=l.doc=o;a.isQuirks=i.add("quirks",a.doc.compatMode=="BackCompat",!0,!0);if(i("ie")&&(f=o.parentWindow)&&f.navigator)h=parseFloat(f.navigator.appVersion.split("MSIE ")[1])||void 0,(e=o.documentMode)&&e!=5&&Math.floor(h)!=e&&(h=e),a.isIE=i.add("ie",h,!0,!0);k&&typeof g=="string"&&(g=k[g]);return g.apply(k,n||[])}finally{a.doc=l.doc=j,a.isQuirks=i.add("quirks",p,!0,!0),a.isIE=i.add("ie",b,!0,!0)}};var l={global:a.global,
doc:a.doc,body:a.body,setContext:a.setContext,withGlobal:a.withGlobal,withDoc:a.withDoc};return l})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(a,i,l){function o(a){if(typeof a=="string"||a instanceof String){if(a&&!k.test(a))return n[0]=a,n;a=a.split(k);a.length&&!a[0]&&a.shift();a.length&&!a[a.length-1]&&a.pop();return a}if(!a)return[];return i.filter(a,function(a){return a})}var g,k=/\s+/,n=[""],j={};return g={contains:function(a,b){return(" "+l.byId(a).className+
" ").indexOf(" "+b+" ")>=0},add:function(a,b){var a=l.byId(a),b=o(b),g=a.className,e,g=g?" "+g+" ":" ";e=g.length;for(var f=0,i=b.length,c;f<i;++f)(c=b[f])&&g.indexOf(" "+c+" ")<0&&(g+=c+" ");e<g.length&&(a.className=g.substr(1,g.length-2))},remove:function(g,b){var g=l.byId(g),h;if(b!==void 0){b=o(b);h=" "+g.className+" ";for(var e=0,f=b.length;e<f;++e)h=h.replace(" "+b[e]+" "," ");h=a.trim(h)}else h="";g.className!=h&&(g.className=h)},replace:function(a,b,h){a=l.byId(a);j.className=a.className;
g.remove(j,h);g.add(j,b);a.className!==j.className&&(a.className=j.className)},toggle:function(a,b,h){a=l.byId(a);if(h===void 0)for(var b=o(b),e=0,f=b.length,i;e<f;++e)i=b[e],g[g.contains(a,i)?"remove":"add"](a,i);else g[h?"add":"remove"](a,b);return h}}})},"dojo/_base/config":function(){define(["../has","require"],function(a,i){var l={},o=i.rawConfig,g;for(g in o)l[g]=o[g];return l})},"dojo/_base/event":function(){define("dojo/_base/event",["./kernel","../on","../has","../dom-geometry"],function(a,
i,l,o){if(i._fixEvent){var g=i._fixEvent;i._fixEvent=function(a,i){(a=g(a,i))&&o.normalizeEvent(a);return a}}a.fixEvent=function(a,g){if(i._fixEvent)return i._fixEvent(a,g);return a};a.stopEvent=function(a){l("dom-addeventlistener")||a&&a.preventDefault?(a.preventDefault(),a.stopPropagation()):(a=a||window.event,a.cancelBubble=!0,i._preventDefault.call(a))};return{fix:a.fixEvent,stop:a.stopEvent}})},"dojo/main":function(){define(["./_base/kernel","./has","require","./_base/sniff","./_base/lang","./_base/array",
"./ready","./_base/declare","./_base/connect","./_base/Deferred","./_base/json","./_base/Color","./has!dojo-firebug?./_firebug/firebug","./_base/browser","./_base/loader"],function(a,i,l,o,g,k,n){a.config.isDebug&&l(["./_firebug/firebug"]);var j=a.config.require;j&&(j=k.map(g.isArray(j)?j:[j],function(a){return a.replace(/\./g,"/")}),a.isAsync?l(j):n(1,function(){l(j)}));return a})},"dojo/ready":function(){define("dojo/ready",["./_base/kernel","./has","require","./domReady","./_base/lang"],function(a,
i,l,o,g){var k=0,n=[],j=0,i=function(){k=1;a._postLoad=a.config.afterOnLoad=!0;p()},p=function(){if(!j){for(j=1;k&&(!o||o._Q.length==0)&&l.idle()&&n.length;){var a=n.shift();try{a()}catch(b){}}j=0}};l.on("idle",p);if(o)o._onQEmpty=p;var b=a.ready=a.addOnLoad=function(b,f,h){var c=g._toArray(arguments);typeof b!="number"?(h=f,f=b,b=1E3):c.shift();h=h?g.hitch.apply(a,c):function(){f()};h.priority=b;for(c=0;c<n.length&&b>=n[c].priority;c++);n.splice(c,0,h);p()},h=a.config.addOnLoad;if(h)b[g.isArray(h)?
"apply":"call"](a,h);a.config.parseOnLoad&&!a.isAsync&&b(99,function(){a.parser||(a.deprecated("Add explicit require(['dojo/parser']);","","2.0"),l(["dojo/parser"]))});o?o(i):i();return b})},"dojo/aspect":function(){define("dojo/aspect",[],function(){function a(a,g,i,n){var j=a[g],p=g=="around",b;if(p){var h=i(function(){return j.advice(this,arguments)});b={remove:function(){h&&(h=a=i=null)},advice:function(a,b){return h?h.apply(a,b):j.advice(a,b)}}}else b={remove:function(){if(b.advice){var e=b.previous,
f=b.next;if(!f&&!e)delete a[g];else if(e?e.next=f:a[g]=f,f)f.previous=e;a=i=b.advice=null}},id:l++,advice:i,receiveArguments:n};if(j&&!p)if(g=="after"){for(;j.next&&(j=j.next););j.next=b;b.previous=j}else{if(g=="before")a[g]=b,b.next=j,j.previous=b}else a[g]=b;return b}function i(i){return function(g,k,n,j){var p=g[k],b;if(!p||p.target!=g){g[k]=b=function(){for(var a=l,e=arguments,f=b.before;f;)e=f.advice.apply(this,e)||e,f=f.next;if(b.around)var g=b.around.advice(this,e);for(f=b.after;f&&f.id<a;)g=
f.receiveArguments?f.advice.apply(this,e)||g:f.advice.call(this,g),f=f.next;return g};if(p)b.around={advice:function(a,b){return p.apply(a,b)}};b.target=g}g=a(b||p,i,n,j);n=null;return g}}var l=0;return{before:i("before"),around:i("around"),after:i("after")}})},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(a,i,l,o,g,k,n,j){function p(b,c,e,f,g){f=j.hitch(e,f);if(!b||!b.addEventListener&&!b.attachEvent)return o.after(b||
a.global,c,f,!0);typeof c=="string"&&c.substring(0,2)=="on"&&(c=c.substring(2));if(!b)b=a.global;if(!g)switch(c){case "keypress":c=q;break;case "mouseenter":c=k.enter;break;case "mouseleave":c=k.leave}return i(b,c,f,g)}function b(a){a.keyChar=a.charCode?String.fromCharCode(a.charCode):"";a.charOrCode=a.keyChar||a.keyCode}n.add("events-keypress-typed",function(){var a={charCode:0};try{a=document.createEvent("KeyboardEvent"),(a.initKeyboardEvent||a.initKeyEvent).call(a,"keypress",!0,!0,null,!1,!1,!1,
!1,9,3)}catch(b){}return a.charCode==0&&!n("opera")});var h={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},e=n("mac")?"metaKey":"ctrlKey",f=function(a,c){var e=j.mixin({},a,c);b(e);e.preventDefault=function(){a.preventDefault()};e.stopPropagation=function(){a.stopPropagation()};return e},q;q=n("events-keypress-typed")?function(a,b){var c=i(a,"keydown",function(a){var c=a.keyCode,d=(c!=13||n("ie")>=9&&!n("quirks"))&&c!=32&&(c!=27||!n("ie"))&&(c<
48||c>90)&&(c<96||c>111)&&(c<186||c>192)&&(c<219||c>222)&&c!=229;if(d||a.ctrlKey){d=d?0:c;if(a.ctrlKey)if(c==3||c==13)return b.call(a.currentTarget,a);else d>95&&d<106?d-=48:!a.shiftKey&&d>=65&&d<=90?d+=32:d=h[d]||d;c=f(a,{type:"keypress",faux:!0,charCode:d});b.call(a.currentTarget,c);if(n("ie"))try{a.keyCode=c.keyCode}catch(e){}}}),e=i(a,"keypress",function(a){var c=a.charCode,a=f(a,{charCode:c>=32?c:0,faux:!0});return b.call(this,a)});return{remove:function(){c.remove();e.remove()}}}:n("opera")?
function(a,b){return i(a,"keypress",function(a){var c=a.which;c==3&&(c=99);c=c<32&&!a.shiftKey?0:c;a.ctrlKey&&!a.shiftKey&&c>=65&&c<=90&&(c+=32);return b.call(this,f(a,{charCode:c}))})}:function(a,c){return i(a,"keypress",function(a){b(a);return c.call(this,a)})};var c={_keypress:q,connect:function(){var a=arguments,b=[],c=0;b.push(typeof a[0]=="string"?null:a[c++],a[c++]);var e=a[c+1];b.push(typeof e=="string"||typeof e=="function"?a[c++]:null,a[c++]);for(e=a.length;c<e;c++)b.push(a[c]);return p.apply(this,
b)},disconnect:function(a){a&&a.remove()},subscribe:function(a,b,c){return l.subscribe(a,j.hitch(b,c))},publish:function(a,b){return l.publish.apply(l,[a].concat(b))},connectPublisher:function(a,b,e){var f=function(){c.publish(a,arguments)};return e?c.connect(b,e,f):c.connect(b,f)},isCopyKey:function(a){return a[e]}};c.unsubscribe=c.disconnect;j.mixin(a,c);return c})}}});(function(){var a=this.require;a({cache:{}});!a.async&&a(["dojo"]);a.boot&&a.apply(null,a.boot)})();
