SelfHost/Test Environment/admin/spiderbasic/dojo/dojo.js
2025-12-15 19:46:13 +01:00

1122 lines
584 KiB
JavaScript

//>>built
(function(f,p){var k,n=function(){},e=function(a){for(var c in a)return 0;return 1},h={}.toString,q=function(a){return"[object Function]"==h.call(a)},d=function(a){return"[object String]"==h.call(a)},b=function(a){return"[object Array]"==h.call(a)},a=function(a,c){if(a)for(var b=0;b<a.length;)c(a[b++])},c=function(a,c){for(var b in c)a[b]=c[b];return a},l=function(a,b){return c(Error(a),{src:"dojoLoader",info:b})},g=1,s=function(){return"_"+g++},r=function(a,c,b){return La(a,c,b,0,r)},m=this,t=m.document,
w=t&&t.createElement("DiV"),u=r.has=function(a){return q(v[a])?v[a]=v[a](m,t,w):v[a]},v=u.cache=p.hasCache;u.add=function(a,c,b,g){(void 0===v[a]||g)&&(v[a]=c);return b&&u(a)};u.add("host-webworker","undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);u("host-webworker")&&(c(p.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}),p.loaderPatch={injectUrl:function(a,c){try{importScripts(a),c()}catch(b){console.error(b)}}});
for(var x in f.has)u.add(x,f.has[x],0,1);var z=0,y=[],A=0,B=n,E=n,H;r.isXdUrl=n;r.initSyncLoader=function(a,c,b){A||(A=a,B=c,E=b);return{sync:"sync",requested:1,arrived:2,nonmodule:3,executing:4,executed:5,syncExecStack:y,modules:I,execQ:U,getModule:X,injectModule:na,setArrived:ba,signal:C,finishExec:ea,execModule:fa,dojoRequirePlugin:A,getLegacyMode:function(){return z},guardCheckComplete:ga}};var L=location.protocol,M=location.host;r.isXdUrl=function(a){return/^\./.test(a)?!1:/^\/\//.test(a)?!0:
(a=a.match(/^([^\/\:]+\:)\/+([^\/]+)/))&&(a[1]!=L||M&&a[2]!=M)};u.add("dojo-force-activex-xhr",!t.addEventListener&&"file:"==window.location.protocol);u.add("native-xhr","undefined"!=typeof XMLHttpRequest);if(u("native-xhr")&&!u("dojo-force-activex-xhr"))H=function(){return new XMLHttpRequest};else{var Q=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],G;for(k=0;3>k;)try{if(G=Q[k++],new ActiveXObject(G))break}catch(J){}H=function(){return new ActiveXObject(G)}}r.getXhr=H;u.add("dojo-gettext-api",
1);r.getText=function(a,c,b){var g=H();g.open("GET",oa(a),!1);g.send(null);if(200==g.status||!location.host&&!g.status)b&&b(g.responseText,c);else throw l("xhrFailed",g.status);return g.responseText};var F=u("csp-restrictions")?function(){}:new Function("return eval(arguments[0]);");r.eval=function(a,b){return F(a+"\r\n//# sourceURL\x3d"+b)};var D={},C=r.signal=function(c,g){var l=D[c];a(l&&l.slice(0),function(a){a.apply(null,b(g)?g:[g])})},P=r.on=function(a,b){var c=D[a]||(D[a]=[]);c.push(b);return{remove:function(){for(var a=
0;a<c.length;a++)if(c[a]===b){c.splice(a,1);break}}}},N=[],K={},R=[],S={},O=r.map={},V=[],I={},T="",Z={},pa={},qa={},ca=0,ra=function(a,c){c=!1!==c;var b,g,l,m;for(b in pa)g=pa[b],(l=b.match(/^url\:(.+)/))?Z["url:"+Ma(l[1],a)]=g:"*now"==b?m=g:"*noref"!=b&&(l=ha(b,a,!0),Z[l.mid]=Z["url:"+l.url]=g);m&&m(Ca(a));c&&(pa={})},Na=function(a){return a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(a){return"\\"+a})},Da=function(a,b){b.splice(0,b.length);for(var c in a)b.push([c,a[c],RegExp("^"+Na(c)+"(/|$)"),
c.length]);b.sort(function(a,b){return b[3]-a[3]});return b},$a=function(b,c){a(b,function(a){c.push([d(a[0])?RegExp("^"+Na(a[0])+"$"):a[0],a[1]])})},Oa=function(a){var b=a.name;b||(b=a,a={name:b});a=c({main:"main"},a);a.location=a.location?a.location:b;a.packageMap&&(O[b]=a.packageMap);a.main.indexOf("./")||(a.main=a.main.substring(2));S[b]=a},Pa=[],ia=function(b,g,l){for(var m in b){"waitSeconds"==m&&(r.waitms=1E3*(b[m]||0));"cacheBust"==m&&(T=b[m]?d(b[m])?b[m]:(new Date).getTime()+"":"");if("baseUrl"==
m||"combo"==m)r[m]=b[m];if("async"==m){var s=b[m];r.legacyMode=z=d(s)&&/sync|legacyAsync/.test(s)?s:!s?"sync":!1;r.async=!z}b[m]!==v&&(r.rawConfig[m]=b[m],"has"!=m&&u.add("config-"+m,b[m],0,g))}r.baseUrl||(r.baseUrl="./");/\/$/.test(r.baseUrl)||(r.baseUrl+="/");for(m in b.has)u.add(m,b.has[m],0,g);a(b.packages,Oa);for(var t in b.packagePaths)a(b.packagePaths[t],function(a){var b=t+"/"+a;d(a)&&(a={name:a});a.location=b;Oa(a)});Da(c(O,b.map),V);a(V,function(a){a[1]=Da(a[1],[]);"*"==a[0]&&(V.star=a)});
Da(c(K,b.paths),R);$a(b.aliases,N);if(g)Pa.push({config:b.config});else for(m in b.config)g=X(m,l),g.config=c(g.config||{},b.config[m]);b.cache&&(ra(),pa=b.cache,ra(0,!!b.cache["*noref"]));C("config",[b,r.rawConfig])};u("dojo-cdn");var sa=t.getElementsByTagName("script");k=0;for(var Y,aa,ta,ja;k<sa.length;){Y=sa[k++];if((ta=Y.getAttribute("src"))&&(ja=ta.match(/(((.*)\/)|^)dojo\.js(\W|$)/i)))aa=ja[3]||"",p.baseUrl=p.baseUrl||aa,ca=Y;if(ta=Y.getAttribute("data-dojo-config")||Y.getAttribute("djConfig"))qa=
r.eval("({ "+ta+" })","data-dojo-config"),ca=Y}r.rawConfig={};ia(p,1);u("dojo-cdn")&&((S.dojo.location=aa)&&(aa+="/"),S.dijit.location=aa+"../dijit/",S.dojox.location=aa+"../dojox/");ia(f,1);ia(qa,1);var ka=function(b){ga(function(){a(b.deps,na)})},La=function(a,g,m,t,e){var h;if(d(a)){if((h=X(a,t,!0))&&h.executed)return h.result;throw l("undefinedModule",a);}b(a)||(ia(a,0,t),a=g,g=m);if(b(a))if(a.length){m="require*"+s();for(var u,q=[],w=0;w<a.length;)u=a[w++],q.push(X(u,t));h=c(ua("",m,0,""),{injected:2,
deps:q,def:g||n,require:t?t.require:r,gc:1});I[h.mid]=h;ka(h);var f=la&&"sync"!=z;ga(function(){fa(h,f)});h.executed||U.push(h);da()}else g&&g();return e},Ca=function(a){if(!a)return r;var b=a.require;b||(b=function(c,g,m){return La(c,g,m,a,b)},a.require=c(b,r),b.module=a,b.toUrl=function(b){return Ma(b,a)},b.toAbsMid=function(b){return Ea(b,a)},b.syncLoadNls=function(b){b=ha(b,a);var c=I[b.mid];if(!c||!c.executed)if($=Z[b.mid]||Z["url:"+b.url])va($),c=I[b.mid];return c&&c.executed&&c.result});return b},
U=[],wa=[],W={},ab=function(a){a.injected=1;W[a.mid]=1;a.url&&(W[a.url]=a.pack||1);Qa()},ba=function(a){a.injected=2;delete W[a.mid];a.url&&delete W[a.url];e(W)&&(xa(),"xd"==z&&(z="sync"))},bb=r.idle=function(){return!wa.length&&e(W)&&!U.length&&!la},ya=function(a,b){if(b)for(var c=0;c<b.length;c++)if(b[c][2].test(a))return b[c];return 0},Ra=function(a){var b=[],c,g;for(a=a.replace(/\\/g,"/").split("/");a.length;)c=a.shift(),".."==c&&b.length&&".."!=g?(b.pop(),g=b[b.length-1]):"."!=c&&b.push(g=c);
return b.join("/")},ua=function(a,b,c,g){var m=r.isXdUrl(g);return{pid:a,mid:b,pack:c,url:g,executed:0,def:0,isXd:m,isAmd:!!(m||S[a]&&S[a].isAmd)}},Sa=function(b,c,g,m,s,r,d,t,e,h){var w,n,f,k;k=/^\./.test(b);if(/(^\/)|(\:)|(\.js$)/.test(b)||k&&!c)return ua(0,b,0,b);b=Ra(k?c.mid+"/../"+b:b);if(/^\./.test(b))throw l("irrationalPath",b);!h&&(!k&&r.star)&&(f=ya(b,r.star[1]));!f&&c&&(f=(f=ya(c.mid,r))&&ya(b,f[1]));f&&(b=f[1]+b.substring(f[3]));c=(ja=b.match(/^([^\/]+)(\/(.+))?$/))?ja[1]:"";(w=g[c])?b=
c+"/"+(n=ja[3]||w.main):c="";var p=0;a(t,function(a){var c=b.match(a[0]);c&&0<c.length&&(p=q(a[1])?b.replace(a[0],a[1]):a[1])});if(p)return Sa(p,0,g,m,s,r,d,t,e);if(g=m[b])return e?ua(g.pid,g.mid,g.pack,g.url):m[b];m=(f=ya(b,d))?f[1]+b.substring(f[3]):c?w.location+"/"+n:u("config-tlmSiblingOfDojo")?"../"+b:b;/(^\/)|(\:)/.test(m)||(m=s+m);return ua(c,b,w,Ra(m+".js"))},ha=function(a,b,c){return Sa(a,b,S,I,r.baseUrl,V,R,N,void 0,c)},Ta=function(a,b,c){return a.normalize?a.normalize(b,function(a){return Ea(a,
c)}):Ea(b,c)},Ua=0,X=function(a,b,c){var g,m;(g=a.match(/^(.+?)\!(.*)$/))?(m=X(g[1],b,c),"sync"==z&&!m.executed&&(na(m),2===m.injected&&!m.executed&&ga(function(){fa(m)}),m.executed?za(m):U.unshift(m)),5===m.executed&&!m.load&&za(m),m.load?(g=Ta(m,g[2],b),a=m.mid+"!"+(m.dynamic?++Ua+"!":"")+g):(g=g[2],a=m.mid+"!"+ ++Ua+"!waitingForPlugin"),a={plugin:m,mid:a,req:Ca(b),prid:g}):a=ha(a,b);return I[a.mid]||!c&&(I[a.mid]=a)},Ea=r.toAbsMid=function(a,b){return ha(a,b).mid},Ma=r.toUrl=function(a,b){var c=
ha(a+"/x",b),g=c.url;return oa(0===c.pid?a:g.substring(0,g.length-5))},Va={injected:2,executed:5,def:3,result:3},Fa=function(a){return I[a]=c({mid:a},Va)},cb=Fa("require"),db=Fa("exports"),eb=Fa("module"),Aa={},Ga=0,za=function(a){var b=a.result;a.dynamic=b.dynamic;a.normalize=b.normalize;a.load=b.load;return a},fb=function(b){var g={};a(b.loadQ,function(a){var m=Ta(b,a.prid,a.req.module),l=b.dynamic?a.mid.replace(/waitingForPlugin$/,m):b.mid+"!"+m,m=c(c({},a),{mid:l,prid:m,injected:0});if(!I[l]||
!I[l].injected)Wa(I[l]=m);g[a.mid]=I[l];ba(a);delete I[a.mid]});b.loadQ=0;var m=function(a){for(var b=a.deps||[],c=0;c<b.length;c++)(a=g[b[c].mid])&&(b[c]=a)},l;for(l in I)m(I[l]);a(U,m)},ea=function(b){r.trace("loader-finish-exec",[b.mid]);b.executed=5;b.defOrder=Ga++;a(b.provides,function(a){a()});b.loadQ&&(za(b),fb(b));for(k=0;k<U.length;)U[k]===b?U.splice(k,1):k++;/^require\*/.test(b.mid)&&delete I[b.mid]},gb=[],fa=function(a,b){if(4===a.executed)return r.trace("loader-circular-dependency",[gb.concat(a.mid).join("-\x3e")]),
!a.def||b?Aa:a.cjs&&a.cjs.exports;if(!a.executed){if(!a.def)return Aa;var c=a.mid,g=a.deps||[],m,s=[],d=0;for(a.executed=4;m=g[d++];){m=m===cb?Ca(a):m===db?a.cjs.exports:m===eb?a.cjs:fa(m,b);if(m===Aa)return a.executed=0,r.trace("loader-exec-module",["abort",c]),Aa;s.push(m)}r.trace("loader-run-factory",[a.mid]);var c=a.def,t;y.unshift(a);if(u("config-dojo-loader-catches"))try{t=q(c)?c.apply(null,s):c}catch(e){C("error",a.result=l("factoryThrew",[a,e]))}else t=q(c)?c.apply(null,s):c;a.result=void 0===
t&&a.cjs?a.cjs.exports:t;y.shift(a);ea(a)}return a.result},la=0,ga=function(a){try{la++,a()}catch(b){throw b;}finally{la--}bb()&&C("idle",[])},da=function(){la||ga(function(){B();for(var a,b,c=0;c<U.length;)a=Ga,b=U[c],fa(b),a!=Ga?(B(),c=0):c++})};void 0===u("dojo-loader-eval-hint-url")&&u.add("dojo-loader-eval-hint-url",1);var oa="function"==typeof f.fixupUrl?f.fixupUrl:function(a){a+="";return a+(T?(/\?/.test(a)?"\x26":"?")+T:"")},Wa=function(a){var b=a.plugin;5===b.executed&&!b.load&&za(b);var c=
function(b){a.result=b;ba(a);ea(a);da()};b.load?b.load(a.prid,a.req,c):b.loadQ?b.loadQ.push(a):(b.loadQ=[a],U.unshift(b),na(b))},$=0,ma=0,Ha=0,va=function(a,b){u("config-stripStrict")&&(a=a.replace(/(["'])use strict\1/g,""));Ha=1;if(u("config-dojo-loader-catches"))try{a===$?$.call(null):r.eval(a,u("dojo-loader-eval-hint-url")?b.url:b.mid)}catch(c){C("error",l("evalModuleThrew",b))}else a===$?$.call(null):r.eval(a,u("dojo-loader-eval-hint-url")?b.url:b.mid);Ha=0},na=function(b){var g=b.mid,m=b.url;
if(!b.executed&&!b.injected&&!(W[g]||b.url&&(b.pack&&W[b.url]===b.pack||1==W[b.url])))if(ab(b),b.plugin)Wa(b);else{var s=function(){Xa(b);if(2!==b.injected){if(u("dojo-enforceDefine")){C("error",l("noDefine",b));return}ba(b);c(b,Va);r.trace("loader-define-nonmodule",[b.url])}z?!y.length&&da():da()};if($=Z[g]||Z["url:"+b.url])r.trace("loader-inject",["cache",b.mid,m]),va($,b),s();else{if(z)if(b.isXd)"sync"==z&&(z="xd");else if(!(b.isAmd&&"sync"!=z)){var d=function(c){if("sync"==z){y.unshift(b);va(c,
b);y.shift();Xa(b);b.cjs||(ba(b),ea(b));if(b.finish){c=g+"*finish";var l=b.finish;delete b.finish;Ia(c,["dojo",("dojo/require!"+l.join(",")).replace(/\./g,"/")],function(b){a(l,function(a){b.require(a)})});U.unshift(X(c))}s()}else(c=E(b,c))?(va(c,b),s()):(ma=b,r.injectUrl(oa(m),s,b),ma=0)};r.trace("loader-inject",["xhr",b.mid,m,"sync"!=z]);if(u("config-dojo-loader-catches"))try{r.getText(m,"sync"!=z,d)}catch(t){C("error",l("xhrInjectFailed",[b,t]))}else r.getText(m,"sync"!=z,d);return}r.trace("loader-inject",
["script",b.mid,m]);ma=b;r.injectUrl(oa(m),s,b);ma=0}}},Ja=function(a,b,g){r.trace("loader-define-module",[a.mid,b]);var m=a.mid;if(2===a.injected)return C("error",l("multipleDefine",a)),a;c(a,{deps:b,def:g,cjs:{id:a.mid,uri:a.url,exports:a.result={},setExports:function(b){a.cjs.exports=b},config:function(){return a.config}}});for(var s=0;b[s];s++)b[s]=X(b[s],a);z&&!W[m]&&(ka(a),U.push(a),da());ba(a);!q(g)&&!b.length&&(a.result=g,ea(a));return a},Xa=function(b,c){for(var g=[],m,l;wa.length;)l=wa.shift(),
c&&(l[0]=c.shift()),m=l[0]&&X(l[0])||b,g.push([m,l[1],l[2]]);ra(b);a(g,function(a){ka(Ja.apply(null,a))})},Ba=0,xa=n,Qa=n,xa=function(){Ba&&clearTimeout(Ba);Ba=0},Qa=function(){xa();r.waitms&&(Ba=m.setTimeout(function(){xa();C("error",l("timeout",W))},r.waitms))};u.add("ie-event-behavior",t.attachEvent&&"undefined"===typeof Windows&&("undefined"===typeof opera||"[object Opera]"!=opera.toString()));var Ka=function(a,b,c,g){if(u("ie-event-behavior"))return a.attachEvent(c,g),function(){a.detachEvent(c,
g)};a.addEventListener(b,g,!1);return function(){a.removeEventListener(b,g,!1)}},hb=Ka(window,"load","onload",function(){r.pageLoaded=1;try{"complete"!=t.readyState&&(t.readyState="complete")}catch(a){}hb()}),sa=t.getElementsByTagName("script");for(k=0;!ca;)if(!/^dojo/.test((Y=sa[k++])&&Y.type))ca=Y;r.injectUrl=function(a,b,c){c=c.node=t.createElement("script");var g=Ka(c,"load","onreadystatechange",function(a){a=a||window.event;var c=a.target||a.srcElement;if("load"===a.type||/complete|loaded/.test(c.readyState))g(),
m(),b&&b()}),m=Ka(c,"error","onerror",function(b){g();m();C("error",l("scriptError",[a,b]))});c.type="text/javascript";c.charset="utf-8";c.src=a;ca.parentNode.insertBefore(c,ca);return c};r.log=function(){try{for(var a=0;a<arguments.length;a++);}catch(b){}};r.trace=n;var Ia=function(a,b,c){var g=arguments.length,m=["require","exports","module"],s=[0,a,b];1==g?s=[0,q(a)?m:[],a]:2==g&&d(a)?s=[a,q(b)?m:[],b]:3==g&&(s=[a,b,c]);r.trace("loader-define",s.slice(0,2));if((g=s[0]&&X(s[0]))&&!W[g.mid])ka(Ja(g,
s[1],s[2]));else if(!u("ie-event-behavior")||Ha)wa.push(s);else{g=g||ma;if(!g)for(a in W)if((m=I[a])&&m.node&&"interactive"===m.node.readyState){g=m;break}g?(ra(g),ka(Ja(g,s[1],s[2]))):C("error",l("ieDefineFailed",s[0]));da()}};Ia.amd={vendor:"dojotoolkit.org"};c(c(r,p.loaderPatch),f.loaderPatch);P("error",function(a){try{if(console.error(a),a instanceof Error)for(var b in a);}catch(c){}});c(r,{uid:s,cache:Z,packs:S});if(m.define)C("error",l("defineAlreadyDefined",0));else{m.define=Ia;m.require=r;
a(Pa,function(a){ia(a)});var Ya=qa.deps||f.deps||p.deps,Za=qa.callback||f.callback||p.callback;r.boot=Ya||Za?[Ya||[],Za]:0}})(this.dojoConfig||this.djConfig||this.require||{},{async:1,hasCache:{"config-selectorEngine":"lite","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../dgrid",main:"OnDemandGrid",name:"dgrid"},{location:"../dijit",name:"dijit"},{location:"../cbtree",name:"cbtree"},{location:".",main:"dojo/main",name:"dojo"},{location:"../dstore",
name:"dstore"}]});
require({cache:{"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(f,p,k,n,e){function h(a,b){var c=a.xhr;a.status=a.xhr.status;try{a.text=c.responseText}catch(g){}"xml"===a.options.handleAs&&(a.data=c.responseXML);if(!b)try{k(a)}catch(m){b=m}var l;if(b)this.reject(b);else{try{k(a)}catch(s){l=s}n.checkStatus(c.status)?l?this.reject(l):this.resolve(a):(b=l?new f("Unable to load "+a.url+" status: "+c.status+" and an error in handleAs: transformation of response",a):
new f("Unable to load "+a.url+" status: "+c.status,a),this.reject(b))}}function q(a){return this.xhr.getResponseHeader(a)}function d(m,t,k){var x=e("native-formdata")&&t&&t.data&&t.data instanceof FormData,z=n.parseArgs(m,n.deepCreate(r,t),x);m=z.url;t=z.options;var y,A=n.deferred(z,g,a,c,h,function(){y&&y()}),B=z.xhr=d._create();if(!B)return A.cancel(new f("XHR was not created")),k?A:A.promise;z.getHeader=q;l&&(y=l(B,A,z));var E=t.data,H=!t.sync,L=t.method;try{B.open(L,m,H,t.user||s,t.password||
s);t.withCredentials&&(B.withCredentials=t.withCredentials);e("native-response-type")&&t.handleAs in b&&(B.responseType=b[t.handleAs]);var M=t.headers;m=x?!1:"application/x-www-form-urlencoded";if(M)for(var Q in M)"content-type"===Q.toLowerCase()?m=M[Q]:M[Q]&&B.setRequestHeader(Q,M[Q]);m&&!1!==m&&B.setRequestHeader("Content-Type",m);(!M||!("X-Requested-With"in M))&&B.setRequestHeader("X-Requested-With","XMLHttpRequest");n.notify&&n.notify.emit("send",z,A.promise.cancel);B.send(E)}catch(G){A.reject(G)}p(A);
B=null;return k?A:A.promise}e.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});e.add("dojo-force-activex-xhr",function(){return e("activex")&&"file:"===window.location.protocol});e.add("native-xhr2",function(){if(e("native-xhr")&&!e("dojo-force-activex-xhr")){var a=new XMLHttpRequest;return"undefined"!==typeof a.addEventListener&&("undefined"===typeof opera||"undefined"!==typeof a.upload)}});e.add("native-formdata",function(){return"undefined"!==typeof FormData});e.add("native-response-type",
function(){return e("native-xhr")&&"undefined"!==typeof(new XMLHttpRequest).responseType});e.add("native-xhr2-blob",function(){if(e("native-response-type")){var a=new XMLHttpRequest;a.open("GET","/",!0);a.responseType="blob";var b=a.responseType;a.abort();return"blob"===b}});var b={blob:e("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"},a,c,l,g;e("native-xhr2")?(a=function(a){return!this.isFulfilled()},g=function(a,b){b.xhr.abort()},l=function(a,b,c){function g(a){b.handleResponse(c)}
function m(a){a=new f("Unable to load "+c.url+" status: "+a.target.status,c);b.handleResponse(c,a)}function l(a){a.lengthComputable?(c.loaded=a.loaded,c.total=a.total,b.progress(c)):3===c.xhr.readyState&&(c.loaded="loaded"in a?a.loaded:a.position,b.progress(c))}a.addEventListener("load",g,!1);a.addEventListener("error",m,!1);a.addEventListener("progress",l,!1);return function(){a.removeEventListener("load",g,!1);a.removeEventListener("error",m,!1);a.removeEventListener("progress",l,!1);a=null}}):
(a=function(a){return a.xhr.readyState},c=function(a){return 4===a.xhr.readyState},g=function(a,b){var c=b.xhr,g=typeof c.abort;("function"===g||"object"===g||"unknown"===g)&&c.abort()});var s,r={data:null,query:null,sync:!1,method:"GET"};d._create=function(){throw Error("XMLHTTP not available");};if(e("native-xhr")&&!e("dojo-force-activex-xhr"))d._create=function(){return new XMLHttpRequest};else if(e("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),d._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(m){try{new ActiveXObject("Microsoft.XMLHTTP"),
d._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(t){}}n.addCommonMethods(d);return d})},"dojo/sniff":function(){define(["./has"],function(f){var p=navigator,k=p.userAgent,p=p.appVersion,n=parseFloat(p);f.add("air",0<=k.indexOf("AdobeAIR"));f.add("wp",parseFloat(k.split("Windows Phone")[1])||void 0);f.add("msapp",parseFloat(k.split("MSAppHost/")[1])||void 0);f.add("khtml",0<=p.indexOf("Konqueror")?n:void 0);f.add("edge",parseFloat(k.split("Edge/")[1])||void 0);f.add("opr",
parseFloat(k.split("OPR/")[1])||void 0);f.add("webkit",!f("wp")&&!f("edge")&&parseFloat(k.split("WebKit/")[1])||void 0);f.add("chrome",!f("edge")&&!f("opr")&&parseFloat(k.split("Chrome/")[1])||void 0);f.add("android",!f("wp")&&parseFloat(k.split("Android ")[1])||void 0);f.add("safari",0<=p.indexOf("Safari")&&!f("wp")&&!f("chrome")&&!f("android")&&!f("edge")&&!f("opr")?parseFloat(p.split("Version/")[1]):void 0);f.add("mac",0<=p.indexOf("Macintosh"));f.add("quirks","BackCompat"==document.compatMode);
if(!f("wp")&&k.match(/(iPhone|iPod|iPad)/)){var e=RegExp.$1.replace(/P/,"p"),h=k.match(/OS ([\d_]+)/)?RegExp.$1:"1",h=parseFloat(h.replace(/_/,".").replace(/_/g,""));f.add(e,h);f.add("ios",h)}f.add("bb",(0<=k.indexOf("BlackBerry")||0<=k.indexOf("BB10"))&&parseFloat(k.split("Version/")[1])||void 0);f.add("trident",parseFloat(p.split("Trident/")[1])||void 0);f.add("svg","undefined"!==typeof SVGAngle);f("webkit")||(0<=k.indexOf("Opera")&&f.add("opera",9.8<=n?parseFloat(k.split("Version/")[1])||n:n),
0<=k.indexOf("Gecko")&&(!f("wp")&&!f("khtml")&&!f("trident")&&!f("edge"))&&f.add("mozilla",n),f("mozilla")&&f.add("ff",parseFloat(k.split("Firefox/")[1]||k.split("Minefield/")[1])||void 0),document.all&&!f("opera")&&(k=parseFloat(p.split("MSIE ")[1])||void 0,(p=document.documentMode)&&(5!=p&&Math.floor(k)!=p)&&(k=p),f.add("ie",k)),f.add("wii","undefined"!=typeof opera&&opera.wiiremote));return f})},"dijit/form/TextBox":function(){define("dojo/_base/declare dojo/dom-construct dojo/dom-style dojo/_base/kernel dojo/_base/lang dojo/on dojo/sniff ./_FormValueWidget ./_TextBoxMixin dojo/text!./templates/TextBox.html ../main".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c){d=f("dijit.form.TextBox"+(q("dojo-bidi")?"_NoBidi":""),[d,b],{templateString:a,_singleNodeTemplate:'\x3cinput class\x3d"dijit dijitReset dijitLeft dijitInputField" data-dojo-attach-point\x3d"textbox,focusNode" autocomplete\x3d"off" type\x3d"${type}" ${!nameAttrSetting} /\x3e',_buttonInputDisabled:q("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var a=this.type.toLowerCase();if(this.templateString&&"input"==this.templateString.toLowerCase()||
("hidden"==a||"file"==a)&&this.templateString==this.constructor.prototype.templateString)this.templateString=this._singleNodeTemplate;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);9>q("ie")&&this.defer(function(){try{var a=k.getComputedStyle(this.domNode);if(a){var b=a.fontFamily;if(b){var c=this.domNode.getElementsByTagName("INPUT");if(c)for(a=0;a<c.length;a++)c[a].style.fontFamily=b}}}catch(r){}})},_setPlaceHolderAttr:function(a){this._set("placeHolder",a);this._phspan||
(this._attachPoints.push("_phspan"),this._phspan=p.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after"),this.own(h(this._phspan,"mousedown",function(a){a.preventDefault()}),h(this._phspan,"touchend, pointerup, MSPointerUp",e.hitch(this,function(){this.focus()}))));this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(a));this._updatePlaceHolder()},_onInput:function(a){this.inherited(arguments);this._updatePlaceHolder()},_updatePlaceHolder:function(){this._phspan&&
(this._phspan.style.display=this.placeHolder&&!this.textbox.value?"":"none")},_setValueAttr:function(a,b,c){this.inherited(arguments);this._updatePlaceHolder()},getDisplayedValue:function(){n.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue")},setDisplayedValue:function(a){n.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",
a)},_onBlur:function(a){this.disabled||(this.inherited(arguments),this._updatePlaceHolder(),q("mozilla")&&this.selectOnClick&&(this.textbox.selectionStart=this.textbox.selectionEnd=void 0))},_onFocus:function(a){!this.disabled&&!this.readOnly&&(this.inherited(arguments),this._updatePlaceHolder())}});9>q("ie")&&(d.prototype._isTextSelected=function(){var a=this.ownerDocument.selection.createRange();return a.parentElement()==this.textbox&&0<a.text.length},c._setSelectionRange=b._setSelectionRange=function(a,
b,c){a.createTextRange&&(a=a.createTextRange(),a.collapse(!0),a.moveStart("character",-99999),a.moveStart("character",b),a.moveEnd("character",c-b),a.select())});q("dojo-bidi")&&(d=f("dijit.form.TextBox",d,{_setPlaceHolderAttr:function(a){this.inherited(arguments);this.applyTextDir(this._phspan)}}));return d})},"cbtree/model/_base/Parents":function(){define(["../../util/shim/Array"],function(){return function(f,p){function k(f){Array.prototype.splice.call(this,0,this.length);f instanceof Array?f.forEach(function(e,
h){this[h]=e;this.length++},this):(k.call(this,[f]),this.multiple=!1,this.length=1)}p=p||"parent";this.multiple=!0;this.length=0;this.input=null;this.add=function(f,e){if(void 0!=f)return!this.contains(f)?(e||this.multiple?(this[this.length++]=f,this.multiple=1<this.length):this.set(f),!0):!1};this.contains=function(f){return Array.prototype.some.call(this,function(e){return e===f})};this.forEach=function(f,e){Array.prototype.forEach.call(this,f,e)};this.remove=function(f){return Array.prototype.some.call(this,
function(e,h){if(e===f)return Array.prototype.splice.call(this,h,1),!0},this)};this.set=function(f){Array.prototype.splice.call(this,0,this.length);this[0]=f;this.length=1;return!0};this.toValue=function(){return this.multiple?Array.prototype.slice.call(this):this[0]};void 0!=f&&(f instanceof Array?this.input=f:"object"===typeof f?this.input=f[p]:"string"===typeof f?(this.input=f.split(/\s*,\s*/),1==this.input.length&&(this.input=f)):this.input=f,void 0!=this.input?k.call(this,this.input):this.multiple=
!1)}})},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(f,p,k,n){function e(a,b,l,g,s,r){r=r||"px";a=a.style;isNaN(b)||(a.left=b+r);isNaN(l)||(a.top=l+r);0<=g&&(a.width=g+r);0<=s&&(a.height=s+r)}function h(a){return"button"==a.tagName.toLowerCase()||"input"==a.tagName.toLowerCase()&&"button"==(a.getAttribute("type")||"").toLowerCase()}function q(a){return"border-box"==d.boxModel||"table"==a.tagName.toLowerCase()||h(a)}var d={boxModel:"content-box"};
f("ie")&&(d.boxModel="BackCompat"==document.compatMode?"border-box":"content-box");d.getPadExtents=function(a,b){a=k.byId(a);var l=b||n.getComputedStyle(a),g=n.toPixelValue,s=g(a,l.paddingLeft),r=g(a,l.paddingTop),m=g(a,l.paddingRight),l=g(a,l.paddingBottom);return{l:s,t:r,r:m,b:l,w:s+m,h:r+l}};d.getBorderExtents=function(a,b){a=k.byId(a);var l=n.toPixelValue,g=b||n.getComputedStyle(a),s="none"!=g.borderLeftStyle?l(a,g.borderLeftWidth):0,r="none"!=g.borderTopStyle?l(a,g.borderTopWidth):0,m="none"!=
g.borderRightStyle?l(a,g.borderRightWidth):0,l="none"!=g.borderBottomStyle?l(a,g.borderBottomWidth):0;return{l:s,t:r,r:m,b:l,w:s+m,h:r+l}};d.getPadBorderExtents=function(a,b){a=k.byId(a);var l=b||n.getComputedStyle(a),g=d.getPadExtents(a,l),l=d.getBorderExtents(a,l);return{l:g.l+l.l,t:g.t+l.t,r:g.r+l.r,b:g.b+l.b,w:g.w+l.w,h:g.h+l.h}};d.getMarginExtents=function(a,b){a=k.byId(a);var l=b||n.getComputedStyle(a),g=n.toPixelValue,s=g(a,l.marginLeft),r=g(a,l.marginTop),m=g(a,l.marginRight),l=g(a,l.marginBottom);
return{l:s,t:r,r:m,b:l,w:s+m,h:r+l}};d.getMarginBox=function(a,b){a=k.byId(a);var l=b||n.getComputedStyle(a),g=d.getMarginExtents(a,l),s=a.offsetLeft-g.l,r=a.offsetTop-g.t,m=a.parentNode,t=n.toPixelValue;if(f("mozilla")){var e=parseFloat(l.left),l=parseFloat(l.top);!isNaN(e)&&!isNaN(l)?(s=e,r=l):m&&m.style&&(m=n.getComputedStyle(m),"visible"!=m.overflow&&(s+="none"!=m.borderLeftStyle?t(a,m.borderLeftWidth):0,r+="none"!=m.borderTopStyle?t(a,m.borderTopWidth):0))}else if((f("opera")||8==f("ie")&&!f("quirks"))&&
m)m=n.getComputedStyle(m),s-="none"!=m.borderLeftStyle?t(a,m.borderLeftWidth):0,r-="none"!=m.borderTopStyle?t(a,m.borderTopWidth):0;return{l:s,t:r,w:a.offsetWidth+g.w,h:a.offsetHeight+g.h}};d.getContentBox=function(a,b){a=k.byId(a);var l=b||n.getComputedStyle(a),g=a.clientWidth,s=d.getPadExtents(a,l),r=d.getBorderExtents(a,l);g?(l=a.clientHeight,r.w=r.h=0):(g=a.offsetWidth,l=a.offsetHeight);f("opera")&&(s.l+=r.l,s.t+=r.t);return{l:s.l,t:s.t,w:g-s.w-r.w,h:l-s.h-r.h}};d.setContentSize=function(a,b,
l){a=k.byId(a);var g=b.w;b=b.h;q(a)&&(l=d.getPadBorderExtents(a,l),0<=g&&(g+=l.w),0<=b&&(b+=l.h));e(a,NaN,NaN,g,b)};var b={l:0,t:0,w:0,h:0};d.setMarginBox=function(a,c,l){a=k.byId(a);var g=l||n.getComputedStyle(a);l=c.w;var s=c.h,r=q(a)?b:d.getPadBorderExtents(a,g),g=d.getMarginExtents(a,g);if(f("webkit")&&h(a)){var m=a.style;0<=l&&!m.width&&(m.width="4px");0<=s&&!m.height&&(m.height="4px")}0<=l&&(l=Math.max(l-r.w-g.w,0));0<=s&&(s=Math.max(s-r.h-g.h,0));e(a,c.l,c.t,l,s)};d.isBodyLtr=function(a){a=
a||p.doc;return"ltr"==(p.body(a).dir||a.documentElement.dir||"ltr").toLowerCase()};d.docScroll=function(a){a=a||p.doc;var b=p.doc.parentWindow||p.doc.defaultView;return"pageXOffset"in b?{x:b.pageXOffset,y:b.pageYOffset}:(b=f("quirks")?p.body(a):a.documentElement)&&{x:d.fixIeBiDiScrollLeft(b.scrollLeft||0,a),y:b.scrollTop||0}};d.getIeDocumentElementOffset=function(a){return{x:0,y:0}};d.fixIeBiDiScrollLeft=function(a,b){b=b||p.doc;var l=f("ie");if(l&&!d.isBodyLtr(b)){var g=f("quirks"),s=g?p.body(b):
b.documentElement,r=p.global;6==l&&(!g&&r.frameElement&&s.scrollHeight>s.clientHeight)&&(a+=s.clientLeft);return 8>l||g?a+s.clientWidth-s.scrollWidth:-a}return a};d.position=function(a,b){a=k.byId(a);var l=p.body(a.ownerDocument),g=a.getBoundingClientRect(),g={x:g.left,y:g.top,w:g.right-g.left,h:g.bottom-g.top};9>f("ie")&&(g.x-=f("quirks")?l.clientLeft+l.offsetLeft:0,g.y-=f("quirks")?l.clientTop+l.offsetTop:0);b&&(l=d.docScroll(a.ownerDocument),g.x+=l.x,g.y+=l.y);return g};d.getMarginSize=function(a,
b){a=k.byId(a);var l=d.getMarginExtents(a,b||n.getComputedStyle(a)),g=a.getBoundingClientRect();return{w:g.right-g.left+l.w,h:g.bottom-g.top+l.h}};d.normalizeEvent=function(a){"layerX"in a||(a.layerX=a.offsetX,a.layerY=a.offsetY);if(!("pageX"in a)){var b=a.target,b=b&&b.ownerDocument||document,l=f("quirks")?b.body:b.documentElement;a.pageX=a.clientX+d.fixIeBiDiScrollLeft(l.scrollLeft||0,b);a.pageY=a.clientY+(l.scrollTop||0)}};return d})},"dijit/_base/scroll":function(){define(["dojo/window","../main"],
function(f,p){p.scrollIntoView=function(k,n){f.scrollIntoView(k,n)}})},"dijit/_TemplatedMixin":function(){define("dojo/cache dojo/_base/declare dojo/dom-construct dojo/_base/lang dojo/on dojo/sniff dojo/string ./_AttachMixin".split(" "),function(f,p,k,n,e,h,q,d){var b=p("dijit._TemplatedMixin",d,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(a){var b=this.declaredClass,l=this;return q.substitute(a,this,function(a,s){"!"==s.charAt(0)&&(a=n.getObject(s.substr(1),
!1,l));if("undefined"==typeof a)throw Error(b+" template:"+s);return null==a?"":"!"==s.charAt(0)?a:this._escapeValue(""+a)},this)},_escapeValue:function(a){return a.replace(/["'<>&]/g,function(a){return{"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;"}[a]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=f(this.templatePath,{sanitize:!0}));var a=b.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument),
c;if(n.isString(a)){if(c=k.toDom(this._stringRepl(a),this.ownerDocument),1!=c.nodeType)throw Error("Invalid template: "+a);}else c=a.cloneNode(!0);this.domNode=c}this.inherited(arguments);this._rendered||this._fillContent(this.srcNodeRef);this._rendered=!0},_fillContent:function(a){var b=this.containerNode;if(a&&b)for(;a.hasChildNodes();)b.appendChild(a.firstChild)}});b._templateCache={};b.getCachedTemplate=function(a,c,l){var g=b._templateCache,s=a,r=g[s];if(r){try{if(!r.ownerDocument||r.ownerDocument==
(l||document))return r}catch(m){}k.destroy(r)}a=q.trim(a);if(c||a.match(/\$\{([^\}]+)\}/g))return g[s]=a;c=k.toDom(a,l);if(1!=c.nodeType)throw Error("Invalid template: "+a);return g[s]=c};h("ie")&&e(window,"unload",function(){var a=b._templateCache,c;for(c in a){var l=a[c];"object"==typeof l&&k.destroy(l);delete a[c]}});return b})},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(f,p,k){var n=window,e={addOnWindowUnload:function(e,q){f.windowUnloaded||k(n,"unload",f.windowUnloaded=
function(){});k(n,"unload",p.hitch(e,q))},addOnUnload:function(e,q){k(n,"beforeunload",p.hitch(e,q))}};f.addOnWindowUnload=e.addOnWindowUnload;f.addOnUnload=e.addOnUnload;return e})},"dijit/_CssStateMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom dojo/dom-class dojo/has dojo/_base/lang dojo/on dojo/domReady dojo/touch dojo/_base/window ./a11yclick ./registry".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l){p=p("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments);
f.forEach("disabled readOnly checked selected focused state hovering active _opened".split(" "),function(a){this.watch(a,h.hitch(this,"_setStateClass"))},this);for(var a in this.cssStateNodes||{})this._trackMouseState(this[a],this.cssStateNodes[a]);this._trackMouseState(this.domNode,this.baseClass);this._setStateClass()},_cssMouseEvent:function(a){if(!this.disabled)switch(a.type){case "mouseover":case "MSPointerOver":case "pointerover":this._set("hovering",!0);this._set("active",this._mouseDown);
break;case "mouseout":case "MSPointerOut":case "pointerout":this._set("hovering",!1);this._set("active",!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":this._set("active",!0);break;case "mouseup":case "dojotouchend":case "MSPointerUp":case "pointerup":case "keyup":this._set("active",!1)}},_setStateClass:function(){function a(c){b=b.concat(f.map(b,function(a){return a+c}),"dijit"+c)}var b=this.baseClass.split(" ");this.isLeftToRight()||a("Rtl");var c=
"mixed"==this.checked?"Mixed":this.checked?"Checked":"";this.checked&&a(c);this.state&&a(this.state);this.selected&&a("Selected");this._opened&&a("Opened");this.disabled?a("Disabled"):this.readOnly?a("ReadOnly"):this.active?a("Active"):this.hovering&&a("Hover");this.focused&&a("Focused");var c=this.stateNode||this.domNode,m={};f.forEach(c.className.split(" "),function(a){m[a]=!0});"_stateClasses"in this&&f.forEach(this._stateClasses,function(a){delete m[a]});f.forEach(b,function(a){m[a]=!0});var l=
[],d;for(d in m)l.push(d);c.className=l.join(" ");this._stateClasses=b},_subnodeCssMouseEvent:function(a,b,c){function m(c){n.toggle(a,b+"Active",c)}if(!this.disabled&&!this.readOnly)switch(c.type){case "mouseover":case "MSPointerOver":case "pointerover":n.toggle(a,b+"Hover",!0);break;case "mouseout":case "MSPointerOut":case "pointerout":n.toggle(a,b+"Hover",!1);m(!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":m(!0);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":m(!1);
break;case "focus":case "focusin":n.toggle(a,b+"Focused",!0);break;case "blur":case "focusout":n.toggle(a,b+"Focused",!1)}},_trackMouseState:function(a,b){a._cssState=b}});d(function(){function g(a,b,c){if(!c||!k.isDescendant(c,b))for(;b&&b!=c;b=b.parentNode)if(b._cssState){var g=l.getEnclosingWidget(b);g&&(b==g.domNode?g._cssMouseEvent(a):g._subnodeCssMouseEvent(b,b._cssState,a))}}var s=a.body(),r;q(s,b.over,function(a){g(a,a.target,a.relatedTarget)});q(s,b.out,function(a){g(a,a.target,a.relatedTarget)});
q(s,c.press,function(a){r=a.target;g(a,r)});q(s,c.release,function(a){g(a,r);r=null});q(s,"focusin, focusout",function(a){var b=a.target;if(b._cssState&&!b.getAttribute("widgetId")){var c=l.getEnclosingWidget(b);c&&c._subnodeCssMouseEvent(b,b._cssState,a)}})});return p})},"dojo/selector/_loader":function(){define(["../has","require"],function(f,p){if("undefined"!==typeof document){var k=document.createElement("div");f.add("dom-qsa2.1",!!k.querySelectorAll);f.add("dom-qsa3",function(){try{return k.innerHTML=
"\x3cp class\x3d'TEST'\x3e\x3c/p\x3e",1==k.querySelectorAll(".TEST:empty").length}catch(e){}})}var n;return{load:function(e,h,q,d){if(d&&d.isBuild)q();else{d=p;e="default"==e?f("config-selectorEngine")||"css3":e;e="css2"==e||"lite"==e?"./lite":"css2.1"==e?f("dom-qsa2.1")?"./lite":"./acme":"css3"==e?f("dom-qsa3")?"./lite":"./acme":"acme"==e?"./acme":(d=h)&&e;if("?"==e.charAt(e.length-1)){e=e.substring(0,e.length-1);var b=!0}if(b&&(f("dom-compliant-qsa")||n))return q(n);d([e],function(a){"./lite"!=
e&&(n=a);q(a)})}}}})},"dijit/layout/ScrollingTabController":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/_base/fx dojo/_base/lang dojo/on dojo/query dojo/sniff ../registry dojo/text!./templates/ScrollingTabController.html dojo/text!./templates/_ScrollingTabControllerButton.html ./TabController ./utils ../_WidgetsInTemplateMixin ../Menu ../MenuItem ../form/Button ../_HasDropDown dojo/NodeList-dom ../a11yclick".split(" "),function(f,p,k,
n,e,h,q,d,b,a,c,l,g,s,r,m,t,w,u,v){l=p("dijit.layout.ScrollingTabController",[s,m],{baseClass:"dijitTabController dijitScrollingTabController",templateString:l,useMenu:!0,useSlider:!0,tabStripClass:"",_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var a=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();this.tabStripClass||(this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,
"")+"None",k.add(a,"tabStrip-disabled"));k.add(this.tablistWrapper,this.tabStripClass)},onStartup:function(){this.inherited(arguments);e.set(this.domNode,"visibility","");this._postStartup=!0;this.own(d(this.containerNode,"attrmodified-label, attrmodified-iconclass",q.hitch(this,function(a){this._dim&&this.resize(this._dim)})))},onAddChild:function(a,b){this.inherited(arguments);e.set(this.containerNode,"width",e.get(this.containerNode,"width")+200+"px")},onRemoveChild:function(a,b){var c=this.pane2button(a.id);
this._selectedTab===c.domNode&&(this._selectedTab=null);this.inherited(arguments)},_initButtons:function(){this._btnWidth=0;this._buttons=b("\x3e .tabStripButton",this.domNode).filter(function(a){if(this.useMenu&&a==this._menuBtn.domNode||this.useSlider&&(a==this._rightBtn.domNode||a==this._leftBtn.domNode))return this._btnWidth+=n.getMarginSize(a).w,!0;e.set(a,"display","none");return!1},this)},_getTabsWidth:function(){var a=this.getChildren();if(a.length){var b=a[this.isLeftToRight()?0:a.length-
1].domNode,a=a[this.isLeftToRight()?a.length-1:0].domNode;return a.offsetLeft+a.offsetWidth-b.offsetLeft}return 0},_enableBtn:function(a){var b=this._getTabsWidth();a=a||e.get(this.scrollNode,"width");return 0<b&&a<b},resize:function(a){this._dim=a;this.scrollNode.style.height="auto";var b=this._contentBox=r.marginBox2contentBox(this.domNode,{h:0,w:a.w});b.h=this.scrollNode.offsetHeight;n.setContentSize(this.domNode,b);b=this._enableBtn(this._contentBox.w);this._buttons.style("display",b?"":"none");
this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";r.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);this._selectedTab&&(this._anim&&"playing"==this._anim.status()&&this._anim.stop(),this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab()));this._setButtonClass(this._getScroll());this._postResize=!0;return{h:this._contentBox.h,
w:a.w}},_getScroll:function(){return this.isLeftToRight()||8>a("ie")||a("trident")&&a("quirks")||a("webkit")?this.scrollNode.scrollLeft:e.get(this.containerNode,"width")-e.get(this.scrollNode,"width")+(a("trident")||a("edge")?-1:1)*this.scrollNode.scrollLeft},_convertToScrollLeft:function(b){if(this.isLeftToRight()||8>a("ie")||a("trident")&&a("quirks")||a("webkit"))return b;var c=e.get(this.containerNode,"width")-e.get(this.scrollNode,"width");return(a("trident")||a("edge")?-1:1)*(b-c)},onSelectChild:function(a,
b){var c=this.pane2button(a.id);if(c){var g=c.domNode;if(g!=this._selectedTab&&(this._selectedTab=g,this._postResize)){var m=this._getScroll();m>g.offsetLeft||m+e.get(this.scrollNode,"width")<g.offsetLeft+e.get(g,"width")?(g=this.createSmoothScroll(),b&&(g.onEnd=function(){c.focus()}),g.play()):b&&c.focus()}this.inherited(arguments)}},_getScrollBounds:function(){var a=this.getChildren(),b=e.get(this.scrollNode,"width"),c=e.get(this.containerNode,"width")-b,g=this._getTabsWidth();if(a.length&&g>b)return{min:this.isLeftToRight()?
0:a[a.length-1].domNode.offsetLeft,max:this.isLeftToRight()?a[a.length-1].domNode.offsetLeft+a[a.length-1].domNode.offsetWidth-b:c};a=this.isLeftToRight()?0:c;return{min:a,max:a}},_getScrollForSelectedTab:function(){var a=this._selectedTab,b=e.get(this.scrollNode,"width"),c=this._getScrollBounds(),a=a.offsetLeft+e.get(a,"width")/2-b/2;return a=Math.min(Math.max(a,c.min),c.max)},createSmoothScroll:function(a){if(0<arguments.length){var b=this._getScrollBounds();a=Math.min(Math.max(a,b.min),b.max)}else a=
this._getScrollForSelectedTab();this._anim&&"playing"==this._anim.status()&&this._anim.stop();var c=this,g=this.scrollNode,m=new h.Animation({beforeBegin:function(){this.curve&&delete this.curve;var b=g.scrollLeft,l=c._convertToScrollLeft(a);m.curve=new h._Line(b,l)},onAnimate:function(a){g.scrollLeft=a}});this._anim=m;this._setButtonClass(a);return m},_getBtnNode:function(a){for(a=a.target;a&&!k.contains(a,"tabStripButton");)a=a.parentNode;return a},doSlideRight:function(a){this.doSlide(1,this._getBtnNode(a))},
doSlideLeft:function(a){this.doSlide(-1,this._getBtnNode(a))},doSlide:function(a,b){if(!b||!k.contains(b,"dijitTabDisabled")){var c=0.75*e.get(this.scrollNode,"width")*a,c=this._getScroll()+c;this._setButtonClass(c);this.createSmoothScroll(c).play()}},_setButtonClass:function(a){var b=this._getScrollBounds();this._leftBtn.set("disabled",a<=b.min);this._rightBtn.set("disabled",a>=b.max)}});g=p("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:g,
tabIndex:"",isFocusable:function(){return!1}});p("dijit.layout._ScrollingTabControllerButton",[u,g]);p("dijit.layout._ScrollingTabControllerMenuButton",[u,v,g],{containerId:"",tabIndex:"-1",isLoaded:function(){return!1},loadDropDown:function(a){this.dropDown=new t({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var b=c.byId(this.containerId);f.forEach(b.getChildren(),function(a){var c=new w({id:a.id+"_stcMi",label:a.title,iconClass:a.iconClass,
disabled:a.disabled,ownerDocument:this.ownerDocument,dir:a.dir,lang:a.lang,textDir:a.textDir||b.textDir,onClick:function(){b.selectChild(a)}});this.dropDown.addChild(c)},this);a()},closeDropDown:function(a){this.inherited(arguments);this.dropDown&&(this._popupStateNode.removeAttribute("aria-owns"),this.dropDown.destroyRecursive(),delete this.dropDown)}});return l})},"dijit/place":function(){define("dojo/_base/array dojo/dom-geometry dojo/dom-style dojo/_base/kernel dojo/_base/window ./Viewport ./main".split(" "),
function(f,p,k,n,e,h,q){function d(a,b,l,g){var s=h.getEffectiveBox(a.ownerDocument);(!a.parentNode||"body"!=String(a.parentNode.tagName).toLowerCase())&&e.body(a.ownerDocument).appendChild(a);var r=null;f.some(b,function(b){var c=b.corner,m=b.pos,d=0,t={w:{L:s.l+s.w-m.x,R:m.x-s.l,M:s.w}[c.charAt(1)],h:{T:s.t+s.h-m.y,B:m.y-s.t,M:s.h}[c.charAt(0)]},e=a.style;e.left=e.right="auto";l&&(d=l(a,b.aroundCorner,c,t,g),d="undefined"==typeof d?0:d);var h=a.style,q=h.display,f=h.visibility;"none"==h.display&&
(h.visibility="hidden",h.display="");e=p.position(a);h.display=q;h.visibility=f;q={L:m.x,R:m.x-e.w,M:Math.max(s.l,Math.min(s.l+s.w,m.x+(e.w>>1))-e.w)}[c.charAt(1)];f={T:m.y,B:m.y-e.h,M:Math.max(s.t,Math.min(s.t+s.h,m.y+(e.h>>1))-e.h)}[c.charAt(0)];m=Math.max(s.l,q);h=Math.max(s.t,f);q=Math.min(s.l+s.w,q+e.w);f=Math.min(s.t+s.h,f+e.h);q-=m;f-=h;d+=e.w-q+(e.h-f);if(null==r||d<r.overflow)r={corner:c,aroundCorner:b.aroundCorner,x:m,y:h,w:q,h:f,overflow:d,spaceAvailable:t};return!d});r.overflow&&l&&l(a,
r.aroundCorner,r.corner,r.spaceAvailable,g);b=r.y;var m=r.x,d=e.body(a.ownerDocument);/relative|absolute/.test(k.get(d,"position"))&&(b-=k.get(d,"marginTop"),m-=k.get(d,"marginLeft"));d=a.style;d.top=b+"px";d.left=m+"px";d.right="auto";return r}var b={TL:"BR",TR:"BL",BL:"TR",BR:"TL"};return q.place={at:function(a,c,l,g,s){l=f.map(l,function(a){var m={corner:a,aroundCorner:b[a],pos:{x:c.x,y:c.y}};g&&(m.pos.x+="L"==a.charAt(1)?g.x:-g.x,m.pos.y+="T"==a.charAt(0)?g.y:-g.y);return m});return d(a,l,s)},
around:function(a,b,l,g,s){function r(a,b){E.push({aroundCorner:a,corner:b,pos:{x:{L:z,R:z+A,M:z+(A>>1)}[a.charAt(1)],y:{T:y,B:y+B,M:y+(B>>1)}[a.charAt(0)]}})}var m;if("string"==typeof b||"offsetWidth"in b||"ownerSVGElement"in b){if(m=p.position(b,!0),/^(above|below)/.test(l[0])){var t=p.getBorderExtents(b),e=b.firstChild?p.getBorderExtents(b.firstChild):{t:0,l:0,b:0,r:0},h=p.getBorderExtents(a),q=a.firstChild?p.getBorderExtents(a.firstChild):{t:0,l:0,b:0,r:0};m.y+=Math.min(t.t+e.t,h.t+q.t);m.h-=
Math.min(t.t+e.t,h.t+q.t)+Math.min(t.b+e.b,h.b+q.b)}}else m=b;if(b.parentNode){t="absolute"==k.getComputedStyle(b).position;for(b=b.parentNode;b&&1==b.nodeType&&"BODY"!=b.nodeName;){e=p.position(b,!0);h=k.getComputedStyle(b);/relative|absolute/.test(h.position)&&(t=!1);if(!t&&/hidden|auto|scroll/.test(h.overflow)){var q=Math.min(m.y+m.h,e.y+e.h),x=Math.min(m.x+m.w,e.x+e.w);m.x=Math.max(m.x,e.x);m.y=Math.max(m.y,e.y);m.h=q-m.y;m.w=x-m.x}"absolute"==h.position&&(t=!0);b=b.parentNode}}var z=m.x,y=m.y,
A="w"in m?m.w:m.w=m.width,B="h"in m?m.h:(n.deprecated("place.around: dijit/place.__Rectangle: { x:"+z+", y:"+y+", height:"+m.height+", width:"+A+" } has been deprecated. Please use { x:"+z+", y:"+y+", h:"+m.height+", w:"+A+" }","","2.0"),m.h=m.height),E=[];f.forEach(l,function(a){var b=g;switch(a){case "above-centered":r("TM","BM");break;case "below-centered":r("BM","TM");break;case "after-centered":b=!b;case "before-centered":r(b?"ML":"MR",b?"MR":"ML");break;case "after":b=!b;case "before":r(b?
"TL":"TR",b?"TR":"TL");r(b?"BL":"BR",b?"BR":"BL");break;case "below-alt":b=!b;case "below":r(b?"BL":"BR",b?"TL":"TR");r(b?"BR":"BL",b?"TR":"TL");break;case "above-alt":b=!b;case "above":r(b?"TL":"TR",b?"BL":"BR");r(b?"TR":"TL",b?"BR":"BL");break;default:r(a.aroundCorner,a.corner)}});a=d(a,E,s,{w:A,h:B});a.aroundNodePos=m;return a}}})},"dijit/_HasDropDown":function(){define("dojo/_base/declare dojo/_base/Deferred dojo/dom dojo/dom-attr dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/has dojo/keys dojo/_base/lang dojo/on dojo/touch ./registry ./focus ./popup ./_FocusMixin".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m){return f("dijit._HasDropDown",m,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:!0,_onDropDownMouseDown:function(b){!this.disabled&&!this.readOnly&&("MSPointerDown"!=b.type&&"pointerdown"!=b.type&&b.preventDefault(),this.own(c.once(this.ownerDocument,l.release,a.hitch(this,"_onDropDownMouseUp"))),this.toggleDropDown())},
_onDropDownMouseUp:function(a){var b=this.dropDown,c=!1;if(a&&this._opened){var m=h.position(this._buttonNode,!0);if(!(a.pageX>=m.x&&a.pageX<=m.x+m.w)||!(a.pageY>=m.y&&a.pageY<=m.y+m.h)){for(m=a.target;m&&!c;)e.contains(m,"dijitPopup")?c=!0:m=m.parentNode;if(c){m=a.target;if(b.onItemClick){for(var l;m&&!(l=g.byNode(m));)m=m.parentNode;if(l&&l.onClick&&l.getParent)l.getParent().onItemClick(l,a)}return}}}if(this._opened){if(b.focus&&(!1!==b.autoFocus||"mouseup"==a.type&&!this.hovering))this._focusDropDownTimer=
this.defer(function(){b.focus();delete this._focusDropDownTimer})}else this.focus&&this.defer("focus")},_onDropDownClick:function(a){this._stopClickEvents&&(a.stopPropagation(),a.preventDefault())},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var a={after:this.isLeftToRight()?"Right":"Left",before:this.isLeftToRight()?"Left":"Right",above:"Up",below:"Down",
left:"Left",right:"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";e.add(this._arrowWrapperNode||this._buttonNode,"dijit"+a+"ArrowButton")},postCreate:function(){this.inherited(arguments);var b=this.focusNode||this.domNode;this.own(c(this._buttonNode,l.press,a.hitch(this,"_onDropDownMouseDown")),c(this._buttonNode,"click",a.hitch(this,"_onDropDownClick")),c(b,"keydown",a.hitch(this,"_onKey")),c(b,"keyup",a.hitch(this,"_onKeyUp")))},destroy:function(){this._opened&&this.closeDropDown(!0);
this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroyRecursive(),delete this.dropDown);this.inherited(arguments)},_onKey:function(a){if(!this.disabled&&!this.readOnly){var c=this.dropDown,g=a.target;if(c&&(this._opened&&c.handleKey)&&!1===c.handleKey(a))a.stopPropagation(),a.preventDefault();else if(c&&this._opened&&a.keyCode==b.ESCAPE)this.closeDropDown(),a.stopPropagation(),a.preventDefault();else if(!this._opened&&(a.keyCode==b.DOWN_ARROW||(a.keyCode==b.ENTER||a.keyCode==b.SPACE&&(!this._searchTimer||
a.ctrlKey||a.altKey||a.metaKey))&&("input"!==(g.tagName||"").toLowerCase()||g.type&&"text"!==g.type.toLowerCase())))this._toggleOnKeyUp=!0,a.stopPropagation(),a.preventDefault()}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var b=this.dropDown;b&&b.focus&&this.defer(a.hitch(b,"focus"),1)}},_onBlur:function(){this.closeDropDown(!1);this.inherited(arguments)},isLoaded:function(){return!0},loadDropDown:function(a){a()},loadAndOpenDropDown:function(){var b=
new p,c=a.hitch(this,function(){this.openDropDown();b.resolve(this.dropDown)});this.isLoaded()?c():this.loadDropDown(c);return b},toggleDropDown:function(){!this.disabled&&!this.readOnly&&(this._opened?this.closeDropDown(!0):this.loadAndOpenDropDown())},openDropDown:function(){var b=this.dropDown,c=b.domNode,g=this._aroundNode||this.domNode,m=this,l=r.open({parent:this,popup:b,around:g,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){m.closeDropDown(!0)},onCancel:function(){m.closeDropDown(!0)},
onClose:function(){n.set(m._popupStateNode,"popupActive",!1);e.remove(m._popupStateNode,"dijitHasDropDownOpen");m._set("_opened",!1)}});if(this.forceWidth||this.autoWidth&&g.offsetWidth>b._popupWrapper.offsetWidth){var g=g.offsetWidth-b._popupWrapper.offsetWidth,s={w:b.domNode.offsetWidth+g};this._origStyle=c.style.cssText;a.isFunction(b.resize)?b.resize(s):h.setMarginBox(c,s);"R"==l.corner[1]&&(b._popupWrapper.style.left=b._popupWrapper.style.left.replace("px","")-g+"px")}n.set(this._popupStateNode,
"popupActive","true");e.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",!0);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",b.id);"presentation"!==c.getAttribute("role")&&!c.getAttribute("aria-labelledby")&&c.setAttribute("aria-labelledby",this.id);return l},closeDropDown:function(a){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer);this._opened&&(this._popupStateNode.setAttribute("aria-expanded",
"false"),a&&this.focus&&this.focus(),r.close(this.dropDown),this._opened=!1);this._origStyle&&(this.dropDown.domNode.style.cssText=this._origStyle,delete this._origStyle)}})})},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(f,p,k,n){return k("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:!1,constructor:function(e){n.mixin(this,
e);this.connects=[];e=this.store;if(!e.getFeatures()["dojo.data.api.Identity"])throw Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");e.getFeatures()["dojo.data.api.Notification"]&&(this.connects=this.connects.concat([p.after(e,"onNew",n.hitch(this,"onNewItem"),!0),p.after(e,"onDelete",n.hitch(this,"onDeleteItem"),!0),p.after(e,"onSet",n.hitch(this,"onSetItem"),!0)]))},destroy:function(){for(var e;e=this.connects.pop();)e.remove()},getRoot:function(e,h){this.root?e(this.root):
this.store.fetch({query:this.query,onComplete:n.hitch(this,function(h){if(1!=h.length)throw Error("dijit.tree.TreeStoreModel: root query returned "+h.length+" items, but must return exactly one");this.root=h[0];e(this.root)}),onError:h})},mayHaveChildren:function(e){return f.some(this.childrenAttrs,function(h){return this.store.hasAttribute(e,h)},this)},getChildren:function(e,h,q){var d=this.store;if(d.isItemLoaded(e)){for(var b=[],a=0;a<this.childrenAttrs.length;a++)var c=d.getValues(e,this.childrenAttrs[a]),
b=b.concat(c);var l=0;this.deferItemLoadingUntilExpand||f.forEach(b,function(a){d.isItemLoaded(a)||l++});0==l?h(b):f.forEach(b,function(a,c){d.isItemLoaded(a)||d.loadItem({item:a,onItem:function(a){b[c]=a;0==--l&&h(b)},onError:q})})}else{var g=n.hitch(this,arguments.callee);d.loadItem({item:e,onItem:function(a){g(a,h,q)},onError:q})}},isItem:function(e){return this.store.isItem(e)},fetchItemByIdentity:function(e){this.store.fetchItemByIdentity(e)},getIdentity:function(e){return this.store.getIdentity(e)},
getLabel:function(e){return this.labelAttr?this.store.getValue(e,this.labelAttr):this.store.getLabel(e)},newItem:function(e,h,q){var d={parent:h,attribute:this.childrenAttrs[0]},b;this.newItemIdAttr&&e[this.newItemIdAttr]?this.fetchItemByIdentity({identity:e[this.newItemIdAttr],scope:this,onItem:function(a){a?this.pasteItem(a,null,h,!0,q):(b=this.store.newItem(e,d))&&void 0!=q&&this.pasteItem(b,h,h,!1,q)}}):(b=this.store.newItem(e,d))&&void 0!=q&&this.pasteItem(b,h,h,!1,q)},pasteItem:function(e,h,
q,d,b){var a=this.store,c=this.childrenAttrs[0];h&&f.forEach(this.childrenAttrs,function(b){if(a.containsValue(h,b,e)){if(!d){var l=f.filter(a.getValues(h,b),function(a){return a!=e});a.setValues(h,b,l)}c=b}});if(q)if("number"==typeof b){var l=a.getValues(q,c).slice();l.splice(b,0,e);a.setValues(q,c,l)}else a.setValues(q,c,a.getValues(q,c).concat(e))},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(e,h){h&&this.getChildren(h.item,n.hitch(this,function(e){this.onChildrenChange(h.item,
e)}))},onDeleteItem:function(e){this.onDelete(e)},onSetItem:function(e,h){if(-1!=f.indexOf(this.childrenAttrs,h))this.getChildren(e,n.hitch(this,function(h){this.onChildrenChange(e,h)}));else this.onChange(e)}})})},"dojo/dnd/Selector":function(){define("../_base/array ../_base/declare ../_base/kernel ../_base/lang ../dom ../dom-construct ../mouse ../_base/NodeList ../on ../touch ./common ./Container".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l){var g=p("dojo.dnd.Selector",l,{constructor:function(c,
g){g||(g={});this.singular=g.singular;this.autoSync=g.autoSync;this.selection={};this.anchor=null;this.simpleSelection=!1;this.events.push(b(this.node,a.press,n.hitch(this,"onMouseDown")),b(this.node,a.release,n.hitch(this,"onMouseUp")))},singular:!1,getSelectedNodes:function(){var a=new d,b=c._empty,g;for(g in this.selection)g in b||a.push(e.byId(g));return a},selectNone:function(){return this._removeSelection()._removeAnchor()},selectAll:function(){this.forInItems(function(a,b){this._addItemClass(e.byId(b),
"Selected");this.selection[b]=1},this);return this._removeAnchor()},deleteSelectedNodes:function(){var a=c._empty,b;for(b in this.selection)if(!(b in a)){var g=e.byId(b);this.delItem(b);h.destroy(g)}this.anchor=null;this.selection={};return this},forInSelectedItems:function(a,b){b=b||k.global;var g=this.selection,l=c._empty,d;for(d in g)d in l||a.call(b,this.getItem(d),d,this)},sync:function(){g.superclass.sync.call(this);this.anchor&&!this.getItem(this.anchor.id)&&(this.anchor=null);var a=[],b=c._empty,
m;for(m in this.selection)m in b||this.getItem(m)||a.push(m);f.forEach(a,function(a){delete this.selection[a]},this);return this},insertNodes:function(a,b,c,l){var d=this._normalizedCreator;this._normalizedCreator=function(b,c){var g=d.call(this,b,c);a?(this.anchor?this.anchor!=g.node&&(this._removeItemClass(g.node,"Anchor"),this._addItemClass(g.node,"Selected")):(this.anchor=g.node,this._removeItemClass(g.node,"Selected"),this._addItemClass(this.anchor,"Anchor")),this.selection[g.node.id]=1):(this._removeItemClass(g.node,
"Selected"),this._removeItemClass(g.node,"Anchor"));return g};g.superclass.insertNodes.call(this,b,c,l);this._normalizedCreator=d;return this},destroy:function(){g.superclass.destroy.call(this);this.selection=this.anchor=null},onMouseDown:function(a){this.autoSync&&this.sync();if(this.current)if(!this.singular&&!c.getCopyKeyState(a)&&!a.shiftKey&&this.current.id in this.selection)this.simpleSelection=!0,q.isLeft(a)&&(a.stopPropagation(),a.preventDefault());else{if(!this.singular&&a.shiftKey){c.getCopyKeyState(a)||
this._removeSelection();var b=this.getAllNodes();if(b.length&&(this.anchor||(this.anchor=b[0],this._addItemClass(this.anchor,"Anchor")),this.selection[this.anchor.id]=1,this.anchor!=this.current)){for(var g=0,l;g<b.length&&!(l=b[g],l==this.anchor||l==this.current);++g);for(++g;g<b.length;++g){l=b[g];if(l==this.anchor||l==this.current)break;this._addItemClass(l,"Selected");this.selection[l.id]=1}this._addItemClass(this.current,"Selected");this.selection[this.current.id]=1}}else this.singular?this.anchor==
this.current?c.getCopyKeyState(a)&&this.selectNone():(this.selectNone(),this.anchor=this.current,this._addItemClass(this.anchor,"Anchor"),this.selection[this.current.id]=1):c.getCopyKeyState(a)?this.anchor==this.current?(delete this.selection[this.anchor.id],this._removeAnchor()):this.current.id in this.selection?(this._removeItemClass(this.current,"Selected"),delete this.selection[this.current.id]):(this.anchor&&(this._removeItemClass(this.anchor,"Anchor"),this._addItemClass(this.anchor,"Selected")),
this.anchor=this.current,this._addItemClass(this.current,"Anchor"),this.selection[this.current.id]=1):this.current.id in this.selection||(this.selectNone(),this.anchor=this.current,this._addItemClass(this.current,"Anchor"),this.selection[this.current.id]=1);a.stopPropagation();a.preventDefault()}},onMouseUp:function(){this.simpleSelection&&(this.simpleSelection=!1,this.selectNone(),this.current&&(this.anchor=this.current,this._addItemClass(this.anchor,"Anchor"),this.selection[this.current.id]=1))},
onMouseMove:function(){this.simpleSelection=!1},onOverEvent:function(){this.onmousemoveEvent=b(this.node,a.move,n.hitch(this,"onMouseMove"))},onOutEvent:function(){this.onmousemoveEvent&&(this.onmousemoveEvent.remove(),delete this.onmousemoveEvent)},_removeSelection:function(){var a=c._empty,b;for(b in this.selection)if(!(b in a)){var g=e.byId(b);g&&this._removeItemClass(g,"Selected")}this.selection={};return this},_removeAnchor:function(){this.anchor&&(this._removeItemClass(this.anchor,"Anchor"),
this.anchor=null);return this}});return g})},"dijit/_MenuBase":function(){define("dojo/_base/array dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-class dojo/_base/lang dojo/mouse dojo/on dojo/window ./a11yclick ./registry ./_Widget ./_CssStateMixin ./_KeyNavContainer ./_TemplatedMixin".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r){return p("dijit._MenuBase",[l,r,s,g],{selected:null,_setSelectedAttr:function(a){this.selected!=a&&(this.selected&&(this.selected._setSelected(!1),this._onChildDeselect(this.selected)),
a&&a._setSelected(!0),this._set("selected",a))},activated:!1,_setActivatedAttr:function(a){e.toggle(this.domNode,"dijitMenuActive",a);e.toggle(this.domNode,"dijitMenuPassive",!a);this._set("activated",a)},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:!1,childSelector:function(a){var b=c.byNode(a);return a.parentNode==this.containerNode&&b&&b.focus},postCreate:function(){var b=this,g="string"==typeof this.childSelector?this.childSelector:h.hitch(this,"childSelector");this.own(d(this.containerNode,
d.selector(g,q.enter),function(){b.onItemHover(c.byNode(this))}),d(this.containerNode,d.selector(g,q.leave),function(){b.onItemUnhover(c.byNode(this))}),d(this.containerNode,d.selector(g,a),function(a){b.onItemClick(c.byNode(this),a);a.stopPropagation()}),d(this.containerNode,d.selector(g,"focusin"),function(){b._onItemFocus(c.byNode(this))}));this.inherited(arguments)},onKeyboardSearch:function(a,b,c,g){this.inherited(arguments);if(a&&(-1==g||a.popup&&1==g))this.onItemClick(a,b)},_keyboardSearchCompare:function(a,
b){return a.shortcutKey?b==a.shortcutKey.toLowerCase()?-1:0:this.inherited(arguments)?1:0},onExecute:function(){},onCancel:function(){},_moveToPopup:function(a){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled)this.onItemClick(this.focusedChild,a);else(a=this._getTopMenu())&&a._isMenuBar&&a.focusNext()},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer()},onItemHover:function(a){this.activated?(this.set("selected",a),a.popup&&
(!a.disabled&&!this.hover_timer)&&(this.hover_timer=this.defer(function(){this._openItemPopup(a)},this.popupDelay))):Infinity>this.passivePopupDelay&&(this.passive_hover_timer&&this.passive_hover_timer.remove(),this.passive_hover_timer=this.defer(function(){this.onItemClick(a,{type:"click"})},this.passivePopupDelay));this._hoveredChild=a;a._set("hovering",!0)},_onChildDeselect:function(a){this._stopPopupTimer();this.currentPopupItem==a&&(this._stopPendingCloseTimer(),this._pendingClose_timer=this.defer(function(){this.currentPopupItem=
this._pendingClose_timer=null;a._closePopup()},this.popupDelay))},onItemUnhover:function(a){this._hoveredChild==a&&(this._hoveredChild=null);this.passive_hover_timer&&(this.passive_hover_timer.remove(),this.passive_hover_timer=null);a._set("hovering",!1)},_stopPopupTimer:function(){this.hover_timer&&(this.hover_timer=this.hover_timer.remove())},_stopPendingCloseTimer:function(){this._pendingClose_timer&&(this._pendingClose_timer=this._pendingClose_timer.remove())},_getTopMenu:function(){for(var a=
this;a.parentMenu;a=a.parentMenu);return a},onItemClick:function(a,b){this.passive_hover_timer&&this.passive_hover_timer.remove();this.focusChild(a);if(a.disabled)return!1;if(a.popup){this.set("selected",a);this.set("activated",!0);var c=/^key/.test(b._origType||b.type)||0==b.clientX&&0==b.clientY;this._openItemPopup(a,c)}else this.onExecute(),a._onClick?a._onClick(b):a.onClick(b)},_openItemPopup:function(a,b){if(a!=this.currentPopupItem){this.currentPopupItem&&(this._stopPendingCloseTimer(),this.currentPopupItem._closePopup());
this._stopPopupTimer();var c=a.popup;c.parentMenu=this;this.own(this._mouseoverHandle=d.once(c.domNode,"mouseover",h.hitch(this,"_onPopupHover")));var g=this;a._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){b&&g.focusChild(a);g._cleanUp()},onExecute:h.hitch(this,"_cleanUp",!0),onClose:function(){g._mouseoverHandle&&(g._mouseoverHandle.remove(),delete g._mouseoverHandle)}},b);this.currentPopupItem=a}},onOpen:function(){this.isShowingNow=!0;this.set("activated",
!0)},onClose:function(){this.set("activated",!1);this.set("selected",null);this.isShowingNow=!1;this.parentMenu=null},_closeChild:function(){this._stopPopupTimer();this.currentPopupItem&&(this.focused&&(n.set(this.selected.focusNode,"tabIndex",this.tabIndex),this.selected.focusNode.focus()),this.currentPopupItem._closePopup(),this.currentPopupItem=null)},_onItemFocus:function(a){if(this._hoveredChild&&this._hoveredChild!=a)this.onItemUnhover(this._hoveredChild);this.set("selected",a)},_onBlur:function(){this._cleanUp(!0);
this.inherited(arguments)},_cleanUp:function(a){this._closeChild();"undefined"==typeof this.isShowingNow&&this.set("activated",!1);a&&this.set("selected",null)}})})},"dojo/dom-prop":function(){define("exports ./_base/kernel ./sniff ./_base/lang ./dom ./dom-style ./dom-construct ./_base/connect".split(" "),function(f,p,k,n,e,h,q,d){function b(a){var c="";a=a.childNodes;for(var l=0,m;m=a[l];l++)8!=m.nodeType&&(c=1==m.nodeType?c+b(m):c+m.nodeValue);return c}var a={},c=1,l=p._scopeName+"attrid";k.add("dom-textContent",
function(a,b,c){return"textContent"in c});f.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};f.get=function(a,c){a=e.byId(a);var l=c.toLowerCase(),l=f.names[l]||c;return"textContent"==l&&!k("dom-textContent")?b(a):a[l]};f.set=function(b,s,r){b=e.byId(b);if(2==arguments.length&&"string"!=typeof s){for(var m in s)f.set(b,m,s[m]);return b}m=s.toLowerCase();
m=f.names[m]||s;if("style"==m&&"string"!=typeof r)return h.set(b,r),b;if("innerHTML"==m)return k("ie")&&b.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(q.empty(b),b.appendChild(q.toDom(r,b.ownerDocument))):b[m]=r,b;if("textContent"==m&&!k("dom-textContent"))return q.empty(b),b.appendChild(b.ownerDocument.createTextNode(r)),b;if(n.isFunction(r)){var t=b[l];t||(t=c++,b[l]=t);a[t]||(a[t]={});var w=a[t][m];if(w)d.disconnect(w);else try{delete b[m]}catch(u){}r?
a[t][m]=d.connect(b,m,r):b[m]=null;return b}b[m]=r;return b}})},"dojo/errors/CancelError":function(){define(["./create"],function(f){return f("CancelError",null,null,{dojoType:"cancel"})})},"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(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m){f._xhrObj=r._create;var t=f.config;f.objectToQuery=n.objectToQuery;
f.queryToObject=n.queryToObject;f.fieldToObject=h.fieldToObject;f.formToObject=h.toObject;f.formToQuery=h.toQuery;f.formToJson=h.toJson;f._blockAsync=!1;var w=f._contentHandlers=f.contentHandlers={text:function(a){return a.responseText},json:function(a){return b.fromJson(a.responseText||null)},"json-comment-filtered":function(a){a=a.responseText;var c=a.indexOf("/*"),g=a.lastIndexOf("*/");if(-1==c||-1==g)throw Error("JSON was not comment filtered");return b.fromJson(a.substring(c+2,g))},javascript:function(a){return f.eval(a.responseText)},
xml:function(a){var b=a.responseXML;b&&(p("dom-qsa2.1")&&!b.querySelectorAll&&p("dom-parser"))&&(b=(new DOMParser).parseFromString(a.responseText,"application/xml"));if(p("ie")&&(!b||!b.documentElement)){var g=function(a){return"MSXML"+a+".DOMDocument"},g=["Microsoft.XMLDOM",g(6),g(4),g(3),g(2)];c.some(g,function(c){try{var g=new ActiveXObject(c);g.async=!1;g.loadXML(a.responseText);b=g}catch(l){return!1}return!0})}return b},"json-comment-optional":function(a){return a.responseText&&/^[^{\[]*\/\*/.test(a.responseText)?
w["json-comment-filtered"](a):w.json(a)}};f._ioSetArgs=function(b,c,g,l){var m={args:b,url:b.url},d=null;if(b.form){var d=e.byId(b.form),s=d.getAttributeNode("action");m.url=m.url||(s?s.value:f.doc?f.doc.URL:null);d=h.toObject(d)}s=[{}];d&&s.push(d);b.content&&s.push(b.content);b.preventCache&&s.push({"dojo.preventCache":(new Date).valueOf()});m.query=n.objectToQuery(a.mixin.apply(null,s));m.handleAs=b.handleAs||"text";var r=new q(function(a){a.canceled=!0;c&&c(a);var b=a.ioArgs.error;b||(b=Error("request cancelled"),
b.dojoType="cancel",a.ioArgs.error=b);return b});r.addCallback(g);var u=b.load;u&&a.isFunction(u)&&r.addCallback(function(a){return u.call(b,a,m)});var w=b.error;w&&a.isFunction(w)&&r.addErrback(function(a){return w.call(b,a,m)});var k=b.handle;k&&a.isFunction(k)&&r.addBoth(function(a){return k.call(b,a,m)});r.addErrback(function(a){return l(a,r)});t.ioPublish&&(f.publish&&!1!==m.args.ioPublish)&&(r.addCallbacks(function(a){f.publish("/dojo/io/load",[r,a]);return a},function(a){f.publish("/dojo/io/error",
[r,a]);return a}),r.addBoth(function(a){f.publish("/dojo/io/done",[r,a]);return a}));r.ioArgs=m;return r};var u=function(a){a=w[a.ioArgs.handleAs](a.ioArgs.xhr);return void 0===a?null:a},v=function(a,b){b.ioArgs.args.failOk||console.error(a);return a},x=function(a){0>=z&&(z=0,t.ioPublish&&(f.publish&&(!a||a&&!1!==a.ioArgs.args.ioPublish))&&f.publish("/dojo/io/stop"))},z=0;g.after(s,"_onAction",function(){z-=1});g.after(s,"_onInFlight",x);f._ioCancelAll=s.cancelAll;f._ioNotifyStart=function(a){t.ioPublish&&
(f.publish&&!1!==a.ioArgs.args.ioPublish)&&(z||f.publish("/dojo/io/start"),z+=1,f.publish("/dojo/io/send",[a]))};f._ioWatch=function(b,c,g,m){b.ioArgs.options=b.ioArgs.args;a.mixin(b,{response:b.ioArgs,isValid:function(a){return c(b)},isReady:function(a){return g(b)},handleResponse:function(a){return m(b)}});s(b);x(b)};f._ioAddQueryToUrl=function(a){a.query.length&&(a.url+=(-1==a.url.indexOf("?")?"?":"\x26")+a.query,a.query=null)};f.xhr=function(a,b,c){var g,m=f._ioSetArgs(b,function(a){g&&g.cancel()},
u,v),l=m.ioArgs;"postData"in b?l.query=b.postData:"putData"in b?l.query=b.putData:"rawBody"in b?l.query=b.rawBody:(2<arguments.length&&!c||-1==="POST|PUT".indexOf(a.toUpperCase()))&&f._ioAddQueryToUrl(l);var d={method:a,handleAs:"text",timeout:b.timeout,withCredentials:b.withCredentials,ioArgs:l};"undefined"!==typeof b.headers&&(d.headers=b.headers);"undefined"!==typeof b.contentType&&(d.headers||(d.headers={}),d.headers["Content-Type"]=b.contentType);"undefined"!==typeof l.query&&(d.data=l.query);
"undefined"!==typeof b.sync&&(d.sync=b.sync);f._ioNotifyStart(m);try{g=r(l.url,d,!0)}catch(s){return m.cancel(),m}m.ioArgs.xhr=g.response.xhr;g.then(function(){m.resolve(m)}).otherwise(function(a){l.error=a;a.response&&(a.status=a.response.status,a.responseText=a.response.text,a.xhr=a.response.xhr);m.reject(a)});return m};f.xhrGet=function(a){return f.xhr("GET",a)};f.rawXhrPost=f.xhrPost=function(a){return f.xhr("POST",a,!0)};f.rawXhrPut=f.xhrPut=function(a){return f.xhr("PUT",a,!0)};f.xhrDelete=
function(a){return f.xhr("DELETE",a)};f._isDocumentOk=function(a){return m.checkStatus(a.status)};f._getText=function(a){var b;f.xhrGet({url:a,sync:!0,load:function(a){b=a}});return b};a.mixin(f.xhr,{_xhrObj:f._xhrObj,fieldToObject:h.fieldToObject,formToObject:h.toObject,objectToQuery:n.objectToQuery,formToQuery:h.toQuery,formToJson:h.toJson,queryToObject:n.queryToObject,contentHandlers:w,_ioSetArgs:f._ioSetArgs,_ioCancelAll:f._ioCancelAll,_ioNotifyStart:f._ioNotifyStart,_ioWatch:f._ioWatch,_ioAddQueryToUrl:f._ioAddQueryToUrl,
_isDocumentOk:f._isDocumentOk,_getText:f._getText,get:f.xhrGet,post:f.xhrPost,put:f.xhrPut,del:f.xhrDelete});return f.xhr})},"dijit/focus":function(){define("dojo/aspect dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-class dojo/dom-construct dojo/Evented dojo/_base/lang dojo/on dojo/domReady dojo/sniff dojo/Stateful dojo/_base/window dojo/window ./a11y ./registry ./main".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m,t){var w,u,v=new (p([l,q],{curNode:null,activeStack:[],constructor:function(){var a=
d.hitch(this,function(a){k.isDescendant(this.curNode,a)&&this.set("curNode",null);k.isDescendant(this.prevNode,a)&&this.set("prevNode",null)});f.before(h,"empty",a);f.before(h,"destroy",a)},registerIframe:function(a){return this.registerWin(a.contentWindow,a)},registerWin:function(a,g){var m=this,l=a.document&&a.document.body;if(l){var d=c("pointer-events")?"pointerdown":c("MSPointer")?"MSPointerDown":c("touch-events")?"mousedown, touchstart":"mousedown",s=b(a.document,d,function(a){if(!a||!(a.target&&
null==a.target.parentNode))m._onTouchNode(g||a.target,"mouse")}),e=b(l,"focusin",function(a){if(a.target.tagName){var b=a.target.tagName.toLowerCase();"#document"==b||"body"==b||(r.isFocusable(a.target)?m._onFocusNode(g||a.target):m._onTouchNode(g||a.target))}}),t=b(l,"focusout",function(a){m._onBlurNode(g||a.target)});return{remove:function(){s.remove();e.remove();t.remove();l=s=e=t=null}}}},_onBlurNode:function(a){a=(new Date).getTime();a<w+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),
this._clearFocusTimer=setTimeout(d.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null)}),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),a<u+100||(this._clearActiveWidgetsTimer=setTimeout(d.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([])}),0)))},_onTouchNode:function(a,b){u=(new Date).getTime();this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer);e.contains(a,
"dijitPopup")&&(a=a.firstChild);var c=[];try{for(;a;){var l=n.get(a,"dijitPopupParent");if(l)a=m.byId(l).domNode;else if(a.tagName&&"body"==a.tagName.toLowerCase()){if(a===g.body())break;a=s.get(a.ownerDocument).frameElement}else{var d=a.getAttribute&&a.getAttribute("widgetId"),r=d&&m.byId(d);r&&!("mouse"==b&&r.get("disabled"))&&c.unshift(d);a=a.parentNode}}}catch(t){}this._setStack(c,b)},_onFocusNode:function(a){a&&9!=a.nodeType&&(w=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),
delete this._clearFocusTimer),this._onTouchNode(a),a!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",a)))},_setStack:function(a,b){var c=this.activeStack,g=c.length-1,l=a.length-1;if(a[l]!=c[g]){this.set("activeStack",a);var d;for(d=g;0<=d&&c[d]!=a[d];d--)if(g=m.byId(c[d]))g._hasBeenBlurred=!0,g.set("focused",!1),g._focusManager==this&&g._onBlur(b),this.emit("widget-blur",g,b);for(d++;d<=l;d++)if(g=m.byId(a[d]))g.set("focused",!0),g._focusManager==this&&g._onFocus(b),this.emit("widget-focus",
g,b)}},focus:function(a){if(a)try{a.focus()}catch(b){}}}));a(function(){var a=v.registerWin(s.get(document));c("ie")&&b(window,"unload",function(){a&&(a.remove(),a=null)})});t.focus=function(a){v.focus(a)};for(var x in v)/^_/.test(x)||(t.focus[x]="function"==typeof v[x]?d.hitch(v,x):v[x]);v.watch(function(a,b,c){t.focus[a]=c});return v})},"dojo/i18n":function(){define("./_base/kernel require ./has ./_base/array ./_base/config ./_base/lang ./_base/xhr ./json module".split(" "),function(f,p,k,n,e,h,
q,d,b){k.add("dojo-preload-i18n-Api",1);var a=f.i18n={},c=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,l=function(a,b,c,g){var l=[c+g];b=b.split("-");for(var m="",d=0;d<b.length;d++)if(m+=(m?"-":"")+b[d],!a||a[m])l.push(c+m+"/"+g),l.specificity=m;return l},g={},s=function(a,b,c){c=c?c.toLowerCase():f.locale;a=a.replace(/\./g,"/");b=b.replace(/\./g,"/");return/root/i.test(c)?a+"/nls/"+b:a+"/nls/"+c+"/"+b},r=f.getL10nName=function(a,c,g){return b.id+"!"+s(a,c,g)},m=function(a,b,c,m,d,s){a([b],function(r){var e=
h.clone(r.root||r.ROOT),t=l(!r._v1x&&r,d,c,m);a(t,function(){for(var a=1;a<t.length;a++)e=h.mixin(h.clone(e),arguments[a]);g[b+"/"+d]=e;e.$locale=t.specificity;s()})})},t=function(a){var b=e.extraLocale||[],b=h.isArray(b)?b:[b];b.push(a);return b},w=function(a,b,l){if(k("dojo-preload-i18n-Api")){var s=a.split("*"),r="preload"==s[1];r&&(g[a]||(g[a]=1,z(s[2],d.parse(s[3]),1,b)),l(1));if(!(s=r))v&&x.push([a,b,l]),s=v;if(s)return}a=c.exec(a);var e=a[1]+"/",q=a[5]||a[4],u=e+q,s=(a=a[5]&&a[4])||f.locale||
"",w=u+"/"+s;a=a?[s]:t(s);var p=a.length,A=function(){--p||l(h.delegate(g[w]))};n.forEach(a,function(a){var c=u+"/"+a;k("dojo-preload-i18n-Api")&&y(c);g[c]?A():m(b,u,e,q,a,A)})};k("dojo-preload-i18n-Api");var u=a.normalizeLocale=function(a){a=a?a.toLowerCase():f.locale;return"root"==a?"ROOT":a},v=0,x=[],z=a._preloadLocalizations=function(a,b,c,l){function m(a,b){l.isXdUrl(p.toUrl(a+".js"))||c?l([a],b):E([a],b,l)}function d(a,b){for(var c=a.split("-");c.length;){if(b(c.join("-")))return;c.pop()}b("ROOT")}
function s(){for(--v;!v&&x.length;)w.apply(null,x.shift())}function r(c){c=u(c);d(c,function(r){if(0<=n.indexOf(b,r)){var e=a.replace(/\./g,"/")+"_"+r;v++;m(e,function(a){for(var b in a){var m=a[b],e=b.match(/(.+)\/([^\/]+)$/),t;if(e&&(t=e[2],e=e[1]+"/",m._localized)){var q;if("ROOT"===r){var f=q=m._localized;delete m._localized;f.root=m;g[p.toAbsMid(b)]=f}else q=m._localized,g[p.toAbsMid(e+t+"/"+r)]=m;r!==c&&function(a,b,m,r){var e=[],t=[];d(c,function(c){r[c]&&(e.push(p.toAbsMid(a+c+"/"+b)),t.push(p.toAbsMid(a+
b+"/"+c)))});e.length?(v++,l(e,function(){for(var l=e.length-1;0<=l;l--)m=h.mixin(h.clone(m),arguments[l]),g[t[l]]=m;g[p.toAbsMid(a+b+"/"+c)]=h.clone(m);s()})):g[p.toAbsMid(a+b+"/"+c)]=m}(e,t,m,q)}}s()});return!0}return!1})}l=l||p;r();n.forEach(f.config.extraLocale,r)},y=function(){},A={},B=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;}"),
E=function(a,b,c){var m=[];n.forEach(a,function(a){function b(c){c=B(c,y,a,A);c===A?m.push(g[l]=A.result):(c instanceof Error&&(console.error("failed to evaluate i18n bundle; url\x3d"+l,c),c={}),m.push(g[l]=/nls\/[^\/]+\/[^\/]+$/.test(l)?c:{root:c,_v1x:1}))}var l=c.toUrl(a+".js");if(g[l])m.push(g[l]);else{var d=c.syncLoadNls(a);d||(d=y(a.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1")));if(d)m.push(d);else if(q)q.get({url:l,sync:!0,load:b,error:function(){m.push(g[l]={})}});else try{c.getText(l,!0,
b)}catch(s){m.push(g[l]={})}}});b&&b.apply(null,m)},y=function(a){for(var b,c=a.split("/"),l=f.global[c[0]],m=1;l&&m<c.length-1;l=l[c[m++]]);l&&((b=l[c[m]])||(b=l[c[m].replace(/-/g,"_")]),b&&(g[a]=b));return b};a.getLocalization=function(a,b,c){var g;a=s(a,b,c);w(a,!p.isXdUrl(p.toUrl(a+".js"))?function(a,b){E(a,b,p)}:p,function(a){g=a});return g};return h.mixin(a,{dynamic:!0,normalize:function(a,b){return/^\./.test(a)?b(a):a},load:w,cache:g,getL10nName:r})})},"dijit/hccss":function(){define(["dojo/dom-class",
"dojo/hccss","dojo/domReady","dojo/_base/window"],function(f,p,k,n){k(function(){p("highcontrast")&&f.add(n.body(),"dijit_a11y")});return p})},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(f,p,k,n,e){return p("dijit.tree.ForestStoreModel",e,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(e){this.root={store:this,root:!0,id:e.rootId,label:e.rootLabel,children:e.rootChildren}},
mayHaveChildren:function(e){return e===this.root||this.inherited(arguments)},getChildren:function(e,q,d){e===this.root?this.root.children?q(this.root.children):this.store.fetch({query:this.query,onComplete:n.hitch(this,function(b){this.root.children=b;q(b)}),onError:d}):this.inherited(arguments)},isItem:function(e){return e===this.root?!0:this.inherited(arguments)},fetchItemByIdentity:function(e){if(e.identity==this.root.id){var q=e.scope||k.global;e.onItem&&e.onItem.call(q,this.root)}else this.inherited(arguments)},
getIdentity:function(e){return e===this.root?this.root.id:this.inherited(arguments)},getLabel:function(e){return e===this.root?this.root.label:this.inherited(arguments)},newItem:function(e,q,d){return q===this.root?(this.onNewRootItem(e),this.store.newItem(e)):this.inherited(arguments)},onNewRootItem:function(){},pasteItem:function(e,q,d,b,a){if(q===this.root&&!b)this.onLeaveRoot(e);this.inherited(arguments,[e,q===this.root?null:q,d===this.root?null:d,b,a]);if(d===this.root)this.onAddToRoot(e)},onAddToRoot:function(e){},
onLeaveRoot:function(e){},_requeryTop:function(){var e=this.root.children||[];this.store.fetch({query:this.query,onComplete:n.hitch(this,function(q){this.root.children=q;if(e.length!=q.length||f.some(e,function(d,b){return q[b]!=d}))this.onChildrenChange(this.root,q)})})},onNewItem:function(e,q){this._requeryTop();this.inherited(arguments)},onDeleteItem:function(e){-1!=f.indexOf(this.root.children,e)&&this._requeryTop();this.inherited(arguments)},onSetItem:function(e,q,d,b){this._requeryTop();this.inherited(arguments)}})})},
"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(f,p){p.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var k=p("bug-for-in-skips-shadowed")?"hasOwnProperty valueOf isPrototypeOf propertyIsEnumerable toLocaleString toString constructor".split(" "):[],n=k.length,e=function(a,b,l){l||(l=a[0]&&f.scopeMap[a[0]]?f.scopeMap[a.shift()][1]:f.global);try{for(var g=0;g<a.length;g++){var d=a[g];if(!(d in l))if(b)l[d]={};else return;l=l[d]}return l}catch(r){}},
h=Object.prototype.toString,q=function(a,b,l){return(l||[]).concat(Array.prototype.slice.call(a,b||0))},d=/\{([^\}]+)\}/g,b={_extraNames:k,_mixin:function(a,b,l){var g,d,r,m={};for(g in b)if(d=b[g],!(g in a)||a[g]!==d&&(!(g in m)||m[g]!==d))a[g]=l?l(d):d;if(p("bug-for-in-skips-shadowed")&&b)for(r=0;r<n;++r)if(g=k[r],d=b[g],!(g in a)||a[g]!==d&&(!(g in m)||m[g]!==d))a[g]=l?l(d):d;return a},mixin:function(a,c){a||(a={});for(var l=1,g=arguments.length;l<g;l++)b._mixin(a,arguments[l]);return a},setObject:function(a,
b,l){var g=a.split(".");a=g.pop();return(l=e(g,!0,l))&&a?l[a]=b:void 0},getObject:function(a,b,l){return!a?l:e(a.split("."),b,l)},exists:function(a,c){return void 0!==b.getObject(a,!1,c)},isString:function(a){return"string"==typeof a||a instanceof String},isArray:Array.isArray||function(a){return"[object Array]"==h.call(a)},isFunction:function(a){return"[object Function]"===h.call(a)},isObject:function(a){return void 0!==a&&(null===a||"object"==typeof a||b.isArray(a)||b.isFunction(a))},isArrayLike:function(a){return!!a&&
!b.isString(a)&&!b.isFunction(a)&&!(a.tagName&&"form"==a.tagName.toLowerCase())&&(b.isArray(a)||isFinite(a.length))},isAlien:function(a){return a&&!b.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(String(a))},extend:function(a,c){for(var l=1,g=arguments.length;l<g;l++)b._mixin(a.prototype,arguments[l]);return a},_hitchArgs:function(a,c){var l=b._toArray(arguments,2),g=b.isString(c);return function(){var d=b._toArray(arguments),r=g?(a||f.global)[c]:c;return r&&r.apply(a||this,l.concat(d))}},hitch:function(a,
c){if(2<arguments.length)return b._hitchArgs.apply(f,arguments);c||(c=a,a=null);if(b.isString(c)){a=a||f.global;if(!a[c])throw['lang.hitch: scope["',c,'"] is null (scope\x3d"',a,'")'].join("");return function(){return a[c].apply(a,arguments||[])}}return!a?c:function(){return c.apply(a,arguments||[])}},delegate:function(){function a(){}return function(c,l){a.prototype=c;var g=new a;a.prototype=null;l&&b._mixin(g,l);return g}}(),_toArray:p("ie")?function(){function a(a,b,g){g=g||[];for(b=b||0;b<a.length;b++)g.push(a[b]);
return g}return function(b){return(b.item?a:q).apply(this,arguments)}}():q,partial:function(a){return b.hitch.apply(f,[null].concat(b._toArray(arguments)))},clone:function(a){if(!a||"object"!=typeof a||b.isFunction(a))return a;if(a.nodeType&&"cloneNode"in a)return a.cloneNode(!0);if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return RegExp(a);var c,l,g;if(b.isArray(a)){c=[];l=0;for(g=a.length;l<g;++l)l in a&&(c[l]=b.clone(a[l]))}else c=a.constructor?new a.constructor:{};
return b._mixin(c,a,b.clone)},trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,c,l){return a.replace(l||d,b.isFunction(c)?c:function(a,l){return b.getObject(l,!1,c)})}};b.mixin(f,b);return b})},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(f,p,k){return f("dijit.PopupMenuBarItem",[p,k._MenuBarItemMixin],{})})},"dojo/_base/NodeList":function(){define(["./kernel",
"../query","./array","./html","../NodeList-dom"],function(f,p,k){p=p.NodeList;var n=p.prototype;n.connect=p._adaptAsForEach(function(){return f.connect.apply(this,arguments)});n.coords=p._adaptAsMap(f.coords);p.events="blur focus change click error keydown keypress keyup load mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup submit".split(" ");k.forEach(p.events,function(e){var h="on"+e;n[h]=function(e,d){return this.connect(h,e,d)}});return f.NodeList=p})},"cbtree/model/_base/CheckedStoreModel":function(){define("module dojo/_base/declare dojo/_base/lang dojo/Deferred dojo/when ./BaseStoreModel ../../errors/createError!../../errors/CBTErrors.json".split(" "),
function(f,p,k,n,e,h,q){var d=q(f.id);return p([h],{checkedAll:!0,checkedAttr:"checked",checkedRoot:!1,checkedState:!1,checkedStrict:!0,enabledAttr:"",multiState:!0,normalize:!0,_validating:0,_checkedInherit:!0,constructor:function(b){if(!this._writeEnabled)throw new d("MethodMissing","constructor","Store must be write enabled, no put() supported");this.set("checkedStrict",this.checkedStrict);!0===this.checkedStrict&&(this._loadOptions={all:!0});this._validateDefer=new n},_checkedAttrSetter:function(b){if("string"==
typeof b){if(/\./.test(b))throw new d("InvalidType","set","checkedAttr can not be a dot separated string");}else throw new d("InvalidType","set","checkedAttr value must be a string");return this.checkedAttr},_checkedStrictSetter:function(b){b=b.toLowerCase?b.toLowerCase():!!b;this._checkedInherit=!0;switch(b){case !1:this._checkedInherit=!1;break;case !0:break;case "inherit":b=!1;break;default:throw new d("InvalidType","set","invalid checkedStrict value");}return this.checkedStrict=b},_enabledAttrSetter:function(b){if("string"===
typeof b){if(this.enabledAttr!==b)throw new d("ReadOnly","set","property enabledAttr is read-only");}else throw new d("InvalidType","set","enabledAttr value must be a string");return this.enabledAttr},getChecked:function(b){if(b!=this.root||this.checkedRoot){var a=b[this.checkedAttr];return void 0==a&&this.checkedAll?(this._setChecked(b,this.checkedState),this.checkedState):a}},getEnabled:function(b){var a=!0;this.enabledAttr&&(a=b[this.enabledAttr]);return void 0==a||!!a},setChecked:function(b,a){!this.checkedStrict&&
!this._checkedInherit?this._setChecked(b,a):this._updateCheckedChild(b,a)},setEnabled:function(b,a){if(this.enabledAttr)return this._setValue(b,this.enabledAttr,!!a)},validateData:function(){},_getCompositeState:function(b){var a=!1,c=!1,l=!1,g,d;b.some(function(b){d=this.getChecked(b);l|="mixed"==d;switch(d){case !0:a=!0;break;case !1:c=!0}return l},this);if(l||a||c)g=(l|=!(a^c))?"mixed":a?!0:!1;return g},_normalizeState:function(b,a){return this.multiState&&"mixed"==a?this.normalize&&!this.mayHaveChildren(b)?
!0:a:!!a},_setChecked:function(b,a){var c;c=this._normalizeState(b,a);var l=b[this.checkedAttr];return(void 0!==l||this.checkedAll)&&(l!=c||c!=a)?(this._setValue(b,this.checkedAttr,c),!0):!1},_updateCheckedChild:function(b,a){var c=this;this._setChecked(b,a);this.getChildren(b,function(b){b.forEach(function(b){c._updateCheckedChild(b,a)})},function(a){console.error(a)})},_updateCheckedParent:function(b,a){if(this.checkedStrict&&b){var c=this.getParents(b),l=this.getChecked(b),g=this,d;c.then(function(b){b.forEach(function(b){(l!==
g.getChecked(b)||a)&&g.getChildren(b,function(a){d=g._getCompositeState(a);void 0!==d&&g._setChecked(b,d)},g.onError)},this)})}},_validateChildren:function(b,a){var c,l;this._validating+=1;a=a instanceof Array?a:[a];a.forEach(function(a){if(this.mayHaveChildren(a))this.getChildren(a,k.hitch(this,function(b){this._validateChildren(a,b)}),function(a){console.error(a)});else if(c=this.getChecked(a))l=this.normalize?!!c:c,c!=l&&this._setValue(a,this.checkedAttr,l)},this);c=this.getChecked(b);l=this._getCompositeState(a);
void 0!==c&&(void 0!==l&&c!=l)&&this._setChecked(b,l);this._validating--;this._validating||this._onDataValidated()},_validateStore:function(){var b=this;this._validateDefer=new n;this.checkedStrict?this.store.isValidated?this._onDataValidated():this._validating||this.getRoot(function(a){b.getChildren(a,function(c){b._validateChildren(a,c)},b.onError)},b.onError):this._validateDefer.resolve();return this._validateDefer.promise},_onChildrenChange:function(b,a){var c=a[0]||null,l=this;this.checkedStrict&&
(c?this._observable?setTimeout(function(){l._updateCheckedParent(c,!0)},0):l._updateCheckedParent(c,!0):this._observable?setTimeout(function(){l._setChecked(b,b[l.checkedAttr])},0):this._setChecked(b,b[this.checkedAttr]));this.onChildrenChange(b,a)},_onDataValidated:function(){this.store.isValidated=!0;this.onDataValidated();this._validateDefer.resolve()},_onSetItem:function(b,a,c,l){var g=this;this.checkedStrict&&a===this.checkedAttr&&(this._observable?setTimeout(function(){g._updateCheckedParent(b,
!1)},0):g._updateCheckedParent(b,!1));return this.inherited(arguments)},_onStoreClosed:function(b,a){this._resetPending||(b&&delete this.store.isValidated,this.inherited(arguments))},onDataValidated:function(){}})})},"dgrid/extensions/ColumnReorder":function(){define("dojo/_base/lang dojo/_base/declare dojo/_base/array dojo/dom-class dojo/on dojo/query dojo/dnd/Source".split(" "),function(f,p,k,n,e,h,q){function d(a,b){var c=b[2],d=a[c?"columnSets":"subRows"][b[1]];return c?d[b[2]]:d}function b(a,
b,c){b[2]?a.columnSets[b[1]][b[2]]=c:a.subRows[b[1]]=c}function a(a,b){return b.slice(("dgrid-"+a+"-").length)}var c=/(\d+)(?:-(\d+))?$/;f=p(q,{copyState:function(){return!1},checkAcceptance:function(a){return a===this},_legalMouseDown:function(a){return-1<a.target.className.indexOf("dgrid-resize-handle")?!1:this.inherited(arguments)},onDropInternal:function(l){var g=this.grid,s=c.exec(a(g.id,l[0].getAttribute("dndType"))),r=s[2]?"columnSets":"subRows",m=d(g,s),t=g.columns;this.inherited(arguments);
s&&setTimeout(function(){var a=k.map(l[0].parentNode.childNodes,function(a){return t[a.columnId]});b(g,s,a);a={grid:g,subRow:a,column:t[l[0].columnId],bubbles:!0,cancelable:!0,parentType:"dnd"};a[r]=g[r];e.emit(g.domNode,"dgrid-columnreorder",a)?g.set(r,g[r]):(b(g,s,m),g.renderHeader(),g.sort.length&&g.updateSortArrow(g.sort))},0)}});p=p(null,{columnDndConstructor:f,_initSubRowDnd:function(a,b){var c,d,m,e;d=0;for(m=a.length;d<m;d++)e=a[d],!1!==e.reorderable&&(e=e.headerNode,n.add(e,"dojoDndItem"),
e.setAttribute("dndType",b),c||(c=e.parentNode));c&&this._columnDndSources.push(new this.columnDndConstructor(c,{horizontal:!0,grid:this}))},renderHeader:function(){var a="dgrid-"+this.id+"-",b,c;this.inherited(arguments);this._columnDndSources=[];if(this.columnSets){c=0;for(b=this.columnSets.length;c<b;c++)k.forEach(this.columnSets[c],function(b,g){this._initSubRowDnd(b,a+c+"-"+g)},this)}else k.forEach(this.subRows,function(b,c){this._initSubRowDnd(b,a+c)},this)},_destroyColumns:function(){this._columnDndSources&&
k.forEach(this._columnDndSources,function(a){a.destroy()});this.inherited(arguments)}});p.ColumnDndSource=f;return p})},"dijit/form/_ComboBoxMenuMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/has dojo/i18n dojo/i18n!./nls/ComboBox".split(" "),function(f,p,k,n,e){var h=p("dijit.form._ComboBoxMenuMixin"+(n("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=e.getLocalization("dijit.form","ComboBox",
this.lang)},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages.previousMessage;this.nextButton.innerHTML=this._messages.nextMessage},_setValueAttr:function(e){this._set("value",e);this.onChange(e)},onClick:function(e){if(e==this.previousButton)this._setSelectedAttr(null),this.onPage(-1);else if(e==this.nextButton)this._setSelectedAttr(null),this.onPage(1);else this.onChange(e)},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null)},
_createOption:function(e,d){var b=this._createMenuItem(),a=d(e);a.html?b.innerHTML=a.label:b.appendChild(b.ownerDocument.createTextNode(a.label));""==b.innerHTML&&(b.innerHTML="\x26#160;");return b},createOptions:function(e,d,b){this.items=e;this.previousButton.style.display=0==d.start?"none":"";k.set(this.previousButton,"id",this.id+"_prev");f.forEach(e,function(a,l){var g=this._createOption(a,b);g.setAttribute("item",l);k.set(g,"id",this.id+l);this.nextButton.parentNode.insertBefore(g,this.nextButton)},
this);var a=!1;e.total&&!e.total.then&&-1!=e.total?d.start+d.count<e.total?a=!0:d.start+d.count>e.total&&d.count==e.length&&(a=!0):d.count==e.length&&(a=!0);this.nextButton.style.display=a?"":"none";k.set(this.nextButton,"id",this.id+"_next")},clearResultList:function(){for(var e=this.containerNode;2<e.childNodes.length;)e.removeChild(e.childNodes[e.childNodes.length-2]);this._setSelectedAttr(null)},highlightFirstOption:function(){this.selectFirstNode()},highlightLastOption:function(){this.selectLastNode()},
selectFirstNode:function(){this.inherited(arguments);this.getHighlightedOption()==this.previousButton&&this.selectNextNode()},selectLastNode:function(){this.inherited(arguments);this.getHighlightedOption()==this.nextButton&&this.selectPreviousNode()},getHighlightedOption:function(){return this.selected}});n("dojo-bidi")&&(h=p("dijit.form._ComboBoxMenuMixin",h,{_createOption:function(){var e=this.inherited(arguments);this.applyTextDir(e);return e}}));return h})},"dijit/form/_SearchMixin":function(){define("dojo/_base/declare dojo/keys dojo/_base/lang dojo/query dojo/string dojo/when ../registry".split(" "),
function(f,p,k,n,e,h,q){return f("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(d){this._set("list",d)},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:!0,_patternToRegExp:function(d){return RegExp("^"+d.replace(/(\\.)|(\*)|(\?)|\W/g,function(b,a,c,l){return c?".*":l?".":a?a:"\\"+b})+"$",this.ignoreCase?"mi":"m")},_abortQuery:function(){this.searchTimer&&(this.searchTimer=this.searchTimer.remove());this._queryDeferHandle&&
(this._queryDeferHandle=this._queryDeferHandle.remove());this._fetchHandle&&(this._fetchHandle.abort&&(this._cancelingQuery=!0,this._fetchHandle.abort(),this._cancelingQuery=!1),this._fetchHandle.cancel&&(this._cancelingQuery=!0,this._fetchHandle.cancel(),this._cancelingQuery=!1),this._fetchHandle=null)},_processInput:function(d){if(!this.disabled&&!this.readOnly){d=d.charOrCode;var b=!1;this._prev_key_backspace=!1;switch(d){case p.DELETE:case p.BACKSPACE:b=this._maskValidSubsetError=this._prev_key_backspace=
!0;break;default:b="string"==typeof d||229==d}if(b)if(this.store)this.searchTimer=this.defer("_startSearchFromInput",1);else this.onSearch()}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value)},_startSearch:function(d){this._abortQuery();var b=this,a=k.clone(this.query),c={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:!0}},l=e.substitute(this.queryExpr,[d.replace(/([\\\*\?])/g,"\\$1")]),g,s=function(){var l=b._fetchHandle=b.store.query(a,
c);!b.disabled&&!(b.readOnly||g!==b._lastQuery)&&h(l,function(m){b._fetchHandle=null;!b.disabled&&(!b.readOnly&&g===b._lastQuery)&&h(l.total,function(g){m.total=g;var l=b.pageSize;if(isNaN(l)||l>m.total)l=m.total;m.nextPage=function(g){c.direction=g=!1!==g;c.count=l;g?(c.start+=m.length,c.start>=m.total&&(c.count=0)):(c.start-=l,0>c.start&&(c.count=Math.max(l+c.start,0),c.start=0));0>=c.count?(m.length=0,b.onSearch(m,a,c)):s()};b.onSearch(m,a,c)})},function(a){b._fetchHandle=null;b._cancelingQuery||
console.error(b.declaredClass+" "+a.toString())})};k.mixin(c,this.fetchProperties);this.store._oldAPI?g=l:(g=this._patternToRegExp(l),g.toString=function(){return l});this._lastQuery=a[this.searchAttr]=g;this._queryDeferHandle=this.defer(s,this.searchDelay)},constructor:function(){this.query={};this.fetchProperties={}},postMixInProperties:function(){if(!this.store){var d=this.list;d&&(this.store=q.byId(d))}this.inherited(arguments)}})})},"dojo/parser":function(){define("require ./_base/kernel ./_base/lang ./_base/array ./_base/config ./dom ./_base/window ./_base/url ./aspect ./promise/all ./date/stamp ./Deferred ./has ./query ./on ./ready".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m){function t(a){return eval("("+a+")")}function w(a){var b=a._nameCaseMap,c=a.prototype;if(!b||b._extendCnt<v){var b=a._nameCaseMap={},g;for(g in c)"_"!==g.charAt(0)&&(b[g.toLowerCase()]=g);b._extendCnt=v}return b}function u(a,b){b||(b=f);var c=b._dojoParserCtorMap||(b._dojoParserCtorMap={}),g=a.join();if(!c[g]){for(var m=[],l=0,d=a.length;l<d;l++){var e=a[l];m[m.length]=c[e]=c[e]||k.getObject(e)||~e.indexOf("/")&&b(e)}l=m.shift();c[g]=m.length?l.createSubclass?
l.createSubclass(m):l.extend.apply(l,m):l}return c[g]}new Date("X");var v=0;b.after(k,"extend",function(){v++},!0);var x={_clearCache:function(){v++;_ctorMap={}},_functionFromScript:function(a,b){var c="",g="",m=a.getAttribute(b+"args")||a.getAttribute("args"),l=a.getAttribute("with"),m=(m||"").split(/\s*,\s*/);l&&l.length&&n.forEach(l.split(/\s*,\s*/),function(a){c+="with("+a+"){";g+="}"});return new Function(m,c+a.innerHTML+g)},instantiate:function(a,b,c){b=b||{};c=c||{};var g=(c.scope||p._scopeName)+
"Type",m="data-"+(c.scope||p._scopeName)+"-",l=m+"type",d=m+"mixins",e=[];n.forEach(a,function(a){var c=g in b?b[g]:a.getAttribute(l)||a.getAttribute(g);if(c){var m=a.getAttribute(d),c=m?[c].concat(m.split(/\s*,\s*/)):[c];e.push({node:a,types:c})}});return this._instantiate(e,b,c)},_instantiate:function(b,c,g,m){function l(a){!c._started&&!g.noStart&&n.forEach(a,function(a){"function"===typeof a.startup&&!a._started&&a.startup()});return a}b=n.map(b,function(a){var b=a.ctor||u(a.types,g.contextRequire);
if(!b)throw Error("Unable to resolve constructor for: '"+a.types.join()+"'");return this.construct(b,a.node,c,g,a.scripts,a.inherited)},this);return m?a(b).then(l):l(b)},construct:function(a,m,l,e,h,q){function f(a){P&&k.setObject(P,a);for(D=0;D<O.length;D++)b[O[D].advice||"after"](a,O[D].method,k.hitch(a,O[D].func),!0);for(D=0;D<V.length;D++)V[D].call(a);for(D=0;D<I.length;D++)a.watch(I[D].prop,I[D].func);for(D=0;D<T.length;D++)r(a,T[D].event,T[D].func);return a}var u=a&&a.prototype;e=e||{};var v=
{};e.defaults&&k.mixin(v,e.defaults);q&&k.mixin(v,q);var x;g("dom-attributes-explicit")?x=m.attributes:g("dom-attributes-specified-flag")?x=n.filter(m.attributes,function(a){return a.specified}):(q=(/^input$|^img$/i.test(m.nodeName)?m:m.cloneNode(!1)).outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,""),x=n.map(q.split(/\s+/),function(a){var b=a.toLowerCase();return{name:a,value:"LI"==m.nodeName&&"value"==a||"enctype"==b?m.getAttribute(b):m.getAttributeNode(b).value}}));
var J=e.scope||p._scopeName;q="data-"+J+"-";var F={};"dojo"!==J&&(F[q+"props"]="data-dojo-props",F[q+"type"]="data-dojo-type",F[q+"mixins"]="data-dojo-mixins",F[J+"type"]="dojotype",F[q+"id"]="data-dojo-id");for(var D=0,C,J=[],P,N;C=x[D++];){var K=C.name,R=K.toLowerCase();C=C.value;switch(F[R]||R){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":N=C;break;case "data-dojo-id":case "jsid":P=C;break;case "data-dojo-attach-point":case "dojoattachpoint":v.dojoAttachPoint=
C;break;case "data-dojo-attach-event":case "dojoattachevent":v.dojoAttachEvent=C;break;case "class":v["class"]=m.className;break;case "style":v.style=m.style&&m.style.cssText;break;default:if(K in u||(K=w(a)[R]||K),K in u)switch(typeof u[K]){case "string":v[K]=C;break;case "number":v[K]=C.length?Number(C):NaN;break;case "boolean":v[K]="false"!=C.toLowerCase();break;case "function":""===C||-1!=C.search(/[^\w\.]+/i)?v[K]=new Function(C):v[K]=k.getObject(C,!1)||new Function(C);J.push(K);break;default:R=
u[K],v[K]=R&&"length"in R?C?C.split(/\s*,\s*/):[]:R instanceof Date?""==C?new Date(""):"now"==C?new Date:c.fromISOString(C):R instanceof d?p.baseUrl+C:t(C)}else v[K]=C}}for(x=0;x<J.length;x++)F=J[x].toLowerCase(),m.removeAttribute(F),m[F]=null;if(N)try{N=t.call(e.propsThis,"{"+N+"}"),k.mixin(v,N)}catch(S){throw Error(S.toString()+" in data-dojo-props\x3d'"+N+"'");}k.mixin(v,l);h||(h=a&&(a._noScript||u._noScript)?[]:s("\x3e script[type^\x3d'dojo/']",m));var O=[],V=[],I=[],T=[];if(h)for(D=0;D<h.length;D++)F=
h[D],m.removeChild(F),l=F.getAttribute(q+"event")||F.getAttribute("event"),e=F.getAttribute(q+"prop"),N=F.getAttribute(q+"method"),J=F.getAttribute(q+"advice"),x=F.getAttribute("type"),F=this._functionFromScript(F,q),l?"dojo/connect"==x?O.push({method:l,func:F}):"dojo/on"==x?T.push({event:l,func:F}):v[l]=F:"dojo/aspect"==x?O.push({method:N,advice:J,func:F}):"dojo/watch"==x?I.push({prop:e,func:F}):V.push(F);a=(h=a.markupFactory||u.markupFactory)?h(v,m,a):new a(v,m);return a.then?a.then(f):f(a)},scan:function(a,
b){function c(a){if(!a.inherited){a.inherited={};var b=a.node,g=c(a.parent),b={dir:b.getAttribute("dir")||g.dir,lang:b.getAttribute("lang")||g.lang,textDir:b.getAttribute(h)||g.textDir},m;for(m in b)b[m]&&(a.inherited[m]=b[m])}return a.inherited}var m=[],d=[],e={},r=(b.scope||p._scopeName)+"Type",s="data-"+(b.scope||p._scopeName)+"-",t=s+"type",h=s+"textdir",s=s+"mixins",q=a.firstChild,w=b.inherited;if(!w){var k=function(a,b){return a.getAttribute&&a.getAttribute(b)||a.parentNode&&k(a.parentNode,
b)},w={dir:k(a,"dir"),lang:k(a,"lang"),textDir:k(a,h)},v;for(v in w)w[v]||delete w[v]}for(var w={inherited:w},x,N;;)if(q)if(1!=q.nodeType)q=q.nextSibling;else if(x&&"script"==q.nodeName.toLowerCase())(K=q.getAttribute("type"))&&/^dojo\/\w/i.test(K)&&x.push(q),q=q.nextSibling;else if(N)q=q.nextSibling;else{var K=q.getAttribute(t)||q.getAttribute(r);v=q.firstChild;if(!K&&(!v||3==v.nodeType&&!v.nextSibling))q=q.nextSibling;else{N=null;if(K){var R=q.getAttribute(s);x=R?[K].concat(R.split(/\s*,\s*/)):
[K];try{N=u(x,b.contextRequire)}catch(S){}N||n.forEach(x,function(a){~a.indexOf("/")&&!e[a]&&(e[a]=!0,d[d.length]=a)});R=N&&!N.prototype._noScript?[]:null;w={types:x,ctor:N,parent:w,node:q,scripts:R};w.inherited=c(w);m.push(w)}else w={node:q,scripts:x,parent:w};x=R;N=q.stopParser||N&&N.prototype.stopParser&&!b.template;q=v}}else{if(!w||!w.node)break;q=w.node.nextSibling;N=!1;w=w.parent;x=w.scripts}var O=new l;d.length?(g("dojo-debug-messages"),(b.contextRequire||f)(d,function(){O.resolve(n.filter(m,
function(a){if(!a.ctor)try{a.ctor=u(a.types,b.contextRequire)}catch(c){}for(var g=a.parent;g&&!g.types;)g=g.parent;var m=a.ctor&&a.ctor.prototype;a.instantiateChildren=!(m&&m.stopParser&&!b.template);a.instantiate=!g||g.instantiate&&g.instantiateChildren;return a.instantiate}))})):O.resolve(m);return O.promise},_require:function(a,b){var c=t("{"+a.innerHTML+"}"),g=[],m=[],d=new l,e=b&&b.contextRequire||f,r;for(r in c)g.push(r),m.push(c[r]);e(m,function(){for(var a=0;a<g.length;a++)k.setObject(g[a],
arguments[a]);d.resolve(arguments)});return d.promise},_scanAmd:function(a,b){var c=new l,g=c.promise;c.resolve(!0);var m=this;s("script[type\x3d'dojo/require']",a).forEach(function(a){g=g.then(function(){return m._require(a,b)});a.parentNode.removeChild(a)});return g},parse:function(a,b){a&&("string"!=typeof a&&!("nodeType"in a))&&(b=a,a=b.rootNode);var c=a?h.byId(a):q.body();b=b||{};var g=b.template?{template:!0}:{},m=[],l=this,d=this._scanAmd(c,b).then(function(){return l.scan(c,b)}).then(function(a){return l._instantiate(a,
g,b,!0)}).then(function(a){return m=m.concat(a)}).otherwise(function(a){console.error("dojo/parser::parse() error",a);throw a;});k.mixin(m,d);return m}};p.parser=x;e.parseOnLoad&&m(100,x,"parse");return x})},"cbtree/model/_base/BaseStoreModel":function(){define("module dojo/_base/declare dojo/_base/lang dojo/aspect dojo/Deferred dojo/promise/all dojo/promise/Promise dojo/Stateful dojo/when ./Parents ./Prologue ../../Evented ../../errors/createError!../../errors/CBTErrors.json ../../util/shim/Array".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g){function s(){return!0}var r=g(f.id);return p([l,d],{iconAttr:"",labelAttr:"name",labelType:"text",parentProperty:"parent",query:null,options:null,rootLabel:null,store:null,state:"created",root:null,_forest:!1,_loadRequested:!1,constructor:function(a){this._childrenCache={};this._objectCache={};this._obsHandles={};this._methods={};this._forest=this._eventable=!1;this._loadOptions=null;this._resetPending=this._observable=this._monitored=this._loadRequested=!1;this._writeEnabled=
!0;this._evtHandles={remove:function(){}};this._modelReady=new e;this._storeReady=new e;p.safeMixin(this,a);var b=this.store;if(!b)throw new r("ParameterMissing","constructor","Store parameter is required");b.parentProperty?this.parentProperty=b.parentProperty:b.parentProperty=this.parentProperty;"add put get load hasChildren getChildren getParents addParent query removeParent queryEngine notify emit dispatchEvent isItem ready".split(" ").forEach(function(a){if("function"==typeof b[a])switch(this._methods[a]=
b[a],a){case "add":!0!==b.hierarchical&&n.before(b,"add",c);break;case "dispatchEvent":case "emit":!0===b.eventable&&(this._evtHandles=b.on("change, delete, new",k.hitch(this,this._onStoreEvent)),this._observable=!1,this._eventable=!0);break;case "notify":this._eventable||(this._observable=!0);break;case "put":!0!==b.hierarchical&&n.before(b,"put",c)}else switch(a){case "getChildren":if("function"==typeof b.query)b.getChildren=new Function(["object","options"],"return this.query({"+this.parentProperty+
": this.getIdentity(object)}, options);");else throw new r("MethodMissing","constructor","store MUST support getChildren() or query() method");break;case "isItem":b.isItem=function(a){return a&&"object"==typeof a?a==this.get(this.getIdentity(a)):!1};break;case "get":throw new r("MethodMissing","constructor","store MUST support the get() method");case "hasChildren":case "load":case "ready":this._methods[a]=s;break;case "put":this._writeEnabled=!1}},this);this._monitored=this._eventable||this._observable;
n.after(b,"onClose",k.hitch(this,"_onStoreClosed"),!0)},postscript:function(){this.inherited(arguments);this._loadStore(this._loadOptions)},_parentPropertySetter:function(a){if("string"==typeof a){if(/\./.test(a))throw new r("InvalidType","set","parentProperty can not be a dot separated string");}else throw new r("InvalidType","set","parentProperty value must be a string");return this.checkedAttr},destroy:function(){for(var a in this._childrenCache)this._deleteCacheEntry(a);this._evtHandles.remove();
this._childrenCache={};this._objectCache={};this.store=void 0},getChildren:function(a,b,c){throw new r("AbstractOnly","getChildren");},getIcon:function(a){if(this.iconAttr)return this._getProp(this.iconAttr,a)},getIdentity:function(a){return this.store.getIdentity(a)},getLabel:function(a){return a===this.root&&this.rootLabel?this.rootLabel:this._getProp(this.labelAttr,a)},getParents:function(c){var g=new e,l=[];if(c)if(this._methods.getParents)b(this.store.getParents(c),function(a){g.resolve(a||[])},
g.reject);else{var d=[];(new a(c,this.parentProperty)).forEach(function(a){if(a=this.store.get(a))b(a,function(a){a&&l.push(a)}),d.push(a)},this);h(d).always(function(){g.resolve(l)})}else g.resolve(l);return g.promise},getRoot:function(a,c){var g=this;if(this.root)b(this._storeReady,function(){a(g.root)});else if(this._methods.query)b(this._storeReady,function(){var l=g.store.query(g.query,g.options);b(l,function(b){if(1!=b.length)throw new r("InvalidResponse","getRoot","Root query returned %{0} items, but must return exactly one",
b.length);g.root=b[0];l.observe&&l.observe(function(a,b,c){b==c&&g._onChange(a,null)},!0);a(g.root)},c)},c);else throw new r("MethodMissing","getRoot","store has no query() method");},isItem:function(a){return this.store.isItem(a)},mayHaveChildren:function(a){var b=this._methods.hasChildren,c=this.getIdentity(a);return(c=this._childrenCache[c])&&!(c instanceof q)?!!c.length:b.call(this.store,a)},isChildOf:function(b,c){return c&&b?(new a(b,this.parentProperty)).contains(this.getIdentity(c)):!1},deleteItem:function(a,
c){function g(a){var m=l.getIdentity(a);m&&(c&&l.getChildren(a,function(a){a.forEach(g)}),l._forest&&a==l.root?l._onDeleteItem(a):(m=l.store.remove(m),l._monitored||b(m,function(){l._onDeleteItem(a)})),a==l.root&&(l.root=null))}a=a instanceof Array?a:[a];var l=this;a.forEach(g)},ready:function(a,b,c){return a||b?this._modelReady.then(a?k.hitch(c||this,a):null,b?k.hitch(c||this,b):null):this._modelReady.promise},newItem:function(c,g,l,d){var e=g[this.parentProperty]instanceof Array,r=this.getIdentity(c),
s=this,h;g=this._forest&&g==this.root?void 0:g;if(void 0!=r)return h=b(this.store.get(r),function(q){if(q){var f=new a(q,s.parentProperty);e?(f.add(s.getIdentity(g),!0),q[s.parentProperty]=f.toValue(),r=s.store.put(q),s._monitored||b(r,function(){s._childrenChanged(g)})):s.getParents(q).then(function(a){a.length&&s.pasteItem(q,a[0],g,!1,l,d)});return q}h=s.store.put(c,{parent:g,before:d});return b(h,function(a){return b(s.store.get(a),function(a){a&&(s._monitored||b(h,function(){s._onNewItem(a)}));
return a})})});h=this.store.put(c,{parent:g,before:d});return b(h,function(a){return b(s.store.get(a),function(a){if(a){if(g==this.root)s.onRootChange(a,"new");this._monitored||b(h,function(){s._onNewItem(a)})}return a})})},pasteItem:function(c,g,l,d,e,r){var s=new a(c,this.parentProperty),h=this.getIdentity(l),q=this.getIdentity(g),f=[l],n=this;if(q!=h){var k=g==this.root;l=l==this.root;d||(f.push(g),s.remove(q));if(l||k)this.onRootChange(c,l?"attach":"detach");(!this._forest||!l)&&s.add(h)}c[this.parentProperty]=
s.toValue();g=this.store.put(c,{before:r});(!this._monitored||this._eventable&&r)&&b(g,function(){n._childrenChanged(f)});this.onPasteItem(c,e,r)},_onChange:function(a,b){var c=this.getIdentity(a);if(b=b||this._objectCache[c]){for(var g in b)g in a?b[g]!=a[g]&&this._onSetItem(a,g,b[g],a[g]):this._onSetItem(a,g,b[g],void 0);for(g in a)g in b||this._onSetItem(a,g,void 0,a[g])}this._objectCache[c]=k.mixin(null,a)},_onChildrenChange:function(a,b){this.onChildrenChange(a,b)},_onDeleteItem:function(a){var c=
this.getIdentity(a),g=this;b(this.store.get(c),function(a){a||delete g._objectCache[c]},function(a){delete g._objectCache[c]});this._deleteCacheEntry(c);this.onDelete(a);this.getParents(a).then(function(b){if(g.isChildOf(a,g.root))g.onRootChange(a,"delete");g._childrenChanged(b)})},_onNewItem:function(a){var b=this;this.getParents(a).then(function(c){if(b.isChildOf(a,b.root))b.onRootChange(a,"new");b._childrenChanged(c)})},_onSetItem:function(b,c,g,l){var d=this.parentProperty;if(c===d){var e=new a(l,
d),r=new a(g,d),s=this,h=[];e.forEach(function(a){!r.contains(a)&&s._objectCache[a]&&h.push(s._objectCache[a])});r.forEach(function(a){!e.contains(a)&&s._objectCache[a]&&h.push(s._objectCache[a])});h.length&&(s._childrenChanged(h),this.onChange(b,c,l,g))}else this.onChange(b,c,l,g);return!0},_onStoreClosed:function(a,b){if(!this._resetPending){if(!b||!a){for(var c in this._childrenCache)this._deleteCacheEntry(c);this._childrenCache={};this._objectCache={}}if(a){var g=this;this._modelReady.isFulfilled()||
this._modelReady.cancel(new r("RequestCancel","_onStoreClosed"));this._modelReady=new e;this._storeReady=new e;this._loadRequested=!1;this._resetPending=!0;this.state="reset";this.onReset();this._forest||(this.root=null);this._loadStore().then(function(){g._resetPending=!1})}}},_onStoreEvent:function(a){var c=a;a.detail&&(c=a.detail);switch(a.type){case "change":this._onChange(c.item,null);c.from&&c.from!=c.at&&b(this.getParents(c.item),k.hitch(this,"_childrenChanged"));break;case "close":this._onStoreClose(c.count,
c.cleared);break;case "delete":this._onDeleteItem(c.item);break;case "new":this._onNewItem(c.item)}},onChange:function(a,b,c,g){},onChildrenChange:function(a,b){},onPasteItem:function(a,b,c){},onDelete:function(a){},onReset:function(){},onRootChange:function(a,b){},_childrenChanged:function(a){var b,c=this;(a=a instanceof Array?a:[a])&&a.length&&a.forEach(function(a){b=c.getIdentity(a);c._deleteCacheEntry(b);c.getChildren(a,function(b){c._onChildrenChange(a,b.slice(0))},function(a){console.error(a)})})},
_deleteCacheEntry:function(a){if(this._childrenCache[a]){var b=this._obsHandles[a];b&&b.remove();delete this._childrenCache[a];delete this._obsHandles[a]}},_getChildren:function(a,c,g,l){var d=this.getIdentity(a),s=this,h=null;if(a&&void 0!=d){if(this._observable&&this._childrenCache[d]){b(this._childrenCache[d],g,l);return}s._childrenCache[d]=h=c.call(s,a,d);this._objectCache[d]||(this._objectCache[d]=k.mixin(null,a));b(h,function(a){a.forEach(function(a){s._objectCache[s.getIdentity(a)]=k.mixin(null,
a)});s._childrenCache[d]=a});this._observable&&h.observe&&(a=h.observe(function(a,c,g){-1==g?b(h,k.hitch(s,"_onDeleteItem",a)):-1==c?b(h,k.hitch(s,"_onNewItem",a)):c==g?b(h,k.hitch(s,"_onChange",a,null)):b(h,function(a){Array.prototype.slice.call(a)})},!0),this._obsHandles[d]=a)}else h=new e,h.reject(new r("ParameterMissing","_getChildren","No parent object or Id"));b(h,g,l)},_getProp:function(a,b){for(var c=a.split("."),g,l=0;b&&(g=c[l++]);)b=g in b?b[g]:void 0;return b},_loadStore:function(a){if(!this._loadRequested){var c=
this._methods.ready,g=this._methods.load,l=this;this._loadRequested=!0;this.state="loading";a=[g.call(this.store,a),c.call(this.store)];this._loadPromise=h(a).always(function(){return b(c.call(l.store),function(){l._storeReady.resolve();l._validateStore().then(function(){l._modelReady.resolve();l.state="active"},function(a){l._modelReady.reject(a);l.state="in-active"});return!0},function(a){l._modelReady.reject(a);l._storeReady.reject(a)})})}return this._loadPromise},_setProp:function(a,b,c){a=a.split(".");
var g=a.pop();if(a.length)for(var l,d=0;b&&(l=a[d++]);)b=l in b?b[l]:b[l]={};return b[g]=c},_setValue:function(a,c,g){if(a[c]!==g)if(this._writeEnabled){var l=k.mixin(null,a),d=null,e=this;this._setProp(c,a,g);d=this.store.put(a,{overwrite:!0});this._monitored||b(d,function(){e._onChange(a,l)})}else throw new r("AccessError","_setValue","store is not writable.");return g},_updateChildrenCache:function(a,c,g){var l=this.getIdentity(c),d=this;return b(this._childrenCache[l],function(b){b=b||[];var c=
b.indexOf(g),e=b.total||0;"add"==a||"attach"==a?-1==c&&(b.push(g),e++):-1<c&&(b.splice(c,1),e--);b.total=e;return d._childrenCache[l]=b})},_validateStore:function(){return(new e).resolve()}})})},"dojo/dnd/Manager":function(){define("../_base/array ../_base/declare ../_base/lang ../_base/window ../dom-class ../Evented ../has ../keys ../on ../topic ../touch ./common ./autoscroll ./Avatar".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s){var r=p("dojo.dnd.Manager",[h],{constructor:function(){this.source=
this.avatar=null;this.nodes=[];this.copy=!0;this.target=null;this.canDropFlag=!1;this.events=[]},OFFSET_X:q("touch")?0:16,OFFSET_Y:q("touch")?-64:16,overSource:function(b){this.avatar&&(this.target=b&&"Disabled"!=b.targetState?b:null,this.canDropFlag=Boolean(this.target),this.avatar.update());a.publish("/dnd/source/over",b)},outSource:function(b){this.avatar?this.target==b&&(this.target=null,this.canDropFlag=!1,this.avatar.update(),a.publish("/dnd/source/over",null)):a.publish("/dnd/source/over",
null)},startDrag:function(l,d,s){function r(a){a.preventDefault();a.stopPropagation()}g.autoScrollStart(n.doc);this.source=l;this.nodes=d;this.copy=Boolean(s);this.avatar=this.makeAvatar();n.body().appendChild(this.avatar.node);a.publish("/dnd/start",l,d,this.copy);this.events=[b(n.doc,c.move,k.hitch(this,"onMouseMove")),b(n.doc,c.release,k.hitch(this,"onMouseUp")),b(n.doc,"keydown",k.hitch(this,"onKeyDown")),b(n.doc,"keyup",k.hitch(this,"onKeyUp")),b(n.doc,"dragstart",r),b(n.body(),"selectstart",
r)];e.add(n.body(),"dojoDnd"+(s?"Copy":"Move"))},canDrop:function(a){a=Boolean(this.target&&a);this.canDropFlag!=a&&(this.canDropFlag=a,this.avatar.update())},stopDrag:function(){e.remove(n.body(),["dojoDndCopy","dojoDndMove"]);f.forEach(this.events,function(a){a.remove()});this.events=[];this.avatar.destroy();this.source=this.target=this.avatar=null;this.nodes=[]},makeAvatar:function(){return new s(this)},updateAvatar:function(){this.avatar.update()},onMouseMove:function(a){var b=this.avatar;b&&
(g.autoScrollNodes(a),b=b.node.style,b.left=a.pageX+this.OFFSET_X+"px",b.top=a.pageY+this.OFFSET_Y+"px",b=Boolean(this.source.copyState(l.getCopyKeyState(a))),this.copy!=b&&this._setCopyStatus(b));q("touch")&&a.preventDefault()},onMouseUp:function(b){if(this.avatar){if(this.target&&this.canDropFlag){var c=Boolean(this.source.copyState(l.getCopyKeyState(b)));a.publish("/dnd/drop/before",this.source,this.nodes,c,this.target,b);a.publish("/dnd/drop",this.source,this.nodes,c,this.target,b)}else a.publish("/dnd/cancel");
this.stopDrag()}},onKeyDown:function(b){if(this.avatar)switch(b.keyCode){case d.CTRL:b=Boolean(this.source.copyState(!0));this.copy!=b&&this._setCopyStatus(b);break;case d.ESCAPE:a.publish("/dnd/cancel"),this.stopDrag()}},onKeyUp:function(a){this.avatar&&a.keyCode==d.CTRL&&(a=Boolean(this.source.copyState(!1)),this.copy!=a&&this._setCopyStatus(a))},_setCopyStatus:function(a){this.copy=a;this.source._markDndStatus(this.copy);this.updateAvatar();e.replace(n.body(),"dojoDnd"+(this.copy?"Copy":"Move"),
"dojoDnd"+(this.copy?"Move":"Copy"))}});l._manager=null;r.manager=l.manager=function(){l._manager||(l._manager=new r);return l._manager};return r})},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(f,p,k,n){return f("dijit.form.ToggleButton",[k,n],{baseClass:"dijitToggleButton",setChecked:function(e){p.deprecated("setChecked("+e+") is deprecated. Use set('checked',"+e+") instead.","","2.0");this.set("checked",e)}})})},
"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(f,p){var k={};f.setObject("dojo.date.stamp",k);k.fromISOString=function(f,e){k._isoRegExp||(k._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var h=k._isoRegExp.exec(f),q=null;if(h){h.shift();h[1]&&h[1]--;h[6]&&(h[6]*=1E3);e&&(e=new Date(e),p.forEach(p.map("FullYear Month Date Hours Minutes Seconds Milliseconds".split(" "),function(a){return e["get"+
a]()}),function(a,b){h[b]=h[b]||a}));q=new Date(h[0]||1970,h[1]||0,h[2]||1,h[3]||0,h[4]||0,h[5]||0,h[6]||0);100>h[0]&&q.setFullYear(h[0]||1970);var d=0,b=h[7]&&h[7].charAt(0);"Z"!=b&&(d=60*(h[8]||0)+(Number(h[9])||0),"-"!=b&&(d*=-1));b&&(d-=q.getTimezoneOffset());d&&q.setTime(q.getTime()+6E4*d)}return q};k.toISOString=function(f,e){var h=function(a){return 10>a?"0"+a:a};e=e||{};var q=[],d=e.zulu?"getUTC":"get",b="";"time"!=e.selector&&(b=f[d+"FullYear"](),b=["0000".substr((b+"").length)+b,h(f[d+"Month"]()+
1),h(f[d+"Date"]())].join("-"));q.push(b);if("date"!=e.selector){b=[h(f[d+"Hours"]()),h(f[d+"Minutes"]()),h(f[d+"Seconds"]())].join(":");d=f[d+"Milliseconds"]();e.milliseconds&&(b+="."+(100>d?"0":"")+h(d));if(e.zulu)b+="Z";else if("time"!=e.selector)var d=f.getTimezoneOffset(),a=Math.abs(d),b=b+((0<d?"-":"+")+h(Math.floor(a/60))+":"+h(a%60));q.push(b)}return q.join("T")};return k})},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/keys","./_Spinner","./NumberTextBox"],function(f,
p,k,n){return f("dijit.form.NumberSpinner",[k,n.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(e,h){var q=this.constraints,d=isNaN(e),b=!isNaN(q.max),a=!isNaN(q.min);d&&0!=h&&(e=0<h?a?q.min:b?q.max:0:b?this.constraints.max:a?q.min:0);var c=e+h;if(d||isNaN(c))return e;b&&c>q.max&&(c=q.max);a&&c<q.min&&(c=q.min);return c},_onKeyDown:function(e){if(!this.disabled&&!this.readOnly&&(e.keyCode==p.HOME||e.keyCode==p.END)&&!e.ctrlKey&&(!e.altKey&&!e.metaKey)&&"undefined"!=
typeof this.get("value")){var h=this.constraints[e.keyCode==p.HOME?"min":"max"];"number"==typeof h&&this._setValueAttr(h,!1);e.stopPropagation();e.preventDefault()}}})})},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(f,p,k,n){return f("dijit.form.Textarea",[n,k],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);p.set(this.textbox,{overflowY:"hidden",
overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"})}})})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(f,p,k,n,e){function h(e,d){var b=function(a,b){return p(a,e,function(l){if(d)return d(l,b);if(!n.isDescendant(l.relatedTarget,a))return b.call(this,l)})};b.bubble=function(a){return h(e,function(b,l){var g=a(b.target),d=b.relatedTarget;if(g&&g!=(d&&1==d.nodeType&&a(d)))return l.call(g,
b)})};return b}k.add("dom-quirks",e.doc&&"BackCompat"==e.doc.compatMode);k.add("events-mouseenter",e.doc&&"onmouseenter"in e.doc.createElement("div"));k.add("events-mousewheel",e.doc&&"onmousewheel"in e.doc);e=k("dom-quirks")&&k("ie")||!k("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,d){return e.button&d},isLeft:function(e){return e.button&1},isMiddle:function(e){return e.button&4},isRight:function(e){return e.button&2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,d){return e.button==
d},isLeft:function(e){return 0==e.button},isMiddle:function(e){return 1==e.button},isRight:function(e){return 2==e.button}};f.mouseButtons=e;f=k("events-mousewheel")?"mousewheel":function(e,d){return p(e,"DOMMouseScroll",function(b){b.wheelDelta=-b.detail;d.call(this,b)})};return{_eventHandler:h,enter:h("mouseover"),leave:h("mouseout"),wheel:f,isLeft:e.isLeft,isMiddle:e.isMiddle,isRight:e.isRight}})},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(f,
p,k,n){return f("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(e){var h=this._attrPairNames;return h[e]?h[e]:h[e]={s:"_"+e+"Setter",g:"_"+e+"Getter"}},postscript:function(e){e&&this.set(e)},_get:function(e,h){return"function"===typeof this[h.g]?this[h.g]():this[e]},get:function(e){return this._get(e,this._getAttrNames(e))},set:function(e,h){if("object"===typeof e){for(var q in e)e.hasOwnProperty(q)&&"_watchCallbacks"!=q&&this.set(q,e[q]);return this}q=this._getAttrNames(e);var d=this._get(e,
q);q=this[q.s];var b;"function"===typeof q?b=q.apply(this,Array.prototype.slice.call(arguments,1)):this[e]=h;if(this._watchCallbacks){var a=this;n(b,function(){a._watchCallbacks(e,d,h)})}return this},_changeAttrValue:function(e,h){var q=this.get(e);this[e]=h;this._watchCallbacks&&this._watchCallbacks(e,q,h);return this},watch:function(e,h){var q=this._watchCallbacks;if(!q)var d=this,q=this._watchCallbacks=function(a,b,g,e){var r=function(m){if(m){m=m.slice();for(var e=0,s=m.length;e<s;e++)m[e].call(d,
a,b,g)}};r(q["_"+a]);e||r(q["*"])};!h&&"function"===typeof e?(h=e,e="*"):e="_"+e;var b=q[e];"object"!==typeof b&&(b=q[e]=[]);b.push(h);var a={};a.unwatch=a.remove=function(){var a=k.indexOf(b,h);-1<a&&b.splice(a,1)};return a}})})},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(f,p,k){return f("dijit.form.DateTextBox",k,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:p,_selector:"date",maxHeight:Infinity,value:new Date("")})})},
"cbtree/store/Memory":function(){define("module dojo/_base/declare dojo/_base/lang dojo/Deferred dojo/request dojo/Stateful dojo/request/handlers dojo/store/util/QueryResults ../errors/createError!../errors/CBTErrors.json ../util/QueryEngine ../util/shim/Array".split(" "),function(f,p,k,n,e,h,q,d,b,a){function c(a){if(a.response)switch(a.response.status){case 404:a.message=a.response.url.match(/[^?#]*/)[0],a.name="NotFoundError"}return a}function l(a){throw new g("ReadOnly","set","property ["+a+"] is READ-ONLY");
}var g=b(f.id);return p([h],{autoLoad:!0,clearOnClose:!1,data:null,dataHandler:null,defaultProperties:null,filter:null,handleAs:null,idProperty:"id",queryEngine:a,url:null,state:"closed",total:0,_indexStore:!0,constructor:function(a){this._loadDeferred=new n(this._loadReset);this._storeReady=new n;this._loadPending=!1;this._data=[];this._indexId={};this.state="waitOnLoad";this.total=0;p.safeMixin(this,a);if(this.handleAs&&this.dataHandler){a=this.dataHandler.handler||this.dataHandler;var b=this.dataHandler.options,
c,l;switch(typeof a){case "function":if(a=new a,"function"!=typeof a.handler){l=this.dataHandler;a=void 0;break}case "object":l=a.handler;c=a.set;break;default:throw new g("InvalidType","constructor","handler must be a function");}l&&(q.register(this.handleAs,a?k.hitch(a,l):l),a&&b&&(c?c.call(a,b):k.mixin(a,b)))}!this.data&&(!this.url&&this.autoLoad)&&this.set("data",[])},destroy:function(){this._data.forEach(function(a){a._destoyed=!0});this._destroyed=!0;this._indexId={};this._data=[]},_autoLoadSetter:function(a){this.autoLoad=
!!a},_dataSetter:function(a){this.autoLoad?this.load({data:a}):this.data=a},_eventableSetter:function(){l("eventable")},_hierarchicalSetter:function(){l("hierarchical")},_idPropertySetter:function(a){this._indexStore=!!a;this.idProperty=a},_urlSetter:function(a){if("string"==typeof a)this.autoLoad?this.load({url:a}):this.url=a;else throw new g("InvalidType","_urlSetter","URL property must be of type string");},_anyToObject:function(a,b){if(a){b=b||!1;var c;switch(typeof a){case "string":case "number":c=
a;break;case "object":if(b){if(!this.isItem(a))throw new g("InvalidObject","_anyToObject");return a}c=this.getIdentity(a);break;default:return}return this.get(c)}},_applyDefaults:function(a,b){if(this.defaultProperties)for(var c in this.defaultProperties)b[c]=b[c]||this.defaultProperties[c];this.idProperty&&(b[this.idProperty]=a)},_getObjectId:function(a,b){var c;c=b&&"id"in b?b.id:this.getIdentity(a);if(null===c||void 0===c)c=Math.random();return c},_indexData:function(){if(this._indexStore){var a=
this.idProperty,b=this._indexId={},c=this._data,g;for(g=0;g<c.length;g++)b[c[g][a]]=g}},_loadError:function(a,b){this._loadReset(a);b.reject(new g(c(a),"load"));return b.promise},_loadData:function(a,b){if(!b.isFulfilled()){var c,l,d,e;this._indexId={};this._data=[];this.data=null;a=a||[];if(a instanceof Array)try{for(d=0;d<a.length;d++)c=a[d],l=this._getObjectId(c),e=this._indexId[l]||-1,0<=e||this._writeObject(l,c,e);this._indexData();this._storeReady.resolve(!0);this.state="active";b.resolve(!0)}catch(h){this._loadError(h,
b)}else this._loadError(new g("InvalidData","_loadData"),b);this._loadPending=!1}return b.promise},_loadReset:function(){this._loadDeferred=new n(this._loadReset);this._loadPending=!1;this.url=this.data=this.handleAs=null;this.state="closed"},_writeObject:function(a,b,c,g){-1<c?this._data[c]=b:(this._applyDefaults(a,b),this._indexStore?this._indexId[a]=this._data.push(b)-1:this._data.push(b),this.total=this._data.length);return a},_xhrGet:function(a,b){return e(this.url,{method:"GET",handleAs:b,preventCache:!0})},
add:function(a,b){var c=this._getObjectId(a,b),l=this._indexId[c];if(0<=l)throw new g("ItemExist","add");return this._writeObject(c,a,l,b)},close:function(a){this._loadDeferred.isFulfilled()||(this._loadDeferred.then(null,function(){}),this._loadDeferred.cancel(new g("RequestCancel","close","load request was canceled")));this._storeReady.isFulfilled()&&(this._storeReady=new n);if(a=!(!a&&!this.clearOnClose))this._loadReset(),this._indexId={},this._data=[],this.total=0;this.onClose(a,this.total)},
get:function(a){return this._data[this._indexId[a]]},getIdentity:function(a){if(a&&this.idProperty)return a[this.idProperty]},isItem:function(a){return a&&"object"==typeof a?a==this.get(this.getIdentity(a)):!1},load:function(b){var c=["data","filter","handleAs","url"],l=this._loadDeferred;if(!this._loadPending&&!l.isFulfilled()){if(b)for(var d in b)-1!=c.indexOf(d)&&(this[d]=b[d]);if(this.data||this.url){var e=this.filter?a(this.filter):function(a){return a},h=this;this.state="loading";this._loadPending=
!0;if(this.data){try{this.handleAs&&(this.data=q({text:this.data,options:{handleAs:this.handleAs}}).data),this._loadData(e(this.data),l)}catch(f){return h._loadError(f,l)}this.url=null}else this.handleAs||(this.handleAs="json"),this._xhrGet(this.url,this.handleAs,null).then(function(a){h._loadData(e(a),l)},function(a){h._loadError(a,l)})}}else if(b&&(b.url||b.data))return b=new n,this._loadPending?b.reject(new g("RequestPending","load")):b.reject(new g("Access","load","store already loaded"));return l.promise},
put:function(a,b){var c=this._getObjectId(a,b),l=this._indexId[c];if(0<=l&&b&&!1===b.overwrite)throw new g("ItemExist","put");return this._writeObject(c,a,l,b)},query:function(a,b){var c=this;return d(this._storeReady.then(function(){return c.queryEngine(a,b)(c._data,!1)}))},ready:function(a,b,c){return a||b?this._storeReady.then(a?k.hitch(c||this,a):null,b?k.hitch(c||this,b):null):this._storeReady.promise},remove:function(a){a=this._indexId[a];return 0<=a?(this._data.splice(a,1),this._indexData(),
this.total=this._data.length,!0):!1},toString:function(){return"[object MemoryStore]"},onClose:function(){}})})},"dstore/Filter":function(){define(["dojo/_base/declare"],function(f){function p(f){return function(){var n=this.constructor,e=new n;e.type=f;e.args=arguments;return this.type?p("and").call(n.prototype,this,e):e}}f=f(null,{constructor:function(f){var n=typeof f;switch(n){case "object":var n=this,e;for(e in f)var h=f[e],n=h instanceof this.constructor?n[h.type](e,h.args[0]):h&&h.test?n.match(e,
h):n.eq(e,h);this.type=n.type;this.args=n.args;break;case "function":case "string":this.type=n,this.args=[f]}},and:p("and"),or:p("or"),eq:p("eq"),ne:p("ne"),lt:p("lt"),lte:p("lte"),gt:p("gt"),gte:p("gte"),contains:p("contains"),"in":p("in"),match:p("match")});f.filterCreator=p;return f})},"cbtree/util/shim/Array":function(){define([],function(){Array.prototype.every||(Array.prototype.every=function(f,p){if(null==this)throw new TypeError;var k=Object(this),n=k.length>>>0;if("function"!=typeof f)throw new TypeError;
for(var e=0;e<n;e++)if(e in k&&!f.call(p,k[e],e,k))return!1;return!0});Array.prototype.filter||(Array.prototype.filter=function(f,p){if(null==this)throw new TypeError;var k=Object(this),n=k.length>>>0;if("function"!=typeof f)throw new TypeError;for(var e=[],h=0;h<n;h++)if(h in k){var q=k[h];f.call(p,q,h,k)&&e.push(q)}return e});Array.prototype.forEach||(Array.prototype.forEach=function(f,p){var k,n;if(null==this)throw new TypeError("this is null or not defined");var e=Object(this),h=e.length>>>0;
if("[object Function]"!=={}.toString.call(f))throw new TypeError(f+" is not a function");p&&(k=p);for(n=0;n<h;){var q;Object.prototype.hasOwnProperty.call(e,n)&&(q=e[n],f.call(k,q,n,e));n++}});Array.prototype.indexOf||(Array.prototype.indexOf=function(f){if(null==this)throw new TypeError;var p=Object(this),k=p.length>>>0;if(0===k)return-1;var n=0;1<arguments.length&&(n=Number(arguments[1]),n!=n?n=0:0!=n&&(Infinity!=n&&-Infinity!=n)&&(n=(0<n||-1)*Math.floor(Math.abs(n))));if(n>=k)return-1;for(n=0<=
n?n:Math.max(k-Math.abs(n),0);n<k;n++)if(n in p&&p[n]===f)return n;return-1});Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(f){if(null==this)throw new TypeError;var p=Object(this),k=p.length>>>0;if(0===k)return-1;var n=k;1<arguments.length&&(n=Number(arguments[1]),n!=n?n=0:0!=n&&(n!=1/0&&n!=-(1/0))&&(n=(0<n||-1)*Math.floor(Math.abs(n))));for(k=0<=n?Math.min(n,k-1):k-Math.abs(n);0<=k;k--)if(k in p&&p[k]===f)return k;return-1});Array.prototype.map||(Array.prototype.map=function(f,
p){if(null==this)throw new TypeError(" this is null or not defined");var k,n,e,h=Object(this),q=h.length>>>0;if("[object Function]"!={}.toString.call(f))throw new TypeError(f+" is not a function");p&&(k=p);n=Array(q);for(e=0;e<q;){var d;e in h&&(d=h[e],d=f.call(k,d,e,h),n[e]=d);e++}return n});Array.prototype.some||(Array.prototype.some=function(f,p){if(null==this)throw new TypeError;var k=Object(this),n=k.length>>>0;if("function"!=typeof f)throw new TypeError;for(var e=0;e<n;e++)if(e in k&&f.call(p,
k[e],e,k))return!0;return!1})})},"dstore/Trackable":function(){define("dojo/_base/lang dojo/_base/declare dojo/aspect dojo/when dojo/promise/all dojo/_base/array dojo/on".split(" "),function(f,p,k,n,e,h,q){function d(a,b,g){for(var d=a.length-1;0<=d;--d){var e=a[d],m=e.start,e=m+e.count;if(b>e){a.splice(d+1,0,{start:b,count:g-b});return}g>=m&&(b=Math.min(b,m),g=Math.max(g,e),a.splice(d,1))}a.unshift({start:b,count:g-b})}var b=0,a={track:function(){function a(){return function(){var a=this,b=this.inherited(arguments);
n(b,function(b){b=a._results=b.slice();a._partialResults&&(a._partialResults=null);a._ranges=[];d(a._ranges,0,b.length)});return b}}function l(){return function(a){var b=this,c=a.start,g=a.end,l=this.inherited(arguments);this._results||n(l,function(a){return n(a.totalLength,function(l){var m=b._partialResults||(b._partialResults=[]);g=Math.min(g,c+a.length);m.length=l;l=[c,g-c].concat(a);m.splice.apply(m,l);d(b._ranges,c,g);return a})});return l}}function g(a,c){b++;var g=c.target;c=f.delegate(c,
v[a]);n(w._results||w._partialResults,function(b){if(b){var l,d,m,r=w._ranges,t,q="id"in c?c.id:e.getIdentity(g),f=-1,n=-1,k=-1,p=-1;if("delete"===a||"update"===a)for(l=0;-1===f&&l<r.length;++l){t=r[l];d=t.start;for(m=d+t.count;d<m;++d)if(e.getIdentity(b[d])==q){f=c.previousIndex=d;n=l;b.splice(f,1);t.count--;for(d=l+1;d<r.length;++d)r[d].start--;break}}if("add"===a||"update"===a){if(u){if(u([g]).length){var v=0;m=r.length-1;d=-1;for(var N;v<=m&&-1===k;)l=v+Math.round((m-v)/2),t=r[l],n=b.slice(t.start,
t.start+t.count),"beforeId"in c&&(d=null===c.beforeId?n.length:x(n,c.beforeId)),-1===d&&(d=f>=Math.max(0,t.start-1)&&f<=t.start+t.count?f:e.defaultNewToStart?0:n.length),n.splice(d,0,g),q=h.indexOf(u(n),g),N=t.start+q,0===q&&0!==t.start?m=l-1:q>=n.length-1&&N<b.length?v=l+1:(k=N,p=l);if(-1===k&&0<v&&v<r.length)var K=!0}}else{d=-1;if("beforeId"in c)if(null===c.beforeId)k=b.length,d=r.length-1;else{l=0;for(m=r.length;-1===p&&l<m;++l)t=r[l],k=x(b,c.beforeId,t.start,t.start+t.count),-1!==k&&(p=l)}else"update"===
a?(k=f,p=n):e.defaultNewToStart?d=k=0:(k=b.length,d=r.length-1);-1!==d&&-1===p&&(t=r[d])&&(t.start<=k&&k<=t.start+t.count)&&(p=d)}if(-1<k&&-1<p){c.index=k;b.splice(k,0,g);r[p].count++;for(l=p+1;l<r.length;++l)r[l].start++}else if(K){c.beforeIndex=r[v].start;for(l=v;l<r.length;++l)r[l].start++}}c.totalLength=b.length}(b=w["on_tracked"+a])&&b.call(w,c)})}var e=this.store||this,r=[],m={add:1,update:1,"delete":1},t;for(t in m)r.push(this.on(t,function(a){return function(b){g(a,b)}}(t)));var w=p.safeMixin(f.delegate(this),
{_ranges:[],fetch:a(),fetchRange:l(),releaseRange:function(a,b){if(this._partialResults){a:for(var c=this._ranges,g=0,l;l=c[g];++g){var d=l.start,m=d+l.count;if(a<=d)if(b>=m)c.splice(g,1);else{l.start=b;l.count=m-l.start;break a}else if(a<m)if(b>d){c.splice(g,1,{start:d,count:a-d},{start:b,count:m-b});break a}else l.count=a-l.start}for(c=a;c<b;++c)delete this._partialResults[c]}},on:function(a,b){var c=this,g=this.getInherited(arguments);return q.parse(w,a,b,function(a,l){return l in m?k.after(w,
"on_tracked"+l,b,!0):g.call(c,l,b)})},tracking:{remove:function(){for(;0<r.length;)r.pop().remove();this.remove=function(){}}},track:null});this.fetchSync&&(p.safeMixin(w,{fetchSync:a(),fetchRangeSync:l()}),w.fetchSync());var u;h.forEach(this.queryLog,function(a){var b=u,c=a.querier;c&&(u=b?function(a){return c(b(a))}:c)});var v={add:{index:void 0},update:{previousIndex:void 0,index:void 0},"delete":{previousIndex:void 0}},x=function(a,b,c,g){g=void 0!==g?g:a.length;for(c=void 0!==c?c:0;c<g;++c)if(e.getIdentity(a[c])===
b)return c;return-1};return w}};e=p(null,a);e.create=function(b,l){b=p.safeMixin(f.delegate(b),a);p.safeMixin(b,l);return b};return e})},"dijit/form/_AutoCompleterMixin":function(){define("dojo/aspect dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/query dojo/regexp dojo/sniff ./DataList ./_TextBoxMixin ./_SearchMixin".split(" "),function(f,p,k,n,e,h,q,d,b,a,c){p=p("dijit.form._AutoCompleterMixin",c,{item:null,autoComplete:!0,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,
_stopClickEvents:!1,_getCaretPos:function(a){var b=0;if("number"==typeof a.selectionStart)b=a.selectionStart;else if(d("ie")){var c=a.ownerDocument.selection.createRange().duplicate();a=a.createTextRange();c.move("character",0);a.move("character",0);try{a.setEndPoint("EndToEnd",c),b=String(a.text).replace(/\r/g,"").length}catch(e){}}return b},_setCaretPos:function(b,c){c=parseInt(c);a.selectInputText(b,c,c)},_setDisabledAttr:function(a){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",
a?"true":"false")},_onKey:function(a){if(!(32<=a.charCode)){var b=a.charCode||a.keyCode;if(!(b==n.ALT||b==n.CTRL||b==n.META||b==n.SHIFT)){var c=this.dropDown,d=null;this._abortQuery();this.inherited(arguments);if(!a.altKey&&!a.ctrlKey&&!a.metaKey)switch(this._opened&&(d=c.getHighlightedOption()),b){case n.PAGE_DOWN:case n.DOWN_ARROW:case n.PAGE_UP:case n.UP_ARROW:this._opened&&this._announceOption(d);a.stopPropagation();a.preventDefault();break;case n.ENTER:if(d){if(d==c.nextButton){this._nextSearch(1);
a.stopPropagation();a.preventDefault();break}else if(d==c.previousButton){this._nextSearch(-1);a.stopPropagation();a.preventDefault();break}a.stopPropagation();a.preventDefault()}else this._setBlurValue(),this._setCaretPos(this.focusNode,this.focusNode.value.length);case n.TAB:b=this.get("displayedValue");if(c&&(b==c._messages.previousMessage||b==c._messages.nextMessage))break;d&&this._selectOption(d);case n.ESCAPE:this._opened&&(this._lastQuery=null,this.closeDropDown())}}}},_autoCompleteText:function(b){var c=
this.focusNode;a.selectInputText(c,c.value.length);var d=this.ignoreCase?"toLowerCase":"substr";0==b[d](0).indexOf(this.focusNode.value[d](0))?(d=this.autoComplete?this._getCaretPos(c):c.value.length,d+1>c.value.length&&(c.value=b,a.selectInputText(c,d))):(c.value=b,a.selectInputText(c))},_openResultList:function(a,b,c){var d=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();!a.length&&0==c.start?this.closeDropDown():(this._nextSearch=this.dropDown.onPage=e.hitch(this,function(b){a.nextPage(-1!==
b);this.focus()}),this.dropDown.createOptions(a,c,e.hitch(this,"_getMenuLabelFromItem")),this._showResultList(),"direction"in c?(c.direction?this.dropDown.highlightFirstOption():c.direction||this.dropDown.highlightLastOption(),d&&this._announceOption(this.dropDown.getHighlightedOption())):this.autoComplete&&(!this._prev_key_backspace&&!/^[*]+$/.test(b[this.searchAttr].toString()))&&this._announceOption(this.dropDown.containerNode.firstChild.nextSibling))},_showResultList:function(){this.closeDropDown(!0);
this.openDropDown();this.domNode.setAttribute("aria-expanded","true")},loadDropDown:function(){this._startSearchAll()},isLoaded:function(){return!1},closeDropDown:function(){this._abortQuery();this._opened&&(this.inherited(arguments),this.domNode.setAttribute("aria-expanded","false"))},_setBlurValue:function(){var a=this.get("displayedValue"),b=this.dropDown;b&&(a==b._messages.previousMessage||a==b._messages.nextMessage)?this._setValueAttr(this._lastValueReported,!0):"undefined"==typeof this.item?
(this.item=null,this.set("displayedValue",a)):(this.value!=this._lastValueReported&&this._handleOnChange(this.value,!0),this._refreshState());this.focusNode.removeAttribute("aria-activedescendant")},_setItemAttr:function(a,b,c){var d="";a&&(c||(c=this.store._oldAPI?this.store.getValue(a,this.searchAttr):a[this.searchAttr]),d=this._getValueField()!=this.searchAttr?this.store.getIdentity(a):c);this.set("value",d,b,c,a)},_announceOption:function(a){if(a){var b;if(a==this.dropDown.nextButton||a==this.dropDown.previousButton)b=
a.innerHTML,this.item=void 0,this.value="";else{var c=this.dropDown.items[a.getAttribute("item")];b=(this.store._oldAPI?this.store.getValue(c,this.searchAttr):c[this.searchAttr]).toString();this.set("item",c,!1,b)}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",k.get(a,"id"));this._autoCompleteText(b)}},_selectOption:function(a){this.closeDropDown();a&&this._announceOption(a);this._setCaretPos(this.focusNode,this.focusNode.value.length);
this._handleOnChange(this.value,!0);this.focusNode.removeAttribute("aria-activedescendant")},_startSearchAll:function(){this._startSearch("")},_startSearchFromInput:function(){this.item=void 0;this.inherited(arguments)},_startSearch:function(a){if(!this.dropDown){var b=this.id+"_popup";this.dropDown=new (e.isString(this.dropDownClass)?e.getObject(this.dropDownClass,!1):this.dropDownClass)({onChange:e.hitch(this,this._selectOption),id:b,dir:this.dir,textDir:this.textDir})}this._lastInput=a;this.inherited(arguments)},
_getValueField:function(){return this.searchAttr},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef&&(this.store=new b({},this.srcNodeRef),!("value"in this.params))){var a=this.item=this.store.fetchSelectedItem();if(a){var c=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(a,c):a[c]}}},postCreate:function(){var a=h('label[for\x3d"'+this.id+'"]');a.length&&(a[0].id||(a[0].id=this.id+"_label"),this.domNode.setAttribute("aria-labelledby",
a[0].id));this.inherited(arguments);f.after(this,"onSearch",e.hitch(this,"_openResultList"),!0)},_getMenuLabelFromItem:function(a){a=this.labelFunc(a,this.store);var b=this.labelType;"none"!=this.highlightMatch&&("text"==this.labelType&&this._lastInput)&&(a=this.doHighlight(a,this._lastInput),b="html");return{html:"html"==b,label:a}},doHighlight:function(a,b){var c=(this.ignoreCase?"i":"")+("all"==this.highlightMatch?"g":""),d=this.queryExpr.indexOf("${0}");b=q.escapeString(b);return this._escapeHtml(a.replace(RegExp((0==
d?"^":"")+"("+b+")"+(d==this.queryExpr.length-4?"$":""),c),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,'\x3cspan class\x3d"dijitComboBoxHighlightMatch"\x3e$1\x3c/span\x3e')},_escapeHtml:function(a){return a=String(a).replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;")},reset:function(){this.item=null;this.inherited(arguments)},labelFunc:function(a,b){return(b._oldAPI?b.getValue(a,this.labelAttr||this.searchAttr):a[this.labelAttr||this.searchAttr]).toString()},
_setValueAttr:function(a,b,c,d){this._set("item",d||null);null==a&&(a="");this.inherited(arguments)}});d("dojo-bidi")&&p.extend({_setTextDirAttr:function(a){this.inherited(arguments);this.dropDown&&this.dropDown._set("textDir",a)}});return p})},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(f,p,k,n){return f("dijit.form.MappedTextBox",n,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting=
""},_setNameAttr:"valueNode",serialize:function(e){return e.toString?e.toString():""},toString:function(){var e=this.filter(this.get("value"));return null!=e?"string"==typeof e?e:this.serialize(e,this.constraints):""},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.valueNode=k.place("\x3cinput type\x3d'hidden'"+(this.name&&!p("msapp")?' name\x3d"'+this.name.replace(/"/g,"\x26quot;")+'"':"")+"/\x3e",
this.textbox,"after")},reset:function(){this.valueNode.value="";this.inherited(arguments)}})})},"cbtree/store/Hierarchy":function(){define("module dojo/_base/declare dojo/_base/lang dojo/store/util/QueryResults ./Natural ../errors/createError!../errors/CBTErrors.json".split(" "),function(f,p,k,n,e,h){var q=h(f.id);return p([e],{indexChildren:!0,multiParented:"auto",parentProperty:"parent",hierarchical:!0,_indexParent:{},_indexChild:{},constructor:function(){this.indexChildren=this._indexStore?this.indexChildren:
!1},destroy:function(){this._indexParent={};this._indexChild={};this.inherited(arguments)},_getParentArray:function(d){d=d[this.parentProperty];return void 0!=d?this.multiParented?d:[d]:[]},_getParentIds:function(d,b){var a=[];b&&(b=b instanceof Array?b:[b],b.forEach(function(b){switch(typeof b){case "object":b=this.getIdentity(b);case "string":case "number":void 0!=b&&b!=d&&-1==a.indexOf(b)&&a.push(b);break;default:throw new q("InvalidType","_getParentId");}},this));return a},_loadData:function(d){this._indexParent=
{};this._indexChild={};d instanceof Array&&"auto"==this.multiParented&&(this.multiParented=d.some(function(b){return b[this.parentProperty]instanceof Array},this));this.inherited(arguments)},_parentIdsChanged:function(d,b){return d.length==b.length?!b.every(function(a){return-1!=d.indexOf(a)}):!0},_setParentType:function(d){!0===this.multiParented?d instanceof Array||(d=d?[d]:[]):!1===this.multiParented?d instanceof Array&&(d=d.length?d[0]:void 0):"auto"===this.multiParented&&(this.multiParented=
d instanceof Array);return d},_updateHierarchy:function(d,b,a){if(this.indexChildren){a=this.getIdentity(d);var c=this._indexParent[a]||[],l=this._getParentArray(d),g=this._parentIdsChanged(l,c);g&&c.forEach(function(a){if(-1==l.indexOf(a)){var b=this._indexChild[a],c=b.indexOf(d);-1<c&&(b.splice(c,1),0==b.length&&delete this._indexChild[a])}},this);if(g||b)l.forEach(function(a){var c=this._indexChild[a]||[];b?this._insertBefore(c,d,b):-1==c.indexOf(d)&&c.push(d);this._indexChild[a]=c},this),this._indexParent[a]=
l.slice(0),l.length||delete this._indexParent[a]}},_validParents:function(d){return this._getParentArray(d).every(function(b){return this._indexId[b]},this)},_writeObject:function(d,b,a,c){var l,g;c&&(c.parent&&(b[this.parentProperty]=this._getParentIds(d,c.parent)),c.before&&(l=this._anyToObject(c.before)));b[this.parentProperty]=this._setParentType(b[this.parentProperty]);g=this.inherited(arguments);this._updateHierarchy(b,l);return g},addParent:function(d,b){var a=this.getIdentity(d),a=this._getParentIds(a,
b);if(a.length){var c=k.clone(d),l=this._getParentArray(c);a.forEach(function(a){-1==l.indexOf(a)&&l.unshift(a)});c[this.parentProperty]=this._setParentType(l);this.put(c);return!0}return!1},close:function(d){if(d||this.clearOnClose)this._indexParent={},this._indexChild={};this.inherited(arguments)},getChildren:function(d,b){var a=this.getIdentity(d),c={},l;this.indexChildren&&(l=(this._indexChild[a]||[]).slice(0));c[this.parentProperty]=a;return this.query(c,b,l)},getParents:function(d){if(d){var b=
[];this._getParentArray(d).forEach(function(a){(a=this.get(a))&&b.push(a)},this);return b}},hasChildren:function(d){var b=this.getIdentity(d);return this.indexChildren?!!(this._indexChild[b]||[]).length:this._data.some(function(a){return-1!=this._getParentArray(a).indexOf(b)},this)},query:function(d,b){var a=3==arguments.length?arguments[2]:null,c=a||this._data,l=this;return this._loadDeferred.isFulfilled()||a?n(this.queryEngine(d,b)(c,!!a)):n(this._loadDeferred.then(function(){return l.queryEngine(d,
b)(l._data,!1)}))},remove:function(d){d=this._indexId[d];if(0<=d){var b=this._data[d],a=b[this.parentProperty];b[this.parentProperty]=void 0;this._updateHierarchy(b,null);this._data.splice(d,1);this._indexData();b[this.parentProperty]=a;return!0}return!1},removeParent:function(d,b){var a=this.getIdentity(d),c=this._getParentIds(a,b);if(c.length){var a=k.clone(d),l=this._getParentArray(a),l=l.filter(function(a){return-1==c.indexOf(a)});a[this.parentProperty]=this._setParentType(l);this.put(a);return!0}return!1},
toString:function(){return"[object HierarchyStore]"}})})},"dijit/form/ComboBoxMixin":function(){define("dojo/_base/declare dojo/Deferred dojo/_base/kernel dojo/_base/lang dojo/store/util/QueryResults ./_AutoCompleterMixin ./_ComboBoxMenu ../_HasDropDown dojo/text!./templates/DropDownBox.html".split(" "),function(f,p,k,n,e,h,q,d,b){return f("dijit.form.ComboBoxMixin",[d,h],{dropDownClass:q,hasDownArrow:!0,templateString:b,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{_buttonNode:"dijitDownArrowButton"},
_setHasDownArrowAttr:function(a){this._set("hasDownArrow",a);this._buttonNode.style.display=a?"":"none"},_showResultList:function(){this.displayMessage("");this.inherited(arguments)},_setStoreAttr:function(a){a.get||n.mixin(a,{_oldAPI:!0,get:function(a){var b=new p;this.fetchItemByIdentity({identity:a,onItem:function(a){b.resolve(a)},onError:function(a){b.reject(a)}});return b.promise},query:function(a,b){var g=new p(function(){d.abort&&d.abort()});g.total=new p;var d=this.fetch(n.mixin({query:a,
onBegin:function(a){g.total.resolve(a)},onComplete:function(a){g.resolve(a)},onError:function(a){g.reject(a)}},b));return e(g)}});this._set("store",a)},postMixInProperties:function(){var a=this.params.store||this.store;a&&this._setStoreAttr(a);this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var b=this.declaredClass;n.mixin(this.store,{getValue:function(a,g){k.deprecated(b+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");
return a[g]},getLabel:function(a){k.deprecated(b+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return a.name},fetch:function(a){k.deprecated(b+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");require(["dojo/data/ObjectStore"],n.hitch(this,function(b){(new b({objectStore:this})).fetch(a)}))}})}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list")}})})},
"dijit/form/_TextBoxMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom dojo/sniff dojo/keys dojo/_base/lang dojo/on ../main".split(" "),function(f,p,k,n,e,h,q,d){var b=p("dijit.form._TextBoxMixin"+(n("dojo-bidi")?"_NoBidi":""),null,{trim:!1,uppercase:!1,lowercase:!1,propercase:!1,maxLength:"",selectOnClick:!1,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints)},_setValueAttr:function(a,b,l){var g;void 0!==a&&(g=this.filter(a),
"string"!=typeof l&&(l=null!==g&&("number"!=typeof g||!isNaN(g))?this.filter(this.format(g,this.constraints)):"",0!=this.compare(g,this.filter(this.parse(l,this.constraints)))&&(l=null)));if(null!=l&&("number"!=typeof l||!isNaN(l))&&this.textbox.value!=l)this.textbox.value=l,this._set("displayedValue",this.get("displayedValue"));this.inherited(arguments,[g,b])},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value)},_setDisplayedValueAttr:function(a){null==a?a=
"":"string"!=typeof a&&(a=String(a));this.textbox.value=a;this._setValueAttr(this.get("value"),void 0);this._set("displayedValue",this.get("displayedValue"))},format:function(a){return null==a?"":a.toString?a.toString():a},parse:function(a){return a},_refreshState:function(){},onInput:function(){},_onInput:function(a){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||a);delete this._lastInputProducingEvent;this.intermediateChanges&&this._handleOnChange(this.get("value"),
!1)},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"))},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);this.own(q(this.textbox,"keydown, keypress, paste, cut, compositionend",h.hitch(this,function(a){var b;if("keydown"==a.type&&229!=a.keyCode){b=a.keyCode;switch(b){case e.SHIFT:case e.ALT:case e.CTRL:case e.META:case e.CAPS_LOCK:case e.NUM_LOCK:case e.SCROLL_LOCK:return}if(!a.ctrlKey&&!a.metaKey&&
!a.altKey){switch(b){case e.NUMPAD_0:case e.NUMPAD_1:case e.NUMPAD_2:case e.NUMPAD_3:case e.NUMPAD_4:case e.NUMPAD_5:case e.NUMPAD_6:case e.NUMPAD_7:case e.NUMPAD_8:case e.NUMPAD_9:case e.NUMPAD_MULTIPLY:case e.NUMPAD_PLUS:case e.NUMPAD_ENTER:case e.NUMPAD_MINUS:case e.NUMPAD_PERIOD:case e.NUMPAD_DIVIDE:return}if(65<=b&&90>=b||48<=b&&57>=b||b==e.SPACE)return;b=!1;for(var l in e)if(e[l]===a.keyCode){b=!0;break}if(!b)return}}(b=32<=a.charCode?String.fromCharCode(a.charCode):a.charCode)||(b=65<=a.keyCode&&
90>=a.keyCode||48<=a.keyCode&&57>=a.keyCode||a.keyCode==e.SPACE?String.fromCharCode(a.keyCode):a.keyCode);b||(b=229);if("keypress"==a.type){if("string"!=typeof b)return;if("a"<=b&&"z">=b||"A"<=b&&"Z">=b||"0"<=b&&"9">=b||" "===b)if(a.ctrlKey||a.metaKey||a.altKey)return}var g={faux:!0},d;for(d in a)/^(layer[XY]|returnValue|keyLocation)$/.test(d)||(l=a[d],"function"!=typeof l&&"undefined"!=typeof l&&(g[d]=l));h.mixin(g,{charOrCode:b,_wasConsumed:!1,preventDefault:function(){g._wasConsumed=!0;a.preventDefault()},
stopPropagation:function(){a.stopPropagation()}});this._lastInputProducingEvent=g;!1===this.onInput(g)&&(g.preventDefault(),g.stopPropagation());if(!g._wasConsumed&&9>=n("ie"))switch(a.keyCode){case e.TAB:case e.ESCAPE:case e.DOWN_ARROW:case e.UP_ARROW:case e.LEFT_ARROW:case e.RIGHT_ARROW:break;default:if(a.keyCode==e.ENTER&&"textarea"!=this.textbox.tagName.toLowerCase())break;this.defer(function(){this.textbox.value!==this._lastInputEventValue&&q.emit(this.textbox,"input",{bubbles:!0})})}})),q(this.textbox,
"input",h.hitch(this,"_onInput")),q(this.domNode,"keypress",function(a){a.stopPropagation()}))},_blankValue:"",filter:function(a){if(null===a)return this._blankValue;if("string"!=typeof a)return a;this.trim&&(a=h.trim(a));this.uppercase&&(a=a.toUpperCase());this.lowercase&&(a=a.toLowerCase());this.propercase&&(a=a.replace(/[^\s]+/g,function(a){return a.substring(0,1).toUpperCase()+a.substring(1)}));return a},_setBlurValue:function(){this._setValueAttr(this.get("value"),!0)},_onBlur:function(a){this.disabled||
(this._setBlurValue(),this.inherited(arguments))},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd},_onFocus:function(a){!this.disabled&&!this.readOnly&&(this.selectOnClick&&"mouse"==a&&(this._selectOnClickHandle=q.once(this.domNode,"mouseup, touchend",h.hitch(this,function(a){this._isTextSelected()||b.selectInputText(this.textbox)})),this.own(this._selectOnClickHandle),this.defer(function(){this._selectOnClickHandle&&(this._selectOnClickHandle.remove(),this._selectOnClickHandle=
null)},500)),this.inherited(arguments),this._refreshState())},reset:function(){this.textbox.value="";this.inherited(arguments)}});n("dojo-bidi")&&(b=p("dijit.form._TextBoxMixin",b,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode)},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode)},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments)}}));b._setSelectionRange=d._setSelectionRange=function(a,b,
l){a.setSelectionRange&&a.setSelectionRange(b,l)};b.selectInputText=d.selectInputText=function(a,c,l){a=k.byId(a);isNaN(c)&&(c=0);isNaN(l)&&(l=a.value?a.value.length:0);try{a.focus(),b._setSelectionRange(a,c,l)}catch(g){}};return b})},"dojo/Evented":function(){define(["./aspect","./on"],function(f,p){function k(){}var n=f.after;k.prototype={on:function(e,h){return p.parse(this,e,h,function(e,d){return n(e,"on"+d,h,!0)})},emit:function(e,h){var q=[this];q.push.apply(q,arguments);return p.emit.apply(p,
q)}};return k})},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(f,p,k,n){return f("dijit.form.SimpleTextarea",n,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"\x3ctextarea ${!nameAttrSetting} data-dojo-attach-point\x3d'focusNode,containerNode,textbox' autocomplete\x3d'off'\x3e\x3c/textarea\x3e",postMixInProperties:function(){!this.value&&this.srcNodeRef&&(this.value=this.srcNodeRef.value);this.inherited(arguments)},
buildRendering:function(){this.inherited(arguments);k("ie")&&this.cols&&p.add(this.textbox,"dijitTextAreaCols")},filter:function(e){e&&(e=e.replace(/\r/g,""));return this.inherited(arguments)},_onInput:function(e){if(this.maxLength){var h=parseInt(this.maxLength),q=this.textbox.value.replace(/\r/g,""),h=q.length-h;if(0<h){var d=this.textbox;if(d.selectionStart){var b=d.selectionStart,a=0;k("opera")&&(a=(this.textbox.value.substring(0,b).match(/\r/g)||[]).length);this.textbox.value=q.substring(0,b-
h-a)+q.substring(b-a);d.setSelectionRange(b-h,b-h)}else this.ownerDocument.selection&&(d.focus(),q=this.ownerDocument.selection.createRange(),q.moveStart("character",-h),q.text="",q.select())}}this.inherited(arguments)}})})},"dijit/_base/window":function(){define(["dojo/window","../main"],function(f,p){p.getDocumentWindow=function(k){return f.get(k)}})},"dijit/PopupMenuItem":function(){define("dojo/_base/declare dojo/dom-style dojo/_base/lang dojo/query ./popup ./registry ./MenuItem ./hccss".split(" "),
function(f,p,k,n,e,h,q){return f("dijit.PopupMenuItem",q,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var d=n("*",this.srcNodeRef);this.inherited(arguments,[d[0]]);this.dropDownContainer=this.srcNodeRef}},_openPopup:function(d,b){var a=this.popup;e.open(k.delegate(d,{popup:this.popup,around:this.domNode}));b&&a.focus&&a.focus()},_closePopup:function(){e.close(this.popup);this.popup.parentMenu=null},startup:function(){if(!this._started){this.inherited(arguments);
if(!this.popup){var d=n("[widgetId]",this.dropDownContainer)[0];this.popup=h.byNode(d)}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";this.arrowWrapper&&p.set(this.arrowWrapper,"visibility","");this.focusNode.setAttribute("aria-haspopup","true")}},destroyDescendants:function(d){this.popup&&(this.popup._destroyed||this.popup.destroyRecursive(d),delete this.popup);
this.inherited(arguments)}})})},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(f,p,k,n){function e(a,b,c){var d="";a&&a.stack&&(d+=a.stack);b&&b.stack&&(d+="\n ----------------------------------------\n rejected"+b.stack.split("\n").slice(1).join("\n").replace(/^\s+/," "));c&&c.stack&&(d+="\n ----------------------------------------\n"+c.stack);console.error(a,d)}function h(a,b,c,d){b||e(a,c,d)}function q(l,g,e,r){n.some(b,
function(a){if(a.error===l)return g&&(a.handled=!0),!0})||b.push({error:l,rejection:e,handled:g,deferred:r,timestamp:(new Date).getTime()});a||(a=setTimeout(d,c))}function d(){var l=(new Date).getTime(),g=l-c;b=n.filter(b,function(a){return a.timestamp<g?(a.handled||e(a.error,a.rejection,a.deferred),!1):!0});a=b.length?setTimeout(d,b[0].timestamp+c-l):!1}p.add("config-useDeferredInstrumentation","report-unhandled-rejections");var b=[],a=!1,c=1E3;return function(a){var b=p("config-useDeferredInstrumentation");
if(b){f.on("resolved",k.hitch(console,"log","resolved"));f.on("rejected",k.hitch(console,"log","rejected"));f.on("progress",k.hitch(console,"log","progress"));var d=[];"string"===typeof b&&(d=b.split(","),b=d.shift());if("report-rejections"===b)a.instrumentRejected=h;else if("report-unhandled-rejections"===b||!0===b||1===b)a.instrumentRejected=q,c=parseInt(d[0],10)||c;else throw Error("Unsupported instrumentation usage \x3c"+b+"\x3e");}}})},"dojo/hccss":function(){define("require ./_base/config ./dom-class ./dom-style ./has ./domReady ./_base/window".split(" "),
function(f,p,k,n,e,h,q){e.add("highcontrast",function(){var d=q.doc.createElement("div");try{d.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+(p.blankGif||f.toUrl("./resources/blank.gif"))+'");';q.body().appendChild(d);var b=n.getComputedStyle(d),a=b.backgroundImage;return b.borderTopColor==b.borderRightColor||a&&("none"==a||"url(invalid-url:)"==a)}catch(c){return!1}finally{8>=e("ie")?d.outerHTML="":q.body().removeChild(d)}});
h(function(){e("highcontrast")&&k.add(q.body(),"dj_a11y")});return e})},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(f,p,k){return f("dijit.form.RadioButton",[p,k],{baseClass:"dijitRadio"})})},"dojo/aspect":function(){define([],function(){function f(e,d,b,a){var c=e[d],l="around"==d,g;if(l){var s=b(function(){return c.advice(this,arguments)});g={remove:function(){s&&(s=e=b=null)},advice:function(a,b){return s?s.apply(a,b):c.advice(a,
b)}}}else g={remove:function(){if(g.advice){var a=g.previous,c=g.next;!c&&!a?delete e[d]:(a?a.next=c:e[d]=c,c&&(c.previous=a));e=b=g.advice=null}},id:e.nextId++,advice:b,receiveArguments:a};if(c&&!l)if("after"==d){for(;c.next&&(c=c.next););c.next=g;g.previous=c}else"before"==d&&(e[d]=g,g.next=c,c.previous=g);else e[d]=g;return g}function p(e){return function(d,b,a,c){var l=d[b],g;if(!l||l.target!=d)d[b]=g=function(){for(var a=g.nextId,b=arguments,c=g.before;c;)c.advice&&(b=c.advice.apply(this,b)||
b),c=c.next;if(g.around)var l=g.around.advice(this,b);for(c=g.after;c&&c.id<a;){if(c.advice)if(c.receiveArguments)var d=c.advice.apply(this,b),l=d===k?l:d;else l=c.advice.call(this,l,b);c=c.next}return l},l&&(g.around={advice:function(a,b){return l.apply(a,b)}}),g.target=d,g.nextId=g.nextId||0;d=f(g||l,e,a,c);a=null;return d}}var k,n=p("after"),e=p("before"),h=p("around");return{before:e,around:h,after:n}})},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(f,p,k){var n=
{global:f.global,doc:f.global.document||null,body:function(e){e=e||f.doc;return e.body||e.getElementsByTagName("body")[0]},setContext:function(e,h){f.global=n.global=e;f.doc=n.doc=h},withGlobal:function(e,h,q,d){var b=f.global;try{return f.global=n.global=e,n.withDoc.call(null,e.document,h,q,d)}finally{f.global=n.global=b}},withDoc:function(e,h,q,d){var b=n.doc,a=k("quirks"),c=k("ie"),l,g,s;try{f.doc=n.doc=e;f.isQuirks=k.add("quirks","BackCompat"==f.doc.compatMode,!0,!0);if(k("ie")&&(s=e.parentWindow)&&
s.navigator)l=parseFloat(s.navigator.appVersion.split("MSIE ")[1])||void 0,(g=e.documentMode)&&(5!=g&&Math.floor(l)!=g)&&(l=g),f.isIE=k.add("ie",l,!0,!0);q&&"string"==typeof h&&(h=q[h]);return h.apply(q,d||[])}finally{f.doc=n.doc=b,f.isQuirks=k.add("quirks",a,!0,!0),f.isIE=k.add("ie",c,!0,!0)}}};p.mixin(f,n);return n})},"dijit/main":function(){define(["dojo/_base/kernel"],function(f){return f.dijit})},"dojo/NodeList-dom":function(){define("./_base/kernel ./query ./_base/array ./_base/lang ./dom-class ./dom-construct ./dom-geometry ./dom-attr ./dom-style".split(" "),
function(f,p,k,n,e,h,q,d,b){function a(a){return function(b,c,g){return 2==arguments.length?a["string"==typeof c?"get":"set"](b,c):a.set(b,c,g)}}var c=function(a){return 1==a.length&&"string"==typeof a[0]},l=function(a){var b=a.parentNode;b&&b.removeChild(a)},g=p.NodeList,s=g._adaptWithCondition,r=g._adaptAsForEach,m=g._adaptAsMap;n.extend(g,{_normalize:function(a,b){var c=!0===a.parse;if("string"==typeof a.template){var g=a.templateFunc||f.string&&f.string.substitute;a=g?g(a.template,a):a}g=typeof a;
"string"==g||"number"==g?(a=h.toDom(a,b&&b.ownerDocument),a=11==a.nodeType?n._toArray(a.childNodes):[a]):n.isArrayLike(a)?n.isArray(a)||(a=n._toArray(a)):a=[a];c&&(a._runParse=!0);return a},_cloneNode:function(a){return a.cloneNode(!0)},_place:function(a,b,c,g){if(!(1!=b.nodeType&&"only"==c))for(var l,d=a.length,e=d-1;0<=e;e--){var m=g?this._cloneNode(a[e]):a[e];if(a._runParse&&f.parser&&f.parser.parse){l||(l=b.ownerDocument.createElement("div"));l.appendChild(m);f.parser.parse(l);for(m=l.firstChild;l.firstChild;)l.removeChild(l.firstChild)}e==
d-1?h.place(m,b,c):b.parentNode.insertBefore(m,b);b=m}},position:m(q.position),attr:s(a(d),c),style:s(a(b),c),addClass:r(e.add),removeClass:r(e.remove),toggleClass:r(e.toggle),replaceClass:r(e.replace),empty:r(h.empty),removeAttr:r(d.remove),marginBox:m(q.getMarginBox),place:function(a,b){var c=p(a)[0];return this.forEach(function(a){h.place(a,c,b)})},orphan:function(a){return(a?p._filterResult(this,a):this).forEach(l)},adopt:function(a,b){return p(a).place(this[0],b)._stash(this)},query:function(a){if(!a)return this;
var b=new g;this.map(function(c){p(a,c).forEach(function(a){void 0!==a&&b.push(a)})});return b._stash(this)},filter:function(a){var b=arguments,c=this,g=0;if("string"==typeof a){c=p._filterResult(this,b[0]);if(1==b.length)return c._stash(this);g=1}return this._wrap(k.filter(c,b[g],b[g+1]),this)},addContent:function(a,b){a=this._normalize(a,this[0]);for(var c=0,g;g=this[c];c++)a.length?this._place(a,g,b,0<c):h.empty(g);return this}});return g})},"dojo/_base/event":function(){define(["./kernel","../on",
"../has","../dom-geometry"],function(f,p,k,n){if(p._fixEvent){var e=p._fixEvent;p._fixEvent=function(h,d){(h=e(h,d))&&n.normalizeEvent(h);return h}}var h={fix:function(e,d){return p._fixEvent?p._fixEvent(e,d):e},stop:function(e){k("dom-addeventlistener")||e&&e.preventDefault?(e.preventDefault(),e.stopPropagation()):(e=e||window.event,e.cancelBubble=!0,p._preventDefault.call(e))}};f.fixEvent=h.fix;f.stopEvent=h.stop;return h})},"dstore/SimpleQuery":function(){define(["dojo/_base/declare","dojo/_base/array"],
function(f,p){function k(e,h){if(-1<e.indexOf(".")){var f=e.split("."),d=f.length;return function(b){for(var a=0;a<d;a++)b=b&&(h&&b.get?b.get(f[a]):b[f[a]]);return b}}return function(b){return b.get?b.get(e):b[e]}}var n={eq:function(e,h){return e===h},"in":function(e,h){return-1<p.indexOf(h.data||h,e)},ne:function(e,h){return e!==h},lt:function(e,h){return e<h},lte:function(e,h){return e<=h},gt:function(e,h){return e>h},gte:function(e,h){return e>=h},match:function(e,h,f){return h.test(e,f)},contains:function(e,
h,f,d){var b=this;return p.every(h.data||h,function(a){if("object"===typeof a&&a.type){var c=b._getFilterComparator(a.type);return p.some(e,function(l){return c.call(b,l,a.args[1],f,d)})}return-1<p.indexOf(e,a)})}};return f(null,{_createFilterQuerier:function(e){function h(a){var c=a.type;a=a.args;var l=d._getFilterComparator(c);if(l){var g=a[0],e=k(g,f),r=a[1];r&&r.fetchSync&&(r=r.fetchSync());return function(a){return l.call(d,e(a),r,a,g)}}switch(c){case "and":case "or":for(var m=0,t=a.length;m<
t;m++){var n=h(a[m]);b=b?function(a,b){return"and"===c?function(c){return a(c)&&b(c)}:function(c){return a(c)||b(c)}}(b,n):n}return b;case "function":return a[0];case "string":m=d[a[0]];if(!m)throw Error("No filter function "+a[0]+" was found in the collection");return m;case void 0:return function(){return!0};default:throw Error('Unknown filter operation "'+c+'"');}}var f=this.queryAccessors,d=this,b=h(e);return function(a){return p.filter(a,b)}},_getFilterComparator:function(e){return n[e]||this.inherited(arguments)},
_createSelectQuerier:function(e){return function(h){var f=e.length;return p.map(h,e instanceof Array?function(d){for(var b={},a=0;a<f;a++){var c=e[a];b[c]=d[c]}return b}:function(d){return d[e]})}},_createSortQuerier:function(e){var h=this.queryAccessors;return function(f){f=f.slice();f.sort("function"==typeof e?e:function(d,b){for(var a=0;a<e.length;a++){var c,l=e[a];if("function"==typeof l)c=l(d,b);else{c=l.get||(l.get=k(l.property,h));var l=l.descending,g=c(d);c=c(b);null!=g&&(g=g.valueOf());null!=
c&&(c=c.valueOf());c=g===c?0:!!l===(null===g||g>c&&null!==c)?-1:1}if(0!==c)return c}return 0});return f}}})})},"dojo/errors/create":function(){define(["../_base/lang"],function(f){return function(p,k,n,e){n=n||Error;var h=function(e){if(n===Error){Error.captureStackTrace&&Error.captureStackTrace(this,h);var d=Error.call(this,e),b;for(b in d)d.hasOwnProperty(b)&&(this[b]=d[b]);this.message=e;this.stack=d.stack}else n.apply(this,arguments);k&&k.apply(this,arguments)};h.prototype=f.delegate(n.prototype,
e);h.prototype.name=p;return h.prototype.constructor=h}})},"dstore/Promised":function(){define(["dojo/_base/declare","dojo/Deferred","./QueryResults","dojo/when"],function(f,p,k,n){function e(e,f){return function(){var d=new p;try{d.resolve(this[e].apply(this,arguments))}catch(b){d.reject(b)}return f?(d=new k(d.promise),d.totalLength=n(d.totalLength),d):d.promise}}return f(null,{get:e("getSync"),put:e("putSync"),add:e("addSync"),remove:e("removeSync"),fetch:e("fetchSync",!0),fetchRange:e("fetchRangeSync",
!0)})})},"dijit/_OnDijitClickMixin":function(){define("dojo/on dojo/_base/array dojo/keys dojo/_base/declare dojo/has ./a11yclick".split(" "),function(f,p,k,n,e,h){f=n("dijit._OnDijitClickMixin",null,{connect:function(e,d,b){return this.inherited(arguments,[e,"ondijitclick"==d?h:d,b])}});f.a11yclick=h;return f})},"dojo/dnd/autoscroll":function(){define("../_base/lang ../sniff ../_base/window ../dom-geometry ../dom-style ../window".split(" "),function(f,p,k,n,e,h){var q={};f.setObject("dojo.dnd.autoscroll",
q);q.getViewport=h.getBox;q.V_TRIGGER_AUTOSCROLL=32;q.H_TRIGGER_AUTOSCROLL=32;q.V_AUTOSCROLL_VALUE=16;q.H_AUTOSCROLL_VALUE=16;var d,b=k.doc,a=Infinity,c=Infinity;q.autoScrollStart=function(l){b=l;d=h.getBox(b);l=k.body(b).parentNode;a=Math.max(l.scrollHeight-d.h,0);c=Math.max(l.scrollWidth-d.w,0)};q.autoScroll=function(l){var g=d||h.getBox(b),e=k.body(b).parentNode,r=0,m=0;l.clientX<q.H_TRIGGER_AUTOSCROLL?r=-q.H_AUTOSCROLL_VALUE:l.clientX>g.w-q.H_TRIGGER_AUTOSCROLL&&(r=Math.min(q.H_AUTOSCROLL_VALUE,
c-e.scrollLeft));l.clientY<q.V_TRIGGER_AUTOSCROLL?m=-q.V_AUTOSCROLL_VALUE:l.clientY>g.h-q.V_TRIGGER_AUTOSCROLL&&(m=Math.min(q.V_AUTOSCROLL_VALUE,a-e.scrollTop));window.scrollBy(r,m)};q._validNodes={div:1,p:1,td:1};q._validOverflow={auto:1,scroll:1};q.autoScrollNodes=function(a){for(var b,c,d,m,h,f,u=0,v=0,x=a.target;x;){if(1==x.nodeType&&x.tagName.toLowerCase()in q._validNodes){d=e.getComputedStyle(x);m=d.overflow.toLowerCase()in q._validOverflow;h=d.overflowX.toLowerCase()in q._validOverflow;f=d.overflowY.toLowerCase()in
q._validOverflow;if(m||h||f)b=n.getContentBox(x,d),c=n.position(x,!0);if(m||h){d=Math.min(q.H_TRIGGER_AUTOSCROLL,b.w/2);h=a.pageX-c.x;if(p("webkit")||p("opera"))h+=k.body().scrollLeft;u=0;0<h&&h<b.w&&(h<d?u=-d:h>b.w-d&&(u=d),x.scrollLeft+=u)}if(m||f){m=Math.min(q.V_TRIGGER_AUTOSCROLL,b.h/2);f=a.pageY-c.y;if(p("webkit")||p("opera"))f+=k.body().scrollTop;v=0;0<f&&f<b.h&&(f<m?v=-m:f>b.h-m&&(v=m),x.scrollTop+=v)}if(u||v)return}try{x=x.parentNode}catch(z){x=null}}q.autoScroll(a)};return q})},"dijit/form/_RadioButtonMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/_base/lang dojo/query!css2 ../registry".split(" "),
function(f,p,k,n,e,h){return p("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var f=[];e("input[type\x3dradio]",this.focusNode.form||this.ownerDocument).forEach(n.hitch(this,function(d){d.name==this.name&&d.form==this.focusNode.form&&(d=h.getEnclosingWidget(d))&&f.push(d)}));return f},_setCheckedAttr:function(e){this.inherited(arguments);this._created&&e&&f.forEach(this._getRelatedWidgets(),n.hitch(this,function(d){d!=this&&d.checked&&d.set("checked",!1)}))},_getSubmitValue:function(e){return null==
e?"on":e},_onClick:function(e){if(this.checked||this.disabled)return e.stopPropagation(),e.preventDefault(),!1;if(this.readOnly)return e.stopPropagation(),e.preventDefault(),f.forEach(this._getRelatedWidgets(),n.hitch(this,function(a){k.set(this.focusNode||this.domNode,"checked",a.checked)})),!1;var d=!1,b;f.some(this._getRelatedWidgets(),function(a){return a.checked?(b=a,!0):!1});this.checked=!0;b&&(b.checked=!1);if(!1===this.onClick(e)||e.defaultPrevented)d=!0;this.checked=!1;b&&(b.checked=!0);
d?e.preventDefault():this.set("checked",!0);return!d}})})},"dojo/data/ItemFileWriteStore":function(){define("../_base/lang ../_base/declare ../_base/array ../_base/json ../_base/kernel ./ItemFileReadStore ../date/stamp".split(" "),function(f,p,k,n,e,h,q){return p("dojo.data.ItemFileWriteStore",h,{constructor:function(d){this._features["dojo.data.api.Write"]=!0;this._features["dojo.data.api.Notification"]=!0;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};this._datatypeMap.Date.serialize||
(this._datatypeMap.Date.serialize=function(b){return q.toISOString(b,{zulu:!0})});d&&!1===d.referenceIntegrity&&(this.referenceIntegrity=!1);this._saveInProgress=!1},referenceIntegrity:!0,_assert:function(d){if(!d)throw Error("assertion failed in ItemFileWriteStore");},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"]},newItem:function(d,b){this._assert(!this._saveInProgress);this._loadFinished||this._forceLoad();if("object"!=typeof d&&"undefined"!=typeof d)throw Error("newItem() was passed something other than an object");
var a=null,c=this._getIdentifierAttribute();if(c===Number)a=this._arrayOfAllItems.length;else{a=d[c];if("undefined"===typeof a)throw Error("newItem() was not passed an identity for the new item");if(f.isArray(a))throw Error("newItem() was not passed an single-valued identity");}this._itemsByIdentity&&this._assert("undefined"===typeof this._itemsByIdentity[a]);this._assert("undefined"===typeof this._pending._newItems[a]);this._assert("undefined"===typeof this._pending._deletedItems[a]);var l={};l[this._storeRefPropName]=
this;l[this._itemNumPropName]=this._arrayOfAllItems.length;this._itemsByIdentity&&(this._itemsByIdentity[a]=l,l[c]=[a]);this._arrayOfAllItems.push(l);c=null;if(b&&b.parent&&b.attribute){var c={item:b.parent,attribute:b.attribute,oldValue:void 0},g=this.getValues(b.parent,b.attribute);if(g&&0<g.length){var e=g.slice(0,g.length);c.oldValue=1===g.length?g[0]:g.slice(0,g.length);e.push(l);this._setValueOrValues(b.parent,b.attribute,e,!1);c.newValue=this.getValues(b.parent,b.attribute)}else this._setValueOrValues(b.parent,
b.attribute,l,!1),c.newValue=l}else l[this._rootItemPropName]=!0,this._arrayOfTopLevelItems.push(l);this._pending._newItems[a]=l;for(var r in d){if(r===this._storeRefPropName||r===this._itemNumPropName)throw Error("encountered bug in ItemFileWriteStore.newItem");a=d[r];f.isArray(a)||(a=[a]);l[r]=a;if(this.referenceIntegrity)for(g=0;g<a.length;g++)e=a[g],this.isItem(e)&&this._addReferenceToMap(e,l,r)}this.onNew(l,c);return l},_removeArrayElement:function(d,b){var a=k.indexOf(d,b);return-1!=a?(d.splice(a,
1),!0):!1},deleteItem:function(d){this._assert(!this._saveInProgress);this._assertIsItem(d);var b=d[this._itemNumPropName],a=this.getIdentity(d);if(this.referenceIntegrity){var c=this.getAttributes(d);d[this._reverseRefMap]&&(d["backup_"+this._reverseRefMap]=f.clone(d[this._reverseRefMap]));k.forEach(c,function(a){k.forEach(this.getValues(d,a),function(b){this.isItem(b)&&(d["backupRefs_"+this._reverseRefMap]||(d["backupRefs_"+this._reverseRefMap]=[]),d["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(b),
attr:a}),this._removeReferenceFromMap(b,d,a))},this)},this);if(c=d[this._reverseRefMap])for(var l in c){var g=null;if(g=this._itemsByIdentity?this._itemsByIdentity[l]:this._arrayOfAllItems[l])for(var e in c[l]){var r=this.getValues(g,e)||[],m=k.filter(r,function(b){return!(this.isItem(b)&&this.getIdentity(b)==a)},this);this._removeReferenceFromMap(d,g,e);m.length<r.length&&this._setValueOrValues(g,e,m,!0)}}}this._arrayOfAllItems[b]=null;d[this._storeRefPropName]=null;this._itemsByIdentity&&delete this._itemsByIdentity[a];
this._pending._deletedItems[a]=d;d[this._rootItemPropName]&&this._removeArrayElement(this._arrayOfTopLevelItems,d);this.onDelete(d);return!0},setValue:function(d,b,a){return this._setValueOrValues(d,b,a,!0)},setValues:function(d,b,a){return this._setValueOrValues(d,b,a,!0)},unsetAttribute:function(d,b){return this._setValueOrValues(d,b,[],!0)},_setValueOrValues:function(d,b,a,c){this._assert(!this._saveInProgress);this._assertIsItem(d);this._assert(f.isString(b));this._assert("undefined"!==typeof a);
var l=this._getIdentifierAttribute();if(b==l)throw Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");var l=this._getValueOrValues(d,b),g=this.getIdentity(d);if(!this._pending._modifiedItems[g]){var e={},r;for(r in d)e[r]=r===this._storeRefPropName||r===this._itemNumPropName||r===this._rootItemPropName?d[r]:r===this._reverseRefMap?f.clone(d[r]):d[r].slice(0,d[r].length);this._pending._modifiedItems[g]=e}g=!1;if(f.isArray(a)&&0===a.length){if(g=delete d[b],
a=void 0,this.referenceIntegrity&&l){r=l;f.isArray(r)||(r=[r]);for(var m=0;m<r.length;m++)e=r[m],this.isItem(e)&&this._removeReferenceFromMap(e,d,b)}}else{g=f.isArray(a)?a.slice(0,a.length):[a];if(this.referenceIntegrity)if(l){r=l;f.isArray(r)||(r=[r]);var h={};k.forEach(r,function(a){this.isItem(a)&&(a=this.getIdentity(a),h[a.toString()]=!0)},this);k.forEach(g,function(a){if(this.isItem(a)){var c=this.getIdentity(a);h[c.toString()]?delete h[c.toString()]:this._addReferenceToMap(a,d,b)}},this);for(m in h)this._removeReferenceFromMap(this._itemsByIdentity?
this._itemsByIdentity[m]:this._arrayOfAllItems[m],d,b)}else for(m=0;m<g.length;m++)e=g[m],this.isItem(e)&&this._addReferenceToMap(e,d,b);d[b]=g;g=!0}if(c)this.onSet(d,b,l,a);return g},_addReferenceToMap:function(d,b,a){b=this.getIdentity(b);var c=d[this._reverseRefMap];c||(c=d[this._reverseRefMap]={});(d=c[b])||(d=c[b]={});d[a]=!0},_removeReferenceFromMap:function(d,b,a){b=this.getIdentity(b);var c=d[this._reverseRefMap],l;if(c){for(l in c)l==b&&(delete c[l][a],this._isEmpty(c[l])&&delete c[l]);this._isEmpty(c)&&
delete d[this._reverseRefMap]}},_dumpReferenceMap:function(){var d;for(d=0;d<this._arrayOfAllItems.length;d++);},_getValueOrValues:function(d,b){var a=void 0;this.hasAttribute(d,b)&&(a=this.getValues(d,b),a=1==a.length?a[0]:a);return a},_flatten:function(d){if(this.isItem(d))return{_reference:this.getIdentity(d)};if("object"===typeof d)for(var b in this._datatypeMap){var a=this._datatypeMap[b];if(f.isObject(a)&&!f.isFunction(a)){if(d instanceof a.type){if(!a.serialize)throw Error("ItemFileWriteStore: No serializer defined for type mapping: ["+
b+"]");return{_type:b,_value:a.serialize(d)}}}else if(d instanceof a)return{_type:b,_value:d.toString()}}return d},_getNewFileContentString:function(){var d={},b=this._getIdentifierAttribute();b!==Number&&(d.identifier=b);this._labelAttr&&(d.label=this._labelAttr);d.items=[];for(b=0;b<this._arrayOfAllItems.length;++b){var a=this._arrayOfAllItems[b];if(null!==a){var c={},l;for(l in a)if(l!==this._storeRefPropName&&l!==this._itemNumPropName&&l!==this._reverseRefMap&&l!==this._rootItemPropName){var g=
this.getValues(a,l);if(1==g.length)c[l]=this._flatten(g[0]);else for(var e=[],r=0;r<g.length;++r)e.push(this._flatten(g[r])),c[l]=e}d.items.push(c)}}return n.toJson(d,!0)},_isEmpty:function(d){var b=!0;if(f.isObject(d))for(var a in d){b=!1;break}else f.isArray(d)&&0<d.length&&(b=!1);return b},save:function(d){this._assert(!this._saveInProgress);this._saveInProgress=!0;var b=this,a=function(){b._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};b._saveInProgress=!1;d&&d.onComplete&&d.onComplete.call(d.scope||
e.global)},c=function(a){b._saveInProgress=!1;d&&d.onError&&d.onError.call(d.scope||e.global,a)};if(this._saveEverything){var l=this._getNewFileContentString();this._saveEverything(a,c,l)}this._saveCustom&&this._saveCustom(a,c);!this._saveEverything&&!this._saveCustom&&a()},revert:function(){this._assert(!this._saveInProgress);for(var d in this._pending._modifiedItems){var b=this._pending._modifiedItems[d],a=null,a=this._itemsByIdentity?this._itemsByIdentity[d]:this._arrayOfAllItems[d];b[this._storeRefPropName]=
this;for(var c in a)delete a[c];f.mixin(a,b)}var l;for(d in this._pending._deletedItems)l=this._pending._deletedItems[d],l[this._storeRefPropName]=this,b=l[this._itemNumPropName],l["backup_"+this._reverseRefMap]&&(l[this._reverseRefMap]=l["backup_"+this._reverseRefMap],delete l["backup_"+this._reverseRefMap]),this._arrayOfAllItems[b]=l,this._itemsByIdentity&&(this._itemsByIdentity[d]=l),l[this._rootItemPropName]&&this._arrayOfTopLevelItems.push(l);for(d in this._pending._deletedItems)l=this._pending._deletedItems[d],
l["backupRefs_"+this._reverseRefMap]&&(k.forEach(l["backupRefs_"+this._reverseRefMap],function(a){this._addReferenceToMap(this._itemsByIdentity?this._itemsByIdentity[a.id]:this._arrayOfAllItems[a.id],l,a.attr)},this),delete l["backupRefs_"+this._reverseRefMap]);for(d in this._pending._newItems)b=this._pending._newItems[d],b[this._storeRefPropName]=null,this._arrayOfAllItems[b[this._itemNumPropName]]=null,b[this._rootItemPropName]&&this._removeArrayElement(this._arrayOfTopLevelItems,b),this._itemsByIdentity&&
delete this._itemsByIdentity[d];this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return!0},isDirty:function(d){return d?(d=this.getIdentity(d),(new Boolean(this._pending._newItems[d]||this._pending._modifiedItems[d]||this._pending._deletedItems[d])).valueOf()):!this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems)},onSet:function(d,b,a,c){},onNew:function(d,b){},onDelete:function(d){},close:function(d){if(this.clearOnClose){if(this.isDirty())throw Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store. Please save or revert the changes before invoking close.");
this.inherited(arguments)}}})})},"dojo/store/Observable":function(){define(["../_base/kernel","../_base/lang","../when","../_base/array"],function(f,p,k,n){f=function(e){function h(b,l){var g=e[b];g&&(e[b]=function(d){var r;"put"===b&&(r=e.getIdentity(d));if(a)return g.apply(this,arguments);a=!0;try{var m=g.apply(this,arguments);k(m,function(a){l("object"==typeof a&&a||d,r)});return m}finally{a=!1}})}var f=[],d=0;e=p.delegate(e);e.notify=function(a,b){d++;for(var g=f.slice(),e=0,r=g.length;e<r;e++)g[e](a,
b)};var b=e.query;e.query=function(a,l){l=l||{};var g=b.apply(this,arguments);if(g&&g.forEach){var h=p.mixin({},l);delete h.start;delete h.count;var r=e.queryEngine&&e.queryEngine(a,h),m=d,t=[],w;g.observe=function(a,b){1==t.push(a)&&f.push(w=function(a,c){k(g,function(g){var h=g.length!=l.count,s,f;if(++m!=d)throw Error("Query is out of date, you must observe() the query prior to any data modifications");var q,k=-1,u=-1;if(void 0!==c){var w=[].concat(g);r&&!a&&(w=r(g));s=0;for(f=g.length;s<f;s++){var p=
g[s];if(e.getIdentity(p)==c&&!(0>w.indexOf(p))){q=p;k=s;(r||!a)&&g.splice(s,1);break}}}if(r){if(a&&(r.matches?r.matches(a):r([a]).length))s=-1<k?k:g.length,g.splice(s,0,a),u=n.indexOf(r(g),a),g.splice(s,1),l.start&&0==u||!h&&u==g.length?u=-1:g.splice(u,0,a)}else a&&(void 0!==c?u=k:l.start||(u=e.defaultIndex||0,g.splice(u,0,a)));if((-1<k||-1<u)&&(b||!r||k!=u)){h=t.slice();for(s=0;g=h[s];s++)g(a||q,k,u)}})});var c={};c.remove=c.cancel=function(){var b=n.indexOf(t,a);-1<b&&(t.splice(b,1),t.length||f.splice(n.indexOf(f,
w),1))};return c}}return g};var a;h("put",function(a,b){e.notify(a,b)});h("add",function(a){e.notify(a)});h("remove",function(a){e.notify(void 0,a)});return e};p.setObject("dojo.store.Observable",f);return f})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(f,p,k){function n(b){if("string"==typeof b||b instanceof String){if(b&&!h.test(b))return q[0]=b,q;b=b.split(h);b.length&&!b[0]&&b.shift();b.length&&!b[b.length-1]&&b.pop();return b}return!b?[]:p.filter(b,function(a){return a})}
var e,h=/\s+/,q=[""],d={};return e={contains:function(b,a){return 0<=(" "+k.byId(b).className+" ").indexOf(" "+a+" ")},add:function(b,a){b=k.byId(b);a=n(a);var c=b.className,l,c=c?" "+c+" ":" ";l=c.length;for(var g=0,d=a.length,e;g<d;++g)(e=a[g])&&0>c.indexOf(" "+e+" ")&&(c+=e+" ");l<c.length&&(b.className=c.substr(1,c.length-2))},remove:function(b,a){b=k.byId(b);var c;if(void 0!==a){a=n(a);c=" "+b.className+" ";for(var l=0,g=a.length;l<g;++l)c=c.replace(" "+a[l]+" "," ");c=f.trim(c)}else c="";b.className!=
c&&(b.className=c)},replace:function(b,a,c){b=k.byId(b);d.className=b.className;e.remove(d,c);e.add(d,a);b.className!==d.className&&(b.className=d.className)},toggle:function(b,a,c){b=k.byId(b);if(void 0===c){a=n(a);for(var l=0,g=a.length,d;l<g;++l)d=a[l],e[e.contains(b,d)?"remove":"add"](b,d)}else e[c?"add":"remove"](b,a);return c}}})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(f,p,k){f._name="browser";p.mixin(f,{isBrowser:!0,isFF:k("ff"),isIE:k("ie"),isKhtml:k("khtml"),
isWebKit:k("webkit"),isMozilla:k("mozilla"),isMoz:k("mozilla"),isOpera:k("opera"),isSafari:k("safari"),isChrome:k("chrome"),isMac:k("mac"),isIos:k("ios"),isAndroid:k("android"),isWii:k("wii"),isQuirks:k("quirks"),isAir:k("air")});return k})},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(f,p,k,n){return f("dijit.form._ListMouseMixin",n,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=!0;this._listConnect("click",
"_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut")},_onClick:function(e,h){this._setSelectedAttr(h,!1);this._deferredClick&&this._deferredClick.remove();this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(h)})},_onMouseDown:function(e,h){this._hoveredNode&&(this.onUnhover(this._hoveredNode),this._hoveredNode=null);this._isDragging=!0;
this._setSelectedAttr(h,!1)},_onMouseUp:function(e,h){this._isDragging=!1;var f=this.selected,d=this._hoveredNode;f&&h==f?this.defer(function(){this._onClick(e,f)}):d&&this.defer(function(){this._onClick(e,d)})},_onMouseOut:function(e,h){this._hoveredNode&&(this.onUnhover(this._hoveredNode),this._hoveredNode=null);this._isDragging&&(this._cancelDrag=(new Date).getTime()+1E3)},_onMouseOver:function(e,h){this._cancelDrag&&((new Date).getTime()>this._cancelDrag&&(this._isDragging=!1),this._cancelDrag=
null);this._hoveredNode=h;this.onHover(h);this._isDragging&&this._setSelectedAttr(h,!1)}})})},"cbtree/model/_base/Prologue":function(){define([],function(){return function(f,p){if(p&&p.parent&&!0!==this.hierarchical){var k=this.parentProperty,n=this.getIdentity(f),e=p.parent,h,q=[],d;if(e instanceof Array)for(d=0;d<e.length;d++){if(h=this.getIdentity(e[d]))h!=n&&-1==q.indexOf(h)&&(q?q.push(h):q=[h])}else(h=this.getIdentity(e))?h!=n&&(q=h):q=void 0;f[k]=q}}})},"dojo/has":function(){define(["require",
"module"],function(f,p){var k=f.has||function(){};k.add("dom-addeventlistener",!!document.addEventListener);k.add("touch","ontouchstart"in document||"onpointerdown"in document&&0<navigator.maxTouchPoints||window.navigator.msMaxTouchPoints);k.add("touch-events","ontouchstart"in document);k.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window);k.add("MSPointer",window.navigator.msPointerEnabled);k.add("device-width",screen.availWidth||innerWidth);
var n=document.createElement("form");k.add("dom-attributes-explicit",0==n.attributes.length);k.add("dom-attributes-specified-flag",0<n.attributes.length&&40>n.attributes.length);k.clearElement=function(e){e.innerHTML="";return e};k.normalize=function(e,h){var f=e.match(/[\?:]|[^:\?]*/g),d=0,b=function(a){var c=f[d++];if(":"==c)return 0;if("?"==f[d++]){if(!a&&k(c))return b();b(!0);return b(a)}return c||0};return(e=b())&&h(e)};k.load=function(e,h,f){e?h([e],f):f()};return k})},"dojo/cookie":function(){define(["./_base/kernel",
"./regexp"],function(f,p){f.cookie=function(f,n,e){var h=document.cookie,q;if(1==arguments.length)q=(q=h.match(RegExp("(?:^|; )"+p.escapeString(f)+"\x3d([^;]*)")))?decodeURIComponent(q[1]):void 0;else{e=e||{};h=e.expires;if("number"==typeof h){var d=new Date;d.setTime(d.getTime()+864E5*h);h=e.expires=d}h&&h.toUTCString&&(e.expires=h.toUTCString());n=encodeURIComponent(n);var h=f+"\x3d"+n,b;for(b in e)h+="; "+b,d=e[b],!0!==d&&(h+="\x3d"+d);document.cookie=h}return q};f.cookie.isSupported=function(){"cookieEnabled"in
navigator||(this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled="CookiesAllowed"==this("__djCookieTest__"),navigator.cookieEnabled&&this("__djCookieTest__","",{expires:-1}));return navigator.cookieEnabled};return f.cookie})},"dojo/cache":function(){define(["./_base/kernel","./text"],function(f){return f.cache})},"dijit/ProgressBar":function(){define("require dojo/_base/declare dojo/dom-class dojo/_base/lang dojo/number ./_Widget ./_TemplatedMixin dojo/text!./templates/ProgressBar.html".split(" "),
function(f,p,k,n,e,h,q,d){return p("dijit.ProgressBar",[h,q],{progress:"0",value:"",maximum:100,places:0,indeterminate:!1,label:"",name:"",templateString:d,_indeterminateHighContrastImagePath:f.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);this.params&&"value"in this.params||(this.value=this.indeterminate?Infinity:this.progress)},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());
this.update()},_setDirAttr:function(b){var a="rtl"==b.toLowerCase();k.toggle(this.domNode,"dijitProgressBarRtl",a);k.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&a);this.inherited(arguments)},update:function(b){n.mixin(this,b||{});b=this.internalProgress;var a=this.domNode,c=1;this.indeterminate?a.removeAttribute("aria-valuenow"):(-1!=String(this.progress).indexOf("%")?(c=Math.min(parseFloat(this.progress)/100,1),this.progress=c*this.maximum):(this.progress=Math.min(this.progress,
this.maximum),c=this.maximum?this.progress/this.maximum:0),a.setAttribute("aria-valuenow",this.progress));a.setAttribute("aria-labelledby",this.labelNode.id);a.setAttribute("aria-valuemin",0);a.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(c);k.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);k.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());b.style.width=100*c+"%";this.onChange()},_setValueAttr:function(b){this._set("value",
b);Infinity==b?this.update({indeterminate:!0}):this.update({indeterminate:!1,progress:b})},_setLabelAttr:function(b){this._set("label",b);this.update()},_setIndeterminateAttr:function(b){this._set("indeterminate",b);this.update()},report:function(b){return this.label?this.label:this.indeterminate?"\x26#160;":e.format(b,{type:"percent",places:this.places,locale:this.lang})},onChange:function(){}})})},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],
function(f,p,k){var n=k._createWrapper;k._createWrapper=function(e){e.declaredClass||(e={_popupWrapper:e.parentNode&&f.contains(e.parentNode,"dijitPopup")?e.parentNode:null,domNode:e,destroy:function(){},ownerDocument:e.ownerDocument,ownerDocumentBody:p.body(e.ownerDocument)});return n.call(this,e)};var e=k.open;k.open=function(h){if(h.orient&&"string"!=typeof h.orient&&!("length"in h.orient)){var f=[],d;for(d in h.orient)f.push({aroundCorner:d,corner:h.orient[d]});h.orient=f}return e.call(this,h)};
return k})},"dojo/request/util":function(){define("exports ../errors/RequestError ../errors/CancelError ../Deferred ../io-query ../_base/array ../_base/lang ../promise/Promise".split(" "),function(f,p,k,n,e,h,q,d){function b(a){return c(a)}function a(a){return void 0!==a.data?a.data:a.text}f.deepCopy=function(a,b){for(var c in b){var d=a[c],e=b[c];d!==e&&(d&&"object"===typeof d&&e&&"object"===typeof e?f.deepCopy(d,e):a[c]=e)}return a};f.deepCreate=function(a,b){b=b||{};var c=q.delegate(a),d,e;for(d in a)(e=
a[d])&&"object"===typeof e&&(c[d]=f.deepCreate(e,b[d]));return f.deepCopy(c,b)};var c=Object.freeze||function(a){return a};f.deferred=function(l,g,e,r,m,h){var w=new n(function(a){g&&g(w,l);return!a||!(a instanceof p)&&!(a instanceof k)?new k("Request canceled",l):a});w.response=l;w.isValid=e;w.isReady=r;w.handleResponse=m;e=w.then(b).otherwise(function(a){a.response=l;throw a;});f.notify&&e.then(q.hitch(f.notify,"emit","load"),q.hitch(f.notify,"emit","error"));r=e.then(a);m=new d;for(var u in r)r.hasOwnProperty(u)&&
(m[u]=r[u]);m.response=e;c(m);h&&w.then(function(a){h.call(w,a)},function(a){h.call(w,l,a)});w.promise=m;w.then=m.then;return w};f.addCommonMethods=function(a,b){h.forEach(b||["GET","POST","PUT","DELETE"],function(b){a[("DELETE"===b?"DEL":b).toLowerCase()]=function(c,g){g=q.delegate(g||{});g.method=b;return a(c,g)}})};f.parseArgs=function(a,b,c){var d=b.data,m=b.query;if(d&&!c&&"object"===typeof d&&!(d instanceof ArrayBuffer||d instanceof Blob))b.data=e.objectToQuery(d);m?("object"===typeof m&&(m=
e.objectToQuery(m)),b.preventCache&&(m+=(m?"\x26":"")+"request.preventCache\x3d"+ +new Date)):b.preventCache&&(m="request.preventCache\x3d"+ +new Date);a&&m&&(a+=(~a.indexOf("?")?"\x26":"?")+m);return{url:a,options:b,getHeader:function(a){return null}}};f.checkStatus=function(a){a=a||0;return 200<=a&&300>a||304===a||1223===a||!a}})},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(f,p,k){var n=f.some;return function(e){var h,f;e instanceof Array?f=e:e&&"object"===
typeof e&&(h=e);var d,b=[];if(h){f=[];for(var a in h)Object.hasOwnProperty.call(h,a)&&(b.push(a),f.push(h[a]));d={}}else f&&(d=[]);if(!f||!f.length)return(new p).resolve(d);var c=new p;c.promise.always(function(){d=b=null});var l=f.length;n(f,function(a,e){h||b.push(e);k(a,function(a){c.isFulfilled()||(d[b[e]]=a,0===--l&&c.resolve(d))},c.reject);return c.isFulfilled()});return c.promise}})},"dijit/form/NumberTextBox":function(){define("dojo/_base/declare dojo/_base/lang dojo/i18n dojo/string dojo/number ./RangeBoundTextBox".split(" "),
function(f,p,k,n,e,h){var q=function(b){b=b||{};var a=k.getLocalization("dojo.cldr","number",k.normalizeLocale(b.locale)),c=b.pattern?b.pattern:a[(b.type||"decimal")+"Format"];b="number"==typeof b.places?b.places:"string"===typeof b.places&&0<b.places.length?b.places.replace(/.*,/,""):-1!=c.indexOf(".")?c.split(".")[1].replace(/[^#0]/g,"").length:0;return{sep:a.decimal,places:b}},d=f("dijit.form.NumberTextBoxMixin",null,{pattern:function(b){return"("+(this.focused&&this.editOptions?this._regExpGenerator(p.delegate(b,
this.editOptions))+"|":"")+this._regExpGenerator(b)+")"},value:NaN,editOptions:{pattern:"#.######"},_formatter:e.format,_regExpGenerator:e.regexp,_decimalInfo:q(),postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},_setConstraintsAttr:function(b){var a="number"==typeof b.places?b.places:0;a&&a++;"number"!=typeof b.max&&(b.max=9*Math.pow(10,15-a));"number"!=typeof b.min&&(b.min=-9*Math.pow(10,15-a));this.inherited(arguments,[b]);this.focusNode&&(this.focusNode.value&&
!isNaN(this.value))&&this.set("value",this.value);this._decimalInfo=q(b)},_onFocus:function(){if(!this.disabled&&!this.readOnly){var b=this.get("value");"number"==typeof b&&!isNaN(b)&&(b=this.format(b,this.constraints),void 0!==b&&(this.textbox.value=b));this.inherited(arguments)}},format:function(b,a){var c=String(b);if("number"!=typeof b)return c;if(isNaN(b))return"";if(!("rangeCheck"in this&&this.rangeCheck(b,a))&&!1!==a.exponent&&/\de[-+]?\d/i.test(c))return c;this.editOptions&&this.focused&&
(a=p.mixin({},a,this.editOptions));return this._formatter(b,a)},_parser:e.parse,parse:function(b,a){var c=p.mixin({},a,this.editOptions&&this.focused?this.editOptions:{});if(this.focused&&null!=c.places){var d=c.places,d="number"===typeof d?d:Number(d.split(",").pop());c.places="0,"+d}c=this._parser(b,c);this.editOptions&&(this.focused&&isNaN(c))&&(c=this._parser(b,a));return c},_getDisplayedValueAttr:function(){var b=this.inherited(arguments);return isNaN(b)?this.textbox.value:b},filter:function(b){if(null==
b||"string"==typeof b&&""==b)return NaN;"number"==typeof b&&(!isNaN(b)&&0!=b)&&(b=e.round(b,this._decimalInfo.places));return this.inherited(arguments,[b])},serialize:function(b,a){return"number"!=typeof b||isNaN(b)?"":this.inherited(arguments)},_setBlurValue:function(){var b=p.hitch(p.delegate(this,{focused:!0}),"get")("value");this._setValueAttr(b,!0)},_setValueAttr:function(b,a,c){if(void 0!==b&&void 0===c)if(c=String(b),"number"==typeof b)if(isNaN(b))c="";else{if("rangeCheck"in this&&this.rangeCheck(b,
this.constraints)||!1===this.constraints.exponent||!/\de[-+]?\d/i.test(c))c=void 0}else b?b=void 0:(c="",b=NaN);this.inherited(arguments,[b,a,c])},_getValueAttr:function(){var b=this.inherited(arguments);if(isNaN(b)&&""!==this.textbox.value){if(!1!==this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)&&RegExp("^"+e._realNumberRegexp(p.delegate(this.constraints))+"$").test(this.textbox.value))return b=Number(this.textbox.value),isNaN(b)?void 0:b}else return b},isValid:function(b){if(!this.focused||
this._isEmpty(this.textbox.value))return this.inherited(arguments);var a=this.get("value");return!isNaN(a)&&this.rangeCheck(a,this.constraints)?!1!==this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)?!0:this.inherited(arguments):!1},_isValidSubset:function(){var b="number"==typeof this.constraints.min,a="number"==typeof this.constraints.max,c=this.get("value");if(isNaN(c)||!b&&!a)return this.inherited(arguments);var d=c|0,g=0>c,e=-1!=this.textbox.value.indexOf(this._decimalInfo.sep),
r=(this.maxLength||20)-this.textbox.value.length,m=e?this.textbox.value.split(this._decimalInfo.sep)[1].replace(/[^0-9]/g,""):"",d=e?d+"."+m:d+"",r=n.rep("9",r),e=c;g?e=Number(d+r):c=Number(d+r);return!(b&&c<this.constraints.min||a&&e>this.constraints.max)}});f=f("dijit.form.NumberTextBox",[h,d],{baseClass:"dijitTextBox dijitNumberTextBox"});f.Mixin=d;return f})},"dojo/_base/url":function(){define(["./kernel"],function(f){var p=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,k=/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,
n=function(){for(var e=arguments,h=[e[0]],f=1;f<e.length;f++)if(e[f]){var d=new n(e[f]+""),h=new n(h[0]+"");if(""==d.path&&!d.scheme&&!d.authority&&!d.query)null!=d.fragment&&(h.fragment=d.fragment),d=h;else if(!d.scheme&&(d.scheme=h.scheme,!d.authority&&(d.authority=h.authority,"/"!=d.path.charAt(0)))){for(var h=(h.path.substring(0,h.path.lastIndexOf("/")+1)+d.path).split("/"),b=0;b<h.length;b++)"."==h[b]?b==h.length-1?h[b]="":(h.splice(b,1),b--):0<b&&(!(1==b&&""==h[0])&&".."==h[b]&&".."!=h[b-1])&&
(b==h.length-1?(h.splice(b,1),h[b-1]=""):(h.splice(b-1,2),b-=2));d.path=h.join("/")}h=[];d.scheme&&h.push(d.scheme,":");d.authority&&h.push("//",d.authority);h.push(d.path);d.query&&h.push("?",d.query);d.fragment&&h.push("#",d.fragment)}this.uri=h.join("");e=this.uri.match(p);this.scheme=e[2]||(e[1]?"":null);this.authority=e[4]||(e[3]?"":null);this.path=e[5];this.query=e[7]||(e[6]?"":null);this.fragment=e[9]||(e[8]?"":null);null!=this.authority&&(e=this.authority.match(k),this.user=e[3]||null,this.password=
e[4]||null,this.host=e[6]||e[7],this.port=e[9]||null)};n.prototype.toString=function(){return this.uri};return f._Url=n})},"dojo/domReady":function(){define(["./has"],function(f){function p(a){b.push(a);d&&k()}function k(){if(!a){for(a=!0;b.length;)try{b.shift()(e)}catch(c){console.error(c,"in domReady callback",c.stack)}a=!1;p._onQEmpty()}}var n=function(){return this}(),e=document,h={loaded:1,complete:1},q="string"!=typeof e.readyState,d=!!h[e.readyState],b=[],a;p.load=function(a,b,c){p(c)};p._Q=
b;p._onQEmpty=function(){};q&&(e.readyState="loading");if(!d){var c=[],l=function(a){a=a||n.event;d||"readystatechange"==a.type&&!h[e.readyState]||(q&&(e.readyState="complete"),d=1,k())},g=function(a,c){a.addEventListener(c,l,!1);b.push(function(){a.removeEventListener(c,l,!1)})};if(!f("dom-addeventlistener")){var g=function(a,c){c="on"+c;a.attachEvent(c,l);b.push(function(){a.detachEvent(c,l)})},s=e.createElement("div");try{s.doScroll&&null===n.frameElement&&c.push(function(){try{return s.doScroll("left"),
1}catch(a){}})}catch(r){}}g(e,"DOMContentLoaded");g(n,"load");"onreadystatechange"in e?g(e,"readystatechange"):q||c.push(function(){return h[e.readyState]});if(c.length){var m=function(){if(!d){for(var a=c.length;a--;)if(c[a]()){l("poller");return}setTimeout(m,30)}};m()}}return p})},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(f,p,k,n){var e;e=function(a,b,d){n(a,{sync:!!b,headers:{"X-Requested-With":null}}).then(d)};var h={},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},d={},b={};f.cache=function(a,b,d){var g;"string"==typeof a?/\//.test(a)?(g=a,d=b):g=p.toUrl(a.replace(/\./g,"/")+(b?"/"+b:"")):(g=a+"",d=b);a=void 0!=d&&"string"!=typeof d?d.value:d;d=d&&d.sanitize;if("string"==typeof a)return h[g]=a,d?q(a):a;if(null===a)return delete h[g],null;g in h||e(g,!0,function(a){h[g]=a});return d?q(h[g]):h[g]};return{dynamic:!0,normalize:function(a,b){var d=a.split("!"),g=d[0];return(/^\./.test(g)?
b(g):g)+(d[1]?"!"+d[1]:"")},load:function(a,c,l){a=a.split("!");var g=1<a.length,s=a[0],r=c.toUrl(a[0]);a="url:"+r;var m=d,f=function(a){l(g?q(a):a)};s in h?m=h[s]:c.cache&&a in c.cache?m=c.cache[a]:r in h&&(m=h[r]);if(m===d)if(b[r])b[r].push(f);else{var n=b[r]=[f];e(r,!c.async,function(a){h[s]=h[r]=a;for(var c=0;c<n.length;)n[c++](a);delete b[r]})}else f(m)}}})},"dojo/dom":function(){define(["./sniff","./_base/window","./_base/kernel"],function(f,p,k){if(7>=f("ie"))try{document.execCommand("BackgroundImageCache",
!1,!0)}catch(n){}var e={};f("ie")?e.byId=function(e,d){if("string"!=typeof e)return e;var b=d||p.doc,a=e&&b.getElementById(e);if(a&&(a.attributes.id.value==e||a.id==e))return a;b=b.all[e];if(!b||b.nodeName)b=[b];for(var c=0;a=b[c++];)if(a.attributes&&a.attributes.id&&a.attributes.id.value==e||a.id==e)return a}:e.byId=function(e,d){return("string"==typeof e?(d||p.doc).getElementById(e):e)||null};k=k.global.document||null;f.add("dom-contains",!(!k||!k.contains));e.isDescendant=f("dom-contains")?function(h,
d){return!(!(d=e.byId(d))||!d.contains(e.byId(h)))}:function(h,d){try{h=e.byId(h);for(d=e.byId(d);h;){if(h==d)return!0;h=h.parentNode}}catch(b){}return!1};f.add("css-user-select",function(e,d,b){if(!b)return!1;e=b.style;d=["Khtml","O","Moz","Webkit"];b=d.length;var a="userSelect";do if("undefined"!==typeof e[a])return a;while(b--&&(a=d[b]+"UserSelect"));return!1});var h=f("css-user-select");e.setSelectable=h?function(f,d){e.byId(f).style[h]=d?"":"none"}:function(h,d){h=e.byId(h);var b=h.getElementsByTagName("*"),
a=b.length;if(d)for(h.removeAttribute("unselectable");a--;)b[a].removeAttribute("unselectable");else for(h.setAttribute("unselectable","on");a--;)b[a].setAttribute("unselectable","on")};return e})},"dijit/layout/LayoutContainer":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-class dojo/dom-style dojo/_base/lang ../_WidgetBase ./_LayoutWidget ./utils".split(" "),function(f,p,k,n,e,h,q,d){p=p("dijit.layout.LayoutContainer",q,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){this._started||
(f.forEach(this.getChildren(),this._setupChild,this),this.inherited(arguments))},_setupChild:function(b){this.inherited(arguments);b.region&&k.add(b.domNode,this.baseClass+"Pane")},_getOrderedChildren:function(){var b=f.map(this.getChildren(),function(a,b){return{pane:a,weight:["center"==a.region?Infinity:0,a.layoutPriority,("sidebar"==this.design?1:-1)*(/top|bottom/.test(a.region)?1:-1),b]}},this);b.sort(function(a,b){for(var d=a.weight,g=b.weight,e=0;e<d.length;e++)if(d[e]!=g[e])return d[e]-g[e];
return 0});return f.map(b,function(a){return a.pane})},layout:function(){d.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren())},addChild:function(b,a){this.inherited(arguments);this._started&&this.layout()},removeChild:function(b){this.inherited(arguments);this._started&&this.layout();k.remove(b.domNode,this.baseClass+"Pane");n.set(b.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});n.set(b.domNode,/top|bottom/.test(b.region)?"width":"height","auto")}});
p.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};e.extend(h,p.ChildWidgetProperties);return p})},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(f,p){return f.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:p("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:p("mac")&&!p("air")?p("safari")?91:224:17}})},"dgrid/extensions/ColumnResizer":function(){define("dojo/_base/declare dojo/_base/array dojo/on dojo/query dojo/_base/lang dojo/dom dojo/dom-construct dojo/dom-geometry dojo/has ../util/misc dojo/_base/html".split(" "),
function(f,p,k,n,e,h,q,d,b,a){function c(a,b,c,g,d){for(var e=1;e<b;e++)a[c+e][g]=d}function l(a){for(var b=a.length,g=b,d=p.filter(a[0],function(a){return!a.hidden}).length,e=Array(b);b--;)e[b]=Array(d);for(var l={},b=0;b<g;b++)for(var m=e[b],r=a[b],h=0,s=0;h<d;h++){var f=r[s],t;if("undefined"===typeof m[h]){m[h]=f.id;f.rowSpan&&1<f.rowSpan&&c(e,f.rowSpan,b,h,f.id);if(0<b&&f.colSpan&&1<f.colSpan)for(t=1;t<f.colSpan;t++)m[++h]=f.id,f.rowSpan&&1<f.rowSpan&&c(e,f.rowSpan,b,h,f.id);l[f.id]=a[0][h].id;
s++}}return l}function g(b,c,g,d,e){if(!(0>=g)){var l=b.columns[c],m;if(l&&(m={grid:b,columnId:c,width:g,bubbles:!0,cancelable:!0},d&&(m.parentType=d),!b._resizedColumns||k.emit(b.headerNode,"dgrid-columnresize",m)))return"auto"===g?delete l.width:(l.width=g,g+="px"),(d=b._columnSizes[c])?d.set("width",g):d=a.addCssRule("#"+a.escapeCssIdentifier(b.domNode.id)+" .dgrid-column-"+a.escapeCssIdentifier(c,"-"),"width: "+g+";"),b._columnSizes[c]=d,!1!==e&&b.resize(),!0}}var s,r,m=0,t={create:function(){s=
q.create("div",{className:"dgrid-column-resizer"});r=q.create("div",{className:"dgrid-resize-guard"})},destroy:function(){q.destroy(s);q.destroy(r);s=r=null},show:function(a){var b=d.position(a.domNode,!0);s.style.top=b.y+"px";s.style.height=b.h+"px";document.body.appendChild(s);a.domNode.appendChild(r)},move:function(a){s.style.left=a+"px"},hide:function(){s.parentNode.removeChild(s);r.parentNode.removeChild(r)}};return f(null,{resizeNode:null,minWidth:40,adjustLastColumn:!0,_resizedColumns:!1,buildRendering:function(){this.inherited(arguments);
m||t.create();m++},destroy:function(){this.inherited(arguments);for(var a in this._columnSizes)this._columnSizes[a].remove();--m||t.destroy()},resizeColumnWidth:function(a,b){return g(this,a,b)},configStructure:function(){var a=this._oldColumnSizes=e.mixin({},this._columnSizes),b;this._resizedColumns=!1;this._columnSizes={};this.inherited(arguments);for(b in a)b in this._columnSizes||a[b].remove();delete this._oldColumnSizes},_configColumn:function(b){this.inherited(arguments);var c=b.id,g;"width"in
b&&((g=this._oldColumnSizes[c])?g.set("width",b.width+"px"):g=a.addCssRule("#"+a.escapeCssIdentifier(this.domNode.id)+" .dgrid-column-"+a.escapeCssIdentifier(c,"-"),"width: "+b.width+"px;"),this._columnSizes[c]=g)},renderHeader:function(){this.inherited(arguments);var c=this,g;if(this.columnSets&&this.columnSets.length)for(var d=this.columnSets.length;d--;)g=e.mixin(g||{},l(this.columnSets[d]));else this.subRows&&1<this.subRows.length&&(g=l(this.subRows));for(var d=n(".dgrid-cell",c.headerNode),m=
d.length;m--;){var r=d[m],h=r.columnId,s=c.columns[h],f=r.childNodes;if(s&&!1!==s.resizable){s=q.create("div",{className:"dgrid-resize-header-container"});for(r.contents=s;0<f.length;)s.appendChild(f[0]);f=q.create("div",{className:"dgrid-resize-handle resizeNode-"+a.escapeCssIdentifier(h,"-")},s);r.appendChild(s);f.columnId=g&&g[h]||h}}c.mouseMoveListen||(k(c.headerNode,".dgrid-resize-handle:mousedown"+(b("touch")?",.dgrid-resize-handle:touchstart":""),function(a){c._resizeMouseDown(a,this);c.mouseMoveListen.resume();
c.mouseUpListen.resume()}),c._listeners.push(c.mouseMoveListen=k.pausable(document,"mousemove"+(b("touch")?",touchmove":""),a.throttleDelayed(function(a){c._updateResizerPosition(a)}))),c._listeners.push(c.mouseUpListen=k.pausable(document,"mouseup"+(b("touch")?",touchend":""),function(a){c._resizeMouseUp(a);c.mouseMoveListen.pause();c.mouseUpListen.pause()})),c.mouseMoveListen.pause(),c.mouseUpListen.pause())},_resizeMouseDown:function(b,c){b.preventDefault();h.setSelectable(this.domNode,!1);this._startX=
this._getResizeMouseLocation(b);this._targetCell=n(".dgrid-column-"+a.escapeCssIdentifier(c.columnId,"-"),this.headerNode)[0];this._updateResizerPosition(b);t.show(this)},_resizeMouseUp:function(b){var c=this._columnSizes,d,e,l;this.adjustLastColumn&&(l=this.headerNode.clientWidth-1);this._resizedColumns||(d=n(".dgrid-cell",this.headerNode),this.columnSets&&this.columnSets.length?d=d.filter(function(a){return"0"===a.columnId.split("-")[0]&&!(a.columnId in c)}):this.subRows&&1<this.subRows.length&&
(d=d.filter(function(a){return"0"===a.columnId.charAt(0)&&!(a.columnId in c)})),e=d.map(function(a){return a.offsetWidth}),d.forEach(function(a,b){g(this,a.columnId,e[b],null,!1)},this),this._resizedColumns=!0);h.setSelectable(this.domNode,!0);d=this._targetCell;var m=this._getResizeMouseLocation(b)-this._startX,r=d.offsetWidth+m,s=this._getResizedColumnWidths(),f=s.totalWidth,s=s.lastColId,k=n(".dgrid-column-"+a.escapeCssIdentifier(s,"-"),this.headerNode)[0].offsetWidth;r<this.minWidth&&(r=this.minWidth);
g(this,d.columnId,r,b.type)&&d.columnId!==s&&this.adjustLastColumn&&(f+m<l?g(this,s,"auto",b.type):k-m<=this.minWidth&&g(this,s,this.minWidth,b.type));t.hide();delete this._startX;delete this._targetCell},_updateResizerPosition:function(a){if(this._targetCell){a=this._getResizeMouseLocation(a);var b=this._targetCell.offsetWidth,c=a;b+(a-this._startX)<this.minWidth&&(c=this._startX-(b-this.minWidth));t.move(c)}},_getResizeMouseLocation:function(a){var b=0;a.pageX?b=a.pageX:a.clientX&&(b=a.clientX+
document.body.scrollLeft+document.documentElement.scrollLeft);return b},_getResizedColumnWidths:function(){var a=0,b=n((this.columnSets?".dgrid-column-set-cell ":"")+"tr:first-child .dgrid-cell",this.headerNode),c=b.length;if(!c)return{};for(var g=b[c-1].columnId;c--;)a+=b[c].offsetWidth;return{totalWidth:a,lastColId:g}}})})},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(f,p,k,n,e){var h=e.doc.documentElement;e=n("ie");var q=n("trident"),
d=n("opera"),b=Math.floor,a=n("ff"),c=f.boxModel.replace(/-/,""),d={dj_quirks:n("quirks"),dj_opera:d,dj_khtml:n("khtml"),dj_webkit:n("webkit"),dj_safari:n("safari"),dj_chrome:n("chrome"),dj_edge:n("edge"),dj_gecko:n("mozilla"),dj_ios:n("ios"),dj_android:n("android")};e&&(d.dj_ie=!0,d["dj_ie"+b(e)]=!0,d.dj_iequirks=n("quirks"));q&&(d.dj_trident=!0,d["dj_trident"+b(q)]=!0);a&&(d["dj_ff"+b(a)]=!0);d["dj_"+c]=!0;var l="",g;for(g in d)d[g]&&(l+=g+" ");h.className=p.trim(h.className+" "+l);k(function(){if(!f.isBodyLtr()){var a=
"dj_rtl dijitRtl "+l.replace(/ /g,"-rtl ");h.className=p.trim(h.className+" "+a+"dj_rtl dijitRtl "+l.replace(/ /g,"-rtl "))}});return n})},"dijit/Tooltip":function(){define("dojo/_base/array dojo/_base/declare dojo/_base/fx dojo/dom dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/_base/lang dojo/mouse dojo/on dojo/sniff ./_base/manager ./place ./_Widget ./_TemplatedMixin ./BackgroundIframe dojo/text!./templates/Tooltip.html ./main".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m,t,w){function u(){}
var v=p("dijit._MasterTooltip",[s,r],{duration:l.defaultDuration,templateString:t,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new m(this.domNode);this.fadeIn=k.fadeIn({node:this.domNode,duration:this.duration,onEnd:d.hitch(this,"_onShow")});this.fadeOut=k.fadeOut({node:this.domNode,duration:this.duration,onEnd:d.hitch(this,"_onHide")})},show:function(a,b,c,e,l,m,r){if(!this.aroundNode||!(this.aroundNode===b&&this.containerNode.innerHTML==a))if("playing"==this.fadeOut.status())this._onDeck=
arguments;else{this.containerNode.innerHTML=a;l&&this.set("textDir",l);this.containerNode.align=e?"right":"left";var h=g.around(this.domNode,b,c&&c.length?c:x.defaultPosition,!e,d.hitch(this,"orient")),s=h.aroundNodePos;"M"==h.corner.charAt(0)&&"M"==h.aroundCorner.charAt(0)?(this.connectorNode.style.top=s.y+(s.h-this.connectorNode.offsetHeight>>1)-h.y+"px",this.connectorNode.style.left=""):"M"==h.corner.charAt(1)&&"M"==h.aroundCorner.charAt(1)?this.connectorNode.style.left=s.x+(s.w-this.connectorNode.offsetWidth>>
1)-h.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top="");q.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=!0;this.aroundNode=b;this.onMouseEnter=m||u;this.onMouseLeave=r||u}},orient:function(a,b,g,d,e){this.connectorNode.style.top="";var l=d.h;d=d.w;a.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft",
"BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[b+"-"+g];this.domNode.style.width="auto";var m=h.position(this.domNode);if(c("ie")||c("trident"))m.w+=2;var r=Math.min(Math.max(d,1),m.w);h.setMarginBox(this.domNode,{w:r});"B"==g.charAt(0)&&"B"==b.charAt(0)?(a=h.position(a),b=this.connectorNode.offsetHeight,a.h>l?(this.connectorNode.style.top=l-(e.h+b>>1)+"px",this.connectorNode.style.bottom=""):
(this.connectorNode.style.bottom=Math.min(Math.max(e.h/2-b/2,0),a.h-b)+"px",this.connectorNode.style.top="")):(this.connectorNode.style.top="",this.connectorNode.style.bottom="");return Math.max(0,m.w-d)},_onShow:function(){c("ie")&&(this.domNode.style.filter="")},hide:function(a){this._onDeck&&this._onDeck[1]==a?this._onDeck=null:this.aroundNode===a&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play());this.onMouseEnter=this.onMouseLeave=u},_onHide:function(){this.domNode.style.cssText=
"";this.containerNode.innerHTML="";this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});c("dojo-bidi")&&v.extend({_setAutoTextDir:function(a){this.applyTextDir(a);f.forEach(a.children,function(a){this._setAutoTextDir(a)},this)},_setTextDirAttr:function(a){this._set("textDir",a);"auto"==a?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}});w.showTooltip=function(a,b,c,g,d,e,l){c&&(c=f.map(c,function(a){return{after:"after-centered",before:"before-centered"}[a]||
a}));x._masterTT||(w._masterTT=x._masterTT=new v);return x._masterTT.show(a,b,c,g,d,e,l)};w.hideTooltip=function(a){return x._masterTT&&x._masterTT.hide(a)};var x=p("dijit.Tooltip",s,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(c){f.forEach(this._connections||[],function(a){f.forEach(a,function(a){a.remove()})},this);this._connectIds=f.filter(d.isArrayLike(c)?c:c?[c]:[],function(a){return n.byId(a,this.ownerDocument)},this);this._connections=
f.map(this._connectIds,function(c){c=n.byId(c,this.ownerDocument);var g=this.selector,e=g?function(b){return a.selector(g,b)}:function(a){return a},l=this;return[a(c,e(b.enter),function(){l._onHover(this)}),a(c,e("focusin"),function(){l._onHover(this)}),a(c,e(b.leave),d.hitch(l,"_onUnHover")),a(c,e("focusout"),d.hitch(l,"set","state","DORMANT"))]},this);this._set("connectId",c)},addTarget:function(a){a=a.id||a;-1==f.indexOf(this._connectIds,a)&&this.set("connectId",this._connectIds.concat(a))},removeTarget:function(a){a=
f.indexOf(this._connectIds,a.id||a);0<=a&&(this._connectIds.splice(a,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments);e.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var a=this.connectId;f.forEach(d.isArrayLike(a)?a:[a],this.addTarget,this)},getContent:function(a){return this.label||this.domNode.innerHTML},state:"DORMANT",_setStateAttr:function(a){if(!(this.state==a||"SHOW TIMER"==a&&"SHOWING"==this.state||"HIDE TIMER"==
a&&"DORMANT"==this.state)){this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer);this._showTimer&&(this._showTimer.remove(),delete this._showTimer);switch(a){case "DORMANT":this._connectNode&&(x.hide(this._connectNode),delete this._connectNode,this.onHide());break;case "SHOW TIMER":"SHOWING"!=this.state&&(this._showTimer=this.defer(function(){this.set("state","SHOWING")},this.showDelay));break;case "SHOWING":var b=this.getContent(this._connectNode);if(!b){this.set("state","DORMANT");
return}x.show(b,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,d.hitch(this,"set","state","SHOWING"),d.hitch(this,"set","state","HIDE TIMER"));this.onShow(this._connectNode,this.position);break;case "HIDE TIMER":this._hideTimer=this.defer(function(){this.set("state","DORMANT")},this.hideDelay)}this._set("state",a)}},_onHover:function(a){this._connectNode&&a!=this._connectNode&&this.set("state","DORMANT");this._connectNode=a;this.set("state","SHOW TIMER")},_onUnHover:function(a){this.set("state",
"HIDE TIMER")},open:function(a){this.set("state","DORMANT");this._connectNode=a;this.set("state","SHOWING")},close:function(){this.set("state","DORMANT")},onShow:function(){},onHide:function(){},destroy:function(){this.set("state","DORMANT");f.forEach(this._connections||[],function(a){f.forEach(a,function(a){a.remove()})},this);this.inherited(arguments)}});x._MasterTooltip=v;x.show=w.showTooltip;x.hide=w.hideTooltip;x.defaultPosition=["after-centered","before-centered"];return x})},"dojo/string":function(){define(["./_base/kernel",
"./_base/lang"],function(f,p){var k=/[&<>'"\/]/g,n={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;","/":"\x26#x2F;"},e={};p.setObject("dojo.string",e);e.escape=function(e){return!e?"":e.replace(k,function(e){return n[e]})};e.rep=function(e,f){if(0>=f||!e)return"";for(var d=[];;){f&1&&d.push(e);if(!(f>>=1))break;e+=e}return d.join("")};e.pad=function(h,f,d,b){d||(d="0");h=String(h);f=e.rep(d,Math.ceil((f-h.length)/d.length));return b?h+f:f+h};e.substitute=function(e,
n,d,b){b=b||f.global;d=d?p.hitch(b,d):function(a){return a};return e.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(a,c,e){if(""==c)return"$";a=p.getObject(c,!1,n);e&&(a=p.getObject(e,!1,b).call(b,a,c));return d(a,c).toString()})};e.trim=String.prototype.trim?p.trim:function(e){e=e.replace(/^\s+/,"");for(var f=e.length-1;0<=f;f--)if(/\S/.test(e.charAt(f))){e=e.substring(0,f+1);break}return e};return e})},"dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider",
"dojo/text!./templates/VerticalSlider.html"],function(f,p,k){return f("dijit.form.VerticalSlider",p,{templateString:k,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:!0,_isReversed:function(){return this._descending}})})},"dijit/dijit":function(){define("./main ./_base dojo/parser ./_Widget ./_TemplatedMixin ./_Container ./layout/_LayoutWidget ./form/_FormWidget ./form/_FormValueWidget".split(" "),function(f){return f})},
"dijit/form/DropDownButton":function(){define("dojo/_base/declare dojo/_base/kernel dojo/_base/lang dojo/query ../registry ../popup ./Button ../_Container ../_HasDropDown dojo/text!./templates/DropDownButton.html ../a11yclick".split(" "),function(f,p,k,n,e,h,q,d,b,a){return f("dijit.form.DropDownButton",[q,d,b],{baseClass:"dijitDropDownButton",templateString:a,_fillContent:function(){var a=this.srcNodeRef,b=this.containerNode;if(a&&b)for(;a.hasChildNodes();){var g=a.firstChild;g.hasAttribute&&(g.hasAttribute("data-dojo-type")||
g.hasAttribute("dojoType")||g.hasAttribute("data-"+p._scopeName+"-type")||g.hasAttribute(p._scopeName+"Type"))?(this.dropDownContainer=this.ownerDocument.createElement("div"),this.dropDownContainer.appendChild(g)):b.appendChild(g)}},startup:function(){this._started||(!this.dropDown&&this.dropDownContainer&&(this.dropDown=e.byNode(this.dropDownContainer.firstChild),delete this.dropDownContainer),this.dropDown&&h.hide(this.dropDown),this.inherited(arguments))},isLoaded:function(){var a=this.dropDown;
return!!a&&(!a.href||a.isLoaded)},loadDropDown:function(a){var b=this.dropDown,g=b.on("load",k.hitch(this,function(){g.remove();a()}));b.refresh()},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown}})})},"dijit/form/_FormValueMixin":function(){define("dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/on ./_FormWidgetMixin".split(" "),function(f,p,k,n,e,h){return f("dijit.form._FormValueMixin",h,{readOnly:!1,_setReadOnlyAttr:function(e){p.set(this.focusNode,"readOnly",
e);this._set("readOnly",e)},postCreate:function(){this.inherited(arguments);void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.value)},_setValueAttr:function(e,d){this._handleOnChange(e,d)},_handleOnChange:function(e,d){this._set("value",e);this.inherited(arguments)},undo:function(){this._setValueAttr(this._lastValueReported,!1)},reset:function(){this._hasBeenBlurred=!1;this._setValueAttr(this._resetValue,!0)}})})},"dijit/form/_FormWidgetMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/dom-style dojo/_base/lang dojo/mouse dojo/on dojo/sniff dojo/window ../a11y".split(" "),
function(f,p,k,n,e,h,q,d,b,a){return p("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(b){this._set("disabled",b);/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)?k.set(this.focusNode,"disabled",b):this.focusNode.setAttribute("aria-disabled",b?"true":"false");this.valueNode&&
k.set(this.valueNode,"disabled",b);b?(this._set("hovering",!1),this._set("active",!1),b="tabIndex"in this.attributeMap?this.attributeMap.tabIndex:"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode",f.forEach(e.isArray(b)?b:[b],function(b){b=this[b];d("webkit")||a.hasDefaultTabStop(b)?b.setAttribute("tabIndex","-1"):b.removeAttribute("tabIndex")},this)):""!=this.tabIndex&&this.set("tabIndex",this.tabIndex)},_onFocus:function(a){if("mouse"==a&&this.isFocusable())var l=this.own(q(this.focusNode,
"focus",function(){h.remove();l.remove()}))[0],g=d("pointer-events")?"pointerup":d("MSPointer")?"MSPointerUp":d("touch-events")?"touchend, mouseup":"mouseup",h=this.own(q(this.ownerDocumentBody,g,e.hitch(this,function(a){h.remove();l.remove();this.focused&&("touchend"==a.type?this.defer("focus"):this.focus())})))[0];this.scrollOnFocus&&this.defer(function(){b.scrollIntoView(this.domNode)});this.inherited(arguments)},isFocusable:function(){return!this.disabled&&this.focusNode&&"none"!=n.get(this.domNode,
"display")},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},compare:function(a,b){return"number"==typeof a&&"number"==typeof b?isNaN(a)&&isNaN(b)?0:a-b:a>b?1:a<b?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(a,b){if(void 0==this._lastValueReported&&(null===b||!this._onChangeActive))this._resetValue=this._lastValueReported=a;this._pendingOnChange=this._pendingOnChange||typeof a!=typeof this._lastValueReported||0!=this.compare(a,
this._lastValueReported);if((this.intermediateChanges||b||void 0===b)&&this._pendingOnChange)this._lastValueReported=a,this._pendingOnChange=!1,this._onChangeActive&&(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(a)}))},create:function(){this.inherited(arguments);this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported));this.inherited(arguments)}})})},
"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(f,p,k,n){function e(d){if((d.keyCode===f.ENTER||d.keyCode===f.SPACE)&&!/input|button|textarea/i.test(d.target.nodeName))for(d=d.target;d;d=d.parentNode)if(d.dojoClick)return!0}var h;k(document,"keydown",function(d){e(d)?(h=d.target,d.preventDefault()):h=null});k(document,"keyup",function(d){e(d)&&d.target==h&&(h=null,k.emit(d.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:d.ctrlKey,shiftKey:d.shiftKey,
metaKey:d.metaKey,altKey:d.altKey,_origType:d.type}))});var q=function(d,b){d.dojoClick=!0;return k(d,"click",b)};q.click=q;q.press=function(d,b){var a=k(d,n.press,function(a){("mousedown"!=a.type||p.isLeft(a))&&b(a)}),c=k(d,"keydown",function(a){(a.keyCode===f.ENTER||a.keyCode===f.SPACE)&&b(a)});return{remove:function(){a.remove();c.remove()}}};q.release=function(d,b){var a=k(d,n.release,function(a){("mouseup"!=a.type||p.isLeft(a))&&b(a)}),c=k(d,"keyup",function(a){(a.keyCode===f.ENTER||a.keyCode===
f.SPACE)&&b(a)});return{remove:function(){a.remove();c.remove()}}};q.move=n.move;return q})},"cbtree/util/QueryEngine":function(){define(["module","../errors/createError!../errors/CBTErrors.json","./shim/Array"],function(f,p){function k(b,a,c){return a?a.test?b.some(function(b){return a.test(b)}):a instanceof Array?a.every(function(a){a=c&&a.toLowerCase?a.toLowerCase():a;return k(b,a,c)}):c?b.some(function(b){b=c&&b.toLowerCase?b.toLowerCase():b;return b==a}):-1!=b.indexOf(a):!1}function n(b,a){for(var c=
b.split("."),d,g=0;a&&(d=c[g++]);)a=d in a?a[d]:void 0;return a}function e(b){if(b)for(var a in b)if(/\./.test(a))return!0;return!1}function h(b,a,c){c&&(a&&!a.test)&&(a=a.toLowerCase?a.toLowerCase():a,b=b.toLowerCase?b.toLowerCase():b);return a==b?!0:b instanceof Array?k(b,a,c):a&&a.test?a.test(b):a instanceof Array?q(b,a,c):!1}function q(b,a,c){return a.some(function(a){return h(b,a,c)})}var d=p(f.id);return function(b,a){function c(b,c){b=b||[];var d=a&&a.sort,e=c?b:b.filter(g),l=d;d&&("function"!=
typeof l&&(l=function(a,b){var c,g,e,l;for(c=0;g=d[c];c++)if(e=g.property||g.attribute,l=n(e,a),e=n(e,b),g.ignoreCase&&(l=l&&l.toLowerCase?l.toLowerCase():l,e=e&&e.toLowerCase?e.toLowerCase():e),l!=e)return!!g.descending==(null==l||l>e)?-1:1;return 0}),e.sort(l));if(a&&(a.start||a.count))l=e.length,e=e.slice(a.start||0,(a.start||0)+(a.count||Infinity)),e.total=l;return e}var l=a&&!!a.ignoreCase,g=function(){},s=!1;switch(typeof b){case "undefined":case "object":s=e(b);g=function(a){var c,g,d;for(c in b)if(d=
b[c],g=s?n(c,a):a[c],!h(g,d,l)&&!("function"==typeof d&&d(g,c,a)))return!1;return!0};break;case "string":if(!this[b]||"function"!=typeof this[b])throw new d("MethodMissing","QueryEngine","No filter function "+b+" was found in store");g=this[b];break;case "function":g=b;break;default:throw new d("InvalidType","QueryEngine","Can not query with a "+typeof b);}c.matches=g;return c}})},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],
function(f,p,k,n){function e(b){var d=a[b.options.handleAs];b.data=d?d(b):b.data||b.text;return b}n.add("activex","undefined"!==typeof ActiveXObject);n.add("dom-parser",function(a){return"DOMParser"in a});var h;if(n("activex")){var q=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"],d;h=function(a){function b(a){try{var c=new ActiveXObject(a);c.async=!1;c.loadXML(e);g=c;d=a}catch(l){return!1}return!0}var g=a.data,e=a.text;g&&(n("dom-qsa2.1")&&!g.querySelectorAll&&
n("dom-parser"))&&(g=(new DOMParser).parseFromString(e,"application/xml"));if(!g||!g.documentElement)(!d||!b(d))&&k.some(q,b);return g}}var b=function(a){return!n("native-xhr2-blob")&&"blob"===a.options.handleAs&&"undefined"!==typeof Blob?new Blob([a.xhr.response],{type:a.xhr.getResponseHeader("Content-Type")}):a.xhr.response},a={javascript:function(a){return p.eval(a.text||"")},json:function(a){return f.parse(a.text||null)},xml:h,blob:b,arraybuffer:b,document:b};e.register=function(b,d){a[b]=d};
return e})},"dojo/date":function(){define(["./has","./_base/lang"],function(f,p){var k={getDaysInMonth:function(f){var e=f.getMonth();return 1==e&&k.isLeapYear(f)?29:[31,28,31,30,31,30,31,31,30,31,30,31][e]},isLeapYear:function(f){f=f.getFullYear();return!(f%400)||!(f%4)&&!!(f%100)},getTimezoneName:function(f){var e=f.toString(),h="",k=e.indexOf("(");if(-1<k)h=e.substring(++k,e.indexOf(")"));else if(k=/([A-Z\/]+) \d{4}$/,e=e.match(k))h=e[1];else if(e=f.toLocaleString(),k=/ ([A-Z\/]+)$/,e=e.match(k))h=
e[1];return"AM"==h||"PM"==h?"":h},compare:function(f,e,h){f=new Date(+f);e=new Date(+(e||new Date));"date"==h?(f.setHours(0,0,0,0),e.setHours(0,0,0,0)):"time"==h&&(f.setFullYear(0,0,0),e.setFullYear(0,0,0));return f>e?1:f<e?-1:0},add:function(f,e,h){var k=new Date(+f),d=!1,b="Date";switch(e){case "day":break;case "weekday":var a;(e=h%5)?a=parseInt(h/5):(e=0<h?5:-5,a=0<h?(h-5)/5:(h+5)/5);var c=f.getDay(),l=0;6==c&&0<h?l=1:0==c&&0>h&&(l=-1);c+=e;if(0==c||6==c)l=0<h?2:-2;h=7*a+e+l;break;case "year":b=
"FullYear";d=!0;break;case "week":h*=7;break;case "quarter":h*=3;case "month":d=!0;b="Month";break;default:b="UTC"+e.charAt(0).toUpperCase()+e.substring(1)+"s"}if(b)k["set"+b](k["get"+b]()+h);d&&k.getDate()<f.getDate()&&k.setDate(0);return k},difference:function(f,e,h){e=e||new Date;h=h||"day";var q=e.getFullYear()-f.getFullYear(),d=1;switch(h){case "quarter":f=f.getMonth();e=e.getMonth();f=Math.floor(f/3)+1;e=Math.floor(e/3)+1;d=e+4*q-f;break;case "weekday":q=Math.round(k.difference(f,e,"day"));
h=parseInt(k.difference(f,e,"week"));d=q%7;if(0==d)q=5*h;else{var b=0,a=f.getDay();e=e.getDay();h=parseInt(q/7);d=q%7;f=new Date(f);f.setDate(f.getDate()+7*h);f=f.getDay();if(0<q)switch(!0){case 6==a:b=-1;break;case 0==a:b=0;break;case 6==e:b=-1;break;case 0==e:b=-2;break;case 5<f+d:b=-2}else if(0>q)switch(!0){case 6==a:b=0;break;case 0==a:b=1;break;case 6==e:b=2;break;case 0==e:b=1;break;case 0>f+d:b=2}q=q+b-2*h}d=q;break;case "year":d=q;break;case "month":d=e.getMonth()-f.getMonth()+12*q;break;
case "week":d=parseInt(k.difference(f,e,"day")/7);break;case "day":d/=24;case "hour":d/=60;case "minute":d/=60;case "second":d/=1E3;case "millisecond":d*=e.getTime()-f.getTime()}return Math.round(d)}};p.mixin(p.getObject("dojo.date",!0),k);return k})},"dijit/tree/ObjectStoreModel":function(){define("dojo/_base/array dojo/aspect dojo/_base/declare dojo/Deferred dojo/_base/lang dojo/when ../Destroyable".split(" "),function(f,p,k,n,e,h,q){return k("dijit.tree.ObjectStoreModel",q,{store:null,labelAttr:"name",
labelType:"text",root:null,query:null,constructor:function(d){e.mixin(this,d);this.childrenCache={}},getRoot:function(d,b){if(this.root)d(this.root);else{var a=this.store.query(this.query);a.then&&this.own(a);h(a,e.hitch(this,function(b){if(1!=b.length)throw Error("dijit.tree.ObjectStoreModel: root query returned "+b.length+" items, but must return exactly one");this.root=b[0];d(this.root);a.observe&&a.observe(e.hitch(this,function(a){this.onChange(a)}),!0)}),b)}},mayHaveChildren:function(){return!0},
getChildren:function(d,b,a){var c=this.store.getIdentity(d);if(this.childrenCache[c])h(this.childrenCache[c],b,a);else{var l=this.childrenCache[c]=this.store.getChildren(d);l.then&&this.own(l);l.observe&&this.own(l.observe(e.hitch(this,function(a,b,c){this.onChange(a);b!=c&&h(l,e.hitch(this,"onChildrenChange",d))}),!0));h(l,b,a)}},isItem:function(){return!0},getIdentity:function(d){return this.store.getIdentity(d)},getLabel:function(d){return d[this.labelAttr]},newItem:function(d,b,a,c){return this.store.put(d,
{parent:b,before:c})},pasteItem:function(d,b,a,c,l,g){var h=new n;if(b===a&&!c&&!g)return h.resolve(!0),h;b&&!c?this.getChildren(b,e.hitch(this,function(c){c=[].concat(c);var e=f.indexOf(c,d);c.splice(e,1);this.onChildrenChange(b,c);h.resolve(this.store.put(d,{overwrite:!0,parent:a,oldParent:b,before:g}))})):h.resolve(this.store.put(d,{overwrite:!0,parent:a,oldParent:b,before:g}));return h},onChange:function(){},onChildrenChange:function(){},onDelete:function(){}})})},"dijit/Destroyable":function(){define(["dojo/_base/array",
"dojo/aspect","dojo/_base/declare"],function(f,p,k){return k("dijit.Destroyable",null,{destroy:function(f){this._destroyed=!0},own:function(){var k=["destroyRecursive","destroy","remove"];f.forEach(arguments,function(e){function h(){d.remove();f.forEach(b,function(a){a.remove()})}var q,d=p.before(this,"destroy",function(a){e[q](a)}),b=[];e.then?(q="cancel",e.then(h,h)):f.forEach(k,function(a){"function"===typeof e[a]&&(q||(q=a),b.push(p.after(e,a,h,!0)))})},this);return arguments}})})},"dijit/layout/_ContentPaneResizeMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/_base/lang dojo/query ../registry ../Viewport ./utils".split(" "),
function(f,p,k,n,e,h,q,d,b,a){return p("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var a=this.getParent();this._childOfLayoutWidget=a&&a.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);this._isShown()&&this._onShow();this._childOfLayoutWidget||this.own(b.on("resize",h.hitch(this,"resize")))}},_checkIfSingleChild:function(){if(this.doLayout){var a=[],b=!1;q("\x3e *",this.containerNode).some(function(g){var e=
d.byNode(g);e&&e.resize?a.push(e):!/script|link|style/i.test(g.nodeName)&&g.offsetHeight&&(b=!0)});this._singleChild=1==a.length&&!b?a[0]:null;k.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)}},resize:function(a,b){this._resizeCalled=!0;this._scheduleLayout(a,b)},_scheduleLayout:function(a,b){this._isShown()?this._layout(a,b):(this._needLayout=!0,this._changeSize=a,this._resultSize=b)},_layout:function(b,d){delete this._needLayout;!this._wasShown&&!1!==this.open&&this._onShow();
b&&n.setMarginBox(this.domNode,b);var g=this.containerNode;if(g===this.domNode){var e=d||{};h.mixin(e,b||{});if(!("h"in e)||!("w"in e))e=h.mixin(n.getMarginBox(g),e);this._contentBox=a.marginBox2contentBox(g,e)}else this._contentBox=n.getContentBox(g);this._layoutChildren()},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var a=this._contentBox||n.getContentBox(this.containerNode);this._singleChild.resize({w:a.w,h:a.h})}else for(var a=this.getChildren(),
b,g=0;b=a[g++];)b.resize&&b.resize()},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var a=this.domNode,b=this.domNode.parentNode;return"none"!=a.style.display&&"hidden"!=a.style.visibility&&!k.contains(a,"dijitHidden")&&b&&b.style&&"none"!=b.style.display},_onShow:function(){this._wasShown=!0;this._needLayout&&this._layout(this._changeSize,this._resultSize);this.inherited(arguments)}})})},"dijit/WidgetSet":function(){define(["dojo/_base/array",
"dojo/_base/declare","dojo/_base/kernel","./registry"],function(f,p,k,n){var e=p("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0},add:function(e){if(this._hash[e.id])throw Error("Tried to register widget with id\x3d\x3d"+e.id+" but that id is already registered");this._hash[e.id]=e;this.length++},remove:function(e){this._hash[e]&&(delete this._hash[e],this.length--)},forEach:function(e,f){f=f||k.global;var d=0,b;for(b in this._hash)e.call(f,this._hash[b],d++,this._hash);
return this},filter:function(h,f){f=f||k.global;var d=new e,b=0,a;for(a in this._hash){var c=this._hash[a];h.call(f,c,b++,this._hash)&&d.add(c)}return d},byId:function(e){return this._hash[e]},byClass:function(h){var f=new e,d,b;for(d in this._hash)b=this._hash[d],b.declaredClass==h&&f.add(b);return f},toArray:function(){var e=[],f;for(f in this._hash)e.push(this._hash[f]);return e},map:function(e,k){return f.map(this.toArray(),e,k)},every:function(e,f){f=f||k.global;var d=0,b;for(b in this._hash)if(!e.call(f,
this._hash[b],d++,this._hash))return!1;return!0},some:function(e,f){f=f||k.global;var d=0,b;for(b in this._hash)if(e.call(f,this._hash[b],d++,this._hash))return!0;return!1}});f.forEach("forEach filter byClass map every some".split(" "),function(f){n[f]=e.prototype[f]});return e})},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox","dojo/i18n!./nls/validate"],function(f,p,k){return f("dijit.form.RangeBoundTextBox",k,{rangeMessage:"",rangeCheck:function(f,
e){return("min"in e?0<=this.compare(f,e.min):!0)&&("max"in e?0>=this.compare(f,e.max):!0)},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints)},_isDefinitelyOutOfRange:function(){var f=this.get("value");if(null==f)return!1;var e=!1;"min"in this.constraints&&(e=this.constraints.min,e=0>this.compare(f,"number"==typeof e&&0<=e&&0!=f?0:e));!e&&"max"in this.constraints&&(e=this.constraints.max,e=0<this.compare(f,"number"!=typeof e||0<e?e:0));return e},_isValidSubset:function(){return this.inherited(arguments)&&
!this._isDefinitelyOutOfRange()},isValid:function(f){return this.inherited(arguments)&&(this._isEmpty(this.textbox.value)&&!this.required||this.isInRange(f))},getErrorMessage:function(f){var e=this.get("value");return null!=e&&""!==e&&("number"!=typeof e||!isNaN(e))&&!this.isInRange(f)?this.rangeMessage:this.inherited(arguments)},postMixInProperties:function(){this.inherited(arguments);this.rangeMessage||(this.messages=p.getLocalization("dijit.form","validate",this.lang),this.rangeMessage=this.messages.rangeMessage)}})})},
"dojo/dnd/Moveable":function(){define("../_base/array ../_base/declare ../_base/lang ../dom ../dom-class ../Evented ../on ../topic ../touch ./common ./Mover ../_base/window".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l){return p("dojo.dnd.Moveable",[h],{handle:"",delay:0,skip:!1,constructor:function(a,d){this.node=n.byId(a);d||(d={});this.handle=d.handle?n.byId(d.handle):null;this.handle||(this.handle=this.node);this.delay=0<d.delay?d.delay:0;this.skip=d.skip;this.mover=d.mover?d.mover:c;this.events=
[q(this.handle,b.press,k.hitch(this,"onMouseDown")),q(this.handle,"dragstart",k.hitch(this,"onSelectStart")),q(this.handle,"selectstart",k.hitch(this,"onSelectStart"))]},markupFactory:function(a,b,c){return new c(b,a)},destroy:function(){f.forEach(this.events,function(a){a.remove()});this.events=this.node=this.handle=null},onMouseDown:function(c){if(!this.skip||!a.isFormElement(c)){if(this.delay)this.events.push(q(this.handle,b.move,k.hitch(this,"onMouseMove")),q(this.handle.ownerDocument,b.release,
k.hitch(this,"onMouseUp"))),this._lastX=c.pageX,this._lastY=c.pageY;else this.onDragDetected(c);c.stopPropagation();c.preventDefault()}},onMouseMove:function(a){if(Math.abs(a.pageX-this._lastX)>this.delay||Math.abs(a.pageY-this._lastY)>this.delay)this.onMouseUp(a),this.onDragDetected(a);a.stopPropagation();a.preventDefault()},onMouseUp:function(a){for(var b=0;2>b;++b)this.events.pop().remove();a.stopPropagation();a.preventDefault()},onSelectStart:function(b){if(!this.skip||!a.isFormElement(b))b.stopPropagation(),
b.preventDefault()},onDragDetected:function(a){new this.mover(this.node,a,this)},onMoveStart:function(a){d.publish("/dnd/move/start",a);e.add(l.body(),"dojoMove");e.add(this.node,"dojoMoveItem")},onMoveStop:function(a){d.publish("/dnd/move/stop",a);e.remove(l.body(),"dojoMove");e.remove(this.node,"dojoMoveItem")},onFirstMove:function(){},onMove:function(a,b){this.onMoving(a,b);var c=a.node.style;c.left=b.l+"px";c.top=b.t+"px";this.onMoved(a,b)},onMoving:function(){},onMoved:function(){}})})},"dgrid/Grid":function(){define("dojo/_base/declare dojo/_base/lang dojo/dom-construct dojo/dom-class dojo/on dojo/has ./List ./util/misc dojo/_base/sniff".split(" "),
function(f,p,k,n,e,h,q,d){function b(a,b){b&&b.nodeType&&a.appendChild(b)}f=f(q,{columns:null,hasNeutralSort:!1,cellNavigation:!0,tabableHeader:!0,showHeader:!0,column:function(a){return"object"!==typeof a?this.columns[a]:this.cell(a).column},listType:"grid",cell:function(a,b){if(a.column&&a.element)return a;a.target&&a.target.nodeType&&(a=a.target);var d;if(a.nodeType){do{if(this._rowIdToObject[a.id])break;var g=a.columnId;if(g){b=g;d=a;break}a=a.parentNode}while(a&&a!==this.domNode)}if(!d&&"undefined"!==
typeof b){var e=this.row(a);if(g=e&&e.element)for(var g=g.getElementsByTagName("td"),r=0;r<g.length;r++)if(g[r].columnId===b){d=g[r];break}}if(null!=a)return{row:e||this.row(a),column:b&&this.column(b),element:d}},createRowCells:function(a,b,e,g,f){var r=k.create("table",{className:"dgrid-row-table",role:"presentation"}),m=9>h("ie")?k.create("tbody",null,r):r,t,n,q,p,x,z,y,A,B,E;e=e||this.subRows;n=0;for(q=e.length;n<q;n++){z=e[n];t=k.create("tr",null,m);z.className&&(t.className=z.className);p=0;
for(x=z.length;p<x;p++){y=z[p];A=y.id;B=y.field?" field-"+d.escapeCssIdentifier(y.field,"-"):"";(E="function"===typeof y.className?y.className(g):y.className)&&(B+=" "+E);B=k.create(a,{className:"dgrid-cell"+(A?" dgrid-column-"+d.escapeCssIdentifier(A,"-"):"")+B,role:"th"===a?"columnheader":"gridcell"});B.columnId=A;if(A=y.colSpan)B.colSpan=A;if(A=y.rowSpan)B.rowSpan=A;b(B,y,g,f);t.appendChild(B)}}return r},_createBodyRowCell:function(a,c,d,g){var e=d;c.get?e=c.get(d):"field"in c&&"_item"!==c.field&&
(e=d[c.field]);c.renderCell?b(a,c.renderCell(d,e,a,g)):this._defaultRenderCell.call(c,d,e,a,g)},_createHeaderRowCell:function(a,c){var d=c.headerNode=a,g=c.field;g&&(a.field=g);if(c.renderHeaderCell)b(d,c.renderHeaderCell(d));else if("label"in c||c.field)d.appendChild(document.createTextNode("label"in c?c.label:c.field));!1!==c.sortable&&(g&&"_item"!==g)&&(a.sortable=!0,a.className+=" dgrid-sortable")},left:function(a,b){a.element||(a=this.cell(a));return this.cell(this._move(a,-(b||1),"dgrid-cell"))},
right:function(a,b){a.element||(a=this.cell(a));return this.cell(this._move(a,b||1,"dgrid-cell"))},_defaultRenderCell:function(a,b,d){if(this.formatter){var g=this.formatter,e=this.grid.formatterScope;d.innerHTML="string"===typeof g&&e?e[g](b,a):this.formatter(b,a)}else null!=b&&d.appendChild(document.createTextNode(b))},renderRow:function(a,b){var d=this.createRowCells("td",p.hitch(this,"_createBodyRowCell"),b&&b.subRows,a,b),g=k.create("div",{role:"row"});g.appendChild(d);return g},renderHeader:function(){var a=
this,b=this.headerNode;b.setAttribute("role","row");k.empty(b);var d=this.createRowCells("th",p.hitch(this,"_createHeaderRowCell"),this.subRows&&this.subRows.headerRows);this._rowIdToObject[d.id=this.id+"-header"]=this.columns;b.appendChild(d);this._sortListener&&this._sortListener.remove();this._sortListener=e(d,"click,keydown",function(g){if("click"===g.type||32===g.keyCode||!h("opera")&&13===g.keyCode){var d=g.target,l,m;do if(d.sortable){l=d.field||d.columnId;m=a.sort[0];l=!a.hasNeutralSort||
!m||m.property!==l||!m.descending?[{property:l,descending:m&&m.property===l&&!m.descending}]:[];m={bubbles:!0,cancelable:!0,grid:a,parentType:g.type,sort:l};e.emit(g.target,"dgrid-sort",m)&&(a._sortNode=d,a.set("sort",l));break}while((d=d.parentNode)&&d!==b)}})},resize:function(){var a=this.headerNode.firstChild,b=this.contentNode,d;this.inherited(arguments);b.style.width="";if(b&&a&&(d=a.offsetWidth)>b.offsetWidth)b.style.width=d+"px"},destroy:function(){this._destroyColumns();this._sortListener&&
this._sortListener.remove();this.inherited(arguments)},_setSort:function(){this.inherited(arguments);this.updateSortArrow(this.sort)},_findSortArrowParent:function(a){var b=this.columns,d;for(d in b){var g=b[d];if(g.field===a)return g.headerNode}},updateSortArrow:function(a,b){this._lastSortedArrow&&(n.remove(this._lastSortedArrow.parentNode,"dgrid-sort-up dgrid-sort-down"),k.destroy(this._lastSortedArrow),delete this._lastSortedArrow);b&&(this.sort=a);if(a[0]){var d=a[0].property,g=a[0].descending,
d=this._sortNode||this._findSortArrowParent(d);delete this._sortNode;d&&(d=d.contents||d,this._lastSortedArrow=k.create("div",{className:"dgrid-sort-arrow ui-icon",innerHTML:"\x26nbsp;",role:"presentation"},d,"first"),n.add(d,"dgrid-sort-"+(g?"down":"up")),this.resize())}},styleColumn:function(a,b){return this.addCssRule("#"+d.escapeCssIdentifier(this.domNode.id)+" .dgrid-column-"+d.escapeCssIdentifier(a,"-"),b)},_configColumns:function(a,b){var e=[],g=b instanceof Array;d.each(b,function(d,r){"string"===
typeof d&&(b[r]=d={label:d});!g&&!d.field&&(d.field=r);r=d.id=d.id||(isNaN(r)?r:a+r);this._configColumn&&(this._configColumn(d,b,a),r=d.id);g&&(this.columns[r]=d);d.grid=this;e.push(d)},this);return g?b:e},_destroyColumns:function(){this.cleanup()},configStructure:function(){var a=this.subRows,b=this._columns=this.columns;this.columns=!b||b instanceof Array?{}:b;if(a)for(b=0;b<a.length;b++)a[b]=this._configColumns(b+"-",a[b]);else this.subRows=[this._configColumns("",b)]},_getColumns:function(){return this._columns||
this.columns},_setColumns:function(a){this._destroyColumns();this.subRows=null;this.columns=a;this._updateColumns()},_setSubRows:function(a){this._destroyColumns();this.subRows=a;this._updateColumns()},_updateColumns:function(){this.configStructure();this.renderHeader();this.refresh();this._lastCollection&&this.renderArray(this._lastCollection);this._started&&(this.sort.length?(this._lastSortedArrow=null,this.updateSortArrow(this.sort)):this.resize())}});f.appendIfNode=b;return f})},"dojo/ready":function(){define(["./_base/kernel",
"./has","require","./domReady","./_base/lang"],function(f,p,k,n,e){var h=0,q=[],d=0;p=function(){h=1;f._postLoad=f.config.afterOnLoad=!0;b()};var b=function(){if(!d){for(d=1;h&&(!n||0==n._Q.length)&&(k.idle?k.idle():1)&&q.length;){var a=q.shift();try{a()}catch(b){if(b.info=b.message,k.signal)k.signal("error",b);else throw b;}}d=0}};k.on&&k.on("idle",b);n&&(n._onQEmpty=b);var a=f.ready=f.addOnLoad=function(a,c,d){var r=e._toArray(arguments);"number"!=typeof a?(d=c,c=a,a=1E3):r.shift();d=d?e.hitch.apply(f,
r):function(){c()};d.priority=a;for(r=0;r<q.length&&a>=q[r].priority;r++);q.splice(r,0,d);b()},c=f.config.addOnLoad;if(c)a[e.isArray(c)?"apply":"call"](f,c);f.config.parseOnLoad&&!f.isAsync&&a(99,function(){f.parser||(f.deprecated("Add explicit require(['dojo/parser']);","","2.0"),k(["dojo/parser"]))});n?n(p):p();return a})},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(f){return function(p,k){function n(e){e=f.filter(e,p);var n=k&&k.sort;n&&e.sort("function"==
typeof n?n:function(b,a){for(var c,d=0;c=n[d];d++){var g=b[c.attribute],e=a[c.attribute],g=null!=g?g.valueOf():g,e=null!=e?e.valueOf():e;if(g!=e)return!!c.descending==(null==g||g>e)?-1:1}return 0});if(k&&(k.start||k.count)){var d=e.length;e=e.slice(k.start||0,(k.start||0)+(k.count||Infinity));e.total=d}return e}switch(typeof p){default:throw Error("Can not query with a "+typeof p);case "object":case "undefined":var e=p;p=function(f){for(var k in e){var d=e[k];if(d&&d.test){if(!d.test(f[k],f))return!1}else if(d!=
f[k])return!1}return!0};break;case "string":if(!this[p])throw Error("No filter function "+p+" was found in store");p=this[p];case "function":}n.matches=p;return n}})},"dijit/form/_ExpandingTextAreaMixin":function(){define("dojo/_base/declare dojo/dom-construct dojo/has dojo/_base/lang dojo/on dojo/_base/window ../Viewport".split(" "),function(f,p,k,n,e,h,q){k.add("textarea-needs-help-shrinking",function(){var d=h.body(),b=p.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",
height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},d,"last"),a=b.scrollHeight>=b.clientHeight;d.removeChild(b);return a});return f("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize()},postCreate:function(){this.inherited(arguments);var d=this.textbox;d.style.overflowY="hidden";
this.own(e(d,"focus, resize",n.hitch(this,"_resizeLater")))},startup:function(){this.inherited(arguments);this.own(q.on("resize",n.hitch(this,"_resizeLater")));this._resizeLater()},_onInput:function(d){this.inherited(arguments);this.resize()},_estimateHeight:function(){var d=this.textbox;d.rows=(d.value.match(/\n/g)||[]).length+1},_resizeLater:function(){this.defer("resize")},resize:function(){function d(){var a=!1;""===b.value&&(b.value=" ",a=!0);var c=b.scrollHeight;a&&(b.value="");return c}var b=
this.textbox;"hidden"==b.style.overflowY&&(b.scrollTop=0);if(!this.busyResizing){this.busyResizing=!0;if(d()||b.offsetHeight){var a=d()+Math.max(b.offsetHeight-b.clientHeight,0),c=a+"px";c!=b.style.height&&(b.style.height=c,b.rows=1);if(k("textarea-needs-help-shrinking")){var e=d(),g=b.style.minHeight,f=4,r=b.scrollTop;b.style.minHeight=c;for(b.style.height="auto";0<a;){b.style.minHeight=Math.max(a-f,4)+"px";c=d();e-=c;a-=e;if(e<f)break;e=c;f<<=1}b.style.height=a+"px";b.style.minHeight=g;b.scrollTop=
r}b.style.overflowY=d()>b.clientHeight?"auto":"hidden";"hidden"==b.style.overflowY&&(b.scrollTop=0)}else this._estimateHeight();this.busyResizing=!1}}})})},"dojo/_base/Deferred":function(){define("./kernel ../Deferred ../promise/Promise ../errors/CancelError ../has ./lang ../when".split(" "),function(f,p,k,n,e,h,q){var d=function(){},b=Object.freeze||function(){},a=f.Deferred=function(c){function l(a){if(r)throw Error("This deferred has already been resolved");f=a;r=!0;g()}function g(){for(var a;!a&&
v;){var b=v;v=v.next;if(a=b.progress==d)r=!1;var c=q?b.error:b.resolved;e("config-useDeferredInstrumentation")&&q&&p.instrumentRejected&&p.instrumentRejected(f,!!c);if(c)try{var g=c(f);g&&"function"===typeof g.then?g.then(h.hitch(b.deferred,"resolve"),h.hitch(b.deferred,"reject"),h.hitch(b.deferred,"progress")):(c=a&&void 0===g,a&&!c&&(q=g instanceof Error),b.deferred[c&&q?"reject":"resolve"](c?f:g))}catch(l){b.deferred.reject(l)}else q?b.deferred.reject(f):b.deferred.resolve(f)}}var f,r,m,t,q,u,
v,x=this.promise=new k;this.isResolved=x.isResolved=function(){return 0==t};this.isRejected=x.isRejected=function(){return 1==t};this.isFulfilled=x.isFulfilled=function(){return 0<=t};this.isCanceled=x.isCanceled=function(){return m};this.resolve=this.callback=function(a){this.fired=t=0;this.results=[a,null];l(a)};this.reject=this.errback=function(a){q=!0;this.fired=t=1;e("config-useDeferredInstrumentation")&&p.instrumentRejected&&p.instrumentRejected(a,!!v);l(a);this.results=[null,a]};this.progress=
function(a){for(var b=v;b;){var c=b.progress;c&&c(a);b=b.next}};this.addCallbacks=function(a,b){this.then(a,b,d);return this};x.then=this.then=function(b,c,e){var l=e==d?this:new a(x.cancel);b={resolved:b,error:c,progress:e,deferred:l};v?u=u.next=b:v=u=b;r&&g();return l.promise};var z=this;x.cancel=this.cancel=function(){if(!r){var a=c&&c(z);r||(a instanceof Error||(a=new n(a)),a.log=!1,z.reject(a))}m=!0};b(x)};h.extend(a,{addCallback:function(a){return this.addCallbacks(h.hitch.apply(f,arguments))},
addErrback:function(a){return this.addCallbacks(null,h.hitch.apply(f,arguments))},addBoth:function(a){var b=h.hitch.apply(f,arguments);return this.addCallbacks(b,b)},fired:-1});a.when=f.when=q;return a})},"dijit/typematic":function(){define("dojo/_base/array dojo/_base/connect dojo/_base/lang dojo/on dojo/sniff ./main".split(" "),function(f,p,k,n,e,h){var q=h.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(0>
this._currentTimeout?this._initialDelay:1<this._subsequentDelay?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay);this._timer=setTimeout(k.hitch(this,"_fireEventAndReload"),this._currentTimeout)},trigger:function(d,b,a,c,e,g,f,r){if(e!=this._obj){this.stop();this._initialDelay=f||500;this._subsequentDelay=g||0.9;this._minDelay=r||10;this._obj=e;this._node=a;this._count=this._currentTimeout=-1;this._callback=k.hitch(b,c);this._evt={faux:!0};for(var m in d)"layerX"!=
m&&"layerY"!=m&&(b=d[m],"function"!=typeof b&&"undefined"!=typeof b&&(this._evt[m]=b));this._fireEventAndReload()}},stop:function(){this._timer&&(clearTimeout(this._timer),this._timer=null);this._obj&&(this._callback(-1,this._node,this._evt),this._obj=null)},addKeyListener:function(d,b,a,c,e,g,h){var r="keyCode"in b?"keyCode":"charCode"in b?"charCode":"charOrCode",m=[n(d,"keyCode"in b?"keydown":"charCode"in b?"keypress":p._keypress,k.hitch(this,function(m){m[r]==b[r]&&(void 0===b.ctrlKey||b.ctrlKey==
m.ctrlKey)&&(void 0===b.altKey||b.altKey==m.altKey)&&(void 0===b.metaKey||b.metaKey==(m.metaKey||!1))&&(void 0===b.shiftKey||b.shiftKey==m.shiftKey)?(m.stopPropagation(),m.preventDefault(),q.trigger(m,a,d,c,b,e,g,h)):q._obj==b&&q.stop()})),n(d,"keyup",k.hitch(this,function(){q._obj==b&&q.stop()}))];return{remove:function(){f.forEach(m,function(a){a.remove()})}}},addMouseListener:function(d,b,a,c,l,g){var h=[n(d,"mousedown",k.hitch(this,function(e){e.preventDefault();q.trigger(e,b,d,a,d,c,l,g)})),
n(d,"mouseup",k.hitch(this,function(a){this._obj&&a.preventDefault();q.stop()})),n(d,"mouseout",k.hitch(this,function(a){this._obj&&a.preventDefault();q.stop()})),n(d,"dblclick",k.hitch(this,function(f){f.preventDefault();9>e("ie")&&(q.trigger(f,b,d,a,d,c,l,g),setTimeout(k.hitch(this,q.stop),50))}))];return{remove:function(){f.forEach(h,function(a){a.remove()})}}},addListener:function(d,b,a,c,e,g,h,r){var m=[this.addKeyListener(b,a,c,e,g,h,r),this.addMouseListener(d,c,e,g,h,r)];return{remove:function(){f.forEach(m,
function(a){a.remove()})}}}};return q})},"dgrid/util/misc":function(){define(["dojo/has"],function(f){f.add("dom-contains",function(d,b,a){return!!a.contains});var p=[],k,n,e,h=/([^A-Za-z0-9_\u00A0-\uFFFF-])/g,q={defaultDelay:15,throttle:function(d,b,a){var c=!1;a=a||q.defaultDelay;return function(){c||(c=!0,d.apply(b,arguments),setTimeout(function(){c=!1},a))}},throttleDelayed:function(d,b,a){var c=!1;a=a||q.defaultDelay;return function(){if(!c){c=!0;var e=arguments;setTimeout(function(){c=!1;d.apply(b,
e)},a)}}},debounce:function(d,b,a){var c;a=a||q.defaultDelay;return function(){c&&(clearTimeout(c),c=null);var e=arguments;c=setTimeout(function(){d.apply(b,e)},a)}},each:function(d,b,a){var c,e;if(d)if("number"===typeof d.length){c=0;for(e=d.length;c<e;c++)b.call(a,d[c],c,d)}else for(c in d)b.call(a,d[c],c,d)},addCssRule:function(d,b){k||(k=document.createElement("style"),document.getElementsByTagName("head")[0].appendChild(k),k=k.sheet||k.styleSheet,n=k.deleteRule?"deleteRule":"removeRule",e=k.cssRules?
"cssRules":"rules");var a=p.length;p[a]=(k.cssRules||k.rules).length;k.addRule?k.addRule(d,b):k.insertRule(d+"{"+b+"}",p[a]);return{get:function(b){return k[e][p[a]].style[b]},set:function(b,d){"undefined"!==typeof p[a]&&(k[e][p[a]].style[b]=d)},remove:function(){var b=p[a],d,g;if(void 0!==b){k[n](b);p[a]=void 0;d=a+1;for(g=p.length;d<g;d++)p[d]>b&&p[d]--}}}},escapeCssIdentifier:function(d,b){return"string"===typeof d?d.replace(h,b||"\\$1"):d}};return q})},"dijit/MenuItem":function(){define("dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-class dojo/_base/kernel dojo/sniff dojo/_base/lang ./_Widget ./_TemplatedMixin ./_Contained ./_CssStateMixin dojo/text!./templates/MenuItem.html".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l){q=f("dijit.MenuItem"+(h("dojo-bidi")?"_NoBidi":""),[d,b,a,c],{templateString:l,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(a){this._set("label",a);var b="",c;c=a.search(/{\S}/);if(0<=c){var b=a.charAt(c+1),d=a.substr(0,c);a=a.substr(c+3);c=d+b+a;a=d+'\x3cspan class\x3d"dijitMenuItemShortcutKey"\x3e'+b+"\x3c/span\x3e"+a}else c=a;this.domNode.setAttribute("aria-label",c+" "+this.accelKey);this.containerNode.innerHTML=a;this._set("shortcutKey",b)},iconClass:"dijitNoIcon",
_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:!1,_fillContent:function(a){a&&!("label"in this.params)&&this._set("label",a.innerHTML)},buildRendering:function(){this.inherited(arguments);k.set(this.containerNode,"id",this.id+"_text");this.accelKeyNode&&k.set(this.accelKeyNode,"id",this.id+"_accel");p.setSelectable(this.domNode,!1)},onClick:function(){},focus:function(){try{8==h("ie")&&this.containerNode.focus(),this.focusNode.focus()}catch(a){}},_setSelected:function(a){n.toggle(this.domNode,
"dijitMenuItemSelected",a)},setLabel:function(a){e.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",a)},setDisabled:function(a){e.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",a)},_setDisabledAttr:function(a){this.focusNode.setAttribute("aria-disabled",a?"true":"false");this._set("disabled",a)},_setAccelKeyAttr:function(a){this.accelKeyNode&&(this.accelKeyNode.style.display=
a?"":"none",this.accelKeyNode.innerHTML=a,k.set(this.containerNode,"colSpan",a?"1":"2"));this._set("accelKey",a)}});h("dojo-bidi")&&(q=f("dijit.MenuItem",q,{_setLabelAttr:function(a){this.inherited(arguments);"auto"===this.textDir&&this.applyTextDir(this.textDirNode)}}));return q})},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(f,p,k){k=f("dijit._MenuBarItemMixin",null,{templateString:k,_setIconClassAttr:null});f=f("dijit.MenuBarItem",
[p,k],{});f._MenuBarItemMixin=k;return f})},"dijit/layout/TabController":function(){define("dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-class dojo/has dojo/i18n dojo/_base/lang ./StackController ../registry ../Menu ../MenuItem dojo/text!./templates/_TabButton.html dojo/i18n!../nls/common".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l){l=f("dijit.layout._TabButton"+(e("dojo-bidi")?"_NoBidi":""),d.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:l,
_setNameAttr:"focusNode",scrollOnFocus:!1,buildRendering:function(){this.inherited(arguments);p.setSelectable(this.containerNode,!1)},startup:function(){this.inherited(arguments);var a=this.domNode;this.defer(function(){a.className=a.className},1)},_setCloseButtonAttr:function(a){this._set("closeButton",a);n.toggle(this.domNode,"dijitClosable",a);this.closeNode.style.display=a?"":"none";a&&(a=h.getLocalization("dijit","common"),this.closeNode&&k.set(this.closeNode,"title",a.itemClose))},_setDisabledAttr:function(a){this.inherited(arguments);
if(this.closeNode)if(a)k.remove(this.closeNode,"title");else{var b=h.getLocalization("dijit","common");k.set(this.closeNode,"title",b.itemClose)}},_setLabelAttr:function(a){this.inherited(arguments);!this.showLabel&&!this.params.title&&(this.iconNode.alt=q.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});e("dojo-bidi")&&(l=f("dijit.layout._TabButton",l,{_setLabelAttr:function(a){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt)}}));f=f("dijit.layout.TabController",
d,{baseClass:"dijitTabController",templateString:"\x3cdiv role\x3d'tablist' data-dojo-attach-event\x3d'onkeydown:onkeydown'\x3e\x3c/div\x3e",tabPosition:"top",buttonWidget:l,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var d=new a({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(a){return n.contains(a,"dijitClosable")&&!n.contains(a,"dijitTabDisabled")}});
this.own(d);var e=h.getLocalization("dijit","common"),l=this;d.addChild(new c({label:e.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(a){a=b.byNode(this.getParent().currentTarget);l.onCloseButtonClick(a.page)}}))}});f.TabButton=l;return f})},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(f,p){var k={};f.setObject("dojo.cldr.supplemental",k);k.getFirstDayOfWeek=function(f){f={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,
dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0}[k._region(f)];return void 0===f?1:f};k._region=function(f){f=p.normalizeLocale(f);f=f.split("-");var e=f[1];e?4==e.length&&(e=f[2]):e={aa:"et",
ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in",av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",
is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",
rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",
bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",
gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",
lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",
sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",
war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",zza:"tr"}[f[0]];return e};k.getWeekend=function(f){var e=k._region(f);f={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5}[e];e={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6}[e];void 0===f&&(f=6);void 0===e&&(e=0);return{start:f,end:e}};return k})},"dijit/MenuBar":function(){define(["dojo/_base/declare","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],
function(f,p,k,n){return f("dijit.MenuBar",k,{templateString:n,baseClass:"dijitMenuBar",popupDelay:0,_isMenuBar:!0,_orient:["below"],_moveToPopup:function(e){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled)this.onItemClick(this.focusedChild,e)},focusChild:function(e){this.inherited(arguments);this.activated&&(e.popup&&!e.disabled)&&this._openItemPopup(e,!0)},_onChildDeselect:function(e){this.currentPopupItem==e&&(this.currentPopupItem=null,e._closePopup());this.inherited(arguments)},
_onLeftArrow:function(){this.focusPrev()},_onRightArrow:function(){this.focusNext()},_onDownArrow:function(e){this._moveToPopup(e)},_onUpArrow:function(){},onItemClick:function(e,f){e.popup&&e.popup.isShowingNow&&(!/^key/.test(f.type)||f.keyCode!==p.DOWN_ARROW)?(e.focusNode.focus(),this._cleanUp(!0)):this.inherited(arguments)}})})},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(f,p,k,n){return f("dijit.ToolbarSeparator",[k,n],
{templateString:'\x3cdiv class\x3d"dijitToolbarSeparator dijitInline" role\x3d"presentation"\x3e\x3c/div\x3e',buildRendering:function(){this.inherited(arguments);p.setSelectable(this.domNode,!1)},isFocusable:function(){return!1}})})},"dijit/layout/_LayoutWidget":function(){define("dojo/_base/lang ../_Widget ../_Container ../_Contained ../Viewport dojo/_base/declare dojo/dom-class dojo/dom-geometry dojo/dom-style".split(" "),function(f,p,k,n,e,h,q,d,b){return h("dijit.layout._LayoutWidget",[p,k,n],
{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);q.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var a=this.getParent&&this.getParent();if(!a||!a.isLayoutContainer)this.resize(),this.own(e.on("resize",f.hitch(this,"resize")))}},resize:function(a,c){var e=this.domNode;a&&d.setMarginBox(e,a);var g=c||{};f.mixin(g,a||{});if(!("h"in g)||!("w"in g))g=f.mixin(d.getMarginBox(e),
g);var h=b.getComputedStyle(e),r=d.getMarginExtents(e,h),m=d.getBorderExtents(e,h),g=this._borderBox={w:g.w-(r.w+m.w),h:g.h-(r.h+m.h)},r=d.getPadExtents(e,h);this._contentBox={l:b.toPixelValue(e,h.paddingLeft),t:b.toPixelValue(e,h.paddingTop),w:g.w-r.w,h:g.h-r.h};this.layout()},layout:function(){},_setupChild:function(a){q.add(a.domNode,this.baseClass+"-child "+(a.baseClass?this.baseClass+"-"+a.baseClass:""))},addChild:function(a,b){this.inherited(arguments);this._started&&this._setupChild(a)},removeChild:function(a){q.remove(a.domNode,
this.baseClass+"-child"+(a.baseClass?" "+this.baseClass+"-"+a.baseClass:""));this.inherited(arguments)}})})},"dojo/selector/lite":function(){define(["../has","../_base/kernel"],function(f,p){var k=document.createElement("div"),n=k.matches||k.webkitMatchesSelector||k.mozMatchesSelector||k.msMatchesSelector||k.oMatchesSelector,e=k.querySelectorAll,h=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;f.add("dom-matches-selector",!!n);f.add("dom-qsa",!!e);var q=function(c,l){if(a&&-1<c.indexOf(","))return a(c,
l);var g=l?l.ownerDocument||l:p.doc||document,h=(e?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(c);l=l||g;if(h){var r=8===f("ie")&&f("quirks")?l.nodeType===g.nodeType:null!==l.parentNode&&9!==l.nodeType&&l.parentNode===g;if(h[2]&&r){var m=p.byId?p.byId(h[2],g):g.getElementById(h[2]);if(!m||h[1]&&h[1]!=m.tagName.toLowerCase())return[];if(l!=g)for(g=m;g!=l;)if(g=g.parentNode,!g)return[];return h[3]?q(h[3],m):[m]}if(h[3]&&l.getElementsByClassName)return l.getElementsByClassName(h[4]);
if(h[5])if(m=l.getElementsByTagName(h[5]),h[4]||h[6])c=(h[4]||"")+h[6];else return m}if(e)return 1===l.nodeType&&"object"!==l.nodeName.toLowerCase()?d(l,c,l.querySelectorAll):l.querySelectorAll(c);m||(m=l.getElementsByTagName("*"));h=[];g=0;for(r=m.length;g<r;g++){var t=m[g];1==t.nodeType&&b(t,c,l)&&h.push(t)}return h},d=function(a,b,d){var e=a,f=a.getAttribute("id"),m=f||"__dojo__",t=a.parentNode,k=/^\s*[+~]/.test(b);if(k&&!t)return[];f?m=m.replace(/'/g,"\\$\x26"):a.setAttribute("id",m);k&&t&&(a=
a.parentNode);b=b.match(h);for(t=0;t<b.length;t++)b[t]="[id\x3d'"+m+"'] "+b[t];b=b.join(",");try{return d.call(a,b)}finally{f||e.removeAttribute("id")}};if(!f("dom-matches-selector"))var b=function(){function a(b,c,d){var e=c.charAt(0);if('"'==e||"'"==e)c=c.slice(1,-1);c=c.replace(/\\/g,"");var g=h[d||""];return function(a){return(a=a.getAttribute(b))&&g(a,c)}}function b(a){return function(b,c){for(;(b=b.parentNode)!=c;)if(a(b,c))return!0}}function d(a){return function(b,c){b=b.parentNode;return a?
b!=c&&a(b,c):b==c}}function e(a,b){return a?function(c,d){return b(c)&&a(c,d)}:b}var f="div"==k.tagName?"toLowerCase":"toUpperCase",m={"":function(a){a=a[f]();return function(b){return b.tagName==a}},".":function(a){var b=" "+a+" ";return function(c){return-1<c.className.indexOf(a)&&-1<(" "+c.className+" ").indexOf(b)}},"#":function(a){return function(b){return b.id==a}}},h={"^\x3d":function(a,b){return 0==a.indexOf(b)},"*\x3d":function(a,b){return-1<a.indexOf(b)},"$\x3d":function(a,b){return a.substring(a.length-
b.length,a.length)==b},"~\x3d":function(a,b){return-1<(" "+a+" ").indexOf(" "+b+" ")},"|\x3d":function(a,b){return 0==(a+"-").indexOf(b+"-")},"\x3d":function(a,b){return a==b},"":function(a,b){return!0}},n={};return function(f,h,r){var k=n[h];if(!k){if(h.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(f,h,r,t,n,q,p){t?k=e(k,m[r||""](t.replace(/\\/g,""))):h?k=(" "==h?b:d)(k):n&&(k=e(k,a(n,p,q)));return""}))throw Error("Syntax error in query");
if(!k)return!0;n[h]=k}return k(f,r)}}();if(!f("dom-qsa"))var a=function(a,b){for(var d=a.match(h),e=[],f=0;f<d.length;f++){a=new String(d[f].replace(/\s*$/,""));a.indexOf=escape;for(var m=q(a,b),k=0,n=m.length;k<n;k++){var p=m[k];e[p.sourceIndex]=p}}d=[];for(f in e)d.push(e[f]);return d};q.match=n?function(a,b,e){return e&&9!=e.nodeType?d(e,b,function(b){return n.call(a,b)}):n.call(a,b)}:b;return q})},"dijit/popup":function(){define("dojo/_base/array dojo/aspect dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/has dojo/keys dojo/_base/lang dojo/on ./place ./BackgroundIframe ./Viewport ./main dojo/touch".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m){function t(){this._popupWrapper&&(h.destroy(this._popupWrapper),delete this._popupWrapper)}k=k(null,{_stack:[],_beginZIndex:1E3,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var a=this._firstAroundPosition,b=q.position(this._firstAroundNode,!0),d=b.x-a.x,a=b.y-a.y;if(d||a){this._firstAroundPosition=b;for(b=0;b<this._stack.length;b++){var e=this._stack[b].wrapper.style;e.top=parseFloat(e.top)+a+"px";"auto"==e.right?e.left=parseFloat(e.left)+
d+"px":e.right=parseFloat(e.right)-d+"px"}}this._aroundMoveListener=setTimeout(c.hitch(this,"_repositionAll"),d||a?10:50)}},_createWrapper:function(a){var b=a._popupWrapper,c=a.domNode;b||(b=h.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":a["aria-label"]||a.label||a.name||a.id},a.ownerDocumentBody),b.appendChild(c),c=c.style,c.display="",c.visibility="",c.position="",c.top="0px",a._popupWrapper=b,p.after(a,"destroy",t,!0),"ontouchend"in document&&l(b,"touchend",
function(a){/^(input|button|textarea)$/i.test(a.target.tagName)||a.preventDefault()}),b.dojoClick=!0);return b},moveOffScreen:function(a){var b=this._createWrapper(a);a=q.isBodyLtr(a.ownerDocument);var c={visibility:"hidden",top:"-9999px",display:""};c[a?"left":"right"]="-9999px";c[a?"right":"left"]="auto";d.set(b,c);return b},hide:function(a){var b=this._createWrapper(a);d.set(b,{display:"none",height:"auto",overflowY:"visible",border:""});a=a.domNode;"_originalStyle"in a&&(a.style.cssText=a._originalStyle)},
getTopPopup:function(){for(var a=this._stack,b=a.length-1;0<b&&a[b].parent===a[b-1].widget;b--);return a[b]},open:function(m){for(var f=this._stack,h=m.popup,k=h.domNode,t=m.orient||["below","below-alt","above","above-alt"],p=m.parent?m.parent.isLeftToRight():q.isBodyLtr(h.ownerDocument),A=m.around,B=m.around&&m.around.id?m.around.id+"_dropdown":"popup_"+this._idGen++;f.length&&(!m.parent||!n.isDescendant(m.parent.domNode,f[f.length-1].widget.domNode));)this.close(f[f.length-1].widget);var E=this.moveOffScreen(h);
h.startup&&!h._started&&h.startup();var H,L=q.position(k);if("maxHeight"in m&&-1!=m.maxHeight)H=m.maxHeight||Infinity;else{H=r.getEffectiveBox(this.ownerDocument);var M=A?q.position(A,!1):{y:m.y-(m.padding||0),h:2*(m.padding||0)};H=Math.floor(Math.max(M.y,H.h-(M.y+M.h)))}L.h>H&&(L=d.getComputedStyle(k),d.set(E,{overflowY:"scroll",height:H+"px",border:L.borderLeftWidth+" "+L.borderLeftStyle+" "+L.borderLeftColor}),k._originalStyle=k.style.cssText,k.style.border="none");e.set(E,{id:B,style:{zIndex:this._beginZIndex+
f.length},"class":"dijitPopup "+(h.baseClass||h["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:m.parent?m.parent.id:""});0==f.length&&A&&(this._firstAroundNode=A,this._firstAroundPosition=q.position(A,!0),this._aroundMoveListener=setTimeout(c.hitch(this,"_repositionAll"),50));b("config-bgIframe")&&!h.bgIframe&&(h.bgIframe=new s(E));B=h.orient?c.hitch(h,"orient"):null;t=A?g.around(E,A,t,p,B):g.at(E,m,"R"==t?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],m.padding,B);E.style.visibility="visible";
k.style.visibility="visible";k=[];k.push(l(E,"keydown",c.hitch(this,function(b){if(b.keyCode==a.ESCAPE&&m.onCancel)b.stopPropagation(),b.preventDefault(),m.onCancel();else if(b.keyCode==a.TAB&&(b.stopPropagation(),b.preventDefault(),(b=this.getTopPopup())&&b.onCancel))b.onCancel()})));h.onCancel&&m.onCancel&&k.push(h.on("cancel",m.onCancel));k.push(h.on(h.onExecute?"execute":"change",c.hitch(this,function(){var a=this.getTopPopup();if(a&&a.onExecute)a.onExecute()})));f.push({widget:h,wrapper:E,parent:m.parent,
onExecute:m.onExecute,onCancel:m.onCancel,onClose:m.onClose,handlers:k});if(h.onOpen)h.onOpen(t);return t},close:function(a){for(var b=this._stack;a&&f.some(b,function(b){return b.widget==a})||!a&&b.length;){var c=b.pop(),d=c.widget,e=c.onClose;d.bgIframe&&(d.bgIframe.destroy(),delete d.bgIframe);if(d.onClose)d.onClose();for(var g;g=c.handlers.pop();)g.remove();d&&d.domNode&&this.hide(d);e&&e()}0==b.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=
this._aroundMoveListener=null)}});return m.popup=new k})},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(f,p,k,n,e){var h={};f.forEach("byId getUniqueId findWidgets _destroyAll byNode getEnclosingWidget".split(" "),function(e){h[e]=n[e]});k.mixin(h,{defaultDuration:p.defaultDuration||200});k.mixin(e,h);return e})},"dijit/layout/StackController":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-class dojo/dom-construct dojo/keys dojo/_base/lang dojo/on dojo/topic ../focus ../registry ../_Widget ../_TemplatedMixin ../_Container ../form/ToggleButton dojo/touch".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s){n=p("dijit.layout._StackButton",s,{tabIndex:"-1",closeButton:!1,_aria_attr:"aria-selected",buildRendering:function(a){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab")}});p=p("dijit.layout.StackController",[c,l,g],{baseClass:"dijitStackController",templateString:"\x3cspan role\x3d'tablist' data-dojo-attach-event\x3d'onkeydown'\x3e\x3c/span\x3e",containerId:"",buttonWidget:n,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(b){return a.byId(this.id+
"_"+b)},postCreate:function(){this.inherited(arguments);this.own(d.subscribe(this.containerId+"-startup",h.hitch(this,"onStartup")),d.subscribe(this.containerId+"-addChild",h.hitch(this,"onAddChild")),d.subscribe(this.containerId+"-removeChild",h.hitch(this,"onRemoveChild")),d.subscribe(this.containerId+"-selectChild",h.hitch(this,"onSelectChild")),d.subscribe(this.containerId+"-containerKeyDown",h.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=!0;this.own(q(this.containerNode,"click",
h.hitch(this,function(b){var c=a.getEnclosingWidget(b.target);if(c!=this.containerNode&&!c.disabled&&c.page)for(b=b.target;b!==this.containerNode;b=b.parentNode)if(k.contains(b,this.buttonWidgetCloseClass)){this.onCloseButtonClick(c.page);break}else if(b==c.domNode){this.onButtonClick(c.page);break}})))},onStartup:function(b){this.textDir=b.textDir;f.forEach(b.children,this.onAddChild,this);if(b.selected)this.onSelectChild(b.selected);var c=a.byId(this.containerId).containerNode,d=h.hitch(this,"pane2button");
b={title:"label",showtitle:"showLabel",iconclass:"iconClass",closable:"closeButton",tooltip:"title",disabled:"disabled",textdir:"textdir"};var e=function(a,b){return q(c,"attrmodified-"+a,function(a){var c=d(a.detail&&a.detail.widget&&a.detail.widget.id);c&&c.set(b,a.detail.newValue)})},g;for(g in b)this.own(e(g,b[g]))},destroy:function(a){this.destroyDescendants(a);this.inherited(arguments)},onAddChild:function(a,b){var c=new (h.isString(this.buttonWidget)?h.getObject(this.buttonWidget):this.buttonWidget)({id:this.id+
"_"+a.id,name:this.id+"_"+a.id,label:a.title,disabled:a.disabled,ownerDocument:this.ownerDocument,dir:a.dir,lang:a.lang,textDir:a.textDir||this.textDir,showLabel:a.showTitle,iconClass:a.iconClass,closeButton:a.closable,title:a.tooltip,page:a});this.addChild(c,b);a.controlButton=c;if(!this._currentChild)this.onSelectChild(a);c=a._wrapper.getAttribute("aria-labelledby")?a._wrapper.getAttribute("aria-labelledby")+" "+c.id:c.id;a._wrapper.removeAttribute("aria-label");a._wrapper.setAttribute("aria-labelledby",
c)},onRemoveChild:function(a){this._currentChild===a&&(this._currentChild=null);var b=this.pane2button(a.id);b&&(this.removeChild(b),b.destroy());delete a.controlButton},onSelectChild:function(b){if(b){if(this._currentChild){var c=this.pane2button(this._currentChild.id);c.set("checked",!1);c.focusNode.setAttribute("tabIndex","-1")}c=this.pane2button(b.id);c.set("checked",!0);this._currentChild=b;c.focusNode.setAttribute("tabIndex","0");a.byId(this.containerId)}},onButtonClick:function(c){var d=this.pane2button(c.id);
b.focus(d.focusNode);this._currentChild&&this._currentChild.id===c.id&&d.set("checked",!0);a.byId(this.containerId).selectChild(c)},onCloseButtonClick:function(c){a.byId(this.containerId).closeChild(c);this._currentChild&&(c=this.pane2button(this._currentChild.id))&&b.focus(c.focusNode||c.domNode)},adjacent:function(a){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition)))a=!a;var b=this.getChildren(),c=f.indexOf(b,this.pane2button(this._currentChild.id)),d=b[c],e;do c=
(c+(a?1:b.length-1))%b.length,e=b[c];while(e.disabled&&e!=d);return e},onkeydown:function(a,b){if(!this.disabled&&!a.altKey){var c=null;if(a.ctrlKey||!a._djpage){switch(a.keyCode){case e.LEFT_ARROW:case e.UP_ARROW:a._djpage||(c=!1);break;case e.PAGE_UP:a.ctrlKey&&(c=!1);break;case e.RIGHT_ARROW:case e.DOWN_ARROW:a._djpage||(c=!0);break;case e.PAGE_DOWN:a.ctrlKey&&(c=!0);break;case e.HOME:for(var d=this.getChildren(),g=0;g<d.length;g++){var l=d[g];if(!l.disabled){this.onButtonClick(l.page);break}}a.stopPropagation();
a.preventDefault();break;case e.END:d=this.getChildren();for(g=d.length-1;0<=g;g--)if(l=d[g],!l.disabled){this.onButtonClick(l.page);break}a.stopPropagation();a.preventDefault();break;case e.DELETE:case 87:if(this._currentChild.closable&&(a.keyCode==e.DELETE||a.ctrlKey))this.onCloseButtonClick(this._currentChild),a.stopPropagation(),a.preventDefault();break;case e.TAB:a.ctrlKey&&(this.onButtonClick(this.adjacent(!a.shiftKey).page),a.stopPropagation(),a.preventDefault())}null!==c&&(this.onButtonClick(this.adjacent(c).page),
a.stopPropagation(),a.preventDefault())}}},onContainerKeyDown:function(a){a.e._djpage=a.page;this.onkeydown(a.e)}});p.StackButton=n;return p})},"dstore/Memory":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/array ./Store ./Promised ./SimpleQuery ./QueryResults".split(" "),function(f,p,k,n,e,h,q){return f([n,e,h],{constructor:function(){this.storage.version=0},postscript:function(){this.inherited(arguments);this.setData(this.data||[])},data:null,autoEmitEvents:!1,getSync:function(d){return this.storage.fullData[this.storage.index[d]]},
putSync:function(d,b){b=b||{};var a=this.storage,c=a.index,e=a.fullData,g=this.Model;g&&!(d instanceof g)&&(d=this._restore(d));var f=this.getIdentity(d);null==f&&(this._setIdentity(d,"id"in b?b.id:Math.random()),f=this.getIdentity(d));a.version++;var a=f in c?"update":"add",g={target:d},h;if("update"===a){if(!1===b.overwrite)throw Error("Object already exists");e.splice(h=c[f],1);f=h}else f=this.defaultNewToStart?0:e.length;var m;if("beforeId"in b){var k=b.beforeId;null===k?m=e.length:(m=c[k],h<
m&&--m);void 0!==m?g.beforeId=k:(console.error("options.beforeId was specified but no corresponding index was found"),m=f)}else m=f;e.splice(m,0,d);h=isFinite(h)?Math.min(h,m):m;for(f=e.length;h<f;++h)c[this.getIdentity(e[h])]=h;this.emit(a,g);return d},addSync:function(d,b){(b=b||{}).overwrite=!1;return this.putSync(d,b)},removeSync:function(d){var b=this.storage,a=b.index,b=b.fullData;if(d in a)return a=b.splice(a[d],1)[0],this._reindex(),this.emit("delete",{id:d,target:a}),!0},setData:function(d){this.parse&&
(d=this.parse(d));d.items&&(this.idProperty=d.identifier||this.idProperty,d=d.items);this.storage.fullData=this.data=d;this._reindex()},_reindex:function(){for(var d=this.storage,b=d.index={},a=d.fullData,c=this.Model,e=Object.prototype,g=0,f=a.length;g<f;g++){var h=a[g];if(c&&!(h instanceof c)){var m=this._restore(h,h.__proto__===e);h!==m&&(a[g]=h=m)}b[this.getIdentity(h)]=g}d.version++},fetchSync:function(){var d=this.data;if(!d||d._version!==this.storage.version){for(var d=this.storage.fullData,
b=this.queryLog,a=0,c=b.length;a<c;a++)d=b[a].querier(d);d._version=this.storage.version;this.data=d}return new q(d)},fetchRangeSync:function(d){var b=this.fetchSync();return new q(b.slice(d.start,d.end),{totalLength:b.length})},_includePropertyInSubCollection:function(d){return"data"!==d&&this.inherited(arguments)}})})},"dojo/dnd/Mover":function(){define("../_base/array ../_base/declare ../_base/lang ../sniff ../_base/window ../dom ../dom-geometry ../dom-style ../Evented ../on ../touch ./common ./autoscroll".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g){return p("dojo.dnd.Mover",[b],{constructor:function(b,d,e){function l(a){a.preventDefault();a.stopPropagation()}this.node=h.byId(b);this.marginBox={l:d.pageX,t:d.pageY};this.mouseButton=d.button;d=this.host=e;b=b.ownerDocument;this.events=[a(b,c.move,k.hitch(this,"onFirstMove")),a(b,c.move,k.hitch(this,"onMouseMove")),a(b,c.release,k.hitch(this,"onMouseUp")),a(b,"dragstart",l),a(b.body,"selectstart",l)];g.autoScrollStart(b);if(d&&d.onMoveStart)d.onMoveStart(this)},
onMouseMove:function(a){g.autoScroll(a);var b=this.marginBox;this.host.onMove(this,{l:b.l+a.pageX,t:b.t+a.pageY},a);a.preventDefault();a.stopPropagation()},onMouseUp:function(a){(n("webkit")&&n("mac")&&2==this.mouseButton?0==a.button:this.mouseButton==a.button)&&this.destroy();a.preventDefault();a.stopPropagation()},onFirstMove:function(a){var b=this.node.style,c,g=this.host;switch(b.position){case "relative":case "absolute":c=Math.round(parseFloat(b.left))||0;b=Math.round(parseFloat(b.top))||0;break;
default:b.position="absolute";b=q.getMarginBox(this.node);c=e.doc.body;var l=d.getComputedStyle(c),f=q.getMarginBox(c,l),l=q.getContentBox(c,l);c=b.l-(l.l-f.l);b=b.t-(l.t-f.t)}this.marginBox.l=c-this.marginBox.l;this.marginBox.t=b-this.marginBox.t;if(g&&g.onFirstMove)g.onFirstMove(this,a);this.events.shift().remove()},destroy:function(){f.forEach(this.events,function(a){a.remove()});var a=this.host;if(a&&a.onMoveStop)a.onMoveStop(this);this.events=this.node=this.host=null}})})},"dojo/request/default":function(){define(["exports",
"require","../has"],function(f,p,k){var n=k("config-requestProvider");n||(n="./xhr");f.getPlatformDefaultId=function(){return"./xhr"};f.load=function(e,f,k,d){p(["platform"==e?"./xhr":n],function(b){k(b)})}})},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(f,p,k,n,e){return p("dijit.layout.TabContainer",k,{useMenu:!0,useSlider:!0,controllerWidget:"",_makeController:function(e){var k=
this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout");return new ("string"==typeof this.controllerWidget?f.getObject(this.controllerWidget):this.controllerWidget)({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":k,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},
e)},postMixInProperties:function(){this.inherited(arguments);this.controllerWidget||(this.controllerWidget=("top"==this.tabPosition||"bottom"==this.tabPosition)&&!this.nested?e:n)}})})},"dijit/BackgroundIframe":function(){define("require ./main dojo/_base/config dojo/dom-construct dojo/dom-style dojo/_base/lang dojo/on dojo/sniff".split(" "),function(f,p,k,n,e,h,q,d){d.add("config-bgIframe",d("ie")&&!/IEMobile\/10\.0/.test(navigator.userAgent)||d("trident")&&/Windows NT 6.[01]/.test(navigator.userAgent));
var b=new function(){var a=[];this.pop=function(){var b;a.length?(b=a.pop(),b.style.display=""):(9>d("ie")?(b="\x3ciframe src\x3d'"+(k.dojoBlankHtmlUrl||f.toUrl("dojo/resources/blank.html")||'javascript:""')+"' role\x3d'presentation' style\x3d'position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity\x3d\"0\");'\x3e",b=document.createElement(b)):(b=n.create("iframe"),b.src='javascript:""',b.className="dijitBackgroundIframe",b.setAttribute("role","presentation"),e.set(b,"opacity",0.1)),
b.tabIndex=-1);return b};this.push=function(b){b.style.display="none";a.push(b)}};p.BackgroundIframe=function(a){if(!a.id)throw Error("no id");if(d("config-bgIframe")){var c=this.iframe=b.pop();a.appendChild(c);7>d("ie")||d("quirks")?(this.resize(a),this._conn=q(a,"resize",h.hitch(this,"resize",a))):e.set(c,{width:"100%",height:"100%"})}};h.extend(p.BackgroundIframe,{resize:function(a){this.iframe&&e.set(this.iframe,{width:a.offsetWidth+"px",height:a.offsetHeight+"px"})},destroy:function(){this._conn&&
(this._conn.remove(),this._conn=null);this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),b.push(this.iframe),delete this.iframe)}});return p.BackgroundIframe})},"dojo/dnd/Avatar":function(){define("../_base/declare ../_base/window ../dom ../dom-attr ../dom-class ../dom-construct ../hccss ../query".split(" "),function(f,p,k,n,e,h,q,d){return f("dojo.dnd.Avatar",null,{constructor:function(b){this.manager=b;this.construct()},construct:function(){var b=h.create("table",{"class":"dojoDndAvatar",
style:{position:"absolute",zIndex:"1999",margin:"0px"}}),a=this.manager.source,c,d=h.create("tbody",null,b),e=h.create("tr",null,d),f=h.create("td",null,e),r=Math.min(5,this.manager.nodes.length),m=0;q("highcontrast")&&h.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"\x3c"},f);h.create("span",{innerHTML:a.generateText?this._generateText():""},f);for(n.set(e,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});m<r;++m)a.creator?c=a._normalizedCreator(a.getItem(this.manager.nodes[m].id).data,
"avatar").node:(c=this.manager.nodes[m].cloneNode(!0),"tr"==c.tagName.toLowerCase()&&(e=h.create("table"),h.create("tbody",null,e).appendChild(c),c=e)),c.id="",e=h.create("tr",null,d),f=h.create("td",null,e),f.appendChild(c),n.set(e,{"class":"dojoDndAvatarItem",style:{opacity:(9-m)/10}});this.node=b},destroy:function(){h.destroy(this.node);this.node=!1},update:function(){e.toggle(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);if(q("highcontrast")){var b=k.byId("a11yIcon"),a="+";this.manager.canDropFlag&&
!this.manager.copy?a="\x3c ":!this.manager.canDropFlag&&!this.manager.copy?a="o":this.manager.canDropFlag||(a="x");b.innerHTML=a}d("tr.dojoDndAvatarHeader td span"+(q("highcontrast")?" span":""),this.node).forEach(function(a){a.innerHTML=this.manager.source.generateText?this._generateText():""},this)},_generateText:function(){return this.manager.nodes.length.toString()}})})},"dijit/form/_Spinner":function(){define("dojo/_base/declare dojo/keys dojo/_base/lang dojo/sniff dojo/mouse dojo/on ../typematic ./RangeBoundTextBox dojo/text!./templates/Spinner.html ./_TextBoxMixin".split(" "),
function(f,p,k,n,e,h,q,d,b,a){return f("dijit.form._Spinner",d,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:b,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{upArrowNode:"dijitUpArrowButton",downArrowNode:"dijitDownArrowButton"},adjust:function(a){return a},_arrowPressed:function(b,d,e){!this.disabled&&!this.readOnly&&(this._setValueAttr(this.adjust(this.get("value"),d*e),!1),a.selectInputText(this.textbox,this.textbox.value.length))},
_arrowReleased:function(){this._wheelTimer=null},_typematicCallback:function(a,b,d){var e=this.smallDelta;b==this.textbox&&(b=d.keyCode,e=b==p.PAGE_UP||b==p.PAGE_DOWN?this.largeDelta:this.smallDelta,b=b==p.UP_ARROW||b==p.PAGE_UP?this.upArrowNode:this.downArrowNode);-1==a?this._arrowReleased(b):this._arrowPressed(b,b==this.upArrowNode?1:-1,e)},_wheelTimer:null,_mouseWheeled:function(a){if(this.focused){a.stopPropagation();a.preventDefault();var b=a.wheelDelta/120;Math.floor(b)!=b&&(b=0<a.wheelDelta?
1:-1);a=a.detail?-1*a.detail:b;if(0!==a){var d=this[0<a?"upArrowNode":"downArrowNode"];this._arrowPressed(d,a,this.smallDelta);this._wheelTimer&&this._wheelTimer.remove();this._wheelTimer=this.defer(function(){this._arrowReleased(d)},50)}}},_setConstraintsAttr:function(a){this.inherited(arguments);this.focusNode&&(void 0!==this.constraints.min?this.focusNode.setAttribute("aria-valuemin",this.constraints.min):this.focusNode.removeAttribute("aria-valuemin"),void 0!==this.constraints.max?this.focusNode.setAttribute("aria-valuemax",
this.constraints.max):this.focusNode.removeAttribute("aria-valuemax"))},_setValueAttr:function(a,b){this.focusNode.setAttribute("aria-valuenow",a);this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this.own(h(this.domNode,e.wheel,k.hitch(this,"_mouseWheeled")),q.addListener(this.upArrowNode,this.textbox,{keyCode:p.UP_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),q.addListener(this.downArrowNode,
this.textbox,{keyCode:p.DOWN_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),q.addListener(this.upArrowNode,this.textbox,{keyCode:p.PAGE_UP,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),q.addListener(this.downArrowNode,this.textbox,{keyCode:p.PAGE_DOWN,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",
this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout))}})})},"dijit/form/Button":function(){define("require dojo/_base/declare dojo/dom-class dojo/has dojo/_base/kernel dojo/_base/lang dojo/ready ./_FormWidget ./_ButtonMixin dojo/text!./templates/Button.html ../a11yclick".split(" "),function(f,p,k,n,e,h,q,d,b,a){n("dijit-legacy-requires")&&q(0,function(){f(["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"])});q=p("dijit.form.Button"+(n("dojo-bidi")?"_NoBidi":
""),[d,b],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:a,_setValueAttr:"valueNode",_setNameAttr:function(a){this.valueNode&&this.valueNode.setAttribute("name",a)},postCreate:function(){this.inherited(arguments);this._setLabelFromContainer()},_setLabelFromContainer:function(){this.containerNode&&!this.label&&(this.label=h.trim(this.containerNode.innerHTML),this.onLabelSet())},_setShowLabelAttr:function(a){this.containerNode&&
k.toggle(this.containerNode,"dijitDisplayNone",!a);this._set("showLabel",a)},setLabel:function(a){e.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",a)},onLabelSet:function(){this.inherited(arguments);!this.showLabel&&!("title"in this.params)&&(this.titleNode.title=h.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});n("dojo-bidi")&&(q=p("dijit.form.Button",q,{onLabelSet:function(){this.inherited(arguments);
this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(a){this._created&&this.textDir!=a&&(this._set("textDir",a),this._setLabelAttr(this.label))}}));return q})},"dojo/dnd/move":function(){define("../_base/declare ../dom-geometry ../dom-style ./common ./Mover ./Moveable".split(" "),function(f,p,k,n,e,h){n=f("dojo.dnd.move.constrainedMoveable",h,{constraints:function(){},within:!1,constructor:function(e,d){d||(d={});this.constraints=d.constraints;this.within=
d.within},onFirstMove:function(e){var d=this.constraintBox=this.constraints.call(this,e);d.r=d.l+d.w;d.b=d.t+d.h;this.within&&(e=p.getMarginSize(e.node),d.r-=e.w,d.b-=e.h)},onMove:function(e,d){var b=this.constraintBox,a=e.node.style;this.onMoving(e,d);d.l=d.l<b.l?b.l:b.r<d.l?b.r:d.l;d.t=d.t<b.t?b.t:b.b<d.t?b.b:d.t;a.left=d.l+"px";a.top=d.t+"px";this.onMoved(e,d)}});e=f("dojo.dnd.move.boxConstrainedMoveable",n,{box:{},constructor:function(e,d){var b=d&&d.box;this.constraints=function(){return b}}});
f=f("dojo.dnd.move.parentConstrainedMoveable",n,{area:"content",constructor:function(e,d){var b=d&&d.area;this.constraints=function(){var a=this.node.parentNode,c=k.getComputedStyle(a),d=p.getMarginBox(a,c);if("margin"==b)return d;var e=p.getMarginExtents(a,c);d.l+=e.l;d.t+=e.t;d.w-=e.w;d.h-=e.h;if("border"==b)return d;e=p.getBorderExtents(a,c);d.l+=e.l;d.t+=e.t;d.w-=e.w;d.h-=e.h;if("padding"==b)return d;e=p.getPadExtents(a,c);d.l+=e.l;d.t+=e.t;d.w-=e.w;d.h-=e.h;return d}}});return{constrainedMoveable:n,
boxConstrainedMoveable:e,parentConstrainedMoveable:f}})},"dijit/_WidgetBase":function(){define("require dojo/_base/array dojo/aspect dojo/_base/config dojo/_base/connect dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-class dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/has dojo/_base/kernel dojo/_base/lang dojo/on dojo/ready dojo/Stateful dojo/topic dojo/_base/window ./Destroyable dojo/has!dojo-bidi?./_BidiMixin ./registry".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m,t,w,u,v,
x,z,y){function A(a){return function(b){d[b?"set":"remove"](this.domNode,a,b);this._set(a,b)}}g.add("dijit-legacy-requires",!s.isAsync);g.add("dojo-bidi",!1);g("dijit-legacy-requires")&&t(0,function(){f(["dijit/_base/manager"])});var B={};n=h("dijit._WidgetBase",[w,x],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:A("lang"),dir:"",_setDirAttr:A("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,
ownerDocument:null,_setOwnerDocumentAttr:function(a){this._set("ownerDocument",a)},attributeMap:{},_blankGif:n.blankGif||f.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var a=this.constructor;if(!a._setterAttrs){var b=a.prototype,c=a._setterAttrs=[],a=a._onMap={},d;for(d in b.attributeMap)c.push(d);for(d in b)/^on/.test(d)&&(a[d.substring(2).toLowerCase()]=d),/^_set[A-Z](.*)Attr$/.test(d)&&(d=d.charAt(4).toLowerCase()+d.substr(5,d.length-9),(!b.attributeMap||!(d in b.attributeMap))&&
c.push(d))}},postscript:function(a,b){this.create(a,b)},create:function(a,b){this._introspect();this.srcNodeRef=q.byId(b);this._connects=[];this._supportingWidgets=[];this.srcNodeRef&&(this.srcNodeRef.id&&"string"==typeof this.srcNodeRef.id)&&(this.id=this.srcNodeRef.id);a&&(this.params=a,r.mixin(this,a));this.postMixInProperties();this.id||(this.id=y.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id);this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:
document);this.ownerDocumentBody=v.body(this.ownerDocument);y.add(this);this.buildRendering();var c;if(this.domNode){this._applyAttributes();var d=this.srcNodeRef;d&&(d.parentNode&&this.domNode!==d)&&(d.parentNode.replaceChild(this.domNode,d),c=!0);this.domNode.setAttribute("widgetId",this.id)}this.postCreate();c&&delete this.srcNodeRef;this._created=!0},_applyAttributes:function(){var a={},b;for(b in this.params||{})a[b]=this._get(b);p.forEach(this.constructor._setterAttrs,function(b){if(!(b in a)){var c=
this._get(b);c&&this.set(b,c)}},this);for(b in a)this.set(b,a[b])},postMixInProperties:function(){},buildRendering:function(){this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div"));if(this.baseClass){var a=this.baseClass.split(" ");this.isLeftToRight()||(a=a.concat(p.map(a,function(a){return a+"Rtl"})));b.add(this.domNode,a)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,p.forEach(this.getChildren(),function(a){!a._started&&(!a._destroyed&&
r.isFunction(a.startup))&&(a.startup(),a._started=!0)}))},destroyRecursive:function(a){this._beingDestroyed=!0;this.destroyDescendants(a);this.destroy(a)},destroy:function(a){function b(c){c.destroyRecursive?c.destroyRecursive(a):c.destroy&&c.destroy(a)}this._beingDestroyed=!0;this.uninitialize();p.forEach(this._connects,r.hitch(this,"disconnect"));p.forEach(this._supportingWidgets,b);this.domNode&&p.forEach(y.findWidgets(this.domNode,this.containerNode),b);this.destroyRendering(a);y.remove(this.id);
this._destroyed=!0},destroyRendering:function(b){this.bgIframe&&(this.bgIframe.destroy(b),delete this.bgIframe);this.domNode&&(b?d.remove(this.domNode,"widgetId"):a.destroy(this.domNode),delete this.domNode);this.srcNodeRef&&(b||a.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(a){p.forEach(this.getChildren(),function(b){b.destroyRecursive&&b.destroyRecursive(a)})},uninitialize:function(){return!1},_setStyleAttr:function(a){var b=this.domNode;r.isObject(a)?l.set(b,a):
b.style.cssText=b.style.cssText?b.style.cssText+("; "+a):a;this._set("style",a)},_attrToDom:function(a,c,e){e=3<=arguments.length?e:this.attributeMap[a];p.forEach(r.isArray(e)?e:[e],function(e){var g=this[e.node||e||"domNode"];switch(e.type||"attribute"){case "attribute":r.isFunction(c)&&(c=r.hitch(this,c));e=e.attribute?e.attribute:/^on[A-Z][a-zA-Z]*$/.test(a)?a.toLowerCase():a;g.tagName?d.set(g,e,c):g.set(e,c);break;case "innerText":g.innerHTML="";g.appendChild(this.ownerDocument.createTextNode(c));
break;case "innerHTML":g.innerHTML=c;break;case "class":b.replace(g,c,this[a]);break;case "toggleClass":b.toggle(g,e.className||a,c)}},this)},get:function(a){var b=this._getAttrNames(a);return this[b.g]?this[b.g]():this._get(a)},set:function(a,b){if("object"===typeof a){for(var c in a)this.set(c,a[c]);return this}c=this._getAttrNames(a);var d=this[c.s];if(r.isFunction(d))var e=d.apply(this,Array.prototype.slice.call(arguments,1));else{var d=this.focusNode&&!r.isFunction(this.focusNode)?"focusNode":
"domNode",g=this[d]&&this[d].tagName,m;if(m=g)if(!(m=B[g])){m=this[d];var l={},f;for(f in m)l[f.toLowerCase()]=!0;m=B[g]=l}f=m;c=a in this.attributeMap?this.attributeMap[a]:c.s in this?this[c.s]:f&&c.l in f&&"function"!=typeof b||/^aria-|^data-|^role$/.test(a)?d:null;null!=c&&this._attrToDom(a,b,c);this._set(a,b)}return e||this},_attrPairNames:{},_getAttrNames:function(a){var b=this._attrPairNames;if(b[a])return b[a];var c=a.replace(/^[a-z]|-[a-zA-Z]/g,function(a){return a.charAt(a.length-1).toUpperCase()});
return b[a]={n:a+"Node",s:"_set"+c+"Attr",g:"_get"+c+"Attr",l:c.toLowerCase()}},_set:function(a,b){var c=this[a];this[a]=b;if(this._created&&!(c===b||c!==c&&b!==b))this._watchCallbacks&&this._watchCallbacks(a,c,b),this.emit("attrmodified-"+a,{detail:{prevValue:c,newValue:b}})},_get:function(a){return this[a]},emit:function(a,b,c){b=b||{};void 0===b.bubbles&&(b.bubbles=!0);void 0===b.cancelable&&(b.cancelable=!0);b.detail||(b.detail={});b.detail.widget=this;var d,e=this["on"+a];e&&(d=e.apply(this,
c?c:[b]));this._started&&!this._beingDestroyed&&m.emit(this.domNode,a.toLowerCase(),b);return d},on:function(a,b){var c=this._onMap(a);return c?k.after(this,c,b,!0):this.own(m(this.domNode,a,b))[0]},_onMap:function(a){var b=this.constructor,c=b._onMap;if(!c){var c=b._onMap={},d;for(d in b.prototype)/^on/.test(d)&&(c[d.replace(/^on/,"").toLowerCase()]=d)}return c["string"==typeof a&&a.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?
y.findWidgets(this.containerNode):[]},getParent:function(){return y.getEnclosingWidget(this.domNode.parentNode)},connect:function(a,b,c){return this.own(e.connect(a,b,this,c))[0]},disconnect:function(a){a.remove()},subscribe:function(a,b){return this.own(u.subscribe(a,r.hitch(this,b)))[0]},unsubscribe:function(a){a.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir.toLowerCase():c.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&"none"!=l.get(this.domNode,"display")},
placeAt:function(b,c){var d=!b.tagName&&y.byId(b);d&&d.addChild&&(!c||"number"===typeof c)?d.addChild(this,c):(d=d&&"domNode"in d?d.containerNode&&!/after|before|replace/.test(c||"")?d.containerNode:d.domNode:q.byId(b,this.ownerDocument),a.place(this.domNode,d,c),!this._started&&(this.getParent()||{})._started&&this.startup());return this},defer:function(a,b){var c=setTimeout(r.hitch(this,function(){c&&(c=null,this._destroyed||r.hitch(this,a)())}),b||0);return{remove:function(){c&&(clearTimeout(c),
c=null);return null}}}});g("dojo-bidi")&&n.extend(z);return n})},"dijit/layout/_TabContainerBase":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-geometry dojo/dom-style ./StackContainer ./utils ../_TemplatedMixin dojo/text!./templates/TabContainer.html".split(" "),function(f,p,k,n,e,h,q,d){return f("dijit.layout._TabContainerBase",[e,q],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:!1,nested:!1,templateString:d,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+
this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&n.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);this.doLayout||p.add(this.domNode,"dijitTabContainerNoLayout");this.nested?(p.add(this.domNode,"dijitTabContainerNested"),p.add(this.tablist.containerNode,"dijitTabContainerTabListNested"),p.add(this.tablistSpacer,"dijitTabContainerSpacerNested"),p.add(this.containerNode,
"dijitTabPaneWrapperNested")):p.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"))},_setupChild:function(b){p.add(b.domNode,"dijitTabPane");this.inherited(arguments)},startup:function(){this._started||(this.tablist.startup(),this.inherited(arguments))},layout:function(){if(this._contentBox&&"undefined"!=typeof this._contentBox.l){var b=this.selectedChildWidget;if(this.doLayout){var a=this.tabPosition.replace(/-h/,"");this.tablist.region=a;a=[this.tablist,{domNode:this.tablistSpacer,
region:a},{domNode:this.containerNode,region:"center"}];h.layoutChildren(this.domNode,this._contentBox,a);this._containerContentBox=h.marginBox2contentBox(this.containerNode,a[2]);b&&b.resize&&b.resize(this._containerContentBox)}else{if(this.tablist.resize){a=this.tablist.domNode.style;a.width="0";var c=k.getContentBox(this.domNode).w;a.width="";this.tablist.resize({w:c})}b&&b.resize&&b.resize()}}},destroy:function(b){this.tablist&&this.tablist.destroy(b);this.inherited(arguments)}})})},"dojo/_base/html":function(){define("./kernel ../dom ../dom-style ../dom-attr ../dom-prop ../dom-class ../dom-construct ../dom-geometry".split(" "),
function(f,p,k,n,e,h,q,d){f.byId=p.byId;f.isDescendant=p.isDescendant;f.setSelectable=p.setSelectable;f.getAttr=n.get;f.setAttr=n.set;f.hasAttr=n.has;f.removeAttr=n.remove;f.getNodeProp=n.getNodeProp;f.attr=function(b,a,c){return 2==arguments.length?n["string"==typeof a?"get":"set"](b,a):n.set(b,a,c)};f.hasClass=h.contains;f.addClass=h.add;f.removeClass=h.remove;f.toggleClass=h.toggle;f.replaceClass=h.replace;f._toDom=f.toDom=q.toDom;f.place=q.place;f.create=q.create;f.empty=function(b){q.empty(b)};
f._destroyElement=f.destroy=function(b){q.destroy(b)};f._getPadExtents=f.getPadExtents=d.getPadExtents;f._getBorderExtents=f.getBorderExtents=d.getBorderExtents;f._getPadBorderExtents=f.getPadBorderExtents=d.getPadBorderExtents;f._getMarginExtents=f.getMarginExtents=d.getMarginExtents;f._getMarginSize=f.getMarginSize=d.getMarginSize;f._getMarginBox=f.getMarginBox=d.getMarginBox;f.setMarginBox=d.setMarginBox;f._getContentBox=f.getContentBox=d.getContentBox;f.setContentSize=d.setContentSize;f._isBodyLtr=
f.isBodyLtr=d.isBodyLtr;f._docScroll=f.docScroll=d.docScroll;f._getIeDocumentElementOffset=f.getIeDocumentElementOffset=d.getIeDocumentElementOffset;f._fixIeBiDiScrollLeft=f.fixIeBiDiScrollLeft=d.fixIeBiDiScrollLeft;f.position=d.position;f.marginBox=function(b,a){return a?d.setMarginBox(b,a):d.getMarginBox(b)};f.contentBox=function(b,a){return a?d.setContentSize(b,a):d.getContentBox(b)};f.coords=function(b,a){f.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");b=p.byId(b);var c=
k.getComputedStyle(b),c=d.getMarginBox(b,c),e=d.position(b,a);c.x=e.x;c.y=e.y;return c};f.getProp=e.get;f.setProp=e.set;f.prop=function(b,a,c){return 2==arguments.length?e["string"==typeof a?"get":"set"](b,a):e.set(b,a,c)};f.getStyle=k.get;f.setStyle=k.set;f.getComputedStyle=k.getComputedStyle;f.__toPixelValue=f.toPixelValue=k.toPixelValue;f.style=function(b,a,c){switch(arguments.length){case 1:return k.get(b);case 2:return k["string"==typeof a?"get":"set"](b,a)}return k.set(b,a,c)};return f})},"dojo/_base/array":function(){define(["./kernel",
"../has","./lang"],function(f,p,k){function n(a){return q[a]=new Function("item","index","array",a)}function e(a){var b=!a;return function(d,e,f){var h=0,m=d&&d.length||0,k;m&&"string"==typeof d&&(d=d.split(""));"string"==typeof e&&(e=q[e]||n(e));if(f)for(;h<m;++h){if(k=!e.call(f,d[h],h,d),a^k)return!k}else for(;h<m;++h)if(k=!e(d[h],h,d),a^k)return!k;return b}}function h(a){var c=1,e=0,g=0;a||(c=e=g=-1);return function(f,h,m,k){if(k&&0<c)return b.lastIndexOf(f,h,m);k=f&&f.length||0;var n=a?k+g:e;
m===d?m=a?e:k+g:0>m?(m=k+m,0>m&&(m=e)):m=m>=k?k+g:m;for(k&&"string"==typeof f&&(f=f.split(""));m!=n;m+=c)if(f[m]==h)return m;return-1}}var q={},d,b={every:e(!1),some:e(!0),indexOf:h(!0),lastIndexOf:h(!1),forEach:function(a,b,d){var e=0,f=a&&a.length||0;f&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&(b=q[b]||n(b));if(d)for(;e<f;++e)b.call(d,a[e],e,a);else for(;e<f;++e)b(a[e],e,a)},map:function(a,b,d,e){var f=0,h=a&&a.length||0;e=new (e||Array)(h);h&&"string"==typeof a&&(a=a.split(""));
"string"==typeof b&&(b=q[b]||n(b));if(d)for(;f<h;++f)e[f]=b.call(d,a[f],f,a);else for(;f<h;++f)e[f]=b(a[f],f,a);return e},filter:function(a,b,d){var e=0,f=a&&a.length||0,h=[],m;f&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&(b=q[b]||n(b));if(d)for(;e<f;++e)m=a[e],b.call(d,m,e,a)&&h.push(m);else for(;e<f;++e)m=a[e],b(m,e,a)&&h.push(m);return h},clearCache:function(){q={}}};k.mixin(f,b);return b})},"dojo/promise/Promise":function(){define(["../_base/lang"],function(f){function p(){throw new TypeError("abstract");
}return f.extend(function(){},{then:function(f,n,e){p()},cancel:function(f,n){p()},isResolved:function(){p()},isRejected:function(){p()},isFulfilled:function(){p()},isCanceled:function(){p()},always:function(f){return this.then(f,f)},otherwise:function(f){return this.then(null,f)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})})},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],
function(f,p,k){return f("dojo.store.Memory",null,{constructor:function(f){for(var e in f)this[e]=f[e];this.setData(this.data||[])},data:null,idProperty:"id",index:null,queryEngine:k,get:function(f){return this.data[this.index[f]]},getIdentity:function(f){return f[this.idProperty]},put:function(f,e){var h=this.data,k=this.index,d=this.idProperty,d=f[d]=e&&"id"in e?e.id:d in f?f[d]:Math.random();if(d in k){if(e&&!1===e.overwrite)throw Error("Object already exists");h[k[d]]=f}else k[d]=h.push(f)-1;
return d},add:function(f,e){(e=e||{}).overwrite=!1;return this.put(f,e)},remove:function(f){var e=this.index,h=this.data;if(f in e)return h.splice(e[f],1),this.setData(h),!0},query:function(f,e){return p(this.queryEngine(f,e)(this.data))},setData:function(f){f.items?(this.idProperty=f.identifier||this.idProperty,f=this.data=f.items):this.data=f;this.index={};for(var e=0,h=f.length;e<h;e++)this.index[f[e][this.idProperty]]=e}})})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],
function(f,p){return f("RequestTimeoutError",null,p,{dojoType:"timeout"})})},"dijit/_base/sniff":function(){define(["dojo/uacss"],function(){})},"dojo/_base/config":function(){define(["../has","require"],function(f,p){var k={},n=p.rawConfig,e;for(e in n)k[e]=n[e];if(!k.locale&&"undefined"!=typeof navigator&&(n=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage))k.locale=n.toLowerCase();return k})},"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(f){return f})},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(f,p,k,n){var e,h;e=function(){return this}();var q={},d={},b={config:p,global:e,dijit:q,dojox:d},q={dojo:["dojo",b],dijit:["dijit",q],dojox:["dojox",d]};n=k.map&&k.map[n.id.match(/[^\/]+/)[0]];for(h in n)q[h]?q[h][0]=n[h]:q[h]=[n[h],
{}];for(h in q)n=q[h],n[1]._scopeName=n[0],p.noGlobals||(e[n[0]]=n[1]);b.scopeMap=q;b.baseUrl=b.config.baseUrl=k.baseUrl;b.isAsync=k.async;b.locale=p.locale;e="$Rev: 91fa0cb $".match(/[0-9a-f]{7,}/);b.version={major:1,minor:11,patch:2,flag:"",revision:e?e[0]:NaN,toString:function(){var a=b.version;return a.major+"."+a.minor+"."+a.patch+a.flag+" ("+a.revision+")"}};f("csp-restrictions")||Function("d","d.eval \x3d function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(b);
b.exit=function(){};f("host-webworker");f.add("console-as-object",function(){return Function.prototype.bind&&console&&"object"===typeof console.log});"undefined"!=typeof console||(console={});n="assert count debug dir dirxml error group groupEnd info profile profileEnd time timeEnd trace warn log".split(" ");var a;for(e=0;a=n[e++];)console[a]?f("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}();f.add("dojo-debug-messages",!!p.isDebug);b.deprecated=b.experimental=function(){};f("dojo-debug-messages")&&(b.deprecated=function(a,b,d){},b.experimental=function(a,b){});if(p.modulePaths){b.deprecated("dojo.modulePaths","use paths configuration");f={};for(h in p.modulePaths)f[h.replace(/\./g,"/")]=p.modulePaths[h];k({paths:f})}b.moduleUrl=function(a,d){b.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var e=
null;a&&(e=k.toUrl(a.replace(/\./g,"/")+(d?"/"+d:"")+"/*.*").replace(/\/\*\.\*/,"")+(d?"":"/"));return e};b._hasResource={};return b})},"dijit/Toolbar":function(){define("require dojo/_base/declare dojo/has dojo/keys dojo/ready ./_Widget ./_KeyNavContainer ./_TemplatedMixin".split(" "),function(f,p,k,n,e,h,q,d){k("dijit-legacy-requires")&&e(0,function(){f(["dijit/ToolbarSeparator"])});return p("dijit.Toolbar",[h,d,q],{templateString:'\x3cdiv class\x3d"dijit" role\x3d"toolbar" tabIndex\x3d"${tabIndex}" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e',
baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev()},_onRightArrow:function(){this.focusNext()}})})},"dijit/layout/StackContainer":function(){define("dojo/_base/array dojo/cookie dojo/_base/declare dojo/dom-class dojo/dom-construct dojo/has dojo/_base/lang dojo/on dojo/ready dojo/topic dojo/when ../registry ../_WidgetBase ./_LayoutWidget".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s){h("dijit-legacy-requires")&&b(0,function(){require(["dijit/layout/StackController"])});k=k("dijit.layout.StackContainer",
s,{doLayout:!0,persist:!1,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);n.add(this.domNode,"dijitLayoutContainer")},postCreate:function(){this.inherited(arguments);this.own(d(this.domNode,"keydown",q.hitch(this,"_onKeyDown")))},startup:function(){if(!this._started){var b=this.getChildren();f.forEach(b,this._setupChild,this);this.persist?this.selectedChildWidget=l.byId(p(this.id+"_selectedChild")):f.some(b,function(a){a.selected&&(this.selectedChildWidget=a);return a.selected},
this);var c=this.selectedChildWidget;!c&&b[0]&&(c=this.selectedChildWidget=b[0],c.selected=!0);a.publish(this.id+"-startup",{children:b,selected:c,textDir:this.textDir});this.inherited(arguments)}},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=!0;var a=this.selectedChildWidget;a&&this._showChild(a)}this.inherited(arguments)},_setupChild:function(a){var b=a.domNode,c=e.place("\x3cdiv role\x3d'tabpanel' class\x3d'"+this.baseClass+"ChildWrapper dijitHidden'\x3e",a.domNode,"replace"),d=
a["aria-label"]||a.title||a.label;d&&c.setAttribute("aria-label",d);e.place(b,c);a._wrapper=c;this.inherited(arguments);"none"==b.style.display&&(b.style.display="block");a.domNode.removeAttribute("title")},addChild:function(b,c){this.inherited(arguments);this._started&&(a.publish(this.id+"-addChild",b,c),this.layout(),this.selectedChildWidget||this.selectChild(b))},removeChild:function(b){var c=f.indexOf(this.getChildren(),b);this.inherited(arguments);e.destroy(b._wrapper);delete b._wrapper;this._started&&
a.publish(this.id+"-removeChild",b);if(!this._descendantsBeingDestroyed){if(this.selectedChildWidget===b&&(this.selectedChildWidget=void 0,this._started)){var d=this.getChildren();d.length&&this.selectChild(d[Math.max(c-1,0)])}this._started&&this.layout()}},selectChild:function(b,d){var e;b=l.byId(b);this.selectedChildWidget!=b&&(e=this._transition(b,this.selectedChildWidget,d),this._set("selectedChildWidget",b),a.publish(this.id+"-selectChild",b,this._focused),this.persist&&p(this.id+"_selectedChild",
this.selectedChildWidget.id));return c(e||!0)},_transition:function(a,b){b&&this._hideChild(b);var c=this._showChild(a);a.resize&&(this.doLayout?a.resize(this._containerContentBox||this._contentBox):a.resize());return c},_adjacent:function(a){var b=this.getChildren(),c=f.indexOf(b,this.selectedChildWidget),c=c+(a?1:b.length-1);return b[c%b.length]},forward:function(){return this.selectChild(this._adjacent(!0),!0)},back:function(){return this.selectChild(this._adjacent(!1),!0)},_onKeyDown:function(b){a.publish(this.id+
"-containerKeyDown",{e:b,page:this})},layout:function(){var a=this.selectedChildWidget;a&&a.resize&&(this.doLayout?a.resize(this._containerContentBox||this._contentBox):a.resize())},_showChild:function(a){var b=this.getChildren();a.isFirstChild=a==b[0];a.isLastChild=a==b[b.length-1];a._set("selected",!0);a._wrapper&&n.replace(a._wrapper,"dijitVisible","dijitHidden");return a._onShow&&a._onShow()||!0},_hideChild:function(a){a._set("selected",!1);a._wrapper&&n.replace(a._wrapper,"dijitHidden","dijitVisible");
a.onHide&&a.onHide()},closeChild:function(a){if(!a.onClose||a.onClose(this,a))this.removeChild(a),a.destroyRecursive()},destroyDescendants:function(a){this._descendantsBeingDestroyed=!0;this.selectedChildWidget=void 0;f.forEach(this.getChildren(),function(b){a||this.removeChild(b);b.destroyRecursive(a)},this);this._descendantsBeingDestroyed=!1}});k.ChildWidgetProperties={selected:!1,disabled:!1,closable:!1,iconClass:"dijitNoIcon",showTitle:!0};q.extend(g,k.ChildWidgetProperties);return k})},"dojo/regexp":function(){define(["./_base/kernel",
"./_base/lang"],function(f,p){var k={};p.setObject("dojo.regexp",k);k.escapeString=function(f,e){return f.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(f){return e&&-1!=e.indexOf(f)?f:"\\"+f})};k.buildGroupRE=function(f,e,h){if(!(f instanceof Array))return e(f);for(var q=[],d=0;d<f.length;d++)q.push(e(f[d]));return k.group(q.join("|"),h)};k.group=function(f,e){return"("+(e?"?:":"")+f+")"};return k})},"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(f,p,k,n,e,h,q,d){q.isDebug&&k(["./_firebug/firebug"]);var b=q.require;b&&(b=h.map(e.isArray(b)?b:[b],function(a){return a.replace(/\./g,"/")}),f.isAsync?k(b):d(1,function(){k(b)}));return f})},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(f,p,k){return f("dijit.form.ComboBox",[p,k],{})})},"dijit/_AttachMixin":function(){define("require dojo/_base/array dojo/_base/connect dojo/_base/declare dojo/_base/lang dojo/mouse dojo/on dojo/touch ./_WidgetBase".split(" "),
function(f,p,k,n,e,h,q,d,b){var a=e.delegate(d,{mouseenter:h.enter,mouseleave:h.leave,keypress:k._keypress}),c;k=n("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[]},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(a){for(var b=a;;)if(1==b.nodeType&&(this._processTemplateNode(b,function(a,b){return a.getAttribute(b)},this._attach)||
this.searchContainerNode)&&b.firstChild)b=b.firstChild;else{if(b==a)break;for(;!b.nextSibling;)if(b=b.parentNode,b==a)return;b=b.nextSibling}},_processTemplateNode:function(a,b,c){var d=!0,m=this.attachScope||this,f=b(a,"dojoAttachPoint")||b(a,"data-dojo-attach-point");if(f)for(var h=f.split(/\s*,\s*/);f=h.shift();)e.isArray(m[f])?m[f].push(a):m[f]=a,d="containerNode"!=f,this._attachPoints.push(f);if(b=b(a,"dojoAttachEvent")||b(a,"data-dojo-attach-event")){f=b.split(/\s*,\s*/);for(h=e.trim;b=f.shift();)if(b){var k=
null;-1!=b.indexOf(":")?(k=b.split(":"),b=h(k[0]),k=h(k[1])):b=h(b);k||(k=b);this._attachEvents.push(c(a,b,e.hitch(m,k)))}}return d},_attach:function(b,d,e){d=d.replace(/^on/,"").toLowerCase();d="dijitclick"==d?c||(c=f("./a11yclick")):a[d]||d;return q(b,d,e)},_detachTemplateNodes:function(){var a=this.attachScope||this;p.forEach(this._attachPoints,function(b){delete a[b]});this._attachPoints=[];p.forEach(this._attachEvents,function(a){a.remove()});this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes();
this.inherited(arguments)}});e.extend(b,{dojoAttachEvent:"",dojoAttachPoint:""});return k})},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_MenuBase"],function(f,p,k,n){return f("dijit.DropDownMenu",n,{templateString:k,baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev()},_onDownArrow:function(){this.focusNext()},_onRightArrow:function(e){this._moveToPopup(e);e.stopPropagation();e.preventDefault()},_onLeftArrow:function(e){if(this.parentMenu)if(this.parentMenu._isMenuBar)this.parentMenu.focusPrev();
else this.onCancel(!1);else e.stopPropagation(),e.preventDefault()}})})},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(f,p,k){var n={};f.setObject("dojo.data.util.simpleFetch",n);n.errorHandler=function(e,f){f.onError&&f.onError.call(f.scope||p.global,e,f)};n.fetchHandler=function(e,f){var n=f.abort||null,d=!1,b=f.start?f.start:0,a=f.count&&Infinity!==f.count?b+f.count:e.length;f.abort=function(){d=!0;n&&n.call(f)};var c=f.scope||p.global;
f.store||(f.store=this);f.onBegin&&f.onBegin.call(c,e.length,f);f.sort&&e.sort(k.createSortFunction(f.sort,this));if(f.onItem)for(var l=b;l<e.length&&l<a;++l){var g=e[l];d||f.onItem.call(c,g,f)}f.onComplete&&!d&&(l=null,f.onItem||(l=e.slice(b,a)),f.onComplete.call(c,l,f))};n.fetch=function(e){e=e||{};e.store||(e.store=this);this._fetchItems(e,f.hitch(this,"fetchHandler"),f.hitch(this,"errorHandler"));return e};return n})},"dstore/QueryResults":function(){define(["dojo/_base/lang","dojo/when"],function(f,
p){function k(f,e){return p(this,function(h){for(var k=0,d=h.length;k<d;k++)f.call(e,h[k],k,h)})}return function(n,e){var h=e&&"totalLength"in e;if(n.then){n=f.delegate(n);var q=n.then(function(d){var b=h?e.totalLength:d.totalLength||d.length;d.totalLength=b;return!h&&b});n.totalLength=h?e.totalLength:q;n.response=e&&e.response}else n.totalLength=h?e.totalLength:n.length;n.forEach=k;return n}})},"dijit/Menu":function(){define("require dojo/_base/array dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-geometry dojo/dom-style dojo/keys dojo/_base/lang dojo/on dojo/sniff dojo/_base/window dojo/window ./popup ./DropDownMenu dojo/ready".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m){c("dijit-legacy-requires")&&m(0,function(){f(["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"])});return k("dijit.Menu",r,{constructor:function(){this._bindings=[]},targetNodeIds:[],selector:"",contextMenuForWindow:!1,leftClickToOpen:!1,refocus:!0,postCreate:function(){this.contextMenuForWindow?this.bindDomNode(this.ownerDocumentBody):p.forEach(this.targetNodeIds,this.bindDomNode,this);this.inherited(arguments)},_iframeContentWindow:function(a){return g.get(this._iframeContentDocument(a))||
this._iframeContentDocument(a).__parent__||a.name&&document.frames[a.name]||null},_iframeContentDocument:function(a){return a.contentDocument||a.contentWindow&&a.contentWindow.document||a.name&&document.frames[a.name]&&document.frames[a.name].document||null},bindDomNode:function(c){c=n.byId(c,this.ownerDocument);var g;if("iframe"==c.tagName.toLowerCase()){var f=c;g=this._iframeContentWindow(f);g=l.body(g.document)}else g=c==l.body(this.ownerDocument)?this.ownerDocument.documentElement:c;var m={node:c,
iframe:f};e.set(c,"_dijitMenu"+this.id,this._bindings.push(m));var h=b.hitch(this,function(b){var c=this.selector,e=c?function(b){return a.selector(c,b)}:function(a){return a},g=this;return[a(b,e(this.leftClickToOpen?"click":"contextmenu"),function(a){a.stopPropagation();a.preventDefault();(new Date).getTime()<g._lastKeyDown+500||g._scheduleOpen(this,f,{x:a.pageX,y:a.pageY},a.target)}),a(b,e("keydown"),function(a){if(93==a.keyCode||a.shiftKey&&a.keyCode==d.F10||g.leftClickToOpen&&a.keyCode==d.SPACE)a.stopPropagation(),
a.preventDefault(),g._scheduleOpen(this,f,null,a.target),g._lastKeyDown=(new Date).getTime()})]});m.connects=g?h(g):[];f&&(m.onloadHandler=b.hitch(this,function(){var a=this._iframeContentWindow(f),a=l.body(a.document);m.connects=h(a)}),f.addEventListener?f.addEventListener("load",m.onloadHandler,!1):f.attachEvent("onload",m.onloadHandler))},unBindDomNode:function(a){var b;try{b=n.byId(a,this.ownerDocument)}catch(c){return}a="_dijitMenu"+this.id;if(b&&e.has(b,a)){for(var d=e.get(b,a)-1,g=this._bindings[d],
f;f=g.connects.pop();)f.remove();(f=g.iframe)&&(f.removeEventListener?f.removeEventListener("load",g.onloadHandler,!1):f.detachEvent("onload",g.onloadHandler));e.remove(b,a);delete this._bindings[d]}},_scheduleOpen:function(a,b,c,d){this._openTimer||(this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:d,delegatedTarget:a,iframe:b,coords:c})},1))},_openMyself:function(a){function b(){r.refocus&&p&&p.focus();s.close(r)}var d=a.target,e=a.iframe,g=a.coords,f=!g;this.currentTarget=
a.delegatedTarget;if(g){if(e){a=h.position(e,!0);var d=this._iframeContentWindow(e),d=h.docScroll(d.document),m=q.getComputedStyle(e),l=q.toPixelValue,k=(c("ie")&&c("quirks")?0:l(e,m.paddingLeft))+(c("ie")&&c("quirks")?l(e,m.borderLeftWidth):0),e=(c("ie")&&c("quirks")?0:l(e,m.paddingTop))+(c("ie")&&c("quirks")?l(e,m.borderTopWidth):0);g.x+=a.x+k-d.x;g.y+=a.y+e-d.y}}else g=h.position(d,!0),g.x+=10,g.y+=10;var r=this,e=this._focusManager.get("prevNode");a=this._focusManager.get("curNode");var p=!a||
n.isDescendant(a,this.domNode)?e:a;s.open({popup:this,x:g.x,y:g.y,onExecute:b,onCancel:b,orient:this.isLeftToRight()?"L":"R"});this.focus();f||this.defer(function(){this._cleanUp(!0)});this._onBlur=function(){this.inherited("_onBlur",arguments);s.close(this)}},destroy:function(){p.forEach(this._bindings,function(a){a&&this.unBindDomNode(a.node)},this);this.inherited(arguments)}})})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(f,p,k){function n(a,
c,e,g,f){if(g=c.match(/(.*):(.*)/))return c=g[2],g=g[1],d.selector(g,c).call(f,a,e);k("touch")&&(b.test(c)&&(e=y(e)),!k("event-orientationchange")&&"orientationchange"==c&&(c="resize",a=window,e=y(e)));s&&(e=s(e));if(a.addEventListener){var m=c in l,h=m?l[c]:c;a.addEventListener(h,e,m);return{remove:function(){a.removeEventListener(h,e,m)}}}if(w&&a.attachEvent)return w(a,"on"+c,e);throw Error("Target must be an event emitter");}function e(){this.cancelable=!1;this.defaultPrevented=!0}function h(){this.bubbles=
!1}var q=window.ScriptEngineMajorVersion;k.add("jscript",q&&q()+ScriptEngineMinorVersion()/10);k.add("event-orientationchange",k("touch")&&!k("android"));k.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);k.add("event-focusin",function(a,b,c){return"onfocusin"in c});k("touch")&&k.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 d=function(a,b,c,e){return"function"==typeof a.on&&"function"!=typeof b&&!a.nodeType?a.on(b,c):d.parse(a,b,c,n,e,this)};d.pausable=function(a,b,c,e){var g;a=d(a,b,function(){if(!g)return c.apply(this,arguments)},e);a.pause=function(){g=!0};a.resume=function(){g=!1};return a};d.once=function(a,b,c,e){var g=d(a,b,function(){g.remove();return c.apply(this,arguments)});return g};d.parse=function(a,b,c,e,g,f){var m;if(b.call)return b.call(f,a,c);b instanceof
Array?m=b:-1<b.indexOf(",")&&(m=b.split(/\s*,\s*/));if(m){var l=[];b=0;for(var h;h=m[b++];)l.push(d.parse(a,h,c,e,g,f));l.remove=function(){for(var a=0;a<l.length;a++)l[a].remove()};return l}return e(a,b,c,g,f)};var b=/^touch/;d.matches=function(a,b,c,d,e){e=e&&"function"==typeof e.matches?e:p.query;d=!1!==d;1!=a.nodeType&&(a=a.parentNode);for(;!e.matches(a,b,c);)if(a==c||!1===d||!(a=a.parentNode)||1!=a.nodeType)return!1;return a};d.selector=function(a,b,c){return function(e,g){function f(b){return d.matches(b,
a,e,c,m)}var m="function"==typeof a?{matches:a}:this,l=b.bubble;return l?d(e,l(f),g):d(e,b,function(a){var b=f(a.target);if(b)return a.selectorTarget=b,g.call(b,a)})}};var a=[].slice,c=d.emit=function(b,c,d){var g=a.call(arguments,2),f="on"+c;if("parentNode"in b){var m=g[0]={},l;for(l in d)m[l]=d[l];m.preventDefault=e;m.stopPropagation=h;m.target=b;m.type=c;d=m}do b[f]&&b[f].apply(b,g);while(d&&d.bubbles&&(b=b.parentNode));return d&&d.cancelable&&d},l=k("event-focusin")?{}:{focusin:"focus",focusout:"blur"};
if(!k("event-stopimmediatepropagation"))var g=function(){this.modified=this.immediatelyStopped=!0},s=function(a){return function(b){if(!b.immediatelyStopped)return b.stopImmediatePropagation=g,a.apply(this,arguments)}};if(k("dom-addeventlistener"))d.emit=function(a,b,e){if(a.dispatchEvent&&document.createEvent){var g=(a.ownerDocument||document).createEvent("HTMLEvents");g.initEvent(b,!!e.bubbles,!!e.cancelable);for(var f in e)f in g||(g[f]=e[f]);return a.dispatchEvent(g)&&g}return c.apply(d,arguments)};
else{d._fixEvent=function(a,b){a||(a=(b&&(b.ownerDocument||b.document||b).parentWindow||window).event);if(!a)return a;try{r&&(a.type==r.type&&a.srcElement==r.target)&&(a=r)}catch(c){}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=u,a.preventDefault=v),a.type){case "keypress":var d="charCode"in a?a.charCode:a.keyCode;10==d?(d=0,a.keyCode=
13):13==d||27==d?d=0:3==d&&(d=99);a.charCode=d;d=a;d.keyChar=d.charCode?String.fromCharCode(d.charCode):"";d.charOrCode=d.keyChar||d.keyCode}return a};var r,m=function(a){this.handle=a};m.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var t=function(a){return function(b){b=d._fixEvent(b,this);var c=a.call(this,b);b.modified&&(r||setTimeout(function(){r=null}),r=b);return c}},w=function(a,b,c){c=t(c);if(((a.ownerDocument?a.ownerDocument.parentWindow:a.parentWindow||a.window||window)!=
top||5.8>k("jscript"))&&!k("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var d=a[b];if(!d||!d.listeners){var e=d,d=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);}}");d.listeners=[];a[b]=d;d.global=this;e&&d.listeners.push(_dojoIEListeners_.push(e)-1)}d.listeners.push(a=d.global._dojoIEListeners_.push(c)-
1);return new m(a)}return f.after(a,b,c,!0)},u=function(){this.cancelBubble=!0},v=d._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(a){}this.defaultPrevented=!0;this.returnValue=!1;this.modified=!0}}if(k("touch"))var x=function(){},z=window.orientation,y=function(a){return function(b){var c=b.corrected;if(!c){var d=b.type;try{delete b.type}catch(e){}if(b.type){if(k("touch-can-modify-event-delegate"))x.prototype=b,c=new x;else{var c={},g;for(g in b)c[g]=
b[g]}c.preventDefault=function(){b.preventDefault()};c.stopPropagation=function(){b.stopPropagation()}}else c=b,c.type=d;b.corrected=c;if("resize"==d){if(z==window.orientation)return null;z=window.orientation;c.type="orientationchange";return a.call(this,c)}"rotation"in c||(c.rotation=0,c.scale=1);var d=c.changedTouches[0],f;for(f in d)delete c[f],c[f]=d[f]}return a.call(this,c)}};return d})},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(f,p){return f("dijit.form._CheckBoxMixin",
null,{type:"checkbox",value:"on",readOnly:!1,_aria_attr:"aria-checked",_setReadOnlyAttr:function(f){this._set("readOnly",f);p.set(this.focusNode,"readOnly",f)},_setLabelAttr:void 0,_getSubmitValue:function(f){return null==f||""===f?"on":f},_setValueAttr:function(f){f=this._getSubmitValue(f);this._set("value",f);p.set(this.focusNode,"value",f)},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));p.set(this.focusNode,"value",this.value)},_onClick:function(f){return this.readOnly?
(f.stopPropagation(),f.preventDefault(),!1):this.inherited(arguments)}})})},"dojo/_base/fx":function(){define("./kernel ./config ./lang ../Evented ./Color ../aspect ../sniff ../dom ../dom-style".split(" "),function(f,p,k,n,e,h,q,d,b){var a=k.mixin,c={},l=c._Line=function(a,b){this.start=a;this.end=b};l.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var g=c.Animation=function(b){a(this,b);k.isArray(this.curve)&&(this.curve=new l(this.curve[0],this.curve[1]))};g.prototype=
new n;k.extend(g,{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(p.debugAtAllCosts)this[a].apply(this,c);else try{this[a].apply(this,c)}catch(d){console.error("exception in animation handler for:",a),console.error(d)}return this},play:function(a,b){this._delayTimer&&this._clearTimer();if(b)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&
!this._paused)return this;this._fire("beforeBegin",[this.node]);var c=a||this.delay,d=k.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 s=0,r=null,m={run:function(){}};k.extend(g,{_startTimer:function(){this._timer||(this._timer=h.after(m,"run",k.hitch(this,"_cycle"),!0),s++);r||(r=setInterval(k.hitch(m,"run"),this.rate))},
_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,s--);0>=s&&(clearInterval(r),r=null,s=0)}});var t=q("ie")?function(a){var c=a.style;!c.width.length&&"auto"==b.get(a,"width")&&(c.width="auto")}:function(){};c._fade=function(e){e.node=d.byId(e.node);var g=a({properties:{}},e);e=g.properties.opacity={};e.start=!("start"in g)?function(){return+b.get(g.node,"opacity")||0}:g.start;e.end=g.end;e=c.animateProperty(g);h.after(e,"beforeBegin",k.partial(t,g.node),!0);return e};c.fadeIn=
function(b){return c._fade(a({end:1},b))};c.fadeOut=function(b){return c._fade(a({end:0},b))};c._defaultEasing=function(a){return 0.5+Math.sin((a+1.5)*Math.PI)/2};var w=function(a){this._properties=a;for(var b in a){var c=a[b];c.start instanceof e&&(c.tempColor=new e)}};w.prototype.getValue=function(a){var b={},c;for(c in this._properties){var d=this._properties[c],g=d.start;g instanceof e?b[c]=e.blendColors(g,d.end,a,d.tempColor).toCss():k.isArray(g)||(b[c]=(d.end-g)*a+g+("opacity"!=c?d.units||"px":
0))}return b};c.animateProperty=function(c){var m=c.node=d.byId(c.node);c.easing||(c.easing=f._defaultEasing);c=new g(c);h.after(c,"beforeBegin",k.hitch(c,function(){var c={},d;for(d in this.properties){if("width"==d||"height"==d)this.node.display="block";var g=this.properties[d];k.isFunction(g)&&(g=g(m));g=c[d]=a({},k.isObject(g)?g:{end:g});k.isFunction(g.start)&&(g.start=g.start(m));k.isFunction(g.end)&&(g.end=g.end(m));var f=0<=d.toLowerCase().indexOf("color"),l=function(a,c){var d={height:a.offsetHeight,
width:a.offsetWidth}[c];if(void 0!==d)return d;d=b.get(a,c);return"opacity"==c?+d:f?d:parseFloat(d)};"end"in g?"start"in g||(g.start=l(m,d)):g.end=l(m,d);f?(g.start=new e(g.start),g.end=new e(g.end)):g.start="opacity"==d?+g.start:parseFloat(g.start)}this.curve=new w(c)}),!0);h.after(c,"onAnimate",k.hitch(b,"set",c.node),!0);return c};c.anim=function(a,b,d,e,f,m){return c.animateProperty({node:a,duration:d||g.prototype.duration,properties:b,easing:e,onEnd:f}).play(m||0)};a(f,c);f._Animation=g;return c})},
"dijit/layout/ContentPane":function(){define("dojo/_base/kernel dojo/_base/lang ../_Widget ../_Container ./_ContentPaneResizeMixin dojo/string dojo/html dojo/_base/array dojo/_base/declare dojo/_base/Deferred dojo/dom dojo/dom-attr dojo/dom-construct dojo/_base/xhr dojo/i18n dojo/when dojo/i18n!../nls/loading".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m){return b("dijit.layout.ContentPane",[k,n,e],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:f._scopeName,preventCache:!1,
preload:!1,refreshOnShow:!1,loadingMessage:"\x3cspan class\x3d'dijitContentPaneLoading'\x3e\x3cspan class\x3d'dijitInline dijitIconLoading'\x3e\x3c/span\x3e${loadingState}\x3c/span\x3e",errorMessage:"\x3cspan class\x3d'dijitContentPaneError'\x3e\x3cspan class\x3d'dijitInline dijitIconError'\x3e\x3c/span\x3e${errorState}\x3c/span\x3e",isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,markupFactory:function(a,b,c){var d=new c(a,b);return!d.href&&
d._contentSetter&&d._contentSetter.parseDeferred&&!d._contentSetter.parseDeferred.isFulfilled()?d._contentSetter.parseDeferred.then(function(){return d}):d},create:function(a,b){if((!a||!a.template)&&b&&!("href"in a)&&!("content"in a)){b=c.byId(b);for(var d=b.ownerDocument.createDocumentFragment();b.firstChild;)d.appendChild(b.firstChild);a=p.delegate(a,{content:d})}this.inherited(arguments,[a,b])},postMixInProperties:function(){this.inherited(arguments);var a=r.getLocalization("dijit","loading",
this.lang);this.loadingMessage=h.substitute(this.loadingMessage,a);this.errorMessage=h.substitute(this.errorMessage,a)},buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode);this.domNode.removeAttribute("title")},startup:function(){this.inherited(arguments);this._contentSetter&&d.forEach(this._contentSetter.parseResults,function(a){!a._started&&(!a._destroyed&&p.isFunction(a.startup))&&(a.startup(),a._started=!0)},this)},_startChildren:function(){d.forEach(this.getChildren(),
function(a){!a._started&&(!a._destroyed&&p.isFunction(a.startup))&&(a.startup(),a._started=!0)});this._contentSetter&&d.forEach(this._contentSetter.parseResults,function(a){!a._started&&(!a._destroyed&&p.isFunction(a.startup))&&(a.startup(),a._started=!0)},this)},setHref:function(a){f.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",a)},_setHrefAttr:function(b){this.cancel();this.onLoadDeferred=new a(p.hitch(this,"cancel"));
this.onLoadDeferred.then(p.hitch(this,"onLoad"));this._set("href",b);this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0;return this.onLoadDeferred},setContent:function(a){f.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",a)},_setContentAttr:function(b){this._set("href","");this.cancel();this.onLoadDeferred=new a(p.hitch(this,"cancel"));this._created&&this.onLoadDeferred.then(p.hitch(this,"onLoad"));
this._setContent(b||"");this._isDownloaded=!1;return this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&-1==this._xhrDfd.fired&&this._xhrDfd.cancel();delete this._xhrDfd;this.onLoadDeferred=null},destroy:function(){this.cancel();this.inherited(arguments)},destroyRecursive:function(a){this._beingDestroyed||this.inherited(arguments)},_onShow:function(){this.inherited(arguments);if(this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||
this.refreshOnShow))return this.refresh()},refresh:function(){this.cancel();this.onLoadDeferred=new a(p.hitch(this,"cancel"));this.onLoadDeferred.then(p.hitch(this,"onLoad"));this._load();return this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var a=this,b={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};p.isObject(this.ioArgs)&&p.mixin(b,this.ioArgs);var c=this._xhrDfd=(this.ioMethod||s.get)(b),d;c.then(function(b){d=b;try{return a._isDownloaded=
!0,a._setContent(b,!1)}catch(c){a._onError("Content",c)}},function(b){c.canceled||a._onError("Download",b);delete a._xhrDfd;return b}).then(function(){a.onDownloadEnd();delete a._xhrDfd;return d});delete this._hrefChanged},_onLoadHandler:function(a){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(a)}catch(b){console.error("Error "+this.widgetId+" running custom onLoad code: "+b.message)}},_onUnloadHandler:function(){this._set("isLoaded",!1);try{this.onUnload()}catch(a){console.error("Error "+
this.widgetId+" running custom onUnload code: "+a.message)}},destroyDescendants:function(a){this.isLoaded&&this._onUnloadHandler();var b=this._contentSetter;d.forEach(this.getChildren(),function(b){b.destroyRecursive?b.destroyRecursive(a):b.destroy&&b.destroy(a);b._destroyed=!0});b&&(d.forEach(b.parseResults,function(b){b._destroyed||(b.destroyRecursive?b.destroyRecursive(a):b.destroy&&b.destroy(a),b._destroyed=!0)}),delete b.parseResults);a||g.empty(this.containerNode);delete this._singleChild},
_setContent:function(a,b){a=this.preprocessContent(a);this.destroyDescendants();var c=this._contentSetter;c&&c instanceof q._ContentSetter||(c=this._contentSetter=new q._ContentSetter({node:this.containerNode,_onError:p.hitch(this,this._onError),onContentError:p.hitch(this,function(a){a=this.onContentError(a);try{this.containerNode.innerHTML=a}catch(b){console.error("Fatal "+this.id+" could not change content due to "+b.message,b)}})}));var d=p.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,
parseContent:!a.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{}),d=c.set(p.isObject(a)&&a.domNode?a.domNode:a,d),e=this;return m(d&&d.then?d:c.parseDeferred,function(){delete e._contentSetterParams;b||(e._started&&(e._startChildren(),e._scheduleLayout()),e._onLoadHandler(a))})},preprocessContent:function(a){return a},_onError:function(a,b,c){this.onLoadDeferred.reject(b);a=this["on"+a+"Error"].call(this,
b);c?console.error(c,b):a&&this._setContent(a,!0)},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage},onContentError:function(){},onDownloadError:function(){return this.errorMessage},onDownloadEnd:function(){}})})},"cbtree/store/Natural":function(){define(["dojo/_base/declare","./Memory"],function(f,p){return f([p],{_insertBefore:function(f,n,e){var h=f.length;e&&(h=f.indexOf(e),-1!=h&&(e=f.indexOf(n),-1!=e&&(h=h>e?h-1:h,f.splice(e,1))));f.splice(h,0,
n);return h},_writeObject:function(f,n,e,h){if(h&&h.before){var q=this._anyToObject(h.before);if(!e||-1==e)this._applyDefaults(f,n),this.total++;this._insertBefore(this._data,n,q);this._indexData();return f}return this.inherited(arguments)},toString:function(){return"[object NaturalStore]"}})})},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(f,p){return f("dijit._Contained",null,{_getSibling:function(f){var n=this.getParent();return n&&n._getSiblingOfChild&&n._getSiblingOfChild(this,
"previous"==f?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var f=this.getParent();return!f||!f.getIndexOfChild?-1:f.getIndexOfChild(this)}})})},"dijit/_KeyNavContainer":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/_base/kernel dojo/keys dojo/_base/lang ./registry ./_Container ./_FocusMixin ./_KeyNavMixin".split(" "),function(f,p,k,n,e,h,q,d,b,a){return p("dijit._KeyNavContainer",
[b,a,d],{connectKeyNavHandlers:function(a,b){var d=this._keyNavCodes={},k=h.hitch(this,"focusPrev"),r=h.hitch(this,"focusNext");f.forEach(a,function(a){d[a]=k});f.forEach(b,function(a){d[a]=r});d[e.HOME]=h.hitch(this,"focusFirstChild");d[e.END]=h.hitch(this,"focusLastChild")},startupKeyNavChildren:function(){n.deprecated("startupKeyNavChildren() call no longer needed","","2.0")},startup:function(){this.inherited(arguments);f.forEach(this.getChildren(),h.hitch(this,"_startupChild"))},addChild:function(a,
b){this.inherited(arguments);this._startupChild(a)},_startupChild:function(a){a.set("tabIndex","-1")},_getFirst:function(){var a=this.getChildren();return a.length?a[0]:null},_getLast:function(){var a=this.getChildren();return a.length?a[a.length-1]:null},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1))},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),!0)},childSelector:function(a){return(a=q.byNode(a))&&a.getParent()==this}})})},
"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(f,p,k,n,e){function h(d,b){var a=d.resize?d.resize(b):k.setMarginBox(d.domNode,b);a?e.mixin(d,a):(e.mixin(d,k.getMarginBox(d.domNode)),e.mixin(d,b))}var q={marginBox2contentBox:function(d,b){var a=n.getComputedStyle(d),c=k.getMarginExtents(d,a),e=k.getPadBorderExtents(d,a);return{l:n.toPixelValue(d,a.paddingLeft),t:n.toPixelValue(d,a.paddingTop),w:b.w-(c.w+e.w),
h:b.h-(c.h+e.h)}},layoutChildren:function(d,b,a,c,l){b=e.mixin({},b);p.add(d,"dijitLayoutContainer");a=f.filter(a,function(a){return"center"!=a.region&&"client"!=a.layoutAlign}).concat(f.filter(a,function(a){return"center"==a.region||"client"==a.layoutAlign}));f.forEach(a,function(a){var d=a.domNode,e=a.region||a.layoutAlign;if(!e)throw Error("No region setting for "+a.id);var f=d.style;f.left=b.l+"px";f.top=b.t+"px";f.position="absolute";p.add(d,"dijitAlign"+(e.substring(0,1).toUpperCase()+e.substring(1)));
d={};c&&c==a.id&&(d["top"==a.region||"bottom"==a.region?"h":"w"]=l);"leading"==e&&(e=a.isLeftToRight()?"left":"right");"trailing"==e&&(e=a.isLeftToRight()?"right":"left");"top"==e||"bottom"==e?(d.w=b.w,h(a,d),b.h-=a.h,"top"==e?b.t+=a.h:f.top=b.t+b.h+"px"):"left"==e||"right"==e?(d.h=b.h,h(a,d),b.w-=a.w,"left"==e?b.l+=a.w:f.left=b.l+b.w+"px"):("client"==e||"center"==e)&&h(a,b)})}};e.setObject("dijit.layout.utils",q);return q})},"dgrid/List":function(){define("dojo/_base/declare dojo/dom-construct dojo/dom-class dojo/on dojo/has ./util/misc dojo/_base/sniff".split(" "),
function(f,p,k,n,e,h){function q(a,b){a.className="dgrid-scrollbar-measure";document.body.appendChild(a);var c=a["offset"+b]-a["client"+b];a.className="";a.parentNode&&document.body.removeChild(a);return c}function d(a){k.replace(this.domNode,a,this._class||"");this._class=a}function b(){return this._class}var a=[];e("mozilla")&&a.push("has-mozilla");e("touch")&&a.push("has-touch");k.add(document.documentElement,a);e.add("pointer",function(a){return"PointerEvent"in a?"pointer":"MSPointerEvent"in a?
"MSPointer":!1});var c,l;e.add("dom-scrollbar-width",function(a,b,c){return q(c,"Width")});e.add("dom-scrollbar-height",function(a,b,c){return q(c,"Height")});e.add("dom-rtl-scrollbar-left",function(a,b,c){a=document.createElement("div");c.className="dgrid-scrollbar-measure";c.setAttribute("dir","rtl");c.appendChild(a);document.body.appendChild(c);b=!!e("ie")||!!e("trident")||/\bEdge\//.test(navigator.userAgent)||a.offsetLeft>=e("dom-scrollbar-width");c.className="";c.parentNode&&document.body.removeChild(c);
p.destroy(a);c.removeAttribute("dir");return b});var g=0,s=function(){this._started&&this.resize()},r=f(null,{tabableHeader:!1,showHeader:!1,showFooter:!1,maintainOddEven:!0,cleanAddedRules:!0,addUiClasses:!0,highlightDuration:250,postscript:function(a,b){var c=this;(this._Row=function(a,b,c){this.id=a;this.data=b;this.element=c}).prototype.remove=function(){c.removeRow(this.element)};b&&(this.srcNodeRef=b=b.nodeType?b:document.getElementById(b));this.create(a,b)},listType:"list",create:function(a,
b){var c=this.domNode=b||document.createElement("div"),e;a&&(this.params=a,f.safeMixin(this,a),e=a["class"]||a.className||c.className);this.sort=this.sort||[];this._listeners=[];this._rowIdToObject={};this.postMixInProperties&&this.postMixInProperties();this.id=c.id=c.id||this.id||r.autoIdPrefix+g++;this.buildRendering();e&&d.call(this,e);this.postCreate();delete this.srcNodeRef;this.domNode.offsetHeight&&this.startup()},buildRendering:function(){var a=this.domNode,b=this.addUiClasses,c=this,d,g,
f;f=this.isRTL="rtl"===(document.body.dir||document.documentElement.dir||document.body.style.direction).toLowerCase();a.className="";a.setAttribute("role","grid");k.add(a,"dgrid dgrid-"+this.listType+(b?" ui-widget":""));d=this.headerNode=p.create("div",{className:"dgrid-header dgrid-header-row"+(b?" ui-widget-header":"")+(this.showHeader?"":" dgrid-header-hidden")},a);g=this.bodyNode=p.create("div",{className:"dgrid-scroller"},a);e("ff")&&(g.tabIndex=-1);this.headerScrollNode=p.create("div",{className:"dgrid-header dgrid-header-scroll dgrid-scrollbar-width"+
(b?" ui-widget-header":"")},a);this.footerNode=p.create("div",{className:"dgrid-footer"+(this.showFooter?"":" dgrid-footer-hidden")},a);f&&(a.className+=" dgrid-rtl"+(e("dom-rtl-scrollbar-left")?" dgrid-rtl-swap":""));n(g,"scroll",function(b){c.showHeader&&(d.scrollLeft=b.scrollLeft||g.scrollLeft);b.stopPropagation();n.emit(a,"scroll",{scrollTarget:g})});this.configStructure();this.renderHeader();this.contentNode=this.touchNode=p.create("div",{className:"dgrid-content"+(b?" ui-widget-content":"")},
this.bodyNode);this._listeners.push(this._resizeHandle=n(window,"resize",h.throttleDelayed(s,this)))},postCreate:function(){},startup:function(){this._started||(this.inherited(arguments),this._started=!0,this.resize(),this.set("sort",this.sort))},configStructure:function(){},resize:function(){var a=this.bodyNode,b=this.footerNode,b=this.showFooter?b.offsetHeight:0;this.headerScrollNode.style.height=a.style.marginTop=this.headerNode.offsetHeight+"px";a.style.marginBottom=b+"px";c||(c=e("dom-scrollbar-width"),
l=e("dom-scrollbar-height"),e("ie")&&(c++,l++),h.addCssRule(".dgrid-scrollbar-width","width: "+c+"px"),h.addCssRule(".dgrid-scrollbar-height","height: "+l+"px"),17!==c&&(h.addCssRule(".dgrid-header-row","right: "+c+"px"),h.addCssRule(".dgrid-rtl-swap .dgrid-header-row","left: "+c+"px")))},addCssRule:function(a,b){var c=h.addCssRule(a,b);this.cleanAddedRules&&this._listeners.push(c);return c},on:function(a,b){var c=n(this.domNode,a,b);e("dom-addeventlistener")||this._listeners.push(c);return c},cleanup:function(){for(var a in this._rowIdToObject)if(this._rowIdToObject[a]!==
this.columns){var b=document.getElementById(a);b&&this.removeRow(b,!0)}},destroy:function(){if(this._listeners){for(var a=this._listeners.length;a--;)this._listeners[a].remove();this._listeners=null}this._started=!1;this.cleanup();p.destroy(this.domNode)},refresh:function(){this.cleanup();this._rowIdToObject={};this._autoRowId=0;this.contentNode.innerHTML="";this.scrollTo({x:0,y:0})},highlightRow:function(a,b){var c="dgrid-highlight"+(this.addUiClasses?" ui-state-highlight":"");a=a.element||a;k.add(a,
c);setTimeout(function(){k.remove(a,c)},b||this.highlightDuration)},adjustRowIndices:function(a){var b=a.rowIndex;if(-1<b){do-1<a.rowIndex&&(this.maintainOddEven&&k.contains(a,"dgrid-row")&&k.replace(a,1===b%2?"dgrid-row-odd":"dgrid-row-even",0===b%2?"dgrid-row-odd":"dgrid-row-even"),a.rowIndex=b++);while((a=a.nextSibling)&&a.rowIndex!==b)}},renderArray:function(a,b,c){c=c||{};var d=c.start||0,e=document.createDocumentFragment(),g=[],f=0,l=a.length;b||(this._lastCollection=a);for(;f<l;)g[f]=this.insertRow(a[f],
e,null,d++,c),f++;if((a=b?b.parentNode:this.contentNode)&&a.parentNode&&(a!==this.contentNode||l))a.insertBefore(e,b||null),l&&this.adjustRowIndices(g[l-1]);return g},renderHeader:function(){},_autoRowId:0,insertRow:function(a,b,c,d,e){var g=this.id+"-row-"+(this.collection&&this.collection.getIdentity?this.collection.getIdentity(a):this._autoRowId++),f=document.getElementById(g),l=f&&f.previousSibling;f&&(f===c&&(c=(c.connected||c).nextSibling),this.removeRow(f,!1,e));f=this.renderRow(a,e);f.className=
(f.className||"")+" dgrid-row "+(1===d%2?"dgrid-row-odd":"dgrid-row-even")+(this.addUiClasses?" ui-state-default":"");this._rowIdToObject[f.id=g]=a;b.insertBefore(f,c||null);f.rowIndex=d;l&&l.rowIndex!==f.rowIndex-1&&this.adjustRowIndices(l);return f},renderRow:function(a){var b=document.createElement("div");b.appendChild(document.createTextNode(a));return b},removeRow:function(a,b){a=a.element||a;delete this._rowIdToObject[a.id];b||p.destroy(a)},row:function(a){var b;if(a instanceof this._Row)return a;
a.target&&a.target.nodeType&&(a=a.target);if(a.nodeType){do{var c=a.id;if(b=this._rowIdToObject[c])return new this._Row(c.substring(this.id.length+5),b,a);a=a.parentNode}while(a&&a!==this.domNode)}else return"object"===typeof a?b=this.collection.getIdentity(a):(b=a,a=this._rowIdToObject[this.id+"-row-"+b]),new this._Row(b,a,document.getElementById(this.id+"-row-"+b))},cell:function(a){return{row:this.row(a)}},_move:function(a,b,c,d){var e,g;g=e=a.element;b=b||1;do if(a=e[0>b?"previousSibling":"nextSibling"]){do if((e=
a)&&-1<(e.className+" ").indexOf(c+" ")){g=e;b+=0>b?1:-1;break}while(a=(!d||!e.hidden)&&e[0>b?"lastChild":"firstChild"])}else if(e=e.parentNode,!e||e===this.bodyNode||e===this.headerNode)break;while(b);return g},up:function(a,b,c){a.element||(a=this.row(a));return this.row(this._move(a,-(b||1),"dgrid-row",c))},down:function(a,b,c){a.element||(a=this.row(a));return this.row(this._move(a,b||1,"dgrid-row",c))},scrollTo:function(a){"undefined"!==typeof a.x&&(this.bodyNode.scrollLeft=a.x);"undefined"!==
typeof a.y&&(this.bodyNode.scrollTop=a.y)},getScrollPosition:function(){return{x:this.bodyNode.scrollLeft,y:this.bodyNode.scrollTop}},get:function(a){var b="_get"+a.charAt(0).toUpperCase()+a.slice(1);return"function"===typeof this[b]?this[b].apply(this,[].slice.call(arguments,1)):this[a]},set:function(a,b){if("object"===typeof a)for(var c in a)this.set(c,a[c]);else c="_set"+a.charAt(0).toUpperCase()+a.slice(1),"function"===typeof this[c]?this[c].apply(this,[].slice.call(arguments,1)):this[a]=b;return this},
_getClass:b,_setClass:d,_getClassName:b,_setClassName:d,_setSort:function(a,b){this.sort="string"!==typeof a?a:[{property:a,descending:b}];this._applySort()},_applySort:function(){this.refresh();if(this._lastCollection){var a=this.sort;if(a&&0<a.length){var b=a[0].property,c=!!a[0].descending;this._lastCollection.sort(function(a,d){var e=a[b],g=d[b];void 0===e&&(e="");void 0===g&&(g="");return e===g?0:e>g!==c?1:-1})}this.renderArray(this._lastCollection)}},_setShowHeader:function(a){var b=this.headerNode;
this.showHeader=a;k.toggle(b,"dgrid-header-hidden",!a);this.renderHeader();this.resize();a&&(b.scrollLeft=this.getScrollPosition().x)},_setShowFooter:function(a){this.showFooter=a;k.toggle(this.footerNode,"dgrid-footer-hidden",!a);this.resize()}});r.autoIdPrefix="dgrid_";return r})},"dijit/form/DataList":function(){define("dojo/_base/declare dojo/dom dojo/_base/lang dojo/query dojo/store/Memory ../registry".split(" "),function(f,p,k,n,e,h){function q(d){return{id:d.value,value:d.value,name:k.trim(d.innerText||
d.textContent||"")}}return f("dijit.form.DataList",e,{constructor:function(d,b){this.domNode=p.byId(b);k.mixin(this,d);this.id&&h.add(this);this.domNode.style.display="none";this.inherited(arguments,[{data:n("option",this.domNode).map(q)}])},destroy:function(){h.remove(this.id)},fetchSelectedItem:function(){var d=n("\x3e option[selected]",this.domNode)[0]||n("\x3e option",this.domNode)[0];return d&&q(d)}})})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(f,
p,k){function n(f){setTimeout(function(){h.apply(e,f)},0)}var e=new k,h=e.emit;e.emit=null;p.prototype.trace=function(){var e=f._toArray(arguments);this.then(function(d){n(["resolved",d].concat(e))},function(d){n(["rejected",d].concat(e))},function(d){n(["progress",d].concat(e))});return this};p.prototype.traceRejected=function(){var e=f._toArray(arguments);this.otherwise(function(d){n(["rejected",d].concat(e))});return this};return e})},"dijit/form/CheckBox":function(){define("require dojo/_base/declare dojo/dom-attr dojo/has dojo/query dojo/ready ./ToggleButton ./_CheckBoxMixin dojo/text!./templates/CheckBox.html dojo/NodeList-dom ../a11yclick".split(" "),
function(f,p,k,n,e,h,q,d,b){n("dijit-legacy-requires")&&h(0,function(){f(["dijit/form/RadioButton"])});return p("dijit.form.CheckBox",[q,d],{templateString:b,baseClass:"dijitCheckBox",_setValueAttr:function(a,b){"string"==typeof a&&(this.inherited(arguments),a=!0);this._created&&this.set("checked",a,b)},_getValueAttr:function(){return this.checked&&this._get("value")},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=""},
_fillContent:function(){},_onFocus:function(){this.id&&e("label[for\x3d'"+this.id+"']").addClass("dijitFocusedLabel");this.inherited(arguments)},_onBlur:function(){this.id&&e("label[for\x3d'"+this.id+"']").removeClass("dijitFocusedLabel");this.inherited(arguments)}})})},"dojo/dom-style":function(){define(["./sniff","./dom"],function(f,p){function k(b,d,e){d=d.toLowerCase();if("auto"==e){if("height"==d)return b.offsetHeight;if("width"==d)return b.offsetWidth}if("fontweight"==d)switch(e){case 700:return"bold";
default:return"normal"}d in a||(a[d]=c.test(d));return a[d]?h(b,e):e}var n,e={};n=f("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||{}}:f("ie")&&(9>f("ie")||f("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}};e.getComputedStyle=n;var h;h=f("ie")?function(a,
b){if(!b)return 0;if("medium"==b)return 4;if(b.slice&&"px"==b.slice(-2))return parseFloat(b);var c=a.style,d=a.runtimeStyle,e=c.left,f=d.left;d.left=a.currentStyle.left;try{c.left=b,b=c.pixelLeft}catch(l){b=0}c.left=e;d.left=f;return b}:function(a,b){return parseFloat(b)||0};e.toPixelValue=h;var q=function(a,b){try{return a.filters.item("DXImageTransform.Microsoft.Alpha")}catch(c){return b?{}:null}},d=9>f("ie")||10>f("ie")&&f("quirks")?function(a){try{return q(a).Opacity/100}catch(b){return 1}}:function(a){return n(a).opacity},
b=9>f("ie")||10>f("ie")&&f("quirks")?function(a,c){""===c&&(c=1);var d=100*c;1===c?(a.style.zoom="",q(a)&&(a.style.filter=a.style.filter.replace(/\s*progid:DXImageTransform.Microsoft.Alpha\([^\)]+?\)/i,""))):(a.style.zoom=1,q(a)?q(a,1).Opacity=d:a.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity\x3d"+d+")",q(a,1).Enabled=!0);if("tr"==a.tagName.toLowerCase())for(d=a.firstChild;d;d=d.nextSibling)"td"==d.tagName.toLowerCase()&&b(d,c);return c}:function(a,b){return a.style.opacity=b},a=
{left:!0,top:!0},c=/margin|padding|width|height|max|min|offset/,l={cssFloat:1,styleFloat:1,"float":1};e.get=function(a,b){var c=p.byId(a),f=arguments.length;if(2==f&&"opacity"==b)return d(c);b=l[b]?"cssFloat"in c.style?"cssFloat":"styleFloat":b;var h=e.getComputedStyle(c);return 1==f?h:k(c,b,h[b]||c.style[b])};e.set=function(a,c,d){var f=p.byId(a),h=arguments.length,k="opacity"==c;c=l[c]?"cssFloat"in f.style?"cssFloat":"styleFloat":c;if(3==h)return k?b(f,d):f.style[c]=d;for(var n in c)e.set(a,n,c[n]);
return e.getComputedStyle(f)};return e})},"dijit/tree/_dndSelector":function(){define("dojo/_base/array dojo/_base/declare dojo/_base/kernel dojo/_base/lang dojo/dnd/common dojo/dom dojo/mouse dojo/on dojo/touch ../a11yclick ./_dndContainer".split(" "),function(f,p,k,n,e,h,q,d,b,a,c){return p("dijit.tree._dndSelector",c,{constructor:function(){this.selection={};this.anchor=null;this.events.push(d(this.tree.domNode,b.press,n.hitch(this,"onMouseDown")),d(this.tree.domNode,b.release,n.hitch(this,"onMouseUp")),
d(this.tree.domNode,b.move,n.hitch(this,"onMouseMove")),d(this.tree.domNode,a.press,n.hitch(this,"onClickPress")),d(this.tree.domNode,a.release,n.hitch(this,"onClickRelease")))},singular:!1,getSelectedTreeNodes:function(){var a=[],b=this.selection,c;for(c in b)a.push(b[c]);return a},selectNone:function(){this.setSelection([]);return this},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null},addTreeNode:function(a,b){this.setSelection(this.getSelectedTreeNodes().concat([a]));
b&&(this.anchor=a);return a},removeTreeNode:function(a){var b=f.filter(this.getSelectedTreeNodes(),function(b){return!h.isDescendant(b.domNode,a.domNode)});this.setSelection(b);return a},isTreeNodeSelected:function(a){return a.id&&!!this.selection[a.id]},setSelection:function(a){var b=this.getSelectedTreeNodes();f.forEach(this._setDifference(b,a),n.hitch(this,function(a){a.setSelected(!1);this.anchor==a&&delete this.anchor;delete this.selection[a.id]}));f.forEach(this._setDifference(a,b),n.hitch(this,
function(a){a.setSelected(!0);this.selection[a.id]=a}));this._updateSelectionProperties()},_setDifference:function(a,b){f.forEach(b,function(a){a.__exclude__=!0});var c=f.filter(a,function(a){return!a.__exclude__});f.forEach(b,function(a){delete a.__exclude__});return c},_updateSelectionProperties:function(){var a=this.getSelectedTreeNodes(),b=[],c=[];f.forEach(a,function(a){var d=a.getTreePath();c.push(a);b.push(d)},this);a=f.map(c,function(a){return a.item});this.tree._set("paths",b);this.tree._set("path",
b[0]||[]);this.tree._set("selectedNodes",c);this.tree._set("selectedNode",c[0]||null);this.tree._set("selectedItems",a);this.tree._set("selectedItem",a[0]||null)},onClickPress:function(a){if(!this.current||!this.current.isExpandable||!this.tree.isExpandoNode(a.target,this.current)){"mousedown"==a.type&&q.isLeft(a)&&a.preventDefault();var b="keydown"==a.type?this.tree.focusedChild:this.current;if(b){var c=e.getCopyKeyState(a),d=b.id;!this.singular&&!a.shiftKey&&this.selection[d]?this._doDeselect=!0:
(this._doDeselect=!1,this.userSelect(b,c,a.shiftKey))}}},onClickRelease:function(a){this._doDeselect&&(this._doDeselect=!1,this.userSelect("keyup"==a.type?this.tree.focusedChild:this.current,e.getCopyKeyState(a),a.shiftKey))},onMouseMove:function(){this._doDeselect=!1},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(a,b){if(a===b)return 0;if("sourceIndex"in document.documentElement)return a.sourceIndex-b.sourceIndex;if("compareDocumentPosition"in document.documentElement)return a.compareDocumentPosition(b)&
2?1:-1;if(document.createRange){var c=doc.createRange();c.setStartBefore(a);var d=doc.createRange();d.setStartBefore(b);return c.compareBoundaryPoints(c.END_TO_END,d)}throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");},userSelect:function(a,b,c){if(this.singular)this.anchor==a&&b?this.selectNone():(this.setSelection([a]),this.anchor=a);else if(c&&this.anchor){b=this._compareNodes(this.anchor.rowNode,a.rowNode);c=this.anchor;0>b?b=c:(b=a,a=c);for(c=
[];b!=a;)c.push(b),b=this.tree._getNext(b);c.push(a);this.setSelection(c)}else this.selection[a.id]&&b?this.removeTreeNode(a):b?this.addTreeNode(a,!0):(this.setSelection([a]),this.anchor=a)},getItem:function(a){return{data:this.selection[a],type:["treeNode"]}},forInSelectedItems:function(a,b){b=b||k.global;for(var c in this.selection)a.call(b,this.getItem(c),c,this)}})})},"cbtree/store/ObjectStore":function(){define("module dojo/_base/declare dojo/_base/lang dojo/store/util/QueryResults ./Hierarchy ../Evented ../errors/createError!../errors/CBTErrors.json".split(" "),
function(f,p,k,n,e,h,q){var d=q(f.id);return p([e,h],{eventable:!0,add:function(b,a){var c=this.inherited(arguments);void 0!=c&&this.emit("new",{type:"new",detail:{item:b}});return c},put:function(b,a){var c=this._getObjectId(b,a),e=this._indexId[c],g,f=!1;if(0<=e){if(a&&!1===a.overwrite)throw new d("ItemExist","put");g=this._data[e];f=!0}c=this._writeObject(c,b,e,a);f?this.emit("change",{type:"change",detail:{item:b,oldItem:g}}):this.emit("new",{type:"new",detail:{item:b}});return c},remove:function(b){var a=
this.get(b);if(a){var c=this.inherited(arguments);c&&this.emit("delete",{type:"delete",detail:{item:a}});return c}return!1}})})},"dojo/dom-construct":function(){define("exports ./_base/kernel ./sniff ./_base/window ./dom ./dom-attr".split(" "),function(f,p,k,n,e,h){function q(a,b){var c=b.parentNode;c&&c.insertBefore(a,b)}function d(a){if("innerHTML"in a)try{a.innerHTML="";return}catch(b){}for(var c;c=a.lastChild;)a.removeChild(c)}var b={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],
tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},a=/<\s*([\w\:]+)/,c={},l=0,g="__"+p._scopeName+"ToDomId",s;for(s in b)b.hasOwnProperty(s)&&(p=b[s],p.pre="option"==s?'\x3cselect multiple\x3d"multiple"\x3e':"\x3c"+p.join("\x3e\x3c")+"\x3e",p.post="\x3c/"+p.reverse().join("\x3e\x3c/")+"\x3e");var r;8>=k("ie")&&(r=function(a){a.__dojo_html5_tested="yes";var b=m("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)});t(b)});f.toDom=function(d,e){e=e||n.doc;var f=e[g];f||(e[g]=f=++l+"",c[f]=e.createElement("div"));8>=k("ie")&&!e.__dojo_html5_tested&&e.body&&r(e);d+="";var m=d.match(a),h=m?m[1].toLowerCase():"",f=c[f];if(m&&b[h]){m=b[h];f.innerHTML=m.pre+d+m.post;
for(m=m.length;m;--m)f=f.firstChild}else f.innerHTML=d;if(1==f.childNodes.length)return f.removeChild(f.firstChild);for(h=e.createDocumentFragment();m=f.firstChild;)h.appendChild(m);return h};f.place=function(a,b,c){b=e.byId(b);"string"==typeof a&&(a=/^\s*</.test(a)?f.toDom(a,b.ownerDocument):e.byId(a));if("number"==typeof c){var d=b.childNodes;!d.length||d.length<=c?b.appendChild(a):q(a,d[0>c?0:c])}else switch(c){case "before":q(a,b);break;case "after":c=a;(d=b.parentNode)&&(d.lastChild==b?d.appendChild(c):
d.insertBefore(c,b.nextSibling));break;case "replace":b.parentNode.replaceChild(a,b);break;case "only":f.empty(b);b.appendChild(a);break;case "first":if(b.firstChild){q(a,b.firstChild);break}default:b.appendChild(a)}return a};var m=f.create=function(a,b,c,d){var g=n.doc;c&&(c=e.byId(c),g=c.ownerDocument);"string"==typeof a&&(a=g.createElement(a));b&&h.set(a,b);c&&f.place(a,c,d);return a};f.empty=function(a){d(e.byId(a))};var t=f.destroy=function(a){if(a=e.byId(a)){var b=a;a=a.parentNode;b.firstChild&&
d(b);a&&(k("ie")&&a.canHaveChildren&&"removeNode"in b?b.removeNode(!1):a.removeChild(b))}}})},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(f,p,k,n){return p("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode)},addChild:function(e,f){var n=this.containerNode;if(0<f){for(n=n.firstChild;0<f;)1==n.nodeType&&f--,n=n.nextSibling;n?f="before":
(n=this.containerNode,f="last")}k.place(e.domNode,n,f);this._started&&!e._started&&e.startup()},removeChild:function(e){"number"==typeof e&&(e=this.getChildren()[e]);e&&(e=e.domNode)&&e.parentNode&&e.parentNode.removeChild(e)},hasChildren:function(){return 0<this.getChildren().length},_getSiblingOfChild:function(e,h){var k=this.getChildren(),d=f.indexOf(k,e);return k[d+h]},getIndexOfChild:function(e){return f.indexOf(this.getChildren(),e)}})})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],
function(f,p){return function(k,n,e,h){var q=k&&"function"===typeof k.then,d=q&&k instanceof p;if(q)d||(q=new f(k.cancel),k.then(q.resolve,q.reject,q.progress),k=q.promise);else return 1<arguments.length?n?n(k):k:(new f).resolve(k);return n||e||h?k.then(n,e,h):k}})},"dojo/data/ItemFileReadStore":function(){define("../_base/kernel ../_base/lang ../_base/declare ../_base/array ../_base/xhr ../Evented ./util/filter ./util/simpleFetch ../date/stamp".split(" "),function(f,p,k,n,e,h,q,d,b){k=k("dojo.data.ItemFileReadStore",
[h],{constructor:function(a){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=!1;this.url=this._ccUrl=this._jsonFileUrl=a.url;this._jsonData=a.data;this.data=null;this._datatypeMap=a.typeMap||{};this._datatypeMap.Date||(this._datatypeMap.Date={type:Date,deserialize:function(a){return b.fromISOString(a)}});this._features={"dojo.data.api.Read":!0,"dojo.data.api.Identity":!0};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName=
"_RI";this._reverseRefMap="_RRM";this._loadInProgress=!1;this._queuedFetches=[];void 0!==a.urlPreventCache&&(this.urlPreventCache=a.urlPreventCache?!0:!1);void 0!==a.hierarchical&&(this.hierarchical=a.hierarchical?!0:!1);a.clearOnClose&&(this.clearOnClose=!0);"failOk"in a&&(this.failOk=a.failOk?!0:!1)},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:!1,urlPreventCache:!1,failOk:!1,hierarchical:!0,_assertIsItem:function(a){if(!this.isItem(a))throw Error(this.declaredClass+": Invalid item argument.");
},_assertIsAttribute:function(a){if("string"!==typeof a)throw Error(this.declaredClass+": Invalid attribute argument.");},getValue:function(a,b,d){a=this.getValues(a,b);return 0<a.length?a[0]:d},getValues:function(a,b){this._assertIsItem(a);this._assertIsAttribute(b);return(a[b]||[]).slice(0)},getAttributes:function(a){this._assertIsItem(a);var b=[],d;for(d in a)d!==this._storeRefPropName&&(d!==this._itemNumPropName&&d!==this._rootItemPropName&&d!==this._reverseRefMap)&&b.push(d);return b},hasAttribute:function(a,
b){this._assertIsItem(a);this._assertIsAttribute(b);return b in a},containsValue:function(a,b,d){var e=void 0;"string"===typeof d&&(e=q.patternToRegExp(d,!1));return this._containsValue(a,b,d,e)},_containsValue:function(a,b,d,e){return n.some(this.getValues(a,b),function(a){if(null!==a&&!p.isObject(a)&&e){if(a.toString().match(e))return!0}else if(d===a)return!0})},isItem:function(a){return a&&a[this._storeRefPropName]===this&&this._arrayOfAllItems[a[this._itemNumPropName]]===a?!0:!1},isItemLoaded:function(a){return this.isItem(a)},
loadItem:function(a){this._assertIsItem(a.item)},getFeatures:function(){return this._features},getLabel:function(a){if(this._labelAttr&&this.isItem(a))return this.getValue(a,this._labelAttr)},getLabelAttributes:function(a){return this._labelAttr?[this._labelAttr]:null},filter:function(a,b,d){var e=[],f,h;if(a.query){var m;f=a.queryOptions?a.queryOptions.ignoreCase:!1;var k={};for(h in a.query)m=a.query[h],"string"===typeof m?k[h]=q.patternToRegExp(m,f):m instanceof RegExp&&(k[h]=m);for(f=0;f<b.length;++f){var n=
!0,p=b[f];if(null===p)n=!1;else for(h in a.query)m=a.query[h],this._containsValue(p,h,m,k[h])||(n=!1);n&&e.push(p)}}else for(f=0;f<b.length;++f)h=b[f],null!==h&&e.push(h);d(e,a)},_fetchItems:function(a,b,d){var g=this;if(this._loadFinished)this.filter(a,this._getItemsArray(a.queryOptions),b);else if(this._jsonFileUrl!==this._ccUrl?(f.deprecated(this.declaredClass+": ","To change the url, set the url property of the store, not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0"),this.url=this._ccUrl=
this._jsonFileUrl):this.url!==this._ccUrl&&(this._ccUrl=this._jsonFileUrl=this.url),null!=this.data&&(this._jsonData=this.data,this.data=null),this._jsonFileUrl)if(this._loadInProgress)this._queuedFetches.push({args:a,filter:p.hitch(g,"filter"),findCallback:p.hitch(g,b)});else{this._loadInProgress=!0;var h=e.get({url:g._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk});h.addCallback(function(e){try{g._getItemsFromLoadedData(e),g._loadFinished=!0,g._loadInProgress=
!1,g.filter(a,g._getItemsArray(a.queryOptions),b),g._handleQueuedFetches()}catch(f){g._loadFinished=!0,g._loadInProgress=!1,d(f,a)}});h.addErrback(function(b){g._loadInProgress=!1;d(b,a)});var k=null;a.abort&&(k=a.abort);a.abort=function(){h&&-1===h.fired&&h.cancel();k&&k.call(a)}}else if(this._jsonData)try{this._loadFinished=!0,this._getItemsFromLoadedData(this._jsonData),this._jsonData=null,g.filter(a,this._getItemsArray(a.queryOptions),b)}catch(m){d(m,a)}else d(Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),
a)},_handleQueuedFetches:function(){if(0<this._queuedFetches.length){for(var a=0;a<this._queuedFetches.length;a++){var b=this._queuedFetches[a],d=b.args,e=b.filter,b=b.findCallback;e?e(d,this._getItemsArray(d.queryOptions),b):this.fetchItemByIdentity(d)}this._queuedFetches=[]}},_getItemsArray:function(a){return a&&a.deep?this._arrayOfAllItems:this._arrayOfTopLevelItems},close:function(a){this.clearOnClose&&(this._loadFinished&&!this._loadInProgress)&&(this._arrayOfAllItems=[],this._arrayOfTopLevelItems=
[],this._loadFinished=!1,this._itemsByIdentity=null,this._loadInProgress=!1,this._queuedFetches=[])},_getItemsFromLoadedData:function(a){function b(a){return null!==a&&"object"===typeof a&&(!p.isArray(a)||e)&&!p.isFunction(a)&&(a.constructor==Object||p.isArray(a))&&"undefined"===typeof a._reference&&"undefined"===typeof a._type&&"undefined"===typeof a._value&&f.hierarchical}function d(a){f._arrayOfAllItems.push(a);for(var e in a){var g=a[e];if(g)if(p.isArray(g))for(var h=0;h<g.length;++h){var m=g[h];
b(m)&&d(m)}else b(g)&&d(g)}}var e=!1,f=this;this._labelAttr=a.label;var h,m;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=a.items;for(h=0;h<this._arrayOfTopLevelItems.length;++h)m=this._arrayOfTopLevelItems[h],p.isArray(m)&&(e=!0),d(m),m[this._rootItemPropName]=!0;var k={},n;for(h=0;h<this._arrayOfAllItems.length;++h)for(n in m=this._arrayOfAllItems[h],m){if(n!==this._rootItemPropName){var q=m[n];null!==q?p.isArray(q)||(m[n]=[q]):m[n]=[null]}k[n]=n}for(;k[this._storeRefPropName];)this._storeRefPropName+=
"_";for(;k[this._itemNumPropName];)this._itemNumPropName+="_";for(;k[this._reverseRefMap];)this._reverseRefMap+="_";if(k=a.identifier){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=k;for(h=0;h<this._arrayOfAllItems.length;++h)if(m=this._arrayOfAllItems[h],a=m[k],a=a[0],Object.hasOwnProperty.call(this._itemsByIdentity,a)){if(this._jsonFileUrl)throw Error(this.declaredClass+": The json data as specified by: ["+this._jsonFileUrl+"] is malformed. Items within the list have identifier: ["+
k+"]. Value collided: ["+a+"]");if(this._jsonData)throw Error(this.declaredClass+": The json data provided by the creation arguments is malformed. Items within the list have identifier: ["+k+"]. Value collided: ["+a+"]");}else this._itemsByIdentity[a]=m}else this._features["dojo.data.api.Identity"]=Number;for(h=0;h<this._arrayOfAllItems.length;++h)m=this._arrayOfAllItems[h],m[this._storeRefPropName]=this,m[this._itemNumPropName]=h;for(h=0;h<this._arrayOfAllItems.length;++h)for(n in m=this._arrayOfAllItems[h],
m){a=m[n];for(k=0;k<a.length;++k)if(q=a[k],null!==q&&"object"==typeof q){if("_type"in q&&"_value"in q){var v=q._type,x=this._datatypeMap[v];if(x)if(p.isFunction(x))a[k]=new x(q._value);else if(p.isFunction(x.deserialize))a[k]=x.deserialize(q._value);else throw Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");else throw Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+
v+"'");}if(q._reference){q=q._reference;if(p.isObject(q))for(v=0;v<this._arrayOfAllItems.length;++v){var x=this._arrayOfAllItems[v],z=!0,y;for(y in q)x[y]!=q[y]&&(z=!1);z&&(a[k]=x)}else a[k]=this._getItemByIdentity(q);this.referenceIntegrity&&(q=a[k],this.isItem(q)&&this._addReferenceToMap(q,m,n))}else this.isItem(q)&&this.referenceIntegrity&&this._addReferenceToMap(q,m,n)}}},_addReferenceToMap:function(a,b,d){},getIdentity:function(a){var b=this._features["dojo.data.api.Identity"];return b===Number?
a[this._itemNumPropName]:(a=a[b])?a[0]:null},fetchItemByIdentity:function(a){var b,d;if(this._loadFinished)b=this._getItemByIdentity(a.identity),a.onItem&&(d=a.scope?a.scope:f.global,a.onItem.call(d,b));else{var g=this;this._jsonFileUrl!==this._ccUrl?(f.deprecated(this.declaredClass+": ","To change the url, set the url property of the store, not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0"),this.url=this._ccUrl=this._jsonFileUrl):this.url!==this._ccUrl&&(this._ccUrl=this._jsonFileUrl=
this.url);null!=this.data&&null==this._jsonData&&(this._jsonData=this.data,this.data=null);this._jsonFileUrl?this._loadInProgress?this._queuedFetches.push({args:a}):(this._loadInProgress=!0,d=e.get({url:g._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk}),d.addCallback(function(d){var e=a.scope?a.scope:f.global;try{g._getItemsFromLoadedData(d),g._loadFinished=!0,g._loadInProgress=!1,b=g._getItemByIdentity(a.identity),a.onItem&&a.onItem.call(e,b),g._handleQueuedFetches()}catch(h){g._loadInProgress=
!1,a.onError&&a.onError.call(e,h)}}),d.addErrback(function(b){g._loadInProgress=!1;a.onError&&a.onError.call(a.scope?a.scope:f.global,b)})):this._jsonData&&(g._getItemsFromLoadedData(g._jsonData),g._jsonData=null,g._loadFinished=!0,b=g._getItemByIdentity(a.identity),a.onItem&&(d=a.scope?a.scope:f.global,a.onItem.call(d,b)))}},_getItemByIdentity:function(a){var b=null;this._itemsByIdentity?Object.hasOwnProperty.call(this._itemsByIdentity,a)&&(b=this._itemsByIdentity[a]):Object.hasOwnProperty.call(this._arrayOfAllItems,
a)&&(b=this._arrayOfAllItems[a]);void 0===b&&(b=null);return b},getIdentityAttributes:function(a){a=this._features["dojo.data.api.Identity"];return a===Number?null:[a]},_forceLoad:function(){var a=this;this._jsonFileUrl!==this._ccUrl?(f.deprecated(this.declaredClass+": ","To change the url, set the url property of the store, not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0"),this.url=this._ccUrl=this._jsonFileUrl):this.url!==this._ccUrl&&(this._ccUrl=this._jsonFileUrl=this.url);null!=
this.data&&(this._jsonData=this.data,this.data=null);if(this._jsonFileUrl){var b=e.get({url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:!0});b.addCallback(function(b){try{if(!0!==a._loadInProgress&&!a._loadFinished)a._getItemsFromLoadedData(b),a._loadFinished=!0;else if(a._loadInProgress)throw Error(this.declaredClass+": Unable to perform a synchronous load, an async load is in progress.");}catch(c){throw c;}});b.addErrback(function(a){throw a;
})}else this._jsonData&&(a._getItemsFromLoadedData(a._jsonData),a._jsonData=null,a._loadFinished=!0)}});p.extend(k,d);return k})},"dojo/dnd/Source":function(){define("../_base/array ../_base/declare ../_base/kernel ../_base/lang ../dom-class ../dom-geometry ../mouse ../ready ../topic ./common ./Selector ./Manager".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l){k.isAsync||d(0,function(){require(["dojo/dnd/AutoSource","dojo/dnd/Target"])});var g=p("dojo.dnd.Source",c,{isSource:!0,horizontal:!1,copyOnly:!1,
selfCopy:!1,selfAccept:!0,skipForm:!1,withHandles:!1,autoSync:!1,delay:0,accept:["text"],generateText:!0,constructor:function(a,c){n.mixin(this,n.mixin({},c));var d=this.accept;if(d.length){this.accept={};for(var g=0;g<d.length;++g)this.accept[d[g]]=1}this.mouseDown=this.isDragging=!1;this.targetBox=this.targetAnchor=null;this.before=!0;this._lastY=this._lastX=0;this.sourceState="";this.isSource&&e.add(this.node,"dojoDndSource");this.targetState="";this.accept&&e.add(this.node,"dojoDndTarget");this.horizontal&&
e.add(this.node,"dojoDndHorizontal");this.topics=[b.subscribe("/dnd/source/over",n.hitch(this,"onDndSourceOver")),b.subscribe("/dnd/start",n.hitch(this,"onDndStart")),b.subscribe("/dnd/drop",n.hitch(this,"onDndDrop")),b.subscribe("/dnd/cancel",n.hitch(this,"onDndCancel"))]},checkAcceptance:function(a,b){if(this==a)return!this.copyOnly||this.selfAccept;for(var c=0;c<b.length;++c){for(var d=a.getItem(b[c].id).type,e=!1,g=0;g<d.length;++g)if(d[g]in this.accept){e=!0;break}if(!e)return!1}return!0},copyState:function(a,
b){if(a)return!0;2>arguments.length&&(b=this==l.manager().target);if(b){if(this.copyOnly)return this.selfCopy}else return this.copyOnly;return!1},destroy:function(){g.superclass.destroy.call(this);f.forEach(this.topics,function(a){a.remove()});this.targetAnchor=null},onMouseMove:function(b){if(!(this.isDragging&&"Disabled"==this.targetState)){g.superclass.onMouseMove.call(this,b);var c=l.manager();if(!this.isDragging&&this.mouseDown&&this.isSource&&(Math.abs(b.pageX-this._lastX)>this.delay||Math.abs(b.pageY-
this._lastY)>this.delay)){var d=this.getSelectedNodes();d.length&&c.startDrag(this,d,this.copyState(a.getCopyKeyState(b),!0))}if(this.isDragging){d=!1;if(this.current){if(!this.targetBox||this.targetAnchor!=this.current)this.targetBox=h.position(this.current,!0);d=this.horizontal?b.pageX-this.targetBox.x<this.targetBox.w/2==h.isBodyLtr(this.current.ownerDocument):b.pageY-this.targetBox.y<this.targetBox.h/2}if(this.current!=this.targetAnchor||d!=this.before)this._markTargetAnchor(d),c.canDrop(!this.current||
c.source!=this||!(this.current.id in this.selection))}}},onMouseDown:function(b){if(!this.mouseDown&&this._legalMouseDown(b)&&(!this.skipForm||!a.isFormElement(b)))this.mouseDown=!0,this._lastX=b.pageX,this._lastY=b.pageY,g.superclass.onMouseDown.call(this,b)},onMouseUp:function(a){this.mouseDown&&(this.mouseDown=!1,g.superclass.onMouseUp.call(this,a))},onDndSourceOver:function(a){this!==a?(this.mouseDown=!1,this.targetAnchor&&this._unmarkTargetAnchor()):this.isDragging&&(a=l.manager(),a.canDrop("Disabled"!=
this.targetState&&(!this.current||a.source!=this||!(this.current.id in this.selection))))},onDndStart:function(a,b,c){this.autoSync&&this.sync();this.isSource&&this._changeState("Source",this==a?c?"Copied":"Moved":"");b=this.accept&&this.checkAcceptance(a,b);this._changeState("Target",b?"":"Disabled");this==a&&l.manager().overSource(this);this.isDragging=!0},onDndDrop:function(a,b,c,d){if(this==d)this.onDrop(a,b,c);this.onDndCancel()},onDndCancel:function(){this.targetAnchor&&(this._unmarkTargetAnchor(),
this.targetAnchor=null);this.before=!0;this.mouseDown=this.isDragging=!1;this._changeState("Source","");this._changeState("Target","")},onDrop:function(a,b,c){if(this!=a)this.onDropExternal(a,b,c);else this.onDropInternal(b,c)},onDropExternal:function(b,c,d){var e=this._normalizedCreator;this._normalizedCreator=this.creator?function(a,c){return e.call(this,b.getItem(a.id).data,c)}:d?function(c){var d=b.getItem(c.id);c=c.cloneNode(!0);c.id=a.getUniqueId();return{node:c,data:d.data,type:d.type}}:function(a){var c=
b.getItem(a.id);b.delItem(a.id);return{node:a,data:c.data,type:c.type}};this.selectNone();!d&&!this.creator&&b.selectNone();this.insertNodes(!0,c,this.before,this.current);!d&&this.creator&&b.deleteSelectedNodes();this._normalizedCreator=e},onDropInternal:function(b,c){var d=this._normalizedCreator;if(!(this.current&&this.current.id in this.selection)){if(c)this._normalizedCreator=this.creator?function(a,b){return d.call(this,this.getItem(a.id).data,b)}:function(b){var c=this.getItem(b.id);b=b.cloneNode(!0);
b.id=a.getUniqueId();return{node:b,data:c.data,type:c.type}};else{if(!this.current)return;this._normalizedCreator=function(a){var b=this.getItem(a.id);return{node:a,data:b.data,type:b.type}}}this._removeSelection();this.insertNodes(!0,b,this.before,this.current);this._normalizedCreator=d}},onDraggingOver:function(){},onDraggingOut:function(){},onOverEvent:function(){g.superclass.onOverEvent.call(this);l.manager().overSource(this);if(this.isDragging&&"Disabled"!=this.targetState)this.onDraggingOver()},
onOutEvent:function(){g.superclass.onOutEvent.call(this);l.manager().outSource(this);if(this.isDragging&&"Disabled"!=this.targetState)this.onDraggingOut()},_markTargetAnchor:function(a){this.current==this.targetAnchor&&this.before==a||(this.targetAnchor&&this._removeItemClass(this.targetAnchor,this.before?"Before":"After"),this.targetAnchor=this.current,this.targetBox=null,this.before=a,this.targetAnchor&&this._addItemClass(this.targetAnchor,this.before?"Before":"After"))},_unmarkTargetAnchor:function(){this.targetAnchor&&
(this._removeItemClass(this.targetAnchor,this.before?"Before":"After"),this.targetBox=this.targetAnchor=null,this.before=!0)},_markDndStatus:function(a){this._changeState("Source",a?"Copied":"Moved")},_legalMouseDown:function(a){if("touchstart"!=a.type&&!q.isLeft(a))return!1;if(!this.withHandles)return!0;for(a=a.target;a&&a!==this.node;a=a.parentNode){if(e.contains(a,"dojoDndHandle"))return!0;if(e.contains(a,"dojoDndItem")||e.contains(a,"dojoDndIgnore"))break}return!1}});return g})},"dojo/html":function(){define("./_base/kernel ./_base/lang ./_base/array ./_base/declare ./dom ./dom-construct ./parser".split(" "),
function(f,p,k,n,e,h,q){var d=0,b={_secureForInnerHtml:function(a){return a.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"")},_emptyNode:h.empty,_setNodeContent:function(a,b){h.empty(a);if(b)if("number"==typeof b&&(b=b.toString()),"string"==typeof b&&(b=h.toDom(b,a.ownerDocument)),!b.nodeType&&p.isArrayLike(b))for(var d=b.length,e=0;e<b.length;e=d==b.length?e+1:0)h.place(b[e],a,"last");else h.place(b,a,"last");return a},_ContentSetter:n("dojo.html._ContentSetter",null,{node:"",
content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:f._scopeName,startup:!0,constructor:function(a,b){p.mixin(this,a||{});b=this.node=e.byId(this.node||b);this.id||(this.id=["Setter",b?b.id||b.tagName:"",d++].join("_"))},set:function(a,b){void 0!==a&&(this.content=a);b&&this._mixin(b);this.onBegin();this.setContent();var d=this.onEnd();return d&&d.then?d:this.node},setContent:function(){var a=this.node;if(!a)throw Error(this.declaredClass+": setContent given no node");try{a=
b._setNodeContent(a,this.content)}catch(c){var d=this.onContentError(c);try{a.innerHTML=d}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e)}}this.node=a},empty:function(){this.parseDeferred&&(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred);this.parseResults&&this.parseResults.length&&(k.forEach(this.parseResults,function(a){a.destroy&&a.destroy()}),delete this.parseResults);h.empty(this.node)},onBegin:function(){var a=
this.content;if(p.isString(a)&&(this.cleanContent&&(a=b._secureForInnerHtml(a)),this.extractContent)){var c=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);c&&(a=c[1])}this.empty();this.content=a;return this.node},onEnd:function(){this.parseContent&&this._parse();return this.node},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content},onContentError:function(a){return"Error occurred setting content: "+a},onExecError:function(a){return"Error occurred executing scripts: "+
a},_mixin:function(a){var b={},d;for(d in a)d in b||(this[d]=a[d])},_parse:function(){var a=this.node;try{var b={};k.forEach(["dir","lang","textDir"],function(a){this[a]&&(b[a]=this[a])},this);var d=this;this.parseDeferred=q.parse({rootNode:a,noStart:!this.startup,inherited:b,scope:this.parserScope}).then(function(a){return d.parseResults=a},function(a){d._onError("Content",a,"Error parsing in _ContentSetter#"+this.id)})}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id)}},
_onError:function(a,c,d){a=this["on"+a+"Error"].call(this,c);d?console.error(d,c):a&&b._setNodeContent(this.node,a,!0)}}),set:function(a,c,d){void 0==c&&(c="");"number"==typeof c&&(c=c.toString());return d?(new b._ContentSetter(p.mixin(d,{content:c,node:a}))).set():b._setNodeContent(a,c,!0)}};p.setObject("dojo.html",b);return b})},"dijit/form/ValidationTextBox":function(){define("dojo/_base/declare dojo/_base/kernel dojo/_base/lang dojo/i18n ./TextBox ../Tooltip dojo/text!./templates/ValidationTextBox.html dojo/i18n!./nls/validate".split(" "),
function(f,p,k,n,e,h,q){var d=f("dijit.form.ValidationTextBox",e,{templateString:q,required:!1,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(b,a){a!=d.prototype[b]&&(p.deprecated("ValidationTextBox id\x3d"+this.id+", set('"+b+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0"),this.set("pattern",a))},_setRegExpGenAttr:function(b){this._deprecateRegExp("regExpGen",
b);this._set("regExpGen",this._computeRegexp)},_setRegExpAttr:function(b){this._deprecateRegExp("regExp",b)},_setValueAttr:function(){this.inherited(arguments);this._refreshState()},validator:function(b,a){return RegExp("^(?:"+this._computeRegexp(a)+")"+(this.required?"":"?")+"$").test(b)&&(!this.required||!this._isEmpty(b))&&(this._isEmpty(b)||void 0!==this.parse(b,a))},_isValidSubset:function(){return 0==this.textbox.value.search(this._partialre)},isValid:function(){return this.validator(this.textbox.value,
this.get("constraints"))},_isEmpty:function(b){return(this.trim?/^\s*$/:/^$/).test(b)},getErrorMessage:function(){var b="$_unset_$"==this.invalidMessage?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage,a="$_unset_$"==this.missingMessage?this.messages.missingMessage:!this.missingMessage?b:this.missingMessage;return this.required&&this._isEmpty(this.textbox.value)?a:b},getPromptMessage:function(){return this.promptMessage},_maskValidSubsetError:!0,validate:function(b){var a=
"",c=this.disabled||this.isValid(b);c&&(this._maskValidSubsetError=!0);var d=this._isEmpty(this.textbox.value),e=!c&&b&&this._isValidSubset();this._set("state",c?"":((!this._hasBeenBlurred||b)&&d||e)&&(this._maskValidSubsetError||e&&!this._hasBeenBlurred&&b)?"Incomplete":"Error");this.focusNode.setAttribute("aria-invalid","Error"==this.state?"true":"false");"Error"==this.state?(this._maskValidSubsetError=b&&e,a=this.getErrorMessage(b)):"Incomplete"==this.state?(a=this.getPromptMessage(b),this._maskValidSubsetError=
!this._hasBeenBlurred||b):d&&(a=this.getPromptMessage(b));this.set("message",a);return c},displayMessage:function(b){b&&this.focused?h.show(b,this.domNode,this.tooltipPosition,!this.isLeftToRight()):h.hide(this.domNode)},_refreshState:function(){this._created&&this.validate(this.focused);this.inherited(arguments)},constructor:function(b){this.constraints=k.clone(this.constraints);this.baseClass+=" dijitValidationTextBox"},startup:function(){this.inherited(arguments);this._refreshState()},_setConstraintsAttr:function(b){!b.locale&&
this.lang&&(b.locale=this.lang);this._set("constraints",b);this._refreshState()},_setPatternAttr:function(b){this._set("pattern",b);this._refreshState()},_computeRegexp:function(b){var a=this.pattern;"function"==typeof a&&(a=a.call(this,b));if(a!=this._lastRegExp){var c="";this._lastRegExp=a;".*"!=a&&a.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(a){switch(a.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":c+=a;break;case ")":c+="|$)";break;default:c+=
"(?:"+a+"|$)"}});try{"".search(c)}catch(d){c=this.pattern}this._partialre="^(?:"+c+")$"}return a},postMixInProperties:function(){this.inherited(arguments);this.messages=n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints)},_setDisabledAttr:function(b){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(b){this._set("required",b);this.focusNode.setAttribute("aria-required",b);this._refreshState()},_setMessageAttr:function(b){this._set("message",
b);this.displayMessage(b)},reset:function(){this._maskValidSubsetError=!0;this.inherited(arguments)},_onBlur:function(){this.displayMessage("");this.inherited(arguments)},destroy:function(){h.hide(this.domNode);this.inherited(arguments)}});return d})},"dijit/selection":function(){define("dojo/_base/array dojo/dom dojo/_base/lang dojo/sniff dojo/_base/window dijit/focus".split(" "),function(f,p,k,n,e,h){var q=function(b){var a=b.document;this.getType=function(){if(a.getSelection){var c="text",d;try{d=
b.getSelection()}catch(e){}d&&1==d.rangeCount&&(d=d.getRangeAt(0),d.startContainer==d.endContainer&&(1==d.endOffset-d.startOffset&&3!=d.startContainer.nodeType)&&(c="control"));return c}return a.selection.type.toLowerCase()};this.getSelectedText=function(){if(a.getSelection){var c=b.getSelection();return c?c.toString():""}return"control"==this.getType()?null:a.selection.createRange().text};this.getSelectedHtml=function(){if(a.getSelection){var c=b.getSelection();if(c&&c.rangeCount){var d,e="";for(d=
0;d<c.rangeCount;d++){var f=c.getRangeAt(d).cloneContents(),h=a.createElement("div");h.appendChild(f);e+=h.innerHTML}return e}return null}return"control"==this.getType()?null:a.selection.createRange().htmlText};this.getSelectedElement=function(){if("control"==this.getType()){if(a.getSelection){var c=b.getSelection();return c.anchorNode.childNodes[c.anchorOffset]}if((c=a.selection.createRange())&&c.item)return a.selection.createRange().item(0)}return null};this.getParentElement=function(){if("control"==
this.getType()){var b=this.getSelectedElement();if(b)return b.parentNode}else if(a.getSelection){if(b=a.getSelection()){for(b=b.anchorNode;b&&1!=b.nodeType;)b=b.parentNode;return b}}else return b=a.selection.createRange(),b.collapse(!0),b.parentElement();return null};this.hasAncestorElement=function(a){return null!=this.getAncestorElement.apply(this,arguments)};this.getAncestorElement=function(a){var b=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(b,arguments)};this.isTag=
function(a,b){if(a&&a.tagName)for(var d=a.tagName.toLowerCase(),e=0;e<b.length;e++){var f=String(b[e]).toLowerCase();if(d==f)return f}return""};this.getParentOfType=function(a,b){for(;a;){if(this.isTag(a,b).length)return a;a=a.parentNode}return null};this.collapse=function(c){if(a.getSelection){var d=b.getSelection();d.removeAllRanges?c?d.collapseToStart():d.collapseToEnd():d.collapse(c)}else d=a.selection.createRange(),d.collapse(c),d.select()};this.remove=function(){var c=a.selection;a.getSelection?
(c=b.getSelection(),c.deleteFromDocument()):"none"!=c.type.toLowerCase()&&c.clear();return c};this.selectElementChildren=function(c,d){var e;c=p.byId(c);if(a.getSelection){var f=b.getSelection();n("opera")?(e=f.rangeCount?f.getRangeAt(0):a.createRange(),e.setStart(c,0),e.setEnd(c,3==c.nodeType?c.length:c.childNodes.length),f.addRange(e)):f.selectAllChildren(c)}else if(e=c.ownerDocument.body.createTextRange(),e.moveToElementText(c),!d)try{e.select()}catch(h){}};this.selectElement=function(b,d){var g;
b=p.byId(b);if(a.getSelection){var f=a.getSelection();g=a.createRange();f.removeAllRanges&&(n("opera")&&f.getRangeAt(0)&&(g=f.getRangeAt(0)),g.selectNode(b),f.removeAllRanges(),f.addRange(g))}else try{f=b.tagName?b.tagName.toLowerCase():"",g="img"===f||"table"===f?e.body(a).createControlRange():e.body(a).createRange(),g.addElement(b),d||g.select()}catch(h){this.selectElementChildren(b,d)}};this.inSelection=function(c){if(c){var d,e;if(a.getSelection){var f=b.getSelection();f&&0<f.rangeCount&&(e=f.getRangeAt(0));
if(e&&e.compareBoundaryPoints&&a.createRange)try{if(d=a.createRange(),d.setStart(c,0),1===e.compareBoundaryPoints(e.START_TO_END,d))return!0}catch(h){}}else{e=a.selection.createRange();try{d=c.ownerDocument.body.createTextRange(),d.moveToElementText(c)}catch(m){}if(e&&d&&1===e.compareEndPoints("EndToStart",d))return!0}}return!1};this.getBookmark=function(){var c,d,e=a.selection,f=h.curNode;if(a.getSelection){if(e=b.getSelection())if(e.isCollapsed){if(c=f?f.tagName:"")if(c=c.toLowerCase(),"textarea"==
c||"input"==c&&(!f.type||"text"==f.type.toLowerCase()))return e={start:f.selectionStart,end:f.selectionEnd,node:f,pRange:!0},{isCollapsed:e.end<=e.start,mark:e};c={isCollapsed:!0};e.rangeCount&&(c.mark=e.getRangeAt(0).cloneRange())}else d=e.getRangeAt(0),c={isCollapsed:!1,mark:d.cloneRange()}}else if(e){c=f?f.tagName:"";c=c.toLowerCase();if(f&&c&&("button"==c||"textarea"==c||"input"==c)){if(e.type&&"none"==e.type.toLowerCase())return{isCollapsed:!0,mark:null};d=e.createRange();return{isCollapsed:d.text&&
d.text.length?!1:!0,mark:{range:d,pRange:!0}}}c={};try{d=e.createRange(),c.isCollapsed=!("Text"==e.type?d.htmlText.length:d.length)}catch(k){return c.isCollapsed=!0,c}if("CONTROL"==e.type.toUpperCase())if(d.length){c.mark=[];e=0;for(f=d.length;e<f;)c.mark.push(d.item(e++))}else c.isCollapsed=!0,c.mark=null;else c.mark=d.getBookmark()}return c};this.moveToBookmark=function(c){if(c=c.mark)if(a.getSelection){var d=b.getSelection();d&&d.removeAllRanges&&(c.pRange?(d=c.node,d.selectionStart=c.start,d.selectionEnd=
c.end):(d.removeAllRanges(),d.addRange(c)))}else if(a.selection&&c){var e;c.pRange?e=c.range:k.isArray(c)?(e=a.body.createControlRange(),f.forEach(c,function(a){e.addElement(a)})):(e=a.body.createTextRange(),e.moveToBookmark(c));e.select()}};this.isCollapsed=function(){return this.getBookmark().isCollapsed}},d=new q(window);d.SelectionManager=q;return d})},"dijit/_base/typematic":function(){define(["../typematic"],function(){})},"dijit/_base":function(){define("./main ./a11y ./WidgetSet ./_base/focus ./_base/manager ./_base/place ./_base/popup ./_base/scroll ./_base/sniff ./_base/typematic ./_base/wai ./_base/window".split(" "),
function(f){return f._base})},"dijit/layout/BorderContainer":function(){define("dojo/_base/array dojo/cookie dojo/_base/declare dojo/dom-class dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/keys dojo/_base/lang dojo/on dojo/touch ../_WidgetBase ../_Widget ../_TemplatedMixin ./LayoutContainer ./utils".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m){var t=k("dijit.layout._Splitter",[g,s],{live:!0,templateString:'\x3cdiv class\x3d"dijitSplitter" data-dojo-attach-event\x3d"onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse" tabIndex\x3d"0" role\x3d"separator"\x3e\x3cdiv class\x3d"dijitSplitterThumb"\x3e\x3c/div\x3e\x3c/div\x3e',
constructor:function(){this._handlers=[]},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region},buildRendering:function(){this.inherited(arguments);n.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var a=p(this._cookieName);a&&(this.child.domNode.style[this.horizontal?"height":"width"]=a)}},_computeMaxSize:function(){var a=
this.horizontal?"h":"w",b=h.getMarginBox(this.child.domNode)[a],c=f.filter(this.container.getChildren(),function(a){return"center"==a.region})[0],a=h.getContentBox(c.domNode)[a]-10;return Math.min(this.child.maxSize,b+a)},_startDrag:function(d){this.cover||(this.cover=e.place("\x3cdiv class\x3ddijitSplitterCover\x3e\x3c/div\x3e",this.child.domNode,"after"));n.add(this.cover,"dijitSplitterCoverActive");this.fake&&e.destroy(this.fake);if(!(this._resize=this.live))(this.fake=this.domNode.cloneNode(!0)).removeAttribute("id"),
n.add(this.domNode,"dijitSplitterShadow"),e.place(this.fake,this.domNode,"after");n.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");this.fake&&n.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");var f=this._factor,g=this.horizontal,m=g?"pageY":"pageX",l=d[m],k=this.domNode.style,g=g?"h":"w",r=q.getComputedStyle(this.child.domNode),p=h.getMarginBox(this.child.domNode,r)[g],s=this._computeMaxSize(),t=Math.max(this.child.minSize,
h.getPadBorderExtents(this.child.domNode,r)[g]+10),g=this.region,w="top"==g||"bottom"==g?"top":"left",Q=parseInt(k[w],10),G=this._resize,J=b.hitch(this.container,"_layoutChildren",this.child.id),g=this.ownerDocument;this._handlers=this._handlers.concat([a(g,c.move,this._drag=function(a,b){var c=a[m]-l,d=f*c+p,e=Math.max(Math.min(d,s),t);(G||b)&&J(e);k[w]=c+Q+f*(e-d)+"px"}),a(g,"dragstart",function(a){a.stopPropagation();a.preventDefault()}),a(this.ownerDocumentBody,"selectstart",function(a){a.stopPropagation();
a.preventDefault()}),a(g,c.release,b.hitch(this,"_stopDrag"))]);d.stopPropagation();d.preventDefault()},_onMouse:function(a){a="mouseover"==a.type||"mouseenter"==a.type;n.toggle(this.domNode,"dijitSplitterHover",a);n.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",a)},_stopDrag:function(a){try{this.cover&&n.remove(this.cover,"dijitSplitterCoverActive"),this.fake&&e.destroy(this.fake),n.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow"),
this._drag(a),this._drag(a,!0)}finally{this._cleanupHandlers(),delete this._drag}this.container.persist&&p(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365})},_cleanupHandlers:function(){for(var a;a=this._handlers.pop();)a.remove()},_onKeyDown:function(a){this._resize=!0;var b=this.horizontal,c=1;switch(a.keyCode){case b?d.UP_ARROW:d.LEFT_ARROW:c*=-1;case b?d.DOWN_ARROW:d.RIGHT_ARROW:break;default:return}b=h.getMarginSize(this.child.domNode)[b?"h":"w"]+this._factor*
c;this.container._layoutChildren(this.child.id,Math.max(Math.min(b,this._computeMaxSize()),this.child.minSize));a.stopPropagation();a.preventDefault()},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments)}}),w=k("dijit.layout._Gutter",[g,s],{templateString:'\x3cdiv class\x3d"dijitGutter" role\x3d"presentation"\x3e\x3c/div\x3e',postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region)},
buildRendering:function(){this.inherited(arguments);n.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"))}});k=k("dijit.layout.BorderContainer",r,{gutters:!0,liveSplitters:!0,persist:!1,baseClass:"dijitBorderContainer",_splitterClass:t,postMixInProperties:function(){this.gutters||(this.baseClass+="NoGutter");this.inherited(arguments)},_setupChild:function(a){this.inherited(arguments);var c=a.region,d=a.isLeftToRight();"leading"==c&&(c=d?"left":"right");"trailing"==c&&(c=d?"right":"left");if(c&&
"center"!=c&&(a.splitter||this.gutters)&&!a._splitterWidget)d=a.splitter?this._splitterClass:w,b.isString(d)&&(d=b.getObject(d)),d=new d({id:a.id+"_splitter",container:this,child:a,region:c,live:this.liveSplitters}),d.isSplitter=!0,a._splitterWidget=d,c="bottom"==c||c==(this.isLeftToRight()?"right":"left"),e.place(d.domNode,a.domNode,c?"before":"after"),d.startup()},layout:function(){this._layoutChildren()},removeChild:function(a){var b=a._splitterWidget;b&&(b.destroy(),delete a._splitterWidget);
this.inherited(arguments)},getChildren:function(){return f.filter(this.inherited(arguments),function(a){return!a.isSplitter})},getSplitter:function(a){return f.filter(this.getChildren(),function(b){return b.region==a})[0]._splitterWidget},resize:function(a,b){if(!this.cs||!this.pe){var c=this.domNode;this.cs=q.getComputedStyle(c);this.pe=h.getPadExtents(c,this.cs);this.pe.r=q.toPixelValue(c,this.cs.paddingRight);this.pe.b=q.toPixelValue(c,this.cs.paddingBottom);q.set(c,"padding","0px")}this.inherited(arguments)},
_layoutChildren:function(a,b){if(this._borderBox&&this._borderBox.h){var c=[];f.forEach(this._getOrderedChildren(),function(a){c.push(a);a._splitterWidget&&c.push(a._splitterWidget)});m.layoutChildren(this.domNode,{l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h},c,a,b)}},destroyRecursive:function(){f.forEach(this.getChildren(),function(a){var b=a._splitterWidget;b&&b.destroy();delete a._splitterWidget});this.inherited(arguments)}});k.ChildWidgetProperties={splitter:!1,
minSize:0,maxSize:Infinity};b.mixin(k.ChildWidgetProperties,r.ChildWidgetProperties);b.extend(l,k.ChildWidgetProperties);k._Splitter=t;k._Gutter=w;return k})},"dgrid/OnDemandGrid":function(){define(["dojo/_base/declare","./Grid","./OnDemandList"],function(f,p,k){return f([p,k],{})})},"dojo/window":function(){define("./_base/lang ./sniff ./_base/window ./dom ./dom-geometry ./dom-style ./dom-construct".split(" "),function(f,p,k,n,e,h,q){p.add("rtl-adjust-position-for-verticalScrollBar",function(b,a){var c=
k.body(a),d=q.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},c,"last"),f=q.create("div",{style:{overflow:"hidden",direction:"ltr"}},d,"last"),h=0!=e.position(f).x;d.removeChild(f);c.removeChild(d);return h});p.add("position-fixed-support",function(b,a){var c=k.body(a),d=q.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},c,"last"),f=q.create("span",{style:{position:"fixed",
left:"0",top:"0"}},d,"last"),h=e.position(f).x!=e.position(d).x;d.removeChild(f);c.removeChild(d);return h});var d={getBox:function(b){b=b||k.doc;var a="BackCompat"==b.compatMode?k.body(b):b.documentElement,c=e.docScroll(b);if(p("touch")){var f=d.get(b);b=f.innerWidth||a.clientWidth;a=f.innerHeight||a.clientHeight}else b=a.clientWidth,a=a.clientHeight;return{l:c.x,t:c.y,w:b,h:a}},get:function(b){if(p("ie")&&d!==document.parentWindow){b.parentWindow.execScript("document._parentWindow \x3d window;",
"Javascript");var a=b._parentWindow;b._parentWindow=null;return a}return b.parentWindow||b.defaultView},scrollIntoView:function(b,a){try{b=n.byId(b);var c=b.ownerDocument||k.doc,d=k.body(c),f=c.documentElement||d.parentNode,q=p("ie")||p("trident"),r=p("webkit");if(!(b==d||b==f))if(!p("mozilla")&&(!q&&!r&&!p("opera")&&!p("trident")&&!p("edge"))&&"scrollIntoView"in b)b.scrollIntoView(!1);else{var m="BackCompat"==c.compatMode,t=Math.min(d.clientWidth||f.clientWidth,f.clientWidth||d.clientWidth),w=Math.min(d.clientHeight||
f.clientHeight,f.clientHeight||d.clientHeight),c=r||m?d:f,u=a||e.position(b),v=b.parentNode,r=function(a){return 6>=q||7==q&&m?!1:p("position-fixed-support")&&"fixed"==h.get(a,"position").toLowerCase()},x=this,z=function(a,b,c){"BODY"==a.tagName||"HTML"==a.tagName?x.get(a.ownerDocument).scrollBy(b,c):(b&&(a.scrollLeft+=b),c&&(a.scrollTop+=c))};if(!r(b))for(;v;){v==d&&(v=c);var y=e.position(v),A=r(v),B="rtl"==h.getComputedStyle(v).direction.toLowerCase();if(v==c){y.w=t;y.h=w;if(c==f&&(q||p("trident"))&&
B)y.x+=c.offsetWidth-y.w;y.x=0;y.y=0}else{var E=e.getPadBorderExtents(v);y.w-=E.w;y.h-=E.h;y.x+=E.l;y.y+=E.t;var H=v.clientWidth,L=y.w-H;0<H&&0<L&&(B&&p("rtl-adjust-position-for-verticalScrollBar")&&(y.x+=L),y.w=H);H=v.clientHeight;L=y.h-H;0<H&&0<L&&(y.h=H)}A&&(0>y.y&&(y.h+=y.y,y.y=0),0>y.x&&(y.w+=y.x,y.x=0),y.y+y.h>w&&(y.h=w-y.y),y.x+y.w>t&&(y.w=t-y.x));var M=u.x-y.x,Q=u.y-y.y,G=M+u.w-y.w,J=Q+u.h-y.h,F,D;if(0<G*M&&(v.scrollLeft||v==c||v.scrollWidth>v.offsetHeight)){F=Math[0>M?"max":"min"](M,G);if(B&&
(8==q&&!m||5<=p("trident")))F=-F;D=v.scrollLeft;z(v,F,0);F=v.scrollLeft-D;u.x-=F}if(0<J*Q&&(v.scrollTop||v==c||v.scrollHeight>v.offsetHeight))F=Math.ceil(Math[0>Q?"max":"min"](Q,J)),D=v.scrollTop,z(v,0,F),F=v.scrollTop-D,u.y-=F;v=v!=c&&!A&&v.parentNode}}}catch(C){console.error("scrollIntoView: "+C),b.scrollIntoView(!1)}}};f.setObject("dojo.window",d);return d})},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(f,p,k,n,e){var h={};
f.setObject("dojo.number",h);h.format=function(d,b){b=f.mixin({},b||{});var a=p.normalizeLocale(b.locale),a=p.getLocalization("dojo.cldr","number",a);b.customs=a;a=b.pattern||a[(b.type||"decimal")+"Format"];return isNaN(d)||Infinity==Math.abs(d)?null:h._applyPattern(d,a,b)};h._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;h._applyPattern=function(d,b,a){a=a||{};var c=a.customs.group,e=a.customs.decimal;b=b.split(";");var f=b[0];b=b[0>d?1:0]||"-"+f;if(-1!=b.indexOf("%"))d*=100;else if(-1!=b.indexOf("\u2030"))d*=
1E3;else if(-1!=b.indexOf("\u00a4"))c=a.customs.currencyGroup||c,e=a.customs.currencyDecimal||e,b=b.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(b,c,d,e){b=a[["symbol","currency","displayName"][d.length-1]]||a.currency||"";return!b?"":c+b+e});else if(-1!=b.indexOf("E"))throw Error("exponential notation not supported");var k=h._numberPatternRE,f=f.match(k);if(!f)throw Error("unable to find a number expression in pattern: "+b);!1===a.fractional&&(a.places=0);return b.replace(k,h._formatAbsolute(d,
f[0],{decimal:e,group:c,places:a.places,round:a.round}))};h.round=function(d,b,a){a=10/(a||10);return(a*+d).toFixed(b)/a};if(0==(0.9).toFixed()){var q=h.round;h.round=function(d,b,a){var c=Math.pow(10,-b||0),e=Math.abs(d);if(!d||e>=c)c=0;else if(e/=c,0.5>e||0.95<=e)c=0;return q(d,b,a)+(0<d?c:-c)}}h._formatAbsolute=function(d,b,a){a=a||{};!0===a.places&&(a.places=0);Infinity===a.places&&(a.places=6);b=b.split(".");var c="string"==typeof a.places&&a.places.indexOf(","),e=a.places;c?e=a.places.substring(c+
1):0<=e||(e=(b[1]||[]).length);0>a.round||(d=h.round(d,e,a.round));d=String(Math.abs(d)).split(".");var f=d[1]||"";b[1]||a.places?(c&&(a.places=a.places.substring(0,c)),c=void 0!==a.places?a.places:b[1]&&b[1].lastIndexOf("0")+1,c>f.length&&(d[1]=n.pad(f,c,"0",!0)),e<f.length&&(d[1]=f.substr(0,e))):d[1]&&d.pop();e=b[0].replace(",","");c=e.indexOf("0");-1!=c&&(c=e.length-c,c>d[0].length&&(d[0]=n.pad(d[0],c)),-1==e.indexOf("#")&&(d[0]=d[0].substr(d[0].length-c)));var e=b[0].lastIndexOf(","),k,r;-1!=
e&&(k=b[0].length-e-1,b=b[0].substr(0,e),e=b.lastIndexOf(","),-1!=e&&(r=b.length-e-1));b=[];for(e=d[0];e;)c=e.length-k,b.push(0<c?e.substr(c):e),e=0<c?e.slice(0,c):"",r&&(k=r,delete r);d[0]=b.reverse().join(a.group||",");return d.join(a.decimal||".")};h.regexp=function(d){return h._parseInfo(d).regexp};h._parseInfo=function(d){d=d||{};var b=p.normalizeLocale(d.locale),b=p.getLocalization("dojo.cldr","number",b),a=d.pattern||b[(d.type||"decimal")+"Format"],c=b.group,f=b.decimal,g=1;if(-1!=a.indexOf("%"))g/=
100;else if(-1!=a.indexOf("\u2030"))g/=1E3;else{var k=-1!=a.indexOf("\u00a4");k&&(c=b.currencyGroup||c,f=b.currencyDecimal||f)}b=a.split(";");1==b.length&&b.push("-"+b[0]);b=e.buildGroupRE(b,function(a){a="(?:"+e.escapeString(a,".")+")";return a.replace(h._numberPatternRE,function(a){var b={signed:!1,separator:d.strict?c:[c,""],fractional:d.fractional,decimal:f,exponent:!1};a=a.split(".");var e=d.places;1==a.length&&1!=g&&(a[1]="###");1==a.length||0===e?b.fractional=!1:(void 0===e&&(e=d.pattern?a[1].lastIndexOf("0")+
1:Infinity),e&&void 0==d.fractional&&(b.fractional=!0),!d.places&&e<a[1].length&&(e+=","+a[1].length),b.places=e);a=a[0].split(",");1<a.length&&(b.groupSize=a.pop().length,1<a.length&&(b.groupSize2=a.pop().length));return"("+h._realNumberRegexp(b)+")"})},!0);k&&(b=b.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(a,b,c,f){a=e.escapeString(d[["symbol","currency","displayName"][c.length-1]]||d.currency||"");if(!a)return"";b=b?"[\\s\\xa0]":"";f=f?"[\\s\\xa0]":"";return!d.strict?(b&&(b+="*"),
f&&(f+="*"),"(?:"+b+a+f+")?"):b+a+f}));return{regexp:b.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:c,decimal:f,factor:g}};h.parse=function(d,b){var a=h._parseInfo(b),c=RegExp("^"+a.regexp+"$").exec(d);if(!c)return NaN;var e=c[1];if(!c[1]){if(!c[2])return NaN;e=c[2];a.factor*=-1}e=e.replace(RegExp("["+a.group+"\\s\\xa0]","g"),"").replace(a.decimal,".");return e*a.factor};h._realNumberRegexp=function(d){d=d||{};"places"in d||(d.places=Infinity);"string"!=typeof d.decimal&&(d.decimal=".");if(!("fractional"in
d)||/^0/.test(d.places))d.fractional=[!0,!1];"exponent"in d||(d.exponent=[!0,!1]);"eSigned"in d||(d.eSigned=[!0,!1]);var b=h._integerRegexp(d),a=e.buildGroupRE(d.fractional,function(a){var b="";a&&0!==d.places&&(b="\\"+d.decimal,b=Infinity==d.places?"(?:"+b+"\\d+)?":b+("\\d{"+d.places+"}"));return b},!0),c=e.buildGroupRE(d.exponent,function(a){return a?"([eE]"+h._integerRegexp({signed:d.eSigned})+")":""}),b=b+a;a&&(b="(?:(?:"+b+")|(?:"+a+"))");return b+c};h._integerRegexp=function(d){d=d||{};"signed"in
d||(d.signed=[!0,!1]);"separator"in d?"groupSize"in d||(d.groupSize=3):d.separator="";var b=e.buildGroupRE(d.signed,function(a){return a?"[-+]":""},!0),a=e.buildGroupRE(d.separator,function(a){if(!a)return"(?:\\d+)";a=e.escapeString(a);" "==a?a="\\s":"\u00a0"==a&&(a="\\s\\xa0");var b=d.groupSize,f=d.groupSize2;return f?(a="(?:0|[1-9]\\d{0,"+(f-1)+"}(?:["+a+"]\\d{"+f+"})*["+a+"]\\d{"+b+"})",0<b-f?"(?:"+a+"|(?:0|[1-9]\\d{0,"+(b-1)+"}))":a):"(?:0|[1-9]\\d{0,"+(b-1)+"}(?:["+a+"]\\d{"+b+"})*)"},!0);return b+
a};return h})},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(f,p,k,n){n.extend(p,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});return k("dijit._FocusMixin",null,{_focusManager:f})})},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(f){var p={};f.setObject("dojo.data.util.filter",p);p.patternToRegExp=function(f,n){for(var e="^",h=
null,q=0;q<f.length;q++)switch(h=f.charAt(q),h){case "\\":e+=h;q++;e+=f.charAt(q);break;case "*":e+=".*";break;case "?":e+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":e+="\\";default:e+=h}e+="$";return n?RegExp(e,"mi"):RegExp(e,"m")};return p})},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(f,p,k,n,e){return k("dijit._WidgetsInTemplateMixin",
null,{_earlyTemplatedStartup:!1,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var f=this.domNode;this.containerNode&&!this.searchContainerNode&&(this.containerNode.stopParser=!0);e.parse(f,{noStart:!this._earlyTemplatedStartup,template:!0,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(n.hitch(this,function(e){this._startupWidgets=e;for(var d=0;d<e.length;d++)this._processTemplateNode(e[d],
function(b,a){return b[a]},function(b,a,c){return a in b?b.connect(b,a,c):b.on(a,c,!0)});this.containerNode&&this.containerNode.stopParser&&delete this.containerNode.stopParser}));if(!this._startupWidgets)throw Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");}},_processTemplateNode:function(e,f,d){return f(e,"dojoType")||f(e,"data-dojo-type")?
!0:this.inherited(arguments)},startup:function(){f.forEach(this._startupWidgets,function(e){e&&(!e._started&&e.startup)&&e.startup()});this._startupWidgets=null;this.inherited(arguments)}})})},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(f,p,k,n,e){var h=Object.freeze||function(){},q=function(a,b,e,f,h){2===b&&(c.instrumentRejected&&0===a.length)&&c.instrumentRejected(e,!1,f,h);for(h=0;h<a.length;h++)d(a[h],
b,e,f)},d=function(d,e,f,h){var m=d[e],k=d.deferred;if(m)try{var n=m(f);if(0===e)"undefined"!==typeof n&&a(k,e,n);else{if(n&&"function"===typeof n.then){d.cancel=n.cancel;n.then(b(k,1),b(k,2),b(k,0));return}a(k,1,n)}}catch(q){a(k,2,q)}else a(k,e,f);2===e&&c.instrumentRejected&&c.instrumentRejected(f,!!m,h,k.promise)},b=function(b,c){return function(d){a(b,c,d)}},a=function(a,b,c){if(!a.isCanceled())switch(b){case 0:a.progress(c);break;case 1:a.resolve(c);break;case 2:a.reject(c)}},c=function(a){var b=
this.promise=new n,e=this,f,m,p,w=!1,u=[];Error.captureStackTrace&&(Error.captureStackTrace(e,c),Error.captureStackTrace(b,c));this.isResolved=b.isResolved=function(){return 1===f};this.isRejected=b.isRejected=function(){return 2===f};this.isFulfilled=b.isFulfilled=function(){return!!f};this.isCanceled=b.isCanceled=function(){return w};this.progress=function(a,c){if(f){if(!0===c)throw Error("This deferred has already been fulfilled.");return b}q(u,0,a,null,e);return b};this.resolve=function(a,c){if(f){if(!0===
c)throw Error("This deferred has already been fulfilled.");return b}q(u,f=1,m=a,null,e);u=null;return b};var v=this.reject=function(a,c){if(f){if(!0===c)throw Error("This deferred has already been fulfilled.");return b}Error.captureStackTrace&&Error.captureStackTrace(p={},v);q(u,f=2,m=a,p,e);u=null;return b};this.then=b.then=function(a,e,h){var l=[h,a,e];l.cancel=b.cancel;l.deferred=new c(function(a){return l.cancel&&l.cancel(a)});f&&!u?d(l,f,m,p):u.push(l);return l.deferred.promise};this.cancel=
b.cancel=function(b,c){if(f){if(!0===c)throw Error("This deferred has already been fulfilled.");}else{if(a){var d=a(b);b="undefined"===typeof d?b:d}w=!0;if(f){if(2===f&&m===b)return b}else return"undefined"===typeof b&&(b=new k),v(b),b}};h(b)};c.prototype.toString=function(){return"[object Deferred]"};e&&e(c);return c})},"dojo/_base/connect":function(){define("./kernel ../on ../topic ../aspect ./event ../mouse ./sniff ./lang ../keys".split(" "),function(f,p,k,n,e,h,q,d){function b(a,b,c,e,g){e=d.hitch(c,
e);if(!a||!a.addEventListener&&!a.attachEvent)return n.after(a||f.global,b,e,!0);"string"==typeof b&&"on"==b.substring(0,2)&&(b=b.substring(2));a||(a=f.global);if(!g)switch(b){case "keypress":b=s;break;case "mouseenter":b=h.enter;break;case "mouseleave":b=h.leave}return p(a,b,e,g)}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(b){}return 0==a.charCode&&!q("opera")});var c={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},l=q("mac")?"metaKey":"ctrlKey",g=function(b,c){var e=d.mixin({},b,c);a(e);e.preventDefault=function(){b.preventDefault()};e.stopPropagation=function(){b.stopPropagation()};return e},s;s=q("events-keypress-typed")?function(a,b){var d=p(a,"keydown",function(a){var d=a.keyCode,e=13!=d&&32!=
d&&(27!=d||!q("ie"))&&(48>d||90<d)&&(96>d||111<d)&&(186>d||192<d)&&(219>d||222<d)&&229!=d;if(e||a.ctrlKey){e=e?0:d;if(a.ctrlKey){if(3==d||13==d)return b.call(a.currentTarget,a);e=95<e&&106>e?e-48:!a.shiftKey&&65<=e&&90>=e?e+32:c[e]||e}d=g(a,{type:"keypress",faux:!0,charCode:e});b.call(a.currentTarget,d);if(q("ie"))try{a.keyCode=d.keyCode}catch(f){}}}),e=p(a,"keypress",function(a){var c=a.charCode;a=g(a,{charCode:32<=c?c:0,faux:!0});return b.call(this,a)});return{remove:function(){d.remove();e.remove()}}}:
q("opera")?function(a,b){return p(a,"keypress",function(a){var c=a.which;3==c&&(c=99);c=32>c&&!a.shiftKey?0:c;a.ctrlKey&&(!a.shiftKey&&65<=c&&90>=c)&&(c+=32);return b.call(this,g(a,{charCode:c}))})}:function(b,c){return p(b,"keypress",function(b){a(b);return c.call(this,b)})};var r={_keypress:s,connect:function(a,c,d,e,f){var g=arguments,h=[],l=0;h.push("string"==typeof g[0]?null:g[l++],g[l++]);var k=g[l+1];h.push("string"==typeof k||"function"==typeof k?g[l++]:null,g[l++]);for(k=g.length;l<k;l++)h.push(g[l]);
return b.apply(this,h)},disconnect:function(a){a&&a.remove()},subscribe:function(a,b,c){return k.subscribe(a,d.hitch(b,c))},publish:function(a,b){return k.publish.apply(k,[a].concat(b))},connectPublisher:function(a,b,c){var d=function(){r.publish(a,arguments)};return c?r.connect(b,c,d):r.connect(b,d)},isCopyKey:function(a){return a[l]}};r.unsubscribe=r.disconnect;d.mixin(f,r);return r})},"dgrid/Selection":function(){define("dojo/_base/declare dojo/dom-class dojo/on dojo/has dojo/aspect ./List dojo/has!touch?./util/touch dojo/query dojo/_base/sniff dojo/dom".split(" "),
function(f,p,k,n,e,h,q){function d(a,b){for(var c=a.unselectable=b?"on":"",d=a.getElementsByTagName("*"),e=d.length;--e;)"INPUT"===d[e].tagName||"TEXTAREA"===d[e].tagName||(d[e].unselectable=c)}function b(a,b){var f=a.bodyNode,g=b?"text":21>n("ff")?"-moz-none":"none";c&&"msUserSelect"!==c?f.style[c]=g:n("dom-selectstart")?!b&&!a._selectstartHandle?a._selectstartHandle=k(f,"selectstart",function(a){var b=a.target&&a.target.tagName;"INPUT"!==b&&"TEXTAREA"!==b&&a.preventDefault()}):b&&a._selectstartHandle&&
(a._selectstartHandle.remove(),delete a._selectstartHandle):(d(f,!b),!b&&!a._unselectableHandle?a._unselectableHandle=e.after(a,"renderRow",function(a){d(a,!0);return a}):b&&a._unselectableHandle&&(a._unselectableHandle.remove(),delete a._unselectableHandle))}n.add("dom-comparedocumentposition",function(a,b,c){return!!c.compareDocumentPosition});n.add("dom-selectstart","undefined"!==typeof document.onselectstart);var a=n("mac")?"metaKey":"ctrlKey",c=n("css-user-select"),l=(h=n("pointer"))&&"MS"===
h.slice(0,2),g=h?h+(l?"Down":"down"):"mousedown",s=h?h+(l?"Up":"up"):"mouseup";"WebkitUserSelect"===c&&"undefined"!==typeof document.documentElement.style.msUserSelect&&(c=!1);return f(null,{selectionDelegate:".dgrid-row",selectionEvents:g+","+s+",dgrid-cellfocusin",selectionTouchEvents:n("touch")?q.tap:null,deselectOnRefresh:!0,allowSelectAll:!1,selection:{},selectionMode:"extended",allowTextSelection:void 0,_selectionTargetType:"rows",create:function(){this.selection={};return this.inherited(arguments)},
postCreate:function(){this.inherited(arguments);this._initSelectionEvents();var a=this.selectionMode;this.selectionMode="";this._setSelectionMode(a)},destroy:function(){this.inherited(arguments);this._selectstartHandle&&this._selectstartHandle.remove();this._unselectableHandle&&this._unselectableHandle.remove();this._removeDeselectSignals&&this._removeDeselectSignals()},_setSelectionMode:function(a){a!==this.selectionMode&&(this.clearSelection(),this.selectionMode=a,this._selectionHandlerName="_"+
a+"SelectionHandler",this._setAllowTextSelection(this.allowTextSelection))},_setAllowTextSelection:function(a){"undefined"!==typeof a?b(this,a):b(this,"none"===this.selectionMode);this.allowTextSelection=a},_handleSelect:function(a,b){if(this[this._selectionHandlerName]&&this.allowSelect(this.row(b))&&!("dgrid-cellfocusin"===a.type&&"mousedown"===a.parentType||a.type===s&&b!==this._waitForMouseUp)){this._waitForMouseUp=null;this._selectionTriggerEvent=a;if(!a.keyCode||!a.ctrlKey||32===a.keyCode)if(!a.shiftKey&&
a.type===g&&this.isSelected(b))this._waitForMouseUp=b;else this[this._selectionHandlerName](a,b);this._selectionTriggerEvent=null}},_singleSelectionHandler:function(b,c){var d=b.keyCode?b.ctrlKey:b[a];this._lastSelected===c?this.select(c,null,!d||!this.isSelected(c)):(this.clearSelection(),this.select(c),this._lastSelected=c)},_multipleSelectionHandler:function(b,c){var d=this._lastSelected,e=b.keyCode?b.ctrlKey:b[a],f;b.shiftKey||(f=e?null:!0,d=null);this.select(c,d,f);d||(this._lastSelected=c)},
_extendedSelectionHandler:function(b,c){(2===b.button?!this.isSelected(c):!(b.keyCode?b.ctrlKey:b[a]))&&this.clearSelection(null,!0);this._multipleSelectionHandler(b,c)},_toggleSelectionHandler:function(a,b){this.select(b,null,null)},_initSelectionEvents:function(){var b=this,c=this.contentNode,d=this.selectionDelegate;this._selectionEventQueues={deselect:[],select:[]};n("touch")&&!n("pointer")&&this.selectionTouchEvents?(k(c,q.selector(d,this.selectionTouchEvents),function(a){b._handleSelect(a,this);
b._ignoreMouseSelect=this}),k(c,k.selector(d,this.selectionEvents),function(a){b._ignoreMouseSelect!==this?b._handleSelect(a,this):a.type===s&&(b._ignoreMouseSelect=null)})):k(c,k.selector(d,this.selectionEvents),function(a){b._handleSelect(a,this)});this.addKeyHandler&&this.addKeyHandler(32,function(a){b._handleSelect(a,a.target)});if(this.allowSelectAll)this.on("keydown",function(c){c[a]&&(65===c.keyCode&&!/\bdgrid-input\b/.test(c.target.className))&&(c.preventDefault(),b[b.allSelected?"clearSelection":
"selectAll"]())});this._setCollection&&e.before(this,"_setCollection",function(a){b._updateDeselectionAspect(a)});this._updateDeselectionAspect()},_updateDeselectionAspect:function(a){function b(a,d){var e=c.row(a);if(e&&c.selection[e.id])c[d](e)}var c=this,d;this._removeDeselectSignals&&this._removeDeselectSignals();d=a&&a.track&&this._observeCollection?[e.before(this,"_observeCollection",function(a){d.push(a.on("delete",function(a){"undefined"===typeof a.index&&b(a.id,"deselect")}))}),e.after(this,
"_observeCollection",function(a){d.push(a.on("update",function(c){"undefined"!==typeof c.index&&b(a.getIdentity(c.target),"select")}))},!0)]:[e.before(this,"removeRow",function(a,b){var c;b||(c=this.row(a))&&c.id in this.selection&&this.deselect(c)})];this._removeDeselectSignals=function(){for(var a=d.length;a--;)d[a].remove();d=[]}},allowSelect:function(){return!0},_fireSelectionEvent:function(a){var b=this._selectionEventQueues[a],c=this._selectionTriggerEvent,d;d={bubbles:!0,grid:this};c&&(d.parentType=
c.type);d[this._selectionTargetType]=b;this._selectionEventQueues[a]=[];k.emit(this.contentNode,"dgrid-"+a,d)},_fireSelectionEvents:function(){var a=this._selectionEventQueues,b;for(b in a)a[b].length&&this._fireSelectionEvent(b)},_select:function(a,b,c){var d,e,f;"undefined"===typeof c&&(c=!0);a.element||(a=this.row(a));if(!1===c||this.allowSelect(a))if(d=this.selection,e=!!d[a.id],null===c&&(c=!e),f=a.element,!c&&!this.allSelected?delete this.selection[a.id]:d[a.id]=c,f&&(c?p.add(f,"dgrid-selected"+
(this.addUiClasses?" ui-state-active":"")):p.remove(f,"dgrid-selected ui-state-active")),c!==e&&f&&this._selectionEventQueues[(c?"":"de")+"select"].push(a),b)if(b.element||(b=this.row(b)),b){if(b=b.element){d=this._determineSelectionDirection(f,b);d||(b=document.getElementById(b.id),d=this._determineSelectionDirection(f,b));for(;a.element!==b&&(a=this[d](a));)this._select(a,null,c)}}else this._lastSelected=f},_determineSelectionDirection:n("dom-comparedocumentposition")?function(a,b){var c=b.compareDocumentPosition(a);
return c&1?!1:2===c?"down":"up"}:function(a,b){return 1>b.sourceIndex?!1:b.sourceIndex>a.sourceIndex?"down":"up"},select:function(a,b,c){this._select(a,b,c);this._fireSelectionEvents()},deselect:function(a,b){this.select(a,b,!1)},clearSelection:function(a,b){this.allSelected=!1;for(var c in this.selection)a!==c&&this._select(c,null,!1);b||(this._lastSelected=null);this._fireSelectionEvents()},selectAll:function(){this.allSelected=!0;this.selection={};for(var a in this._rowIdToObject){var b=this.row(this._rowIdToObject[a]);
this._select(b.id,null,!0)}this._fireSelectionEvents()},isSelected:function(a){if("undefined"===typeof a||null===a)return!1;a.element||(a=this.row(a));return a.id in this.selection?!!this.selection[a.id]:this.allSelected&&(!a.data||this.allowSelect(a))},refresh:function(){this.deselectOnRefresh&&this.clearSelection();this._lastSelected=null;return this.inherited(arguments)},renderArray:function(){var a=this.inherited(arguments),b=this.selection,c,d,e;for(c=0;c<a.length;c++)d=this.row(a[c]),(e=d.id in
b?b[d.id]:this.allSelected)&&this.select(d,null,e);this._fireSelectionEvents();return a}})})},"dojo/request/watch":function(){define("./util ../errors/RequestTimeoutError ../errors/CancelError ../_base/array ../_base/window ../has!host-browser?dom-addeventlistener?:../on:".split(" "),function(f,p,k,n,e,h){function q(){for(var c=+new Date,e=0,f;e<a.length&&(f=a[e]);e++){var h=f.response,k=h.options;if(f.isCanceled&&f.isCanceled()||f.isValid&&!f.isValid(h))a.splice(e--,1),d._onAction&&d._onAction();
else if(f.isReady&&f.isReady(h))a.splice(e--,1),f.handleResponse(h),d._onAction&&d._onAction();else if(f.startTime&&f.startTime+(k.timeout||0)<c)a.splice(e--,1),f.cancel(new p("Timeout exceeded",h)),d._onAction&&d._onAction()}d._onInFlight&&d._onInFlight(f);a.length||(clearInterval(b),b=null)}function d(c){c.response.options.timeout&&(c.startTime=+new Date);c.isFulfilled()||(a.push(c),b||(b=setInterval(q,50)),c.response.options.sync&&q())}var b=null,a=[];d.cancelAll=function(){try{n.forEach(a,function(a){try{a.cancel(new k("All requests canceled."))}catch(b){}})}catch(b){}};
e&&(h&&e.doc.attachEvent)&&h(e.global,"unload",function(){d.cancelAll()});return d})},"dgrid/_StoreMixin":function(){define("dojo/_base/declare dojo/_base/lang dojo/Deferred dojo/aspect dojo/dom-construct dojo/has dojo/on dojo/when".split(" "),function(f,p,k,n,e,h,q,d){function b(a){if("object"!==typeof a)a=Error(a);else if("cancel"===a.dojoType)return;q.emit(this.domNode,"dgrid-error",{grid:this,error:a,cancelable:!0,bubbles:!0})&&console.error(a)}return f(null,{collection:null,_renderedCollection:null,
_rows:null,_observerHandle:null,shouldTrackCollection:!0,getBeforePut:!0,noDataMessage:"",loadingMessage:"",_total:0,constructor:function(){this.dirty={};this._updating={};this._columnsWithSet={};n.before(this,"configStructure",p.hitch(this,function(){this._columnsWithSet={}}))},destroy:function(){this.inherited(arguments);this._renderedCollection&&this._cleanupCollection();this._refreshTimeout&&clearTimeout(this._refreshTimeout)},_configColumn:function(a){a.set&&(this._columnsWithSet[a.field]=a);
this.inherited(arguments)},_setCollection:function(a){this._renderedCollection&&(this.cleanup(),this._cleanupCollection({shouldRevert:!a||a.storage!==this._renderedCollection.storage}));this.collection=a;if(this._started){if(a){var b=a;this.sort&&0<this.sort.length&&(b=a.sort(this.sort));b.track&&this.shouldTrackCollection&&(b=b.track(),this._rows=[],this._observerHandle=this._observeCollection(b,this.contentNode,{rows:this._rows}));this._renderedCollection=b}this.refresh()}},_setStore:function(){},
_getTotal:function(){return this._total},_cleanupCollection:function(a){a=a||{};this._renderedCollection.tracking&&this._renderedCollection.tracking.remove();this._observerHandle&&(this._observerHandle.remove(),this._observerHandle=this._rows=null);!1!==a.shouldRevert&&(this.dirty={});this._renderedCollection=this.collection=null},_applySort:function(){this.collection&&this.set("collection",this.collection)},_emitRefreshComplete:function(){var a=this;this._refreshTimeout=setTimeout(function(){q.emit(a.domNode,
"dgrid-refresh-complete",{bubbles:!0,cancelable:!1,grid:a});a._refreshTimeout=null},0)},_insertNoDataNode:function(a){a=a||this.contentNode;var b=this.noDataNode=e.create("div",{className:"dgrid-no-data",innerHTML:this.noDataMessage});a.insertBefore(b,this._getFirstRowSibling&&this._getFirstRowSibling(a));return b},row:function(){var a=this.inherited(arguments);a&&(a.data&&"undefined"!==typeof a.id)&&(a.id=this.collection.getIdentity(a.data));return a},refresh:function(){var a=this.inherited(arguments);
this.collection||this._insertNoDataNode();return a},refreshCell:function(a){if(!this.collection||!this._createBodyRowCell)throw Error("refreshCell requires a Grid with a collection.");this.inherited(arguments);return this.collection.get(a.row.id).then(p.hitch(this,"_refreshCellFromItem",a))},_refreshCellFromItem:function(a,b,d){var f=a.element;e.empty(f);var h=this.dirty&&this.dirty[a.row.id];h&&(b=p.delegate(b,h));this._createBodyRowCell(f,a.column,b,d)},renderArray:function(){var a=this.inherited(arguments);
this.collection||a.length&&this.noDataNode&&e.destroy(this.noDataNode);return a},insertRow:function(a,b,d,f,h){var k=this.collection,m=this.dirty,k=k&&k.getIdentity(a),n;k in m&&!(k in this._updating)&&(n=m[k]);n&&(a=p.delegate(a,n));m=this.inherited(arguments);h&&h.rows&&(h.rows[f]=m);this.noDataNode&&(e.destroy(this.noDataNode),this.noDataNode=null);return m},updateDirty:function(a,b,d){var e=this.dirty,f=e[a];f||(f=e[a]={});f[b]=d},save:function(){function a(a,f){return function(m){var k=b._columnsWithSet,
n=b._updating,q,p;if("function"===typeof m.set)m.set(f);else for(q in f)m[q]=f[q];for(q in k)p=k[q].set(m),void 0!==p&&(m[q]=p);n[a]=!0;return d.put(m).then(function(b){delete e[a];delete n[a];h[a]=b;return h})}}var b=this,d=this.collection,e=this.dirty,f=new k,h={},m=function(a){var e;return b.getBeforePut||!(e=b.row(a).data)?function(){return d.get(a)}:function(){return e}},n=f.then(function(){return h}),q;for(q in e)var p=a(q,e[q]),n=n.then(m(q)).then(p);f.resolve();return n},revert:function(){this.dirty=
{};this.refresh()},_trackError:function(a){"string"===typeof a&&(a=p.hitch(this,a));var c=this,e;try{e=d(a())}catch(f){a=new k,a.reject(f),e=a.promise}e.otherwise(function(a){b.call(c,a)});return e},removeRow:function(a,b,d){var e={element:a};!b&&(this.up(e).element===a&&this.down(e).element===a)&&this._insertNoDataNode();(e=d&&d.rows||this._rows)&&delete e[a.rowIndex];return this.inherited(arguments)},renderQueryResults:function(a,b,d){d=p.mixin({rows:this._rows},d);var e=this;return a.then(function(a){a=
e.renderArray(a,b,d);delete e._lastCollection;return a})},_observeCollection:function(a,b,d){var e=this,f=d.rows,h,m=[a.on("delete, update",function(a){var m=a.previousIndex,k=a.index;void 0!==m&&f[m]&&("max"in f&&(void 0===k||k<f.min||k>f.max)&&f.max--,h=f[m],h.parentNode===b&&e.removeRow(h,!1,d),f.splice(m,1),("delete"===a.type||"update"===a.type&&(m<k||void 0===k))&&f[m]&&f[m].rowIndex--);"delete"===a.type&&(h=null)}),a.on("add, update",function(a){var m=a.previousIndex,k=a.index;if(void 0!==k&&
(!("max"in f)||k>=f.min&&k<=f.max)){"max"in f&&(void 0===m||m<f.min||m>f.max)&&f.max++;if(f.length){if(m=f[k],!m&&(m=f[k-1]))m=(m.connected||m).nextSibling}else m=e._getFirstRowSibling&&e._getFirstRowSibling(b);h&&(m&&h.id===m.id)&&(m=(m.connected||m).nextSibling);m&&!m.parentNode&&(m=document.getElementById(m.id));f.splice(k,0,void 0);h=e.insertRow(a.target,b,m,k,d);e.highlightRow(h)}h=null}),a.on("add, delete, update",function(b){var c="undefined"!==typeof b.previousIndex?b.previousIndex:Infinity,
d="undefined"!==typeof b.index?b.index:Infinity,h=Math.min(c,d);c!==d&&f[h]&&e.adjustRowIndices(f[h]);Infinity!==c&&(e._processScroll&&(f[c]||f[c-1]))&&e._processScroll();e._onNotification(f,b,a);a===e._renderedCollection&&"totalLength"in b&&(e._total=b.totalLength)})];return{remove:function(){for(;0<m.length;)m.pop().remove()}}},_onNotification:function(){}})})},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(f){var p={};f.setObject("dojo.data.util.sorter",p);p.basicComparator=
function(f,n){var e=-1;null===f&&(f=void 0);null===n&&(n=void 0);if(f==n)e=0;else if(f>n||null==f)e=1;return e};p.createSortFunction=function(f,n){function e(a,b,c,d){return function(e,f){var h=d.getValue(e,a),l=d.getValue(f,a);return b*c(h,l)}}for(var h=[],q,d=n.comparatorMap,b=p.basicComparator,a=0;a<f.length;a++){q=f[a];var c=q.attribute;if(c){q=q.descending?-1:1;var l=b;d&&("string"!==typeof c&&"toString"in c&&(c=c.toString()),l=d[c]||b);h.push(e(c,q,l,n))}}return function(a,b){for(var c=0;c<
h.length;){var d=h[c++](a,b);if(0!==d)return d}return 0}};return p})},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(f,p,k,n){var e=f("dijit.form._ButtonMixin"+(k("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();this.disabled||this.valueNode.click(e);return!1},_onClick:function(e){if(this.disabled)return e.stopPropagation(),e.preventDefault(),!1;!1===this.onClick(e)&&
e.preventDefault();var f=e.defaultPrevented;if(!f&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var d=this.domNode;d.parentNode;d=d.parentNode){var b=n.byNode(d);if(b&&"function"==typeof b._onSubmit){b._onSubmit(e);e.preventDefault();f=!0;break}}return!f},postCreate:function(){this.inherited(arguments);p.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(e){this._set("label",e);(this.containerNode||this.focusNode).innerHTML=e;this.onLabelSet()},
onLabelSet:function(){}});k("dojo-bidi")&&(e=f("dijit.form._ButtonMixin",e,{onLabelSet:function(){this.inherited(arguments);this.applyTextDir(this.containerNode||this.focusNode)}}));return e})},"dojo/dom-attr":function(){define("exports ./sniff ./_base/lang ./dom ./dom-style ./dom-prop".split(" "),function(f,p,k,n,e,h){function q(a,b){var d=a.getAttributeNode&&a.getAttributeNode(b);return!!d&&d.specified}var d={innerHTML:1,textContent:1,className:1,htmlFor:p("ie"),value:1},b={classname:"class",htmlfor:"for",
tabindex:"tabIndex",readonly:"readOnly"};f.has=function(a,c){var e=c.toLowerCase();return d[h.names[e]||c]||q(n.byId(a),b[e]||c)};f.get=function(a,c){a=n.byId(a);var e=c.toLowerCase(),f=h.names[e]||c,p=a[f];if(d[f]&&"undefined"!=typeof p)return p;if("textContent"==f)return h.get(a,f);if("href"!=f&&("boolean"==typeof p||k.isFunction(p)))return p;e=b[e]||c;return q(a,e)?a.getAttribute(e):null};f.set=function(a,c,l){a=n.byId(a);if(2==arguments.length){for(var g in c)f.set(a,g,c[g]);return a}g=c.toLowerCase();
var q=h.names[g]||c,p=d[q];if("style"==q&&"string"!=typeof l)return e.set(a,l),a;if(p||"boolean"==typeof l||k.isFunction(l))return h.set(a,c,l);a.setAttribute(b[g]||c,l);return a};f.remove=function(a,c){n.byId(a).removeAttribute(b[c.toLowerCase()]||c)};f.getNodeProp=function(a,c){a=n.byId(a);var d=c.toLowerCase(),e=h.names[d]||c;if(e in a&&"href"!=e)return a[e];d=b[d]||c;return q(a,d)?a.getAttribute(d):null}})},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(f,
p,k){var n={},e={},h={length:0,add:function(f){if(e[f.id])throw Error("Tried to register widget with id\x3d\x3d"+f.id+" but that id is already registered");e[f.id]=f;this.length++},remove:function(f){e[f]&&(delete e[f],this.length--)},byId:function(f){return"string"==typeof f?e[f]:f},byNode:function(f){return e[f.getAttribute("widgetId")]},toArray:function(){var f=[],d;for(d in e)f.push(e[d]);return f},getUniqueId:function(f){var d;do d=f+"_"+(f in n?++n[f]:n[f]=0);while(e[d]);return"dijit"==k._scopeName?
d:k._scopeName+"_"+d},findWidgets:function(f,d){function b(c){for(c=c.firstChild;c;c=c.nextSibling)if(1==c.nodeType){var f=c.getAttribute("widgetId");f?(f=e[f])&&a.push(f):c!==d&&b(c)}}var a=[];b(f);return a},_destroyAll:function(){k._curFocus=null;k._prevFocus=null;k._activeStack=[];f.forEach(h.findWidgets(p.body()),function(e){e._destroyed||(e.destroyRecursive?e.destroyRecursive():e.destroy&&e.destroy())})},getEnclosingWidget:function(f){for(;f;){var d=1==f.nodeType&&f.getAttribute("widgetId");
if(d)return e[d];f=f.parentNode}return null},_hash:e};return k.registry=h})},"dojo/io-query":function(){define(["./_base/lang"],function(f){var p={};return{objectToQuery:function(k){var n=encodeURIComponent,e=[],h;for(h in k){var q=k[h];if(q!=p[h]){var d=n(h)+"\x3d";if(f.isArray(q))for(var b=0,a=q.length;b<a;++b)e.push(d+n(q[b]));else e.push(d+n(q))}}return e.join("\x26")},queryToObject:function(k){var n=decodeURIComponent;k=k.split("\x26");for(var e={},h,p,d=0,b=k.length;d<b;++d)if(p=k[d],p.length){var a=
p.indexOf("\x3d");0>a?(h=n(p),p=""):(h=n(p.slice(0,a)),p=n(p.slice(a+1)));"string"==typeof e[h]&&(e[h]=[e[h]]);f.isArray(e[h])?e[h].push(p):e[h]=p}return e}}})},"dojo/_base/loader":function(){define("./kernel ../has require module ../json ./lang ./array".split(" "),function(f,p,k,n,e,h,q){var d=function(a){return a.replace(/\./g,"/")},b=/\/\/>>built/,a=[],c=[],l=function(b,d,e){a.push(e);q.forEach(b.split(","),function(a){a=M(a,d.module);c.push(a);Q(a)});g()},g=function(){var b,c;for(c in H)if(b=
H[c],void 0===b.noReqPluginCheck&&(b.noReqPluginCheck=/loadInit\!/.test(c)||/require\!/.test(c)?1:0),!b.executed&&!b.noReqPluginCheck&&b.injected==x)return;P(function(){var b=a;a=[];q.forEach(b,function(a){a(1)})})},s=function(a,b,c){var d=/\(|\)/g,e=1;for(d.lastIndex=b;(b=d.exec(a))&&!(e=")"==b[0]?e-1:e+1,0==e););if(0!=e)throw"unmatched paren around character "+d.lastIndex+" in: "+a;return[f.trim(a.substring(c,d.lastIndex))+";\n",d.lastIndex]},r=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,m=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,
t=/(^|\s)(require|define)\s*\(/m,w=function(a,b){var c,d,e,f=[],g=[];c=[];for(b=b||a.replace(r,function(a){m.lastIndex=t.lastIndex=0;return m.test(a)||t.test(a)?"":a});c=m.exec(b);)d=m.lastIndex,e=d-c[0].length,d=s(b,d,e),"loadInit"==c[2]?f.push(d[0]):g.push(d[0]),m.lastIndex=d[1];c=f.concat(g);return c.length||!t.test(b)?[a.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 \x26\x26 dojo.loadInit("),c.join(""),c]:0},u=k.initSyncLoader(l,g,function(a,c){var d,f,g=[],h=[];if(b.test(c)||!(d=w(c)))return 0;f=
a.mid+"-*loadInit";for(var m in M("dojo",a).result.scopeMap)g.push(m),h.push('"'+m+'"');return"// xdomain rewrite of "+a.mid+"\ndefine('"+f+"',{\n\tnames:"+e.stringify(g)+",\n\tdef:function("+g.join(",")+"){"+d[1]+"}});\n\ndefine("+e.stringify(g.concat(["dojo/loadInit!"+f]))+", function("+g.join(",")+"){\n"+d[0]+"});"}),v=u.sync,x=u.requested,z=u.arrived,y=u.nonmodule,A=u.executing,B=u.executed,E=u.syncExecStack,H=u.modules,L=u.execQ,M=u.getModule,Q=u.injectModule,G=u.setArrived,J=u.signal,F=u.finishExec,
D=u.execModule,C=u.getLegacyMode,P=u.guardCheckComplete,l=u.dojoRequirePlugin;f.provide=function(a){var b=E[0],c=h.mixin(M(d(a),k.module),{executed:A,result:h.getObject(a,!0)});G(c);b&&(b.provides||(b.provides=[])).push(function(){c.result=h.getObject(a);delete c.provides;c.executed!==B&&F(c)});return c.result};p.add("config-publishRequireResult",1,0,0);f.require=function(a,b){var c=function(a,b){var c=M(d(a),k.module);if(E.length&&E[0].finish)E[0].finish.push(a);else{if(c.executed)return c.result;
b&&(c.result=y);var e=C();Q(c);e=C();c.executed!==B&&c.injected===z&&u.guardCheckComplete(function(){D(c)});if(c.executed)return c.result;e==v?c.cjs?L.unshift(c):E.length&&(E[0].finish=[a]):L.push(c)}}(a,b);p("config-publishRequireResult")&&(!h.exists(a)&&void 0!==c)&&h.setObject(a,c);return c};f.loadInit=function(a){a()};f.registerModulePath=function(a,b){var c={};c[a.replace(/\./g,"/")]=b;k({paths:c})};f.platformRequire=function(a){a=(a.common||[]).concat(a[f._name]||a["default"]||[]);for(var b;a.length;)h.isArray(b=
a.shift())?f.require.apply(f,b):f.require(b)};f.requireIf=f.requireAfterIf=function(a,b,c){a&&f.require(b,c)};f.requireLocalization=function(a,b,c){k(["../i18n"],function(d){d.getLocalization(a,b,c)})};return{extractLegacyApiApplications:w,require:l,loadInit:function(a,b,c){b([a],function(a){b(a.names,function(){for(var e="",g=[],h=0;h<arguments.length;h++)e+="var "+a.names[h]+"\x3d arguments["+h+"]; ",g.push(arguments[h]);eval(e);var m=b.module,k=[],p,e={provide:function(a){a=d(a);a=M(a,m);a!==m&&
G(a)},require:function(a,b){a=d(a);b&&(M(a,m).result=y);k.push(a)},requireLocalization:function(a,b,c){p||(p=["dojo/i18n"]);c=(c||f.locale).toLowerCase();a=d(a)+"/nls/"+(/root/i.test(c)?"":c+"/")+d(b);M(a,m).isXd&&p.push("dojo/i18n!"+a)},loadInit:function(a){a()}},h={},q;try{for(q in e)h[q]=f[q],f[q]=e[q];a.def.apply(null,g)}catch(r){J("error",[{src:n.id,id:"failedDojoLoadInit"},r])}finally{for(q in e)f[q]=h[q]}p&&(k=k.concat(p));k.length?l(k.join(","),b,c):c()})})}}})},"dojo/date/locale":function(){define("../_base/lang ../_base/array ../date ../cldr/supplemental ../i18n ../regexp ../string ../i18n!../cldr/nls/gregorian module".split(" "),
function(f,p,k,n,e,h,q,d,b){function a(a,b,c,d){return d.replace(/([a-z])\1*/ig,function(e){var f,h,l=e.charAt(0);e=e.length;var k=["abbr","wide","narrow"];switch(l){case "G":f=b[4>e?"eraAbbr":"eraNames"][0>a.getFullYear()?0:1];break;case "y":f=a.getFullYear();switch(e){case 1:break;case 2:if(!c.fullYear){f=String(f);f=f.substr(f.length-2);break}default:h=!0}break;case "Q":case "q":f=Math.ceil((a.getMonth()+1)/3);h=!0;break;case "M":case "L":f=a.getMonth();3>e?(f+=1,h=!0):(l=["months","L"==l?"standAlone":
"format",k[e-3]].join("-"),f=b[l][f]);break;case "w":f=g._getWeekOfYear(a,0);h=!0;break;case "d":f=a.getDate();h=!0;break;case "D":f=g._getDayOfYear(a);h=!0;break;case "e":case "c":if(f=a.getDay(),2>e){f=(f-n.getFirstDayOfWeek(c.locale)+8)%7;break}case "E":f=a.getDay();3>e?(f+=1,h=!0):(l=["days","c"==l?"standAlone":"format",k[e-3]].join("-"),f=b[l][f]);break;case "a":l=12>a.getHours()?"am":"pm";f=c[l]||b["dayPeriods-format-wide-"+l];break;case "h":case "H":case "K":case "k":h=a.getHours();switch(l){case "h":f=
h%12||12;break;case "H":f=h;break;case "K":f=h%12;break;case "k":f=h||24}h=!0;break;case "m":f=a.getMinutes();h=!0;break;case "s":f=a.getSeconds();h=!0;break;case "S":f=Math.round(a.getMilliseconds()*Math.pow(10,e-3));h=!0;break;case "v":case "z":if(f=g._getZone(a,!0,c))break;e=4;case "Z":l=g._getZone(a,!1,c);l=[0>=l?"+":"-",q.pad(Math.floor(Math.abs(l)/60),2),q.pad(Math.abs(l)%60,2)];4==e&&(l.splice(0,0,"GMT"),l.splice(3,0,":"));f=l.join("");break;default:throw Error("dojo.date.locale.format: invalid pattern char: "+
d);}h&&(f=q.pad(f,e));return f})}function c(a,b,c,d){var e=function(a){return a};b=b||e;c=c||e;d=d||e;var f=a.match(/(''|[^'])+/g),g="'"==a.charAt(0);p.forEach(f,function(a,d){a?(f[d]=(g?c:b)(a.replace(/''/g,"'")),g=!g):f[d]=""});return d(f.join(""))}function l(a,b,c,d){d=h.escapeString(d);c.strict||(d=d.replace(" a"," ?a"));return d.replace(/([a-z])\1*/ig,function(d){var e;e=d.charAt(0);var f=d.length,g="",h="";c.strict?(1<f&&(g="0{"+(f-1)+"}"),2<f&&(h="0{"+(f-2)+"}")):(g="0?",h="0{0,2}");switch(e){case "y":e=
"\\d{2,4}";break;case "M":case "L":e=2<f?"\\S+?":"1[0-2]|"+g+"[1-9]";break;case "D":e="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+g+"[1-9][0-9]|"+h+"[1-9]";break;case "d":e="3[01]|[12]\\d|"+g+"[1-9]";break;case "w":e="[1-4][0-9]|5[0-3]|"+g+"[1-9]";break;case "E":case "e":case "c":e=".+?";break;case "h":e="1[0-2]|"+g+"[1-9]";break;case "k":e="1[01]|"+g+"\\d";break;case "H":e="1\\d|2[0-3]|"+g+"\\d";break;case "K":e="1\\d|2[0-4]|"+g+"[1-9]";break;case "m":case "s":e="[0-5]\\d";break;case "S":e="\\d{"+f+"}";
break;case "a":f=c.am||b["dayPeriods-format-wide-am"];g=c.pm||b["dayPeriods-format-wide-pm"];e=f+"|"+g;c.strict||(f!=f.toLowerCase()&&(e+="|"+f.toLowerCase()),g!=g.toLowerCase()&&(e+="|"+g.toLowerCase()),-1!=e.indexOf(".")&&(e+="|"+e.replace(/\./g,"")));e=e.replace(/\./g,"\\.");break;default:e=".*"}a&&a.push(d);return"("+e+")"}).replace(/[\xa0 ]/g,"[\\s\\xa0]")}var g={};f.setObject(b.id.replace(/\//g,"."),g);g._getZone=function(a,b,c){return b?k.getTimezoneName(a):a.getTimezoneOffset()};g.format=
function(b,d){d=d||{};var h=e.normalizeLocale(d.locale),l=d.formatLength||"short",h=g._getGregorianBundle(h),k=[],n=f.hitch(this,a,b,h,d);if("year"==d.selector)return c(h["dateFormatItem-yyyy"]||"yyyy",n);var p;"date"!=d.selector&&(p=d.timePattern||h["timeFormat-"+l])&&k.push(c(p,n));"time"!=d.selector&&(p=d.datePattern||h["dateFormat-"+l])&&k.push(c(p,n));return 1==k.length?k[0]:h["dateTimeFormat-"+l].replace(/\'/g,"").replace(/\{(\d+)\}/g,function(a,b){return k[b]})};g.regexp=function(a){return g._parseInfo(a).regexp};
g._parseInfo=function(a){a=a||{};var b=e.normalizeLocale(a.locale),b=g._getGregorianBundle(b),d=a.formatLength||"short",h=a.datePattern||b["dateFormat-"+d],k=a.timePattern||b["timeFormat-"+d],d="date"==a.selector?h:"time"==a.selector?k:b["dateTimeFormat-"+d].replace(/\{(\d+)\}/g,function(a,b){return[k,h][b]}),n=[];return{regexp:c(d,f.hitch(this,l,n,b,a)),tokens:n,bundle:b}};g.parse=function(a,b){var c=/[\u200E\u200F\u202A\u202E]/g,d=g._parseInfo(b),e=d.tokens,f=d.bundle,c=RegExp("^"+d.regexp.replace(c,
"")+"$",d.strict?"":"i").exec(a&&a.replace(c,""));if(!c)return null;var h=["abbr","wide","narrow"],l=[1970,0,1,0,0,0,0],n="",c=p.every(c,function(a,c){if(!c)return!0;var d=e[c-1],g=d.length,d=d.charAt(0);switch(d){case "y":if(2!=g&&b.strict)l[0]=a;else if(100>a)a=Number(a),d=""+(new Date).getFullYear(),g=100*d.substring(0,2),d=Math.min(Number(d.substring(2,4))+20,99),l[0]=a<d?g+a:g-100+a;else{if(b.strict)return!1;l[0]=a}break;case "M":case "L":if(2<g){if(g=f["months-"+("L"==d?"standAlone":"format")+
"-"+h[g-3]].concat(),b.strict||(a=a.replace(".","").toLowerCase(),g=p.map(g,function(a){return a.replace(".","").toLowerCase()})),a=p.indexOf(g,a),-1==a)return!1}else a--;l[1]=a;break;case "E":case "e":case "c":g=f["days-"+("c"==d?"standAlone":"format")+"-"+h[g-3]].concat();b.strict||(a=a.toLowerCase(),g=p.map(g,function(a){return a.toLowerCase()}));a=p.indexOf(g,a);if(-1==a)return!1;break;case "D":l[1]=0;case "d":l[2]=a;break;case "a":g=b.am||f["dayPeriods-format-wide-am"];d=b.pm||f["dayPeriods-format-wide-pm"];
if(!b.strict){var m=/\./g;a=a.replace(m,"").toLowerCase();g=g.replace(m,"").toLowerCase();d=d.replace(m,"").toLowerCase()}if(b.strict&&a!=g&&a!=d)return!1;n=a==d?"p":a==g?"a":"";break;case "K":24==a&&(a=0);case "h":case "H":case "k":if(23<a)return!1;l[3]=a;break;case "m":l[4]=a;break;case "s":l[5]=a;break;case "S":l[6]=a}return!0}),d=+l[3];"p"===n&&12>d?l[3]=d+12:"a"===n&&12==d&&(l[3]=0);d=new Date(l[0],l[1],l[2],l[3],l[4],l[5],l[6]);b.strict&&d.setFullYear(l[0]);var q=e.join(""),r=-1!=q.indexOf("d"),
q=-1!=q.indexOf("M");if(!c||q&&d.getMonth()>l[1]||r&&d.getDate()>l[2])return null;if(q&&d.getMonth()<l[1]||r&&d.getDate()<l[2])d=k.add(d,"hour",1);return d};var s=[],r={};g.addCustomFormats=function(a,b){s.push({pkg:a,name:b});r={}};g._getGregorianBundle=function(a){if(r[a])return r[a];var b={};p.forEach(s,function(c){c=e.getLocalization(c.pkg,c.name,a);b=f.mixin(b,c)},this);return r[a]=b};g.addCustomFormats(b.id.replace(/\/date\/locale$/,".cldr"),"gregorian");g.getNames=function(a,b,c,d){var e;d=
g._getGregorianBundle(d);a=[a,c,b];"standAlone"==c&&(c=a.join("-"),e=d[c],1==e[0]&&(e=void 0));a[1]="format";return(e||d[a.join("-")]).concat()};g.isWeekend=function(a,b){var c=n.getWeekend(b),d=(a||new Date).getDay();c.end<c.start&&(c.end+=7,d<c.start&&(d+=7));return d>=c.start&&d<=c.end};g._getDayOfYear=function(a){return k.difference(new Date(a.getFullYear(),0,1,a.getHours()),a)+1};g._getWeekOfYear=function(a,b){1==arguments.length&&(b=0);var c=(new Date(a.getFullYear(),0,1)).getDay(),d=Math.floor((g._getDayOfYear(a)+
(c-b+7)%7-1)/7);c==b&&d++;return d};return g})},"dijit/tree/_dndContainer":function(){define("dojo/aspect dojo/_base/declare dojo/dom-class dojo/_base/lang dojo/on dojo/touch".split(" "),function(f,p,k,n,e,h){return p("dijit.tree._dndContainer",null,{constructor:function(p,d){this.tree=p;this.node=p.domNode;n.mixin(this,d);this.containerState="";k.add(this.node,"dojoDndContainer");this.events=[e(this.node,h.enter,n.hitch(this,"onOverEvent")),e(this.node,h.leave,n.hitch(this,"onOutEvent")),f.after(this.tree,
"_onNodeMouseEnter",n.hitch(this,"onMouseOver"),!0),f.after(this.tree,"_onNodeMouseLeave",n.hitch(this,"onMouseOut"),!0),e(this.node,"dragstart, selectstart",function(b){b.preventDefault()})]},destroy:function(){for(var e;e=this.events.pop();)e.remove();this.node=this.parent=null},onMouseOver:function(e){this.current=e},onMouseOut:function(){this.current=null},_changeState:function(e,d){var b="dojoDnd"+e,a=e.toLowerCase()+"State";k.replace(this.node,b+d,b+this[a]);this[a]=d},_addItemClass:function(e,
d){k.add(e,"dojoDndItem"+d)},_removeItemClass:function(e,d){k.remove(e,"dojoDndItem"+d)},onOverEvent:function(){this._changeState("Container","Over")},onOutEvent:function(){this._changeState("Container","")}})})},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(f,p,k){p.mixin(k,{hasWaiRole:function(f,e){var h=this.getWaiRole(f);return e?-1<h.indexOf(e):0<h.length},getWaiRole:function(k){return p.trim((f.get(k,"role")||"").replace("wairole:",""))},
setWaiRole:function(k,e){f.set(k,"role",e)},removeWaiRole:function(k,e){var h=f.get(k,"role");h&&(e?(h=p.trim((" "+h+" ").replace(" "+e+" "," ")),f.set(k,"role",h)):k.removeAttribute("role"))},hasWaiState:function(f,e){return f.hasAttribute?f.hasAttribute("aria-"+e):!!f.getAttribute("aria-"+e)},getWaiState:function(f,e){return f.getAttribute("aria-"+e)||""},setWaiState:function(f,e,h){f.setAttribute("aria-"+e,h)},removeWaiState:function(f,e){f.removeAttribute("aria-"+e)}});return k})},"dstore/QueryMethod":function(){define([],
function(){return function(f){var p=f.type,k=f.normalizeArguments,n=f.applyQuery,e=f.querierFactory;return function(){var f=Array.prototype.slice.call(arguments),q=k?k.apply(this,f):f,f={type:p,arguments:f,normalizedArguments:q},d=this._getQuerierFactory(p)||e;d&&(f.querier=d.apply(this,q));q=this._createSubCollection({queryLog:this.queryLog.concat(f)});return n?n.call(this,q,f):q}}})},"dijit/form/_FormSelectWidget":function(){define("dojo/_base/array dojo/_base/Deferred dojo/aspect dojo/data/util/sorter dojo/_base/declare dojo/dom dojo/dom-class dojo/_base/kernel dojo/_base/lang dojo/query dojo/when dojo/store/util/QueryResults ./_FormValueWidget".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g){return e("dijit.form._FormSelectWidget",g,{multiple:!1,options:null,store:null,_setStoreAttr:function(a){this._created&&this._deprecatedSetStore(a)},query:null,_setQueryAttr:function(a){this._created&&this._deprecatedSetStore(this.store,this.selectedValue,{query:a})},queryOptions:null,_setQueryOptionsAttr:function(a){this._created&&this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:a})},labelAttr:"",onFetch:null,sortByLabel:!0,loadChildrenOnOpen:!1,
onLoadDeferred:null,getOptions:function(a){var c=this.options||[];if(null==a)return c;if(b.isArrayLike(a))return f.map(a,"return this.getOptions(item);",this);b.isString(a)&&(a={value:a});b.isObject(a)&&(f.some(c,function(b,c){for(var d in a)if(!(d in b)||b[d]!=a[d])return!1;a=c;return!0})||(a=-1));return 0<=a&&a<c.length?c[a]:null},addOption:function(a){f.forEach(b.isArrayLike(a)?a:[a],function(a){a&&b.isObject(a)&&this.options.push(a)},this);this._loadChildren()},removeOption:function(a){a=this.getOptions(b.isArrayLike(a)?
a:[a]);f.forEach(a,function(a){a&&(this.options=f.filter(this.options,function(b){return b.value!==a.value||b.label!==a.label}),this._removeOptionItem(a))},this);this._loadChildren()},updateOption:function(a){f.forEach(b.isArrayLike(a)?a:[a],function(a){var b=this.getOptions({value:a.value}),c;if(b)for(c in a)b[c]=a[c]},this);this._loadChildren()},setStore:function(a,b,c){d.deprecated(this.declaredClass+"::setStore(store, selectedValue, fetchArgs) is deprecated. Use set('query', fetchArgs.query), set('queryOptions', fetchArgs.queryOptions), set('store', store), or set('value', selectedValue) instead.",
"","2.0");this._deprecatedSetStore(a,b,c)},_deprecatedSetStore:function(a,d,e){var g=this.store;e=e||{};if(g!==a){for(var h;h=this._notifyConnections.pop();)h.remove();a.get||(b.mixin(a,{_oldAPI:!0,get:function(a){var b=new p;this.fetchItemByIdentity({identity:a,onItem:function(a){b.resolve(a)},onError:function(a){b.reject(a)}});return b.promise},query:function(a,c){var d=new p(function(){e.abort&&e.abort()});d.total=new p;var e=this.fetch(b.mixin({query:a,onBegin:function(a){d.total.resolve(a)},
onComplete:function(a){d.resolve(a)},onError:function(a){d.reject(a)}},c));return new l(d)}}),a.getFeatures()["dojo.data.api.Notification"]&&(this._notifyConnections=[k.after(a,"onNew",b.hitch(this,"_onNewItem"),!0),k.after(a,"onDelete",b.hitch(this,"_onDeleteItem"),!0),k.after(a,"onSet",b.hitch(this,"_onSetItem"),!0)]));this._set("store",a)}this.options&&this.options.length&&this.removeOption(this.options);this._queryRes&&this._queryRes.close&&this._queryRes.close();this._observeHandle&&this._observeHandle.remove&&
(this._observeHandle.remove(),this._observeHandle=null);e.query&&this._set("query",e.query);e.queryOptions&&this._set("queryOptions",e.queryOptions);a&&a.query&&(this._loadingStore=!0,this.onLoadDeferred=new p,this._queryRes=a.query(this.query,this.queryOptions),c(this._queryRes,b.hitch(this,function(c){if(this.sortByLabel&&!e.sort&&c.length)if(a.getValue)c.sort(n.createSortFunction([{attribute:a.getLabelAttributes(c[0])[0]}],a));else{var g=this.labelAttr;c.sort(function(a,b){return a[g]>b[g]?1:b[g]>
a[g]?-1:0})}e.onFetch&&(c=e.onFetch.call(this,c,e));f.forEach(c,function(a){this._addOptionForItem(a)},this);this._queryRes.observe&&(this._observeHandle=this._queryRes.observe(b.hitch(this,function(a,b,c){b==c?this._onSetItem(a):(-1!=b&&this._onDeleteItem(a),-1!=c&&this._onNewItem(a))}),!0));this._loadingStore=!1;this.set("value","_pendingValue"in this?this._pendingValue:d);delete this._pendingValue;this.loadChildrenOnOpen?this._pseudoLoadChildren(c):this._loadChildren();this.onLoadDeferred.resolve(!0);
this.onSetStore()}),b.hitch(this,function(a){console.error("dijit.form.Select: "+a.toString());this.onLoadDeferred.reject(a)})));return g},_setValueAttr:function(a,c){this._onChangeActive||(c=null);if(this._loadingStore)this._pendingValue=a;else if(null!=a){a=b.isArrayLike(a)?f.map(a,function(a){return b.isObject(a)?a:{value:a}}):b.isObject(a)?[a]:[{value:a}];a=f.filter(this.getOptions(a),function(a){return a&&a.value});var d=this.getOptions()||[];if(!this.multiple&&(!a[0]||!a[0].value)&&d.length)a[0]=
d[0];f.forEach(d,function(b){b.selected=f.some(a,function(a){return a.value===b.value})});d=f.map(a,function(a){return a.value});if(!("undefined"==typeof d||"undefined"==typeof d[0])){var e=f.map(a,function(a){return a.label});this._setDisplay(this.multiple?e:e[0]);this.inherited(arguments,[this.multiple?d:d[0],c]);this._updateSelection()}}},_getDisplayedValueAttr:function(){var a=f.map([].concat(this.get("selectedOptions")),function(a){return a&&"label"in a?a.label:a?a.value:null},this);return this.multiple?
a:a[0]},_setDisplayedValueAttr:function(a){this.set("value",this.getOptions("string"==typeof a?{label:a}:a))},_loadChildren:function(){this._loadingStore||(f.forEach(this._getChildren(),function(a){a.destroyRecursive()}),f.forEach(this.options,this._addOptionItem,this),this._updateSelection())},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var a=[].concat(this.value);if(a&&a[0]){var b=this;f.forEach(this._getChildren(),function(c){var d=f.some(a,function(a){return c.option&&
a===c.option.value});d&&!b.multiple&&(b.focusedChild=c);q.toggle(c.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),d);c.domNode.setAttribute("aria-selected",d?"true":"false")},this)}},_getValueFromOpts:function(){var a=this.getOptions()||[];if(!this.multiple&&a.length){var b=f.filter(a,function(a){return a.selected})[0];if(b&&b.value)return b.value;a[0].selected=!0;return a[0].value}return this.multiple?f.map(f.filter(a,function(a){return a.selected}),function(a){return a.value})||[]:""},
_onNewItem:function(a,b){(!b||!b.parent)&&this._addOptionForItem(a)},_onDeleteItem:function(a){this.removeOption({value:this.store.getIdentity(a)})},_onSetItem:function(a){this.updateOption(this._getOptionObjForItem(a))},_getOptionObjForItem:function(a){var b=this.store,c=this.labelAttr&&this.labelAttr in a?a[this.labelAttr]:b.getLabel(a);return{value:c?b.getIdentity(a):null,label:c,item:a}},_addOptionForItem:function(a){var b=this.store;b.isItemLoaded&&!b.isItemLoaded(a)?b.loadItem({item:a,onItem:function(a){this._addOptionForItem(a)},
scope:this}):(a=this._getOptionObjForItem(a),this.addOption(a))},constructor:function(a){this._oValue=(a||{}).value||null;this._notifyConnections=[]},buildRendering:function(){this.inherited(arguments);h.setSelectable(this.focusNode,!1)},_fillContent:function(){this.options||(this.options=this.srcNodeRef?a("\x3e *",this.srcNodeRef).map(function(a){return"separator"===a.getAttribute("type")?{value:"",label:"",selected:!1,disabled:!1}:{value:a.getAttribute("data-"+d._scopeName+"-value")||a.getAttribute("value"),
label:String(a.innerHTML),selected:a.getAttribute("selected")||!1,disabled:a.getAttribute("disabled")||!1}},this):[]);this.value?this.multiple&&"string"==typeof this.value&&this._set("value",this.value.split(",")):this._set("value",this._getValueFromOpts())},postCreate:function(){this.inherited(arguments);k.after(this,"onChange",b.hitch(this,"_updateSelection"));var a=this.store;if(a&&(a.getIdentity||a.getFeatures()["dojo.data.api.Identity"]))this.store=null,this._deprecatedSetStore(a,this._oValue,
{query:this.query,queryOptions:this.queryOptions});this._storeInitialized=!0},startup:function(){this._loadChildren();this.inherited(arguments)},destroy:function(){for(var a;a=this._notifyConnections.pop();)a.remove();this._queryRes&&this._queryRes.close&&this._queryRes.close();this._observeHandle&&this._observeHandle.remove&&(this._observeHandle.remove(),this._observeHandle=null);this.inherited(arguments)},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return[]},
_getSelectedOptionsAttr:function(){return this.getOptions({selected:!0})},_pseudoLoadChildren:function(){},onSetStore:function(){}})})},"dijit/form/Select":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/dom-class dojo/dom-geometry dojo/i18n dojo/keys dojo/_base/lang dojo/on dojo/sniff ./_FormSelectWidget ../_HasDropDown ../DropDownMenu ../MenuItem ../MenuSeparator ../Tooltip ../_KeyNavMixin ../registry dojo/text!./templates/Select.html dojo/i18n!./nls/validate".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m,t,w,u){function v(a){return function(b){this._isLoaded?this.inherited(a,arguments):this.loadDropDown(d.hitch(this,a,b))}}var x=p("dijit.form._SelectMenu",g,{autoFocus:!0,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox")},postCreate:function(){this.inherited(arguments);this.own(b(this.domNode,"selectstart",function(a){a.preventDefault();a.stopPropagation()}))},focus:function(){var a=!1,b=this.parentWidget.value;
d.isArray(b)&&(b=b[b.length-1]);b&&f.forEach(this.parentWidget._getChildren(),function(c){c.option&&b===c.option.value&&(a=!0,this.focusChild(c,!1))},this);a||this.inherited(arguments)}});e=p("dijit.form.Select"+(a("dojo-bidi")?"_NoBidi":""),[c,l,t],{baseClass:"dijitSelect dijitValidationTextBox",templateString:u,_buttonInputDisabled:a("ie")?"disabled":"",required:!1,state:"",message:"",tooltipPosition:[],emptyLabel:"\x26#160;",_isLoaded:!1,_childrenLoaded:!1,labelType:"html",_fillContent:function(){this.inherited(arguments);
if(this.options.length&&!this.value&&this.srcNodeRef){var a=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[0<=a?a:0].value)}this.dropDown=new x({id:this.id+"_menu",parentWidget:this});n.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "))},_getMenuItemForOption:function(a){if(!a.value&&!a.label)return new r({ownerDocument:this.ownerDocument});var b=d.hitch(this,"_setValueAttr",a);a=new s({option:a,label:("text"===this.labelType?(a.label||"").toString().replace(/&/g,
"\x26amp;").replace(/</g,"\x26lt;"):a.label)||this.emptyLabel,onClick:b,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:a.disabled||!1});a.focusNode.setAttribute("role","option");return a},_addOptionItem:function(a){this.dropDown&&this.dropDown.addChild(this._getMenuItemForOption(a))},_getChildren:function(){return!this.dropDown?[]:this.dropDown.getChildren()},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},focusChild:function(a){a&&
this.set("value",a.option)},_getFirst:function(){var a=this._getChildren();return a.length?a[0]:null},_getLast:function(){var a=this._getChildren();return a.length?a[a.length-1]:null},childSelector:function(a){return(a=w.byNode(a))&&a.getParent()==this.dropDown},onKeyboardSearch:function(a,b,c,d){a&&this.focusChild(a)},_loadChildren:function(a){if(!0===a)if(this.dropDown&&(delete this.dropDown.focusedChild,this.focusedChild=null),this.options.length)this.inherited(arguments);else{f.forEach(this._getChildren(),
function(a){a.destroyRecursive()});var b=new s({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(b)}else this._updateSelection();this._isLoaded=!1;this._childrenLoaded=!0;this._loadingStore||this._setValueAttr(this.value,!1)},_refreshState:function(){this._started&&this.validate(this.focused)},startup:function(){this.inherited(arguments);this._refreshState()},_setValueAttr:function(a){this.inherited(arguments);k.set(this.valueNode,"value",this.get("value"));this._refreshState()},
_setNameAttr:"valueNode",_setDisabledAttr:function(a){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(a){this._set("required",a);this.focusNode.setAttribute("aria-required",a);this._refreshState()},_setOptionsAttr:function(a){this._isLoaded=!1;this._set("options",a)},_setDisplay:function(a){a=("text"===this.labelType?(a||"").replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):a)||this.emptyLabel;this.containerNode.innerHTML='\x3cspan role\x3d"option" aria-selected\x3d"true" class\x3d"dijitReset dijitInline '+
this.baseClass.replace(/\s+|$/g,"Label ")+'"\x3e'+a+"\x3c/span\x3e"},validate:function(a){a=this.disabled||this.isValid(a);this._set("state",a?"":this._hasBeenBlurred?"Error":"Incomplete");this.focusNode.setAttribute("aria-invalid",a?"false":"true");var b=a?"":this._missingMsg;b&&this.focused&&this._hasBeenBlurred?m.show(b,this.domNode,this.tooltipPosition,!this.isLeftToRight()):m.hide(this.domNode);this._set("message",b);return a},isValid:function(){return!this.required||0===this.value||!/^\s*$/.test(this.value||
"")},reset:function(){this.inherited(arguments);m.hide(this.domNode);this._refreshState()},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=h.getLocalization("dijit.form","validate",this.lang).missingMessage},postCreate:function(){this.inherited(arguments);this.own(b(this.domNode,"selectstart",function(a){a.preventDefault();a.stopPropagation()}));this.domNode.setAttribute("aria-expanded","false");var a=this._keyNavCodes;delete a[q.LEFT_ARROW];delete a[q.RIGHT_ARROW]},_setStyleAttr:function(a){this.inherited(arguments);
n.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width)},isLoaded:function(){return this._isLoaded},loadDropDown:function(a){this._loadChildren(!0);this._isLoaded=!0;a()},destroy:function(a){this.dropDown&&!this.dropDown._destroyed&&(this.dropDown.destroyRecursive(a),delete this.dropDown);m.hide(this.domNode);this.inherited(arguments)},_onFocus:function(){this.validate(!0)},_onBlur:function(){m.hide(this.domNode);this.inherited(arguments);this.validate(!1)}});
a("dojo-bidi")&&(e=p("dijit.form.Select",e,{_setDisplay:function(a){this.inherited(arguments);this.applyTextDir(this.containerNode)}}));e._Menu=x;e.prototype._onContainerKeydown=v("_onContainerKeydown");e.prototype._onContainerKeypress=v("_onContainerKeypress");return e})},"dojo/_base/json":function(){define(["./kernel","../json"],function(f,p){f.fromJson=function(f){return eval("("+f+")")};f._escapeString=p.stringify;f.toJsonIndentStr="\t";f.toJson=function(k,n){return p.stringify(k,function(e,f){if(f){var k=
f.__json__||f.json;if("function"==typeof k)return k.call(f)}return f},n&&f.toJsonIndentStr)};return f})},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(f,p,k){var n=function(e){function h(d){e[d]=function(){var b=arguments,a=k(e,function(a){Array.prototype.unshift.call(b,a);return n(f[d].apply(f,b))});if("forEach"!==d||q)return a}}if(!e)return e;var q=!!e.then;q&&(e=p.delegate(e));h("forEach");h("filter");h("map");null==e.total&&(e.total=
k(e,function(d){return d.length}));return e};p.setObject("dojo.store.util.QueryResults",n);return n})},"dijit/_KeyNavMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/on dijit/registry dijit/_FocusMixin".split(" "),function(f,p,k,n,e,h,q,d){return p("dijit._KeyNavMixin",d,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);k.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var b=this._keyNavCodes=
{};b[n.HOME]=e.hitch(this,"focusFirstChild");b[n.END]=e.hitch(this,"focusLastChild");b[this.isLeftToRight()?n.LEFT_ARROW:n.RIGHT_ARROW]=e.hitch(this,"_onLeftArrow");b[this.isLeftToRight()?n.RIGHT_ARROW:n.LEFT_ARROW]=e.hitch(this,"_onRightArrow");b[n.UP_ARROW]=e.hitch(this,"_onUpArrow");b[n.DOWN_ARROW]=e.hitch(this,"_onDownArrow")}var a=this,b="string"==typeof this.childSelector?this.childSelector:e.hitch(this,"childSelector");this.own(h(this.domNode,"keypress",e.hitch(this,"_onContainerKeypress")),
h(this.domNode,"keydown",e.hitch(this,"_onContainerKeydown")),h(this.domNode,"focus",e.hitch(this,"_onContainerFocus")),h(this.containerNode,h.selector(b,"focusin"),function(b){a._onChildFocus(q.getEnclosingWidget(this),b)}))},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild()},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1)},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,
-1)},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild())},focusLastChild:function(){this.focusChild(this._getLastFocusableChild())},focusChild:function(b,a){b&&(this.focusedChild&&b!==this.focusedChild&&this._onChildBlur(this.focusedChild),b.set("tabIndex",this.tabIndex),b.focus(a?"end":"start"))},_onContainerFocus:function(b){b.target!==this.domNode||this.focusedChild||this.focus()},_onFocus:function(){k.set(this.domNode,"tabIndex","-1");this.inherited(arguments)},_onBlur:function(b){k.set(this.domNode,
"tabIndex",this.tabIndex);this.focusedChild&&(this.focusedChild.set("tabIndex","-1"),this.lastFocusedChild=this.focusedChild,this._set("focusedChild",null));this.inherited(arguments)},_onChildFocus:function(b){b&&b!=this.focusedChild&&(this.focusedChild&&!this.focusedChild._destroyed&&this.focusedChild.set("tabIndex","-1"),b.set("tabIndex",this.tabIndex),this.lastFocused=b,this._set("focusedChild",b))},_searchString:"",multiCharSearchDuration:1E3,onKeyboardSearch:function(b,a,c,d){b&&this.focusChild(b)},
_keyboardSearchCompare:function(b,a){var c=b.domNode,c=(b.label||(c.focusNode?c.focusNode.label:"")||c.innerText||c.textContent||"").replace(/^\s+/,"").substr(0,a.length).toLowerCase();return a.length&&c==a?-1:0},_onContainerKeydown:function(b){var a=this._keyNavCodes[b.keyCode];a?(a(b,this.focusedChild),b.stopPropagation(),b.preventDefault(),this._searchString=""):b.keyCode==n.SPACE&&(this._searchTimer&&!b.ctrlKey&&!b.altKey&&!b.metaKey)&&(b.stopImmediatePropagation(),b.preventDefault(),this._keyboardSearch(b,
" "))},_onContainerKeypress:function(b){b.charCode<=n.SPACE||(b.ctrlKey||b.altKey||b.metaKey)||(b.preventDefault(),b.stopPropagation(),this._keyboardSearch(b,String.fromCharCode(b.charCode).toLowerCase()))},_keyboardSearch:function(b,a){var c=null,d,f=0;e.hitch(this,function(){this._searchTimer&&this._searchTimer.remove();this._searchString+=a;var b=/^(.)\1*$/.test(this._searchString)?1:this._searchString.length;d=this._searchString.substr(0,b);this._searchTimer=this.defer(function(){this._searchTimer=
null;this._searchString=""},this.multiCharSearchDuration);var e=this.focusedChild||null;if(1==b||!e)if(e=this._getNextFocusableChild(e,1),!e)return;b=e;do{var h=this._keyboardSearchCompare(e,d);h&&0==f++&&(c=e);if(-1==h){f=-1;break}e=this._getNextFocusableChild(e,1)}while(e&&e!=b)})();this.onKeyboardSearch(c,b,d,f)},_onChildBlur:function(){},_getNextFocusableChild:function(b,a){var c=b;do{if(b)b=this._getNext(b,a);else if(b=this[0<a?"_getFirst":"_getLast"](),!b)break;if(null!=b&&b!=c&&b.isFocusable())return b}while(b!=
c);return null},_getFirst:function(){return null},_getLast:function(){return null},_getNext:function(b,a){if(b)for(b=b.domNode;b;)if((b=b[0>a?"previousSibling":"nextSibling"])&&"getAttribute"in b){var c=q.byNode(b);if(c)return c}return null}})})},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(f,p,k){return f("dijit.form._ListBase",null,{selected:null,_listConnect:function(f,e){var h=this;return h.own(p(h.containerNode,p.selector(function(e,d,b){return e.parentNode==
b},f),function(f){h[e](f,this)}))},selectFirstNode:function(){for(var f=this.containerNode.firstChild;f&&"none"==f.style.display;)f=f.nextSibling;this._setSelectedAttr(f,!0)},selectLastNode:function(){for(var f=this.containerNode.lastChild;f&&"none"==f.style.display;)f=f.previousSibling;this._setSelectedAttr(f,!0)},selectNextNode:function(){var f=this.selected;if(f){for(f=f.nextSibling;f&&"none"==f.style.display;)f=f.nextSibling;f?this._setSelectedAttr(f,!0):this.selectFirstNode()}else this.selectFirstNode()},
selectPreviousNode:function(){var f=this.selected;if(f){for(f=f.previousSibling;f&&"none"==f.style.display;)f=f.previousSibling;f?this._setSelectedAttr(f,!0):this.selectLastNode()}else this.selectLastNode()},_setSelectedAttr:function(f,e){if(this.selected!=f){var h=this.selected;if(h)this.onDeselect(h);f&&(e&&k.scrollIntoView(f),this.onSelect(f));this._set("selected",f)}else if(f)this.onSelect(f)}})})},"dijit/form/_FormWidget":function(){define("dojo/_base/declare dojo/sniff dojo/_base/kernel dojo/ready ../_Widget ../_CssStateMixin ../_TemplatedMixin ./_FormWidgetMixin".split(" "),
function(f,p,k,n,e,h,q,d){p("dijit-legacy-requires")&&n(0,function(){require(["dijit/form/_FormValueWidget"])});return f("dijit.form._FormWidget",[e,q,h,d],{setDisabled:function(b){k.deprecated("setDisabled("+b+") is deprecated. Use set('disabled',"+b+") instead.","","2.0");this.set("disabled",b)},setValue:function(b){k.deprecated("dijit.form._FormWidget:setValue("+b+") is deprecated. Use set('value',"+b+") instead.","","2.0");this.set("value",b)},getValue:function(){k.deprecated(this.declaredClass+
"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!p("msapp")?'name\x3d"'+this.name.replace(/"/g,"\x26quot;")+'"':"";this.inherited(arguments)}})})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(f,p,k,n){var e=f.Color=function(e){e&&this.setColor(e)};e.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,
0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:n.transparentColor||[0,0,0,0]};p.extend(e,{r:255,g:255,b:255,a:1,_set:function(e,f,d,b){this.r=e;this.g=f;this.b=d;this.a=b},setColor:function(f){p.isString(f)?e.fromString(f,this):p.isArray(f)?e.fromArray(f,this):(this._set(f.r,f.g,f.b,f.a),f instanceof e||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"#"+k.map(["r","g","b"],function(e){e=this[e].toString(16);return 2>e.length?"0"+e:e},this).join("")},toCss:function(e){var f=this.r+", "+this.g+", "+this.b;return(e?"rgba("+f+", "+this.a:"rgb("+f)+")"},toString:function(){return this.toCss(!0)}});e.blendColors=f.blendColors=function(f,n,d,b){var a=b||new e;k.forEach(["r","g","b","a"],function(b){a[b]=f[b]+(n[b]-f[b])*d;"a"!=
b&&(a[b]=Math.round(a[b]))});return a.sanitize()};e.fromRgb=f.colorFromRgb=function(f,k){var d=f.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return d&&e.fromArray(d[1].split(/\s*,\s*/),k)};e.fromHex=f.colorFromHex=function(f,n){var d=n||new e,b=4==f.length?4:8,a=(1<<b)-1;f=Number("0x"+f.substr(1));if(isNaN(f))return null;k.forEach(["b","g","r"],function(c){var e=f&a;f>>=b;d[c]=4==b?17*e:e});d.a=1;return d};e.fromArray=f.colorFromArray=function(f,k){var d=k||new e;d._set(Number(f[0]),Number(f[1]),
Number(f[2]),Number(f[3]));isNaN(d.a)&&(d.a=1);return d.sanitize()};e.fromString=f.colorFromString=function(f,k){var d=e.named[f];return d&&e.fromArray(d,k)||e.fromRgb(f,k)||e.fromHex(f,k)};return e})},"dstore/Store":function(){define("dojo/_base/lang dojo/_base/array dojo/aspect dojo/has dojo/when dojo/Deferred dojo/_base/declare ./QueryMethod ./Filter dojo/Evented".split(" "),function(f,p,k,n,e,h,q,d,b,a){function c(a){return function(b,c){var d=this;e(b,function(b){b={target:b};var e=c[1]||{};
"beforeId"in e&&(b.beforeId=e.beforeId);d.emit(a,b)});return b}}n.add("object-proto",!!{}.__proto__&&!{}.watch);var l=n("object-proto");return q(a,{constructor:function(b){b&&q.safeMixin(this,b);this.Model&&this.Model.createSubclass&&(this.Model=this.Model.createSubclass([]).extend({_store:this}));this.storage=new a;var d=this;this.autoEmitEvents&&(k.after(this,"add",c("add")),k.after(this,"put",c("update")),k.after(this,"remove",function(a,b){e(a,function(){d.emit("delete",{id:b[0]})});return a}))},
autoEmitEvents:!0,idProperty:"id",queryAccessors:!0,getIdentity:function(a){return a.get?a.get(this.idProperty):a[this.idProperty]},_setIdentity:function(a,b){a.set?a.set(this.idProperty,b):a[this.idProperty]=b},forEach:function(a,b){var c=this;return e(this.fetch(),function(d){for(var e=0,f;void 0!==(f=d[e]);e++)a.call(b,f,e,c);return d})},on:function(a,b){return this.storage.on(a,b)},emit:function(a,b){b=b||{};b.type=a;try{return this.storage.emit(a,b)}finally{return b.cancelable}},parse:null,stringify:null,
Model:null,_restore:function(a,b){var c=this.Model;if(c&&a){var d=c.prototype,e=d._restore;e?a=e.call(a,c,b):l&&b?a.__proto__=d:a=f.delegate(d,a)}return a},create:function(a){return new this.Model(a)},_createSubCollection:function(a){var b=f.delegate(this.constructor.prototype),c;for(c in this)this._includePropertyInSubCollection(c,b)&&(b[c]=this[c]);return q.safeMixin(b,a)},_includePropertyInSubCollection:function(a,b){return!(a in b)||b[a]!==this[a]},queryLog:[],filter:new d({type:"filter",normalizeArguments:function(a){var b=
this.Filter;return a instanceof b?[a]:[new b(a)]}}),Filter:b,sort:new d({type:"sort",normalizeArguments:function(a,b){var c;"function"===typeof a?c=[a]:(c=a instanceof Array?a.slice():"object"===typeof a?[].slice.call(arguments):[{property:a,descending:b}],c=p.map(c,function(a){a=f.mixin({},a);a.descending=!!a.descending;return a}),c=[c]);return c}}),select:new d({type:"select"}),_getQuerierFactory:function(a){return this["_create"+(a[0].toUpperCase()+a.substr(1))+"Querier"]}})})},"dojo/errors/RequestError":function(){define(["./create"],
function(f){return f("RequestError",function(f,k){this.response=k})})},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(f,p,k,n){var e=k.getObject("dojo.dnd",!0);e.getCopyKeyState=function(e){return e[f("mac")?"metaKey":"ctrlKey"]};e._uniqueId=0;e.getUniqueId=function(){var f;do f=p._scopeName+"Unique"+ ++e._uniqueId;while(n.byId(f));return f};e._empty={};e.isFormElement=function(e){e=e.target;3==e.nodeType&&(e=e.parentNode);return 0<=" a button textarea input select option ".indexOf(" "+
e.tagName.toLowerCase()+" ")};return e})},"dijit/CalendarLite":function(){define("dojo/_base/array dojo/_base/declare dojo/cldr/supplemental dojo/date dojo/date/locale dojo/date/stamp dojo/dom dojo/dom-class dojo/_base/lang dojo/on dojo/sniff dojo/string ./_WidgetBase ./_TemplatedMixin dojo/text!./templates/Calendar.html ./a11yclick ./hccss".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r){var m=p("dijit.CalendarLite",[g,s],{templateString:r,dowTemplateString:'\x3cth class\x3d"dijitReset dijitCalendarDayLabelTemplate" role\x3d"columnheader" scope\x3d"col"\x3e\x3cspan class\x3d"dijitCalendarDayLabel"\x3e${d}\x3c/span\x3e\x3c/th\x3e',
dateTemplateString:'\x3ctd class\x3d"dijitReset" role\x3d"gridcell" data-dojo-attach-point\x3d"dateCells"\x3e\x3cspan class\x3d"dijitCalendarDateLabel" data-dojo-attach-point\x3d"dateLabels"\x3e\x3c/span\x3e\x3c/td\x3e',weekTemplateString:'\x3ctr class\x3d"dijitReset dijitCalendarWeekTemplate" role\x3d"row"\x3e${d}${d}${d}${d}${d}${d}${d}\x3c/tr\x3e',value:new Date(""),datePackage:"",dayWidth:"narrow",tabIndex:"0",dayOffset:-1,currentFocus:new Date,_setSummaryAttr:"gridNode",baseClass:"dijitCalendar dijitCalendarLite",
_isValidDate:function(a){return a&&!isNaN(a)&&"object"==typeof a&&a.toString()!=this.constructor.prototype.value.toString()},_getValueAttr:function(){var a=this._get("value");if(a&&!isNaN(a)){var b=new this.dateClassObj(a);b.setHours(0,0,0,0);b.getDate()<a.getDate()&&(b=this.dateModule.add(b,"hour",1));return b}return null},_setValueAttr:function(a,b){"string"==typeof a&&(a=h.fromISOString(a));a=this._patchDate(a);if(this._isValidDate(a)&&!this.isDisabledDate(a,this.lang)){if(this._set("value",a),
this.set("currentFocus",a),this._markSelectedDates([a]),this._created&&(b||"undefined"==typeof b))this.onChange(this.get("value"))}else this._set("value",null),this._markSelectedDates([])},_patchDate:function(a){a&&(a=new this.dateClassObj(a),a.setHours(1,0,0,0));return a},_setText:function(a,b){for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(a.ownerDocument.createTextNode(b))},_populateGrid:function(){var a=new this.dateClassObj(this.currentFocus);a.setDate(1);var a=this._patchDate(a),
b=a.getDay(),c=this.dateModule.getDaysInMonth(a),d=this.dateModule.getDaysInMonth(this.dateModule.add(a,"month",-1)),e=new this.dateClassObj,g=0<=this.dayOffset?this.dayOffset:k.getFirstDayOfWeek(this.lang);g>b&&(g-=7);if(!this.summary){var h=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,a);this.gridNode.setAttribute("summary",h[a.getMonth()])}this._date2cell={};f.forEach(this.dateCells,function(f,h){var l=h+g,k=new this.dateClassObj(a),m="dijitCalendar",n=0;l<b?(l=d-b+l+1,
n=-1,m+="Previous"):l>=b+c?(l=l-b-c+1,n=1,m+="Next"):(l=l-b+1,m+="Current");n&&(k=this.dateModule.add(k,"month",n));k.setDate(l);this.dateModule.compare(k,e,"date")||(m="dijitCalendarCurrentDate "+m);this.isDisabledDate(k,this.lang)?(m="dijitCalendarDisabledDate "+m,f.setAttribute("aria-disabled","true")):(m="dijitCalendarEnabledDate "+m,f.removeAttribute("aria-disabled"),f.setAttribute("aria-selected","false"));(n=this.getClassForDate(k,this.lang))&&(m=n+" "+m);f.className=m+"Month dijitCalendarDateTemplate";
m=k.valueOf();this._date2cell[m]=f;f.dijitDateValue=m;this._setText(this.dateLabels[h],k.getDateLocalized?k.getDateLocalized(this.lang):k.getDate())},this)},_populateControls:function(){var a=new this.dateClassObj(this.currentFocus);a.setDate(1);this.monthWidget.set("month",a);var b=a.getFullYear()-1,c=new this.dateClassObj;f.forEach(["previous","current","next"],function(a){c.setFullYear(b++);this._setText(this[a+"YearLabelNode"],this.dateLocaleModule.format(c,{selector:"year",locale:this.lang}))},
this)},goToToday:function(){this.set("value",new this.dateClassObj)},constructor:function(a){this.dateModule=a.datePackage?b.getObject(a.datePackage,!1):n;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=a.datePackage?b.getObject(a.datePackage+".locale",!1):e},_createMonthWidget:function(){return m._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode)},buildRendering:function(){var a=this.dowTemplateString,b=this.dateLocaleModule.getNames("days",
this.dayWidth,"standAlone",this.lang),c=0<=this.dayOffset?this.dayOffset:k.getFirstDayOfWeek(this.lang);this.dayCellsHtml=l.substitute([a,a,a,a,a,a,a].join(""),{d:""},function(){return b[c++%7]});a=l.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[a,a,a,a,a,a].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);q.setSelectable(this.domNode,!1);a=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",
a,!1)},postCreate:function(){this.inherited(arguments);this._connectControls()},_connectControls:function(){var c=b.hitch(this,function(c,d,e){this[c].dojoClick=!0;return a(this[c],"click",b.hitch(this,function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,d,e))}))});this.own(c("incrementMonth","month",1),c("decrementMonth","month",-1),c("nextYearLabelNode","year",1),c("previousYearLabelNode","year",-1))},_setCurrentFocusAttr:function(a,b){var d=this.currentFocus,e=this._getNodeByDate(d);
a=this._patchDate(a);this._set("currentFocus",a);if(!this._date2cell||0!=this.dateModule.difference(d,a,"month"))this._populateGrid(),this._populateControls(),this._markSelectedDates([this.value]);d=this._getNodeByDate(a);d.setAttribute("tabIndex",this.tabIndex);(this.focused||b)&&d.focus();e&&e!=d&&(c("webkit")?e.setAttribute("tabIndex","-1"):e.removeAttribute("tabIndex"))},focus:function(){this._setCurrentFocusAttr(this.currentFocus,!0)},_onDayClick:function(a){a.stopPropagation();a.preventDefault();
for(a=a.target;a&&!a.dijitDateValue;a=a.parentNode);a&&!d.contains(a,"dijitCalendarDisabledDate")&&this.set("value",a.dijitDateValue)},_getNodeByDate:function(a){return(a=this._patchDate(a))&&this._date2cell?this._date2cell[a.valueOf()]:null},_markSelectedDates:function(a){function c(a,b){d.toggle(b,"dijitCalendarSelectedDate",a);b.setAttribute("aria-selected",a?"true":"false")}f.forEach(this._selectedCells||[],b.partial(c,!1));this._selectedCells=f.filter(f.map(a,this._getNodeByDate,this),function(a){return a});
f.forEach(this._selectedCells,b.partial(c,!0))},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});m._MonthWidget=p("dijit.CalendarLite._MonthWidget",g,{_setMonthAttr:function(a){var b=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,a),d=6==c("ie")?"":"\x3cdiv class\x3d'dijitSpacer'\x3e"+f.map(b,function(a){return"\x3cdiv\x3e"+a+"\x3c/div\x3e"}).join("")+"\x3c/div\x3e";this.domNode.innerHTML=d+"\x3cdiv class\x3d'dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'\x3e"+
b[a.getMonth()]+"\x3c/div\x3e"}});return m})},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(f,p,k,n,e){var h=new f,q;k(function(){var d=e.getBox();h._rlh=p(window,"resize",function(){var a=e.getBox();d.h==a.h&&d.w==a.w||(d=a,h.emit("resize"))});if(8==n("ie")){var b=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=b&&(b=screen.deviceXDPI,h.emit("resize"))},500)}n("ios")&&(p(document,"focusin",function(a){q=a.target}),p(document,
"focusout",function(a){q=null}))});h.getEffectiveBox=function(d){d=e.getBox(d);var b=q&&q.tagName&&q.tagName.toLowerCase();if(n("ios")&&q&&!q.readOnly&&("textarea"==b||"input"==b&&/^(color|email|number|password|search|tel|text|url)$/.test(q.type)))d.h*=0==orientation||180==orientation?0.66:0.4,b=q.getBoundingClientRect(),d.h=Math.max(d.h,b.top+b.height);return d};return h})},"dojo/topic":function(){define(["./Evented"],function(f){var p=new f;return{publish:function(f,n){return p.emit.apply(p,arguments)},
subscribe:function(f,n){return p.on.apply(p,arguments)}}})},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(f,p,k,n,e){var h={getViewport:function(){return k.getBox()}};h.placeOnScreen=n.at;h.placeOnScreenAroundElement=function(e,d,b,a){var c;if(p.isArray(b))c=b;else{c=[];for(var f in b)c.push({aroundCorner:f,corner:b[f]})}return n.around(e,d,c,!0,a)};h.placeOnScreenAroundNode=h.placeOnScreenAroundElement;h.placeOnScreenAroundRectangle=
h.placeOnScreenAroundElement;h.getPopupAroundAlignment=function(e,d){var b={};f.forEach(e,function(a){var c=d;switch(a){case "after":b[d?"BR":"BL"]=d?"BL":"BR";break;case "before":b[d?"BL":"BR"]=d?"BR":"BL";break;case "below-alt":c=!c;case "below":b[c?"BL":"BR"]=c?"TL":"TR";b[c?"BR":"BL"]=c?"TR":"TL";break;case "above-alt":c=!c;default:b[c?"TL":"TR"]=c?"BL":"BR",b[c?"TR":"TL"]=c?"BR":"BL"}});return b};p.mixin(e,h);return e})},"dijit/MenuSeparator":function(){define("dojo/_base/declare dojo/dom ./_WidgetBase ./_TemplatedMixin ./_Contained dojo/text!./templates/MenuSeparator.html".split(" "),
function(f,p,k,n,e,h){return f("dijit.MenuSeparator",[k,n,e],{templateString:h,buildRendering:function(){this.inherited(arguments);p.setSelectable(this.domNode,!1)},isFocusable:function(){return!1}})})},"dijit/form/_ComboBoxMenu":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-style dojo/keys ../_WidgetBase ../_TemplatedMixin ./_ComboBoxMenuMixin ./_ListMouseMixin".split(" "),function(f,p,k,n,e,h,q,d){return f("dijit.form._ComboBoxMenu",[e,h,d,q],{templateString:"\x3cdiv class\x3d'dijitReset dijitMenu' data-dojo-attach-point\x3d'containerNode' style\x3d'overflow: auto; overflow-x: hidden;' role\x3d'listbox'\x3e\x3cdiv class\x3d'dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point\x3d'previousButton' role\x3d'option'\x3e\x3c/div\x3e\x3cdiv class\x3d'dijitMenuItem dijitMenuNextButton' data-dojo-attach-point\x3d'nextButton' role\x3d'option'\x3e\x3c/div\x3e\x3c/div\x3e",
baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);this.isLeftToRight()||(p.add(this.previousButton,"dijitMenuItemRtl"),p.add(this.nextButton,"dijitMenuItemRtl"));this.containerNode.setAttribute("role","listbox")},_createMenuItem:function(){var b=this.ownerDocument.createElement("div");b.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");b.setAttribute("role","option");return b},onHover:function(b){p.add(b,"dijitMenuItemHover")},onUnhover:function(b){p.remove(b,
"dijitMenuItemHover")},onSelect:function(b){p.add(b,"dijitMenuItemSelected")},onDeselect:function(b){p.remove(b,"dijitMenuItemSelected")},_page:function(b){var a=0,c=this.domNode.scrollTop,d=k.get(this.domNode,"height");for(this.getHighlightedOption()||this.selectNextNode();a<d;){var e=this.getHighlightedOption();if(b){if(!e.previousSibling||"none"==e.previousSibling.style.display)break;this.selectPreviousNode()}else{if(!e.nextSibling||"none"==e.nextSibling.style.display)break;this.selectNextNode()}e=
this.domNode.scrollTop;a+=(e-c)*(b?-1:1);c=e}},handleKey:function(b){switch(b.keyCode){case n.DOWN_ARROW:return this.selectNextNode(),!1;case n.PAGE_DOWN:return this._page(!1),!1;case n.UP_ARROW:return this.selectPreviousNode(),!1;case n.PAGE_UP:return this._page(!0),!1;default:return!0}}})})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(f,p,k){function n(a,b){throw Error("declare"+(b?" "+b:"")+": "+a);}function e(a,b,c){var d,e,f,g,h,l,k,m=this._inherited=this._inherited||
{};"string"==typeof a&&(d=a,a=b,b=c);c=0;g=a.callee;(d=d||g.nom)||n("can't deduce a name to call inherited()",this.declaredClass);h=this.constructor._meta;f=h.bases;k=m.p;if(d!=A){if(m.c!==g&&(k=0,l=f[0],h=l._meta,h.hidden[d]!==g)){(e=h.chains)&&"string"==typeof e[d]&&n("calling chained method with inherited: "+d,this.declaredClass);do if(h=l._meta,e=l.prototype,h&&(e[d]===g&&e.hasOwnProperty(d)||h.hidden[d]===g))break;while(l=f[++k]);k=l?k:-1}if(l=f[++k])if(e=l.prototype,l._meta&&e.hasOwnProperty(d))c=
e[d];else{g=v[d];do if(e=l.prototype,(c=e[d])&&(l._meta?e.hasOwnProperty(d):c!==g))break;while(l=f[++k])}c=l&&c||v[d]}else{if(m.c!==g&&(k=0,(h=f[0]._meta)&&h.ctor!==g)){e=h.chains;for((!e||"manual"!==e.constructor)&&n("calling chained constructor with inherited",this.declaredClass);(l=f[++k])&&!((h=l._meta)&&h.ctor===g););k=l?k:-1}for(;(l=f[++k])&&!(c=(h=l._meta)?h.ctor:l););c=l&&c}m.c=c;m.p=k;if(c)return!0===b?c:c.apply(this,b||a)}function h(a,b){return"string"==typeof a?this.__inherited(a,b,!0):
this.__inherited(a,!0)}function q(a,b,c){var d=this.getInherited(a,b);if(d)return d.apply(this,c||b||a)}function d(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 b(a,b){for(var c in b)c!=A&&b.hasOwnProperty(c)&&(a[c]=b[c]);if(p("bug-for-in-skips-shadowed"))for(var d=k._extraNames,e=d.length;e;)c=d[--e],c!=A&&b.hasOwnProperty(c)&&(a[c]=b[c])}function a(a){w.safeMixin(this.prototype,a);return this}function c(a,b){a instanceof Array||
"function"==typeof a||(b=a,a=void 0);b=b||{};a=a||[];return w([this].concat(a),b)}function l(a,b){return function(){var c=arguments,d=c,e=c[0],f,g;g=a.length;var h;if(!(this instanceof c.callee))return t(c);if(b&&(e&&e.preamble||this.preamble)){h=Array(a.length);h[0]=c;for(f=0;;){if(e=c[0])(e=e.preamble)&&(c=e.apply(this,c)||c);e=a[f].prototype;(e=e.hasOwnProperty("preamble")&&e.preamble)&&(c=e.apply(this,c)||c);if(++f==g)break;h[f]=c}}for(f=g-1;0<=f;--f)e=a[f],(e=(g=e._meta)?g.ctor:e)&&e.apply(this,
h?h[f]:c);(e=this.postscript)&&e.apply(this,d)}}function g(a,b){return function(){var c=arguments,d=c,e=c[0];if(!(this instanceof c.callee))return t(c);b&&(e&&(e=e.preamble)&&(d=e.apply(this,d)||d),(e=this.preamble)&&e.apply(this,d));a&&a.apply(this,c);(e=this.postscript)&&e.apply(this,c)}}function s(a){return function(){var b=arguments,c=0,d,e;if(!(this instanceof b.callee))return t(b);for(;d=a[c];++c)if(d=(e=d._meta)?e.ctor:d){d.apply(this,b);break}(d=this.postscript)&&d.apply(this,b)}}function r(a,
b,c){return function(){var d,e,f=0,g=1;c&&(f=b.length-1,g=-1);for(;d=b[f];f+=g)e=d._meta,(d=(e?e.hidden:d.prototype)[a])&&d.apply(this,arguments)}}function m(a){z.prototype=a.prototype;a=new z;z.prototype=null;return a}function t(a){var b=a.callee,c=m(b);b.apply(c,a);return c}function w(f,p,q){"string"!=typeof f&&(q=p,p=f,f="");q=q||{};var t,z,G,J,F,D,C,P=1,N=p;if("[object Array]"==x.call(p)){P=f;G=[];J=[{cls:0,refs:[]}];D={};for(var K=1,R=p.length,S=0,O,V,I,T;S<R;++S){(O=p[S])?"[object Function]"!=
x.call(O)&&n("mixin #"+S+" is not a callable constructor.",P):n("mixin #"+S+" is unknown. Did you use dojo.require to pull it in?",P);V=O._meta?O._meta.bases:[O];I=0;for(O=V.length-1;0<=O;--O)T=V[O].prototype,T.hasOwnProperty("declaredClass")||(T.declaredClass="uniqName_"+y++),T=T.declaredClass,D.hasOwnProperty(T)||(D[T]={count:0,refs:[],cls:V[O]},++K),T=D[T],I&&I!==T&&(T.refs.push(I),++I.count),I=T;++I.count;J[0].refs.push(I)}for(;J.length;){I=J.pop();G.push(I.cls);for(--K;z=I.refs,1==z.length;){I=
z[0];if(!I||--I.count){I=0;break}G.push(I.cls);--K}if(I){S=0;for(R=z.length;S<R;++S)I=z[S],--I.count||J.push(I)}}K&&n("can't build consistent linearization",P);O=p[0];G[0]=O?O._meta&&O===G[G.length-O._meta.bases.length]?O._meta.bases.length:1:0;D=G;G=D[0];P=D.length-G;p=D[P]}else D=[0],p?"[object Function]"==x.call(p)?(G=p._meta,D=D.concat(G?G.bases:p)):n("base class is not a callable constructor.",f):null!==p&&n("unknown base class. Did you use dojo.require to pull it in?",f);if(p)for(z=P-1;;--z){t=
m(p);if(!z)break;G=D[z];(G._meta?b:u)(t,G.prototype);J=new Function;J.superclass=p;J.prototype=t;p=t.constructor=J}else t={};w.safeMixin(t,q);G=q.constructor;G!==v.constructor&&(G.nom=A,t.constructor=G);for(z=P-1;z;--z)(G=D[z]._meta)&&G.chains&&(C=u(C||{},G.chains));t["-chains-"]&&(C=u(C||{},t["-chains-"]));G=!C||!C.hasOwnProperty(A);D[0]=J=C&&"manual"===C.constructor?s(D):1==D.length?g(q.constructor,G):l(D,G);J._meta={bases:D,hidden:q,chains:C,parents:N,ctor:q.constructor};J.superclass=p&&p.prototype;
J.extend=a;J.createSubclass=c;J.prototype=t;t.constructor=J;t.getInherited=h;t.isInstanceOf=d;t.inherited=B;t.__inherited=e;f&&(t.declaredClass=f,k.setObject(f,J));if(C)for(F in C)t[F]&&("string"==typeof C[F]&&F!=A)&&(G=t[F]=r(F,D,"after"===C[F]),G.nom=F);return J}var u=k.mixin,v=Object.prototype,x=v.toString,z,y=0,A="constructor";z=p("csp-restrictions")?function(){}:new Function;var B=f.config.isDebug?q:e;f.safeMixin=w.safeMixin=function(a,b){var c,d;for(c in b)if(d=b[c],(d!==v[c]||!(c in v))&&c!=
A)"[object Function]"==x.call(d)&&(d.nom=c),a[c]=d;if(p("bug-for-in-skips-shadowed")&&b)for(var e=k._extraNames,f=e.length;f;)if(c=e[--f],d=b[c],(d!==v[c]||!(c in v))&&c!=A)"[object Function]"==x.call(d)&&(d.nom=c),a[c]=d;return a};return f.declare=w})},"dijit/form/_DateTimeTextBox":function(){define("dojo/date dojo/date/locale dojo/date/stamp dojo/_base/declare dojo/_base/lang ./RangeBoundTextBox ../_HasDropDown dojo/text!./templates/DropDownBox.html".split(" "),function(f,p,k,n,e,h,q,d){new Date("X");
return n("dijit.form._DateTimeTextBox",[h,q],{templateString:d,hasDownArrow:!0,cssStateNodes:{_buttonNode:"dijitDownArrowButton"},_unboundedConstraints:{},pattern:p.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},compare:function(b,a){var c=this._isInvalidDate(b),d=this._isInvalidDate(a);if(c||d)return c&&d?0:!c?1:-1;var c=this.format(b,this._unboundedConstraints),d=this.format(a,this._unboundedConstraints),e=this.parse(c,this._unboundedConstraints),
h=this.parse(d,this._unboundedConstraints);return c==d?0:f.compare(e,h,this._selector)},autoWidth:!0,format:function(b,a){return!b?"":this.dateLocaleModule.format(b,a)},parse:function(b,a){return this.dateLocaleModule.parse(b,a)||(this._isEmpty(b)?null:void 0)},serialize:function(b,a){b.toGregorian&&(b=b.toGregorian());return k.toISOString(b,a)},dropDownDefaultValue:new Date,value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(b){b=b||{};this.dateModule=b.datePackage?
e.getObject(b.datePackage,!1):f;this.dateClassObj=this.dateModule.Date||Date;this.dateClassObj instanceof Date||(this.value=new this.dateClassObj(this.value));this.dateLocaleModule=b.datePackage?e.getObject(b.datePackage+".locale",!1):p;this._set("pattern",this.dateLocaleModule.regexp);this._invalidDate=this.constructor.prototype.value.toString()},buildRendering:function(){this.inherited(arguments);this.hasDownArrow||(this._buttonNode.style.display="none");this.hasDownArrow||(this._buttonNode=this.domNode,
this.baseClass+=" dijitComboBoxOpenOnClick")},_setConstraintsAttr:function(b){b.selector=this._selector;b.fullYear=!0;var a=k.fromISOString;"string"==typeof b.min&&(b.min=a(b.min),this.dateClassObj instanceof Date||(b.min=new this.dateClassObj(b.min)));"string"==typeof b.max&&(b.max=a(b.max),this.dateClassObj instanceof Date||(b.max=new this.dateClassObj(b.max)));this.inherited(arguments);this._unboundedConstraints=e.mixin({},this.constraints,{min:null,max:null})},_isInvalidDate:function(b){return!b||
isNaN(b)||"object"!=typeof b||b.toString()==this._invalidDate},_setValueAttr:function(b,a,c){void 0!==b&&("string"==typeof b&&(b=k.fromISOString(b)),this._isInvalidDate(b)&&(b=null),b instanceof Date&&!(this.dateClassObj instanceof Date)&&(b=new this.dateClassObj(b)));this.inherited(arguments,[b,a,c]);this.value instanceof Date&&(this.filterString="");!1!==a&&this.dropDown&&this.dropDown.set("value",b,!1)},_set:function(b,a){if("value"==b){a instanceof Date&&!(this.dateClassObj instanceof Date)&&
(a=new this.dateClassObj(a));var c=this._get("value");if(c instanceof this.dateClassObj&&0==this.compare(a,c))return}this.inherited(arguments)},_setDropDownDefaultValueAttr:function(b){this._isInvalidDate(b)&&(b=new this.dateClassObj);this._set("dropDownDefaultValue",b)},openDropDown:function(b){this.dropDown&&this.dropDown.destroy();var a=e.isString(this.popupClass)?e.getObject(this.popupClass,!1):this.popupClass,c=this,d=this.get("value");this.dropDown=new a({onChange:function(a){c.set("value",
a,!0)},id:this.id+"_popup",dir:c.dir,lang:c.lang,value:d,textDir:c.textDir,currentFocus:!this._isInvalidDate(d)?d:this.dropDownDefaultValue,constraints:c.constraints,filterString:c.filterString,datePackage:c.datePackage,isDisabledDate:function(a){return!c.rangeCheck(a,c.constraints)}});this.inherited(arguments)},_getDisplayedValueAttr:function(){return this.textbox.value},_setDisplayedValueAttr:function(b,a){this._setValueAttr(this.parse(b,this.constraints),a,b)}})})},"dojo/query":function(){define("./_base/kernel ./has ./dom ./on ./_base/array ./_base/lang ./selector/_loader ./selector/_loader!default".split(" "),
function(f,p,k,n,e,h,q,d){function b(a,b){var c=function(c,d){if("string"==typeof d&&(d=k.byId(d),!d))return new b([]);var e="string"==typeof c?a(c,d):c?c.end&&c.on?c:[c]:[];return e.end&&e.on?e:new b(e)};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<e.indexOf(a,b)})};if("function"!=typeof a){var d=a.search;a=function(a,b){return d(b||document,a)}}return c}p.add("array-extensible",function(){return 1==
h.delegate([],{length:1}).length&&!p("bug-for-in-skips-shadowed")});var a=Array.prototype,c=a.slice,l=a.concat,g=e.forEach,s=function(a,b,d){b=[0].concat(c.call(b,0));d=d||f.global;return function(c){b[0]=c;return a.apply(d,b)}},r=function(a){var b=this instanceof m&&p("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}h._mixin(c,t);c._NodeListCtor=function(a){return m(a)};
return c},m=r,t=m.prototype=p("array-extensible")?[]:{};m._wrap=t._wrap=function(a,b,c){a=new (c||this._NodeListCtor||m)(a);return b?a._stash(b):a};m._adaptAsMap=function(a,b){return function(){return this.map(s(a,arguments,b))}};m._adaptAsForEach=function(a,b){return function(){this.forEach(s(a,arguments,b));return this}};m._adaptAsFilter=function(a,b){return function(){return this.filter(s(a,arguments,b))}};m._adaptWithCondition=function(a,b,c){return function(){var d=arguments,e=s(a,d,c);if(b.call(c||
f.global,d))return this.map(e);this.forEach(e);return this}};g(["slice","splice"],function(b){var c=a[b];t[b]=function(){return this._wrap(c.apply(this,arguments),"slice"==b?this:null)}});g(["indexOf","lastIndexOf","every","some"],function(a){var b=e[a];t[a]=function(){return b.apply(f,[this].concat(c.call(arguments,0)))}});h.extend(r,{constructor:m,_NodeListCtor:m,toString:function(){return this.join(",")},_stash:function(a){this._parent=a;return this},on:function(a,b){var c=this.map(function(c){return n(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=c.call(this,0),d=e.map(arguments,function(a){return c.call(a,0)});return this._wrap(l.apply(b,d),this)},map:function(a,b){return this._wrap(e.map(this,a,b),this)},forEach:function(a,b){g(this,a,b);return this},filter:function(a){var b=arguments,c=this,d=0;if("string"==typeof a){c=w._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)},instantiate:function(a,b){var c=h.isFunction(a)?a:h.getObject(a);b=b||{};return this.forEach(function(a){new c(b,a)})},at:function(){var a=new this._NodeListCtor(0);g(arguments,function(b){0>b&&(b=this.length+b);this[b]&&a.push(this[b])},this);return a._stash(this)}});var w=b(d,r);f.query=b(d,function(a){return r(a)});w.load=function(a,c,d){q.load(a,c,function(a){d(b(a,r))})};f._filterQueryResult=w._filterResult=function(a,b,c){return new r(w.filter(a,
b,c))};f.NodeList=w.NodeList=r;return w})},"dijit/_base/focus":function(){define("dojo/_base/array dojo/dom dojo/_base/lang dojo/topic dojo/_base/window ../focus ../selection ../main".split(" "),function(f,p,k,n,e,h,q,d){h.focus=function(b){if(b){var a="node"in b?b.node:b,c=b.bookmark;b=b.openedForWindow;var f=c?c.isCollapsed:!1;if(a){var g="iframe"==a.tagName.toLowerCase()?a.contentWindow:a;if(g&&g.focus)try{g.focus()}catch(k){}h._onFocusNode(a)}if(c&&e.withGlobal(b||e.global,d.isCollapsed)&&!f){b&&
b.focus();try{e.withGlobal(b||e.global,d.moveToBookmark,null,[c])}catch(n){}}}};h.watch("curNode",function(b,a,c){d._curFocus=c;d._prevFocus=a;c&&n.publish("focusNode",c)});h.watch("activeStack",function(b,a,c){d._activeStack=c});h.on("widget-blur",function(b,a){n.publish("widgetBlur",b,a)});h.on("widget-focus",function(b,a){n.publish("widgetFocus",b,a)});k.mixin(d,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return d.getBookmark().isCollapsed},getBookmark:function(){return(e.global==window?
q:new q.SelectionManager(e.global)).getBookmark()},moveToBookmark:function(b){return(e.global==window?q:new q.SelectionManager(e.global)).moveToBookmark(b)},getFocus:function(b,a){var c=!h.curNode||b&&p.isDescendant(h.curNode,b.domNode)?d._prevFocus:h.curNode;return{node:c,bookmark:c&&c==h.curNode&&e.withGlobal(a||e.global,d.getBookmark),openedForWindow:a}},_activeStack:[],registerIframe:function(b){return h.registerIframe(b)},unregisterIframe:function(b){b&&b.remove()},registerWin:function(b,a){return h.registerWin(b,
a)},unregisterWin:function(b){b&&b.remove()}});return d})},"dgrid/OnDemandList":function(){define("./List ./_StoreMixin dojo/_base/declare dojo/_base/lang dojo/dom-construct dojo/on dojo/when ./util/misc".split(" "),function(f,p,k,n,e,h,q,d){return k([f,p],{minRowsPerPage:25,maxRowsPerPage:250,maxEmptySpace:Infinity,bufferRows:10,farOffRemoval:2E3,queryRowsOverlap:0,pagingMethod:"debounce",pagingDelay:d.defaultDelay,keepScrollPosition:!1,rowHeight:0,postCreate:function(){this.inherited(arguments);
var b=this;h(this.bodyNode,"scroll",d[this.pagingMethod](function(a){b._processScroll(a)},null,this.pagingDelay))},renderQuery:function(b,a){var c=this,d=a&&a.container||this.contentNode,f={query:b,count:0},h,k=this.preload,m={node:e.create("div",{className:"dgrid-preload",style:{height:"0"}},d),count:0,query:b,next:f};m.node.rowIndex=0;f.node=h=e.create("div",{className:"dgrid-preload"},d);f.previous=m;h.rowIndex=this.minRowsPerPage;k?((f.next=k.next)&&h.offsetTop>=k.node.offsetTop?f.previous=k:
(f.next=k,f.previous=k.previous),f.previous.next=f,f.next.previous=f):this.preload=f;var p=e.create("div",{className:"dgrid-loading"},h,"before");e.create("div",{className:"dgrid-below"},p).innerHTML=this.loadingMessage;a=n.mixin({start:0,count:this.minRowsPerPage},"level"in b?{queryLevel:b.level}:null);return this._trackError(function(){var d=b(a);return c.renderQueryResults(d,h,a).then(function(b){return d.totalLength.then(function(d){var l=b.length,k=h.parentNode;c._rows&&(c._rows.min=0,c._rows.max=
l===d?Infinity:l-1);e.destroy(p);"queryLevel"in a||(c._total=d);0===d&&k&&(c.noDataNode&&e.destroy(c.noDataNode),c._insertNoDataNode(k));c._calcAverageRowHeight(b);d-=l;f.count=d;h.rowIndex=l;d?h.style.height=Math.min(d*c.rowHeight,c.maxEmptySpace)+"px":h.style.display="none";c._previousScrollPosition&&(c.scrollTo(c._previousScrollPosition),delete c._previousScrollPosition);return q(c._processScroll()).then(function(){return b})})}).otherwise(function(a){e.destroy(p);throw a;})})},refresh:function(b){var a=
this,c=b&&b.keepScrollPosition;"undefined"===typeof c&&(c=this.keepScrollPosition);c&&(this._previousScrollPosition=this.getScrollPosition());this.inherited(arguments);if(this._renderedCollection)return this.renderQuery(function(b){return a._renderedCollection.fetchRange({start:b.start,end:b.start+b.count})}).then(function(){a._emitRefreshComplete()})},resize:function(){this.inherited(arguments);this.rowHeight||this._calcAverageRowHeight(this.contentNode.getElementsByClassName("dgrid-row"));this._processScroll()},
cleanup:function(){this.inherited(arguments);this.preload=null},renderQueryResults:function(b){var a=this.inherited(arguments),c=this._renderedCollection;c&&c.releaseRange&&a.then(function(a){a[0]&&!a[0].parentNode.tagName&&b.totalLength.then(function(){c.releaseRange(a[0].rowIndex,a[a.length-1].rowIndex+1)})});return a},_getFirstRowSibling:function(b){return b.lastChild},_calcRowHeight:function(b){var a=b.nextSibling;return a&&!/\bdgrid-preload\b/.test(a.className)?a.offsetTop-b.offsetTop:b.offsetHeight},
_calcAverageRowHeight:function(b){for(var a=b.length,c=0,d=0;d<a;d++)c+=this._calcRowHeight(b[d]);a&&c&&(this.rowHeight=c/a)},lastScrollTop:0,_processScroll:function(b){function a(a,b,d,h){var k=f.farOffRemoval,l=a.node;if(b>2*k){for(var m,n=l[d],p=0,q=0,r=[],s=n&&n.rowIndex,t;m=n;){var u=f._calcRowHeight(m);if(p+u+k>b||0>n.className.indexOf("dgrid-row")&&0>n.className.indexOf("dgrid-loading"))break;n=m[d];p+=u;q+=m.count||1;f.removeRow(m,!0);r.push(m);"rowIndex"in m&&(t=m.rowIndex)}f._renderedCollection.releaseRange&&
("number"===typeof s&&"number"===typeof t)&&(h?f._renderedCollection.releaseRange(t,s+1):f._renderedCollection.releaseRange(s,t+1),f._rows[h?"max":"min"]=t,f._rows.max>=f._total-1&&(f._rows.max=Infinity));a.count+=q;h?(l.rowIndex-=q,c(a)):l.style.height=l.offsetHeight+p+"px";var A=document.createElement("div");for(a=r.length;a--;)A.appendChild(r[a]);setTimeout(function(){e.destroy(A)},1)}}function c(a,b){a.node.style.height=Math.min(a.count*f.rowHeight,b?Infinity:f.maxEmptySpace)+"px"}function d(a,
b){do a=b?a.next:a.previous;while(a&&!a.node.offsetWidth);return a}if(this.rowHeight){var f=this,h=f.bodyNode;b=b&&b.scrollTop||this.getScrollPosition().y;var h=h.offsetHeight+b,k,m,n=f.preload,p=f.lastScrollTop,q=f.bufferRows*f.rowHeight,v=q-f.rowHeight,x,z=!0;for(f.lastScrollTop=b;n&&!n.node.offsetWidth;)n=n.previous;for(;n&&n!==k;){k=f.preload;f.preload=n;m=n.node;var y=m.offsetTop;if(h+1+v<y)n=d(n,z=!1);else if(b-1-v>y+m.offsetHeight)n=d(n,z=!0);else{var y=((m.rowIndex?b-q:h)-y)/f.rowHeight,A=
(h-b+2*q)/f.rowHeight,B=Math.max(Math.min((b-p)*f.rowHeight,f.maxRowsPerPage/2),f.maxRowsPerPage/-2),A=A+Math.min(Math.abs(B),10);0===m.rowIndex&&(y-=A);y=Math.max(y,0);10>y&&(0<y&&A+y<f.maxRowsPerPage)&&(A+=Math.max(0,y),y=0);A=Math.min(Math.max(A,f.minRowsPerPage),f.maxRowsPerPage,n.count);if(0===A)n=d(n,z);else{var A=Math.ceil(A),y=Math.min(Math.floor(y),n.count-A),E={};n.count-=A;var H=m,L,B=f.queryRowsOverlap,M=(0<m.rowIndex||m.offsetTop>b)&&n;if(M){var Q=n.previous;Q&&(a(Q,b-(Q.node.offsetTop+
Q.node.offsetHeight),"nextSibling"),0<y&&Q.node===m.previousSibling?(y=Math.min(n.count,y),n.previous.count+=y,c(n.previous,!0),m.rowIndex+=y,B=0):A+=y,n.count-=y);E.start=m.rowIndex-B;E.count=Math.min(A+B,f.maxRowsPerPage);m.rowIndex=E.start+E.count}else n.next&&(a(n.next,n.next.node.offsetTop-h,"previousSibling",!0),H=m.nextSibling,H===n.next.node?(n.next.count+=n.count-y,n.next.node.rowIndex=y+A,c(n.next),n.count=y,B=0):L=!0),E.start=n.count,E.count=Math.min(A+B,f.maxRowsPerPage);L&&(H&&H.offsetWidth)&&
(L=H.offsetTop);c(n);"level"in n.query&&(E.queryLevel=n.query.level);if("queryLevel"in E||!(E.start>f._total||0>E.count)){var G=e.create("div",{className:"dgrid-loading",style:{height:A*f.rowHeight+"px"}},H,"before");e.create("div",{className:"dgrid-"+(M?"below":"above"),innerHTML:f.loadingMessage},G);G.count=A;f._trackError(function(){(function(a,b,d){var h=n.query(E);x=f.renderQueryResults(h,a,E).then(function(k){var l=f._rows;l&&(!("queryLevel"in E)&&k.length)&&(b?(l.max<=l.min&&(l.min=k[0].rowIndex),
l.max=k[k.length-1].rowIndex):(l.max<=l.min&&(l.max=k[k.length-1].rowIndex),l.min=k[0].rowIndex));H=a.nextSibling;e.destroy(a);d&&(H&&H.offsetWidth)&&(l=f.getScrollPosition(),f.scrollTo({x:l.x,y:l.y+H.offsetTop-d,preserveMomentum:!0}));h.totalLength.then(function(a){"queryLevel"in E||(f._total=a,f._rows&&f._rows.max>=f._total-1&&(f._rows.max=Infinity));b&&(b.count=a-b.node.rowIndex,c(b))});f._processScroll();return k},function(b){e.destroy(a);throw b;})})(G,M,L)});n=n.previous}}}}return x}}})})},
"dijit/a11y":function(){define("dojo/_base/array dojo/dom dojo/dom-attr dojo/dom-style dojo/_base/lang dojo/sniff ./main".split(" "),function(f,p,k,n,e,h,q){var d={_isElementShown:function(b){var a=n.get(b);return"hidden"!=a.visibility&&"collapsed"!=a.visibility&&"none"!=a.display&&"hidden"!=k.get(b,"type")},hasDefaultTabStop:function(b){switch(b.nodeName.toLowerCase()){case "a":return k.has(b,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return!0;case "iframe":var a;
try{var c=b.contentDocument;if("designMode"in c&&"on"==c.designMode)return!0;a=c.body}catch(d){try{a=b.contentWindow.document.body}catch(e){return!1}}return a&&("true"==a.contentEditable||a.firstChild&&"true"==a.firstChild.contentEditable);default:return"true"==b.contentEditable}},effectiveTabIndex:function(b){return k.get(b,"disabled")?void 0:k.has(b,"tabIndex")?+k.get(b,"tabIndex"):d.hasDefaultTabStop(b)?0:void 0},isTabNavigable:function(b){return 0<=d.effectiveTabIndex(b)},isFocusable:function(b){return-1<=
d.effectiveTabIndex(b)},_getTabNavigable:function(b){function a(a){return a&&"input"==a.tagName.toLowerCase()&&a.type&&"radio"==a.type.toLowerCase()&&a.name&&a.name.toLowerCase()}var c,e,f,n,p,m,q={},w=d._isElementShown,u=d.effectiveTabIndex,v=function(b){for(b=b.firstChild;b;b=b.nextSibling)if(!(1!=b.nodeType||9>=h("ie")&&"HTML"!==b.scopeName||!w(b))){var d=u(b);if(0<=d){if(0==d)c||(c=b),e=b;else if(0<d){if(!f||d<n)n=d,f=b;if(!p||d>=m)m=d,p=b}d=a(b);k.get(b,"checked")&&d&&(q[d]=b)}"SELECT"!=b.nodeName.toUpperCase()&&
v(b)}};w(b)&&v(b);return{first:q[a(c)]||c,last:q[a(e)]||e,lowest:q[a(f)]||f,highest:q[a(p)]||p}},getFirstInTabbingOrder:function(b,a){var c=d._getTabNavigable(p.byId(b,a));return c.lowest?c.lowest:c.first},getLastInTabbingOrder:function(b,a){var c=d._getTabNavigable(p.byId(b,a));return c.last?c.last:c.highest}};e.mixin(q,d);return d})},"cbtree/model/ForestStoreModel":function(){define("module dojo/_base/declare dojo/_base/lang dojo/Deferred dojo/when ./_base/CheckedStoreModel ../errors/createError!../errors/CBTErrors.json".split(" "),
function(f,p,k,n,e,h,q){var d=q(f.id);return p([h],{rootId:"$root$",rootLabel:"ROOT",constructor:function(b){b={id:this.rootId,root:!0};var a=this.store;b[this.checkedAttr]=this.checkedState;b[this.labelAttr]=this.rootLabel||this.rootId;if(this._methods.queryEngine)this._rootQuery=a.queryEngine(this.query);else throw new d("MethodMissing","_createForestRoot","store has no query engine");this._forest=!0;this.root=b},getChildren:function(b,a,c){this._getChildren(b,function(a,b){return a==this.root?
this.store.query(this.query,this.options):this.store.getChildren(a,this.options)},a,c)},getParents:function(b){if(b&&b!=this.root){var a=this;return this.inherited(arguments).then(function(c){a.isChildOf(b,a.root)&&c.push(a.root);return c})}return(new n).resolve([])},mayHaveChildren:function(b){if(b&&b==this.root){var a=this.getIdentity(b);return!!this._childrenCache[a]}return this.inherited(arguments)},getIdentity:function(b){return b==this.root?this.root.id:this.store.getIdentity(b)},isChildOf:function(b,
a){return a&&b?a==this.root?this._rootQuery.matches?this._rootQuery.matches(b):!!this._rootQuery([b]).length:this.inherited(arguments):!1},_setValue:function(b,a,c){if(b[a]!==c)if(b==this.root){var d=k.mixin(null,b);b[a]=c;this._onChange(b,d)}else this.inherited(arguments);return c},_onSetItem:function(b,a,c,d){if(this.query&&a in this.query){var f=this;e(this._childrenCache[this.root.id],function(a){a=a?a.indexOf(b):-1;var c=f.isChildOf(b,f.root);if(c!=-1<a){var d=c?"attach":"detach";a=f._updateChildrenCache(d,
f.root,b);e(a,function(){f.onRootChange(b,d);f._childrenChanged(f.root)})}})}this.inherited(arguments)},toString:function(){return"[object ForestStoreModel]"}})})},"cbtree/Evented":function(){define(["dojo/aspect","dojo/on"],function(f,p){return function(){this.on=function(k,n){function e(e,f){var d=e.constructor,b=d._onMap;if(!b){var b=d._onMap={},a;for(a in d.prototype)/^on/.test(a)&&(b[a.replace(/^on/,"").toLowerCase()]=a)}return b[f.toLowerCase()]||"on"+f}return p.parse(this,k,n,function(h,k){return f.after(h,
e(h,k),n,!0)})};this.emit=function(f,n){var e=[this];n.type||(n.type=f);e.push.apply(e,arguments);return p.emit.apply(p,e)}}})},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(f,p){return f("dijit.form._ToggleButtonMixin",null,{checked:!1,_aria_attr:"aria-pressed",_onClick:function(f){var n=this.checked;this._set("checked",!n);var e=this.inherited(arguments);this.set("checked",e?this.checked:n);return e},_setCheckedAttr:function(f,n){this._set("checked",
f);var e=this.focusNode||this.domNode;this._created&&p.get(e,"checked")!=!!f&&p.set(e,"checked",!!f);e.setAttribute(this._aria_attr,String(f));this._handleOnChange(f,n)},postCreate:function(){this.inherited(arguments);var f=this.focusNode||this.domNode;this.checked&&f.setAttribute("checked","checked");void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.checked)},reset:function(){this._hasBeenBlurred=!1;this.set("checked",this.params.checked||!1)}})})},"dijit/Calendar":function(){define("dojo/_base/array dojo/date dojo/date/locale dojo/_base/declare dojo/dom-attr dojo/dom-class dojo/dom-construct dojo/_base/kernel dojo/keys dojo/_base/lang dojo/on dojo/sniff ./CalendarLite ./_Widget ./_CssStateMixin ./_TemplatedMixin ./form/DropDownButton".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m,t){var w=n("dijit.Calendar",[g,s,r],{baseClass:"dijitCalendar",cssStateNodes:{decrementMonth:"dijitCalendarArrow",incrementMonth:"dijitCalendarArrow",previousYearLabelNode:"dijitCalendarPreviousYear",nextYearLabelNode:"dijitCalendarNextYear"},setValue:function(a){d.deprecated("dijit.Calendar:setValue() is deprecated. Use set('value', ...) instead.","","2.0");this.set("value",a)},_createMonthWidget:function(){return new w._MonthDropDownButton({id:this.id+"_mddb",
tabIndex:-1,onMonthSelect:a.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode)},postCreate:function(){this.inherited(arguments);this.own(c(this.domNode,"keydown",a.hitch(this,"_onKeyDown")),c(this.dateRowsNode,"mouseover",a.hitch(this,"_onDayMouseOver")),c(this.dateRowsNode,"mouseout",a.hitch(this,"_onDayMouseOut")),c(this.dateRowsNode,"mousedown",a.hitch(this,"_onDayMouseDown")),c(this.dateRowsNode,"mouseup",a.hitch(this,"_onDayMouseUp")))},_onMonthSelect:function(a){var b=
new this.dateClassObj(this.currentFocus);b.setDate(1);b.setMonth(a);a=this.dateModule.getDaysInMonth(b);var c=this.currentFocus.getDate();b.setDate(Math.min(c,a));this._setCurrentFocusAttr(b)},_onDayMouseOver:function(a){if((a=h.contains(a.target,"dijitCalendarDateLabel")?a.target.parentNode:a.target)&&(a.dijitDateValue&&!h.contains(a,"dijitCalendarDisabledDate")||a==this.previousYearLabelNode||a==this.nextYearLabelNode))h.add(a,"dijitCalendarHoveredDate"),this._currentNode=a},_onDayMouseOut:function(a){this._currentNode&&
!(a.relatedTarget&&a.relatedTarget.parentNode==this._currentNode)&&(a="dijitCalendarHoveredDate",h.contains(this._currentNode,"dijitCalendarActiveDate")&&(a+=" dijitCalendarActiveDate"),h.remove(this._currentNode,a),this._currentNode=null)},_onDayMouseDown:function(a){if((a=a.target.parentNode)&&a.dijitDateValue&&!h.contains(a,"dijitCalendarDisabledDate"))h.add(a,"dijitCalendarActiveDate"),this._currentNode=a},_onDayMouseUp:function(a){(a=a.target.parentNode)&&a.dijitDateValue&&h.remove(a,"dijitCalendarActiveDate")},
handleKey:function(a){var c=-1,d,e=this.currentFocus;switch(a.keyCode){case b.RIGHT_ARROW:c=1;case b.LEFT_ARROW:d="day";this.isLeftToRight()||(c*=-1);break;case b.DOWN_ARROW:c=1;case b.UP_ARROW:d="week";break;case b.PAGE_DOWN:c=1;case b.PAGE_UP:d=a.ctrlKey||a.altKey?"year":"month";break;case b.END:e=this.dateModule.add(e,"month",1),d="day";case b.HOME:e=new this.dateClassObj(e);e.setDate(1);break;default:return!0}d&&(e=this.dateModule.add(e,d,c));this._setCurrentFocusAttr(e);return!1},_onKeyDown:function(a){this.handleKey(a)||
(a.stopPropagation(),a.preventDefault())},onValueSelected:function(){},onChange:function(a){this.onValueSelected(a)},getClassForDate:function(){}});w._MonthDropDownButton=n("dijit.Calendar._MonthDropDownButton",t,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new w._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect})},_setMonthAttr:function(a){var b=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,a);this.dropDown.set("months",
b);this.containerNode.innerHTML=(6==l("ie")?"":"\x3cdiv class\x3d'dijitSpacer'\x3e"+this.dropDown.domNode.innerHTML+"\x3c/div\x3e")+"\x3cdiv class\x3d'dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'\x3e"+b[a.getMonth()]+"\x3c/div\x3e"}});w._MonthDropDown=n("dijit.Calendar._MonthDropDown",[s,m,r],{months:[],baseClass:"dijitCalendarMonthMenu dijitMenu",templateString:"\x3cdiv data-dojo-attach-event\x3d'ondijitclick:_onClick'\x3e\x3c/div\x3e",_setMonthsAttr:function(a){this.domNode.innerHTML=
"";f.forEach(a,function(a,b){q.create("div",{className:"dijitCalendarMonthLabel",month:b,innerHTML:a},this.domNode)._cssState="dijitCalendarMonthLabel"},this)},_onClick:function(a){this.onChange(e.get(a.target,"month"))},onChange:function(){}});return w})},"dojo/dnd/Container":function(){define("../_base/array ../_base/declare ../_base/kernel ../_base/lang ../_base/window ../dom ../dom-class ../dom-construct ../Evented ../has ../on ../query ../touch ./common".split(" "),function(f,p,k,n,e,h,q,d,b,
a,c,l,g,s){p=p("dojo.dnd.Container",b,{skipForm:!1,allowNested:!1,constructor:function(a,b){this.node=h.byId(a);b||(b={});this.creator=b.creator||null;this.skipForm=b.skipForm;this.parent=b.dropParent&&h.byId(b.dropParent);this.map={};this.current=null;this.containerState="";q.add(this.node,"dojoDndContainer");(!b||!b._skipStartup)&&this.startup();this.events=[c(this.node,g.over,n.hitch(this,"onMouseOver")),c(this.node,g.out,n.hitch(this,"onMouseOut")),c(this.node,"dragstart",n.hitch(this,"onSelectStart")),
c(this.node,"selectstart",n.hitch(this,"onSelectStart"))]},creator:function(){},getItem:function(a){return this.map[a]},setItem:function(a,b){this.map[a]=b},delItem:function(a){delete this.map[a]},forInItems:function(a,b){b=b||k.global;var c=this.map,d=s._empty,e;for(e in c)e in d||a.call(b,c[e],e,this);return b},clearItems:function(){this.map={}},getAllNodes:function(){return l((this.allowNested?"":"\x3e ")+".dojoDndItem",this.parent)},sync:function(){var a={};this.getAllNodes().forEach(function(b){if(b.id){var c=
this.getItem(b.id);if(c){a[b.id]=c;return}}else b.id=s.getUniqueId();var c=b.getAttribute("dndType"),d=b.getAttribute("dndData");a[b.id]={data:d||b.innerHTML,type:c?c.split(/\s*,\s*/):["text"]}},this);this.map=a;return this},insertNodes:function(a,b,c){this.parent.firstChild?b?c||(c=this.parent.firstChild):c&&(c=c.nextSibling):c=null;var d;if(c)for(b=0;b<a.length;++b)d=this._normalizedCreator(a[b]),this.setItem(d.node.id,{data:d.data,type:d.type}),c.parentNode.insertBefore(d.node,c);else for(b=0;b<
a.length;++b)d=this._normalizedCreator(a[b]),this.setItem(d.node.id,{data:d.data,type:d.type}),this.parent.appendChild(d.node);return this},destroy:function(){f.forEach(this.events,function(a){a.remove()});this.clearItems();this.node=this.parent=this.current=null},markupFactory:function(a,b,c){a._skipStartup=!0;return new c(b,a)},startup:function(){if(!this.parent&&(this.parent=this.node,"table"==this.parent.tagName.toLowerCase())){var a=this.parent.getElementsByTagName("tbody");a&&a.length&&(this.parent=
a[0])}this.defaultCreator=s._defaultCreator(this.parent);this.sync()},onMouseOver:function(a){for(var b=a.relatedTarget;b&&b!=this.node;)try{b=b.parentNode}catch(c){b=null}b||(this._changeState("Container","Over"),this.onOverEvent());b=this._getChildByEvent(a);this.current!=b&&(this.current&&this._removeItemClass(this.current,"Over"),b&&this._addItemClass(b,"Over"),this.current=b)},onMouseOut:function(a){for(a=a.relatedTarget;a;){if(a==this.node)return;try{a=a.parentNode}catch(b){a=null}}this.current&&
(this._removeItemClass(this.current,"Over"),this.current=null);this._changeState("Container","");this.onOutEvent()},onSelectStart:function(a){if(!this.skipForm||!s.isFormElement(a))a.stopPropagation(),a.preventDefault()},onOverEvent:function(){},onOutEvent:function(){},_changeState:function(a,b){var c="dojoDnd"+a,d=a.toLowerCase()+"State";q.replace(this.node,c+b,c+this[d]);this[d]=b},_addItemClass:function(a,b){q.add(a,"dojoDndItem"+b)},_removeItemClass:function(a,b){q.remove(a,"dojoDndItem"+b)},
_getChildByEvent:function(a){if(a=a.target)for(var b=a.parentNode;b;a=b,b=a.parentNode)if((b==this.parent||this.allowNested)&&q.contains(a,"dojoDndItem"))return a;return null},_normalizedCreator:function(a,b){var c=(this.creator||this.defaultCreator).call(this,a,b);n.isArray(c.type)||(c.type=["text"]);c.node.id||(c.node.id=s.getUniqueId());q.add(c.node,"dojoDndItem");return c}});s._createNode=function(a){return!a?s._createSpan:function(b){return d.create(a,{innerHTML:b})}};s._createTrTd=function(a){var b=
d.create("tr");d.create("td",{innerHTML:a},b);return b};s._createSpan=function(a){return d.create("span",{innerHTML:a})};s._defaultCreatorNodes={ul:"li",ol:"li",div:"div",p:"div"};s._defaultCreator=function(a){a=a.tagName.toLowerCase();var b="tbody"==a||"thead"==a?s._createTrTd:s._createNode(s._defaultCreatorNodes[a]);return function(a,c){var d=a&&n.isObject(a),e,f;d&&a.tagName&&a.nodeType&&a.getAttribute?(e=a.getAttribute("dndData")||a.innerHTML,d=(d=a.getAttribute("dndType"))?d.split(/\s*,\s*/):
["text"],f=a):(e=d&&a.data?a.data:a,d=d&&a.type?a.type:["text"],f=("avatar"==c?s._createSpan:b)(String(e)));f.id||(f.id=s.getUniqueId());return{node:f,data:e,type:d}}};return p})},"dijit/_Widget":function(){define("dojo/aspect dojo/_base/config dojo/_base/connect dojo/_base/declare dojo/has dojo/_base/kernel dojo/_base/lang dojo/query dojo/ready ./registry ./_WidgetBase ./_OnDijitClickMixin ./_FocusMixin dojo/uacss ./hccss".split(" "),function(f,p,k,n,e,h,q,d,b,a,c,l,g){function s(){}function r(a){return function(b,
c,d,e){return b&&"string"==typeof c&&b[c]==s?b.on(c.substring(2).toLowerCase(),q.hitch(d,e)):a.apply(k,arguments)}}f.around(k,"connect",r);h.connect&&f.around(h,"connect",r);f=n("dijit._Widget",[c,l,g],{onClick:s,onDblClick:s,onKeyDown:s,onKeyPress:s,onKeyUp:s,onMouseDown:s,onMouseMove:s,onMouseOut:s,onMouseOver:s,onMouseLeave:s,onMouseEnter:s,onMouseUp:s,constructor:function(a){this._toConnect={};for(var b in a)this[b]===s&&(this._toConnect[b.replace(/^on/,"").toLowerCase()]=a[b],delete a[b])},postCreate:function(){this.inherited(arguments);
for(var a in this._toConnect)this.on(a,this._toConnect[a]);delete this._toConnect},on:function(a,b){return this[this._onMap(a)]===s?k.connect(this.domNode,a.toLowerCase(),this,b):this.inherited(arguments)},_setFocusedAttr:function(a){this._focused=a;this._set("focused",a)},setAttribute:function(a,b){h.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(a,b)},attr:function(a,b){return 2<=arguments.length||"object"===typeof a?this.set.apply(this,
arguments):this.get(a)},getDescendants:function(){h.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?d("[widgetId]",this.containerNode).map(a.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});e("dijit-legacy-requires")&&b(0,function(){require(["dijit/_base"])});return f})},"dojo/json":function(){define(["./has"],function(f){var p="undefined"!=typeof JSON;
f.add("json-parse",p);f.add("json-stringify",p&&'{"a":1}'==JSON.stringify({a:0},function(f,e){return e||1}));if(f("json-stringify"))return JSON;var k=function(f){return('"'+f.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:f("json-parse")?JSON.parse:function(f,e){if(e&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(f))throw new SyntaxError("Invalid characters in JSON");
return eval("("+f+")")},stringify:function(f,e,h){function p(b,a,c){e&&(b=e(c,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 k(b);if("function"==f||"undefined"==f)return d;if("function"==typeof b.toJSON)return p(b.toJSON(c),a,c);if(b instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(a,c,d){a=b["getUTC"+c]()+(d?1:0);return 10>a?"0"+
a:a});if(b.valueOf()!==b)return p(b.valueOf(),a,c);var g=h?a+h:"",n=h?" ":"",r=h?"\n":"";if(b instanceof Array){var n=b.length,m=[];for(c=0;c<n;c++)f=p(b[c],g,c),"string"!=typeof f&&(f="null"),m.push(r+g+f);return"["+m.join(",")+r+a+"]"}m=[];for(c in b){var t;if(b.hasOwnProperty(c)){if("number"==typeof c)t='"'+c+'"';else if("string"==typeof c)t=k(c);else continue;f=p(b[c],g,c);"string"==typeof f&&m.push(r+g+t+":"+n+f)}}return"{"+m.join(",")+r+a+"}"}var d;"string"==typeof e&&(h=e,e=null);return p(f,
"","")}}})},"dojo/touch":function(){define("./_base/kernel ./aspect ./dom ./dom-class ./_base/lang ./on ./has ./mouse ./domReady ./_base/window".split(" "),function(f,p,k,n,e,h,q,d,b,a){function c(a,b,c){return r&&c?function(a,b){return h(a,c,b)}:t?function(c,d){var e=h(c,b,function(a){d.call(this,a);H=(new Date).getTime()}),f=h(c,a,function(a){(!H||(new Date).getTime()>H+1E3)&&d.call(this,a)});return{remove:function(){e.remove();f.remove()}}}:function(b,c){return h(b,a,c)}}function l(a){do if(void 0!==
a.dojoClick)return a;while(a=a.parentNode)}function g(b,c,e){if(!d.isRight(b)){var f=l(b.target);if(u=!b.target.disabled&&f&&f.dojoClick)if(x=(v="useTarget"==u)?f:b.target,v&&b.preventDefault(),z=b.changedTouches?b.changedTouches[0].pageX-a.global.pageXOffset:b.clientX,y=b.changedTouches?b.changedTouches[0].pageY-a.global.pageYOffset:b.clientY,A=("object"==typeof u?u.x:"number"==typeof u?u:0)||4,B=("object"==typeof u?u.y:"number"==typeof u?u:0)||4,!w){w=!0;var g=function(b){u=v?k.isDescendant(a.doc.elementFromPoint(b.changedTouches?
b.changedTouches[0].pageX-a.global.pageXOffset:b.clientX,b.changedTouches?b.changedTouches[0].pageY-a.global.pageYOffset:b.clientY),x):u&&(b.changedTouches?b.changedTouches[0].target:b.target)==x&&Math.abs((b.changedTouches?b.changedTouches[0].pageX-a.global.pageXOffset:b.clientX)-z)<=A&&Math.abs((b.changedTouches?b.changedTouches[0].pageY-a.global.pageYOffset:b.clientY)-y)<=B};a.doc.addEventListener(c,function(a){d.isRight(a)||(g(a),v&&a.preventDefault())},!0);a.doc.addEventListener(e,function(a){if(!d.isRight(a)&&
(g(a),u)){E=(new Date).getTime();var b=v?x:a.target;"LABEL"===b.tagName&&(b=k.byId(b.getAttribute("for"))||b);var c=a.changedTouches?a.changedTouches[0]:a,e=function(b){var d=document.createEvent("MouseEvents");d._dojo_click=!0;d.initMouseEvent(b,!0,!0,a.view,a.detail,c.screenX,c.screenY,c.clientX,c.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,null);return d},f=e("mousedown"),l=e("mouseup"),m=e("click");setTimeout(function(){h.emit(b,"mousedown",f);h.emit(b,"mouseup",l);h.emit(b,"click",m);E=
(new Date).getTime()},0)}},!0);b=function(b){a.doc.addEventListener(b,function(a){var c=a.target;u&&(!a._dojo_click&&(new Date).getTime()<=E+1E3&&!("INPUT"==c.tagName&&n.contains(c,"dijitOffScreen")))&&(a.stopPropagation(),a.stopImmediatePropagation&&a.stopImmediatePropagation(),"click"==b&&(("INPUT"!=c.tagName||"radio"==c.type&&(n.contains(c,"dijitCheckBoxInput")||n.contains(c,"mblRadioButton"))||"checkbox"==c.type&&(n.contains(c,"dijitCheckBoxInput")||n.contains(c,"mblCheckBox")))&&"TEXTAREA"!=
c.tagName&&"AUDIO"!=c.tagName&&"VIDEO"!=c.tagName)&&a.preventDefault())},!0)};b("click");b("mousedown");b("mouseup")}}}var s=5>q("ios"),r=q("pointer-events")||q("MSPointer"),m=function(){var a={},b;for(b in{down:1,move:1,up:1,cancel:1,over:1,out:1})a[b]=q("MSPointer")?"MSPointer"+b.charAt(0).toUpperCase()+b.slice(1):"pointer"+b;return a}(),t=q("touch-events"),w,u,v=!1,x,z,y,A,B,E,H,L;q("touch")&&(r?b(function(){a.doc.addEventListener(m.down,function(a){g(a,m.move,m.up)},!0)}):b(function(){function b(a){var c=
e.delegate(a,{bubbles:!0});6<=q("ios")&&(c.touches=a.touches,c.altKey=a.altKey,c.changedTouches=a.changedTouches,c.ctrlKey=a.ctrlKey,c.metaKey=a.metaKey,c.shiftKey=a.shiftKey,c.targetTouches=a.targetTouches);return c}L=a.body();a.doc.addEventListener("touchstart",function(a){H=(new Date).getTime();var b=L;L=a.target;h.emit(b,"dojotouchout",{relatedTarget:L,bubbles:!0});h.emit(L,"dojotouchover",{relatedTarget:b,bubbles:!0});g(a,"touchmove","touchend")},!0);h(a.doc,"touchmove",function(c){H=(new Date).getTime();
var d=a.doc.elementFromPoint(c.pageX-(s?0:a.global.pageXOffset),c.pageY-(s?0:a.global.pageYOffset));d&&(L!==d&&(h.emit(L,"dojotouchout",{relatedTarget:d,bubbles:!0}),h.emit(d,"dojotouchover",{relatedTarget:L,bubbles:!0}),L=d),h.emit(d,"dojotouchmove",b(c))||c.preventDefault())});h(a.doc,"touchend",function(c){H=(new Date).getTime();var d=a.doc.elementFromPoint(c.pageX-(s?0:a.global.pageXOffset),c.pageY-(s?0:a.global.pageYOffset))||a.body();h.emit(d,"dojotouchend",b(c))})}));p={press:c("mousedown",
"touchstart",m.down),move:c("mousemove","dojotouchmove",m.move),release:c("mouseup","dojotouchend",m.up),cancel:c(d.leave,"touchcancel",r?m.cancel:null),over:c("mouseover","dojotouchover",m.over),out:c("mouseout","dojotouchout",m.out),enter:d._eventHandler(c("mouseover","dojotouchover",m.over)),leave:d._eventHandler(c("mouseout","dojotouchout",m.out))};return f.touch=p})},"dojo/fx":function(){define("./_base/lang ./Evented ./_base/kernel ./_base/array ./aspect ./_base/fx ./dom ./dom-style ./dom-geometry ./ready require".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c){k.isAsync||a(0,function(){c(["./fx/Toggler"])});k=k.fx={};a={_fire:function(a,b){this[a]&&this[a].apply(this,b||[]);return this}};var l=function(a){this._index=-1;this._animations=a||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;n.forEach(this._animations,function(a){a&&("undefined"!=typeof a.duration&&(this.duration+=a.duration),a.delay&&(this.duration+=a.delay))},this)};l.prototype=new p;f.extend(l,{_onAnimate:function(){this._fire("onAnimate",
arguments)},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=e.after(this._current,"onAnimate",f.hitch(this,"_onAnimate"),!0),this._onEndCtx=e.after(this._current,"onEnd",f.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(a,b){this._current||(this._current=this._animations[this._index=0]);if(!b&&"playing"==
this._current.status())return this;var c=e.after(this._current,"beforeBegin",f.hitch(this,function(){this._fire("beforeBegin")}),!0),d=e.after(this._current,"onBegin",f.hitch(this,function(a){this._fire("onBegin",arguments)}),!0),g=e.after(this._current,"onPlay",f.hitch(this,function(a){this._fire("onPlay",arguments);c.remove();d.remove();g.remove()}));this._onAnimateCtx&&this._onAnimateCtx.remove();this._onAnimateCtx=e.after(this._current,"onAnimate",f.hitch(this,"_onAnimate"),!0);this._onEndCtx&&
this._onEndCtx.remove();this._onEndCtx=e.after(this._current,"onEnd",f.hitch(this,"_onEnd"),!0);this._current.play.apply(this._current,arguments);return this},pause:function(){if(this._current){var a=e.after(this._current,"onPause",f.hitch(this,function(b){this._fire("onPause",arguments);a.remove()}),!0);this._current.pause()}return this},gotoPercent:function(a,b){this.pause();var c=this.duration*a;this._current=null;n.some(this._animations,function(a,b){if(c<=a.duration)return this._current=a,this._index=
b,!0;c-=a.duration;return!1},this);this._current&&this._current.gotoPercent(c/this._current.duration);b&&this.play();return this},stop:function(a){if(this._current){if(a){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var b=e.after(this._current,"onStop",f.hitch(this,function(a){this._fire("onStop",arguments);b.remove()}),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():
"stopped"},destroy:function(){this.stop();this._onAnimateCtx&&this._onAnimateCtx.remove();this._onEndCtx&&this._onEndCtx.remove()}});f.extend(l,a);k.chain=function(a){return new l(f.isArray(a)?a:Array.prototype.slice.call(a,0))};var g=function(a){this._animations=a||[];this._connects=[];this.duration=this._finished=0;n.forEach(a,function(a){var b=a.duration;a.delay&&(b+=a.delay);this.duration<b&&(this.duration=b);this._connects.push(e.after(a,"onEnd",f.hitch(this,"_onEnd"),!0))},this);this._pseudoAnimation=
new h.Animation({curve:[0,1],duration:this.duration});var b=this;n.forEach("beforeBegin onBegin onPlay onAnimate onPause onStop onEnd".split(" "),function(a){b._connects.push(e.after(b._pseudoAnimation,a,function(){b._fire(a,arguments)},!0))})};f.extend(g,{_doAction:function(a,b){n.forEach(this._animations,function(c){c[a].apply(c,b)});return this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(a,b){var c=this._pseudoAnimation;c[a].apply(c,b)},play:function(a,
b){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this},gotoPercent:function(a,b){var c=this.duration*a;n.forEach(this._animations,function(a){a.gotoPercent(a.duration<c?1:c/a.duration,b)});this._call("gotoPercent",arguments);return this},stop:function(a){this._doAction("stop",arguments);this._call("stop",arguments);return this},status:function(){return this._pseudoAnimation.status()},
destroy:function(){this.stop();n.forEach(this._connects,function(a){a.remove()})}});f.extend(g,a);k.combine=function(a){return new g(f.isArray(a)?a:Array.prototype.slice.call(a,0))};k.wipeIn=function(a){var b=a.node=q.byId(a.node),c=b.style,g;a=h.animateProperty(f.mixin({properties:{height:{start:function(){g=c.overflow;c.overflow="hidden";if("hidden"==c.visibility||"none"==c.display)return c.height="1px",c.display="",c.visibility="",1;var a=d.get(b,"height");return Math.max(a,1)},end:function(){return b.scrollHeight}}}},
a));var k=function(){c.height="auto";c.overflow=g};e.after(a,"onStop",k,!0);e.after(a,"onEnd",k,!0);return a};k.wipeOut=function(a){var b=(a.node=q.byId(a.node)).style,c;a=h.animateProperty(f.mixin({properties:{height:{end:1}}},a));e.after(a,"beforeBegin",function(){c=b.overflow;b.overflow="hidden";b.display=""},!0);var d=function(){b.overflow=c;b.height="auto";b.display="none"};e.after(a,"onStop",d,!0);e.after(a,"onEnd",d,!0);return a};k.slideTo=function(a){var c=null,g=null,k=function(a){return function(){var e=
d.getComputedStyle(a),f=e.position;c="absolute"==f?a.offsetTop:parseInt(e.top)||0;g="absolute"==f?a.offsetLeft:parseInt(e.left)||0;"absolute"!=f&&"relative"!=f&&(e=b.position(a,!0),c=e.y,g=e.x,a.style.position="absolute",a.style.top=c+"px",a.style.left=g+"px")}}(a.node=q.byId(a.node));k();a=h.animateProperty(f.mixin({properties:{top:a.top||0,left:a.left||0}},a));e.after(a,"beforeBegin",k,!0);return a};return k})},"cbtree/errors/createError":function(){define(["dojo/_base/lang","dojo/request","../util/shim/Array"],
function(f,p){function k(b){switch(Object.prototype.toString.call(b)){case "[object Array]":b.forEach(k);break;case "[object Object]":var a;a:{var c;for(a in b)if(/\W/.test(a)||!(c=b[a])||!c.text){a=!1;break a}a=!0}a&&(d=f.mixin(d,b))}}function n(b,a){var c=(b||"").replace(/Error$/,""),e=c+"Error",g={type:e,text:"",code:0};c&&(g=f.mixin(g,d[e]||d[c]||h));g.text=a||g.text;return g}function e(b,a){function c(a,c,e){var f=b+(c?d+c+"()":""),h;if(a instanceof Error){for(h in a)a.hasOwnProperty(h)&&(this[h]=
a[h]);h={type:a.name,code:a.code||0,text:e||a.message}}else h=n(a,e);if(2<arguments.length){var k=Array.prototype.slice.call(arguments,3);h.text=h.text.replace(/\%\{(\d+)\}/g,function(a,b){return void 0!=k[b]?k[b]:a})}this.message=(f.length?f+": ":"")+h.text;this.code=h.code;this.name=h.type}var d=b?"::":"";b=b||"";k(a||{});c.prototype=Error();return c.prototype.constructor=c}var h={text:"Undefined error",code:0},q={},d={};e.normalize=function(b,a){var c=b.split("!"),c=c.map(function(b){return/^\./.test(b)?
a(b):b});return c.join("!")};e.load=function(b,a,c){function d(){0==--f&&c(e)}b=b.split("!");var f=b.length;b.forEach(function(b){b=a.toUrl(b);b in q?d():(p(b,{handleAs:"json"}).then(function(a){k(a);d()},function(a){d()}),q[b]=!0)})};return e})},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(f,p,k,n){var e={fieldToObject:function(e){var f=null;if(e=p.byId(e)){var d=e.name,b=(e.type||"").toLowerCase();if(d&&b&&!e.disabled)if("radio"==b||"checkbox"==b)e.checked&&
(f=e.value);else if(e.multiple){f=[];for(e=[e.firstChild];e.length;)for(d=e.pop();d;d=d.nextSibling)if(1==d.nodeType&&"option"==d.tagName.toLowerCase())d.selected&&f.push(d.value);else{d.nextSibling&&e.push(d.nextSibling);d.firstChild&&e.push(d.firstChild);break}}else f=e.value}return f},toObject:function(h){var k={};h=p.byId(h).elements;for(var d=0,b=h.length;d<b;++d){var a=h[d],c=a.name,l=(a.type||"").toLowerCase();if(c&&l&&0>"file|submit|image|reset|button".indexOf(l)&&!a.disabled){var g=k,n=c,
a=e.fieldToObject(a);if(null!==a){var r=g[n];"string"==typeof r?g[n]=[r,a]:f.isArray(r)?r.push(a):g[n]=a}"image"==l&&(k[c+".x"]=k[c+".y"]=k[c].x=k[c].y=0)}}return k},toQuery:function(f){return k.objectToQuery(e.toObject(f))},toJson:function(f,k){return n.stringify(e.toObject(f),null,k?4:0)}};return e})},"dojo/request":function(){define(["./request/default!"],function(f){return f})},"dijit/form/HorizontalSlider":function(){define("dojo/_base/array dojo/_base/declare dojo/dnd/move dojo/_base/fx dojo/dom-geometry dojo/dom-style dojo/keys dojo/_base/lang dojo/sniff dojo/dnd/Moveable dojo/dnd/Mover dojo/query dojo/mouse dojo/on ../_base/manager ../focus ../typematic ./Button ./_FormValueWidget ../_Container dojo/text!./templates/HorizontalSlider.html".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m,t,w,u,v,x){var z=p("dijit.form._SliderMover",c,{onMouseMove:function(a){var b=this.widget,c=b._abspos;c||(c=b._abspos=e.position(b.sliderBarContainer,!0),b._setPixelValue_=d.hitch(b,"_setPixelValue"),b._isReversed_=b._isReversed());a=a[b._mousePixelCoord]-c[b._startingPixelCoord];b._setPixelValue_(b._isReversed_?c[b._pixelCount]-a:a,c[b._pixelCount],!1)},destroy:function(a){c.prototype.destroy.apply(this,arguments);var b=this.widget;b._abspos=null;b._setValueAttr(b.value,
!0)}});k=p("dijit.form.HorizontalSlider",[u,v],{templateString:x,value:0,showButtons:!0,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:!0,slideDuration:r.defaultDuration,_setIdAttr:"",_setNameAttr:"valueNode",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",
_onKeyUp:function(a){!this.disabled&&(!this.readOnly&&!a.altKey&&!a.ctrlKey&&!a.metaKey)&&this._setValueAttr(this.value,!0)},_onKeyDown:function(a){if(!this.disabled&&!this.readOnly&&!a.altKey&&!a.ctrlKey&&!a.metaKey){switch(a.keyCode){case q.HOME:this._setValueAttr(this.minimum,!1);break;case q.END:this._setValueAttr(this.maximum,!1);break;case this._descending||this.isLeftToRight()?q.RIGHT_ARROW:q.LEFT_ARROW:case !1===this._descending?q.DOWN_ARROW:q.UP_ARROW:case !1===this._descending?q.PAGE_DOWN:
q.PAGE_UP:this.increment(a);break;case this._descending||this.isLeftToRight()?q.LEFT_ARROW:q.RIGHT_ARROW:case !1===this._descending?q.UP_ARROW:q.DOWN_ARROW:case !1===this._descending?q.PAGE_UP:q.PAGE_DOWN:this.decrement(a);break;default:return}a.stopPropagation();a.preventDefault()}},_onHandleClick:function(a){!this.disabled&&!this.readOnly&&(b("ie")||m.focus(this.sliderHandle),a.stopPropagation(),a.preventDefault())},_isReversed:function(){return!this.isLeftToRight()},_onBarClick:function(a){if(!this.disabled&&
!this.readOnly&&this.clickSelect){m.focus(this.sliderHandle);a.stopPropagation();a.preventDefault();var b=e.position(this.sliderBarContainer,!0),c=a[this._mousePixelCoord]-b[this._startingPixelCoord];this._setPixelValue(this._isReversed()?b[this._pixelCount]-c:c,b[this._pixelCount],!0);this._movable.onMouseDown(a)}},_setPixelValue:function(a,b,c){if(!this.disabled&&!this.readOnly){var d=this.discreteValues;if(1>=d||Infinity==d)d=b;d--;a=Math.round(a/(b/d));this._setValueAttr(Math.max(Math.min((this.maximum-
this.minimum)*a/d+this.minimum,this.maximum),this.minimum),c)}},_setValueAttr:function(a,b){this._set("value",a);this.valueNode.value=a;this.focusNode.setAttribute("aria-valuenow",a);this.inherited(arguments);var c=this.maximum>this.minimum?(a-this.minimum)/(this.maximum-this.minimum):0,d=!1===this._descending?this.remainingBar:this.progressBar,e=!1===this._descending?this.progressBar:this.remainingBar;this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);if(b&&
0<this.slideDuration&&d.style[this._progressPixelSize]){var f=this,g={},h=parseFloat(d.style[this._progressPixelSize]),k=this.slideDuration*(c-h/100);0!=k&&(0>k&&(k=0-k),g[this._progressPixelSize]={start:h,end:100*c,units:"%"},this._inProgressAnim=n.animateProperty({node:d,duration:k,onAnimate:function(a){e.style[f._progressPixelSize]=100-parseFloat(a[f._progressPixelSize])+"%"},onEnd:function(){delete f._inProgressAnim},properties:g}),this._inProgressAnim.play())}else d.style[this._progressPixelSize]=
100*c+"%",e.style[this._progressPixelSize]=100*(1-c)+"%"},_bumpValue:function(a,b){if(!this.disabled&&!(this.readOnly||this.maximum<=this.minimum)){var c=h.getComputedStyle(this.sliderBarContainer),d=e.getContentBox(this.sliderBarContainer,c),c=this.discreteValues;if(1>=c||Infinity==c)c=d[this._pixelCount];c--;d=Math.round((this.value-this.minimum)*c/(this.maximum-this.minimum))+a;0>d&&(d=0);d>c&&(d=c);d=d*(this.maximum-this.minimum)/c+this.minimum;this._setValueAttr(d,b)}},_onClkBumper:function(a){!this.disabled&&
(!this.readOnly&&this.clickSelect)&&this._setValueAttr(a,!0)},_onClkIncBumper:function(){this._onClkBumper(!1===this._descending?this.minimum:this.maximum)},_onClkDecBumper:function(){this._onClkBumper(!1===this._descending?this.maximum:this.minimum)},decrement:function(a){this._bumpValue(a.keyCode==q.PAGE_DOWN?-this.pageIncrement:-1)},increment:function(a){this._bumpValue(a.keyCode==q.PAGE_UP?this.pageIncrement:1)},_mouseWheeled:function(a){this.focused&&(a.stopPropagation(),a.preventDefault(),this._bumpValue(0>
a.wheelDelta?-1:1,!0))},startup:function(){this._started||(f.forEach(this.getChildren(),function(a){this[a.container]!=this.containerNode&&this[a.container].appendChild(a.domNode)},this),this.inherited(arguments))},_typematicCallback:function(a,b,c){if(-1==a)this._setValueAttr(this.value,!0);else this[b==(this._descending?this.incrementButton:this.decrementButton)?"decrement":"increment"](c)},buildRendering:function(){this.inherited(arguments);this.showButtons&&(this.incrementButton.style.display=
"",this.decrementButton.style.display="");var a=l('label[for\x3d"'+this.id+'"]');a.length&&(a[0].id||(a[0].id=this.id+"_label"),this.focusNode.setAttribute("aria-labelledby",a[0].id));this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum)},postCreate:function(){this.inherited(arguments);this.showButtons&&this.own(t.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),t.addMouseListener(this.incrementButton,this,"_typematicCallback",
25,500));this.own(s(this.domNode,g.wheel,d.hitch(this,"_mouseWheeled")));var b=p(z,{widget:this});this._movable=new a(this.sliderHandle,{mover:b});this._layoutHackIE7()},destroy:function(){this._movable.destroy();this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);this.inherited(arguments)}});k._Mover=z;return k})},"dijit/Tree":function(){define("dojo/_base/array dojo/aspect dojo/cookie dojo/_base/declare dojo/Deferred dojo/promise/all dojo/dom dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/errors/create dojo/fx dojo/has dojo/_base/kernel dojo/keys dojo/_base/lang dojo/on dojo/topic dojo/touch dojo/when ./a11yclick ./focus ./registry ./_base/manager ./_Widget ./_TemplatedMixin ./_Container ./_Contained ./_CssStateMixin ./_KeyNavMixin dojo/text!./templates/TreeNode.html dojo/text!./templates/Tree.html ./tree/TreeStoreModel ./tree/ForestStoreModel ./tree/_dndSelector dojo/query!css2".split(" "),
function(f,p,k,n,e,h,q,d,b,a,c,l,g,s,r,m,t,w,u,v,x,z,y,A,B,E,H,L,M,Q,G,J,F,D,C){function P(a){return m.delegate(a.promise||a,{addCallback:function(a){this.then(a)},addErrback:function(a){this.otherwise(a)}})}var N=n("dijit._TreeNode",[B,E,H,L,M],{item:null,isTreeNode:!0,label:"",_setLabelAttr:function(a){this.labelNode["html"==this.labelType?"innerHTML":"innerText"in this.labelNode?"innerText":"textContent"]=a;this._set("label",a);g("dojo-bidi")&&this.applyTextDir(this.labelNode)},labelType:"text",
isExpandable:null,isExpanded:!1,state:"NotLoaded",templateString:G,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);this.isExpandable&&this.labelNode.setAttribute("aria-expanded",this.isExpanded);this.setSelected(!1)},_setIndentAttr:function(b){var c=Math.max(b,0)*this.tree._nodePixelIndent+"px";a.set(this.domNode,
"backgroundPosition",c+" 0px");a.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",c);f.forEach(this.getChildren(),function(a){a.set("indent",b+1)});this._set("indent",b)},markProcessing:function(){this.state="Loading";this._setExpando(!0)},unmarkProcessing:function(){this._setExpando(!1)},_updateItemClasses:function(a){var b=this.tree,c=b.model;b._v10Compat&&a===c.root&&(a=null);this._applyClassAndStyle(a,"icon","Icon");this._applyClassAndStyle(a,"label","Label");this._applyClassAndStyle(a,
"row","Row");this.tree._startPaint(!0)},_applyClassAndStyle:function(b,c,e){var f="_"+c+"Class";c+="Node";var g=this[f];this[f]=this.tree["get"+e+"Class"](b,this.isExpanded);d.replace(this[c],this[f]||"",g||"");a.set(this[c],this.tree["get"+e+"Style"](b,this.isExpanded)||{})},_updateLayout:function(){var a=this.getParent(),a=!a||!a.rowNode||"none"==a.rowNode.style.display;d.toggle(this.domNode,"dijitTreeIsRoot",a);d.toggle(this.domNode,"dijitTreeIsLast",!a&&!this.getNextSibling())},_setExpando:function(a){var b=
["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"];a=a?0:this.isExpandable?this.isExpanded?1:2:3;d.replace(this.expandoNode,b[a],b);this.expandoNodeText.innerHTML=["*","-","+","*"][a]},expand:function(){if(this._expandDeferred)return P(this._expandDeferred);this._collapseDeferred&&(this._collapseDeferred.cancel(),delete this._collapseDeferred);this.isExpanded=!0;this.labelNode.setAttribute("aria-expanded","true");(this.tree.showRoot||this!==this.tree.rootNode)&&
this.containerNode.setAttribute("role","group");d.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","true");var a=l.wipeIn({node:this.containerNode,duration:A.defaultDuration}),b=this._expandDeferred=new e(function(){a.stop()});p.after(a,"onEnd",function(){b.resolve(!0)},!0);a.play();return P(b)},collapse:function(){if(this._collapseDeferred)return P(this._collapseDeferred);
this._expandDeferred&&(this._expandDeferred.cancel(),delete this._expandDeferred);this.isExpanded=!1;this.labelNode.setAttribute("aria-expanded","false");this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","false");d.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var a=l.wipeOut({node:this.containerNode,duration:A.defaultDuration}),b=this._collapseDeferred=new e(function(){a.stop()});p.after(a,"onEnd",
function(){b.resolve(!0)},!0);a.play();return P(b)},indent:0,setChildItems:function(a){var b=this.tree,c=b.model,d=[],e=b.focusedChild,g=this.getChildren();f.forEach(g,function(a){H.prototype.removeChild.call(this,a)},this);this.defer(function(){f.forEach(g,function(a){if(!a._destroyed&&!a.getParent()){b.dndController.removeTreeNode(a);var d=function(a){var e=c.getIdentity(a.item),g=b._itemNodesMap[e];1==g.length?delete b._itemNodesMap[e]:(e=f.indexOf(g,a),-1!=e&&g.splice(e,1));f.forEach(a.getChildren(),
d)};d(a);if(b.persist){var g=f.map(a.getTreePath(),function(a){return b.model.getIdentity(a)}).join("/"),h;for(h in b._openedNodes)h.substr(0,g.length)==g&&delete b._openedNodes[h];b._saveExpandedNodes()}b.lastFocusedChild&&!q.isDescendant(b.lastFocusedChild,b.domNode)&&delete b.lastFocusedChild;e&&!q.isDescendant(e,b.domNode)&&b.focus();a.destroyRecursive()}})});this.state="Loaded";a&&0<a.length?(this.isExpandable=!0,f.forEach(a,function(a){var e=c.getIdentity(a),f=b._itemNodesMap[e],g;if(f)for(var h=
0;h<f.length;h++)if(f[h]&&!f[h].getParent()){g=f[h];g.set("indent",this.indent+1);break}g||(g=this.tree._createTreeNode({item:a,tree:b,isExpandable:c.mayHaveChildren(a),label:b.getLabel(a),labelType:b.model&&b.model.labelType||"text",tooltip:b.getTooltip(a),ownerDocument:b.ownerDocument,dir:b.dir,lang:b.lang,textDir:b.textDir,indent:this.indent+1}),f?f.push(g):b._itemNodesMap[e]=[g]);this.addChild(g);(this.tree.autoExpand||this.tree._state(g))&&d.push(b._expandNode(g))},this),f.forEach(this.getChildren(),
function(a){a._updateLayout()})):this.isExpandable=!1;this._setExpando&&this._setExpando(!1);this._updateItemClasses(this.item);a=h(d);this.tree._startPaint(a);return P(a)},getTreePath:function(){for(var a=this,b=[];a&&a!==this.tree.rootNode;)b.unshift(a.item),a=a.getParent();b.unshift(this.tree.rootNode.item);return b},getIdentity:function(){return this.tree.model.getIdentity(this.item)},removeChild:function(a){this.inherited(arguments);var b=this.getChildren();0==b.length&&(this.isExpandable=!1,
this.collapse());f.forEach(b,function(a){a._updateLayout()})},makeExpandable:function(){this.isExpandable=!0;this._setExpando(!1)},setSelected:function(a){this.labelNode.setAttribute("aria-selected",a?"true":"false");d.toggle(this.rowNode,"dijitTreeRowSelected",a)},focus:function(){z.focus(this.focusNode)}});g("dojo-bidi")&&N.extend({_setTextDirAttr:function(a){if(a&&(this.textDir!=a||!this._created))this._set("textDir",a),this.applyTextDir(this.labelNode),f.forEach(this.getChildren(),function(b){b.set("textDir",
a)},this)}});var K=n("dijit.Tree",[B,Q,E,M],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:!0,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:!1,openOnDblClick:!1,templateString:J,persist:!1,autoExpand:!1,dndController:C,dndParams:"onDndDrop itemCreator onDndCancel checkAcceptance checkItemAcceptance dragThreshold betweenThreshold".split(" "),onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,
dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(a,b){w.publish(this.id,m.mixin({tree:this,event:a},b||{}))},postMixInProperties:function(){this.tree=this;this.autoExpand&&(this.persist=!1);this._itemNodesMap={};!this.cookieName&&this.id&&(this.cookieName=this.id+"SaveStateCookie");this.expandChildrenDeferred=new e;this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments)},postCreate:function(){this._initState();var a=this;this.own(t(this.containerNode,
t.selector(".dijitTreeNode",u.enter),function(b){a._onNodeMouseEnter(y.byNode(this),b)}),t(this.containerNode,t.selector(".dijitTreeNode",u.leave),function(b){a._onNodeMouseLeave(y.byNode(this),b)}),t(this.containerNode,t.selector(".dijitTreeRow",x.press),function(b){a._onNodePress(y.getEnclosingWidget(this),b)}),t(this.containerNode,t.selector(".dijitTreeRow",x),function(b){a._onClick(y.getEnclosingWidget(this),b)}),t(this.containerNode,t.selector(".dijitTreeRow","dblclick"),function(b){a._onDblClick(y.getEnclosingWidget(this),
b)}));this.model||this._store2model();this.own(p.after(this.model,"onChange",m.hitch(this,"_onItemChange"),!0),p.after(this.model,"onChildrenChange",m.hitch(this,"_onItemChildrenChange"),!0),p.after(this.model,"onDelete",m.hitch(this,"_onItemDelete"),!0));this.inherited(arguments);if(this.dndController){m.isString(this.dndController)&&(this.dndController=m.getObject(this.dndController));for(var b={},c=0;c<this.dndParams.length;c++)this[this.dndParams[c]]&&(b[this.dndParams[c]]=this[this.dndParams[c]]);
this.dndController=new this.dndController(this,b)}this._load();this.onLoadDeferred=P(this.pendingCommandsPromise);this.onLoadDeferred.then(m.hitch(this,"onLoad"))},_store2model:function(){this._v10Compat=!0;s.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var a={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};this.params.mayHaveChildren&&(a.mayHaveChildren=m.hitch(this,"mayHaveChildren"));this.params.getItemChildren&&
(a.getChildren=m.hitch(this,function(a,b,c){this.getItemChildren(this._v10Compat&&a===this.model.root?null:a,b,c)}));this.model=new D(a);this.showRoot=Boolean(this.label)},onLoad:function(){},_load:function(){this.model.getRoot(m.hitch(this,function(a){var b=this.rootNode=this.tree._createTreeNode({item:a,tree:this,isExpandable:!0,label:this.label||this.getLabel(a),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?0:-1});this.showRoot?(this.domNode.setAttribute("aria-multiselectable",
!this.dndController.singular),this.rootLoadingIndicator.style.display="none"):(b.rowNode.style.display="none",this.domNode.setAttribute("role","presentation"),this.domNode.removeAttribute("aria-expanded"),this.domNode.removeAttribute("aria-multiselectable"),this["aria-label"]?(b.containerNode.setAttribute("aria-label",this["aria-label"]),this.domNode.removeAttribute("aria-label")):this["aria-labelledby"]&&(b.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]),this.domNode.removeAttribute("aria-labelledby")),
b.labelNode.setAttribute("role","presentation"),b.labelNode.removeAttribute("aria-selected"),b.containerNode.setAttribute("role","tree"),b.containerNode.setAttribute("aria-expanded","true"),b.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular));this.containerNode.appendChild(b.domNode);a=this.model.getIdentity(a);this._itemNodesMap[a]?this._itemNodesMap[a].push(b):this._itemNodesMap[a]=[b];b._updateLayout();this._expandNode(b).then(m.hitch(this,function(){this._destroyed||
(this.rootLoadingIndicator.style.display="none",this.expandChildrenDeferred.resolve(!0))}))}),m.hitch(this,function(a){console.error(this,": error loading root: ",a)}))},getNodesByItem:function(a){if(!a)return[];a=m.isString(a)?a:this.model.getIdentity(a);return[].concat(this._itemNodesMap[a])},_setSelectedItemAttr:function(a){this.set("selectedItems",[a])},_setSelectedItemsAttr:function(a){var b=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(m.hitch(this,function(){var c=
f.map(a,function(a){return!a||m.isString(a)?a:b.model.getIdentity(a)}),d=[];f.forEach(c,function(a){d=d.concat(b._itemNodesMap[a]||[])});this.set("selectedNodes",d)}))},_setPathAttr:function(a){return a.length?P(this.set("paths",[a]).then(function(a){return a[0]})):P(this.set("paths",[]).then(function(a){return a[0]}))},_setPathsAttr:function(a){function b(a,d){var e=a.shift(),g=f.filter(d,function(a){return a.getIdentity()==e})[0];if(g)return a.length?c._expandNode(g).then(function(){return b(a,
g.getChildren())}):g;throw new K.PathError("Could not expand path at "+e);}var c=this;return P(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return h(f.map(a,function(a){a=f.map(a,function(a){return a&&m.isObject(a)?c.model.getIdentity(a):a});if(a.length)return b(a,[c.rootNode]);throw new K.PathError("Empty path");}))}).then(function(a){c.set("selectedNodes",a);return c.paths}))},_setSelectedNodeAttr:function(a){this.set("selectedNodes",[a])},_setSelectedNodesAttr:function(a){this.dndController.setSelection(a)},
expandAll:function(){function a(c){return b._expandNode(c).then(function(){var b=f.filter(c.getChildren()||[],function(a){return a.isExpandable});return h(f.map(b,a))})}var b=this;return P(a(this.rootNode))},collapseAll:function(){function a(c){var d=f.filter(c.getChildren()||[],function(a){return a.isExpandable}),d=h(f.map(d,a));return!c.isExpanded||c==b.rootNode&&!b.showRoot?d:d.then(function(){return b._collapseNode(c)})}var b=this;return P(a(this.rootNode))},mayHaveChildren:function(){},getItemChildren:function(){},
getLabel:function(a){return this.model.getLabel(a)},getIconClass:function(a,b){return!a||this.model.mayHaveChildren(a)?b?"dijitFolderOpened":"dijitFolderClosed":"dijitLeaf"},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return""},_onDownArrow:function(a,b){var c=this._getNext(b);c&&c.isTreeNode&&this.focusNode(c)},_onUpArrow:function(a,b){var c=b.getPreviousSibling();if(c)for(b=c;b.isExpandable&&
b.isExpanded&&b.hasChildren();)c=b.getChildren(),b=c[c.length-1];else if(c=b.getParent(),this.showRoot||c!==this.rootNode)b=c;b&&b.isTreeNode&&this.focusNode(b)},_onRightArrow:function(a,b){b.isExpandable&&!b.isExpanded?this._expandNode(b):b.hasChildren()&&(b=b.getChildren()[0])&&b.isTreeNode&&this.focusNode(b)},_onLeftArrow:function(a,b){if(b.isExpandable&&b.isExpanded)this._collapseNode(b);else{var c=b.getParent();c&&(c.isTreeNode&&(this.showRoot||c!==this.rootNode))&&this.focusNode(c)}},focusLastChild:function(){var a=
this._getLast();a&&a.isTreeNode&&this.focusNode(a)},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0]},_getLast:function(){for(var a=this.rootNode;a.isExpanded;){var b=a.getChildren();if(!b.length)break;a=b[b.length-1]}return a},_getNext:function(a){if(a.isExpandable&&a.isExpanded&&a.hasChildren())return a.getChildren()[0];for(;a&&a.isTreeNode;){var b=a.getNextSibling();if(b)return b;a=a.getParent()}return null},childSelector:".dijitTreeRow",isExpandoNode:function(a,
b){return q.isDescendant(a,b.expandoNode)||q.isDescendant(a,b.expandoNodeText)},_onNodePress:function(a,b){this.focusNode(a)},__click:function(a,b,c,d){var e=this.isExpandoNode(b.target,a);a.isExpandable&&(c||e)?this._onExpandoClick({node:a}):(this._publish("execute",{item:a.item,node:a,evt:b}),this[d](a.item,a,b),this.focusNode(a));b.stopPropagation();b.preventDefault()},_onClick:function(a,b){this.__click(a,b,this.openOnClick,"onClick")},_onDblClick:function(a,b){this.__click(a,b,this.openOnDblClick,
"onDblClick")},_onExpandoClick:function(a){a=a.node;this.focusNode(a);a.isExpanded?this._collapseNode(a):this._expandNode(a)},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(a){s.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(a)},_getRootOrFirstNode:function(){s.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","",
"2.0");return this._getFirst()},_collapseNode:function(a){a._expandNodeDeferred&&delete a._expandNodeDeferred;if("Loading"!=a.state&&a.isExpanded){var b=a.collapse();this.onClose(a.item,a);this._state(a,!1);this._startPaint(b);return b}},_expandNode:function(a){if(a._expandNodeDeferred)return a._expandNodeDeferred;var b=this.model,c=a.item,d=this;a._loadDeferred||(a.markProcessing(),a._loadDeferred=new e,b.getChildren(c,function(b){a.unmarkProcessing();a.setChildItems(b).then(function(){a._loadDeferred.resolve(b)})},
function(b){console.error(d,": error loading "+a.label+" children: ",b);a._loadDeferred.reject(b)}));b=a._loadDeferred.then(m.hitch(this,function(){var b=a.expand();this.onOpen(a.item,a);this._state(a,!0);return b}));this._startPaint(b);return b},focusNode:function(a){var b=this.domNode.scrollLeft;this.focusChild(a);this.domNode.scrollLeft=b},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(a){var b=this.model.getIdentity(a);if(b=this._itemNodesMap[b]){var c=this.getLabel(a),
d=this.getTooltip(a);f.forEach(b,function(b){b.set({item:a,label:c,tooltip:d});b._updateItemClasses(a)})}},_onItemChildrenChange:function(a,b){var c=this.model.getIdentity(a);(c=this._itemNodesMap[c])&&f.forEach(c,function(a){a.setChildItems(b)})},_onItemDelete:function(a){a=this.model.getIdentity(a);var b=this._itemNodesMap[a];b&&(f.forEach(b,function(a){this.dndController.removeTreeNode(a);var b=a.getParent();b&&b.removeChild(a);this.lastFocusedChild&&!q.isDescendant(this.lastFocusedChild,this.domNode)&&
delete this.lastFocusedChild;this.focusedChild&&!q.isDescendant(this.focusedChild,this.domNode)&&this.focus();a.destroyRecursive()},this),delete this._itemNodesMap[a])},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var a=k(this.cookieName);a&&f.forEach(a.split(","),function(a){this._openedNodes[a]=!0},this)}},_state:function(a,b){if(!this.persist)return!1;var c=f.map(a.getTreePath(),function(a){return this.model.getIdentity(a)},this).join("/");if(1===arguments.length)return this._openedNodes[c];
b?this._openedNodes[c]=!0:delete this._openedNodes[c];this._saveExpandedNodes()},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var a=[],b;for(b in this._openedNodes)a.push(b);k(this.cookieName,a.join(","),{expires:365})}},destroy:function(){this._curSearch&&(this._curSearch.timer.remove(),delete this._curSearch);this.rootNode&&this.rootNode.destroyRecursive();this.dndController&&!m.isString(this.dndController)&&this.dndController.destroy();this.rootNode=null;this.inherited(arguments)},
destroyRecursive:function(){this.destroy()},resize:function(a){a&&b.setMarginBox(this.domNode,a);this._nodePixelIndent=b.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(m.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths()}))},_outstandingPaintOperations:0,_startPaint:function(a){this._outstandingPaintOperations++;this._adjustWidthsTimer&&(this._adjustWidthsTimer.remove(),delete this._adjustWidthsTimer);var b=m.hitch(this,
function(){this._outstandingPaintOperations--;0>=this._outstandingPaintOperations&&(!this._adjustWidthsTimer&&this._started)&&(this._adjustWidthsTimer=this.defer("_adjustWidths"))});v(a,b,b)},_adjustWidths:function(){this._adjustWidthsTimer&&(this._adjustWidthsTimer.remove(),delete this._adjustWidthsTimer);this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>this.domNode.offsetWidth?"auto":"100%"},_createTreeNode:function(a){return new N(a)},focus:function(){this.lastFocusedChild?
this.focusNode(this.lastFocusedChild):this.focusFirstChild()}});g("dojo-bidi")&&K.extend({_setTextDirAttr:function(a){a&&this.textDir!=a&&(this._set("textDir",a),this.rootNode.set("textDir",a))}});K.PathError=c("TreePathError");K._TreeNode=N;return K})},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(f,p,k,n){return f("dijit.form._FormValueWidget",[k,n],{_layoutHackIE7:function(){if(7==p("ie"))for(var e=this.domNode,
f=e.parentNode,k=e.firstChild||e,d=k.style.filter,b=this;f&&0==f.clientHeight;)(function(){var a=b.connect(f,"onscroll",function(){b.disconnect(a);k.style.filter=(new Date).getMilliseconds();b.defer(function(){k.style.filter=d})})})(),f=f.parentNode}})})},"dgrid/Keyboard":function(){define("dojo/_base/declare dojo/aspect dojo/dom-class dojo/on dojo/_base/lang dojo/has ./util/misc dojo/_base/sniff".split(" "),function(f,p,k,n,e,h,q){function d(a){a.preventDefault()}var b={checkbox:1,radio:1,button:1},
a=/\bdgrid-cell\b/,c=/\bdgrid-row\b/,l=f(null,{pageSkip:10,tabIndex:0,keyMap:null,headerKeyMap:null,postMixInProperties:function(){this.inherited(arguments);this.keyMap||(this.keyMap=e.mixin({},l.defaultKeyMap));this.headerKeyMap||(this.headerKeyMap=e.mixin({},l.defaultHeaderKeyMap))},postCreate:function(){function d(a){var c=a.target;return c.type&&(!b[c.type]||32===a.keyCode)}function e(b){function g(){f._focusedHeaderNode&&(f._focusedHeaderNode.tabIndex=-1);if(f.showHeader){if(k)for(var a=f.headerNode.getElementsByTagName("th"),
b=0,c;c=a[b];++b){if(l.test(c.className)){f._focusedHeaderNode=q=c;break}}else f._focusedHeaderNode=q=f.headerNode;q&&(q.tabIndex=f.tabIndex)}}function h(){var a=f._focusedNode||q;if(!l.test(a.className)||!b.contains(a)){for(var c=b.getElementsByTagName("*"),d=0,e;e=c[d];++d)if(l.test(e.className)){a=f._focusedNode=e;break}q.tabIndex=-1;a.tabIndex=f.tabIndex}}var k=f.cellNavigation,l=k?a:c,m=b===f.headerNode,q=b;m?(g(),p.after(f,"renderHeader",g,!0)):(p.after(f,"renderArray",h,!0),p.after(f,"_onNotification",
function(a,c){0===c.totalLength?b.tabIndex=0:1===c.totalLength&&"add"===c.type&&h()},!0));f._listeners.push(n(b,"mousedown",function(a){d(a)||f._focusOnNode(a.target,m,a)}));f._listeners.push(n(b,"keydown",function(a){if(!a.metaKey&&!a.altKey){var b=f[m?"headerKeyMap":"keyMap"][a.keyCode];b&&!d(a)&&b.call(f,a)}}))}this.inherited(arguments);var f=this;this.tabableHeader&&(e(this.headerNode),n(this.headerNode,"dgrid-cellfocusin",function(){f.scrollTo({x:this.scrollLeft})}));e(this.contentNode);this._debouncedEnsureScroll=
q.debounce(this._ensureScroll,this)},removeRow:function(a){if(!this._focusedNode)return this.inherited(arguments);var b=this,c=document.activeElement===this._focusedNode,d=this[this.cellNavigation?"cell":"row"](this._focusedNode),e=d.row||d,f;a=a.element||a;if(a===e.element){f=this.down(e,!0);if(!f||f.element===a)f=this.up(e,!0);this._removedFocus={active:c,rowId:e.id,columnId:d.column&&d.column.id,siblingId:!f||f.element===a?void 0:f.id};setTimeout(function(){b._removedFocus&&b._restoreFocus(e.id)},
0);this._focusedNode=null}this.inherited(arguments)},insertRow:function(){var a=this.inherited(arguments);this._removedFocus&&!this._removedFocus.wait&&this._restoreFocus(a);return a},_restoreFocus:function(a){var b=this._removedFocus,c;if((a=(a=a&&this.row(a))&&a.element&&a.id===b.rowId?a:"undefined"!==typeof b.siblingId&&this.row(b.siblingId))&&a.element){if(!a.element.parentNode.parentNode){b.wait=!0;return}"undefined"!==typeof b.columnId&&(c=this.cell(a,b.columnId))&&c.element&&(a=c);b.active&&
0!==a.element.offsetHeight?this._focusOnNode(a,!1,null):(k.add(a.element,"dgrid-focus"),a.element.tabIndex=this.tabIndex,this._focusedNode=a.element)}delete this._removedFocus},addKeyHandler:function(a,b,c){return p.after(this[c?"headerKeyMap":"keyMap"],a,b,!0)},_ensureRowScroll:function(a){var b=this.getScrollPosition().y;b>a.offsetTop?this.scrollTo({y:a.offsetTop}):b+this.contentNode.offsetHeight<a.offsetTop+a.offsetHeight&&this.scrollTo({y:a.offsetTop-this.contentNode.offsetHeight+a.offsetHeight})},
_ensureColumnScroll:function(a){var b=this.getScrollPosition().x,c=a.offsetLeft;if(b>c)this.scrollTo({x:c});else{var d=this.bodyNode.clientWidth;a=a.offsetWidth;var e=c+a;b+d<e&&this.scrollTo({x:d>a?e-d:c})}},_ensureScroll:function(a,b){this.cellNavigation&&((this.columnSets||1<this.subRows.length)&&!b)&&this._ensureRowScroll(a.row.element);this.bodyNode.clientWidth<this.contentNode.offsetWidth&&this._ensureColumnScroll(a.element)},_focusOnNode:function(b,d,f){var g="_focused"+(d?"Header":"")+"Node",
h=this[g],l=this.cellNavigation?"cell":"row",m=this[l](b),p,q,r,s,t;if(b=m&&m.element){if(this.cellNavigation){p=b.getElementsByTagName("input");t=0;for(r=p.length;t<r;t++)if(q=p[t],(-1!==q.tabIndex||"_dgridLastValue"in q)&&!q.disabled){q.focus();s=!0;break}}null!==f&&(f=e.mixin({grid:this},f),f.type&&(f.parentType=f.type),f.bubbles||(f.bubbles=!0));h&&(k.remove(h,"dgrid-focus"),h.removeAttribute("tabindex"),f&&(f[l]=this[l](h),n.emit(h,"dgrid-cellfocusout",f)));h=this[g]=b;f&&(f[l]=m);g=this.cellNavigation?
a:c;!s&&g.test(b.className)&&(b.tabIndex=this.tabIndex,b.focus());k.add(b,"dgrid-focus");f&&n.emit(h,"dgrid-cellfocusin",f);this._debouncedEnsureScroll(m,d)}},focusHeader:function(a){this._focusOnNode(a||this._focusedHeaderNode,!0)},focus:function(a){(a=a||this._focusedNode)?this._focusOnNode(a,!1):(this._removedFocus&&(this._removedFocus.active=!0),this.contentNode.focus())}}),g=l.moveFocusVertical=function(a,b){var c=this.cellNavigation,d=this[c?"cell":"row"](a),d=c&&d.column.id,e=this.down(this._focusedNode,
b,!0);c&&(e=this.cell(e,d));this._focusOnNode(e,!1,a);a.preventDefault()};f=l.moveFocusUp=function(a){g.call(this,a,-1)};var s=l.moveFocusDown=function(a){g.call(this,a,1)},r=l.moveFocusPageUp=function(a){g.call(this,a,-this.pageSkip)},m=l.moveFocusPageDown=function(a){g.call(this,a,this.pageSkip)},t=l.moveFocusHorizontal=function(a,b){if(this.cellNavigation){var c=!this.row(a);this._focusOnNode(this.right(this["_focused"+(c?"Header":"")+"Node"],b),c,a);a.preventDefault()}},w=l.moveFocusLeft=function(a){t.call(this,
a,-1)},u=l.moveFocusRight=function(a){t.call(this,a,1)},v=l.moveHeaderFocusEnd=function(a,b){var c;this.cellNavigation&&(c=this.headerNode.getElementsByTagName("th"),this._focusOnNode(c[b?0:c.length-1],!0,a));a.preventDefault()},x=l.moveHeaderFocusHome=function(a){v.call(this,a,!0)},z=l.moveFocusEnd=function(a,b){var c=this.cellNavigation,d=this.contentNode,f=d.scrollTop+(b?0:d.scrollHeight),d=d[b?"firstChild":"lastChild"],g=-1<d.className.indexOf("dgrid-preload"),k=g?d[(b?"next":"previous")+"Sibling"]:
d,l;a.preventDefault();this.scrollTo({y:f});if(g){for(;k&&0>k.className.indexOf("dgrid-row");)k=k[(b?"next":"previous")+"Sibling"];if(!k)return}!g||1>d.offsetHeight?(c&&(k=this.cell(k,this.cell(a).column.id)),this._focusOnNode(k,!1,a)):(h("dom-addeventlistener")||(a=e.mixin({},a)),l=p.after(this,"renderArray",function(d){var e=d[b?0:d.length-1];c&&(e=this.cell(e,this.cell(a).column.id));this._focusOnNode(e,!1,a);l.remove();return d}))},y=l.moveFocusHome=function(a){z.call(this,a,!0)};l.defaultKeyMap=
{32:d,33:r,34:m,35:z,36:y,37:w,38:f,39:u,40:s};l.defaultHeaderKeyMap={32:d,35:v,36:x,37:w,39:u};return l})},"url:dijit/templates/Menu.html":'\x3ctable class\x3d"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable" role\x3d"menu" tabIndex\x3d"${tabIndex}"\n\t cellspacing\x3d"0"\x3e\n\t\x3ctbody class\x3d"dijitReset" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/tbody\x3e\n\x3c/table\x3e\n',"url:dijit/templates/TreeNode.html":'\x3cdiv class\x3d"dijitTreeNode" role\x3d"presentation"\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"rowNode" class\x3d"dijitTreeRow" role\x3d"presentation"\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNode" class\x3d"dijitInline dijitTreeExpando" role\x3d"presentation"\x3e\x3c/span\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNodeText" class\x3d"dijitExpandoText" role\x3d"presentation"\x3e\x3c/span\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"contentNode"\n\t\t\tclass\x3d"dijitTreeContent" role\x3d"presentation"\x3e\n\t\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTreeIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"labelNode,focusNode" class\x3d"dijitTreeLabel" role\x3d"treeitem"\n\t\t\t\t tabindex\x3d"-1" aria-selected\x3d"false" id\x3d"${id}_label"\x3e\x3c/span\x3e\n\t\t\x3c/span\n\t\x3e\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeNodeContainer" role\x3d"presentation"\n\t\t style\x3d"display: none;" aria-labelledby\x3d"${id}_label"\x3e\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dijit/form/templates/Spinner.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tid\x3d"widget_${id}" role\x3d"presentation"\n\t\x3e\x3cdiv class\x3d"dijitReset dijitButtonNode dijitSpinnerButtonContainer"\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitSpinnerButtonInner" type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t/\x3e\x3cdiv class\x3d"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton"\n\t\t\tdata-dojo-attach-point\x3d"upArrowNode"\n\t\t\t\x3e\x3cdiv class\x3d"dijitArrowButtonInner"\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField" value\x3d"\x26#9650; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/\x3e\x3c/div\n\t\t\x3e\x3c/div\n\t\t\x3e\x3cdiv class\x3d"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton"\n\t\t\tdata-dojo-attach-point\x3d"downArrowNode"\n\t\t\t\x3e\x3cdiv class\x3d"dijitArrowButtonInner"\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/\x3e\x3c/div\n\t\t\x3e\x3c/div\n\t\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t/\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\n\t\t\x3e\x3cinput class\x3d\'dijitReset dijitInputInner\' data-dojo-attach-point\x3d"textbox,focusNode" type\x3d"${type}" data-dojo-attach-event\x3d"onkeydown:_onKeyDown"\n\t\t\trole\x3d"spinbutton" autocomplete\x3d"off" ${!nameAttrSetting}\n\t/\x3e\x3c/div\n\x3e\x3c/div\x3e\n',
"url:dijit/templates/MenuBar.html":'\x3cdiv class\x3d"dijitMenuBar dijitMenuPassive" data-dojo-attach-point\x3d"containerNode" role\x3d"menubar" tabIndex\x3d"${tabIndex}"\n\t \x3e\x3c/div\x3e\n',"url:dijit/templates/MenuSeparator.html":'\x3ctr class\x3d"dijitMenuSeparator" role\x3d"separator"\x3e\n\t\x3ctd class\x3d"dijitMenuSeparatorIconCell"\x3e\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorTop"\x3e\x3c/div\x3e\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorBottom"\x3e\x3c/div\x3e\n\t\x3c/td\x3e\n\t\x3ctd colspan\x3d"3" class\x3d"dijitMenuSeparatorLabelCell"\x3e\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorTop dijitMenuSeparatorLabel"\x3e\x3c/div\x3e\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorBottom"\x3e\x3c/div\x3e\n\t\x3c/td\x3e\n\x3c/tr\x3e\n',
"url:dijit/templates/ProgressBar.html":'\x3cdiv class\x3d"dijitProgressBar dijitProgressBarEmpty" role\x3d"progressbar"\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"internalProgress" class\x3d"dijitProgressBarFull"\n\t\t\x3e\x3cdiv class\x3d"dijitProgressBarTile" role\x3d"presentation"\x3e\x3c/div\n\t\t\x3e\x3cspan style\x3d"visibility:hidden"\x3e\x26#160;\x3c/span\n\t\x3e\x3c/div\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"labelNode" class\x3d"dijitProgressBarLabel" id\x3d"${id}_label"\x3e\x3c/div\n\t\x3e\x3cspan data-dojo-attach-point\x3d"indeterminateHighContrastImage"\n\t\t class\x3d"dijitInline dijitProgressBarIndeterminateHighContrastImage"\x3e\x3c/span\n\x3e\x3c/div\x3e\n',
"url:dijit/form/templates/DropDownButton.html":'\x3cspan class\x3d"dijit dijitReset dijitInline"\n\t\x3e\x3cspan class\x3d\'dijitReset dijitInline dijitButtonNode\'\n\t\tdata-dojo-attach-event\x3d"ondijitclick:__onClick" data-dojo-attach-point\x3d"_buttonNode"\n\t\t\x3e\x3cspan class\x3d"dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point\x3d"focusNode,titleNode,_arrowWrapperNode,_popupStateNode"\n\t\t\trole\x3d"button" aria-haspopup\x3d"true" aria-labelledby\x3d"${id}_label"\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitIcon"\n\t\t\t\tdata-dojo-attach-point\x3d"iconNode"\n\t\t\t\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonText"\n\t\t\t\tdata-dojo-attach-point\x3d"containerNode"\n\t\t\t\tid\x3d"${id}_label"\n\t\t\t\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitArrowButtonInner"\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitArrowButtonChar"\x3e\x26#9660;\x3c/span\n\t\t\x3e\x3c/span\n\t\x3e\x3c/span\n\t\x3e\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" class\x3d"dijitOffScreen" tabIndex\x3d"-1"\n\t\tdata-dojo-attach-event\x3d"onclick:_onClick" data-dojo-attach-point\x3d"valueNode" aria-hidden\x3d"true"\n/\x3e\x3c/span\x3e\n',
"url:dijit/form/templates/DropDownBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tid\x3d"widget_${id}"\n\trole\x3d"combobox"\n\taria-haspopup\x3d"true"\n\tdata-dojo-attach-point\x3d"_popupStateNode"\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\'\n\t\tdata-dojo-attach-point\x3d"_buttonNode" role\x3d"presentation"\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitArrowButtonInner" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"button presentation" aria-hidden\x3d"true"\n\t\t\t${_buttonInputDisabled}\n\t/\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t/\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\n\t\t\x3e\x3cinput class\x3d\'dijitReset dijitInputInner\' ${!nameAttrSetting} type\x3d"${type}" autocomplete\x3d"off"\n\t\t\tdata-dojo-attach-point\x3d"textbox,focusNode" role\x3d"textbox"\n\t/\x3e\x3c/div\n\x3e\x3c/div\x3e\n',
"url:dijit/templates/Tooltip.html":'\x3cdiv class\x3d"dijitTooltip dijitTooltipLeft" id\x3d"dojoTooltip" data-dojo-attach-event\x3d"mouseenter:onMouseEnter,mouseleave:onMouseLeave"\n\t\x3e\x3cdiv class\x3d"dijitTooltipConnector" data-dojo-attach-point\x3d"connectorNode"\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d"dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point\x3d"containerNode" role\x3d\'alert\'\x3e\x3c/div\n\x3e\x3c/div\x3e\n',"url:dijit/form/templates/ValidationTextBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tid\x3d"widget_${id}" role\x3d"presentation"\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t/\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputInner" data-dojo-attach-point\x3d\'textbox,focusNode\' autocomplete\x3d"off"\n\t\t\t${!nameAttrSetting} type\x3d\'${type}\'\n\t/\x3e\x3c/div\n\x3e\x3c/div\x3e\n',
"url:dijit/layout/templates/_ScrollingTabControllerButton.html":'\x3cdiv data-dojo-attach-event\x3d"ondijitclick:_onClick" class\x3d"dijitTabInnerDiv dijitTabContent dijitButtonContents" data-dojo-attach-point\x3d"focusNode" role\x3d"button"\x3e\n\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitTabStripIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\n\t\x3cspan data-dojo-attach-point\x3d"containerNode,titleNode" class\x3d"dijitButtonText"\x3e\x3c/span\x3e\n\x3c/div\x3e',"url:dijit/layout/templates/TabContainer.html":'\x3cdiv class\x3d"dijitTabContainer"\x3e\n\t\x3cdiv class\x3d"dijitTabListWrapper" data-dojo-attach-point\x3d"tablistNode"\x3e\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"tablistSpacer" class\x3d"dijitTabSpacer ${baseClass}-spacer"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dijitTabPaneWrapper ${baseClass}-container" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dijit/templates/Tree.html":'\x3cdiv role\x3d"tree"\x3e\n\t\x3cdiv class\x3d"dijitInline dijitTreeIndent" style\x3d"position: absolute; top: -9999px" data-dojo-attach-point\x3d"indentDetector"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dijitTreeExpando dijitTreeExpandoLoading" data-dojo-attach-point\x3d"rootLoadingIndicator"\x3e\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeContainer" role\x3d"presentation"\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e\n',"url:dijit/form/templates/TextBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft" id\x3d"widget_${id}" role\x3d"presentation"\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputInner" data-dojo-attach-point\x3d\'textbox,focusNode\' autocomplete\x3d"off"\n\t\t\t${!nameAttrSetting} type\x3d\'${type}\'\n\t/\x3e\x3c/div\n\x3e\x3c/div\x3e\n',
"url:dijit/form/templates/Select.html":'\x3ctable class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tdata-dojo-attach-point\x3d"_buttonNode,tableNode,focusNode,_popupStateNode" cellspacing\x3d\'0\' cellpadding\x3d\'0\'\n\trole\x3d"listbox" aria-haspopup\x3d"true"\n\t\x3e\x3ctbody role\x3d"presentation"\x3e\x3ctr role\x3d"presentation"\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitStretch dijitButtonContents" role\x3d"presentation"\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitButtonText" data-dojo-attach-point\x3d"containerNode,textDirNode" role\x3d"presentation"\x3e\x3c/div\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitValidationContainer"\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t\t/\x3e\x3c/div\n\t\t\t\x3e\x3cinput type\x3d"hidden" ${!nameAttrSetting} data-dojo-attach-point\x3d"valueNode" value\x3d"${value}" aria-hidden\x3d"true"\n\t\t/\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer"\n\t\t\tdata-dojo-attach-point\x3d"titleNode" role\x3d"presentation"\n\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitArrowButtonInner" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/\x3e\x3c/td\n\t\x3e\x3c/tr\x3e\x3c/tbody\n\x3e\x3c/table\x3e\n',
"url:dijit/templates/MenuItem.html":'\x3ctr class\x3d"dijitReset" data-dojo-attach-point\x3d"focusNode" role\x3d"menuitem" tabIndex\x3d"-1"\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemIconCell" role\x3d"presentation"\x3e\n\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitMenuItemIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\n\t\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemLabel" colspan\x3d"2" data-dojo-attach-point\x3d"containerNode,textDirNode"\n\t\trole\x3d"presentation"\x3e\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemAccelKey" style\x3d"display: none" data-dojo-attach-point\x3d"accelKeyNode"\x3e\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuArrowCell" role\x3d"presentation"\x3e\n\t\t\x3cspan data-dojo-attach-point\x3d"arrowWrapper" style\x3d"visibility: hidden"\x3e\n\t\t\t\x3cspan class\x3d"dijitInline dijitIcon dijitMenuExpand"\x3e\x3c/span\x3e\n\t\t\t\x3cspan class\x3d"dijitMenuExpandA11y"\x3e+\x3c/span\x3e\n\t\t\x3c/span\x3e\n\t\x3c/td\x3e\n\x3c/tr\x3e\n',
"url:dijit/templates/MenuBarItem.html":'\x3cdiv class\x3d"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel" data-dojo-attach-point\x3d"focusNode"\n\t \trole\x3d"menuitem" tabIndex\x3d"-1"\x3e\n\t\x3cspan data-dojo-attach-point\x3d"containerNode,textDirNode"\x3e\x3c/span\x3e\n\x3c/div\x3e\n',"url:dijit/layout/templates/_TabButton.html":'\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"titleNode,innerDiv,tabContent" class\x3d"dijitTabInner dijitTabContent"\x3e\n\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTabButtonIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\n\t\x3cspan data-dojo-attach-point\x3d\'containerNode,focusNode\' class\x3d\'tabLabel\'\x3e\x3c/span\x3e\n\t\x3cspan class\x3d"dijitInline dijitTabCloseButton dijitTabCloseIcon" data-dojo-attach-point\x3d\'closeNode\'\n\t\t role\x3d"presentation"\x3e\n\t\t\x3cspan data-dojo-attach-point\x3d\'closeText\' class\x3d\'dijitTabCloseText\'\x3e[x]\x3c/span\n\t\t\t\t\x3e\x3c/span\x3e\n\x3c/div\x3e\n',
"url:dijit/form/templates/HorizontalSlider.html":'\x3ctable class\x3d"dijit dijitReset dijitSlider dijitSliderH" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"0" rules\x3d"none" data-dojo-attach-event\x3d"onkeydown:_onKeyDown, onkeyup:_onKeyUp"\n\trole\x3d"presentation"\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"topDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderDecrementIconH" style\x3d"display:none" data-dojo-attach-point\x3d"decrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e-\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper" data-dojo-attach-event\x3d"press:_onClkDecBumper"\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cinput data-dojo-attach-point\x3d"valueNode" type\x3d"hidden" ${!nameAttrSetting}\n\t\t\t/\x3e\x3cdiv class\x3d"dijitReset dijitSliderBarContainerH" role\x3d"presentation" data-dojo-attach-point\x3d"sliderBarContainer"\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"progressBar" class\x3d"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH" data-dojo-attach-event\x3d"press:_onBarClick"\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableH"\n\t\t\t\t\t\t\x3e\x3cdiv data-dojo-attach-point\x3d"sliderHandle,focusNode" class\x3d"dijitSliderImageHandle dijitSliderImageHandleH" data-dojo-attach-event\x3d"press:_onHandleClick" role\x3d"slider"\x3e\x3c/div\n\t\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"remainingBar" class\x3d"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH" data-dojo-attach-event\x3d"press:_onBarClick"\x3e\x3c/div\n\t\t\t\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper" data-dojo-attach-event\x3d"press:_onClkIncBumper"\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderIncrementIconH" style\x3d"display:none" data-dojo-attach-point\x3d"incrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e+\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"containerNode,bottomDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\x3e\x3c/tr\n\x3e\x3c/table\x3e\n',
"url:dijit/form/templates/CheckBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline" role\x3d"presentation"\n\t\x3e\x3cinput\n\t \t${!nameAttrSetting} type\x3d"${type}" role\x3d"${type}" aria-checked\x3d"false" ${checkedAttrSetting}\n\t\tclass\x3d"dijitReset dijitCheckBoxInput"\n\t\tdata-dojo-attach-point\x3d"focusNode"\n\t \tdata-dojo-attach-event\x3d"ondijitclick:_onClick"\n/\x3e\x3c/div\x3e\n',"url:dijit/form/templates/VerticalSlider.html":'\x3ctable class\x3d"dijit dijitReset dijitSlider dijitSliderV" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"0" rules\x3d"none" data-dojo-attach-event\x3d"onkeydown:_onKeyDown,onkeyup:_onKeyUp"\n\trole\x3d"presentation"\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderIncrementIconV" style\x3d"display:none" data-dojo-attach-point\x3d"decrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e+\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3ccenter\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper" data-dojo-attach-event\x3d"press:_onClkIncBumper"\x3e\x3c/div\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"leftDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderDecorationC" style\x3d"height:100%;"\n\t\t\t\x3e\x3cinput data-dojo-attach-point\x3d"valueNode" type\x3d"hidden" ${!nameAttrSetting}\n\t\t\t/\x3e\x3ccenter class\x3d"dijitReset dijitSliderBarContainerV" role\x3d"presentation" data-dojo-attach-point\x3d"sliderBarContainer"\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"remainingBar" class\x3d"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV" data-dojo-attach-event\x3d"press:_onBarClick"\x3e\x3c!--#5629--\x3e\x3c/div\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"progressBar" class\x3d"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV" data-dojo-attach-event\x3d"press:_onBarClick"\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableV" style\x3d"vertical-align:top;"\n\t\t\t\t\t\t\x3e\x3cdiv data-dojo-attach-point\x3d"sliderHandle,focusNode" class\x3d"dijitSliderImageHandle dijitSliderImageHandleV" data-dojo-attach-event\x3d"press:_onHandleClick" role\x3d"slider"\x3e\x3c/div\n\t\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3c/div\n\t\t\t\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"containerNode,rightDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3ccenter\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper" data-dojo-attach-event\x3d"press:_onClkDecBumper"\x3e\x3c/div\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderDecrementIconV" style\x3d"display:none" data-dojo-attach-point\x3d"incrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e-\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\x3e\x3c/table\x3e\n',
"url:dijit/templates/Calendar.html":'\x3cdiv class\x3d"dijitCalendarContainer dijitInline" role\x3d"presentation" aria-labelledby\x3d"${id}_mddb ${id}_year"\x3e\n\t\x3cdiv class\x3d"dijitReset dijitCalendarMonthContainer" role\x3d"presentation"\x3e\n\t\t\x3cdiv class\x3d\'dijitReset dijitCalendarArrow dijitCalendarDecrementArrow\' data-dojo-attach-point\x3d"decrementMonth"\x3e\n\t\t\t\x3cimg src\x3d"${_blankGif}" alt\x3d"" class\x3d"dijitCalendarIncrementControl dijitCalendarDecrease" role\x3d"presentation"/\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"decreaseArrowNode" class\x3d"dijitA11ySideArrow"\x3e-\x3c/span\x3e\n\t\t\x3c/div\x3e\n\t\t\x3cdiv class\x3d\'dijitReset dijitCalendarArrow dijitCalendarIncrementArrow\' data-dojo-attach-point\x3d"incrementMonth"\x3e\n\t\t\t\x3cimg src\x3d"${_blankGif}" alt\x3d"" class\x3d"dijitCalendarIncrementControl dijitCalendarIncrease" role\x3d"presentation"/\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"increaseArrowNode" class\x3d"dijitA11ySideArrow"\x3e+\x3c/span\x3e\n\t\t\x3c/div\x3e\n\t\t\x3cdiv data-dojo-attach-point\x3d"monthNode" class\x3d"dijitInline"\x3e\x3c/div\x3e\n\t\x3c/div\x3e\n\t\x3ctable cellspacing\x3d"0" cellpadding\x3d"0" role\x3d"grid" data-dojo-attach-point\x3d"gridNode"\x3e\n\t\t\x3cthead\x3e\n\t\t\t\x3ctr role\x3d"row"\x3e\n\t\t\t\t${!dayCellsHtml}\n\t\t\t\x3c/tr\x3e\n\t\t\x3c/thead\x3e\n\t\t\x3ctbody data-dojo-attach-point\x3d"dateRowsNode" data-dojo-attach-event\x3d"ondijitclick: _onDayClick" class\x3d"dijitReset dijitCalendarBodyContainer"\x3e\n\t\t\t\t${!dateRowsHtml}\n\t\t\x3c/tbody\x3e\n\t\x3c/table\x3e\n\t\x3cdiv class\x3d"dijitReset dijitCalendarYearContainer" role\x3d"presentation"\x3e\n\t\t\x3cdiv class\x3d"dijitCalendarYearLabel"\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"previousYearLabelNode" class\x3d"dijitInline dijitCalendarPreviousYear" role\x3d"button"\x3e\x3c/span\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"currentYearLabelNode" class\x3d"dijitInline dijitCalendarSelectedYear" role\x3d"button" id\x3d"${id}_year"\x3e\x3c/span\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"nextYearLabelNode" class\x3d"dijitInline dijitCalendarNextYear" role\x3d"button"\x3e\x3c/span\x3e\n\t\t\x3c/div\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dijit/layout/templates/ScrollingTabController.html":'\x3cdiv class\x3d"dijitTabListContainer-${tabPosition}" style\x3d"visibility:hidden"\x3e\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerMenuButton"\n\t\t class\x3d"tabStripButton-${tabPosition}"\n\t\t id\x3d"${id}_menuBtn"\n\t\t data-dojo-props\x3d"containerId: \'${containerId}\', iconClass: \'dijitTabStripMenuIcon\',\n\t\t\t\t\tdropDownPosition: [\'below-alt\', \'above-alt\']"\n\t\t data-dojo-attach-point\x3d"_menuBtn" showLabel\x3d"false" title\x3d""\x3e\x26#9660;\x3c/div\x3e\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerButton"\n\t\t class\x3d"tabStripButton-${tabPosition}"\n\t\t id\x3d"${id}_leftBtn"\n\t\t data-dojo-props\x3d"iconClass:\'dijitTabStripSlideLeftIcon\', showLabel:false, title:\'\'"\n\t\t data-dojo-attach-point\x3d"_leftBtn" data-dojo-attach-event\x3d"onClick: doSlideLeft"\x3e\x26#9664;\x3c/div\x3e\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerButton"\n\t\t class\x3d"tabStripButton-${tabPosition}"\n\t\t id\x3d"${id}_rightBtn"\n\t\t data-dojo-props\x3d"iconClass:\'dijitTabStripSlideRightIcon\', showLabel:false, title:\'\'"\n\t\t data-dojo-attach-point\x3d"_rightBtn" data-dojo-attach-event\x3d"onClick: doSlideRight"\x3e\x26#9654;\x3c/div\x3e\n\t\x3cdiv class\x3d\'dijitTabListWrapper\' data-dojo-attach-point\x3d\'tablistWrapper\'\x3e\n\t\t\x3cdiv role\x3d\'tablist\' data-dojo-attach-event\x3d\'onkeydown:onkeydown\'\n\t\t\t data-dojo-attach-point\x3d\'containerNode\' class\x3d\'nowrapTabStrip\'\x3e\x3c/div\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e',
"url:dijit/form/templates/Button.html":'\x3cspan class\x3d"dijit dijitReset dijitInline" role\x3d"presentation"\n\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonNode"\n\t\tdata-dojo-attach-event\x3d"ondijitclick:__onClick" role\x3d"presentation"\n\t\t\x3e\x3cspan class\x3d"dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point\x3d"titleNode,focusNode"\n\t\t\trole\x3d"button" aria-labelledby\x3d"${id}_label"\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitToggleButtonIconChar"\x3e\x26#x25CF;\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonText"\n\t\t\t\tid\x3d"${id}_label"\n\t\t\t\tdata-dojo-attach-point\x3d"containerNode"\n\t\t\t\x3e\x3c/span\n\t\t\x3e\x3c/span\n\t\x3e\x3c/span\n\t\x3e\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" class\x3d"dijitOffScreen"\n\t\tdata-dojo-attach-event\x3d"onclick:_onClick"\n\t\ttabIndex\x3d"-1" aria-hidden\x3d"true" data-dojo-attach-point\x3d"valueNode"\n/\x3e\x3c/span\x3e\n',
"*now":function(f){f(['dojo/i18n!*preload*dojo/nls/dojo*["ar","ca","cs","da","de","el","en-gb","en-us","es-es","fi-fi","fr-fr","he-il","hu","it-it","ja-jp","ko-kr","nl-nl","nb","pl","pt-br","pt-pt","ru","sk","sl","sv","th","tr","zh-tw","zh-cn","ROOT"]'])}}});(function(){var f=this.require;f({cache:{}});!f.async&&f(["dojo"]);f.boot&&f.apply(null,f.boot)})();
//# sourceMappingURL=dojo.js.map