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

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