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

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

		http://dojotoolkit.org
*/

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