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