//>>built
(function(t,x){var w,n=function(){return"undefined"!==typeof m&&"function"!==typeof m?m:"undefined"!==typeof window?window:"undefined"!==typeof self?self:this}(),h=function(){},f=function(K){for(var S in K)return 0;return 1},g={}.toString,d=function(K){return"[object Function]"==g.call(K)},c=function(K){return"[object String]"==g.call(K)},a=function(K){return"[object Array]"==g.call(K)},b=function(K,S){if(K)for(var U=0;U<K.length;)S(K[U++])},e=function(K,S){for(var U in S)K[U]=S[U];return K},k=function(K,
S){return e(Error(K),{src:"dojoLoader",info:S})},r=1,q=function(){return"_"+r++},l=function(K,S,U){return ta(K,S,U,0,l)},m=n,p=m.document,u=p&&p.createElement("DiV"),A=l.has=function(K){return d(z[K])?z[K]=z[K](m,p,u):z[K]},z=A.cache=x.hasCache;d(t)&&(t=t(n));A.add=function(K,S,U,V){(void 0===z[K]||V)&&(z[K]=S);return U&&A(K)};A.add("host-webworker","undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);A("host-webworker")&&(e(x.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}),x.loaderPatch={injectUrl:function(K,S){try{importScripts(K),S()}catch(U){}}});for(var E in t.has)A.add(E,t.has[E],0,1);var y=0,B=[],I=0,v=h,F=h;l.isXdUrl=h;l.initSyncLoader=function(K,S,U){I||(I=K,v=S,F=U);return{sync:"sync",requested:1,arrived:2,nonmodule:3,executing:4,executed:5,syncExecStack:B,modules:qa,execQ:ka,getModule:Ba,injectModule:Sa,setArrived:za,signal:N,finishExec:Ka,execModule:La,dojoRequirePlugin:I,
getLegacyMode:function(){return y},guardCheckComplete:Ma}};var D=location.protocol,G=location.host;l.isXdUrl=function(K){return/^\./.test(K)?!1:/^\/\//.test(K)?!0:(K=K.match(/^([^\/:]+:)\/+([^\/]+)/))&&(K[1]!=D||G&&K[2]!=G)};A.add("dojo-force-activex-xhr",!p.addEventListener&&"file:"==window.location.protocol);A.add("native-xhr","undefined"!=typeof XMLHttpRequest);if(A("native-xhr")&&!A("dojo-force-activex-xhr"))var J=function(){return new XMLHttpRequest};else{var C=["Msxml2.XMLHTTP","Microsoft.XMLHTTP",
"Msxml2.XMLHTTP.4.0"];for(w=0;3>w;)try{var H=C[w++];new ActiveXObject(H);break}catch(K){}J=function(){return new ActiveXObject(H)}}l.getXhr=J;A.add("dojo-gettext-api",1);l.getText=function(K,S,U){var V=J();V.open("GET",Ta(K),!1);V.send(null);if(200==V.status||!location.host&&!V.status)U&&U(V.responseText,S);else throw k("xhrFailed",V.status);return V.responseText};var M=A("csp-restrictions")?function(){}:new Function("return eval(arguments[0]);");l.eval=function(K,S){return M(K+"\r\n//# sourceURL\x3d"+
S)};var L={},N=l.signal=function(K,S){K=L[K];b(K&&K.slice(0),function(U){U.apply(null,a(S)?S:[S])})},O=l.on=function(K,S){var U=L[K]||(L[K]=[]);U.push(S);return{remove:function(){for(var V=0;V<U.length;V++)if(U[V]===S){U.splice(V,1);break}}}},P=[],X={},Y=[],ba={},ea=l.map={},na=[],qa={},va="",pa={},sa={},ja={},wa=0;if(!A("foreign-loader"))var ya=function(K,S){S=!1!==S;var U,V;for(U in sa){var Z=sa[U];if(V=U.match(/^url:(.+)/))pa["url:"+hb(V[1],K)]=Z;else if("*now"==U)var aa=Z;else"*noref"!=U&&(V=
Na(U,K,!0),pa[V.mid]=pa["url:"+V.url]=Z)}aa&&aa(Da(K));S&&(sa={})};var Q=function(K){return K.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(S){return"\\"+S})},R=function(K,S){S.splice(0,S.length);for(var U in K)S.push([U,K[U],new RegExp("^"+Q(U)+"(/|$)"),U.length]);S.sort(function(V,Z){return Z[3]-V[3]});return S},T=function(K,S){b(K,function(U){S.push([c(U[0])?new RegExp("^"+Q(U[0])+"$"):U[0],U[1]])})},W=function(K){var S=K.name;S||(S=K,K={name:S});K=e({main:"main"},K);K.location=K.location?K.location:
S;K.packageMap&&(ea[S]=K.packageMap);K.main.indexOf("./")||(K.main=K.main.substring(2));ba[S]=K},da=[],fa=function(K,S,U){for(var V in K){"waitSeconds"==V&&(l.waitms=1E3*(K[V]||0));"cacheBust"==V&&(va=K[V]?c(K[V])?K[V]:(new Date).getTime()+"":"");if("baseUrl"==V||"combo"==V)l[V]=K[V];if("async"==V){var Z=K[V];l.legacyMode=y=c(Z)&&/sync|legacyAsync/.test(Z)?Z:Z?!1:"sync";l.async=!y}K[V]!==z&&(l.rawConfig[V]=K[V],"has"!=V&&A.add("config-"+V,K[V],0,S))}l.baseUrl||(l.baseUrl="./");/\/$/.test(l.baseUrl)||
(l.baseUrl+="/");for(V in K.has)A.add(V,K.has[V],0,S);b(K.packages,W);for(var aa in K.packagePaths)b(K.packagePaths[aa],function(ma){var Ca=aa+"/"+ma;c(ma)&&(ma={name:ma});ma.location=Ca;W(ma)});R(e(ea,K.map),na);b(na,function(ma){ma[1]=R(ma[1],[]);"*"==ma[0]&&(na.star=ma)});R(e(X,K.paths),Y);T(K.aliases,P);if(!A("foreign-loader")){if(S)da.push({config:K.config});else for(V in K.config)S=Ba(V,U),S.config=e(S.config||{},K.config[V]);K.cache&&(ya(),sa=K.cache,ya(0,!!K.cache["*noref"]))}N("config",[K,
l.rawConfig])};if(A("dojo-cdn")){var la=p.getElementsByTagName("script");w=0;for(var ca,ha,ra,oa;w<la.length;)if(ca=la[w++],(ra=ca.getAttribute("src"))&&(oa=ra.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))&&(ha=oa[3]||"",x.baseUrl=x.baseUrl||ha,wa=ca),ra=ca.getAttribute("data-dojo-config")||ca.getAttribute("djConfig"))ja=l.eval("({ "+ra+" })","data-dojo-config"),wa=ca}l.rawConfig={};fa(x,1);A("dojo-cdn")&&((ba.dojo.location=ha)&&(ha+="/"),ba.dijit.location=ha+"../dijit/",ba.dojox.location=ha+"../dojox/");
fa(t,1);fa(ja,1);if(!A("foreign-loader"))var ua=function(K){Ma(function(){b(K.deps,Sa)})},ta=function(K,S,U,V,Z){var aa;if(c(K)){if((aa=Ba(K,V,!0))&&aa.executed)return aa.result;throw k("undefinedModule",K);}a(K)||(fa(K,0,V),K=S,S=U);if(a(K))if(K.length){U="require*"+q();for(var ma,Ca=[],Oa=0;Oa<K.length;)ma=K[Oa++],Ca.push(Ba(ma,V));aa=e(Ua("",U,0,""),{injected:2,deps:Ca,def:S||h,require:V?V.require:l,gc:1});qa[aa.mid]=aa;ua(aa);var Za=Pa&&"sync"!=y;Ma(function(){La(aa,Za)});aa.executed||ka.push(aa);
Ea()}else S&&S();return Z},Da=function(K){if(!K)return l;var S=K.require;S||(S=function(U,V,Z){return ta(U,V,Z,K,S)},K.require=e(S,l),S.module=K,S.toUrl=function(U){return hb(U,K)},S.toAbsMid=function(U){return $a(U,K)},S.syncLoadNls=function(U){U=Na(U,K);var V=qa[U.mid];if(!V||!V.executed)if(Fa=pa[U.mid]||pa["url:"+U.url])Va(Fa),V=qa[U.mid];return V&&V.executed&&V.result});return S},ka=[],Ga=[],ia={},xa=function(K){K.injected=1;ia[K.mid]=1;K.url&&(ia[K.url]=K.pack||1);tb()},za=function(K){K.injected=
2;delete ia[K.mid];K.url&&delete ia[K.url];f(ia)&&(ub(),"xd"==y&&(y="sync"))},Ha=l.idle=function(){return!Ga.length&&f(ia)&&!ka.length&&!Pa};var Ia=function(K,S){if(S)for(var U=0;U<S.length;U++)if(S[U][2].test(K))return S[U];return 0},ib=function(K){var S=[];for(K=K.replace(/\\/g,"/").split("/");K.length;){var U=K.shift();if(".."==U&&S.length&&".."!=V){S.pop();var V=S[S.length-1]}else"."!=U&&S.push(V=U)}return S.join("/")},Ua=function(K,S,U,V){var Z=l.isXdUrl(V);return{pid:K,mid:S,pack:U,url:V,executed:0,
def:0,isXd:Z,isAmd:!!(Z||ba[K]&&ba[K].isAmd)}},lb=function(K,S,U,V,Z,aa,ma,Ca,Oa,Za){var Ja,jb,Aa;var ab=/^\./.test(K);if(/(^\/)|(:)|(\.js$)/.test(K)||ab&&!S)return Ua(0,K,0,K);K=ib(ab?S.mid+"/../"+K:K);if(/^\./.test(K))throw k("irrationalPath",K);Za||ab||!aa.star||(Aa=Ia(K,aa.star[1]));!Aa&&S&&(Aa=(Aa=Ia(S.mid,aa))&&Ia(K,Aa[1]));Aa&&(K=Aa[1]+K.substring(Aa[3]));S=(oa=K.match(/^([^\/]+)(\/(.+))?$/))?oa[1]:"";(Ja=U[S])?K=S+"/"+(jb=oa[3]||Ja.main):S="";var bb=0;b(Ca,function(Qa){var kb=K.match(Qa[0]);
kb&&0<kb.length&&(bb=d(Qa[1])?K.replace(Qa[0],Qa[1]):Qa[1])});if(bb)return lb(bb,0,U,V,Z,aa,ma,Ca,Oa);if(U=V[K])return Oa?Ua(U.pid,U.mid,U.pack,U.url):V[K];V=(Aa=Ia(K,ma))?Aa[1]+K.substring(Aa[3]):S?("/"===Ja.location.slice(-1)?Ja.location.slice(0,-1):Ja.location)+"/"+jb:K;/(^\/)|(:)/.test(V)||(V=Z+V);return Ua(S,K,Ja,ib(V+".js"))},Na=function(K,S,U){return lb(K,S,ba,qa,l.baseUrl,na,Y,P,void 0,U)};if(!A("foreign-loader"))var mb=function(K,S,U){return K.normalize?K.normalize(S,function(V){return $a(V,
U)}):$a(S,U)},nb=0,Ba=function(K,S,U){var V;if(V=K.match(/^(.+?)!(.*)$/)){var Z=Ba(V[1],S,U);"sync"!=y||Z.executed||(Sa(Z),2!==Z.injected||Z.executed||Ma(function(){La(Z)}),Z.executed?Wa(Z):ka.unshift(Z));5!==Z.executed||Z.load||Wa(Z);Z.load?(V=mb(Z,V[2],S),K=Z.mid+"!"+(Z.dynamic?++nb+"!":"")+V):(V=V[2],K=Z.mid+"!"+ ++nb+"!waitingForPlugin");K={plugin:Z,mid:K,req:Da(S),prid:V}}else K=Na(K,S);return qa[K.mid]||!U&&(qa[K.mid]=K)};var $a=l.toAbsMid=function(K,S){return Na(K,S).mid},hb=l.toUrl=function(K,
S){S=Na(K+"/x",S);var U=S.url;return Ta(0===S.pid?K:U.substring(0,U.length-5))};if(!A("foreign-loader"))var ob={injected:2,executed:5,def:3,result:3},cb=function(K){return qa[K]=e({mid:K},ob)},vb=cb("require"),wb=cb("exports"),xb=cb("module"),Xa={},db=0,Wa=function(K){var S=K.result;K.dynamic=S.dynamic;K.normalize=S.normalize;K.load=S.load;return K},yb=function(K){var S={};b(K.loadQ,function(Z){var aa=mb(K,Z.prid,Z.req.module),ma=K.dynamic?Z.mid.replace(/waitingForPlugin$/,aa):K.mid+"!"+aa;aa=e(e({},
Z),{mid:ma,prid:aa,injected:0});qa[ma]&&qa[ma].injected||pb(qa[ma]=aa);S[Z.mid]=qa[ma];za(Z);delete qa[Z.mid]});K.loadQ=0;var U=function(Z){for(var aa=Z.deps||[],ma=0;ma<aa.length;ma++)(Z=S[aa[ma].mid])&&(aa[ma]=Z)},V;for(V in qa)U(qa[V]);b(ka,U)},Ka=function(K){l.trace("loader-finish-exec",[K.mid]);K.executed=5;K.defOrder=db++;b(K.provides,function(S){S()});K.loadQ&&(Wa(K),yb(K));for(w=0;w<ka.length;)ka[w]===K?ka.splice(w,1):w++;/^require\*/.test(K.mid)&&delete qa[K.mid]},zb=[],La=function(K,S){if(4===
K.executed)return l.trace("loader-circular-dependency",[zb.concat(K.mid).join("-\x3e")]),!K.def||S?Xa:K.cjs&&K.cjs.exports;if(!K.executed){if(!K.def)return Xa;var U=K.mid,V=K.deps||[],Z,aa=[],ma=0;for(K.executed=4;Z=V[ma++];){Z=Z===vb?Da(K):Z===wb?K.cjs.exports:Z===xb?K.cjs:La(Z,S);if(Z===Xa)return K.executed=0,l.trace("loader-exec-module",["abort",U]),Xa;aa.push(Z)}l.trace("loader-run-factory",[K.mid]);S=K.def;B.unshift(K);aa=d(S)?S.apply(null,aa):S;K.result=void 0===aa&&K.cjs?K.cjs.exports:aa;B.shift(K);
Ka(K)}return K.result},Pa=0,Ma=function(K){try{Pa++,K()}catch(S){throw S;}finally{Pa--}Ha()&&N("idle",[])},Ea=function(){Pa||Ma(function(){v();for(var K,S,U=0;U<ka.length;)K=db,S=ka[U],La(S),K!=db?(v(),U=0):U++})};var Ta="function"==typeof t.fixupUrl?t.fixupUrl:function(K){K+="";return K+(va?(/\?/.test(K)?"\x26":"?")+va:"")};void 0===A("dojo-loader-eval-hint-url")&&A.add("dojo-loader-eval-hint-url",1);var pb=function(K){var S=K.plugin;5!==S.executed||S.load||Wa(S);var U=function(V){K.result=V;za(K);
Ka(K);Ea()};S.load?S.load(K.prid,K.req,U):S.loadQ?S.loadQ.push(K):(S.loadQ=[K],ka.unshift(S),Sa(S))},Fa=0,Ra=0,eb=0,Va=function(K,S){A("config-stripStrict")&&(K=K.replace(/(["'])use strict\1/g,""));eb=1;K===Fa?Fa.call(null):l.eval(K,A("dojo-loader-eval-hint-url")?S.url:S.mid);eb=0},Sa=function(K){var S=K.mid,U=K.url;if(!(K.executed||K.injected||ia[S]||K.url&&(K.pack&&ia[K.url]===K.pack||1==ia[K.url])))if(xa(K),K.plugin)pb(K);else{var V=function(){qb(K);if(2!==K.injected){if(A("dojo-enforceDefine")){N("error",
k("noDefine",K));return}za(K);e(K,ob);l.trace("loader-define-nonmodule",[K.url])}y?!B.length&&Ea():Ea()};if(Fa=pa[S]||pa["url:"+K.url])l.trace("loader-inject",["cache",K.mid,U]),Va(Fa,K),V();else{if(y)if(K.isXd)"sync"==y&&(y="xd");else if(!K.isAmd||"sync"==y){l.trace("loader-inject",["xhr",K.mid,U,"sync"!=y]);l.getText(U,"sync"!=y,function(Z){if("sync"==y){B.unshift(K);Va(Z,K);B.shift();qb(K);K.cjs||(za(K),Ka(K));if(K.finish){Z=S+"*finish";var aa=K.finish;delete K.finish;Ya(Z,["dojo",("dojo/require!"+
aa.join(",")).replace(/\./g,"/")],function(ma){b(aa,function(Ca){ma.require(Ca)})});ka.unshift(Ba(Z))}V()}else(Z=F(K,Z))?(Va(Z,K),V()):(Ra=K,l.injectUrl(Ta(U),V,K),Ra=0)});return}l.trace("loader-inject",["script",K.mid,U]);Ra=K;l.injectUrl(Ta(U),V,K);Ra=0}}},fb=function(K,S,U){l.trace("loader-define-module",[K.mid,S]);var V=K.mid;if(2===K.injected)return N("error",k("multipleDefine",K)),K;e(K,{deps:S,def:U,cjs:{id:K.mid,uri:K.url,exports:K.result={},setExports:function(aa){K.cjs.exports=aa},config:function(){return K.config}}});
for(var Z=0;S[Z];Z++)S[Z]=Ba(S[Z],K);y&&!ia[V]&&(ua(K),ka.push(K),Ea());za(K);d(U)||S.length||(K.result=U,Ka(K));return K},qb=function(K,S){for(var U=[],V,Z;Ga.length;)Z=Ga.shift(),S&&(Z[0]=S.shift()),V=Z[0]&&Ba(Z[0])||K,U.push([V,Z[1],Z[2]]);ya(K);b(U,function(aa){ua(fb.apply(null,aa))})},ub=h,tb=h;A.add("ie-event-behavior",p.attachEvent&&"undefined"===typeof Windows&&("undefined"===typeof opera||"[object Opera]"!=opera.toString()));var gb=function(K,S,U,V){if(A("ie-event-behavior"))return K.attachEvent(U,
V),function(){K.detachEvent(U,V)};K.addEventListener(S,V,!1);return function(){K.removeEventListener(S,V,!1)}},Ab=gb(window,"load","onload",function(){l.pageLoaded=1;try{"complete"!=p.readyState&&(p.readyState="complete")}catch(K){}Ab()});la=p.getElementsByTagName("script");for(w=0;!wa;)/^dojo/.test((ca=la[w++])&&ca.type)||(wa=ca);l.injectUrl=function(K,S,U){U=U.node=p.createElement("script");var V=gb(U,"load","onreadystatechange",function(aa){aa=aa||window.event;var ma=aa.target||aa.srcElement;if("load"===
aa.type||/complete|loaded/.test(ma.readyState))V(),Z(),S&&S()}),Z=gb(U,"error","onerror",function(aa){V();Z();N("error",k("scriptError: "+K,[K,aa]))});U.type="text/javascript";U.charset="utf-8";U.src=K;wa.parentNode.insertBefore(U,wa);return U};l.log=h;l.trace=h;if(A("foreign-loader"))Ya=h;else{var Ya=function(K,S,U){var V=arguments.length,Z=["require","exports","module"],aa=[0,K,S];1==V?aa=[0,d(K)?Z:[],K]:2==V&&c(K)?aa=[K,d(S)?Z:[],S]:3==V&&(aa=[K,S,U]);l.trace("loader-define",aa.slice(0,2));if((V=
aa[0]&&Ba(aa[0]))&&!ia[V.mid])ua(fb(V,aa[1],aa[2]));else if(!A("ie-event-behavior")||eb)Ga.push(aa);else{V=V||Ra;if(!V)for(K in ia)if((Z=qa[K])&&Z.node&&"interactive"===Z.node.readyState){V=Z;break}V?(ya(V),ua(fb(V,aa[1],aa[2]))):N("error",k("ieDefineFailed",aa[0]));Ea()}};Ya.amd={vendor:"dojotoolkit.org"}}e(e(l,x.loaderPatch),t.loaderPatch);O("error",function(K){try{if(K instanceof Error)for(var S in K);}catch(U){}});e(l,{uid:q,cache:pa,packs:ba});if(!m.define&&(m.define=Ya,m.require=l,!A("foreign-loader"))){b(da,
function(K){fa(K)});var rb=ja.deps||t.deps||x.deps,sb=ja.callback||t.callback||x.callback;l.boot=rb||sb?[rb||[],sb]:0}})(function(t){return t.dojoConfig||t.djConfig||t.require||{}},{async:0,baseUrl:(location.protocol === 'file:' ? 'http:' : location.protocol) +
                        '//' + location.host +
                        ((window.location.href.substring(window.location.href.indexOf(window.location.host) +
                        window.location.host.length + 1, window.location.href.indexOf("/home")) != "/")
                        ? "/" +
                        window.location.href.substring(window.location.href.indexOf(window.location.host)
                        + window.location.host.length + 1, window.location.href.indexOf("/home")) : "")
                        + "/home/11.1.0/js/jsapi/dojo",hasCache:{"config-selectorEngine":"acme","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"extend-esri":1,"host-browser":1},packages:[{location:"../jsapi/esri",name:"esri"},{location:".",name:"dojo"},{location:"../jsapi/dijit",name:"dijit"},{location:"../jsapi/dojox",
name:"dojox"},{location:"../jsapi/dgrid",main:"OnDemandGrid",name:"dgrid"},{location:"../jsapi/dgrid1",main:"OnDemandGrid",name:"dgrid1"},{location:"../jsapi/dstore",main:"Store",name:"dstore"},{location:"../jsapi/moment",main:"moment.js",name:"moment"},{location:"../jsapi/put-selector",main:"put",name:"put-selector"},{location:"../jsapi/xstyle",name:"xstyle"},{location:"../calcite-web/dist",name:"calcite-web"},{location:"../calcite-fonts",main:"index.js",name:"calcite-fonts"},{location:"../arcgis-telemetry.js/dist",
main:"dist/telemetry.js",name:"telemetry"},{location:"../dragula/dist",name:"dragula"},{location:"../azure-storage-blob",main:"index",name:"azure-storage-blob"},{location:"../taginsert/dist",name:"taginsert"},{location:"../esri-global-nav/dist",name:"esri-global-nav"},{location:"../arcgis-components/dist",name:"arcgis-components"},{location:"../preact",main:"preact",name:"preact"},{location:"../markdown-it/dist",main:"markdown-it",name:"markdown-it"},{location:"../webpack-bundles",name:"webpack-bundles"},
{location:"../tslib",main:"tslib",name:"tslib"},{location:"../arcgisonline",name:"arcgisonline"}]});
require({cache:{"dojo/domReady":function(){define(["./global","./has"],function(t,x){function w(l){c.push(l);d&&n()}function n(){if(!a){for(a=!0;c.length;)try{c.shift()(h)}catch(l){}a=!1;w._onQEmpty()}}var h=document,f={loaded:1,complete:1},g="string"!=typeof h.readyState,d=!!f[h.readyState],c=[],a;w.load=function(l,m,p){w(p)};w._Q=c;w._onQEmpty=function(){};g&&(h.readyState="loading");if(!d){var b=[],e=function(l){l=l||t.event;d||"readystatechange"==l.type&&!f[h.readyState]||(g&&(h.readyState="complete"),
d=1,n())},k=function(l,m){l.addEventListener(m,e,!1);c.push(function(){l.removeEventListener(m,e,!1)})};if(!x("dom-addeventlistener")){k=function(l,m){m="on"+m;l.attachEvent(m,e);c.push(function(){l.detachEvent(m,e)})};var r=h.createElement("div");try{r.doScroll&&null===t.frameElement&&b.push(function(){try{return r.doScroll("left"),1}catch(l){}})}catch(l){}}k(h,"DOMContentLoaded");k(t,"load");"onreadystatechange"in h?k(h,"readystatechange"):g||b.push(function(){return f[h.readyState]});if(b.length){var q=
function(){if(!d){for(var l=b.length;l--;)if(b[l]()){e("poller");return}setTimeout(q,30)}};q()}}return w})},"dojo/global":function(){define(function(){return"undefined"!==typeof global&&"function"!==typeof global?global:"undefined"!==typeof window?window:"undefined"!==typeof self?self:this})},"dojo/has":function(){define(["./global","require","module"],function(t,x,w){var n=x.has||function(){};n.add("dom-addeventlistener",!!document.addEventListener);n.add("touch","ontouchstart"in document||"onpointerdown"in
document&&0<navigator.maxTouchPoints||window.navigator.msMaxTouchPoints);n.add("touch-events","ontouchstart"in document);n.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window);n.add("MSPointer",window.navigator.msPointerEnabled);n.add("touch-action",n("touch")&&n("pointer-events"));n.add("device-width",screen.availWidth||innerWidth);t=document.createElement("form");n.add("dom-attributes-explicit",0==t.attributes.length);n.add("dom-attributes-specified-flag",
0<t.attributes.length&&40>t.attributes.length);n.clearElement=function(h){h.innerHTML="";return h};n.normalize=function(h,f){var g=h.match(/[\?:]|[^:\?]*/g),d=0,c=function(a){var b=g[d++];if(":"==b)return 0;if("?"==g[d++]){if(!a&&n(b))return c();c(!0);return c(a)}return b||0};return(h=c())&&f(h)};n.load=function(h,f,g){h?f([h],g):g()};return n})},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(t,x,w,n,h){var f=0,g=[],d=0;x=function(){f=1;t._postLoad=
t.config.afterOnLoad=!0;c()};var c=function(){if(!d){for(d=1;f&&(!n||0==n._Q.length)&&(w.idle?w.idle():1)&&g.length;){var e=g.shift();try{e()}catch(k){if(k.info=k.message,w.signal)w.signal("error",k);else throw k;}}d=0}};w.on&&w.on("idle",c);n&&(n._onQEmpty=c);var a=t.ready=t.addOnLoad=function(e,k,r){var q=h._toArray(arguments);"number"!=typeof e?(r=k,k=e,e=1E3):q.shift();r=r?h.hitch.apply(t,q):function(){k()};r.priority=e;for(q=0;q<g.length&&e>=g[q].priority;q++);g.splice(q,0,r);c()},b=t.config.addOnLoad;
if(b)a[h.isArray(b)?"apply":"call"](t,b);t.config.parseOnLoad&&!t.isAsync&&a(99,function(){t.parser||(t.deprecated("Add explicit require(['dojo/parser']);","","2.0"),w(["dojo/parser"]))});n?n(x):x();return a})},"dojo/_base/kernel":function(){define(["../global","../has","./config","require","module"],function(t,x,w,n,h){var f,g={},d={},c={config:w,global:t,dijit:g,dojox:d};g={dojo:["dojo",c],dijit:["dijit",g],dojox:["dojox",d]};h=n.map&&n.map[h.id.match(/[^\/]+/)[0]];for(f in h)g[f]?g[f][0]=h[f]:
g[f]=[h[f],{}];for(f in g)h=g[f],h[1]._scopeName=h[0],w.noGlobals||(t[h[0]]=h[1]);c.scopeMap=g;c.baseUrl=c.config.baseUrl=n.baseUrl;c.isAsync=n.async;c.locale=w.locale;t="$Rev:$".match(/[0-9a-f]{7,}/);c.version={major:1,minor:17,patch:3,flag:"",revision:t?t[0]:NaN,toString:function(){var b=c.version;return b.major+"."+b.minor+"."+b.patch+b.flag+" ("+b.revision+")"}};x("csp-restrictions")||Function("d","d.eval \x3d function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(c);
c.exit=function(){};x("host-webworker");x.add("console-as-object",function(){return Function.prototype.bind&&console&&"object"===typeof console.log});"undefined"!=typeof console||(console={});w="assert count debug dir dirxml error group groupEnd info profile profileEnd time timeEnd trace warn log".split(" ");var a;for(t=0;a=w[t++];)console[a]?x("console-as-object")&&(console[a]=Function.prototype.bind.call(console[a],console)):function(){var b=a+"";console[b]="log"in console?function(){var e=Array.prototype.slice.call(arguments);
e.unshift(b+":");console.log(e.join(" "))}:function(){};console[b]._fake=!0}();c.deprecated=c.experimental=function(){};c._hasResource={};return c})},"dojo/_base/config":function(){define(["../global","../has","require"],function(t,x,w){t={};w=w.rawConfig;for(var n in w)t[n]=w[n];!t.locale&&"undefined"!=typeof navigator&&(n=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage)&&(t.locale=n.toLowerCase());return t})},"dojo/_base/lang":function(){define(["./kernel",
"../has","../sniff"],function(t,x){x.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var w=x("bug-for-in-skips-shadowed")?"hasOwnProperty valueOf isPrototypeOf propertyIsEnumerable toLocaleString toString constructor".split(" "):[],n=w.length,h=function(a,b,e){e||(e=a[0]&&t.scopeMap[a[0]]?t.scopeMap[a.shift()][1]:t.global);try{for(var k=0;k<a.length;k++){var r=a[k];if("__proto__"===r||"constructor"===r)return;if(!(r in e))if(b)e[r]={};else return;e=e[r]}return e}catch(q){}},
f=Object.prototype.toString,g=function(a,b,e){return(e||[]).concat(Array.prototype.slice.call(a,b||0))},d=/\{([^\}]+)\}/g,c={_extraNames:w,_mixin:function(a,b,e){var k,r={};for(l in b){var q=b[l];l in a&&(a[l]===q||l in r&&r[l]===q)||(a[l]=e?e(q):q)}if(x("bug-for-in-skips-shadowed")&&b)for(k=0;k<n;++k){var l=w[k];q=b[l];l in a&&(a[l]===q||l in r&&r[l]===q)||(a[l]=e?e(q):q)}return a},mixin:function(a,b){a||(a={});for(var e=1,k=arguments.length;e<k;e++)c._mixin(a,arguments[e]);return a},setObject:function(a,
b,e){var k=a.split(".");a=k.pop();return(e=h(k,!0,e))&&a?e[a]=b:void 0},getObject:function(a,b,e){return a?h(a.split("."),b,e):e},exists:function(a,b){return void 0!==c.getObject(a,!1,b)},isString:function(a){return"string"==typeof a||a instanceof String},isArray:Array.isArray||function(a){return"[object Array]"==f.call(a)},isFunction:function(a){return"[object Function]"===f.call(a)},isObject:function(a){return void 0!==a&&(null===a||"object"==typeof a||c.isArray(a)||c.isFunction(a))},isArrayLike:function(a){return!!a&&
!c.isString(a)&&!c.isFunction(a)&&!(a.tagName&&"form"==a.tagName.toLowerCase())&&(c.isArray(a)||isFinite(a.length))},isAlien:function(a){return a&&!c.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(String(a))},extend:function(a,b){for(var e=1,k=arguments.length;e<k;e++)c._mixin(a.prototype,arguments[e]);return a},_hitchArgs:function(a,b){var e=c._toArray(arguments,2),k=c.isString(b);return function(){var r=c._toArray(arguments),q=k?(a||t.global)[b]:b;return q&&q.apply(a||this,e.concat(r))}},hitch:function(a,
b){if(2<arguments.length)return c._hitchArgs.apply(t,arguments);b||(b=a,a=null);if(c.isString(b)){a=a||t.global;if(!a[b])throw['lang.hitch: scope["',b,'"] is null (scope\x3d"',a,'")'].join("");return function(){return a[b].apply(a,arguments||[])}}return a?function(){return b.apply(a,arguments||[])}:b},delegate:function(){function a(){}return function(b,e){a.prototype=b;b=new a;a.prototype=null;e&&c._mixin(b,e);return b}}(),_toArray:x("ie")?function(){function a(b,e,k){k=k||[];for(e=e||0;e<b.length;e++)k.push(b[e]);
return k}return function(b){return(b.item?a:g).apply(this,arguments)}}():g,partial:function(a){return c.hitch.apply(t,[null].concat(c._toArray(arguments)))},clone:function(a){if(!a||"object"!=typeof a||c.isFunction(a))return a;if(a.nodeType&&"cloneNode"in a)return a.cloneNode(!0);if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return new RegExp(a);var b;if(c.isArray(a)){var e=[];var k=0;for(b=a.length;k<b;++k)k in a&&(e[k]=c.clone(a[k]))}else e=a.constructor?new a.constructor:
{};return c._mixin(e,a,c.clone)},trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,b,e){return a.replace(e||d,c.isFunction(b)?b:function(k,r){return c.getObject(r,!1,b)})}};c.mixin(t,c);return c})},"dojo/sniff":function(){define(["./has"],function(t){var x=navigator,w=x.userAgent;x=x.appVersion;var n=parseFloat(x);t.add("air",0<=w.indexOf("AdobeAIR"));t.add("wp",parseFloat(w.split("Windows Phone")[1])||void 0);
t.add("msapp",parseFloat(w.split("MSAppHost/")[1])||void 0);t.add("khtml",0<=x.indexOf("Konqueror")?n:void 0);t.add("edge",parseFloat(w.split("Edge/")[1])||void 0);t.add("opr",parseFloat(w.split("OPR/")[1])||void 0);t.add("webkit",!t("wp")&&!t("edge")&&parseFloat(w.split("WebKit/")[1])||void 0);t.add("chrome",!t("edge")&&!t("opr")&&parseFloat(w.split("Chrome/")[1])||void 0);t.add("android",!t("wp")&&parseFloat(w.split("Android ")[1])||void 0);t.add("safari",!(0<=x.indexOf("Safari"))||t("wp")||t("chrome")||
t("android")||t("edge")||t("opr")?void 0:parseFloat(x.split("Version/")[1]));t.add("mac",0<=x.indexOf("Macintosh"));t.add("quirks","BackCompat"==document.compatMode);if(!t("wp")&&w.match(/(iPhone|iPod|iPad)/)){var h=RegExp.$1.replace(/P/,"p"),f=w.match(/OS ([\d_]+)/)?RegExp.$1:"1";f=parseFloat(f.replace(/_/,".").replace(/_/g,""));t.add(h,f);t.add("ios",f)}t.add("bb",(0<=w.indexOf("BlackBerry")||0<=w.indexOf("BB10"))&&parseFloat(w.split("Version/")[1])||void 0);t.add("trident",parseFloat(x.split("Trident/")[1])||
void 0);t.add("svg","undefined"!==typeof SVGAngle);t("webkit")||(0<=w.indexOf("Opera")&&t.add("opera",9.8<=n?parseFloat(w.split("Version/")[1])||n:n),!(0<=w.indexOf("Gecko"))||t("wp")||t("khtml")||t("trident")||t("edge")||t.add("mozilla",n),t("mozilla")&&t.add("ff",parseFloat(w.split("Firefox/")[1]||w.split("Minefield/")[1])||void 0),document.all&&!t("opera")&&(w=parseFloat(x.split("MSIE ")[1])||void 0,(x=document.documentMode)&&5!=x&&Math.floor(w)!=x&&(w=x),t.add("ie",w)),t.add("wii","undefined"!=
typeof opera&&opera.wiiremote));return t})},"dojo/loadInit":function(){define(["./_base/loader"],function(t){return{dynamic:0,normalize:function(x){return x},load:t.loadInit}})},"dojo/_base/loader":function(){define("./kernel ../has require module ../json ./lang ./array".split(" "),function(t,x,w,n,h,f,g){var d=function(O){return O.replace(/\./g,"/")},c=/\/\/>>built/,a=[],b=[],e=function(O,P,X){a.push(X);g.forEach(O.split(","),function(Y){Y=D(Y,P.module);b.push(Y);G(Y)});k()},k=function(){var O;for(O in v){var P=
v[O];void 0===P.noReqPluginCheck&&(P.noReqPluginCheck=/loadInit!/.test(O)||/require!/.test(O)?1:0);if(!P.executed&&!P.noReqPluginCheck&&P.injected==A)return}N(function(){var X=a;a=[];g.forEach(X,function(Y){Y(1)})})},r=/\/\/.*|\/\*[\s\S]*?\*\/|("(?:\\.|[^"])*"|'(?:\\.|[^'])*'|`(?:\\.|[^`])*`)/mg,q=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,l=/(^|\s)(require|define)\s*\(/m,m=function(O,P){var X=[],Y=[];var ba=[];for(P=P||O.replace(r,
"$1");ba=q.exec(P);){var ea=q.lastIndex;var na=ea-ba[0].length;var qa=void 0,va=P,pa=/\(|\)/g,sa=1;for(pa.lastIndex=ea;(qa=pa.exec(va))&&(sa=")"==qa[0]?sa-1:sa+1,0!=sa););if(0!=sa)throw"unmatched paren around character "+pa.lastIndex+" in: "+va;ea=[t.trim(va.substring(na,pa.lastIndex))+";\n",pa.lastIndex];"loadInit"==ba[2]?X.push(ea[0]):Y.push(ea[0]);q.lastIndex=ea[1]}ba=X.concat(Y);return ba.length||!l.test(P)?[O.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 \x26\x26 dojo.loadInit("),ba.join(""),ba]:
0},p=w.initSyncLoader(e,k,function(O,P){var X,Y=[],ba=[];if(c.test(P)||!(X=m(P)))return 0;P=O.mid+"-*loadInit";for(var ea in D("dojo",O).result.scopeMap)Y.push(ea),ba.push('"'+ea+'"');return"// xdomain rewrite of "+O.mid+"\ndefine('"+P+"',{\n\tnames:"+h.stringify(Y)+",\n\tdef:function("+Y.join(",")+"){"+X[1]+"}});\n\ndefine("+h.stringify(Y.concat(["dojo/loadInit!"+P]))+", function("+Y.join(",")+"){\n"+X[0]+"});"}),u=p.sync,A=p.requested,z=p.arrived,E=p.nonmodule,y=p.executing,B=p.executed,I=p.syncExecStack,
v=p.modules,F=p.execQ,D=p.getModule,G=p.injectModule,J=p.setArrived,C=p.signal,H=p.finishExec,M=p.execModule,L=p.getLegacyMode,N=p.guardCheckComplete;e=p.dojoRequirePlugin;t.provide=function(O){var P=I[0],X=f.mixin(D(d(O),w.module),{executed:y,result:f.getObject(O,!0)});J(X);P&&(P.provides||(P.provides=[])).push(function(){X.result=f.getObject(O);delete X.provides;X.executed!==B&&H(X)});return X.result};x.add("config-publishRequireResult",1,0,0);t.require=function(O,P){P=function(X,Y){var ba=D(d(X),
w.module);if(I.length&&I[0].finish)I[0].finish.push(X);else{if(ba.executed)return ba.result;Y&&(ba.result=E);Y=L();G(ba);Y=L();ba.executed!==B&&ba.injected===z&&p.guardCheckComplete(function(){M(ba)});if(ba.executed)return ba.result;Y==u?ba.cjs?F.unshift(ba):I.length&&(I[0].finish=[X]):F.push(ba)}}(O,P);x("config-publishRequireResult")&&!f.exists(O)&&void 0!==P&&f.setObject(O,P);return P};t.loadInit=function(O){O()};t.registerModulePath=function(O,P){var X={};X[O.replace(/\./g,"/")]=P;w({paths:X})};
t.platformRequire=function(O){O=(O.common||[]).concat(O[t._name]||O["default"]||[]);for(var P;O.length;)f.isArray(P=O.shift())?t.require.apply(t,P):t.require(P)};t.requireIf=t.requireAfterIf=function(O,P,X){O&&t.require(P,X)};t.requireLocalization=function(O,P,X){w(["../i18n"],function(Y){Y.getLocalization(O,P,X)})};return{extractLegacyApiApplications:m,require:e,loadInit:function(O,P,X){P([O],function(Y){P(Y.names,function(){for(var ba="",ea=[],na=0;na<arguments.length;na++)ba+="var "+Y.names[na]+
"\x3d arguments["+na+"]; ",ea.push(arguments[na]);eval(ba);var qa=P.module,va=[],pa;ba={provide:function(ja){ja=d(ja);ja=D(ja,qa);ja!==qa&&J(ja)},require:function(ja,wa){ja=d(ja);wa&&(D(ja,qa).result=E);va.push(ja)},requireLocalization:function(ja,wa,ya){pa||(pa=["dojo/i18n"]);ya=(ya||t.locale).toLowerCase();ja=d(ja)+"/nls/"+(/root/i.test(ya)?"":ya+"/")+d(wa);D(ja,qa).isXd&&pa.push("dojo/i18n!"+ja)},loadInit:function(ja){ja()}};na={};var sa;try{for(sa in ba)na[sa]=t[sa],t[sa]=ba[sa];Y.def.apply(null,
ea)}catch(ja){C("error",[{src:n.id,id:"failedDojoLoadInit"},ja])}finally{for(sa in ba)t[sa]=na[sa]}pa&&(va=va.concat(pa));va.length?e(va.join(","),P,X):X()})})}}})},"dojo/json":function(){define(["./has"],function(t){var x="undefined"!=typeof JSON;t.add("json-parse",x);t.add("json-stringify",x&&'{"a":1}'==JSON.stringify({a:0},function(n,h){return h||1}));if(t("json-stringify"))return JSON;var w=function(n){return('"'+n.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:t("json-parse")?JSON.parse:function(n,h){if(h&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(n))throw new SyntaxError("Invalid characters in JSON");return eval("("+n+")")},stringify:function(n,h,f){function g(c,a,b){h&&(c=h(b,c));var e=typeof c;if("number"==e)return isFinite(c)?c+"":"null";if("boolean"==e)return c+"";if(null===c)return"null";if("string"==typeof c)return w(c);
if("function"==e||"undefined"==e)return d;if("function"==typeof c.toJSON)return g(c.toJSON(b),a,b);if(c instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(p,u,A){p=c["getUTC"+u]()+(A?1:0);return 10>p?"0"+p:p});if(c.valueOf()!==c)return g(c.valueOf(),a,b);var k=f?a+f:"",r=f?" ":"",q=f?"\n":"";if(c instanceof Array){r=c.length;var l=[];for(b=0;b<r;b++)e=g(c[b],k,b),"string"!=typeof e&&(e="null"),l.push(q+k+e);return"["+l.join(",")+q+
a+"]"}l=[];for(b in c)if(c.hasOwnProperty(b)){if("number"==typeof b)var m='"'+b+'"';else if("string"==typeof b)m=w(b);else continue;e=g(c[b],k,b);"string"==typeof e&&l.push(q+k+m+":"+r+e)}return"{"+l.join(",")+q+a+"}"}var d;"string"==typeof h&&(f=h,h=null);return g(n,"","")}}})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(t,x,w){function n(a){var b=!a;return function(e,k,r){var q=0,l=e&&e.length||0;l&&"string"==typeof e&&(e=e.split(""));if("string"==typeof k){if(x("csp-restrictions"))throw new TypeError("callback must be a function");
k=f[k]||d(k)}if(r)for(;q<l;++q){var m=!k.call(r,e[q],q,e);if(a^m)return!m}else for(;q<l;++q)if(m=!k(e[q],q,e),a^m)return!m;return b}}function h(a){var b=1,e=0,k=0;a||(b=e=k=-1);return function(r,q,l,m){if(m&&0<b)return c.lastIndexOf(r,q,l);m=r&&r.length||0;var p=a?m+k:e;l===g?l=a?e:m+k:0>l?(l=m+l,0>l&&(l=e)):l=l>=m?m+k:l;for(m&&"string"==typeof r&&(r=r.split(""));l!=p;l+=b)if(r[l]==q)return l;return-1}}var f={},g,d;x("csp-restrictions")||(d=function(a){return f[a]=new Function("item","index","array",
a)});var c={every:n(!1),some:n(!0),indexOf:h(!0),lastIndexOf:h(!1),forEach:function(a,b,e){var k=0,r=a&&a.length||0;r&&"string"==typeof a&&(a=a.split(""));if("string"==typeof b){if(x("csp-restrictions"))throw new TypeError("callback must be a function");b=f[b]||d(b)}if(e)for(;k<r;++k)b.call(e,a[k],k,a);else for(;k<r;++k)b(a[k],k,a)},map:function(a,b,e,k){var r=0,q=a&&a.length||0;k=new (k||Array)(q);q&&"string"==typeof a&&(a=a.split(""));if("string"==typeof b){if(x("csp-restrictions"))throw new TypeError("callback must be a function");
b=f[b]||d(b)}if(e)for(;r<q;++r)k[r]=b.call(e,a[r],r,a);else for(;r<q;++r)k[r]=b(a[r],r,a);return k},filter:function(a,b,e){var k=0,r=a&&a.length||0,q=[];r&&"string"==typeof a&&(a=a.split(""));if("string"==typeof b){if(x("csp-restrictions"))throw new TypeError("callback must be a function");b=f[b]||d(b)}if(e)for(;k<r;++k){var l=a[k];b.call(e,l,k,a)&&q.push(l)}else for(;k<r;++k)l=a[k],b(l,k,a)&&q.push(l);return q},clearCache:function(){f={}}};w.mixin(t,c);return c})},"dojo/require":function(){define(["./_base/loader"],
function(t){return{dynamic:0,normalize:function(x){return x},load:t.require}})},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(t,x,w,n){var h=function(a,b,e){n(a,{sync:!!b,headers:{"X-Requested-With":null}}).then(e)};var f={},g=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={},c={};t.cache=function(a,b,e){if("string"==typeof a)if(/\//.test(a)){var k=
a;e=b}else k=x.toUrl(a.replace(/\./g,"/")+(b?"/"+b:""));else k=a+"",e=b;a=void 0!=e&&"string"!=typeof e?e.value:e;e=e&&e.sanitize;if("string"==typeof a)return f[k]=a,e?g(a):a;if(null===a)return delete f[k],null;k in f||h(k,!0,function(r){f[k]=r});return e?g(f[k]):f[k]};return{dynamic:!0,normalize:function(a,b){a=a.split("!");var e=a[0];return(/^\./.test(e)?b(e):e)+(a[1]?"!"+a[1]:"")},load:function(a,b,e){a=a.split("!");var k=1<a.length,r=a[0],q=b.toUrl(a[0]);a="url:"+q;var l=d,m=function(u){e(k?g(u):
u)};r in f?l=f[r]:b.cache&&a in b.cache?l=b.cache[a]:q in f&&(l=f[q]);if(l===d)if(c[q])c[q].push(m);else{var p=c[q]=[m];h(q,!b.async,function(u){f[r]=f[q]=u;for(var A=0;A<p.length;)p[A++](u);delete c[q]})}else m(l)}}})},"dojo/request":function(){define(["./request/default!"],function(t){return t})},"dojo/request/default":function(){define(["exports","require","../has"],function(t,x,w){var n=w("config-requestProvider");n||(n="./xhr");t.getPlatformDefaultId=function(){return"./xhr"};t.load=function(h,
f,g,d){x(["platform"==h?"./xhr":n],function(c){g(c)})}})},"dojo/i18n":function(){define("./_base/kernel require ./has ./_base/array ./_base/config ./_base/lang ./_base/xhr ./json module".split(" "),function(t,x,w,n,h,f,g,d,c){w.add("dojo-preload-i18n-Api",1);var a=t.i18n={},b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,e=function(D,G,J,C){var H=[J+C];G=G.split("-");for(var M="",L=0;L<G.length;L++)if(M+=(M?"-":"")+G[L],!D||D[M])H.push(J+M+"/"+C),H.specificity=M;return H},k={},r=function(D,G,J){J=J?J.toLowerCase():
t.locale;D=D.replace(/\./g,"/");G=G.replace(/\./g,"/");return/root/i.test(J)?D+"/nls/"+G:D+"/nls/"+J+"/"+G},q=t.getL10nName=function(D,G,J){return D=c.id+"!"+r(D,G,J)},l=function(D,G,J,C,H,M){D([G],function(L){var N=f.clone(L.root||L.ROOT),O=e(!L._v1x&&L,H,J,C);D(O,function(){for(var P=1;P<O.length;P++)N=f.mixin(f.clone(N),arguments[P]);k[G+"/"+H]=N;N.$locale=O.specificity;M()})})},m=function(D){var G=h.extraLocale||[];G=f.isArray(G)?G:[G];G.push(D);return G},p=function(D,G,J){var C=b.exec(D),H=C[1]+
"/",M=C[5]||C[4],L=H+M,N=(C=C[5]&&C[4])||t.locale||"",O=L+"/"+N;C=C?[N]:m(N);var P=C.length,X=function(){--P||J(f.delegate(k[O]))};N=D.split("*");var Y="preload"==N[1];if(w("dojo-preload-i18n-Api")){if(Y&&(k[D]||(k[D]=1,E(N[2],d.parse(N[3]),1,G)),J(1)),(N=Y)||(A&&z.push([D,G,J]),N=A&&!k[O]),N)return}else if(Y){J(1);return}n.forEach(C,function(ba){var ea=L+"/"+ba;w("dojo-preload-i18n-Api")&&y(ea);k[ea]?X():l(G,L,H,M,ba,X)})};w("dojo-preload-i18n-Api");var u=a.normalizeLocale=function(D){D=D?D.toLowerCase():
t.locale;return"root"==D?"ROOT":D},A=0,z=[],E=a._preloadLocalizations=function(D,G,J,C){function H(O,P){C.isXdUrl(x.toUrl(O+".js"))||J?C([O],P):F([O],P,C)}function M(O,P){for(O=O.split("-");O.length;){if(P(O.join("-")))return;O.pop()}P("ROOT")}function L(){for(--A;!A&&z.length;)p.apply(null,z.shift())}function N(O){O=u(O);M(O,function(P){if(0<=n.indexOf(G,P)){var X=D.replace(/\./g,"/")+"_"+P;A++;H(X,function(Y){for(var ba in Y){var ea=Y[ba],na=ba.match(/(.+)\/([^\/]+)$/);if(na){var qa=na[2];na=na[1]+
"/";if(ea._localized){var va;if("ROOT"===P){var pa=va=ea._localized;delete ea._localized;pa.root=ea;k[x.toAbsMid(ba)]=pa}else va=ea._localized,k[x.toAbsMid(na+qa+"/"+P)]=ea;P!==O&&function(sa,ja,wa,ya){var Q=[],R=[];M(O,function(T){ya[T]&&(Q.push(x.toAbsMid(sa+T+"/"+ja)),R.push(x.toAbsMid(sa+ja+"/"+T)))});Q.length?(A++,C(Q,function(){for(var T=Q.length-1;0<=T;T--)wa=f.mixin(f.clone(wa),arguments[T]),k[R[T]]=wa;k[x.toAbsMid(sa+ja+"/"+O)]=f.clone(wa);L()})):k[x.toAbsMid(sa+ja+"/"+O)]=wa}(na,qa,ea,va)}}}L()});
return!0}return!1})}C=C||x;N();n.forEach(t.config.extraLocale,N)},y=function(){},B={},I={},v,F=function(D,G,J){var C=[];n.forEach(D,function(H){function M(O){v||(v=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;}"));
O=v(O,y,H,B);O===B?C.push(k[L]=B.result):(O instanceof Error&&(O={}),C.push(k[L]=/nls\/[^\/]+\/[^\/]+$/.test(L)?O:{root:O,_v1x:1}))}var L=J.toUrl(H+".js");if(k[L])C.push(k[L]);else{var N=J.syncLoadNls(H);N||(N=y(H.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1")));if(N)C.push(N);else if(g)g.get({url:L,sync:!0,load:M,error:function(){C.push(k[L]={})}});else try{J.getText(L,!0,M)}catch(O){C.push(k[L]={})}}});G&&G.apply(null,C)};y=function(D){for(var G,J=D.split("/"),C=t.global[J[0]],H=1;C&&H<J.length-
1;C=C[J[H++]]);C&&((G=C[J[H]])||(G=C[J[H].replace(/-/g,"_")]),G&&(k[D]=G));return G};a.getLocalization=function(D,G,J){var C,H=r(D,G,J);if(I[H])return I[H];p(H,x.isXdUrl(x.toUrl(H+".js"))?x:function(M,L){F(M,L,x)},function(M){C=I[H]=M});return C};return f.mixin(a,{dynamic:!0,normalize:function(D,G){return/^\./.test(D)?G(D):D},load:p,cache:k,getL10nName:q})})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l){t._xhrObj=q._create;var m=t.config;t.objectToQuery=n.objectToQuery;t.queryToObject=n.queryToObject;t.fieldToObject=f.fieldToObject;t.formToObject=f.toObject;t.formToQuery=f.toQuery;t.formToJson=f.toJson;t._blockAsync=!1;x.add("native-xhr2-blob",function(){if(x("native-xhr2")){var y=new XMLHttpRequest;y.open("GET","/",!0);y.responseType="blob";var B=y.responseType;y.abort();return"blob"===B}});var p=t._contentHandlers=t.contentHandlers={text:function(y){return y.responseText},
json:function(y){return c.fromJson(y.responseText||null)},"json-comment-filtered":function(y){y=y.responseText;var B=y.indexOf("/*"),I=y.lastIndexOf("*/");if(-1==B||-1==I)throw Error("JSON was not comment filtered");return c.fromJson(y.substring(B+2,I))},javascript:function(y){return t.eval(y.responseText)},xml:function(y){var B=y.responseXML;B&&x("dom-qsa2.1")&&!B.querySelectorAll&&x("dom-parser")&&(B=(new DOMParser).parseFromString(y.responseText,"application/xml"));if(x("ie")&&(!B||!B.documentElement)){var I=
function(v){return"MSXML"+v+".DOMDocument"};I=["Microsoft.XMLDOM",I(6),I(4),I(3),I(2)];b.some(I,function(v){try{var F=new ActiveXObject(v);F.async=!1;F.loadXML(y.responseText);B=F}catch(D){return!1}return!0})}return B},"json-comment-optional":function(y){return y.responseText&&/^[^{\[]*\/\*/.test(y.responseText)?p["json-comment-filtered"](y):p.json(y)}};x("native-xhr2")&&(p.arraybuffer=p.blob=p.document=function(y,B){return"blob"!==B.args.handleAs||x("native-xhr2-blob")?y.response:new Blob([y.response],
{type:y.getResponseHeader("Content-Type")})});t._ioSetArgs=function(y,B,I,v){var F={args:y,url:y.url},D=null;if(y.form){D=h.byId(y.form);var G=D.getAttributeNode("action");F.url=F.url||(G?G.value:t.doc?t.doc.URL:null);D=f.toObject(D)}G={};D&&a.mixin(G,D);y.content&&a.mixin(G,y.content);y.preventCache&&(G["dojo.preventCache"]=(new Date).valueOf());F.query=n.objectToQuery(G);F.handleAs=y.handleAs||"text";var J=new g(function(L){L.canceled=!0;B&&B(L);var N=L.ioArgs.error;N||(N=Error("request cancelled"),
N.dojoType="cancel",L.ioArgs.error=N);return N});J.addCallback(I);var C=y.load;C&&a.isFunction(C)&&J.addCallback(function(L){return C.call(y,L,F)});var H=y.error;H&&a.isFunction(H)&&J.addErrback(function(L){return H.call(y,L,F)});var M=y.handle;M&&a.isFunction(M)&&J.addBoth(function(L){return M.call(y,L,F)});J.addErrback(function(L){return v(L,J)});m.ioPublish&&t.publish&&!1!==F.args.ioPublish&&(J.addCallbacks(function(L){t.publish("/dojo/io/load",[J,L]);return L},function(L){t.publish("/dojo/io/error",
[J,L]);return L}),J.addBoth(function(L){t.publish("/dojo/io/done",[J,L]);return L}));J.ioArgs=F;return J};var u=function(y){y=p[y.ioArgs.handleAs](y.ioArgs.xhr,y.ioArgs);return void 0===y?null:y},A=function(y,B){return y},z=function(y){0>=E&&(E=0,m.ioPublish&&t.publish&&(!y||y&&!1!==y.ioArgs.args.ioPublish)&&t.publish("/dojo/io/stop"))},E=0;k.after(r,"_onAction",function(){--E});k.after(r,"_onInFlight",z);t._ioCancelAll=r.cancelAll;t._ioNotifyStart=function(y){m.ioPublish&&t.publish&&!1!==y.ioArgs.args.ioPublish&&
(E||t.publish("/dojo/io/start"),E+=1,t.publish("/dojo/io/send",[y]))};t._ioWatch=function(y,B,I,v){y.ioArgs.options=y.ioArgs.args;a.mixin(y,{response:y.ioArgs,isValid:function(F){return B(y)},isReady:function(F){return I(y)},handleResponse:function(F){return v(y)}});r(y);z(y)};t._ioAddQueryToUrl=function(y){y.query.length&&(y.url+=(-1==y.url.indexOf("?")?"?":"\x26")+y.query,y.query=null)};t.xhr=function(y,B,I){var v=t._ioSetArgs(B,function(J){G&&G.cancel()},u,A),F=v.ioArgs;"postData"in B?F.query=
B.postData:"putData"in B?F.query=B.putData:"rawBody"in B?F.query=B.rawBody:(2<arguments.length&&!I||-1==="POST|PUT".indexOf(y.toUpperCase()))&&t._ioAddQueryToUrl(F);var D;x("native-xhr2")&&(D={arraybuffer:1,blob:1,document:1});D=D[B.handleAs]?B.handleAs:"text";"blob"!==D||x("native-xhr2-blob")||(D="arraybuffer");D={method:y,handleAs:D,responseType:B.responseType,timeout:B.timeout,withCredentials:B.withCredentials,ioArgs:F};"undefined"!==typeof B.headers&&(D.headers=B.headers);"undefined"!==typeof B.contentType&&
(D.headers||(D.headers={}),D.headers["Content-Type"]=B.contentType);"undefined"!==typeof F.query&&(D.data=F.query);"undefined"!==typeof B.sync&&(D.sync=B.sync);t._ioNotifyStart(v);try{var G=q(F.url,D,!0)}catch(J){return v.cancel(),v}v.ioArgs.xhr=G.response.xhr;G.then(function(){v.resolve(v)}).otherwise(function(J){F.error=J;J.response&&(J.status=J.response.status,J.responseText=J.response.text,J.xhr=J.response.xhr);v.reject(J)});return v};t.xhrGet=function(y){return t.xhr("GET",y)};t.rawXhrPost=t.xhrPost=
function(y){return t.xhr("POST",y,!0)};t.rawXhrPut=t.xhrPut=function(y){return t.xhr("PUT",y,!0)};t.xhrDelete=function(y){return t.xhr("DELETE",y)};t._isDocumentOk=function(y){return l.checkStatus(y.status)};t._getText=function(y){var B;t.xhrGet({url:y,sync:!0,load:function(I){B=I}});return B};a.mixin(t.xhr,{_xhrObj:t._xhrObj,fieldToObject:f.fieldToObject,formToObject:f.toObject,objectToQuery:n.objectToQuery,formToQuery:f.toQuery,formToJson:f.toJson,queryToObject:n.queryToObject,contentHandlers:p,
_ioSetArgs:t._ioSetArgs,_ioCancelAll:t._ioCancelAll,_ioNotifyStart:t._ioNotifyStart,_ioWatch:t._ioWatch,_ioAddQueryToUrl:t._ioAddQueryToUrl,_isDocumentOk:t._isDocumentOk,_getText:t._getText,get:t.xhrGet,post:t.xhrPost,put:t.xhrPut,del:t.xhrDelete});return t.xhr})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(t,x,w){t._name="browser";x.mixin(t,{isBrowser:!0,isFF:w("ff"),isIE:w("ie"),isKhtml:w("khtml"),isWebKit:w("webkit"),isMozilla:w("mozilla"),isMoz:w("mozilla"),
isOpera:w("opera"),isSafari:w("safari"),isChrome:w("chrome"),isMac:w("mac"),isIos:w("ios"),isAndroid:w("android"),isWii:w("wii"),isQuirks:w("quirks"),isAir:w("air")});return w})},"dojo/io-query":function(){define(["./_base/lang"],function(t){var x={};return{objectToQuery:function(w){var n=encodeURIComponent,h=[],f;for(f in w){var g=w[f];if(g!=x[f]){var d=n(f)+"\x3d";if(t.isArray(g))for(var c=0,a=g.length;c<a;++c)h.push(d+n(g[c]));else h.push(d+n(g))}}return h.join("\x26")},queryToObject:function(w){var n=
decodeURIComponent;w=w.split("\x26");for(var h={},f,g,d=0,c=w.length;d<c;++d)if(g=w[d],g.length){var a=g.indexOf("\x3d");0>a?(f=n(g),g=""):(f=n(g.slice(0,a)),g=n(g.slice(a+1)));"string"==typeof h[f]&&(h[f]=[h[f]]);t.isArray(h[f])?h[f].push(g):h[f]=g}return h}}})},"dojo/dom":function(){define(["./sniff","./_base/window","./_base/kernel"],function(t,x,w){if(7>=t("ie"))try{document.execCommand("BackgroundImageCache",!1,!0)}catch(f){}var n={};t("ie")?n.byId=function(f,g){if("string"!=typeof f)return f||
null;var d=g||x.doc;g=f&&d.getElementById(f);if(!g||g.attributes.id.value!=f&&g.id!=f){d=d.all[f];if(!d||d.nodeName)d=[d];for(var c=0;g=d[c++];)if(g.attributes&&g.attributes.id&&g.attributes.id.value==f||g.id==f)return g}else return g;return null}:n.byId=function(f,g){return("string"==typeof f?(g||x.doc).getElementById(f):f)||null};w=w.global.document||null;t.add("dom-contains",!(!w||!w.contains));n.isDescendant=t("dom-contains")?function(f,g){return!(!(g=n.byId(g))||!g.contains(n.byId(f)))}:function(f,
g){try{for(f=n.byId(f),g=n.byId(g);f;){if(f==g)return!0;f=f.parentNode}}catch(d){}return!1};t.add("css-user-select",function(f,g,d){if(!d)return!1;f=d.style;g=["Khtml","O","Moz","Webkit"];d=g.length;var c="userSelect";do if("undefined"!==typeof f[c])return c;while(d--&&(c=g[d]+"UserSelect"));return!1});var h=t("css-user-select");n.setSelectable=h?function(f,g){n.byId(f).style[h]=g?"":"none"}:function(f,g){f=n.byId(f);var d=f.getElementsByTagName("*"),c=d.length;if(g)for(f.removeAttribute("unselectable");c--;)d[c].removeAttribute("unselectable");
else for(f.setAttribute("unselectable","on");c--;)d[c].setAttribute("unselectable","on")};return n})},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(t,x,w){var n={global:t.global,doc:t.global.document||null,body:function(h){h=h||t.doc;return h.body||h.getElementsByTagName("body")[0]},setContext:function(h,f){t.global=n.global=h;t.doc=n.doc=f},withGlobal:function(h,f,g,d){var c=t.global;try{return t.global=n.global=h,n.withDoc.call(null,h.document,f,g,d)}finally{t.global=
n.global=c}},withDoc:function(h,f,g,d){var c=n.doc,a=w("quirks"),b=w("ie"),e,k;try{t.doc=n.doc=h;t.isQuirks=w.add("quirks","BackCompat"==t.doc.compatMode,!0,!0);if(w("ie")&&(k=h.parentWindow)&&k.navigator){var r=parseFloat(k.navigator.appVersion.split("MSIE ")[1])||void 0;(e=h.documentMode)&&5!=e&&Math.floor(r)!=e&&(r=e);t.isIE=w.add("ie",r,!0,!0)}g&&"string"==typeof f&&(f=g[f]);return f.apply(g,d||[])}finally{t.doc=n.doc=c,t.isQuirks=w.add("quirks",a,!0,!0),t.isIE=w.add("ie",b,!0,!0)}}};x.mixin(t,
n);return n})},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(t,x,w,n){var h={fieldToObject:function(f){var g=null;if(f=x.byId(f)){var d=f.name,c=(f.type||"").toLowerCase();if(d&&c&&!f.disabled)if("radio"==c||"checkbox"==c)f.checked&&(g=f.value);else if(f.multiple)for(g=[],f=[f.firstChild];f.length;)for(d=f.pop();d;d=d.nextSibling)if(1==d.nodeType&&"option"==d.tagName.toLowerCase())d.selected&&g.push(d.value);else{d.nextSibling&&f.push(d.nextSibling);d.firstChild&&
f.push(d.firstChild);break}else g=f.value}return g},toObject:function(f){var g={};f=x.byId(f).elements;for(var d=0,c=f.length;d<c;++d){var a=f[d],b=a.name,e=(a.type||"").toLowerCase();if(b&&e&&0>"file|submit|image|reset|button".indexOf(e)&&!a.disabled){var k=g,r=b;a=h.fieldToObject(a);if(null!==a){var q=k[r];"string"==typeof q?k[r]=[q,a]:t.isArray(q)?q.push(a):k[r]=a}"image"==e&&(g[b+".x"]=g[b+".y"]=g[b].x=g[b].y=0)}}return g},toQuery:function(f){return w.objectToQuery(h.toObject(f))},toJson:function(f,
g){return n.stringify(h.toObject(f),null,g?4:0)}};return h})},"dojo/_base/Deferred":function(){define("./kernel ../Deferred ../promise/Promise ../errors/CancelError ../has ./lang ../when".split(" "),function(t,x,w,n,h,f,g){var d=function(){},c=Object.freeze||function(){},a=t.Deferred=function(b){function e(y){if(q)throw Error("This deferred has already been resolved");r=y;q=!0;k()}function k(){for(var y;!y&&A;){var B=A;A=A.next;if(y=B.progress==d)q=!1;var I=p?B.error:B.resolved;h("config-useDeferredInstrumentation")&&
p&&x.instrumentRejected&&x.instrumentRejected(r,!!I);if(I)try{var v=I(r);v&&"function"===typeof v.then?v.then(f.hitch(B.deferred,"resolve"),f.hitch(B.deferred,"reject"),f.hitch(B.deferred,"progress")):(I=y&&void 0===v,y&&!I&&(p=v instanceof Error),B.deferred[I&&p?"reject":"resolve"](I?r:v))}catch(F){B.deferred.reject(F)}else p?B.deferred.reject(r):B.deferred.resolve(r)}}var r,q,l,m,p,u,A,z=this.promise=new w;this.isResolved=z.isResolved=function(){return 0==m};this.isRejected=z.isRejected=function(){return 1==
m};this.isFulfilled=z.isFulfilled=function(){return 0<=m};this.isCanceled=z.isCanceled=function(){return l};this.resolve=this.callback=function(y){this.fired=m=0;this.results=[y,null];e(y)};this.reject=this.errback=function(y){p=!0;this.fired=m=1;h("config-useDeferredInstrumentation")&&x.instrumentRejected&&x.instrumentRejected(y,!!A);e(y);this.results=[null,y]};this.progress=function(y){for(var B=A;B;){var I=B.progress;I&&I(y);B=B.next}};this.addCallbacks=function(y,B){this.then(y,B,d);return this};
z.then=this.then=function(y,B,I){var v=I==d?this:new a(z.cancel);y={resolved:y,error:B,progress:I,deferred:v};A?u=u.next=y:A=u=y;q&&k();return v.promise};var E=this;z.cancel=this.cancel=function(){if(!q){var y=b&&b(E);q||(y instanceof Error||(y=new n(y)),y.log=!1,E.reject(y))}l=!0};c(z)};f.extend(a,{addCallback:function(b){return this.addCallbacks(f.hitch.apply(t,arguments))},addErrback:function(b){return this.addCallbacks(null,f.hitch.apply(t,arguments))},addBoth:function(b){var e=f.hitch.apply(t,
arguments);return this.addCallbacks(e,e)},fired:-1});a.when=t.when=g;return a})},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(t,x,w,n,h){var f=Object.freeze||function(){},g=function(e,k,r,q,l){2===k&&b.instrumentRejected&&0===e.length&&b.instrumentRejected(r,!1,q,l);for(l=0;l<e.length;l++)d(e[l],k,r,q)},d=function(e,k,r,q){var l=e[k],m=e.deferred;if(l)try{var p=l(r);if(0===k)"undefined"!==typeof p&&a(m,k,
p);else{if(p&&"function"===typeof p.then){e.cancel=p.cancel;p.then(c(m,1),c(m,2),c(m,0));return}a(m,1,p)}}catch(u){a(m,2,u)}else a(m,k,r);2===k&&b.instrumentRejected&&b.instrumentRejected(r,!!l,q,m.promise)},c=function(e,k){return function(r){a(e,k,r)}},a=function(e,k,r){if(!e.isCanceled())switch(k){case 0:e.progress(r);break;case 1:e.resolve(r);break;case 2:e.reject(r)}},b=function(e){var k=this.promise=new n,r=this,q,l,m,p=!1,u=[];Error.captureStackTrace&&(Error.captureStackTrace(r,b),Error.captureStackTrace(k,
b));this.isResolved=k.isResolved=function(){return 1===q};this.isRejected=k.isRejected=function(){return 2===q};this.isFulfilled=k.isFulfilled=function(){return!!q};this.isCanceled=k.isCanceled=function(){return p};this.progress=function(z,E){if(q){if(!0===E)throw Error("This deferred has already been fulfilled.");return k}g(u,0,z,null,r);return k};this.resolve=function(z,E){if(q){if(!0===E)throw Error("This deferred has already been fulfilled.");return k}g(u,q=1,l=z,null,r);u=null;return k};var A=
this.reject=function(z,E){if(q){if(!0===E)throw Error("This deferred has already been fulfilled.");return k}Error.captureStackTrace&&Error.captureStackTrace(m={},A);g(u,q=2,l=z,m,r);u=null;return k};this.then=k.then=function(z,E,y){var B=[y,z,E];B.cancel=k.cancel;B.deferred=new b(function(I){return B.cancel&&B.cancel(I)});q&&!u?d(B,q,l,m):u.push(B);return B.deferred.promise};this.cancel=k.cancel=function(z,E){if(!q){e&&(E=e(z),z="undefined"===typeof E?z:E);p=!0;if(!q)return"undefined"===typeof z&&
(z=new w),A(z),z;if(2===q&&l===z)return z}else if(!0===E)throw Error("This deferred has already been fulfilled.");};f(k)};b.prototype.toString=function(){return"[object Deferred]"};h&&h(b);return b})},"dojo/errors/CancelError":function(){define(["./create"],function(t){return t("CancelError",null,null,{dojoType:"cancel",log:!1})})},"dojo/errors/create":function(){define(["../_base/lang"],function(t){return function(x,w,n,h){n=n||Error;var f=function(g){if(n===Error){Error.captureStackTrace&&Error.captureStackTrace(this,
f);var d=Error.call(this,g),c;for(c in d)d.hasOwnProperty(c)&&(this[c]=d[c]);this.message=g;this.stack=d.stack}else n.apply(this,arguments);w&&w.apply(this,arguments)};f.prototype=t.delegate(n.prototype,h);f.prototype.name=x;return f.prototype.constructor=f}})},"dojo/promise/Promise":function(){define(["../_base/lang"],function(t){function x(){throw new TypeError("abstract");}return t.extend(function(){},{then:function(w,n,h){x()},cancel:function(w,n){x()},isResolved:function(){x()},isRejected:function(){x()},
isFulfilled:function(){x()},isCanceled:function(){x()},"finally":function(w){return this.then(function(n){var h=w();return h&&"function"===typeof h.then?h.then(function(){return n}):n},function(n){var h=w();if(h&&"function"===typeof h.then)return h.then(function(){throw n;});throw n;})},always:function(w){return this.then(w,w)},"catch":function(w){return this.then(null,w)},otherwise:function(w){return this.then(null,w)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})})},
"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(t,x,w,n){function h(e,k,r){if(!e||!1!==e.log){var q="";e&&e.stack&&(q+=e.stack);k&&k.stack&&(q+="\n    ----------------------------------------\n    rejected"+k.stack.split("\n").slice(1).join("\n").replace(/^\s+/," "));r&&r.stack&&(q+="\n    ----------------------------------------\n"+r.stack)}}function f(e,k,r,q){k||h(e,r,q)}function g(e,k,r,q){n.some(c,function(l){if(l.error===e)return k&&
(l.handled=!0),!0})||c.push({error:e,rejection:r,handled:k,deferred:q,timestamp:(new Date).getTime()});a||(a=setTimeout(d,b))}function d(){var e=(new Date).getTime(),k=e-b;c=n.filter(c,function(r){return r.timestamp<k?(r.handled||h(r.error,r.rejection,r.deferred),!1):!0});a=c.length?setTimeout(d,c[0].timestamp+b-e):!1}x.add("config-useDeferredInstrumentation","report-unhandled-rejections");var c=[],a=!1,b=1E3;return function(e){var k=x("config-useDeferredInstrumentation");if(k){t.on("resolved",w.hitch(console,
"log","resolved"));t.on("rejected",w.hitch(console,"log","rejected"));t.on("progress",w.hitch(console,"log","progress"));var r=[];"string"===typeof k&&(r=k.split(","),k=r.shift());if("report-rejections"===k)e.instrumentRejected=f;else if("report-unhandled-rejections"===k||!0===k||1===k)e.instrumentRejected=g,b=parseInt(r[0],10)||b;else throw Error("Unsupported instrumentation usage \x3c"+k+"\x3e");}}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(t,
x,w){function n(g){setTimeout(function(){f.apply(h,g)},0)}var h=new w,f=h.emit;h.emit=null;x.prototype.trace=function(){var g=t._toArray(arguments);this.then(function(d){n(["resolved",d].concat(g))},function(d){n(["rejected",d].concat(g))},function(d){n(["progress",d].concat(g))});return this};x.prototype.traceRejected=function(){var g=t._toArray(arguments);this.otherwise(function(d){n(["rejected",d].concat(g))});return this};return h})},"dojo/Evented":function(){define(["./aspect","./on"],function(t,
x){function w(){}var n=t.after;w.prototype={on:function(h,f){return x.parse(this,h,f,function(g,d){return n(g,"on"+d,f,!0)})},emit:function(h,f){var g=[this];g.push.apply(g,arguments);return x.emit.apply(x,g)}};return w})},"dojo/aspect":function(){define([],function(){function t(g,d,c,a){var b=g[d],e="around"==d;if(e){var k=c(function(){return b.advice(this,arguments)});var r={remove:function(){k&&(k=g=c=null)},advice:function(q,l){return k?k.apply(q,l):b.advice(q,l)}}}else r={remove:function(){if(r.advice){var q=
r.previous,l=r.next;l||q?(q?q.next=l:g[d]=l,l&&(l.previous=q)):delete g[d];g=c=r.advice=null}},id:g.nextId++,advice:c,receiveArguments:a};if(b&&!e)if("after"==d){for(;b.next&&(b=b.next););b.next=r;r.previous=b}else"before"==d&&(g[d]=r,r.next=b,b.previous=r);else g[d]=r;return r}function x(g){return function(d,c,a,b){var e=d[c],k;e&&e.target==d||(d[c]=k=function(){for(var r=k.nextId,q=arguments,l=k.before;l;)l.advice&&(q=l.advice.apply(this,q)||q),l=l.next;if(k.around)var m=k.around.advice(this,q);
for(l=k.after;l&&l.id<r;){if(l.advice)if(l.receiveArguments){var p=l.advice.apply(this,q);m=p===w?m:p}else m=l.advice.call(this,m,q);l=l.next}return m},e&&(k.around={advice:function(r,q){return e.apply(r,q)}}),k.target=d,k.nextId=k.nextId||0);d=t(k||e,g,a,b);a=null;return d}}var w,n=x("after"),h=x("before"),f=x("around");return{before:h,around:f,after:n}})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(t,x,w){function n(B,I,v,F,D){if(F=I.match(/(.*):(.*)/))return I=
F[2],F=F[1],d.selector(F,I).call(D,B,v);w("touch")&&(c.test(I)&&(v=y(v)),w("event-orientationchange")||"orientationchange"!=I||(I="resize",B=window,v=y(v)));r&&(v=r(v));if(B.addEventListener){var G=I in e,J=G?e[I]:I;B.addEventListener(J,v,G);return{remove:function(){B.removeEventListener(J,v,G)}}}if(p&&B.attachEvent)return p(B,"on"+I,v);throw Error("Target must be an event emitter");}function h(){this.cancelable=!1;this.defaultPrevented=!0}function f(){this.bubbles=!1}var g=window.ScriptEngineMajorVersion;
w.add("jscript",g&&g()+ScriptEngineMinorVersion()/10);w.add("event-orientationchange",w("touch")&&!w("android"));w.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);w.add("event-focusin",function(B,I,v){return"onfocusin"in v});w("touch")&&w.add("touch-can-modify-event-delegate",function(){var B=function(){};B.prototype=document.createEvent("MouseEvents");try{var I=new B;I.target=null;return null===I.target}catch(v){return!1}});
var d=function(B,I,v,F){return"function"!=typeof B.on||"function"==typeof I||B.nodeType?d.parse(B,I,v,n,F,this):B.on(I,v)};d.pausable=function(B,I,v,F){var D;B=d(B,I,function(){if(!D)return v.apply(this,arguments)},F);B.pause=function(){D=!0};B.resume=function(){D=!1};return B};d.once=function(B,I,v,F){var D=d(B,I,function(){D.remove();return v.apply(this,arguments)});return D};d.parse=function(B,I,v,F,D,G){var J;if(I.call)return I.call(G,B,v);I instanceof Array?J=I:-1<I.indexOf(",")&&(J=I.split(/\s*,\s*/));
if(J){var C=[];I=0;for(var H;H=J[I++];)C.push(d.parse(B,H,v,F,D,G));C.remove=function(){for(var M=0;M<C.length;M++)C[M].remove()};return C}return F(B,I,v,D,G)};var c=/^touch/;d.matches=function(B,I,v,F,D){D=D&&"function"==typeof D.matches?D:x.query;F=!1!==F;1!=B.nodeType&&(B=B.parentNode);for(;!D.matches(B,I,v);)if(B==v||!1===F||!(B=B.parentNode)||1!=B.nodeType)return!1;return B};d.selector=function(B,I,v){return function(F,D){function G(H){return d.matches(H,B,F,v,J)}var J="function"==typeof B?{matches:B}:
this,C=I.bubble;return C?d(F,C(G),D):d(F,I,function(H){var M=G(H.target);if(M)return H.selectorTarget=M,D.call(M,H)})}};var a=[].slice,b=d.emit=function(B,I,v){var F=a.call(arguments,2),D="on"+I;if("parentNode"in B){var G=F[0]={},J;for(J in v)G[J]=v[J];G.preventDefault=h;G.stopPropagation=f;G.target=B;G.type=I;v=G}do B[D]&&B[D].apply(B,F);while(v&&v.bubbles&&(B=B.parentNode));return v&&v.cancelable&&v},e=w("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!w("event-stopimmediatepropagation"))var k=
function(){this.modified=this.immediatelyStopped=!0},r=function(B){return function(I){if(!I.immediatelyStopped)return I.stopImmediatePropagation=k,B.apply(this,arguments)}};if(w("dom-addeventlistener"))d.emit=function(B,I,v){if(B.dispatchEvent&&document.createEvent){var F=(B.ownerDocument||document).createEvent("HTMLEvents");F.initEvent(I,!!v.bubbles,!!v.cancelable);for(var D in v)D in F||(F[D]=v[D]);return B.dispatchEvent(F)&&F}return b.apply(d,arguments)};else{d._fixEvent=function(B,I){B||(B=(I&&
(I.ownerDocument||I.document||I).parentWindow||window).event);if(!B)return B;try{q&&B.type==q.type&&B.srcElement==q.target&&(B=q)}catch(v){}if(!B.target)switch(B.target=B.srcElement,B.currentTarget=I||B.srcElement,"mouseover"==B.type&&(B.relatedTarget=B.fromElement),"mouseout"==B.type&&(B.relatedTarget=B.toElement),B.stopPropagation||(B.stopPropagation=u,B.preventDefault=A),B.type){case "keypress":I="charCode"in B?B.charCode:B.keyCode,10==I?(I=0,B.keyCode=13):13==I||27==I?I=0:3==I&&(I=99),B.charCode=
I,I=B,I.keyChar=I.charCode?String.fromCharCode(I.charCode):"",I.charOrCode=I.keyChar||I.keyCode}return B};var q,l=function(B){this.handle=B};l.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var m=function(B){return function(I){I=d._fixEvent(I,this);var v=B.call(this,I);I.modified&&(q||setTimeout(function(){q=null}),q=I);return v}},p=function(B,I,v){v=m(v);if(((B.ownerDocument?B.ownerDocument.parentWindow:B.parentWindow||B.window||window)!=top||5.8>w("jscript"))&&!w("config-_allow_leaks")){"undefined"==
typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var F=B[I];if(!F||!F.listeners){var D=F;F=Function("event","var callee \x3d arguments.callee; for(var i \x3d 0; i\x3ccallee.listeners.length; i++){var listener \x3d _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}");F.listeners=[];B[I]=F;F.global=this;D&&F.listeners.push(_dojoIEListeners_.push(D)-1)}F.listeners.push(B=F.global._dojoIEListeners_.push(v)-1);return new l(B)}return t.after(B,I,v,!0)},u=function(){this.cancelBubble=
!0},A=d._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(B){}this.defaultPrevented=!0;this.returnValue=!1;this.modified=!0}}if(w("touch"))var z=function(){},E=window.orientation,y=function(B){return function(I){var v=I.corrected;if(!v){var F=I.type;try{delete I.type}catch(J){}if(I.type){if(w("touch-can-modify-event-delegate"))z.prototype=I,v=new z;else{v={};for(var D in I)v[D]=I[D]}v.preventDefault=function(){I.preventDefault()};v.stopPropagation=
function(){I.stopPropagation()}}else v=I,v.type=F;I.corrected=v;if("resize"==F){if(E==window.orientation)return null;E=window.orientation;v.type="orientationchange";return B.call(this,v)}"rotation"in v||(v.rotation=0,v.scale=1);if(window.TouchEvent&&I instanceof TouchEvent){F=v.changedTouches[0];for(var G in F)delete v[G],v[G]=F[G]}}return B.call(this,v)}};return d})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(t,x){return function(w,n,h,f){var g=w&&"function"===typeof w.then,
d=g&&w instanceof x;if(!g)return 1<arguments.length?n?n(w):w:(new t).resolve(w);d||(g=new t(w.cancel),w.then(g.resolve,g.reject,g.progress),w=g.promise);return n||h||f?w.then(n,h,f):w}})},"dojo/_base/json":function(){define(["./kernel","../json"],function(t,x){t.fromJson=function(w){return eval("("+w+")")};t._escapeString=x.stringify;t.toJsonIndentStr="\t";t.toJson=function(w,n){return x.stringify(w,function(h,f){return f&&(h=f.__json__||f.json,"function"==typeof h)?h.call(f):f},n&&t.toJsonIndentStr)};
return t})},"dojo/request/watch":function(){define("./util ../errors/RequestTimeoutError ../errors/CancelError ../_base/array ../_base/window ../has!host-browser?dom-addeventlistener?:../on:".split(" "),function(t,x,w,n,h,f){function g(){for(var b=+new Date,e=0,k;e<a.length&&(k=a[e]);e++){var r=k.response,q=r.options;k.isCanceled&&k.isCanceled()||k.isValid&&!k.isValid(r)?(a.splice(e--,1),d._onAction&&d._onAction()):k.isReady&&k.isReady(r)?(a.splice(e--,1),k.handleResponse(r),d._onAction&&d._onAction()):
k.startTime&&k.startTime+(q.timeout||0)<b&&(a.splice(e--,1),k.cancel(new x("Timeout exceeded",r)),d._onAction&&d._onAction())}d._onInFlight&&d._onInFlight(k);a.length||(clearInterval(c),c=null)}function d(b){b.response.options.timeout&&(b.startTime=+new Date);b.isFulfilled()||(a.push(b),c||(c=setInterval(g,50)),b.response.options.sync&&g())}var c=null,a=[];d.cancelAll=function(){try{n.forEach(a,function(b){try{b.cancel(new w("All requests canceled."))}catch(e){}})}catch(b){}};h&&f&&h.doc.attachEvent&&
f(h.global,"unload",function(){d.cancelAll()});return d})},"dojo/request/util":function(){define("exports ../errors/RequestError ../errors/CancelError ../Deferred ../io-query ../_base/array ../_base/lang ../promise/Promise ../has".split(" "),function(t,x,w,n,h,f,g,d,c){function a(q){return c("native-arraybuffer")&&q instanceof ArrayBuffer}function b(q){return c("native-blob")&&q instanceof Blob}function e(q){return r(q)}function k(q){return void 0!==q.data?q.data:q.text}t.deepCopy=function(q,l){for(var m in l){var p=
q[m],u=l[m];if("__proto__"!==m&&p!==u){var A=u,z;if(z=A&&"object"===typeof A)z=A,z=!(c("native-formdata")&&z instanceof FormData);!z||("undefined"!==typeof Element?A instanceof Element:1===A.nodeType)||b(A)||a(A)?q[m]=u:"[object Date]"===Object.prototype.toString.call(u)?q[m]=new Date(u):g.isArray(u)?q[m]=t.deepCopyArray(u):p&&"object"===typeof p?t.deepCopy(p,u):q[m]=t.deepCopy({},u)}}return q};t.deepCopyArray=function(q){for(var l=[],m=0,p=q.length;m<p;m++){var u=q[m];"object"===typeof u?l.push(t.deepCopy({},
u)):l.push(u)}return l};t.deepCreate=function(q,l){l=l||{};var m=g.delegate(q),p,u;for(p in q)(u=q[p])&&"object"===typeof u&&(m[p]=t.deepCreate(u,l[p]));return t.deepCopy(m,l)};var r=Object.freeze||function(q){return q};t.deferred=function(q,l,m,p,u,A){var z=new n(function(y){l&&l(z,q);return y&&(y instanceof x||y instanceof w)?y:new w("Request canceled",q)});z.response=q;z.isValid=m;z.isReady=p;z.handleResponse=u;m=z.then(e).otherwise(function(y){y.response=q;throw y;});t.notify&&m.then(g.hitch(t.notify,
"emit","load"),g.hitch(t.notify,"emit","error"));p=m.then(k);u=new d;for(var E in p)p.hasOwnProperty(E)&&(u[E]=p[E]);u.response=m;r(u);A&&z.then(function(y){A.call(z,y)},function(y){A.call(z,q,y)});z.promise=u;z.then=u.then;return z};t.addCommonMethods=function(q,l){f.forEach(l||["GET","POST","PUT","DELETE"],function(m){q[("DELETE"===m?"DEL":m).toLowerCase()]=function(p,u){u=g.delegate(u||{});u.method=m;return q(p,u)}})};t.parseArgs=function(q,l,m){var p=l.data,u=l.query;!p||m||"object"!==typeof p||
c("native-xhr2")&&(a(p)||b(p))||(l.data=h.objectToQuery(p));u?("object"===typeof u&&(u=h.objectToQuery(u)),l.preventCache&&(u+=(u?"\x26":"")+"request.preventCache\x3d"+ +new Date)):l.preventCache&&(u="request.preventCache\x3d"+ +new Date);q&&u&&(q+=(~q.indexOf("?")?"\x26":"?")+u);return{url:q,options:l,getHeader:function(A){return null}}};t.checkStatus=function(q){q=q||0;return 200<=q&&300>q||304===q||1223===q||!q}})},"dojo/errors/RequestError":function(){define(["./create"],function(t){return t("RequestError",
function(x,w){this.response=w})})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(t,x){return t("RequestTimeoutError",null,x,{dojoType:"timeout"})})},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(t,x,w,n,h){function f(l,m){var p=l.xhr;l.status=l.xhr.status;try{l.text=p.responseText}catch(A){}"xml"===l.options.handleAs&&(l.data=p.responseXML);if(m)this.reject(m);else{try{w(l)}catch(A){var u=
A}n.checkStatus(p.status)?u?this.reject(u):this.resolve(l):(m=u?new t("Unable to load "+l.url+" status: "+p.status+" and an error in handleAs: transformation of response",l):new t("Unable to load "+l.url+" status: "+p.status,l),this.reject(m))}}function g(l){return this.xhr.getResponseHeader(l)}function d(l,m,p){var u=h("native-formdata")&&m&&m.data&&m.data instanceof FormData,A=n.parseArgs(l,n.deepCreate(q,m),u);l=A.url;m=A.options;var z=!m.data&&"POST"!==m.method&&"PUT"!==m.method;10>=h("ie")&&
(l=l.split("#")[0]);var E,y=n.deferred(A,b,a,k,f,function(){E&&E()}),B=A.xhr=d._create();if(!B)return y.cancel(new t("XHR was not created")),p?y:y.promise;A.getHeader=g;e&&(E=e(B,y,A,m.uploadProgress));var I="undefined"===typeof m.data?null:m.data,v=!m.sync,F=m.method;try{B.open(F,l,v,m.user||r,m.password||r);m.withCredentials&&(B.withCredentials=m.withCredentials);h("native-response-type")&&m.handleAs in c&&(B.responseType=c[m.handleAs]);var D=m.headers;l=u||z?!1:"application/x-www-form-urlencoded";
if(D)for(var G in D)"content-type"===G.toLowerCase()?l=D[G]:D[G]&&B.setRequestHeader(G,D[G]);l&&!1!==l&&B.setRequestHeader("Content-Type",l);D&&"X-Requested-With"in D||B.setRequestHeader("X-Requested-With","XMLHttpRequest");n.notify&&n.notify.emit("send",A,y.promise.cancel);B.send(I)}catch(J){y.reject(J)}x(y);B=null;return p?y:y.promise}h.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});h.add("dojo-force-activex-xhr",function(){return h("activex")&&"file:"===window.location.protocol});
h.add("native-xhr2",function(){if(h("native-xhr")&&!h("dojo-force-activex-xhr")){var l=new XMLHttpRequest;return"undefined"!==typeof l.addEventListener&&("undefined"===typeof opera||"undefined"!==typeof l.upload)}});h.add("native-formdata",function(){return"undefined"!==typeof FormData});h.add("native-blob",function(){return"undefined"!==typeof Blob});h.add("native-arraybuffer",function(){return"undefined"!==typeof ArrayBuffer});h.add("native-response-type",function(){return h("native-xhr")&&"undefined"!==
typeof(new XMLHttpRequest).responseType});h.add("native-xhr2-blob",function(){if(h("native-response-type")){var l=new XMLHttpRequest;l.open("GET","https://dojotoolkit.org/",!0);l.responseType="blob";var m=l.responseType;l.abort();return"blob"===m}});var c={blob:h("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};if(h("native-xhr2")){var a=function(l){return!this.isFulfilled()};var b=function(l,m){m.xhr.abort()};var e=function(l,m,p,u){function A(I){m.handleResponse(p)}
function z(I){I=new t("Unable to load "+p.url+" status: "+I.target.status,p);m.handleResponse(p,I)}function E(I,v){p.transferType=I;v.lengthComputable?(p.loaded=v.loaded,p.total=v.total,m.progress(p)):3===p.xhr.readyState&&(p.loaded="loaded"in v?v.loaded:v.position,m.progress(p))}function y(I){return E("download",I)}function B(I){return E("upload",I)}l.addEventListener("load",A,!1);l.addEventListener("error",z,!1);l.addEventListener("progress",y,!1);u&&l.upload&&l.upload.addEventListener("progress",
B,!1);return function(){l.removeEventListener("load",A,!1);l.removeEventListener("error",z,!1);l.removeEventListener("progress",y,!1);l.upload.removeEventListener("progress",B,!1);l=null}}}else{a=function(l){return l.xhr.readyState};var k=function(l){return 4===l.xhr.readyState};b=function(l,m){l=m.xhr;m=typeof l.abort;"function"!==m&&"object"!==m&&"unknown"!==m||l.abort()}}var r,q={data:null,query:null,sync:!1,method:"GET"};d._create=function(){throw Error("XMLHTTP not available");};if(h("native-xhr")&&
!h("dojo-force-activex-xhr"))d._create=function(){return new XMLHttpRequest};else if(h("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),d._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(l){try{new ActiveXObject("Microsoft.XMLHTTP"),d._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(m){}}n.addCommonMethods(d);return d})},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(t,x,
w,n){function h(b){var e=a[b.options.handleAs];b.data=e?e(b):b.data||b.text;return b}n.add("activex","undefined"!==typeof ActiveXObject);n.add("dom-parser",function(b){return"DOMParser"in b});if(n("activex")){var f=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"],g;var d=function(b){function e(q){try{var l=new ActiveXObject(q);l.async=!1;l.loadXML(r);k=l;g=q}catch(m){return!1}return!0}var k=b.data,r=b.text;k&&n("dom-qsa2.1")&&!k.querySelectorAll&&n("dom-parser")&&
(k=(new DOMParser).parseFromString(r,"application/xml"));k&&k.documentElement||g&&e(g)||w.some(f,e);return k}}var c=function(b){return n("native-xhr2-blob")||"blob"!==b.options.handleAs||"undefined"===typeof Blob?b.xhr.response:new Blob([b.xhr.response],{type:b.xhr.getResponseHeader("Content-Type")})},a={javascript:function(b){return x.eval(b.text||"")},json:function(b){return t.parse(b.text||null)},xml:d,blob:c,arraybuffer:c,document:c};h.register=function(b,e){a[b]=e};return h})},"dojo/selector/_loader":function(){define(["../has",
"require"],function(t,x){if("undefined"!==typeof document){var w=document.createElement("div");t.add("dom-qsa2.1",!!w.querySelectorAll);t.add("dom-qsa3",function(){try{return w.innerHTML="\x3cp class\x3d'TEST'\x3e\x3c/p\x3e",1==w.querySelectorAll(".TEST:empty").length}catch(h){}})}var n;return{load:function(h,f,g,d){if(d&&d.isBuild)g();else{d=x;h="default"==h?t("config-selectorEngine")||"css3":h;h="css2"==h||"lite"==h?"./lite":"css2.1"==h?t("dom-qsa2.1")?"./lite":"./acme":"css3"==h?t("dom-qsa3")?
"./lite":"./acme":"acme"==h?"./acme":(d=f)&&h;if("?"==h.charAt(h.length-1)){h=h.substring(0,h.length-1);var c=!0}if(c&&(t("dom-compliant-qsa")||n))return g(n);d([h],function(a){"./lite"!=h&&(n=a);g(a)})}}}})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(t,x,w){function n(v,F){throw Error("declare"+(F?" "+F:"")+": "+v);}function h(v,F){for(var D=[],G=[{cls:0,refs:[]}],J={},C=1,H=v.length,M=0,L,N,O,P,X;M<H;++M){(L=v[M])?"[object Function]"!=E.call(L)&&n("mixin #"+M+
" is not a callable constructor.",F):n("mixin #"+M+" is unknown. Did you use dojo.require to pull it in?",F);N=L._meta?L._meta.bases:[L];O=0;for(L=N.length-1;0<=L;--L)P=N[L].prototype,P.hasOwnProperty("declaredClass")||(P.declaredClass="uniqName_"+y++),P=P.declaredClass,J.hasOwnProperty(P)||(J[P]={count:0,refs:[],cls:N[L]},++C),P=J[P],O&&O!==P&&(P.refs.push(O),++O.count),O=P;++O.count;G[0].refs.push(O)}for(;G.length;){O=G.pop();D.push(O.cls);for(--C;X=O.refs,1==X.length;){O=X[0];if(!O||--O.count){O=
0;break}D.push(O.cls);--C}if(O)for(M=0,H=X.length;M<H;++M)O=X[M],--O.count||G.push(O)}C&&n("can't build consistent linearization",F);L=v[0];D[0]=L?L._meta&&L===D[D.length-L._meta.bases.length]?L._meta.bases.length:1:0;return D}function f(v,F,D,G){var J,C=this._inherited=this._inherited||{};if("string"===typeof v){var H=v;v=F;F=D;D=G}if("function"===typeof v){var M=v;v=F;F=D}else try{M=v.callee}catch(P){if(P instanceof TypeError)n("strict mode inherited() requires the caller function to be passed before arguments",
this.declaredClass);else throw P;}(H=H||M.nom)||n("can't deduce a name to call inherited()",this.declaredClass);D=G=0;var L=this.constructor._meta;G=L.bases;var N=C.p;if("constructor"!=H){if(C.c!==M){N=0;var O=G[0];L=O._meta;if(L.hidden[H]!==M){(J=L.chains)&&"string"==typeof J[H]&&n("calling chained method with inherited: "+H,this.declaredClass);do if(L=O._meta,J=O.prototype,L&&(J[H]===M&&J.hasOwnProperty(H)||L.hidden[H]===M))break;while(O=G[++N]);N=O?N:-1}}if(O=G[++N])if(J=O.prototype,O._meta&&J.hasOwnProperty(H))D=
J[H];else{M=z[H];do if(J=O.prototype,(D=J[H])&&(O._meta?J.hasOwnProperty(H):D!==M))break;while(O=G[++N])}D=O&&D||z[H]}else{if(C.c!==M&&(N=0,(L=G[0]._meta)&&L.ctor!==M)){for((J=L.chains)&&"manual"===J.constructor||n("calling chained constructor with inherited",this.declaredClass);(O=G[++N])&&(!(L=O._meta)||L.ctor!==M););N=O?N:-1}for(;(O=G[++N])&&!(D=(L=O._meta)?L.ctor:O););D=O&&D}C.c=D;C.p=N;if(D)return!0===F?D:D.apply(this,F||v)}function g(v,F,D){return"string"===typeof v?"function"===typeof F?this.__inherited(v,
F,D,!0):this.__inherited(v,F,!0):"function"===typeof v?this.__inherited(v,F,!0):this.__inherited(v,!0)}function d(v,F,D,G){var J=this.getInherited(v,F,D);if(J)return J.apply(this,G||D||F||v)}function c(v){for(var F=this.constructor._meta.bases,D=0,G=F.length;D<G;++D)if(F[D]===v)return!0;return this instanceof v}function a(v,F){for(var D in F)"constructor"!=D&&F.hasOwnProperty(D)&&(v[D]=F[D]);if(x("bug-for-in-skips-shadowed"))for(var G=w._extraNames,J=G.length;J;)D=G[--J],"constructor"!=D&&F.hasOwnProperty(D)&&
(v[D]=F[D])}function b(v){u.safeMixin(this.prototype,v);return this}function e(v,F){v instanceof Array||"function"===typeof v||(F=v,v=void 0);F=F||{};v=v||[];return u([this].concat(v),F)}function k(v,F){return function(){var D=arguments,G=D,J=D[0],C;var H=v.length;if(!(this instanceof D.callee))return p(D);if(F&&(J&&J.preamble||this.preamble)){var M=Array(v.length);M[0]=D;for(C=0;;){(J=D[0])&&(J=J.preamble)&&(D=J.apply(this,D)||D);J=v[C].prototype;(J=J.hasOwnProperty("preamble")&&J.preamble)&&(D=
J.apply(this,D)||D);if(++C==H)break;M[C]=D}}for(C=H-1;0<=C;--C)J=v[C],(J=(H=J._meta)?H.ctor:J)&&J.apply(this,M?M[C]:D);(J=this.postscript)&&J.apply(this,G)}}function r(v,F){return function(){var D=arguments,G=D,J=D[0];if(!(this instanceof D.callee))return p(D);F&&(J&&(J=J.preamble)&&(G=J.apply(this,G)||G),(J=this.preamble)&&J.apply(this,G));v&&v.apply(this,D);(J=this.postscript)&&J.apply(this,D)}}function q(v){return function(){var F=arguments,D=0,G,J;if(!(this instanceof F.callee))return p(F);for(;G=
v[D];++D)if(G=(J=G._meta)?J.ctor:G){G.apply(this,F);break}(G=this.postscript)&&G.apply(this,F)}}function l(v,F,D){return function(){var G,J=0,C=1;D&&(J=F.length-1,C=-1);for(;G=F[J];J+=C){var H=G._meta;(G=(H?H.hidden:G.prototype)[v])&&G.apply(this,arguments)}}}function m(v){B.prototype=v.prototype;v=new B;B.prototype=null;return v}function p(v){var F=v.callee,D=m(F);F.apply(D,v);return D}function u(v,F,D){"string"!=typeof v&&(D=F,F=v,v="");D=D||{};var G,J,C,H=1,M=F;if("[object Array]"==E.call(F)){var L=
h(F,v);var N=L[0];H=L.length-N;F=L[H]}else L=[0],F?"[object Function]"==E.call(F)?(N=F._meta,L=L.concat(N?N.bases:F)):n("base class is not a callable constructor.",v):null!==F&&n("unknown base class. Did you use dojo.require to pull it in?",v);if(F)for(G=H-1;;--G){var O=m(F);if(!G)break;N=L[G];(N._meta?a:A)(O,N.prototype);var P=x("csp-restrictions")?function(){}:new Function;P.superclass=F;P.prototype=O;F=O.constructor=P}else O={};u.safeMixin(O,D);N=D.constructor;N!==z.constructor&&(N.nom="constructor",
O.constructor=N);for(G=H-1;G;--G)(N=L[G]._meta)&&N.chains&&(C=A(C||{},N.chains));O["-chains-"]&&(C=A(C||{},O["-chains-"]));F&&F.prototype&&F.prototype["-chains-"]&&(C=A(C||{},F.prototype["-chains-"]));N=!C||!C.hasOwnProperty("constructor");L[0]=P=C&&"manual"===C.constructor?q(L):1==L.length?r(D.constructor,N):k(L,N);P._meta={bases:L,hidden:D,chains:C,parents:M,ctor:D.constructor};P.superclass=F&&F.prototype;P.extend=b;P.createSubclass=e;P.prototype=O;O.constructor=P;O.getInherited=g;O.isInstanceOf=
c;O.inherited=I;O.__inherited=f;v&&(O.declaredClass=v,w.setObject(v,P));if(C)for(J in C)O[J]&&"string"==typeof C[J]&&"constructor"!=J&&(N=O[J]=l(J,L,"after"===C[J]),N.nom=J);return P}var A=w.mixin,z=Object.prototype,E=z.toString,y=0;var B=x("csp-restrictions")?function(){}:new Function;var I=t.config.isDebug?d:f;t.safeMixin=u.safeMixin=function(v,F){for(C in F){var D=F[C];D===z[C]&&C in z||"constructor"==C||("[object Function]"==E.call(D)&&(D.nom=C),v[C]=D)}if(x("bug-for-in-skips-shadowed")&&F)for(var G=
w._extraNames,J=G.length;J;){var C=G[--J];D=F[C];D===z[C]&&C in z||"constructor"==C||("[object Function]"==E.call(D)&&(D.nom=C),v[C]=D)}return v};return t.declare=u})},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(t,x,w,n,h){var f=n.trim,g=w.forEach,d="BackCompat"==h.doc.compatMode,c=!1,a=function(){return!0},b=function(Q){Q=0<="\x3e~+".indexOf(Q.slice(-1))?Q+" * ":Q+" ";for(var R=function(Ha,Ia){return f(Q.slice(Ha,Ia))},
T=[],W=-1,da=-1,fa=-1,la=-1,ca=-1,ha=-1,ra=-1,oa,ua="",ta="",Da,ka=0,Ga=Q.length,ia=null,xa=null,za=function(){0<=ha&&(ia.id=R(ha,ka).replace(/\\/g,""),ha=-1);if(0<=ra){var Ha=ra==ka?null:R(ra,ka);ia[0>"\x3e~+".indexOf(Ha)?"tag":"oper"]=Ha;ra=-1}0<=ca&&(ia.classes.push(R(ca+1,ka).replace(/\\/g,"")),ca=-1)};ua=ta,ta=Q.charAt(ka),ka<Ga;ka++)"\\"!=ua&&(ia||(Da=ka,ia={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return c?this.otag:this.tag}},ra=ka),oa?ta==oa&&
(oa=null):"'"==ta||'"'==ta?oa=ta:0<=W?"]"==ta?(xa.attr?xa.matchFor=R(fa||W+1,ka):xa.attr=R(W+1,ka),!(W=xa.matchFor)||'"'!=W.charAt(0)&&"'"!=W.charAt(0)||(xa.matchFor=W.slice(1,-1)),xa.matchFor&&(xa.matchFor=xa.matchFor.replace(/\\/g,"")),ia.attrs.push(xa),xa=null,W=fa=-1):"\x3d"==ta&&(fa=0<="|~^$*".indexOf(ua)?ua:"",xa.type=fa+ta,xa.attr=R(W+1,ka-fa.length),fa=ka+1):0<=da?")"==ta&&(0<=la&&(xa.value=R(da+1,ka)),la=da=-1):"#"==ta?(za(),ha=ka+1):"."==ta?(za(),ca=ka):":"==ta?(za(),la=ka):"["==ta?(za(),
W=ka,xa={}):"("==ta?(0<=la&&(xa={name:R(la+1,ka),value:null},ia.pseudos.push(xa)),da=ka):" "==ta&&ua!=ta&&(za(),0<=la&&ia.pseudos.push({name:R(la+1,ka)}),ia.loops=ia.pseudos.length||ia.attrs.length||ia.classes.length,ia.oquery=ia.query=R(Da,ka),ia.otag=ia.tag=ia.oper?null:ia.tag||"*",ia.tag&&(ia.tag=ia.tag.toUpperCase()),T.length&&T[T.length-1].oper&&(ia.infixOper=T.pop(),ia.query=ia.infixOper.query+" "+ia.query),T.push(ia),ia=null));return T},e=function(Q,R){return Q?R?function(){return Q.apply(window,
arguments)&&R.apply(window,arguments)}:Q:R},k=function(Q,R){R=R||[];Q&&R.push(Q);return R},r=function(Q){return 1==Q.nodeType},q=function(Q,R){return Q?"class"==R?Q.className||"":"for"==R?Q.htmlFor||"":"style"==R?Q.style.cssText||"":(c?Q.getAttribute(R):Q.getAttribute(R,2))||"":""},l={"*\x3d":function(Q,R){return function(T){return 0<=q(T,Q).indexOf(R)}},"^\x3d":function(Q,R){return function(T){return 0==q(T,Q).indexOf(R)}},"$\x3d":function(Q,R){return function(T){T=" "+q(T,Q);var W=T.lastIndexOf(R);
return-1<W&&W==T.length-R.length}},"~\x3d":function(Q,R){var T=" "+R+" ";return function(W){return 0<=(" "+q(W,Q)+" ").indexOf(T)}},"|\x3d":function(Q,R){var T=R+"-";return function(W){W=q(W,Q);return W==R||0==W.indexOf(T)}},"\x3d":function(Q,R){return function(T){return q(T,Q)==R}}};n=h.doc.documentElement;var m=!(n.nextElementSibling||"nextElementSibling"in n),p=m?"nextSibling":"nextElementSibling",u=m?"previousSibling":"previousElementSibling",A=m?r:a,z=function(Q){for(;Q=Q[u];)if(A(Q))return!1;
return!0},E=function(Q){for(;Q=Q[p];)if(A(Q))return!1;return!0},y=function(Q){var R=Q.parentNode;R=7!=R.nodeType?R:R.nextSibling;var T=0,W=R.children||R.childNodes,da=Q._i||Q.getAttribute("_i")||-1,fa=R._l||("undefined"!==typeof R.getAttribute?R.getAttribute("_l"):-1);if(!W)return-1;W=W.length;if(fa==W&&0<=da&&0<=fa)return da;x("ie")&&"undefined"!==typeof R.setAttribute?R.setAttribute("_l",W):R._l=W;da=-1;for(R=R.firstElementChild||R.firstChild;R;R=R[p])A(R)&&(x("ie")?R.setAttribute("_i",++T):R._i=
++T,Q===R&&(da=T));return da},B=function(Q){return!(y(Q)%2)},I=function(Q){return y(Q)%2},v={checked:function(Q,R){return function(T){return!("checked"in T?!T.checked:!T.selected)}},disabled:function(Q,R){return function(T){return T.disabled}},enabled:function(Q,R){return function(T){return!T.disabled}},"first-child":function(){return z},"last-child":function(){return E},"only-child":function(Q,R){return function(T){return z(T)&&E(T)}},empty:function(Q,R){return function(T){var W=T.childNodes;for(T=
T.childNodes.length-1;0<=T;T--){var da=W[T].nodeType;if(1===da||3==da)return!1}return!0}},contains:function(Q,R){Q=R.charAt(0);if('"'==Q||"'"==Q)R=R.slice(1,-1);return function(T){return 0<=T.innerHTML.indexOf(R)}},not:function(Q,R){Q=b(R)[0];R={el:1};"*"!=Q.tag&&(R.tag=1);Q.classes.length||(R.classes=1);var T=D(Q,R);return function(W){return!T(W)}},"nth-child":function(Q,R){Q=parseInt;if("odd"==R)return I;if("even"==R)return B;if(-1!=R.indexOf("n")){R=R.split("n",2);var T=R[0]?"-"==R[0]?-1:Q(R[0]):
1,W=R[1]?Q(R[1]):0,da=0,fa=-1;0<T?0>W?W=W%T&&T+W%T:0<W&&(W>=T&&(da=W-W%T),W%=T):0>T&&(T*=-1,0<W&&(fa=W,W%=T));if(0<T)return function(ca){ca=y(ca);return ca>=da&&(0>fa||ca<=fa)&&ca%T==W};R=W}var la=Q(R);return function(ca){return y(ca)==la}}},F=9>x("ie")||9==x("ie")&&x("quirks")?function(Q){var R=Q.toLowerCase();"class"==R&&(Q="className");return function(T){return c?T.getAttribute(Q):T[Q]||T[R]}}:function(Q){return function(R){return R&&R.getAttribute&&R.hasAttribute(Q)}},D=function(Q,R){if(!Q)return a;
R=R||{};var T=null;"el"in R||(T=e(T,r));"tag"in R||"*"!=Q.tag&&(T=e(T,function(W){return W&&(c?W.tagName:W.tagName.toUpperCase())==Q.getTag()}));"classes"in R||g(Q.classes,function(W,da,fa){var la=new RegExp("(?:^|\\s)"+W+"(?:\\s|$)");T=e(T,function(ca){return la.test(ca.className)});T.count=da});"pseudos"in R||g(Q.pseudos,function(W){var da=W.name;v[da]&&(T=e(T,v[da](da,W.value)))});"attrs"in R||g(Q.attrs,function(W){var da,fa=W.attr;W.type&&l[W.type]?da=l[W.type](fa,W.matchFor):fa.length&&(da=F(fa));
da&&(T=e(T,da))});"id"in R||Q.id&&(T=e(T,function(W){return!!W&&W.id==Q.id}));T||"default"in R||(T=a);return T},G=function(Q){return function(R,T,W){for(;R=R[p];)if(!m||r(R)){W&&!ja(R,W)||!Q(R)||T.push(R);break}return T}},J=function(Q){return function(R,T,W){for(R=R[p];R;){if(A(R)){if(W&&!ja(R,W))break;Q(R)&&T.push(R)}R=R[p]}return T}},C=function(Q,R){var T=function(W){var da=[];try{da=Array.prototype.slice.call(W)}catch(ca){for(var fa=0,la=W.length;fa<la;fa++)da.push(W[fa])}return da};Q=Q||a;return function(W,
da,fa){var la=0,ca=[];ca=T(W.children||W.childNodes);for(R&&w.forEach(ca,function(ha){1===ha.nodeType&&(ca=ca.concat(T(ha.getElementsByTagName("*"))))});W=ca[la++];)A(W)&&(!fa||ja(W,fa))&&Q(W,la)&&da.push(W);return da}},H=function(Q,R){for(Q=Q.parentNode;Q&&Q!=R;)Q=Q.parentNode;return!!Q},M={},L=function(Q){var R=M[Q.query];if(R)return R;var T=Q.infixOper;T=T?T.oper:"";var W=D(Q,{el:1}),da="*"==Q.tag,fa=h.doc.getElementsByClassName;if(T)fa={el:1},da&&(fa.tag=1),W=D(Q,fa),"+"==T?R=G(W):"~"==T?R=J(W):
"\x3e"==T&&(R=C(W));else if(Q.id)W=!Q.loops&&da?a:D(Q,{el:1,id:1}),R=function(ca,ha){var ra=t.byId(Q.id,ca.ownerDocument||ca);ca.ownerDocument&&!H(ca,ca.ownerDocument)&&w.some(11===ca.nodeType?ca.childNodes:[ca],function(oa){oa=C(function(ua){return ua.id===Q.id},!0)(oa,[]);if(oa.length)return ra=oa[0],!1});if(ra&&W(ra)&&(9==ca.nodeType||H(ra,ca)))return k(ra,ha)};else if(fa&&/\{\s*\[native code\]\s*\}/.test(String(fa))&&Q.classes.length&&!d){W=D(Q,{el:1,classes:1,id:1});var la=Q.classes.join(" ");
R=function(ca,ha,ra){ha=k(0,ha);for(var oa,ua=0,ta=ca.getElementsByClassName(la);oa=ta[ua++];)W(oa,ca)&&ja(oa,ra)&&ha.push(oa);return ha}}else da||Q.loops?(W=D(Q,{el:1,tag:1,id:1}),R=function(ca,ha,ra){ha=k(0,ha);for(var oa,ua=0,ta=(oa=Q.getTag())?ca.getElementsByTagName(oa):[];oa=ta[ua++];)W(oa,ca)&&ja(oa,ra)&&ha.push(oa);return ha}):R=function(ca,ha,ra){ha=k(0,ha);var oa=0,ua=Q.getTag();for(ua=ua?ca.getElementsByTagName(ua):[];ca=ua[oa++];)ja(ca,ra)&&ha.push(ca);return ha};return M[Q.query]=R},
N={},O={},P=function(Q){var R=b(f(Q));if(1==R.length){var T=L(R[0]);return function(W){if(W=T(W,[]))W.nozip=!0;return W}}return function(W){W=k(W);for(var da,fa,la=R.length,ca,ha,ra=0;ra<la;ra++){ha=[];da=R[ra];fa=W.length-1;0<fa&&(ca={},ha.nozip=!0);fa=L(da);for(var oa=0;da=W[oa];oa++)fa(da,ha,ca);if(!ha.length)break;W=ha}return ha}},X=x("ie")?"commentStrip":"nozip",Y=!!h.doc.querySelectorAll,ba=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,ea=function(Q,R,T,W){return T?(R?R+" ":"")+T+(W?" "+W:""):Q},
na=/([^[]*)([^\]]*])?/g,qa=function(Q,R,T){return R.replace(ba,ea)+(T||"")},va=function(Q,R){Q=Q.replace(na,qa);if(Y){var T=O[Q];if(T&&!R)return T}if(T=N[Q])return T;T=Q.charAt(0);var W=-1==Q.indexOf(" ");0<=Q.indexOf("#")&&W&&(R=!0);if(!Y||R||-1!="\x3e~+".indexOf(T)||x("ie")&&-1!=Q.indexOf(":")||d&&0<=Q.indexOf(".")||-1!=Q.indexOf(":contains")||-1!=Q.indexOf(":checked")||-1!=Q.indexOf("|\x3d")){var da=Q.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return N[Q]=2>da.length?P(Q):function(la){for(var ca=
0,ha=[],ra;ra=da[ca++];)ha=ha.concat(P(ra)(la));return ha}}var fa=0<="\x3e~+".indexOf(Q.charAt(Q.length-1))?Q+" *":Q;return O[Q]=function(la){if(9==la.nodeType||W)try{var ca=la.querySelectorAll(fa);ca[X]=!0;return ca}catch(ha){}return va(Q,!0)(la)}},pa=0,sa=x("ie")?function(Q){return c?Q.getAttribute("_uid")||Q.setAttribute("_uid",++pa)||pa:Q.uniqueID}:function(Q){return Q._uid||(Q._uid=++pa)},ja=function(Q,R){if(!R)return 1;Q=sa(Q);return R[Q]?0:R[Q]=1},wa=function(Q){if(Q&&Q.nozip)return Q;if(!Q||
!Q.length)return[];if(2>Q.length)return[Q[0]];var R=[];pa++;var T,W;if(x("ie")&&c){var da=pa+"";for(T=0;T<Q.length;T++)(W=Q[T])&&W.getAttribute("_zipIdx")!=da&&(R.push(W),W.setAttribute("_zipIdx",da))}else if(x("ie")&&Q.commentStrip)try{for(T=0;T<Q.length;T++)(W=Q[T])&&r(W)&&R.push(W)}catch(fa){}else for(T=0;T<Q.length;T++)(W=Q[T])&&W._zipIdx!=pa&&(R.push(W),W._zipIdx=pa);return R},ya=function(Q,R){R=R||h.doc;c="div"===(R.ownerDocument||R).createElement("div").tagName;return(Q=va(Q)(R))&&Q.nozip?
Q:wa(Q)};ya.filter=function(Q,R,T){var W=[],da=b(R);da=1!=da.length||/[^\w#\.]/.test(R)?function(ca){return-1!=w.indexOf(ya(R,t.byId(T)),ca)}:D(da[0]);for(var fa=0,la;la=Q[fa];fa++)da(la)&&W.push(la);return W};return ya})},"dojo/cldr/nls/en/number":function(){define({decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"\u00d7",perMille:"\u2030",infinity:"\u221e",nan:"NaN",decimalFormat:"#,##0.###","decimalFormat-long":"000 trillion","decimalFormat-short":"000T",
scientificFormat:"#E0",percentFormat:"#,##0%",currencyFormat:"\u00a4#,##0.00;(\u00a4#,##0.00)","currencyFormat-short":"\u00a4000T"})},"dojo/cldr/nls/en/gregorian":function(){define({"months-format-abbr":"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),"months-format-wide":"January February March April May June July August September October November December".split(" "),"months-standAlone-narrow":"JFMAMJJASOND".split(""),"days-format-abbr":"Sun Mon Tue Wed Thu Fri Sat".split(" "),"days-format-short":"Su Mo Tu We Th Fr Sa".split(" "),
"days-format-wide":"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),"days-standAlone-narrow":"SMTWTFS".split(""),"quarters-format-abbr":["Q1","Q2","Q3","Q4"],"quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"quarters-standAlone-narrow":["1","2","3","4"],"dayPeriods-format-abbr-midnight":"midnight","dayPeriods-format-abbr-am":"AM","dayPeriods-format-abbr-noon":"noon","dayPeriods-format-abbr-pm":"PM","dayPeriods-format-abbr-morning1":"in the morning",
"dayPeriods-format-abbr-afternoon1":"in the afternoon","dayPeriods-format-abbr-evening1":"in the evening","dayPeriods-format-abbr-night1":"at night","dayPeriods-format-narrow-midnight":"mi","dayPeriods-format-narrow-am":"a","dayPeriods-format-narrow-noon":"n","dayPeriods-format-narrow-pm":"p","dayPeriods-format-narrow-morning1":"in the morning","dayPeriods-format-narrow-afternoon1":"in the afternoon","dayPeriods-format-narrow-evening1":"in the evening","dayPeriods-format-narrow-night1":"at night",
"dayPeriods-format-wide-midnight":"midnight","dayPeriods-format-wide-am":"AM","dayPeriods-format-wide-noon":"noon","dayPeriods-format-wide-pm":"PM","dayPeriods-format-wide-morning1":"in the morning","dayPeriods-format-wide-afternoon1":"in the afternoon","dayPeriods-format-wide-evening1":"in the evening","dayPeriods-format-wide-night1":"at night","dayPeriods-standAlone-abbr-midnight":"midnight","dayPeriods-standAlone-abbr-am":"AM","dayPeriods-standAlone-abbr-noon":"noon","dayPeriods-standAlone-abbr-pm":"PM",
"dayPeriods-standAlone-abbr-morning1":"morning","dayPeriods-standAlone-abbr-afternoon1":"afternoon","dayPeriods-standAlone-abbr-evening1":"evening","dayPeriods-standAlone-abbr-night1":"night","dayPeriods-standAlone-wide-midnight":"midnight","dayPeriods-standAlone-wide-am":"AM","dayPeriods-standAlone-wide-noon":"noon","dayPeriods-standAlone-wide-pm":"PM","dayPeriods-standAlone-wide-morning1":"morning","dayPeriods-standAlone-wide-afternoon1":"afternoon","dayPeriods-standAlone-wide-evening1":"evening",
"dayPeriods-standAlone-wide-night1":"night",eraNames:["Before Christ","Anno Domini"],eraAbbr:["BC","AD"],eraNarrow:["B","A"],"dateFormat-full":"EEEE, MMMM d, y","dateFormat-long":"MMMM d, y","dateFormat-medium":"MMM d, y","dateFormat-short":"M/d/yy","timeFormat-full":"h:mm:ss a zzzz","timeFormat-long":"h:mm:ss a z","timeFormat-medium":"h:mm:ss a","timeFormat-short":"h:mm a","dateTimeFormat-full":"{1} 'at' {0}","dateTimeFormat-long":"{1} 'at' {0}","dateTimeFormat-medium":"{1}, {0}","dateTimeFormat-short":"{1}, {0}",
"dateFormatItem-Bh":"h B","dateFormatItem-Bhm":"h:mm B","dateFormatItem-Bhms":"h:mm:ss B","dateFormatItem-d":"d","dateFormatItem-E":"ccc","dateFormatItem-EBhm":"E h:mm B","dateFormatItem-EBhms":"E h:mm:ss B","dateFormatItem-Ed":"d E","dateFormatItem-Ehm":"E h:mm a","dateFormatItem-EHm":"E HH:mm","dateFormatItem-Ehms":"E h:mm:ss a","dateFormatItem-EHms":"E HH:mm:ss","dateFormatItem-Gy":"y G","dateFormatItem-GyMMM":"MMM y G","dateFormatItem-GyMMMd":"MMM d, y G","dateFormatItem-GyMMMEd":"E, MMM d, y G",
"dateFormatItem-h":"h a","dateFormatItem-H":"HH","dateFormatItem-hm":"h:mm a","dateFormatItem-Hm":"HH:mm","dateFormatItem-hms":"h:mm:ss a","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hmsv":"h:mm:ss a v","dateFormatItem-Hmsv":"HH:mm:ss v","dateFormatItem-hmv":"h:mm a v","dateFormatItem-Hmv":"HH:mm v","dateFormatItem-M":"L","dateFormatItem-Md":"M/d","dateFormatItem-MEd":"E, M/d","dateFormatItem-MMM":"LLL","dateFormatItem-MMMd":"MMM d","dateFormatItem-MMMEd":"E, MMM d","dateFormatItem-MMMMd":"MMMM d",
"dateFormatItem-MMMMW":"'week' W 'of' MMMM","dateFormatItem-ms":"mm:ss","dateFormatItem-y":"y","dateFormatItem-yM":"M/y","dateFormatItem-yMd":"M/d/y","dateFormatItem-yMEd":"E, M/d/y","dateFormatItem-yMMM":"MMM y","dateFormatItem-yMMMd":"MMM d, y","dateFormatItem-yMMMEd":"E, MMM d, y","dateFormatItem-yMMMM":"MMMM y","dateFormatItem-yQQQ":"QQQ y","dateFormatItem-yQQQQ":"QQQQ y","dateFormatItem-yw":"'week' w 'of' Y","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}",
"dateTimeFormats-appendItem-Era":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"era","field-era-short":"era","field-year":"year",
"field-year-relative+-1":"last year","field-year-relative+0":"this year","field-year-relative+1":"next year","field-year-short":"yr.","field-year-short-relative+-1":"last yr.","field-year-short-relative+0":"this yr.","field-year-short-relative+1":"next yr.","field-quarter":"quarter","field-quarter-relative+-1":"last quarter","field-quarter-relative+0":"this quarter","field-quarter-relative+1":"next quarter","field-quarter-short":"qtr.","field-quarter-short-relative+-1":"last qtr.","field-quarter-short-relative+0":"this qtr.",
"field-quarter-short-relative+1":"next qtr.","field-month":"month","field-month-relative+-1":"last month","field-month-relative+0":"this month","field-month-relative+1":"next month","field-month-short":"mo.","field-month-short-relative+-1":"last mo.","field-month-short-relative+0":"this mo.","field-month-short-relative+1":"next mo.","field-week":"week","field-week-relative+-1":"last week","field-week-relative+0":"this week","field-week-relative+1":"next week","field-week-short":"wk.","field-week-short-relative+-1":"last wk.",
"field-week-short-relative+0":"this wk.","field-week-short-relative+1":"next wk.","field-weekOfMonth":"week of month","field-weekOfMonth-short":"wk. of mo.","field-day":"day","field-day-relative+-1":"yesterday","field-day-relative+0":"today","field-day-relative+1":"tomorrow","field-day-short":"day","field-dayOfYear":"day of year","field-dayOfYear-short":"day of yr.","field-weekday":"day of the week","field-weekday-short":"day of wk.","field-weekdayOfMonth":"weekday of the month","field-weekdayOfMonth-short":"wkday. of mo.",
"field-sun-relative+-1":"last Sunday","field-sun-relative+0":"this Sunday","field-sun-relative+1":"next Sunday","field-sun-short-relative+-1":"last Sun.","field-sun-short-relative+0":"this Sun.","field-sun-short-relative+1":"next Sun.","field-sun-narrow-relative+-1":"last Su","field-sun-narrow-relative+0":"this Su","field-sun-narrow-relative+1":"next Su","field-mon-relative+-1":"last Monday","field-mon-relative+0":"this Monday","field-mon-relative+1":"next Monday","field-mon-short-relative+-1":"last Mon.",
"field-mon-short-relative+0":"this Mon.","field-mon-short-relative+1":"next Mon.","field-mon-narrow-relative+-1":"last M","field-mon-narrow-relative+0":"this M","field-mon-narrow-relative+1":"next M","field-tue-relative+-1":"last Tuesday","field-tue-relative+0":"this Tuesday","field-tue-relative+1":"next Tuesday","field-tue-short-relative+-1":"last Tue.","field-tue-short-relative+0":"this Tue.","field-tue-short-relative+1":"next Tue.","field-tue-narrow-relative+-1":"last Tu","field-tue-narrow-relative+0":"this Tu",
"field-tue-narrow-relative+1":"next Tu","field-wed-relative+-1":"last Wednesday","field-wed-relative+0":"this Wednesday","field-wed-relative+1":"next Wednesday","field-wed-short-relative+-1":"last Wed.","field-wed-short-relative+0":"this Wed.","field-wed-short-relative+1":"next Wed.","field-wed-narrow-relative+-1":"last W","field-wed-narrow-relative+0":"this W","field-wed-narrow-relative+1":"next W","field-thu-relative+-1":"last Thursday","field-thu-relative+0":"this Thursday","field-thu-relative+1":"next Thursday",
"field-thu-short-relative+-1":"last Thu.","field-thu-short-relative+0":"this Thu.","field-thu-short-relative+1":"next Thu.","field-thu-narrow-relative+-1":"last Th","field-thu-narrow-relative+0":"this Th","field-thu-narrow-relative+1":"next Th","field-fri-relative+-1":"last Friday","field-fri-relative+0":"this Friday","field-fri-relative+1":"next Friday","field-fri-short-relative+-1":"last Fri.","field-fri-short-relative+0":"this Fri.","field-fri-short-relative+1":"next Fri.","field-fri-narrow-relative+-1":"last F",
"field-fri-narrow-relative+0":"this F","field-fri-narrow-relative+1":"next F","field-sat-relative+-1":"last Saturday","field-sat-relative+0":"this Saturday","field-sat-relative+1":"next Saturday","field-sat-short-relative+-1":"last Sat.","field-sat-short-relative+0":"this Sat.","field-sat-short-relative+1":"next Sat.","field-sat-narrow-relative+-1":"last Sa","field-sat-narrow-relative+0":"this Sa","field-sat-narrow-relative+1":"next Sa","field-dayperiod-short":"am/pm","field-dayperiod":"am/pm","field-hour":"hour",
"field-hour-relative+0":"this hour","field-hour-short":"hr.","field-minute":"minute","field-minute-relative+0":"this minute","field-minute-short":"min.","field-second":"second","field-second-relative+0":"now","field-second-short":"sec.","field-second-short-relative+0":"now","field-zone":"time zone","field-zone-short":"zone","months-format-narrow":"JFMAMJJASOND".split(""),"months-standAlone-abbr":"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),"months-standAlone-wide":"January February March April May June July August September October November December".split(" "),
"days-standAlone-short":"Su Mo Tu We Th Fr Sa".split(" "),"days-standAlone-wide":"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),"quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"]})},"dojo/cldr/nls/en/islamic":function(){define({eraAbbr:["AH"],"field-era":"era","field-era-short":"era","field-year":"year","field-year-relative+-1":"last year","field-year-relative+0":"this year","field-year-relative+1":"next year","field-year-short":"yr.","field-year-short-relative+-1":"last yr.",
"field-year-short-relative+0":"this yr.","field-year-short-relative+1":"next yr.","field-quarter":"quarter","field-quarter-relative+-1":"last quarter","field-quarter-relative+0":"this quarter","field-quarter-relative+1":"next quarter","field-quarter-short":"qtr.","field-quarter-short-relative+-1":"last qtr.","field-quarter-short-relative+0":"this qtr.","field-quarter-short-relative+1":"next qtr.","field-month":"month","field-month-relative+-1":"last month","field-month-relative+0":"this month","field-month-relative+1":"next month",
"field-month-short":"mo.","field-month-short-relative+-1":"last mo.","field-month-short-relative+0":"this mo.","field-month-short-relative+1":"next mo.","field-week":"week","field-week-relative+-1":"last week","field-week-relative+0":"this week","field-week-relative+1":"next week","field-week-short":"wk.","field-week-short-relative+-1":"last wk.","field-week-short-relative+0":"this wk.","field-week-short-relative+1":"next wk.","field-weekOfMonth":"week of month","field-weekOfMonth-short":"wk. of mo.",
"field-day":"day","field-day-relative+-1":"yesterday","field-day-relative+0":"today","field-day-relative+1":"tomorrow","field-day-short":"day","field-dayOfYear":"day of year","field-dayOfYear-short":"day of yr.","field-weekday":"day of the week","field-weekday-short":"day of wk.","field-weekdayOfMonth":"weekday of the month","field-weekdayOfMonth-short":"wkday. of mo.","field-sun-relative+-1":"last Sunday","field-sun-relative+0":"this Sunday","field-sun-relative+1":"next Sunday","field-sun-short-relative+-1":"last Sun.",
"field-sun-short-relative+0":"this Sun.","field-sun-short-relative+1":"next Sun.","field-sun-narrow-relative+-1":"last Su","field-sun-narrow-relative+0":"this Su","field-sun-narrow-relative+1":"next Su","field-mon-relative+-1":"last Monday","field-mon-relative+0":"this Monday","field-mon-relative+1":"next Monday","field-mon-short-relative+-1":"last Mon.","field-mon-short-relative+0":"this Mon.","field-mon-short-relative+1":"next Mon.","field-mon-narrow-relative+-1":"last M","field-mon-narrow-relative+0":"this M",
"field-mon-narrow-relative+1":"next M","field-tue-relative+-1":"last Tuesday","field-tue-relative+0":"this Tuesday","field-tue-relative+1":"next Tuesday","field-tue-short-relative+-1":"last Tue.","field-tue-short-relative+0":"this Tue.","field-tue-short-relative+1":"next Tue.","field-tue-narrow-relative+-1":"last Tu","field-tue-narrow-relative+0":"this Tu","field-tue-narrow-relative+1":"next Tu","field-wed-relative+-1":"last Wednesday","field-wed-relative+0":"this Wednesday","field-wed-relative+1":"next Wednesday",
"field-wed-short-relative+-1":"last Wed.","field-wed-short-relative+0":"this Wed.","field-wed-short-relative+1":"next Wed.","field-wed-narrow-relative+-1":"last W","field-wed-narrow-relative+0":"this W","field-wed-narrow-relative+1":"next W","field-thu-relative+-1":"last Thursday","field-thu-relative+0":"this Thursday","field-thu-relative+1":"next Thursday","field-thu-short-relative+-1":"last Thu.","field-thu-short-relative+0":"this Thu.","field-thu-short-relative+1":"next Thu.","field-thu-narrow-relative+-1":"last Th",
"field-thu-narrow-relative+0":"this Th","field-thu-narrow-relative+1":"next Th","field-fri-relative+-1":"last Friday","field-fri-relative+0":"this Friday","field-fri-relative+1":"next Friday","field-fri-short-relative+-1":"last Fri.","field-fri-short-relative+0":"this Fri.","field-fri-short-relative+1":"next Fri.","field-fri-narrow-relative+-1":"last F","field-fri-narrow-relative+0":"this F","field-fri-narrow-relative+1":"next F","field-sat-relative+-1":"last Saturday","field-sat-relative+0":"this Saturday",
"field-sat-relative+1":"next Saturday","field-sat-short-relative+-1":"last Sat.","field-sat-short-relative+0":"this Sat.","field-sat-short-relative+1":"next Sat.","field-sat-narrow-relative+-1":"last Sa","field-sat-narrow-relative+0":"this Sa","field-sat-narrow-relative+1":"next Sa","field-dayperiod-short":"am/pm","field-dayperiod":"am/pm","field-hour":"hour","field-hour-relative+0":"this hour","field-hour-short":"hr.","field-minute":"minute","field-minute-relative+0":"this minute","field-minute-short":"min.",
"field-second":"second","field-second-relative+0":"now","field-second-short":"sec.","field-second-short-relative+0":"now","field-zone":"time zone","field-zone-short":"zone","days-format-short":"Su Mo Tu We Th Fr Sa".split(" "),"days-format-wide":"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),"days-standAlone-short":"Su Mo Tu We Th Fr Sa".split(" "),"days-standAlone-wide":"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),"quarters-format-wide":["1st quarter",
"2nd quarter","3rd quarter","4th quarter"],"quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dayPeriods-format-narrow-am":"a","dayPeriods-format-narrow-pm":"p","dateFormat-full":"EEEE, MMMM d, y G","dateFormat-long":"MMMM d, y G","dateFormat-medium":"MMM d, y G","dateFormat-short":"M/d/y GGGGG","dateFormatItem-Ed":"d E","dateFormatItem-Gy":"y G","dateFormatItem-GyMMM":"MMM y G","dateFormatItem-GyMMMd":"MMM d, y G","dateFormatItem-GyMMMEd":"E, MMM d, y G","dateFormatItem-Md":"M/d",
"dateFormatItem-MEd":"E, M/d","dateFormatItem-MMMEd":"E, MMM d","dateFormatItem-y":"y G","dateFormatItem-yyyy":"y G","dateFormatItem-yyyyM":"M/y GGGGG","dateFormatItem-yyyyMd":"M/d/y GGGGG","dateFormatItem-yyyyMEd":"E, M/d/y GGGGG","dateFormatItem-yyyyMMM":"MMM y G","dateFormatItem-yyyyMMMd":"MMM d, y G","dateFormatItem-yyyyMMMEd":"E, MMM d, y G","dateFormatItem-yyyyMMMM":"MMMM y G","dateFormatItem-yyyyQQQ":"QQQ y G","dateFormatItem-yyyyQQQQ":"QQQQ y G","timeFormat-full":"h:mm:ss a zzzz","timeFormat-long":"h:mm:ss a z",
"timeFormat-medium":"h:mm:ss a","timeFormat-short":"h:mm a","dateTimeFormat-full":"{1} 'at' {0}","dateTimeFormat-long":"{1} 'at' {0}","dateTimeFormat-medium":"{1}, {0}","dateTimeFormat-short":"{1}, {0}","dateTimeFormats-appendItem-Era":"{0} {1}","dateTimeFormats-appendItem-Year":"{0} {1}"})},"dojo/cldr/nls/en/currency":function(){define({AUD_displayName:"Australian Dollar",CAD_displayName:"Canadian Dollar",CHF_displayName:"Swiss Franc",CNY_displayName:"Chinese Yuan",EUR_displayName:"Euro",GBP_displayName:"British Pound",
HKD_displayName:"Hong Kong Dollar",JPY_displayName:"Japanese Yen",JPY_symbol:"\u00a5",USD_displayName:"US Dollar",USD_symbol:"$"})},"dojox/grid/bidi/_BidiMixin":function(){define("../../main dojo/_base/lang ../_Builder dijit/_BidiSupport ../_Grid ../cells/_base ../cells/dijit".split(" "),function(t,x,w,n,h,f,g){x.extend(h,{setCellNodeTextDirection:function(d,c,a){this.getCell(d).getNode(c).style.direction=a||""},getCellNodeTextDirection:function(d,c){return this.getCell(d).getNode(c).style.direction},
_setTextDirAttr:function(d){this.textDir=d;this.render()}});x.extend(w._ContentBuilder,{_getTextDirStyle:function(d,c,a){var b=this.grid.getItem(a);"auto"===d&&(c=c.get?c.get(a,b):c.value||c.defaultValue)&&(d=n.prototype._checkContextual(c));return" direction:"+d+";"}});x.extend(w._HeaderBuilder,{_getTextDirStyle:function(d,c,a){"auto"===d&&(c=a||c.name||c.grid.getCellName(c))&&(d=n.prototype._checkContextual(c));return" direction:"+d+"; "}});x.extend(f.Cell,{LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",
KEY_HANDLER:'onkeyup\x3d\' javascript:(function(){var target; if (event.target) target \x3d event.target; else if (event.srcElement) target \x3d event.srcElement; if(!target) return;var regExMatch \x3d /[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(target.value);target.dir \x3d regExMatch ? ( regExMatch[0] \x3c\x3d "z" ? "ltr" : "rtl" ) : target.dir ? target.dir : "ltr"; })();\'',_getTextDirMarkup:function(d){var c="",a=this.textDir||this.grid.textDir;a&&("auto"===
a&&(c=this.KEY_HANDLER,a=n.prototype._checkContextual(d)),c+=" dir\x3d'"+a+"'; ");return c},formatEditing:function(d,c){this.needFormatNode(d,c);return'\x3cinput class\x3d"dojoxGridInput" '+this._getTextDirMarkup(d)+' type\x3d"text" value\x3d"'+d+'"\x3e'},_enforceTextDirWithUcc:function(d,c){d="auto"===d?n.prototype._checkContextual(c):d;return("rtl"===d?this.RLE:this.LRE)+c+this.PDF}});x.extend(f.Select,{_getValueCallOrig:t.grid.cells.Select.prototype.getValue,getValue:function(d){(d=this._getValueCallOrig(d))&&
(this.textDir||this.grid.textDir)&&(d=d.replace(/\u202A|\u202B|\u202C/g,""));return d},formatEditing:function(d,c){this.needFormatNode(d,c);c=['\x3cselect dir \x3d "'+(this.grid.isLeftToRight()?"ltr":"rtl")+'" class\x3d"dojoxGridSelect"\x3e'];for(var a=0,b,e;void 0!==(b=this.options[a])&&void 0!==(e=this.values[a]);a++){e=e.replace?e.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):e;b=b.replace?b.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):b;if(this.textDir||this.grid.textDir)b=this._enforceTextDirWithUcc(this.textDir||
this.grid.textDir,b);c.push("\x3coption",d==e?" selected":"",' value \x3d "'+e+'"',"\x3e",b,"\x3c/option\x3e")}c.push("\x3c/select\x3e");return c.join("")}});x.extend(g.ComboBox,{getWidgetPropsCallOrig:t.grid.cells.ComboBox.prototype.getWidgetProps,getWidgetProps:function(d){d=this.getWidgetPropsCallOrig(d);if(this.textDir||this.grid.textDir)d.textDir=this.textDir||this.grid.textDir;return d}});x.extend(g._Widget,{getWidgetPropsCallOrig:t.grid.cells._Widget.prototype.getWidgetProps,getWidgetProps:function(d){d=
this.getWidgetPropsCallOrig(d);if(this.textDir||this.grid.textDir)d.textDir=this.textDir||this.grid.textDir;return d}})})},"dojox/main":function(){define(["dojo/_base/kernel"],function(t){return t.dojox})},"dojox/grid/_Builder":function(){define("../main dojo/_base/array dojo/_base/lang dojo/_base/window dojo/_base/event dojo/_base/sniff dojo/_base/connect dojo/dnd/Moveable dojox/html/metrics ./util dojo/_base/html dojo/dom-geometry".split(" "),function(t,x,w,n,h,f,g,d,c,a,b,e){var k=t.grid,r=function(z,
E){return z&&((z.rows||0)[E]||z.childNodes[E])},q=function(z){for(;z&&"TABLE"!=z.tagName;z=z.parentNode);return z},l=function(z){var E=z.toUpperCase();return function(y){return y.tagName!=E}},m=a.rowIndexTag,p=a.gridViewTag,u=k._Builder=w.extend(function(z){z&&(this.view=z,this.grid=z.grid)},{view:null,_table:'\x3ctable class\x3d"dojoxGridRowTable" border\x3d"0" cellspacing\x3d"0" cellpadding\x3d"0" role\x3d"presentation"',getTableArray:function(){var z=[this._table];this.view.viewWidth&&z.push([' style\x3d"width:',
this.view.viewWidth,';"'].join(""));z.push("\x3e");return z},generateCellMarkup:function(z,E,y,B){var I=[];if(B){var v=z.index!=z.grid.getSortIndex()?"":0<z.grid.sortInfo?'aria-sort\x3d"ascending"':'aria-sort\x3d"descending"';z.id||(z.id=this.grid.id+"Hdr"+z.index);v=['\x3cth tabIndex\x3d"-1" aria-readonly\x3d"true" role\x3d"columnheader"',v,' id\x3d"',z.id,'"']}else v=['\x3ctd tabIndex\x3d"-1" role\x3d"gridcell"',this.grid.editable&&!z.editable?'aria-readonly\x3d"true"':""];z.colSpan&&v.push(' colspan\x3d"',
z.colSpan,'"');z.rowSpan&&v.push(' rowspan\x3d"',z.rowSpan,'"');v.push(' class\x3d"dojoxGridCell ');z.classes&&v.push(z.classes," ");y&&v.push(y," ");I.push(v.join(""));I.push("");v=['" idx\x3d"',z.index,'" style\x3d"'];E&&";"!=E[E.length-1]&&(E+=";");v.push(z.styles,E||"",z.hidden?"display:none;":"");z.unitWidth&&v.push("width:",z.unitWidth,";");I.push(v.join(""));I.push("");v=['"'];z.attrs&&v.push(" ",z.attrs);v.push("\x3e");I.push(v.join(""));I.push("");I.push(B?"\x3c/th\x3e":"\x3c/td\x3e");return I},
isCellNode:function(z){return!(!z||z==n.doc||!b.attr(z,"idx"))},getCellNodeIndex:function(z){return z?Number(b.attr(z,"idx")):-1},getCellNode:function(z,E){for(var y=0,B;(B=r(z.firstChild,y))&&B.cells;y++)for(var I=0,v;v=B.cells[I];I++)if(this.getCellNodeIndex(v)==E)return v;return null},findCellTarget:function(z,E){for(;z&&(!this.isCellNode(z)||z.offsetParent&&p in z.offsetParent.parentNode&&z.offsetParent.parentNode[p]!=this.view.id)&&z!=E;)z=z.parentNode;return z!=E?z:null},baseDecorateEvent:function(z){z.dispatch=
"do"+z.type;z.grid=this.grid;z.sourceView=this.view;z.cellNode=this.findCellTarget(z.target,z.rowNode);z.cellIndex=this.getCellNodeIndex(z.cellNode);z.cell=0<=z.cellIndex?this.grid.getCell(z.cellIndex):null},findTarget:function(z,E){for(;z&&z!=this.domNode&&(!(E in z)||p in z&&z[p]!=this.view.id);)z=z.parentNode;return z!=this.domNode?z:null},findRowTarget:function(z){return this.findTarget(z,m)},isIntraNodeEvent:function(z){try{return z.cellNode&&z.relatedTarget&&b.isDescendant(z.relatedTarget,z.cellNode)}catch(E){return!1}},
isIntraRowEvent:function(z){try{var E=z.relatedTarget&&this.findRowTarget(z.relatedTarget);return!E&&-1==z.rowIndex||E&&z.rowIndex==E.gridRowIndex}catch(y){return!1}},dispatchEvent:function(z){return z.dispatch in this?this[z.dispatch](z):!1},domouseover:function(z){z.cellNode&&z.cellNode!=this.lastOverCellNode&&(this.lastOverCellNode=z.cellNode,this.grid.onMouseOver(z));this.grid.onMouseOverRow(z)},domouseout:function(z){if(z.cellNode&&z.cellNode==this.lastOverCellNode&&!this.isIntraNodeEvent(z,
this.lastOverCellNode)&&(this.lastOverCellNode=null,this.grid.onMouseOut(z),!this.isIntraRowEvent(z)))this.grid.onMouseOutRow(z)},domousedown:function(z){if(z.cellNode)this.grid.onMouseDown(z);this.grid.onMouseDownRow(z)},_getTextDirStyle:function(z,E,y){return""}});t=k._ContentBuilder=w.extend(function(z){u.call(this,z)},u.prototype,{update:function(){this.prepareHtml()},prepareHtml:function(){for(var z=this.grid.get,E=this.view.structure.cells,y=0,B;B=E[y];y++)for(var I=0,v;v=B[I];I++)v.get=v.get||
void 0==v.value&&z,v.markup=this.generateCellMarkup(v,v.cellStyles,v.cellClasses,!1),!this.grid.editable&&v.editable&&(this.grid.editable=!0)},generateHtml:function(z,E){z=this.getTableArray();var y=this.view.structure.cells,B=this.grid.getItem(E);a.fire(this.view,"onBeforeRow",[E,y]);for(var I=0,v;v=y[I];I++)if(!v.hidden&&!v.header){z.push(v.invisible?'\x3ctr class\x3d"dojoxGridInvisible"\x3e':"\x3ctr\x3e");for(var F=0,D,G,J;D=v[F];F++){G=D.markup;var C=D.customClasses=[];J=D.customStyles=[];G[5]=
D.format(E,B);G[1]=C.join(" ");G[3]=J.join(";");(C=D.textDir||this.grid.textDir)&&(G[3]+=this._getTextDirStyle(C,D,E));z.push.apply(z,G)}z.push("\x3c/tr\x3e")}z.push("\x3c/table\x3e");return z.join("")},decorateEvent:function(z){z.rowNode=this.findRowTarget(z.target);if(!z.rowNode)return!1;z.rowIndex=z.rowNode[m];this.baseDecorateEvent(z);z.cell=this.grid.getCell(z.cellIndex);return!0}});var A=k._HeaderBuilder=w.extend(function(z){this.moveable=null;u.call(this,z)},u.prototype,{_skipBogusClicks:!1,
overResizeWidth:4,minColWidth:1,update:function(){this.tableMap?this.tableMap.mapRows(this.view.structure.cells):this.tableMap=new k._TableMap(this.view.structure.cells)},generateHtml:function(z,E){var y,B=this.getTableArray(),I=this.view.structure.cells;a.fire(this.view,"onBeforeRow",[-1,I]);for(var v=0,F;F=I[v];v++)if(!F.hidden){B.push(F.invisible?'\x3ctr class\x3d"dojoxGridInvisible"\x3e':"\x3ctr\x3e");for(var D=0,G,J;G=F[D];D++)G.customClasses=[],G.customStyles=[],this.view.simpleStructure&&(G.draggable&&
(G.headerClasses?-1==G.headerClasses.indexOf("dojoDndItem")&&(G.headerClasses+=" dojoDndItem"):G.headerClasses="dojoDndItem"),G.attrs?-1==G.attrs.indexOf("dndType\x3d'gridColumn_")&&(G.attrs+=" dndType\x3d'gridColumn_"+this.grid.id+"'"):G.attrs="dndType\x3d'gridColumn_"+this.grid.id+"'"),J=this.generateCellMarkup(G,G.headerStyles,G.headerClasses,!0),J[5]=void 0!=E?E:z(G),J[3]=G.customStyles.join(";"),(y=G.textDir||this.grid.textDir)&&(J[3]+=this._getTextDirStyle(y,G,E)),J[1]=G.customClasses.join(" "),
B.push(J.join(""));B.push("\x3c/tr\x3e")}B.push("\x3c/table\x3e");return B.join("")},getCellX:function(z){var E=l("th");for(var y=z.target;y&&E(y);y=y.parentNode);(E=y)?(E=e.position(E),z=z.clientX-E.x):z=z.layerX;return z},decorateEvent:function(z){this.baseDecorateEvent(z);z.rowIndex=-1;z.cellX=this.getCellX(z);return!0},prepareResize:function(z,E){do{var y=z.cellIndex;z.cellNode=y?z.cellNode.parentNode.cells[y+E]:null;z.cellIndex=z.cellNode?this.getCellNodeIndex(z.cellNode):-1}while(z.cellNode&&
"none"==z.cellNode.style.display);return!!z.cellNode},canResize:function(z){if(!z.cellNode||1<z.cellNode.colSpan)return!1;z=this.grid.getCell(z.cellIndex);return!z.noresize&&z.canResize()},overLeftResizeArea:function(z){if(b.hasClass(n.body(),"dojoDndMove"))return!1;if(f("ie")){var E=z.target;if(b.hasClass(E,"dojoxGridArrowButtonNode")||b.hasClass(E,"dojoxGridArrowButtonChar")||b.hasClass(E,"dojoxGridColCaption"))return!1}return this.grid.isLeftToRight()?0<z.cellIndex&&0<z.cellX&&z.cellX<this.overResizeWidth&&
this.prepareResize(z,-1):z.cellNode&&0<z.cellX&&z.cellX<this.overResizeWidth},overRightResizeArea:function(z){if(b.hasClass(n.body(),"dojoDndMove"))return!1;if(f("ie")){var E=z.target;if(b.hasClass(E,"dojoxGridArrowButtonNode")||b.hasClass(E,"dojoxGridArrowButtonChar")||b.hasClass(E,"dojoxGridColCaption"))return!1}return this.grid.isLeftToRight()?z.cellNode&&z.cellX>=z.cellNode.offsetWidth-this.overResizeWidth:0<z.cellIndex&&z.cellX>=z.cellNode.offsetWidth-this.overResizeWidth&&this.prepareResize(z,
-1)},domousemove:function(z){if(!this.moveable){var E=this.overRightResizeArea(z)?"dojoxGridColResize":this.overLeftResizeArea(z)?"dojoxGridColResize":"";E&&!this.canResize(z)&&(E="dojoxGridColNoResize");b.toggleClass(z.sourceView.headerNode,"dojoxGridColNoResize","dojoxGridColNoResize"==E);b.toggleClass(z.sourceView.headerNode,"dojoxGridColResize","dojoxGridColResize"==E);E&&h.stop(z)}},domousedown:function(z){this.moveable||((this.overRightResizeArea(z)||this.overLeftResizeArea(z))&&this.canResize(z)?
this.beginColumnResize(z):(this.grid.onMouseDown(z),this.grid.onMouseOverRow(z)))},doclick:function(z){return this._skipBogusClicks?(h.stop(z),!0):!1},colResizeSetup:function(z,E){var y=b.contentBox(z.sourceView.headerNode);if(E){this.lineDiv=document.createElement("div");E=b.position(z.sourceView.headerNode,!0);var B=b.contentBox(z.sourceView.domNode),I=z.pageX;!this.grid.isLeftToRight()&&8>f("ie")&&(I-=c.getScrollbar().w);b.style(this.lineDiv,{top:E.y+"px",left:I+"px",height:B.h+y.h+"px"});b.addClass(this.lineDiv,
"dojoxGridResizeColLine");this.lineDiv._origLeft=I;n.body().appendChild(this.lineDiv)}E=[];B=this.tableMap.findOverlappingNodes(z.cellNode);I=0;for(var v;v=B[I];I++)E.push({node:v,index:this.getCellNodeIndex(v),width:v.offsetWidth});B=z.sourceView;v=this.grid.isLeftToRight()?1:-1;var F=z.grid.views.views;I=[];for(var D=B.idx+v,G;G=F[D];D+=v)I.push({node:G.headerNode,left:window.parseInt(G.headerNode.style.left)});v=B.headerContentNode.firstChild;return{scrollLeft:z.sourceView.headerNode.scrollLeft,
view:B,node:z.cellNode,index:z.cellIndex,w:b.contentBox(z.cellNode).w,vw:y.w,table:v,tw:b.contentBox(v).w,spanners:E,followers:I}},beginColumnResize:function(z){this.moverDiv=document.createElement("div");b.style(this.moverDiv,{position:"absolute",left:0});n.body().appendChild(this.moverDiv);b.addClass(this.grid.domNode,"dojoxGridColumnResizing");var E=this.moveable=new d(this.moverDiv),y=this.colResizeSetup(z,!0);E.onMove=w.hitch(this,"doResizeColumn",y);g.connect(E,"onMoveStop",w.hitch(this,function(){this.endResizeColumn(y);
y.node.releaseCapture&&y.node.releaseCapture();this.moveable.destroy();delete this.moveable;this.moveable=null;b.removeClass(this.grid.domNode,"dojoxGridColumnResizing")}));z.cellNode.setCapture&&z.cellNode.setCapture();E.onMouseDown(z)},doResizeColumn:function(z,E,y){var B=y.l;B={deltaX:B,w:z.w+(this.grid.isLeftToRight()?B:-B),vw:z.vw+B,tw:z.tw+B};this.dragRecord={inDrag:z,mover:E,leftTop:y};B.w>=this.minColWidth&&(E?b.style(this.lineDiv,"left",this.lineDiv._origLeft+B.deltaX+"px"):this.doResizeNow(z,
B))},endResizeColumn:function(z){if(this.dragRecord){var E=this.dragRecord.leftTop;E=this.grid.isLeftToRight()?E.l:-E.l;E+=Math.max(z.w+E,this.minColWidth)-(z.w+E);f("webkit")&&z.spanners.length&&(E+=b._getPadBorderExtents(z.spanners[0].node).w);this.doResizeNow(z,{deltaX:E,w:z.w+E,vw:z.vw+E,tw:z.tw+E});delete this.dragRecord}b.destroy(this.lineDiv);b.destroy(this.moverDiv);b.destroy(this.moverDiv);delete this.moverDiv;this._skipBogusClicks=!0;z.view.update();this._skipBogusClicks=!1;this.grid.onResizeColumn(z.index)},
doResizeNow:function(z,E){z.view.convertColPctToFixed();if(z.view.flexCells&&!z.view.testFlexCells()){var y=q(z.node);y&&(y.style.width="")}var B;for(y=0;B=z.spanners[y];y++){var I=B.width+E.deltaX;0<I&&(B.node.style.width=I+"px",z.view.setColWidth(B.index,I))}if(this.grid.isLeftToRight()||!f("ie"))for(y=0;B=z.followers[y];y++)I=B.left+E.deltaX,B.node.style.left=I+"px";z.node.style.width=E.w+"px";z.view.setColWidth(z.index,E.w);z.view.headerNode.style.width=E.vw+"px";z.view.setColumnsWidth(E.tw);
this.grid.isLeftToRight()||(z.view.headerNode.scrollLeft=z.scrollLeft+E.deltaX)}});k._TableMap=w.extend(function(z){this.mapRows(z)},{map:null,mapRows:function(z){if(z.length){this.map=[];for(var E,y=0;E=z[y];y++)this.map[y]=[];for(y=0;E=z[y];y++)for(var B=0,I=0,v,F;v=E[B];B++){for(;this.map[y][I];)I++;this.map[y][I]={c:B,r:y};F=v.rowSpan||1;v=v.colSpan||1;for(var D=0;D<F;D++)for(var G=0;G<v;G++)this.map[y+D][I+G]=this.map[y][I];I+=v}}},dumpMap:function(){for(var z=0,E;E=this.map[z];z++)for(var y=
0;E[y];y++);},getMapCoords:function(z,E){for(var y=0,B;B=this.map[y];y++)for(var I=0,v;v=B[I];I++)if(v.c==E&&v.r==z)return{j:y,i:I};return{j:-1,i:-1}},getNode:function(z,E,y){return(z=z&&z.rows[E])&&z.cells[y]},_findOverlappingNodes:function(z,E,y){var B=[];E=this.getMapCoords(E,y);y=0;for(var I;I=this.map[y];y++)y!=E.j&&(I=(I=I[E.i])?this.getNode(z,I.r,I.c):null)&&B.push(I);return B},findOverlappingNodes:function(z){var E=this._findOverlappingNodes,y=q(z);var B=z.parentNode;B=0<=B.rowIndex?B.rowIndex:
x.indexOf(B.parentNode.childNodes,B);return E.call(this,y,B,0<=z.cellIndex?z.cellIndex:x.indexOf(z.parentNode.cells,z))}});return{_Builder:u,_HeaderBuilder:A,_ContentBuilder:t}})},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(t,x,w,n){if(x._fixEvent){var h=x._fixEvent;x._fixEvent=function(g,d){(g=h(g,d))&&n.normalizeEvent(g);return g}}var f={fix:function(g,d){return x._fixEvent?x._fixEvent(g,d):g},stop:function(g){w("dom-addeventlistener")||g&&g.preventDefault?
(g.preventDefault(),g.stopPropagation()):(g=g||window.event,g.cancelBubble=!0,x._preventDefault.call(g))}};t.fixEvent=f.fix;t.stopEvent=f.stop;return f})},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(t,x,w,n){function h(b,e,k,r,q,l){l=l||"px";b=b.style;isNaN(e)||(b.left=e+l);isNaN(k)||(b.top=k+l);0<=r&&(b.width=r+l);0<=q&&(b.height=q+l)}function f(b){return"button"==b.tagName.toLowerCase()||"input"==b.tagName.toLowerCase()&&"button"==(b.getAttribute("type")||
"").toLowerCase()}function g(b){return"border-box"==c.boxModel||"table"==b.tagName.toLowerCase()||f(b)}function d(b){var e={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0};try{var k=b.getBoundingClientRect()}catch(r){return e}return"undefined"===typeof k.left?e:k}var c={boxModel:"content-box"};t("ie")&&(c.boxModel="BackCompat"==document.compatMode?"border-box":"content-box");c.getPadExtents=function(b,e){b=w.byId(b);var k=e||n.getComputedStyle(b),r=n.toPixelValue;e=r(b,k.paddingLeft);var q=
r(b,k.paddingTop),l=r(b,k.paddingRight);b=r(b,k.paddingBottom);return{l:e,t:q,r:l,b:b,w:e+l,h:q+b}};c.getBorderExtents=function(b,e){b=w.byId(b);var k=n.toPixelValue,r=e||n.getComputedStyle(b);e="none"!=r.borderLeftStyle?k(b,r.borderLeftWidth):0;var q="none"!=r.borderTopStyle?k(b,r.borderTopWidth):0,l="none"!=r.borderRightStyle?k(b,r.borderRightWidth):0;b="none"!=r.borderBottomStyle?k(b,r.borderBottomWidth):0;return{l:e,t:q,r:l,b:b,w:e+l,h:q+b}};c.getPadBorderExtents=function(b,e){b=w.byId(b);var k=
e||n.getComputedStyle(b);e=c.getPadExtents(b,k);b=c.getBorderExtents(b,k);return{l:e.l+b.l,t:e.t+b.t,r:e.r+b.r,b:e.b+b.b,w:e.w+b.w,h:e.h+b.h}};c.getMarginExtents=function(b,e){b=w.byId(b);var k=e||n.getComputedStyle(b),r=n.toPixelValue;e=r(b,k.marginLeft);var q=r(b,k.marginTop),l=r(b,k.marginRight);b=r(b,k.marginBottom);return{l:e,t:q,r:l,b:b,w:e+l,h:q+b}};c.getMarginBox=function(b,e){b=w.byId(b);e=e||n.getComputedStyle(b);e=c.getMarginExtents(b,e);var k=b.offsetLeft-e.l,r=b.offsetTop-e.t,q=b.parentNode,
l=n.toPixelValue;8==t("ie")&&!t("quirks")&&q&&(q=n.getComputedStyle(q),k-="none"!=q.borderLeftStyle?l(b,q.borderLeftWidth):0,r-="none"!=q.borderTopStyle?l(b,q.borderTopWidth):0);return{l:k,t:r,w:b.offsetWidth+e.w,h:b.offsetHeight+e.h}};c.getContentBox=function(b,e){b=w.byId(b);var k=e||n.getComputedStyle(b);e=b.clientWidth;var r=c.getPadExtents(b,k);var q=c.getBorderExtents(b,k);k=b.offsetLeft+r.l+q.l;var l=b.offsetTop+r.t+q.t;e?q=b.clientHeight:(e=b.offsetWidth-q.w,q=b.offsetHeight-q.h);if(8==t("ie")&&
!t("quirks")){var m=b.parentNode,p=n.toPixelValue;m&&(m=n.getComputedStyle(m),k-="none"!=m.borderLeftStyle?p(b,m.borderLeftWidth):0,l-="none"!=m.borderTopStyle?p(b,m.borderTopWidth):0)}return{l:k,t:l,w:e-r.w,h:q-r.h}};c.setContentSize=function(b,e,k){b=w.byId(b);var r=e.w;e=e.h;g(b)&&(k=c.getPadBorderExtents(b,k),0<=r&&(r+=k.w),0<=e&&(e+=k.h));h(b,NaN,NaN,r,e)};var a={l:0,t:0,w:0,h:0};c.setMarginBox=function(b,e,k){b=w.byId(b);var r=k||n.getComputedStyle(b);k=e.w;var q=e.h,l=g(b)?a:c.getPadBorderExtents(b,
r);r=c.getMarginExtents(b,r);if(t("webkit")&&f(b)){var m=b.style;0<=k&&!m.width&&(m.width="4px");0<=q&&!m.height&&(m.height="4px")}0<=k&&(k=Math.max(k-l.w-r.w,0));0<=q&&(q=Math.max(q-l.h-r.h,0));h(b,e.l,e.t,k,q)};c.isBodyLtr=function(b){b=b||x.doc;return"ltr"==(x.body(b).dir||b.documentElement.dir||"ltr").toLowerCase()};c.docScroll=function(b){b=b||x.doc;var e=b.parentWindow||b.defaultView;return"pageXOffset"in e?{x:e.pageXOffset,y:e.pageYOffset}:(e=t("quirks")?x.body(b):b.documentElement)&&{x:c.fixIeBiDiScrollLeft(e.scrollLeft||
0,b),y:e.scrollTop||0}};c.getIeDocumentElementOffset=function(b){return{x:0,y:0}};c.fixIeBiDiScrollLeft=function(b,e){e=e||x.doc;var k=t("ie");if(k&&!c.isBodyLtr(e)){var r=t("quirks");e=r?x.body(e):e.documentElement;var q=x.global;6==k&&!r&&q.frameElement&&e.scrollHeight>e.clientHeight&&(b+=e.clientLeft);return 8>k||r?b+e.clientWidth-e.scrollWidth:-b}return b};c.position=function(b,e){b=w.byId(b);var k=x.body(b.ownerDocument),r=d(b);r={x:r.left,y:r.top,w:r.right-r.left,h:r.bottom-r.top};9>t("ie")&&
(r.x-=t("quirks")?k.clientLeft+k.offsetLeft:0,r.y-=t("quirks")?k.clientTop+k.offsetTop:0);e&&(b=c.docScroll(b.ownerDocument),r.x+=b.x,r.y+=b.y);return r};c.getMarginSize=function(b,e){b=w.byId(b);e=c.getMarginExtents(b,e||n.getComputedStyle(b));b=d(b);return{w:b.right-b.left+e.w,h:b.bottom-b.top+e.h}};c.normalizeEvent=function(b){"layerX"in b||(b.layerX=b.offsetX,b.layerY=b.offsetY);if(!("pageX"in b)){var e=b.target;e=e&&e.ownerDocument||document;var k=t("quirks")?e.body:e.documentElement;b.pageX=
b.clientX+c.fixIeBiDiScrollLeft(k.scrollLeft||0,e);b.pageY=b.clientY+(k.scrollTop||0)}};return c})},"dojo/dom-style":function(){define(["./sniff","./dom","./_base/window"],function(t,x,w){function n(r,q,l){q=q.toLowerCase();if("auto"==l){if("height"==q)return r.offsetHeight;if("width"==q)return r.offsetWidth}if("fontweight"==q)switch(l){case 700:return"bold";default:return"normal"}q in b||(b[q]=e.test(q));return b[q]?g(r,l):l}var h={};var f=t("webkit")?function(r){if(1==r.nodeType){var q=r.ownerDocument.defaultView;
var l=q.getComputedStyle(r,null);!l&&r.style&&(r.style.display="",l=q.getComputedStyle(r,null))}return l||{}}:t("ie")&&(9>t("ie")||t("quirks"))?function(r){return 1==r.nodeType&&r.currentStyle?r.currentStyle:{}}:function(r){if(1===r.nodeType){var q=r.ownerDocument.defaultView;return(q.opener?q:w.global.window).getComputedStyle(r,null)}return{}};h.getComputedStyle=f;var g=t("ie")?function(r,q){if(!q)return 0;if("medium"==q)return 4;if(q.slice&&"px"==q.slice(-2))return parseFloat(q);var l=r.style,m=
r.runtimeStyle,p=l.left,u=m.left;m.left=r.currentStyle.left;try{l.left=q,q=l.pixelLeft}catch(A){q=0}l.left=p;m.left=u;return q}:function(r,q){return parseFloat(q)||0};h.toPixelValue=g;var d=function(r,q){try{return r.filters.item("DXImageTransform.Microsoft.Alpha")}catch(l){return q?{}:null}},c=9>t("ie")||10>t("ie")&&t("quirks")?function(r){try{return d(r).Opacity/100}catch(q){return 1}}:function(r){return f(r).opacity},a=9>t("ie")||10>t("ie")&&t("quirks")?function(r,q){""===q&&(q=1);var l=100*q;
1===q?(r.style.zoom="",d(r)&&(r.style.filter=r.style.filter.replace(RegExp("\\s*progid:DXImageTransform.Microsoft.Alpha\\([^\\)]+?\\)","i"),""))):(r.style.zoom=1,d(r)?d(r,1).Opacity=l:r.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity\x3d"+l+")",d(r,1).Enabled=!0);if("tr"==r.tagName.toLowerCase())for(r=r.firstChild;r;r=r.nextSibling)"td"==r.tagName.toLowerCase()&&a(r,q);return q}:function(r,q){return r.style.opacity=q},b={left:!0,top:!0},e=/margin|padding|width|height|max|min|offset/,
k={cssFloat:1,styleFloat:1,"float":1};h.get=function(r,q){var l=x.byId(r),m=arguments.length;if(2==m&&"opacity"==q)return c(l);q=k[q]?"cssFloat"in l.style?"cssFloat":"styleFloat":q;var p=h.getComputedStyle(l);return 1==m?p:n(l,q,p[q]||l.style[q])};h.set=function(r,q,l){var m=x.byId(r),p=arguments.length,u="opacity"==q;q=k[q]?"cssFloat"in m.style?"cssFloat":"styleFloat":q;if(3==p)return u?a(m,l):m.style[q]=l;for(var A in q)h.set(r,A,q[A]);return h.getComputedStyle(m)};return h})},"dojo/_base/connect":function(){define("./kernel ../on ../topic ../aspect ./event ../mouse ./sniff ./lang ../keys".split(" "),
function(t,x,w,n,h,f,g,d){function c(l,m,p,u,A){u=d.hitch(p,u);if(!l||!l.addEventListener&&!l.attachEvent)return n.after(l||t.global,m,u,!0);"string"==typeof m&&"on"==m.substring(0,2)&&(m=m.substring(2));l||(l=t.global);if(!A)switch(m){case "keypress":m=r;break;case "mouseenter":m=f.enter;break;case "mouseleave":m=f.leave}return x(l,m,u,A)}function a(l){l.keyChar=l.charCode?String.fromCharCode(l.charCode):"";l.charOrCode=l.keyChar||l.keyCode}g.add("events-keypress-typed",function(){var l={charCode:0};
try{l=document.createEvent("KeyboardEvent"),(l.initKeyboardEvent||l.initKeyEvent).call(l,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(m){}return 0==l.charCode&&!g("opera")});var b={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},e=g("mac")?"metaKey":"ctrlKey",k=function(l,m){m=d.mixin({},l,m);a(m);m.preventDefault=function(){l.preventDefault()};m.stopPropagation=function(){l.stopPropagation()};return m};var r=g("events-keypress-typed")?function(l,
m){var p=x(l,"keydown",function(A){var z=A.keyCode,E=13!=z&&32!=z&&(27!=z||!g("ie"))&&(48>z||90<z)&&(96>z||111<z)&&(186>z||192<z)&&(219>z||222<z)&&229!=z;if(E||A.ctrlKey){E=E?0:z;if(A.ctrlKey){if(3==z||13==z)return m.call(A.currentTarget,A);E=95<E&&106>E?E-48:!A.shiftKey&&65<=E&&90>=E?E+32:b[E]||E}z=k(A,{type:"keypress",faux:!0,charCode:E});m.call(A.currentTarget,z);if(g("ie"))try{A.keyCode=z.keyCode}catch(y){}}}),u=x(l,"keypress",function(A){var z=A.charCode;A=k(A,{charCode:32<=z?z:0,faux:!0});return m.call(this,
A)});return{remove:function(){p.remove();u.remove()}}}:g("opera")?function(l,m){return x(l,"keypress",function(p){var u=p.which;3==u&&(u=99);u=32>u&&!p.shiftKey?0:u;p.ctrlKey&&!p.shiftKey&&65<=u&&90>=u&&(u+=32);return m.call(this,k(p,{charCode:u}))})}:function(l,m){return x(l,"keypress",function(p){a(p);return m.call(this,p)})};var q={_keypress:r,connect:function(l,m,p,u,A){var z=arguments,E=[],y=0;E.push("string"==typeof z[0]?null:z[y++],z[y++]);var B=z[y+1];E.push("string"==typeof B||"function"==
typeof B?z[y++]:null,z[y++]);for(B=z.length;y<B;y++)E.push(z[y]);return c.apply(this,E)},disconnect:function(l){l&&l.remove()},subscribe:function(l,m,p){return w.subscribe(l,d.hitch(m,p))},publish:function(l,m){return w.publish.apply(w,[l].concat(m))},connectPublisher:function(l,m,p){var u=function(){q.publish(l,arguments)};return p?q.connect(m,p,u):q.connect(m,u)},isCopyKey:function(l){return l[e]}};q.unsubscribe=q.disconnect;d.mixin(t,q);return q})},"dojo/topic":function(){define(["./Evented"],
function(t){var x=new t;return{publish:function(w,n){return x.emit.apply(x,arguments)},subscribe:function(w,n){return x.on.apply(x,arguments)}}})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(t,x,w,n,h){function f(g,d){var c=function(a,b){return x(a,g,function(e){if(d)return d(e,b);if(!n.isDescendant(e.relatedTarget,a))return b.call(this,e)})};c.bubble=function(a){return f(g,function(b,e){var k=a(b.target),r=b.relatedTarget;if(k&&k!=(r&&1==r.nodeType&&
a(r)))return e.call(k,b)})};return c}w.add("dom-quirks",h.doc&&"BackCompat"==h.doc.compatMode);w.add("events-mouseenter",h.doc&&"onmouseenter"in h.doc.createElement("div"));w.add("events-mousewheel",h.doc&&"onmousewheel"in h.doc);h=w("dom-quirks")&&w("ie")||!w("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(g,d){return g.button&d},isLeft:function(g){return g.button&1},isMiddle:function(g){return g.button&4},isRight:function(g){return g.button&2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(g,
d){return g.button==d},isLeft:function(g){return 0==g.button},isMiddle:function(g){return 1==g.button},isRight:function(g){return 2==g.button}};t.mouseButtons=h;t=w("events-mousewheel")?"mousewheel":function(g,d){return x(g,"DOMMouseScroll",function(c){c.wheelDelta=-c.detail;d.call(this,c)})};return{_eventHandler:f,enter:f("mouseover"),leave:f("mouseout"),wheel:t,isLeft:h.isLeft,isMiddle:h.isMiddle,isRight:h.isRight}})},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(t,x){return t.keys=
{BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:x("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:x("mac")&&!x("air")?x("safari")?91:224:17}})},"dojo/dnd/Moveable":function(){define("../_base/array ../_base/declare ../_base/lang ../dom ../dom-class ../Evented ../has ../on ../topic ../touch ./common ./Mover ../_base/window".split(" "),function(t,x,w,n,h,f,g,d,c,a,b,e,k){function r(m,
p){"touchAction"in document.body.style?q="touchAction":"msTouchAction"in document.body.style&&(q="msTouchAction");l=function(u,A){u.style[q]=A};l(m,p)}var q,l=function(){};g("touch-action")&&(l=r);return x("dojo.dnd.Moveable",[f],{handle:"",delay:0,skip:!1,constructor:function(m,p){this.node=n.byId(m);l(this.node,"none");p||(p={});this.handle=p.handle?n.byId(p.handle):null;this.handle||(this.handle=this.node);this.delay=0<p.delay?p.delay:0;this.skip=p.skip;this.mover=p.mover?p.mover:e;this.events=
[d(this.handle,a.press,w.hitch(this,"onMouseDown")),d(this.handle,"dragstart",w.hitch(this,"onSelectStart")),d(this.handle,"selectstart",w.hitch(this,"onSelectStart"))]},markupFactory:function(m,p,u){return new u(p,m)},destroy:function(){t.forEach(this.events,function(m){m.remove()});l(this.node,"");this.events=this.node=this.handle=null},onMouseDown:function(m){if(!this.skip||!b.isFormElement(m)){if(this.delay)this.events.push(d(this.handle,a.move,w.hitch(this,"onMouseMove")),d(this.handle.ownerDocument,
a.release,w.hitch(this,"onMouseUp"))),this._lastX=m.pageX,this._lastY=m.pageY;else this.onDragDetected(m);m.stopPropagation();m.preventDefault()}},onMouseMove:function(m){if(Math.abs(m.pageX-this._lastX)>this.delay||Math.abs(m.pageY-this._lastY)>this.delay)this.onMouseUp(m),this.onDragDetected(m);m.stopPropagation();m.preventDefault()},onMouseUp:function(m){for(var p=0;2>p;++p)this.events.pop().remove();m.stopPropagation();m.preventDefault()},onSelectStart:function(m){this.skip&&b.isFormElement(m)||
(m.stopPropagation(),m.preventDefault())},onDragDetected:function(m){new this.mover(this.node,m,this)},onMoveStart:function(m){c.publish("/dnd/move/start",m);h.add(k.body(),"dojoMove");h.add(this.node,"dojoMoveItem")},onMoveStop:function(m){c.publish("/dnd/move/stop",m);h.remove(k.body(),"dojoMove");h.remove(this.node,"dojoMoveItem")},onFirstMove:function(){},onMove:function(m,p){this.onMoving(m,p);var u=m.node.style;u.left=p.l+"px";u.top=p.t+"px";this.onMoved(m,p)},onMoving:function(){},onMoved:function(){}})})},
"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(t,x,w){function n(c){if("string"==typeof c||c instanceof String){if(c&&!f.test(c))return g[0]=c,g;c=c.split(f);c.length&&!c[0]&&c.shift();c.length&&!c[c.length-1]&&c.pop();return c}return c?x.filter(c,function(a){return a}):[]}var h,f=/\s+/,g=[""],d={};return h={contains:function(c,a){return 0<=(" "+w.byId(c).className+" ").indexOf(" "+a+" ")},add:function(c,a){c=w.byId(c);a=n(a);var b=c.className;b=b?" "+b+" ":" ";
var e=b.length;for(var k=0,r=a.length,q;k<r;++k)(q=a[k])&&0>b.indexOf(" "+q+" ")&&(b+=q+" ");e<b.length&&(c.className=b.substr(1,b.length-2))},remove:function(c,a){c=w.byId(c);if(void 0!==a){a=n(a);var b=" "+c.className+" ";for(var e=0,k=a.length;e<k;++e)b=b.replace(" "+a[e]+" "," ");b=t.trim(b)}else b="";c.className!=b&&(c.className=b)},replace:function(c,a,b){c=w.byId(c);d.className=c.className;h.remove(d,b);h.add(d,a);c.className!==d.className&&(c.className=d.className)},toggle:function(c,a,b){c=
w.byId(c);if(void 0===b){a=n(a);for(var e=0,k=a.length,r;e<k;++e)r=a[e],h[h.contains(c,r)?"remove":"add"](c,r)}else h[b?"add":"remove"](c,a);return b}}})},"dojo/touch":function(){define("./_base/kernel ./aspect ./dom ./dom-class ./_base/lang ./on ./has ./mouse ./domReady ./_base/window".split(" "),function(t,x,w,n,h,f,g,d,c,a){function b(G,J,C){return q&&C?function(H,M){return f(H,C,M)}:m?function(H,M){var L=f(H,J,function(O){M.call(this,O);F=(new Date).getTime()}),N=f(H,G,function(O){(!F||(new Date).getTime()>
F+1E3)&&M.call(this,O)});return{remove:function(){L.remove();N.remove()}}}:function(H,M){return f(H,G,M)}}function e(G){do if(void 0!==G.dojoClick)return G;while(G=G.parentNode)}function k(G,J,C){if(!d.isRight(G)){var H=e(G.target);if(u=!G.target.disabled&&H&&H.dojoClick)if(z=(A="useTarget"==u)?H:G.target,A&&G.preventDefault(),E=G.changedTouches?G.changedTouches[0].pageX-a.global.pageXOffset:G.clientX,y=G.changedTouches?G.changedTouches[0].pageY-a.global.pageYOffset:G.clientY,B=("object"==typeof u?
u.x:"number"==typeof u?u:0)||4,I=("object"==typeof u?u.y:"number"==typeof u?u:0)||4,!p){p=!0;var M=function(L){u=A?w.isDescendant(a.doc.elementFromPoint(L.changedTouches?L.changedTouches[0].pageX-a.global.pageXOffset:L.clientX,L.changedTouches?L.changedTouches[0].pageY-a.global.pageYOffset:L.clientY),z):u&&(L.changedTouches?L.changedTouches[0].target:L.target)==z&&Math.abs((L.changedTouches?L.changedTouches[0].pageX-a.global.pageXOffset:L.clientX)-E)<=B&&Math.abs((L.changedTouches?L.changedTouches[0].pageY-
a.global.pageYOffset:L.clientY)-y)<=I};a.doc.addEventListener(J,function(L){d.isRight(L)||(M(L),A&&L.preventDefault())},!0);a.doc.addEventListener(C,function(L){if(!d.isRight(L)&&(M(L),u)){v=(new Date).getTime();var N=A?z:L.target;"LABEL"===N.tagName&&(N=w.byId(N.getAttribute("for"))||N);var O=L.changedTouches?L.changedTouches[0]:L,P=function(ea){var na=document.createEvent("MouseEvents");na._dojo_click=!0;na.initMouseEvent(ea,!0,!0,L.view,L.detail,O.screenX,O.screenY,O.clientX,O.clientY,L.ctrlKey,
L.altKey,L.shiftKey,L.metaKey,0,null);return na},X=P("mousedown"),Y=P("mouseup"),ba=P("click");setTimeout(function(){f.emit(N,"mousedown",X);f.emit(N,"mouseup",Y);f.emit(N,"click",ba);v=(new Date).getTime()},0)}},!0);G=function(L){a.doc.addEventListener(L,function(N){var O=N.target;u&&!N._dojo_click&&(new Date).getTime()<=v+1E3&&("INPUT"!=O.tagName||!n.contains(O,"dijitOffScreen"))&&(N.stopPropagation(),N.stopImmediatePropagation&&N.stopImmediatePropagation(),"click"==L&&("INPUT"!=O.tagName||"radio"==
O.type&&(n.contains(O,"dijitCheckBoxInput")||n.contains(O,"mblRadioButton"))||"checkbox"==O.type&&(n.contains(O,"dijitCheckBoxInput")||n.contains(O,"mblCheckBox")))&&"TEXTAREA"!=O.tagName&&"AUDIO"!=O.tagName&&"VIDEO"!=O.tagName&&N.preventDefault())},!0)};G("click");G("mousedown");G("mouseup")}}}var r=5>g("ios"),q=g("pointer-events")||g("MSPointer"),l=function(){var G={},J;for(J in{down:1,move:1,up:1,cancel:1,over:1,out:1})G[J]=g("MSPointer")?"MSPointer"+J.charAt(0).toUpperCase()+J.slice(1):"pointer"+
J;return G}(),m=g("touch-events"),p,u,A=!1,z,E,y,B,I,v,F,D;g("touch")&&(q?c(function(){a.doc.addEventListener(l.down,function(G){k(G,l.move,l.up)},!0)}):c(function(){function G(J){var C=h.delegate(J,{bubbles:!0});6<=g("ios")&&(C.touches=J.touches,C.altKey=J.altKey,C.changedTouches=J.changedTouches,C.ctrlKey=J.ctrlKey,C.metaKey=J.metaKey,C.shiftKey=J.shiftKey,C.targetTouches=J.targetTouches);return C}D=a.body();a.doc.addEventListener("touchstart",function(J){F=(new Date).getTime();var C=D;D=J.target;
f.emit(C,"dojotouchout",{relatedTarget:D,bubbles:!0});f.emit(D,"dojotouchover",{relatedTarget:C,bubbles:!0});k(J,"touchmove","touchend")},!0);f(a.doc,"touchmove",function(J){F=(new Date).getTime();var C=a.doc.elementFromPoint(J.pageX-(r?0:a.global.pageXOffset),J.pageY-(r?0:a.global.pageYOffset));C&&(D!==C&&(f.emit(D,"dojotouchout",{relatedTarget:C,bubbles:!0}),f.emit(C,"dojotouchover",{relatedTarget:D,bubbles:!0}),D=C),f.emit(C,"dojotouchmove",G(J))||J.preventDefault())});f(a.doc,"touchend",function(J){F=
(new Date).getTime();var C=a.doc.elementFromPoint(J.pageX-(r?0:a.global.pageXOffset),J.pageY-(r?0:a.global.pageYOffset))||a.body();f.emit(C,"dojotouchend",G(J))})}));x={press:b("mousedown","touchstart",l.down),move:b("mousemove","dojotouchmove",l.move),release:b("mouseup","dojotouchend",l.up),cancel:b(d.leave,"touchcancel",q?l.cancel:null),over:b("mouseover","dojotouchover",l.over),out:b("mouseout","dojotouchout",l.out),enter:d._eventHandler(b("mouseover","dojotouchover",l.over)),leave:d._eventHandler(b("mouseout",
"dojotouchout",l.out))};return t.touch=x})},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(t,x,w,n){var h=w.getObject("dojo.dnd",!0);h.getCopyKeyState=function(f){return f[t("mac")?"metaKey":"ctrlKey"]};h._uniqueId=0;h.getUniqueId=function(){do var f=x._scopeName+"Unique"+ ++h._uniqueId;while(n.byId(f));return f};h._empty={};h.isFormElement=function(f){f=f.target;3==f.nodeType&&(f=f.parentNode);return 0<=" a button textarea input select option ".indexOf(" "+
f.tagName.toLowerCase()+" ")};return h})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k){return x("dojo.dnd.Mover",[c],{constructor:function(r,q,l){function m(p){p.preventDefault();p.stopPropagation()}this.node=f.byId(r);this.marginBox={l:q.pageX,t:q.pageY};this.mouseButton=q.button;q=this.host=l;r=r.ownerDocument;
this.events=[a(r,b.move,w.hitch(this,"onFirstMove")),a(r,b.move,w.hitch(this,"onMouseMove")),a(r,b.release,w.hitch(this,"onMouseUp")),a(r,"dragstart",m),a(r.body,"selectstart",m)];k.autoScrollStart(r);if(q&&q.onMoveStart)q.onMoveStart(this)},onMouseMove:function(r){k.autoScroll(r);var q=this.marginBox;this.host.onMove(this,{l:q.l+r.pageX,t:q.t+r.pageY},r);r.preventDefault();r.stopPropagation()},onMouseUp:function(r){(n("webkit")&&n("mac")&&2==this.mouseButton?0==r.button:this.mouseButton==r.button)&&
this.destroy();r.preventDefault();r.stopPropagation()},onFirstMove:function(r){var q=this.node.style,l=this.host;switch(q.position){case "relative":case "absolute":var m=Math.round(parseFloat(q.left))||0;q=Math.round(parseFloat(q.top))||0;break;default:q.position="absolute";q=g.getMarginBox(this.node);m=h.doc.body;var p=d.getComputedStyle(m),u=g.getMarginBox(m,p);p=g.getContentBox(m,p);m=q.l-(p.l-u.l);q=q.t-(p.t-u.t)}this.marginBox.l=m-this.marginBox.l;this.marginBox.t=q-this.marginBox.t;if(l&&l.onFirstMove)l.onFirstMove(this,
r);this.events.shift().remove()},destroy:function(){t.forEach(this.events,function(q){q.remove()});var r=this.host;if(r&&r.onMoveStop)r.onMoveStop(this);this.events=this.node=this.host=null}})})},"dojo/dnd/autoscroll":function(){define("../_base/lang ../sniff ../_base/window ../dom-geometry ../dom-style ../window".split(" "),function(t,x,w,n,h,f){var g={};t.setObject("dojo.dnd.autoscroll",g);g.getViewport=f.getBox;g.V_TRIGGER_AUTOSCROLL=32;g.H_TRIGGER_AUTOSCROLL=32;g.V_AUTOSCROLL_VALUE=16;g.H_AUTOSCROLL_VALUE=
16;var d,c=w.doc,a=Infinity,b=Infinity;g.autoScrollStart=function(e){c=e;d=f.getBox(c);e=w.body(c).parentNode;a=Math.max(e.scrollHeight-d.h,0);b=Math.max(e.scrollWidth-d.w,0)};g.autoScroll=function(e){var k=d||f.getBox(c),r=w.body(c).parentNode,q=0,l=0;e.clientX<g.H_TRIGGER_AUTOSCROLL?q=-g.H_AUTOSCROLL_VALUE:e.clientX>k.w-g.H_TRIGGER_AUTOSCROLL&&(q=Math.min(g.H_AUTOSCROLL_VALUE,b-r.scrollLeft));e.clientY<g.V_TRIGGER_AUTOSCROLL?l=-g.V_AUTOSCROLL_VALUE:e.clientY>k.h-g.V_TRIGGER_AUTOSCROLL&&(l=Math.min(g.V_AUTOSCROLL_VALUE,
a-r.scrollTop));window.scrollBy(q,l)};g._validNodes={div:1,p:1,td:1};g._validOverflow={auto:1,scroll:1};g.autoScrollNodes=function(e){for(var k,r,q,l,m,p=0,u=0,A=e.target;A;){if(1==A.nodeType&&A.tagName.toLowerCase()in g._validNodes){q=h.getComputedStyle(A);m=q.overflowX.toLowerCase()in g._validOverflow;l=q.overflowY.toLowerCase()in g._validOverflow;if(m||l)k=n.getContentBox(A,q),r=n.position(A,!0);if(m){q=Math.min(g.H_TRIGGER_AUTOSCROLL,k.w/2);m=e.pageX-r.x;if(x("webkit")||x("opera"))m+=w.body().scrollLeft;
p=0;0<m&&m<k.w&&(m<q?p=-q:m>k.w-q&&(p=q),A.scrollLeft+=p)}if(l){l=Math.min(g.V_TRIGGER_AUTOSCROLL,k.h/2);q=e.pageY-r.y;if(x("webkit")||x("opera"))q+=w.body().scrollTop;u=0;0<q&&q<k.h&&(q<l?u=-l:q>k.h-l&&(u=l),A.scrollTop+=u)}if(p||u)return}try{A=A.parentNode}catch(z){A=null}}g.autoScroll(e)};return g})},"dojo/window":function(){define("./_base/lang ./sniff ./_base/window ./dom ./dom-geometry ./dom-style ./dom-construct".split(" "),function(t,x,w,n,h,f,g){x.add("rtl-adjust-position-for-verticalScrollBar",
function(c,a){c=w.body(a);a=g.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},c,"last");var b=g.create("div",{style:{overflow:"hidden",direction:"ltr"}},a,"last"),e=0!=h.position(b).x;a.removeChild(b);c.removeChild(a);return e});x.add("position-fixed-support",function(c,a){c=w.body(a);a=g.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},c,"last");var b=
g.create("span",{style:{position:"fixed",left:"0",top:"0"}},a,"last"),e=h.position(b).x!=h.position(a).x;a.removeChild(b);c.removeChild(a);return e});var d={getBox:function(c){c=c||w.doc;var a="BackCompat"==c.compatMode?w.body(c):c.documentElement,b=h.docScroll(c);if(x("touch")){var e=d.get(c);c=e.innerWidth||a.clientWidth;a=e.innerHeight||a.clientHeight}else c=a.clientWidth,a=a.clientHeight;return{l:b.x,t:b.y,w:c,h:a}},get:function(c){if(x("ie")&&d!==document.parentWindow){c.parentWindow.execScript("document._parentWindow \x3d window;",
"Javascript");var a=c._parentWindow;c._parentWindow=null;return a}return c.parentWindow||c.defaultView},scrollIntoView:function(c,a){try{c=n.byId(c);var b=c.ownerDocument||w.doc,e=w.body(b),k=b.documentElement||e.parentNode,r=x("ie")||x("trident"),q=x("webkit");if(c!=e&&c!=k)if(!(x("mozilla")||r||q||x("opera")||x("trident")||x("edge"))&&"scrollIntoView"in c)c.scrollIntoView(!1);else{var l="BackCompat"==b.compatMode,m=Math.min(e.clientWidth||k.clientWidth,k.clientWidth||e.clientWidth),p=Math.min(e.clientHeight||
k.clientHeight,k.clientHeight||e.clientHeight);b=q||l?e:k;var u=a||h.position(c),A=c.parentNode;a=function(L){return 6>=r||7==r&&l?!1:x("position-fixed-support")&&"fixed"==f.get(L,"position").toLowerCase()};var z=this;q=function(L,N,O){"BODY"==L.tagName||"HTML"==L.tagName?z.get(L.ownerDocument).scrollBy(N,O):(N&&(L.scrollLeft+=N),O&&(L.scrollTop+=O))};if(!a(c))for(;A;){A==e&&(A=b);var E=h.position(A),y=a(A),B="rtl"==f.getComputedStyle(A).direction.toLowerCase();if(A==b)E.w=m,E.h=p,b==k&&(r||x("trident"))&&
B&&(E.x+=b.offsetWidth-E.w),E.x=0,E.y=0;else{var I=h.getPadBorderExtents(A);E.w-=I.w;E.h-=I.h;E.x+=I.l;E.y+=I.t;var v=A.clientWidth,F=E.w-v;0<v&&0<F&&(B&&x("rtl-adjust-position-for-verticalScrollBar")&&(E.x+=F),E.w=v);v=A.clientHeight;F=E.h-v;0<v&&0<F&&(E.h=v)}y&&(0>E.y&&(E.h+=E.y,E.y=0),0>E.x&&(E.w+=E.x,E.x=0),E.y+E.h>p&&(E.h=p-E.y),E.x+E.w>m&&(E.w=m-E.x));var D=u.x-E.x,G=u.y-E.y,J=D+u.w-E.w,C=G+u.h-E.h;if(0<J*D&&(A.scrollLeft||A==b||A.scrollWidth>A.offsetHeight)){var H=Math[0>D?"max":"min"](D,J);
B&&(8==r&&!l||5<=x("trident"))&&(H=-H);var M=A.scrollLeft;q(A,H,0);H=A.scrollLeft-M;u.x-=H}0<C*G&&(A.scrollTop||A==b||A.scrollHeight>A.offsetHeight)&&(H=Math.ceil(Math[0>G?"max":"min"](G,C)),M=A.scrollTop,q(A,0,H),H=A.scrollTop-M,u.y-=H);A=A!=b&&!y&&A.parentNode}}}catch(L){c.scrollIntoView(!1)}}};t.setObject("dojo.window",d);return d})},"dojo/dom-construct":function(){define("exports ./_base/kernel ./sniff ./_base/window ./dom ./dom-attr".split(" "),function(t,x,w,n,h,f){function g(p,u){var A=u.parentNode;
A&&A.insertBefore(p,u)}function d(p){if("innerHTML"in p)try{p.innerHTML="";return}catch(A){}for(var u;u=p.lastChild;)p.removeChild(u)}var c={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:]+)/,b={},e=0,k="__"+x._scopeName+"ToDomId",r;for(r in c)c.hasOwnProperty(r)&&(x=c[r],x.pre="option"==r?'\x3cselect multiple\x3d"multiple"\x3e':
"\x3c"+x.join("\x3e\x3c")+"\x3e",x.post="\x3c/"+x.reverse().join("\x3e\x3c/")+"\x3e");var q;8>=w("ie")&&(q=function(p){p.__dojo_html5_tested="yes";var u=l("div",{innerHTML:"\x3cnav\x3ea\x3c/nav\x3e",style:{visibility:"hidden"}},p.body);1!==u.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(A){p.createElement(A)});m(u)});t.toDom=function(p,u){u=u||n.doc;var A=u[k];
A||(u[k]=A=++e+"",b[A]=u.createElement("div"));8>=w("ie")&&!u.__dojo_html5_tested&&u.body&&q(u);p+="";var z=p.match(a),E=z?z[1].toLowerCase():"";A=b[A];if(z&&c[E])for(z=c[E],A.innerHTML=z.pre+p+z.post,p=z.length;p;--p)A=A.firstChild;else A.innerHTML=p;if(1==A.childNodes.length)return A.removeChild(A.firstChild);for(p=u.createDocumentFragment();u=A.firstChild;)p.appendChild(u);return p};t.place=function(p,u,A){u=h.byId(u);"string"==typeof p&&(p=/^\s*</.test(p)?t.toDom(p,u.ownerDocument):h.byId(p));
if("number"==typeof A){var z=u.childNodes;!z.length||z.length<=A?u.appendChild(p):g(p,z[0>A?0:A])}else switch(A){case "before":g(p,u);break;case "after":A=p;(z=u.parentNode)&&(z.lastChild==u?z.appendChild(A):z.insertBefore(A,u.nextSibling));break;case "replace":u.parentNode.replaceChild(p,u);break;case "only":t.empty(u);u.appendChild(p);break;case "first":if(u.firstChild){g(p,u.firstChild);break}default:u.appendChild(p)}return p};var l=t.create=function(p,u,A,z){var E=n.doc;A&&(A=h.byId(A),E=A.ownerDocument);
"string"==typeof p&&(p=E.createElement(p));u&&f.set(p,u);A&&t.place(p,A,z);return p};t.empty=function(p){d(h.byId(p))};var m=t.destroy=function(p){if(p=h.byId(p)){var u=p;p=p.parentNode;u.firstChild&&d(u);p&&(w("ie")&&p.canHaveChildren&&"removeNode"in u?u.removeNode(!1):p.removeChild(u))}}})},"dojo/dom-attr":function(){define("exports ./sniff ./_base/lang ./dom ./dom-style ./dom-prop".split(" "),function(t,x,w,n,h,f){function g(a,b){a=a.getAttributeNode&&a.getAttributeNode(b);return!!a&&a.specified}
var d={innerHTML:1,textContent:1,className:1,htmlFor:x("ie")?1:0,value:1},c={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};t.has=function(a,b){var e=b.toLowerCase();return!!d[f.names[e]||b]||g(n.byId(a),c[e]||b)};t.get=function(a,b){a=n.byId(a);var e=b.toLowerCase(),k=f.names[e]||b,r=a[k];if(d[k]&&"undefined"!=typeof r)return r;if("textContent"==k)return f.get(a,k);if("href"!=k&&("boolean"==typeof r||w.isFunction(r)))return r;b=c[e]||b;return g(a,b)?a.getAttribute(b):null};
t.set=function(a,b,e){a=n.byId(a);if(2==arguments.length){for(var k in b)t.set(a,k,b[k]);return a}k=b.toLowerCase();var r=f.names[k]||b,q=d[r];if("style"==r&&"string"!=typeof e)return h.set(a,e),a;if(q||"boolean"==typeof e||w.isFunction(e))return f.set(a,b,e);a.setAttribute(c[k]||b,e);return a};t.remove=function(a,b){n.byId(a).removeAttribute(c[b.toLowerCase()]||b)};t.getNodeProp=function(a,b){a=n.byId(a);var e=b.toLowerCase(),k=f.names[e]||b;if(k in a&&"href"!=k)return a[k];b=c[e]||b;return g(a,
b)?a.getAttribute(b):null}})},"dojo/dom-prop":function(){define("exports ./_base/kernel ./sniff ./_base/lang ./dom ./dom-style ./dom-construct ./_base/connect".split(" "),function(t,x,w,n,h,f,g,d){function c(k){var r="";k=k.childNodes;for(var q=0,l;l=k[q];q++)8!=l.nodeType&&(r=1==l.nodeType?r+c(l):r+l.nodeValue);return r}var a={},b=1,e=x._scopeName+"attrid";w.add("dom-textContent",function(k,r,q){return"textContent"in q});t.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",
colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};t.get=function(k,r){k=h.byId(k);var q=r.toLowerCase();r=t.names[q]||r;return"textContent"!=r||w("dom-textContent")?k[r]:c(k)};t.set=function(k,r,q){k=h.byId(k);if(2==arguments.length&&"string"!=typeof r){for(var l in r)t.set(k,l,r[l]);return k}l=r.toLowerCase();l=t.names[l]||r;if("style"==l&&"string"!=typeof q)return f.set(k,q),k;if("innerHTML"==l)return w("ie")&&k.tagName.toLowerCase()in
{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(g.empty(k),k.appendChild(g.toDom(q,k.ownerDocument))):k[l]=q,k;if("textContent"==l&&!w("dom-textContent"))return g.empty(k),k.appendChild(k.ownerDocument.createTextNode(q)),k;if(n.isFunction(q)){var m=k[e];m||(m=b++,k[e]=m);a[m]||(a[m]={});var p=a[m][l];if(p)d.disconnect(p);else try{delete k[l]}catch(u){}q?a[m][l]=d.connect(k,l,q):k[l]=null;return k}k[l]=q;return k}})},"dojox/html/metrics":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/sniff dojo/ready dojo/_base/unload dojo/_base/window dojo/dom-geometry".split(" "),
function(t,x,w,n,h,f,g){var d=x.getObject("dojox.html.metrics",!0),c=x.getObject("dojox");d.getFontMeasurements=function(){var q={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,small:0,medium:0,large:0,"x-large":0,"xx-large":0};if(w("ie")){var l=f.doc.documentElement.style.fontSize||"";l||(f.doc.documentElement.style.fontSize="100%")}var m=f.doc.createElement("div"),p=m.style;p.position="absolute";p.left="-100px";p.top="0";p.width="30px";p.height="1000em";p.borderWidth="0";p.margin=
"0";p.padding="0";p.outline="0";p.lineHeight="1";p.overflow="hidden";f.body().appendChild(m);for(var u in q)p.fontSize=u,q[u]=16*Math.round(12*m.offsetHeight/16)/12/1E3;w("ie")&&(f.doc.documentElement.style.fontSize=l);f.body().removeChild(m);m=null;return q};var a=null;d.getCachedFontMeasurements=function(q){if(q||!a)a=d.getFontMeasurements();return a};var b=null,e={};d.getTextBox=function(q,l,m){if(b)var p=b;else{p=b=f.doc.createElement("div");p.style.whiteSpace="nowrap";var u=f.doc.createElement("div");
u.appendChild(p);var A=u.style;A.overflow="scroll";A.position="absolute";A.left="0px";A.top="-10000px";A.width="1px";A.height="1px";A.visibility="hidden";A.borderWidth="0";A.margin="0";A.padding="0";A.outline="0";f.body().appendChild(u)}p.className="";A=p.style;A.borderWidth="0";A.margin="0";A.padding="0";A.outline="0";if(1<arguments.length&&l)for(var z in l)z in e||(A[z]=l[z]);2<arguments.length&&m&&(p.className=m);p.innerHTML=q;A=g.position(p);A.w=p.parentNode.scrollWidth;return A};var k=16,r=16;
d.getScrollbar=function(){return{w:k,h:r}};d._fontResizeNode=null;d.initOnFontResize=function(q){var l=d._fontResizeNode=f.doc.createElement("iframe");q=l.style;q.position="absolute";q.width="5em";q.height="10em";q.top="-10000px";q.display="none";w("ie")?l.onreadystatechange=function(){"complete"==l.contentWindow.document.readyState&&(l.onresize=l.contentWindow.parent[c._scopeName].html.metrics._fontresize)}:l.onload=function(){l.contentWindow.onresize=l.contentWindow.parent[c._scopeName].html.metrics._fontresize};
l.setAttribute("src","javascript:'\x3chtml\x3e\x3chead\x3e\x3cscript\x3eif(\"loadFirebugConsole\" in window){window.loadFirebugConsole();}\x3c/script\x3e\x3c/head\x3e\x3cbody\x3e\x3c/body\x3e\x3c/html\x3e'");f.body().appendChild(l);d.initOnFontResize=function(){}};d.onFontResize=function(){};d._fontresize=function(){d.onFontResize()};h.addOnUnload(function(){var q=d._fontResizeNode;q&&(w("ie")&&q.onresize?q.onresize=null:q.contentWindow&&q.contentWindow.onresize&&(q.contentWindow.onresize=null),d._fontResizeNode=
null)});n(function(){try{var q=f.doc.createElement("div");q.style.cssText="top:0;left:0;width:100px;height:100px;overflow:scroll;position:absolute;visibility:hidden;";f.body().appendChild(q);k=q.offsetWidth-q.clientWidth;r=q.offsetHeight-q.clientHeight;f.body().removeChild(q);delete q}catch(l){}"fontSizeWatch"in t.config&&t.config.fontSizeWatch&&d.initOnFontResize()});return d})},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(t,x,w){var n=window,h={addOnWindowUnload:function(f,
g){t.windowUnloaded||w(n,"unload",t.windowUnloaded=function(){});w(n,"unload",x.hitch(f,g))},addOnUnload:function(f,g){w(n,"beforeunload",x.hitch(f,g))}};t.addOnWindowUnload=h.addOnWindowUnload;t.addOnUnload=h.addOnUnload;return h})},"dojox/grid/util":function(){define(["../main","dojo/_base/lang","dojo/dom","dojo/_base/sniff"],function(t,x,w,n){var h=x.getObject("grid.util",!0,t);h.na="...";h.rowIndexTag="gridRowIndex";h.gridViewTag="gridView";h.fire=function(f,g,d){function c(q,l){if(null==q)return null;
var m=l?"Width":"Height";return q["scroll"+m]>q["client"+m]?q:c(q.parentNode,l)}var a;if(n("webkit")&&"focus"==g){var b=f.domNode?f.domNode:f;if(a=c(b,!1))var e=a.scrollTop;if(b=c(b,!0))var k=b.scrollLeft}var r=f&&g&&f[g];f=r&&(d?r.apply(f,d):f[g]());n("webkit")&&"focus"==g&&(a&&(a.scrollTop=e),b&&(b.scrollLeft=k));return f};h.setStyleHeightPx=function(f,g){if(0<=g){var d=f.style;g+="px";f&&d.height!=g&&(d.height=g)}};h.mouseEvents="mouseover mouseout mousedown mouseup click dblclick contextmenu".split(" ");
h.keyEvents=["keyup","keydown","keypress"];h.funnelEvents=function(f,g,d,c){c=c?c:h.mouseEvents.concat(h.keyEvents);for(var a=0,b=c.length;a<b;a++)g.connect(f,"on"+c[a],d)};h.removeNode=function(f){(f=w.byId(f))&&f.parentNode&&f.parentNode.removeChild(f);return f};h.arrayCompare=function(f,g){for(var d=0,c=f.length;d<c;d++)if(f[d]!=g[d])return!1;return f.length==g.length};h.arrayInsert=function(f,g,d){f.length<=g?f[g]=d:f.splice(g,0,d)};h.arrayRemove=function(f,g){f.splice(g,1)};h.arraySwap=function(f,
g,d){var c=f[g];f[g]=f[d];f[d]=c};return h})},"dojo/_base/html":function(){define("./kernel ../dom ../dom-style ../dom-attr ../dom-prop ../dom-class ../dom-construct ../dom-geometry".split(" "),function(t,x,w,n,h,f,g,d){t.byId=x.byId;t.isDescendant=x.isDescendant;t.setSelectable=x.setSelectable;t.getAttr=n.get;t.setAttr=n.set;t.hasAttr=n.has;t.removeAttr=n.remove;t.getNodeProp=n.getNodeProp;t.attr=function(c,a,b){return 2==arguments.length?n["string"==typeof a?"get":"set"](c,a):n.set(c,a,b)};t.hasClass=
f.contains;t.addClass=f.add;t.removeClass=f.remove;t.toggleClass=f.toggle;t.replaceClass=f.replace;t._toDom=t.toDom=g.toDom;t.place=g.place;t.create=g.create;t.empty=function(c){g.empty(c)};t._destroyElement=t.destroy=function(c){g.destroy(c)};t._getPadExtents=t.getPadExtents=d.getPadExtents;t._getBorderExtents=t.getBorderExtents=d.getBorderExtents;t._getPadBorderExtents=t.getPadBorderExtents=d.getPadBorderExtents;t._getMarginExtents=t.getMarginExtents=d.getMarginExtents;t._getMarginSize=t.getMarginSize=
d.getMarginSize;t._getMarginBox=t.getMarginBox=d.getMarginBox;t.setMarginBox=d.setMarginBox;t._getContentBox=t.getContentBox=d.getContentBox;t.setContentSize=d.setContentSize;t._isBodyLtr=t.isBodyLtr=d.isBodyLtr;t._docScroll=t.docScroll=d.docScroll;t._getIeDocumentElementOffset=t.getIeDocumentElementOffset=d.getIeDocumentElementOffset;t._fixIeBiDiScrollLeft=t.fixIeBiDiScrollLeft=d.fixIeBiDiScrollLeft;t.position=d.position;t.marginBox=function(c,a){return a?d.setMarginBox(c,a):d.getMarginBox(c)};t.contentBox=
function(c,a){return a?d.setContentSize(c,a):d.getContentBox(c)};t.coords=function(c,a){t.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");c=x.byId(c);var b=w.getComputedStyle(c);b=d.getMarginBox(c,b);c=d.position(c,a);b.x=c.x;b.y=c.y;return b};t.getProp=h.get;t.setProp=h.set;t.prop=function(c,a,b){return 2==arguments.length?h["string"==typeof a?"get":"set"](c,a):h.set(c,a,b)};t.getStyle=w.get;t.setStyle=w.set;t.getComputedStyle=w.getComputedStyle;t.__toPixelValue=t.toPixelValue=
w.toPixelValue;t.style=function(c,a,b){switch(arguments.length){case 1:return w.get(c);case 2:return w["string"==typeof a?"get":"set"](c,a)}return w.set(c,a,b)};return t})},"dijit/_BidiSupport":function(){define(["dojo/has","./_WidgetBase","./_BidiMixin"],function(t,x,w){x.extend(w);t.add("dojo-bidi",!0);return x})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m,p,u,A,z,E,y){function B(v){return function(F){d[F?"set":"remove"](this.domNode,v,F);this._set(v,F)}}k.add("dijit-legacy-requires",!r.isAsync);k.add("dojo-bidi",!1);k("dijit-legacy-requires")&&m(0,function(){t(["dijit/_base/manager"])});var I={};n=f("dijit._WidgetBase",[p,z],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:B("lang"),dir:"",_setDirAttr:B("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",
baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(v){this._set("ownerDocument",v)},attributeMap:{},_blankGif:n.blankGif||t.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var v=this.constructor;if(!v._setterAttrs){var F=v.prototype,D=v._setterAttrs=[];v=v._onMap={};for(var G in F.attributeMap)D.push(G);for(G in F)/^on/.test(G)&&(v[G.substring(2).toLowerCase()]=G),/^_set[A-Z](.*)Attr$/.test(G)&&(G=G.charAt(4).toLowerCase()+
G.substr(5,G.length-9),F.attributeMap&&G in F.attributeMap||D.push(G))}},postscript:function(v,F){this.create(v,F)},create:function(v,F){this._introspect();this.srcNodeRef=g.byId(F);this._connects=[];this._supportingWidgets=[];this.srcNodeRef&&this.srcNodeRef.id&&"string"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id);v&&(this.params=v,q.mixin(this,v));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=A.body(this.ownerDocument);y.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();if((v=this.srcNodeRef)&&v.parentNode&&this.domNode!==v){v.parentNode.replaceChild(this.domNode,v);var D=!0}this.domNode.setAttribute("widgetId",this.id)}this.postCreate();D&&delete this.srcNodeRef;this._created=!0},_applyAttributes:function(){var v={},F;for(F in this.params||{})v[F]=this._get(F);x.forEach(this.constructor._setterAttrs,
function(D){if(!(D in v)){var G=this._get(D);G&&this.set(D,G)}},this);for(F in v)this.set(F,v[F])},postMixInProperties:function(){},buildRendering:function(){this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div"));if(this.baseClass){var v=this.baseClass.split(" ");this.isLeftToRight()||(v=v.concat(x.map(v,function(F){return F+"Rtl"})));c.add(this.domNode,v)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,x.forEach(this.getChildren(),function(v){v._started||
v._destroyed||!q.isFunction(v.startup)||(v.startup(),v._started=!0)}))},destroyRecursive:function(v){this._beingDestroyed=!0;this.destroyDescendants(v);this.destroy(v)},destroy:function(v){function F(D){D.destroyRecursive?D.destroyRecursive(v):D.destroy&&D.destroy(v)}this._beingDestroyed=!0;this.uninitialize();x.forEach(this._connects,q.hitch(this,"disconnect"));x.forEach(this._supportingWidgets,F);this.domNode&&x.forEach(y.findWidgets(this.domNode,this.containerNode),F);this.destroyRendering(v);
y.remove(this.id);this._destroyed=!0},destroyRendering:function(v){this.bgIframe&&(this.bgIframe.destroy(v),delete this.bgIframe);this.domNode&&(v?d.remove(this.domNode,"widgetId"):a.destroy(this.domNode),delete this.domNode);this.srcNodeRef&&(v||a.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(v){x.forEach(this.getChildren(),function(F){F.destroyRecursive&&F.destroyRecursive(v)})},uninitialize:function(){return!1},_setStyleAttr:function(v){var F=this.domNode;q.isObject(v)?
e.set(F,v):F.style.cssText=F.style.cssText?F.style.cssText+("; "+v):v;this._set("style",v)},_attrToDom:function(v,F,D){D=3<=arguments.length?D:this.attributeMap[v];x.forEach(q.isArray(D)?D:[D],function(G){var J=this[G.node||G||"domNode"];switch(G.type||"attribute"){case "attribute":q.isFunction(F)&&(F=q.hitch(this,F));G=G.attribute?G.attribute:/^on[A-Z][a-zA-Z]*$/.test(v)?v.toLowerCase():v;J.tagName?d.set(J,G,F):J.set(G,F);break;case "innerText":J.innerHTML="";J.appendChild(this.ownerDocument.createTextNode(F));
break;case "textContent":J.textContent=F;break;case "innerHTML":J.innerHTML=F;break;case "class":c.replace(J,F,this[v]);break;case "toggleClass":c.toggle(J,G.className||v,F)}},this)},get:function(v){var F=this._getAttrNames(v);return this[F.g]?this[F.g]():this._get(v)},set:function(v,F){if("object"===typeof v){for(var D in v)this.set(D,v[D]);return this}D=this._getAttrNames(v);var G=this[D.s];if(q.isFunction(G))var J=G.apply(this,Array.prototype.slice.call(arguments,1));else{G=this.focusNode&&!q.isFunction(this.focusNode)?
"focusNode":"domNode";var C=this[G]&&this[G].tagName,H;if((H=C)&&!(H=I[C])){H=this[G];var M={};for(L in H)M[L.toLowerCase()]=!0;H=I[C]=M}var L=H;D=v in this.attributeMap?this.attributeMap[v]:D.s in this?this[D.s]:L&&D.l in L&&"function"!=typeof F||/^aria-|^data-|^role$/.test(v)?G:null;null!=D&&this._attrToDom(v,F,D);this._set(v,F)}return J||this},_attrPairNames:{},_getAttrNames:function(v){var F=this._attrPairNames;if(F[v])return F[v];var D=v.replace(/^[a-z]|-[a-zA-Z]/g,function(G){return G.charAt(G.length-
1).toUpperCase()});return F[v]={n:v+"Node",s:"_set"+D+"Attr",g:"_get"+D+"Attr",l:D.toLowerCase()}},_set:function(v,F){var D=this[v];this[v]=F;!this._created||D===F||D!==D&&F!==F||(this._watchCallbacks&&this._watchCallbacks(v,D,F),this.emit("attrmodified-"+v,{detail:{prevValue:D,newValue:F}}))},_get:function(v){return this[v]},emit:function(v,F,D){F=F||{};void 0===F.bubbles&&(F.bubbles=!0);void 0===F.cancelable&&(F.cancelable=!0);F.detail||(F.detail={});F.detail.widget=this;var G,J=this["on"+v];J&&
(G=J.apply(this,D?D:[F]));this._started&&!this._beingDestroyed&&l.emit(this.domNode,v.toLowerCase(),F);return G},on:function(v,F){var D=this._onMap(v);return D?w.after(this,D,F,!0):this.own(l(this.domNode,v,F))[0]},_onMap:function(v){var F=this.constructor,D=F._onMap;if(!D){D=F._onMap={};for(var G in F.prototype)/^on/.test(G)&&(D[G.replace(/^on/,"").toLowerCase()]=G)}return D["string"==typeof v&&v.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(v,F,D){return this.own(h.connect(v,F,this,D))[0]},disconnect:function(v){v.remove()},subscribe:function(v,F){return this.own(u.subscribe(v,q.hitch(this,F)))[0]},unsubscribe:function(v){v.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir.toLowerCase():b.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&
"none"!=e.get(this.domNode,"display")},placeAt:function(v,F){var D=!v.tagName&&y.byId(v);!D||!D.addChild||F&&"number"!==typeof F?(v=D&&"domNode"in D?D.containerNode&&!/after|before|replace/.test(F||"")?D.containerNode:D.domNode:g.byId(v,this.ownerDocument),a.place(this.domNode,v,F),!this._started&&(this.getParent()||{})._started&&this.startup()):D.addChild(this,F);return this},defer:function(v,F){var D=setTimeout(q.hitch(this,function(){D&&(D=null,this._destroyed||q.hitch(this,v)())}),F||0);return{remove:function(){D&&
(clearTimeout(D),D=null);return null}}}});k("dojo-bidi")&&n.extend(E);return n})},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(t,x,w,n){return t("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(h){var f=this._attrPairNames;return f[h]?f[h]:f[h]={s:"_"+h+"Setter",g:"_"+h+"Getter"}},postscript:function(h){h&&this.set(h)},_get:function(h,f){return"function"===typeof this[f.g]?this[f.g]():this[h]},get:function(h){return this._get(h,
this._getAttrNames(h))},set:function(h,f){if("object"===typeof h){for(var g in h)h.hasOwnProperty(g)&&"_watchCallbacks"!=g&&this.set(g,h[g]);return this}g=this._getAttrNames(h);var d=this._get(h,g);g=this[g.s];var c;"function"===typeof g?c=g.apply(this,Array.prototype.slice.call(arguments,1)):this[h]=f;if(this._watchCallbacks){var a=this;n(c,function(){a._watchCallbacks(h,d,f)})}return this},_changeAttrValue:function(h,f){var g=this.get(h);this[h]=f;this._watchCallbacks&&this._watchCallbacks(h,g,
f);return this},watch:function(h,f){var g=this._watchCallbacks;if(!g){var d=this;g=this._watchCallbacks=function(a,b,e,k){var r=function(q){if(q){q=q.slice();for(var l=0,m=q.length;l<m;l++)q[l].call(d,a,b,e)}};r(g["_"+a]);k||r(g["*"])}}f||"function"!==typeof h?h="_"+h:(f=h,h="*");var c=g[h];"object"!==typeof c&&(c=g[h]=[]);c.push(f);h={};h.unwatch=h.remove=function(){var a=w.indexOf(c,f);-1<a&&c.splice(a,1)};return h}})})},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],
function(t,x,w){return w("dijit.Destroyable",null,{destroy:function(n){this._destroyed=!0},own:function(){var n=["destroyRecursive","destroy","remove"];t.forEach(arguments,function(h){function f(){g.remove();t.forEach(d,function(a){a.remove()})}var g=x.before(this,"destroy",function(a){h[c](a)}),d=[];if(h.then){var c="cancel";h.then(f,f)}else t.forEach(n,function(a){"function"===typeof h[a]&&(c||(c=a),d.push(x.after(h,a,f,!0)))})},this);return arguments}})})},"dijit/registry":function(){define(["dojo/_base/array",
"dojo/_base/window","./main"],function(t,x,w){var n={},h={},f={length:0,add:function(g){if(h[g.id])throw Error("Tried to register widget with id\x3d\x3d"+g.id+" but that id is already registered");h[g.id]=g;this.length++},remove:function(g){h[g]&&(delete h[g],this.length--)},byId:function(g){return"string"==typeof g?h[g]:g},byNode:function(g){return h[g.getAttribute("widgetId")]},toArray:function(){var g=[],d;for(d in h)g.push(h[d]);return g},getUniqueId:function(g){do var d=g+"_"+(g in n?++n[g]:
n[g]=0);while(h[d]);return"dijit"==w._scopeName?d:w._scopeName+"_"+d},findWidgets:function(g,d){function c(b){for(b=b.firstChild;b;b=b.nextSibling)if(1==b.nodeType){var e=b.getAttribute("widgetId");e?(e=h[e])&&a.push(e):b!==d&&c(b)}}var a=[];c(g);return a},_destroyAll:function(){w._curFocus=null;w._prevFocus=null;w._activeStack=[];t.forEach(f.findWidgets(x.body()),function(g){g._destroyed||(g.destroyRecursive?g.destroyRecursive():g.destroy&&g.destroy())})},getEnclosingWidget:function(g){for(;g;){var d=
1==g.nodeType&&g.getAttribute("widgetId");if(d)return h[d];g=g.parentNode}return null},_hash:h};return w.registry=f})},"dijit/main":function(){define(["dojo/_base/kernel"],function(t){return t.dijit})},"dijit/_BidiMixin":function(){define([],function(){return{getTextDir:function(t){return"auto"==this.textDir?this._checkContextual(t):this.textDir},_checkContextual:function(t){return(t=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(t))?"z">=t[0]?"ltr":"rtl":this.dir?
this.dir:this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(t,x){if(this.textDir){var w=this.textDir;"auto"==w&&("undefined"===typeof x&&(x=t.tagName.toLowerCase(),x="input"==x||"textarea"==x?t.value:t.innerText||t.textContent||""),w=this._checkContextual(x));t.dir!=w&&(t.dir=w)}},enforceTextDirWithUcc:function(t,x){return this.textDir?(t&&(t.originalText=x),("ltr"==("auto"==this.textDir?this._checkContextual(x):this.textDir)?"\u202a":"\u202b")+x+"\u202c"):x},restoreOriginalText:function(t){t.originalText&&
(t.text=t.originalText,delete t.originalText);return t},_setTextDirAttr:function(t){this._created&&this.textDir==t||(this._set("textDir",t),t=null,this.displayNode?(t=this.displayNode,this.displayNode.align="rtl"==this.dir?"right":"left"):t=this.textDirNode||this.focusNode||this.textbox,t&&this.applyTextDir(t))}}})},"dojox/grid/_Grid":function(){define("dojo/_base/kernel ../main dojo/_base/declare ./_Events ./_Scroller ./_Layout ./_View ./_ViewManager ./_RowManager ./_FocusManager ./_EditManager ./Selection ./_RowSelector ./util dijit/_Widget dijit/_TemplatedMixin dijit/CheckedMenuItem dojo/text!./resources/_Grid.html dojo/string dojo/_base/array dojo/_base/lang dojo/_base/sniff dojox/html/metrics dojo/_base/html dojo/query dojo/dnd/common dojo/i18n!dijit/nls/loading".split(" "),
function(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m,p,u,A,z,E,y,B,I){t.isCopyKey||(t.isCopyKey=t.dnd.getCopyKeyState);w=w("dojox.grid._Grid",[q,l,n],{templateString:p,classTag:"dojoxGrid",rowCount:5,keepRows:75,rowsPerPage:25,autoWidth:!1,initialWidth:"",autoHeight:"",rowHeight:0,autoRender:!0,defaultHeight:"15em",height:"",structure:null,elasticView:-1,singleClickEdit:!1,selectionMode:"extended",rowSelector:"",columnReordering:!1,headerMenu:null,placeholderLabel:"GridColumns",selectable:!1,_click:null,loadingMessage:"\x3cspan class\x3d'dojoxGridLoading'\x3e${loadingState}\x3c/span\x3e",
errorMessage:"\x3cspan class\x3d'dojoxGridError'\x3e${errorState}\x3c/span\x3e",noDataMessage:"",escapeHTMLInData:!0,formatterScope:null,editable:!1,summary:"",_setSummaryAttr:"domNode",sortInfo:0,_placeholders:null,_layoutClass:f,buildRendering:function(){this.inherited(arguments);this.domNode.getAttribute("tabIndex")||(this.domNode.tabIndex="0");this.createScroller();this.createLayout();this.createViews();this.createManagers();this.createSelection();this.connect(this.selection,"onSelected","onSelected");
this.connect(this.selection,"onDeselected","onDeselected");this.connect(this.selection,"onChanged","onSelectionChanged");y.initOnFontResize();this.connect(y,"onFontResize","textSizeChanged");r.funnelEvents(this.domNode,this,"doKeyEvent",r.keyEvents);"none"!=this.selectionMode&&this.domNode.setAttribute("aria-multiselectable","single"==this.selectionMode?"false":"true");B.addClass(this.domNode,this.classTag);this.isLeftToRight()||B.addClass(this.domNode,this.classTag+"Rtl");0<this.rowHeight&&B.addClass(this.viewsNode,
this.classTag+"FixedRowHeight")},postMixInProperties:function(){this.inherited(arguments);var v=t.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=u.substitute(this.loadingMessage,v);this.errorMessage=u.substitute(this.errorMessage,v);this.srcNodeRef&&this.srcNodeRef.style.height&&(this.height=this.srcNodeRef.style.height);this._setAutoHeightAttr(this.autoHeight,!0);this.lastScrollTop=this.scrollTop=0},postCreate:function(){this._placeholders=[];this._setHeaderMenuAttr(this.headerMenu);
this._setStructureAttr(this.structure);this._click=[];this.inherited(arguments);this.domNode&&this.autoWidth&&this.initialWidth&&(this.domNode.style.width=this.initialWidth);this.domNode&&!this.editable&&B.attr(this.domNode,"aria-readonly","true")},destroy:function(){this.domNode.onReveal=null;this.domNode.onSizeChange=null;delete this._click;this.scroller&&(this.scroller.destroy(),delete this.scroller);this.edit.destroy();delete this.edit;this.views.destroyViews();this.focus&&(this.focus.destroy(),
delete this.focus);this.headerMenu&&this._placeholders.length&&(A.forEach(this._placeholders,function(v){v.unReplace(!0)}),this.headerMenu.unBindDomNode(this.viewsHeaderNode));this.inherited(arguments)},_setAutoHeightAttr:function(v,F){"string"==typeof v&&(v=v&&"false"!=v?"true"==v?!0:window.parseInt(v,10):!1);"number"==typeof v&&(isNaN(v)&&(v=!1),0>v?v=!0:0===v&&(v=!1));this.autoHeight=v;this._autoHeight="boolean"==typeof v?v:"number"==typeof v?v>=this.get("rowCount"):!1;this._started&&!F&&this.render()},
_getRowCountAttr:function(){return this.updating&&this.invalidated&&void 0!=this.invalidated.rowCount?this.invalidated.rowCount:this.rowCount},textSizeChanged:function(){this.render()},sizeChange:function(){this.update()},createManagers:function(){this.rows=new c(this);this.focus=new a(this);this.edit=new b(this)},createSelection:function(){this.selection=new e(this)},createScroller:function(){this.scroller=new h;this.scroller.grid=this;this.scroller.renderRow=z.hitch(this,"renderRow");this.scroller.removeRow=
z.hitch(this,"rowRemoved")},createLayout:function(){this.layout=new this._layoutClass(this);this.connect(this.layout,"moveColumn","onMoveColumn")},onMoveColumn:function(){this.update()},onResizeColumn:function(v){},createViews:function(){this.views=new d(this);this.views.createView=z.hitch(this,"createView")},createView:function(v,F){v=new (z.getObject(v))({grid:this,index:F});this.viewsNode.appendChild(v.domNode);this.viewsHeaderNode.appendChild(v.headerNode);this.views.addView(v);B.attr(this.domNode,
"align",this.isLeftToRight()?"left":"right");return v},buildViews:function(){for(var v=0,F;F=this.layout.structure[v];v++)this.createView(F.type||x._scopeName+".grid._View",v).setStructure(F);this.scroller.setContentNodes(this.views.getContentNodes())},_setStructureAttr:function(v){v&&z.isString(v)&&(t.deprecated("dojox.grid._Grid.set('structure', 'objVar')","use dojox.grid._Grid.set('structure', objVar) instead","2.0"),v=z.getObject(v));this.structure=v;if(!v)if(this.layout.structure)v=this.layout.structure;
else return;this.views.destroyViews();this.focus.focusView=null;v!==this.layout.structure&&this.layout.setStructure(v);this._structureChanged()},setStructure:function(v){t.deprecated("dojox.grid._Grid.setStructure(obj)","use dojox.grid._Grid.set('structure', obj) instead.","2.0");this._setStructureAttr(v)},getColumnTogglingItems:function(){var v=[];var F=A.map(this.layout.cells,function(D){D.menuItems||(D.menuItems=[]);var G=this,J=new m({label:D.name,checked:!D.hidden,_gridCell:D,onChange:function(C){if(G.layout.setColumnVisibility(this._gridCell.index,
C)){var H=this._gridCell.menuItems;1<H.length&&A.forEach(H,function(M){M!==this&&M.setAttribute("checked",C)},this);C=A.filter(G.layout.cells,function(M){1<M.menuItems.length?A.forEach(M.menuItems,"item.set('disabled', false);"):M.menuItems[0].set("disabled",!1);return!M.hidden});1==C.length&&A.forEach(C[0].menuItems,"item.set('disabled', true);")}},destroy:function(){var C=A.indexOf(this._gridCell.menuItems,this);this._gridCell.menuItems.splice(C,1);delete this._gridCell;m.prototype.destroy.apply(this,
arguments)}});D.menuItems.push(J);D.hidden||v.push(J);return J},this);1==v.length&&v[0].set("disabled",!0);return F},_setHeaderMenuAttr:function(v){this._placeholders&&this._placeholders.length&&(A.forEach(this._placeholders,function(F){F.unReplace(!0)}),this._placeholders=[]);this.headerMenu&&this.headerMenu.unBindDomNode(this.viewsHeaderNode);if(this.headerMenu=v)this.headerMenu.bindDomNode(this.viewsHeaderNode),this.headerMenu.getPlaceholders&&(this._placeholders=this.headerMenu.getPlaceholders(this.placeholderLabel))},
setHeaderMenu:function(v){t.deprecated("dojox.grid._Grid.setHeaderMenu(obj)","use dojox.grid._Grid.set('headerMenu', obj) instead.","2.0");this._setHeaderMenuAttr(v)},setupHeaderMenu:function(){this._placeholders&&this._placeholders.length&&A.forEach(this._placeholders,function(v){v._replaced&&v.unReplace(!0);v.replace(this.getColumnTogglingItems())},this)},_fetch:function(v){this.setScrollTop(0)},getItem:function(v){return null},showMessage:function(v){v?(this.messagesNode.innerHTML=v,this.messagesNode.style.display=
""):(this.messagesNode.innerHTML="",this.messagesNode.style.display="none")},_structureChanged:function(){this.buildViews();this.autoRender&&this._started&&this.render()},hasLayout:function(){return this.layout.cells.length},resize:function(v,F){this._pendingChangeSize=v;this._pendingResultSize=F;this.sizeChange()},_getPadBorder:function(){return this._padBorder=this._padBorder||B._getPadBorderExtents(this.domNode)},_getHeaderHeight:function(){var v=this.viewsHeaderNode.style,F="none"==v.display?
0:this.views.measureHeader();v.height=F+"px";this.views.normalizeHeaderNodeHeight();return F},_resize:function(v,F){v=v||this._pendingChangeSize;F=F||this._pendingResultSize;delete this._pendingChangeSize;delete this._pendingResultSize;if(this.domNode){var D=this.domNode.parentNode;if(D&&1==D.nodeType&&this.hasLayout()&&"hidden"!=D.style.visibility&&"none"!=D.style.display){var G=this._getPadBorder(),J=void 0;if(this._autoHeight)this.domNode.style.height="auto";else if("number"==typeof this.autoHeight){var C=
J=this._getHeaderHeight();C+=this.scroller.averageRowHeight*this.autoHeight;this.domNode.style.height=C+"px"}else this.domNode.clientHeight<=G.h&&(D==document.body?this.domNode.style.height=this.defaultHeight:this.height?this.domNode.style.height=this.height:this.fitTo="parent");F&&(v=F);!this._autoHeight&&v?(B.marginBox(this.domNode,v),this.height=this.domNode.style.height,delete this.fitTo):"parent"==this.fitTo&&(C=this._parentContentBoxHeight=0<this._parentContentBoxHeight?this._parentContentBoxHeight:
B._getContentBox(D).h,this.domNode.style.height=Math.max(0,C)+"px");v=A.some(this.views.views,function(H){return H.flexCells});this._autoHeight||0!==(C||B._getContentBox(this.domNode).h)?(this.viewsHeaderNode.style.display="block",v||void 0!==J||(J=this._getHeaderHeight())):this.viewsHeaderNode.style.display="none";v&&(J=void 0);this.adaptWidth();this.adaptHeight(J);this.postresize()}}},adaptWidth:function(){var v=!this.initialWidth&&this.autoWidth,F=v?0:this.domNode.clientWidth||this.domNode.offsetWidth-
this._getPadBorder().w;F=this.views.arrange(1,F);this.views.onEach("adaptWidth");v&&(this.domNode.style.width=F+"px")},adaptHeight:function(v){v=void 0===v?this._getHeaderHeight():v;var F=this._autoHeight?-1:Math.max(this.domNode.clientHeight-v,0)||0;this.views.onEach("setSize",[0,F]);this.views.onEach("adaptHeight");if(!this._autoHeight){var D=0,G=0,J=A.filter(this.views.views,function(C){(C=C.hasHScrollbar())?D++:G++;return!C});0<D&&0<G&&A.forEach(J,function(C){C.adaptHeight(!0)})}!0===this.autoHeight||
-1!=F||"number"==typeof this.autoHeight&&this.autoHeight>=this.get("rowCount")?this.scroller.windowHeight=F:this.scroller.windowHeight=Math.max(this.domNode.clientHeight-v,0)},startup:function(){this._started||(this.inherited(arguments),this.autoRender&&this.render())},render:function(){this.domNode&&this._started&&(this.hasLayout()?(this.update=this.defaultUpdate,this._render()):this.scroller.init(0,this.keepRows,this.rowsPerPage))},_render:function(){this.scroller.init(this.get("rowCount"),this.keepRows,
this.rowsPerPage);this.prerender();this.setScrollTop(0);this.postrender()},prerender:function(){this.keepRows=this._autoHeight?0:this.keepRows;this.scroller.setKeepInfo(this.keepRows);this.views.render();this._resize()},postrender:function(){this.postresize();this.focus.initFocusView();B.setSelectable(this.domNode,this.selectable)},postresize:function(){if(this._autoHeight){var v=Math.max(this.views.measureContent())+"px";this.viewsNode.style.height=v}},renderRow:function(v,F){this.views.renderRow(v,
F,this._skipRowRenormalize)},rowRemoved:function(v){this.views.rowRemoved(v)},invalidated:null,updating:!1,beginUpdate:function(){this.invalidated=[];this.updating=!0},endUpdate:function(){this.updating=!1;var v=this.invalidated,F;if(v.all)this.update();else if(void 0!=v.rowCount)this.updateRowCount(v.rowCount);else for(F in v)this.updateRow(Number(F));this.invalidated=[]},defaultUpdate:function(){this.domNode&&(this.updating?this.invalidated.all=!0:(this.lastScrollTop=this.scrollTop,this.prerender(),
this.scroller.invalidateNodes(),this.setScrollTop(this.lastScrollTop),this.postrender()))},update:function(){this.render()},updateRow:function(v){v=Number(v);this.updating?this.invalidated[v]=!0:(this.views.updateRow(v),this.scroller.rowHeightChanged(v))},updateRows:function(v,F){v=Number(v);F=Number(F);var D;if(this.updating)for(D=0;D<F;D++)this.invalidated[D+v]=!0;else{for(D=0;D<F;D++)this.views.updateRow(D+v,this._skipRowRenormalize);this.scroller.rowHeightChanged(v)}},updateRowCount:function(v){this.updating?
this.invalidated.rowCount=v:(this.rowCount=v,this._setAutoHeightAttr(this.autoHeight,!0),this.layout.cells.length&&this.scroller.updateRowCount(v),this.layout.cells.length&&this.setScrollTop(this.scrollTop),this._resize())},updateRowStyles:function(v){this.views.updateRowStyles(v)},getRowNode:function(v){if(!this.focus.focusView||this.focus.focusView instanceof k)for(var F=0,D;D=this.views.views[F];F++){if(!(D instanceof k))return D.rowNodes[v]}else return this.focus.focusView.rowNodes[v];return null},
rowHeightChanged:function(v){this.views.renormalizeRow(v);this.scroller.rowHeightChanged(v)},fastScroll:!0,delayScroll:!1,scrollRedrawThreshold:E("ie")?100:50,scrollTo:function(v){if(this.fastScroll){var F=Math.abs(this.lastScrollTop-v);this.lastScrollTop=v;if(F>this.scrollRedrawThreshold||this.delayScroll){this.delayScroll=!0;this.scrollTop=v;this.views.setScrollTop(v);this._pendingScroll&&window.clearTimeout(this._pendingScroll);var D=this;this._pendingScroll=window.setTimeout(function(){delete D._pendingScroll;
D.finishScrollJob()},200)}else this.setScrollTop(v)}else this.setScrollTop(v)},finishScrollJob:function(){this.delayScroll=!1;this.setScrollTop(this.scrollTop)},setScrollTop:function(v){this.scroller.scroll(this.views.setScrollTop(v))},scrollToRow:function(v){this.setScrollTop(this.scroller.findScrollTop(v)+1)},styleRowNode:function(v,F){F&&this.rows.styleRowNode(v,F)},_mouseOut:function(v){this.rows.setOverRow(-2)},getCell:function(v){return this.layout.cells[v]},setCellWidth:function(v,F){this.getCell(v).unitWidth=
F},getCellName:function(v){return"Cell "+v.index},canSort:function(v){},sort:function(){},getSortAsc:function(v){v=void 0==v?this.sortInfo:v;return 0<v},getSortIndex:function(v){v=void 0==v?this.sortInfo:v;return Math.abs(v)-1},setSortIndex:function(v,F){var D=v+1;void 0!=F?D*=F?1:-1:this.getSortIndex()==v&&(D=-this.sortInfo);this.setSortInfo(D)},setSortInfo:function(v){this.canSort(v)&&(this.sortInfo=v,this.sort(),this.update())},doKeyEvent:function(v){v.dispatch="do"+v.type;this.onKeyEvent(v)},
_dispatch:function(v,F){return v in this?this[v](F):!1},dispatchKeyEvent:function(v){this._dispatch(v.dispatch,v)},dispatchContentEvent:function(v){this.edit.dispatchEvent(v)||v.sourceView.dispatchContentEvent(v)||this._dispatch(v.dispatch,v)},dispatchHeaderEvent:function(v){v.sourceView.dispatchHeaderEvent(v)||this._dispatch("doheader"+v.type,v)},dokeydown:function(v){this.onKeyDown(v)},doclick:function(v){if(v.cellNode)this.onCellClick(v);else this.onRowClick(v)},dodblclick:function(v){if(v.cellNode)this.onCellDblClick(v);
else this.onRowDblClick(v)},docontextmenu:function(v){if(v.cellNode)this.onCellContextMenu(v);else this.onRowContextMenu(v)},doheaderclick:function(v){if(v.cellNode)this.onHeaderCellClick(v);else this.onHeaderClick(v)},doheaderdblclick:function(v){if(v.cellNode)this.onHeaderCellDblClick(v);else this.onHeaderDblClick(v)},doheadercontextmenu:function(v){if(v.cellNode)this.onHeaderCellContextMenu(v);else this.onHeaderContextMenu(v)},doStartEdit:function(v,F){this.onStartEdit(v,F)},doApplyCellEdit:function(v,
F,D){this.onApplyCellEdit(v,F,D)},doCancelEdit:function(v){this.onCancelEdit(v)},doApplyEdit:function(v){this.onApplyEdit(v)},addRow:function(){this.updateRowCount(this.get("rowCount")+1)},removeSelectedRows:function(){this.allItemsSelected?this.updateRowCount(0):this.updateRowCount(Math.max(0,this.get("rowCount")-this.selection.getSelected().length));this.selection.clear()}});w.markupFactory=function(v,F,D,G){var J=function(C){C=B.attr(C,"width")||"auto";"auto"!=C&&"em"!=C.slice(-2)&&"%"!=C.slice(-1)&&
(C=parseInt(C,10)+"px");return C};v.structure||"table"!=F.nodeName.toLowerCase()||(v.structure=I("\x3e colgroup",F).map(function(C){var H=B.attr(C,"span");H={noscroll:"true"==B.attr(C,"noscroll")?!0:!1,__span:H?parseInt(H,10):1,cells:[]};B.hasAttr(C,"width")&&(H.width=J(C));return H}),v.structure.length||v.structure.push({__span:Infinity,cells:[]}),I("thead \x3e tr",F).forEach(function(C,H){var M=0,L=0,N,O=null;I("\x3e th",C).map(function(P){O?M>=N+O.__span&&(L++,N+=O.__span,O=v.structure[L]):(N=
0,O=v.structure[0]);var X={name:z.trim(B.attr(P,"name")||P.innerHTML),colSpan:parseInt(B.attr(P,"colspan")||1,10),type:z.trim(B.attr(P,"cellType")||""),id:z.trim(B.attr(P,"id")||"")};M+=X.colSpan;var Y=B.attr(P,"rowspan");Y&&(X.rowSpan=Y);B.hasAttr(P,"width")&&(X.width=J(P));B.hasAttr(P,"relWidth")&&(X.relWidth=window.parseInt(B.attr(P,"relWidth"),10));B.hasAttr(P,"hidden")&&(X.hidden="true"==B.attr(P,"hidden")||!0===B.attr(P,"hidden"));G&&G(P,X);X.type=X.type?z.getObject(X.type):x.grid.cells.Cell;
X.type&&X.type.markupFactory&&X.type.markupFactory(P,X);O.cells[H]||(O.cells[H]=[]);O.cells[H].push(X)})}));return new D(v,F)};return w})},"dojox/grid/_Events":function(){define(["dojo/keys","dojo/dom-class","dojo/_base/declare","dojo/_base/event","dojo/_base/sniff"],function(t,x,w,n,h){return w("dojox.grid._Events",null,{cellOverClass:"dojoxGridCellOver",onKeyEvent:function(f){this.dispatchKeyEvent(f)},onContentEvent:function(f){this.dispatchContentEvent(f)},onHeaderEvent:function(f){this.dispatchHeaderEvent(f)},
onStyleRow:function(f){f.customClasses+=(f.odd?" dojoxGridRowOdd":"")+(f.selected?" dojoxGridRowSelected":"")+(f.over?" dojoxGridRowOver":"");this.focus.styleRow(f);this.edit.styleRow(f)},onKeyDown:function(f){if(!f.altKey&&!f.metaKey)switch(f.keyCode){case t.ESCAPE:this.edit.cancel();break;case t.ENTER:if(!this.edit.isEditing()){var g=this.focus.getHeaderIndex();if(0<=g){this.setSortIndex(g);break}else this.selection.clickSelect(this.focus.rowIndex,dojo.isCopyKey(f),f.shiftKey);n.stop(f)}f.shiftKey||
(g=this.edit.isEditing(),this.edit.apply(),g||this.edit.setEditCell(this.focus.cell,this.focus.rowIndex));this.edit.isEditing()||((this.focus.focusView||this.views.views[0]).content.decorateEvent(f),this.onRowClick(f),n.stop(f));break;case t.SPACE:this.edit.isEditing()||(g=this.focus.getHeaderIndex(),0<=g?this.setSortIndex(g):(this.selection.clickSelect(this.focus.rowIndex,dojo.isCopyKey(f),f.shiftKey),this.focus._focusifyCellNode(!0),this.focus.setFocusCell(this.focus.cell,this.focus.rowIndex),n.stop(f)));
break;case t.TAB:this.focus[f.shiftKey?"previousKey":"nextKey"](f);break;case t.LEFT_ARROW:case t.RIGHT_ARROW:if(!this.edit.isEditing()){var d=f.keyCode;n.stop(f);g=this.focus.getHeaderIndex();0<=g&&f.shiftKey&&f.ctrlKey?this.focus.colSizeAdjust(f,g,5*(d==t.LEFT_ARROW?-1:1)):(f=d==t.LEFT_ARROW?1:-1,this.isLeftToRight()&&(f*=-1),this.focus.move(0,f))}break;case t.UP_ARROW:this.edit.isEditing()||0===this.focus.rowIndex||(n.stop(f),this.focus.move(-1,0));break;case t.DOWN_ARROW:this.edit.isEditing()||
this.focus.rowIndex+1==this.rowCount||(n.stop(f),this.focus.move(1,0));break;case t.PAGE_UP:this.edit.isEditing()||0===this.focus.rowIndex||(n.stop(f),this.focus.rowIndex!=this.scroller.firstVisibleRow+1?this.focus.move(this.scroller.firstVisibleRow-this.focus.rowIndex,0):(this.setScrollTop(this.scroller.findScrollTop(this.focus.rowIndex-1)),this.focus.move(this.scroller.firstVisibleRow-this.scroller.lastVisibleRow+1,0)));break;case t.PAGE_DOWN:this.edit.isEditing()||this.focus.rowIndex+1==this.rowCount||
(n.stop(f),this.focus.rowIndex!=this.scroller.lastVisibleRow-1?this.focus.move(this.scroller.lastVisibleRow-this.focus.rowIndex-1,0):(this.setScrollTop(this.scroller.findScrollTop(this.focus.rowIndex+1)),this.focus.move(this.scroller.lastVisibleRow-this.scroller.firstVisibleRow-1,0)))}},onMouseOver:function(f){-1==f.rowIndex?this.onHeaderCellMouseOver(f):this.onCellMouseOver(f)},onMouseOut:function(f){-1==f.rowIndex?this.onHeaderCellMouseOut(f):this.onCellMouseOut(f)},onMouseDown:function(f){-1==
f.rowIndex?this.onHeaderCellMouseDown(f):this.onCellMouseDown(f)},onMouseOverRow:function(f){this.rows.isOver(f.rowIndex)||(this.rows.setOverRow(f.rowIndex),-1==f.rowIndex?this.onHeaderMouseOver(f):this.onRowMouseOver(f))},onMouseOutRow:function(f){if(this.rows.isOver(-1))this.onHeaderMouseOut(f);else this.rows.isOver(-2)||(this.rows.setOverRow(-2),this.onRowMouseOut(f))},onMouseDownRow:function(f){if(-1!=f.rowIndex)this.onRowMouseDown(f)},onCellMouseOver:function(f){f.cellNode&&x.add(f.cellNode,
this.cellOverClass)},onCellMouseOut:function(f){f.cellNode&&x.remove(f.cellNode,this.cellOverClass)},onCellMouseDown:function(f){},onCellClick:function(f){this._click[0]=this._click[1];this._click[1]=f;this.edit.isEditCell(f.rowIndex,f.cellIndex)||this.focus.setFocusCell(f.cell,f.rowIndex);1<this._click.length&&null==this._click[0]&&this._click.shift();this.onRowClick(f)},onCellDblClick:function(f){var g=1<this._click.length&&h("ie")?this._click[1]:1<this._click.length&&this._click[0].rowIndex!=this._click[1].rowIndex?
this._click[0]:f;this.focus.setFocusCell(g.cell,g.rowIndex);this.edit.setEditCell(g.cell,g.rowIndex);this.onRowDblClick(f)},onCellContextMenu:function(f){this.onRowContextMenu(f)},onCellFocus:function(f,g){this.edit.cellFocus(f,g)},onRowClick:function(f){this.edit.rowClick(f);this.selection.clickSelectEvent(f)},onRowDblClick:function(f){},onRowMouseOver:function(f){},onRowMouseOut:function(f){},onRowMouseDown:function(f){},onRowContextMenu:function(f){n.stop(f)},onHeaderMouseOver:function(f){},onHeaderMouseOut:function(f){},
onHeaderCellMouseOver:function(f){f.cellNode&&x.add(f.cellNode,this.cellOverClass)},onHeaderCellMouseOut:function(f){f.cellNode&&x.remove(f.cellNode,this.cellOverClass)},onHeaderCellMouseDown:function(f){},onHeaderClick:function(f){},onHeaderCellClick:function(f){this.setSortIndex(f.cell.index);this.onHeaderClick(f)},onHeaderDblClick:function(f){},onHeaderCellDblClick:function(f){this.onHeaderDblClick(f)},onHeaderCellContextMenu:function(f){this.onHeaderContextMenu(f)},onHeaderContextMenu:function(f){this.headerMenu||
n.stop(f)},onStartEdit:function(f,g){},onApplyCellEdit:function(f,g,d){},onCancelEdit:function(f){},onApplyEdit:function(f){},onCanSelect:function(f){return!0},onCanDeselect:function(f){return!0},onSelected:function(f){this.updateRowStyles(f)},onDeselected:function(f){this.updateRowStyles(f)},onSelectionChanged:function(){}})})},"dojox/grid/_Scroller":function(){define(["dijit/registry","dojo/_base/declare","dojo/_base/lang","./util","dojo/_base/html"],function(t,x,w,n,h){var f=function(d){d&&dojo.forEach(t.toArray(),
function(c){c.domNode&&h.isDescendant(c.domNode,d,!0)&&c.destroy()})},g=function(d,c){for(var a=[],b=0,e;e=d.childNodes[b];){b++;var k=h.byId(e);(k&&k.tagName?k.tagName.toLowerCase():"")==c&&a.push(e)}return a};return x("dojox.grid._Scroller",null,{constructor:function(d){this.setContentNodes(d);this.pageHeights=[];this.pageNodes=[];this.stack=[]},rowCount:0,defaultRowHeight:32,keepRows:100,contentNode:null,scrollboxNode:null,defaultPageHeight:0,keepPages:10,pageCount:0,windowHeight:0,firstVisibleRow:0,
lastVisibleRow:0,averageRowHeight:0,page:0,pageTop:0,init:function(d,c,a){switch(arguments.length){case 3:this.rowsPerPage=a;case 2:this.keepRows=c;case 1:this.rowCount=d}this.defaultPageHeight=(0<this.grid.rowHeight?this.grid.rowHeight:this.defaultRowHeight)*this.rowsPerPage;this.pageCount=this._getPageCount(this.rowCount,this.rowsPerPage);this.setKeepInfo(this.keepRows);this.invalidate();this.scrollboxNode&&(this.scrollboxNode.scrollTop=0,this.scroll(0),this.scrollboxNode.onscroll=w.hitch(this,
"onscroll"))},_getPageCount:function(d,c){return d?Math.ceil(d/c)||1:0},destroy:function(){this.invalidateNodes();delete this.contentNodes;delete this.contentNode;delete this.scrollboxNode},setKeepInfo:function(d){this.keepPages=(this.keepRows=d)?Math.max(Math.ceil(this.keepRows/this.rowsPerPage),2):this.keepPages},setContentNodes:function(d){this.colCount=(this.contentNodes=d)?this.contentNodes.length:0;this.pageNodes=[];for(d=0;d<this.colCount;d++)this.pageNodes[d]=[]},getDefaultNodes:function(){return this.pageNodes[0]||
[]},invalidate:function(){this._invalidating=!0;this.invalidateNodes();this.pageHeights=[];this.height=this.pageCount?(this.pageCount-1)*this.defaultPageHeight+this.calcLastPageHeight():0;this.resize();this._invalidating=!1},updateRowCount:function(d){this.invalidateNodes();this.rowCount=d;d=this.pageCount;0===d&&(this.height=1);this.pageCount=this._getPageCount(this.rowCount,this.rowsPerPage);if(this.pageCount<d)for(--d;d>=this.pageCount;d--)this.height-=this.getPageHeight(d),delete this.pageHeights[d];
else this.pageCount>d&&(this.height+=this.defaultPageHeight*(this.pageCount-d-1)+this.calcLastPageHeight());this.resize()},pageExists:function(d){return!!this.getDefaultPageNode(d)},measurePage:function(d){return this.grid.rowHeight?((d+1)*this.rowsPerPage>this.rowCount?this.rowCount-d*this.rowsPerPage:this.rowsPerPage)*this.grid.rowHeight:(d=this.getDefaultPageNode(d))&&d.innerHTML?d.offsetHeight:void 0},positionPage:function(d,c){for(var a=0;a<this.colCount;a++)this.pageNodes[a][d].style.top=c+
"px"},repositionPages:function(d){for(var c=this.getDefaultNodes(),a=0,b=0;b<this.stack.length;b++)a=Math.max(this.stack[b],a);var e=(b=c[d])?this.getPageNodePosition(b)+this.getPageHeight(d):0;for(d+=1;d<=a;d++){if(b=c[d]){if(this.getPageNodePosition(b)==e)break;this.positionPage(d,e)}e+=this.getPageHeight(d)}},installPage:function(d){for(var c=0;c<this.colCount;c++)this.contentNodes[c].appendChild(this.pageNodes[c][d])},preparePage:function(d,c){c=c?this.popPage():null;for(var a=0;a<this.colCount;a++){var b=
this.pageNodes[a],e=null===c?this.createPageNode():this.invalidatePageNode(c,b);e.pageIndex=d;b[d]=e}},renderPage:function(d){var c=[],a;for(a=0;a<this.colCount;a++)c[a]=this.pageNodes[a][d];a=0;for(d*=this.rowsPerPage;a<this.rowsPerPage&&d<this.rowCount;a++,d++)this.renderRow(d,c)},removePage:function(d){var c=0;for(d*=this.rowsPerPage;c<this.rowsPerPage;c++,d++)this.removeRow(d)},destroyPage:function(d){for(var c=0;c<this.colCount;c++){var a=this.invalidatePageNode(d,this.pageNodes[c]);a&&h.destroy(a)}},
pacify:function(d){},pacifying:!1,pacifyTicks:200,setPacifying:function(d){this.pacifying!=d&&(this.pacifying=d,this.pacify(this.pacifying))},startPacify:function(){this.startPacifyTicks=(new Date).getTime()},doPacify:function(){var d=(new Date).getTime()-this.startPacifyTicks>this.pacifyTicks;this.setPacifying(!0);this.startPacify();return d},endPacify:function(){this.setPacifying(!1)},resize:function(){this.scrollboxNode&&(this.windowHeight=this.scrollboxNode.clientHeight);for(var d=0;d<this.colCount;d++)n.setStyleHeightPx(this.contentNodes[d],
Math.max(1,this.height));d=!this._invalidating;if(!d){var c=this.grid.get("autoHeight");"number"==typeof c&&c<=Math.min(this.rowsPerPage,this.rowCount)&&(d=!0)}d&&this.needPage(this.page,this.pageTop);d=this.page<this.pageCount-1?this.rowsPerPage:this.rowCount%this.rowsPerPage||this.rowsPerPage;c=this.getPageHeight(this.page);this.averageRowHeight=0<c&&0<d?c/d:0},calcLastPageHeight:function(){if(!this.pageCount)return 0;var d=(this.rowCount%this.rowsPerPage||this.rowsPerPage)*this.defaultRowHeight;
return this.pageHeights[this.pageCount-1]=d},updateContentHeight:function(d){this.height+=d;this.resize()},updatePageHeight:function(d,c,a){if(this.pageExists(d)){var b=this.getPageHeight(d),e=this.measurePage(d);void 0===e&&(e=b);this.pageHeights[d]=e;if(b!=e){this.updateContentHeight(e-b);var k=this.grid.get("autoHeight");"number"==typeof k&&k>this.rowCount||!0===k&&!c?a?(c=this.grid.viewsNode.style,c.height=parseInt(c.height)+e-b+"px",this.repositionPages(d)):this.grid.sizeChange():this.repositionPages(d)}return e}return 0},
rowHeightChanged:function(d,c){this.updatePageHeight(Math.floor(d/this.rowsPerPage),!1,c)},invalidateNodes:function(){for(;this.stack.length;)this.destroyPage(this.popPage())},createPageNode:function(){var d=document.createElement("div");h.attr(d,"role","presentation");d.style.position="absolute";d.style[this.grid.isLeftToRight()?"left":"right"]="0";return d},getPageHeight:function(d){d=this.pageHeights[d];return void 0!==d?d:this.defaultPageHeight},pushPage:function(d){return this.stack.push(d)},
popPage:function(){return this.stack.shift()},findPage:function(d){for(var c=0,a=0,b=0;c<this.pageCount&&!(b=this.getPageHeight(c),a+b>=d);c++,a+=b);this.page=c;this.pageTop=a},buildPage:function(d,c,a){this.preparePage(d,c);this.positionPage(d,a);this.installPage(d);this.renderPage(d);this.pushPage(d)},needPage:function(d,c){var a=this.getPageHeight(d);this.pageExists(d)?this.positionPage(d,c):(this.buildPage(d,!this.grid._autoHeight&&this.keepPages&&this.stack.length>=this.keepPages,c),a=this.updatePageHeight(d,
!0));return a},onscroll:function(){this.scroll(this.scrollboxNode.scrollTop)},scroll:function(d){this.grid.scrollTop=d;if(this.colCount){this.startPacify();this.findPage(d);for(var c=this.height,a=this.getScrollBottom(d),b=this.page,e=this.pageTop;b<this.pageCount&&(0>a||e<a);b++)e+=this.needPage(b,e);this.firstVisibleRow=this.getFirstVisibleRow(this.page,this.pageTop,d);this.lastVisibleRow=this.getLastVisibleRow(b-1,e,a);c!=this.height&&this.repositionPages(b-1);this.endPacify()}},getScrollBottom:function(d){return 0<=
this.windowHeight?d+this.windowHeight:-1},processNodeEvent:function(d,c){for(var a=d.target;a&&a!=c&&a.parentNode&&a.parentNode.parentNode!=c;)a=a.parentNode;if(!a||!a.parentNode||a.parentNode.parentNode!=c)return!1;d.topRowIndex=a.parentNode.pageIndex*this.rowsPerPage;c=d.topRowIndex;a:{var b=0;for(var e,k=a.parentNode;e=k.childNodes[b++];)if(e==a){--b;break a}b=-1}d.rowIndex=c+b;d.rowTarget=a;return!0},processEvent:function(d){return this.processNodeEvent(d,this.contentNode)},renderRow:function(d,
c){},removeRow:function(d){},getDefaultPageNode:function(d){return this.getDefaultNodes()[d]},positionPageNode:function(d,c){},getPageNodePosition:function(d){return d.offsetTop},invalidatePageNode:function(d,c){var a=c[d];a&&(delete c[d],this.removePage(d,a),f(a),a.innerHTML="");return a},getPageRow:function(d){return d*this.rowsPerPage},getLastPageRow:function(d){return Math.min(this.rowCount,this.getPageRow(d+1))-1},getFirstVisibleRow:function(d,c,a){if(!this.pageExists(d))return 0;var b=this.getPageRow(d),
e=this.getDefaultNodes();d=g(e[d],"div");e=0;for(var k=d.length;e<k&&c<a;e++,b++)c+=d[e].offsetHeight;return b?b-1:b},getLastVisibleRow:function(d,c,a){if(!this.pageExists(d))return 0;var b=this.getDefaultNodes(),e=this.getLastPageRow(d);d=g(b[d],"div");for(b=d.length-1;0<=b&&c>a;b--,e--)c-=d[b].offsetHeight;return e+1},findTopRow:function(d){var c=this.getDefaultNodes();c=g(c[this.page],"div");for(var a=0,b=c.length,e=this.pageTop,k;a<b;a++)if(k=c[a].offsetHeight,e+=k,e>=d)return this.offset=k-(e-
d),a+this.page*this.rowsPerPage;return-1},findScrollTop:function(d){var c=Math.floor(d/this.rowsPerPage),a=0,b;for(b=0;b<c;b++)a+=this.getPageHeight(b);this.pageTop=a;this.page=c;this.needPage(c,this.pageTop);b=this.getDefaultNodes();var e=g(b[c],"div");c=d-this.rowsPerPage*c;b=0;for(d=e.length;b<d&&b<c;b++)a+=e[b].offsetHeight;return a},dummy:0})})},"dojox/grid/_Layout":function(){define("dojo/_base/kernel ../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/dom-geometry ./cells ./_RowSelector".split(" "),
function(t,x,w,n,h,f){return w("dojox.grid._Layout",null,{constructor:function(g){this.grid=g},cells:[],structure:null,defaultWidth:"6em",moveColumn:function(g,d,c,a,b){var e=this.structure[g].cells[0],k=this.structure[d].cells[0],r=null,q=r=0;g=0;for(var l;l=e[g];g++)if(l.index==c){r=g;break}r=e.splice(r,1)[0];r.view=this.grid.views.views[d];g=0;for(l=null;l=k[g];g++)if(l.index==a){q=g;break}b||(q+=1);k.splice(q,0,r);if(c=this.grid.getCell(this.grid.getSortIndex()))c._currentlySorted=this.grid.getSortAsc();
this.cells=[];for(g=c=0;d=this.structure[g];g++)for(a=0;b=d.cells[a];a++)for(e=0;l=b[e];e++)l.index=c,this.cells.push(l),"_currentlySorted"in l&&(k=c+1,k*=l._currentlySorted?1:-1,this.grid.sortInfo=k,delete l._currentlySorted),c++;n.forEach(this.cells,function(m){var p=m.markup[2].split(" ");parseInt(p[1].substring(5))!=m.index&&(p[1]='idx\x3d"'+m.index+'"',m.markup[2]=p.join(" "))});this.grid.setupHeaderMenu()},setColumnVisibility:function(g,d){g=this.cells[g];if(g.hidden==d){g.hidden=!d;d=g.view;
var c=d.viewWidth;c&&"auto"!=c&&(d._togglingColumn=f.getMarginBox(g.getHeaderNode()).w||0);d.update();return!0}return!1},addCellDef:function(g,d,c){var a=this,b=function(e){var k=0;1<e.colSpan?k=0:(k=e.width||a._defaultCellProps.width||a.defaultWidth,isNaN(k)||(k+="em"));return k};g={grid:this.grid,subrow:g,layoutIndex:d,index:this.cells.length};if(c&&c instanceof x.grid.cells._Base)return d=h.clone(c),g.unitWidth=b(d._props),d=h.mixin(d,this._defaultCellProps,c._props,g);d=c.type||c.cellType||this._defaultCellProps.type||
this._defaultCellProps.cellType||x.grid.cells.Cell;h.isString(d)&&(d=h.getObject(d));g.unitWidth=b(c);return new d(h.mixin({},this._defaultCellProps,c,g))},addRowDef:function(g,d){for(var c=[],a=0,b=0,e=!0,k=0,r;r=d[k];k++)r=this.addCellDef(g,k,r),c.push(r),this.cells.push(r),e&&r.relWidth?a+=r.relWidth:r.width&&(r=r.width,"string"==typeof r&&"%"==r.slice(-1)?b+=window.parseInt(r,10):"auto"==r&&(e=!1));a&&e&&n.forEach(c,function(q){q.relWidth&&(q.width=q.unitWidth=q.relWidth/a*(100-b)+"%")});return c},
addRowsDef:function(g){var d=[];if(h.isArray(g))if(h.isArrayLike(g[0]))for(var c=0,a;g&&(a=g[c]);c++)d.push(this.addRowDef(c,a));else d.push(this.addRowDef(0,g));return d},addViewDef:function(g){this._defaultCellProps=g.defaultCell||{};g.width&&"auto"==g.width&&delete g.width;return h.mixin({},g,{cells:this.addRowsDef(g.rows||g.cells)})},setStructure:function(g){this.fieldIndex=0;this.cells=[];var d=this.structure=[];if(this.grid.rowSelector){var c={type:x._scopeName+".grid._RowSelector"};if(h.isString(this.grid.rowSelector)){var a=
this.grid.rowSelector;"false"==a?c=null:"true"!=a&&(c.width=a)}else this.grid.rowSelector||(c=null);c&&d.push(this.addViewDef(c))}var b=function(q){return"name"in q||"field"in q||"get"in q};c=function(q){return h.isArray(q)&&(h.isArray(q[0])||b(q[0]))?!0:!1};a=function(q){return null!==q&&h.isObject(q)&&("cells"in q||"rows"in q||"type"in q&&!b(q))};if(h.isArrayLike(g)){for(var e=!1,k=0,r;r=g[k];k++)if(a(r)){e=!0;break}if(e)for(k=0;r=g[k];k++)c(r)?d.push(this.addViewDef({cells:r})):a(r)&&d.push(this.addViewDef(r));
else d.push(this.addViewDef({cells:g}))}else a(g)&&d.push(this.addViewDef(g));this.cellCount=this.cells.length;this.grid.setupHeaderMenu()}})})},"dojox/grid/cells":function(){define(["../main","./cells/_base"],function(t){return t.grid.cells})},"dojox/grid/cells/_base":function(){define("dojo/_base/kernel dojo/_base/declare dojo/_base/lang dojo/_base/event dojo/_base/connect dojo/_base/array dojo/_base/sniff dojo/dom dojo/dom-attr dojo/dom-construct dijit/_Widget ../util".split(" "),function(t,x,
w,n,h,f,g,d,c,a,b,e){var k=x("dojox.grid._DeferredTextWidget",b,{deferred:null,_destroyOnRemove:!0,postCreate:function(){this.deferred&&this.deferred.addBoth(w.hitch(this,function(p){this.domNode&&(this.domNode.innerHTML=p)}))}}),r=function(){setTimeout(w.hitch.apply(t,arguments),0)},q=x("dojox.grid.cells._Base",null,{styles:"",classes:"",editable:!1,alwaysEditing:!1,formatter:null,defaultValue:"...",value:null,hidden:!1,noresize:!1,draggable:!0,_valueProp:"value",_formatPending:!1,constructor:function(p){this._props=
p||{};w.mixin(this,p);void 0===this.draggable&&(this.draggable=!0)},_defaultFormat:function(p,u){var A=this.grid.formatterScope||this,z=this.formatter;z&&A&&"string"==typeof z&&(z=this.formatter=A[z]);p=p!=this.defaultValue&&z?z.apply(A,u):p;if("undefined"==typeof p)return this.defaultValue;p&&p.addBoth&&(p=new k({deferred:p},a.create("span",{innerHTML:this.defaultValue})));return p&&p.declaredClass&&p.startup?"\x3cdiv class\x3d'dojoxGridStubNode' linkWidget\x3d'"+p.id+"' cellIdx\x3d'"+this.index+
"'\x3e"+this.defaultValue+"\x3c/div\x3e":p},format:function(p,u){var A=this.grid.edit.info;(u=this.get?this.get(p,u):this.value||this.defaultValue)&&u.replace&&this.grid.escapeHTMLInData&&(u=u.replace(/&(?![a-z0-9]{1,8};)/ig,"\x26amp;").replace(/</g,"\x26lt;"));return this.editable&&(this.alwaysEditing||A.rowIndex==p&&A.cell==this)?this.formatEditing(A.value?A.value:u,p):this._defaultFormat(u,[u,p,this])},formatEditing:function(p,u){},getNode:function(p){return this.view.getCellNode(p,this.index)},
getHeaderNode:function(){return this.view.getHeaderCellNode(this.index)},getEditNode:function(p){return(this.getNode(p)||0).firstChild||0},canResize:function(){var p=this.unitWidth;return p&&"auto"!==p},isFlex:function(){var p=this.unitWidth;return p&&w.isString(p)&&("auto"==p||"%"==p.slice(-1))},applyEdit:function(p,u){this.getNode(u)&&this.grid.edit.applyCellEdit(p,this,u)},cancelEdit:function(p){this.grid.doCancelEdit(p)},_onEditBlur:function(p){this.grid.edit.isEditCell(p,this.index)&&this.grid.edit.apply()},
registerOnBlur:function(p,u){this.commitOnBlur&&h.connect(p,"onblur",function(A){setTimeout(w.hitch(this,"_onEditBlur",u),250)})},needFormatNode:function(p,u){this._formatPending=!0;r(this,"_formatNode",p,u)},cancelFormatNode:function(){this._formatPending=!1},_formatNode:function(p,u){this._formatPending&&(this._formatPending=!1,g("ie")||d.setSelectable(this.grid.domNode,!0),this.formatNode(this.getEditNode(u),p,u))},formatNode:function(p,u,A){g("ie")?r(this,"focus",A,p):this.focus(A,p)},dispatchEvent:function(p,
u){if(p in this)return this[p](u)},getValue:function(p){return this.getEditNode(p)[this._valueProp]},setValue:function(p,u){(p=this.getEditNode(p))&&(p[this._valueProp]=u)},focus:function(p,u){p=u||this.getEditNode(p);try{e.fire(p,"focus"),e.fire(p,"select")}catch(A){}},save:function(p){this.value=this.value||this.getValue(p)},restore:function(p){this.setValue(p,this.value)},_finish:function(p){d.setSelectable(this.grid.domNode,!1);this.cancelFormatNode()},apply:function(p){this.applyEdit(this.getValue(p),
p);this._finish(p)},cancel:function(p){this.cancelEdit(p);this._finish(p)}});q.markupFactory=function(p,u){var A=w.trim(c.get(p,"formatter")||"");A&&(u.formatter=w.getObject(A)||A);if(A=w.trim(c.get(p,"get")||""))u.get=w.getObject(A);A=function(z,E,y){var B=w.trim(c.get(p,z)||"");B&&(E[y||z]="false"!=B.toLowerCase())};A("sortDesc",u);A("editable",u);A("alwaysEditing",u);A("noresize",u);A("draggable",u);if(A=w.trim(c.get(p,"loadingText")||c.get(p,"defaultValue")||""))u.defaultValue=A;A=function(z,
E,y){var B=w.trim(c.get(p,z)||"")||void 0;B&&(E[y||z]=B)};A("styles",u);A("headerStyles",u);A("cellStyles",u);A("classes",u);A("headerClasses",u);A("cellClasses",u)};var l=q.Cell=x("dojox.grid.cells.Cell",q,{constructor:function(){this.keyFilter=this.keyFilter},keyFilter:null,formatEditing:function(p,u){this.needFormatNode(p,u);p&&p.replace&&(p=p.replace(/"/g,"\x26quot;"));return'\x3cinput class\x3d"dojoxGridInput" type\x3d"text" value\x3d"'+p+'"\x3e'},formatNode:function(p,u,A){this.inherited(arguments);
this.registerOnBlur(p,A)},doKey:function(p){this.keyFilter&&-1==String.fromCharCode(p.charCode).search(this.keyFilter)&&n.stop(p)},_finish:function(p){this.inherited(arguments);var u=this.getEditNode(p);try{e.fire(u,"blur")}catch(A){}}});l.markupFactory=function(p,u){q.markupFactory(p,u);if(p=w.trim(c.get(p,"keyFilter")||""))u.keyFilter=new RegExp(p)};(q.RowIndex=x("dojox.grid.cells.RowIndex",l,{name:"Row",postscript:function(){this.editable=!1},get:function(p){return p+1}})).markupFactory=function(p,
u){l.markupFactory(p,u)};(q.Select=x("dojox.grid.cells.Select",l,{options:null,values:null,returnIndex:-1,constructor:function(p){this.values=this.values||this.options},formatEditing:function(p,u){this.needFormatNode(p,u);u=['\x3cselect class\x3d"dojoxGridSelect"\x3e'];for(var A=0,z,E;void 0!==(z=this.options[A])&&void 0!==(E=this.values[A]);A++)E=E.replace?E.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):E,z=z.replace?z.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):z,u.push("\x3coption",p==
E?" selected":"",' value\x3d"'+E+'"',"\x3e",z,"\x3c/option\x3e");u.push("\x3c/select\x3e");return u.join("")},_defaultFormat:function(p,u){var A=this.inherited(arguments);if(!this.formatter&&this.values&&this.options){var z=f.indexOf(this.values,A);0<=z&&(A=this.options[z])}return A},getValue:function(p){var u=this.getEditNode(p);if(u)return p=u.selectedIndex,u=u.options[p],-1<this.returnIndex?p:u.value||u.innerHTML}})).markupFactory=function(p,u){l.markupFactory(p,u);var A=w.trim(c.get(p,"options")||
"");if(A){var z=A.split(",");z[0]!=A&&(u.options=z)}if(p=w.trim(c.get(p,"values")||""))A=p.split(","),A[0]!=p&&(u.values=A)};var m=q.AlwaysEdit=x("dojox.grid.cells.AlwaysEdit",l,{alwaysEditing:!0,_formatNode:function(p,u){this.formatNode(this.getEditNode(u),p,u)},applyStaticValue:function(p){var u=this.grid.edit;u.applyCellEdit(this.getValue(p),this,p);u.start(this,p,!0)}});m.markupFactory=function(p,u){l.markupFactory(p,u)};(q.Bool=x("dojox.grid.cells.Bool",m,{_valueProp:"checked",formatEditing:function(p,
u){return'\x3cinput class\x3d"dojoxGridInput" type\x3d"checkbox"'+(p?' checked\x3d"checked"':"")+' style\x3d"width: auto" /\x3e'},doclick:function(p){"INPUT"==p.target.tagName&&this.applyStaticValue(p.rowIndex)}})).markupFactory=function(p,u){m.markupFactory(p,u)};return q})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k){function r(){}function q(l){return function(m,p,u,A){return m&&"string"==typeof p&&m[p]==r?m.on(p.substring(2).toLowerCase(),g.hitch(u,A)):l.apply(w,arguments)}}t.around(w,"connect",q);f.connect&&t.around(f,"connect",q);t=n("dijit._Widget",[b,e,k],{onClick:r,onDblClick:r,onKeyDown:r,onKeyPress:r,onKeyUp:r,onMouseDown:r,onMouseMove:r,onMouseOut:r,onMouseOver:r,onMouseLeave:r,onMouseEnter:r,onMouseUp:r,constructor:function(l){this._toConnect={};for(var m in l)this[m]===
r&&(this._toConnect[m.replace(/^on/,"").toLowerCase()]=l[m],delete l[m])},postCreate:function(){this.inherited(arguments);for(var l in this._toConnect)this.on(l,this._toConnect[l]);delete this._toConnect},on:function(l,m){return this[this._onMap(l)]===r?w.connect(this.domNode,l.toLowerCase(),this,m):this.inherited(arguments)},_setFocusedAttr:function(l){this._focused=l;this._set("focused",l)},setAttribute:function(l,m){f.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.",
"","2.0");this.set(l,m)},attr:function(l,m){return 2<=arguments.length||"object"===typeof l?this.set.apply(this,arguments):this.get(l)},getDescendants:function(){f.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}});h("dijit-legacy-requires")&&c(0,function(){require(["dijit/_base"])});
return t})},"dojo/query":function(){define("./_base/kernel ./has ./dom ./on ./_base/array ./_base/lang ./selector/_loader ./selector/_loader!default".split(" "),function(t,x,w,n,h,f,g,d){function c(u,A){var z=function(y,B){if("string"==typeof B&&(B=w.byId(B),!B))return new A([]);y="string"==typeof y?u(y,B):y?y.end&&y.on?y:[y]:[];return y.end&&y.on?y:new A(y)};z.matches=u.match||function(y,B,I){return 0<z.filter([y],B,I).length};z.filter=u.filter||function(y,B,I){return z(B,I).filter(function(v){return-1<
h.indexOf(y,v)})};if("function"!=typeof u){var E=u.search;u=function(y,B){return E(B||document,y)}}return z}x.add("array-extensible",function(){return 1==f.delegate([],{length:1}).length&&!x("bug-for-in-skips-shadowed")});var a=Array.prototype,b=a.slice,e=a.concat,k=h.forEach,r=function(u,A,z){A=[0].concat(b.call(A,0));z=z||t.global;return function(E){A[0]=E;return u.apply(z,A)}},q=function(u){var A=this instanceof l&&x("array-extensible");"number"==typeof u&&(u=Array(u));var z=u&&"length"in u?u:
arguments;if(A||!z.sort){for(var E=A?this:[],y=E.length=z.length,B=0;B<y;B++)E[B]=z[B];if(A)return E;z=E}f._mixin(z,m);z._NodeListCtor=function(I){return l(I)};return z},l=q,m=l.prototype=x("array-extensible")?[]:{};l._wrap=m._wrap=function(u,A,z){u=new (z||this._NodeListCtor||l)(u);return A?u._stash(A):u};l._adaptAsMap=function(u,A){return function(){return this.map(r(u,arguments,A))}};l._adaptAsForEach=function(u,A){return function(){this.forEach(r(u,arguments,A));return this}};l._adaptAsFilter=
function(u,A){return function(){return this.filter(r(u,arguments,A))}};l._adaptWithCondition=function(u,A,z){return function(){var E=arguments,y=r(u,E,z);if(A.call(z||t.global,E))return this.map(y);this.forEach(y);return this}};k(["slice","splice"],function(u){var A=a[u];m[u]=function(){return this._wrap(A.apply(this,arguments),"slice"==u?this:null)}});k(["indexOf","lastIndexOf","every","some"],function(u){var A=h[u];m[u]=function(){return A.apply(t,[this].concat(b.call(arguments,0)))}});f.extend(q,
{constructor:l,_NodeListCtor:l,toString:function(){return this.join(",")},_stash:function(u){this._parent=u;return this},on:function(u,A){var z=this.map(function(E){return n(E,u,A)});z.remove=function(){for(var E=0;E<z.length;E++)z[E].remove()};return z},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(u){var A=b.call(this,0),z=h.map(arguments,function(E){return b.call(E,0)});return this._wrap(e.apply(A,z),this)},map:function(u,A){return this._wrap(h.map(this,
u,A),this)},forEach:function(u,A){k(this,u,A);return this},filter:function(u){var A=arguments,z=this,E=0;if("string"==typeof u){z=p._filterResult(this,A[0]);if(1==A.length)return z._stash(this);E=1}return this._wrap(h.filter(z,A[E],A[E+1]),this)},instantiate:function(u,A){var z=f.isFunction(u)?u:f.getObject(u);A=A||{};return this.forEach(function(E){new z(A,E)})},at:function(){var u=new this._NodeListCtor(0);k(arguments,function(A){0>A&&(A=this.length+A);this[A]&&u.push(this[A])},this);return u._stash(this)}});
var p=c(d,q);t.query=c(d,function(u){return q(u)});p.load=function(u,A,z){g.load(u,A,function(E){z(c(E,q))})};t._filterQueryResult=p._filterResult=function(u,A,z){return new q(p.filter(u,A,z))};t.NodeList=p.NodeList=q;return p})},"dijit/_OnDijitClickMixin":function(){define("dojo/on dojo/_base/array dojo/keys dojo/_base/declare dojo/has ./a11yclick".split(" "),function(t,x,w,n,h,f){t=n("dijit._OnDijitClickMixin",null,{connect:function(g,d,c){return this.inherited(arguments,[g,"ondijitclick"==d?f:
d,c])}});t.a11yclick=f;return t})},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(t,x,w,n){function h(d){if((d.keyCode===t.ENTER||d.keyCode===t.SPACE)&&!/input|button|textarea/i.test(d.target.nodeName))for(d=d.target;d;d=d.parentNode)if(d.dojoClick)return!0}var f;w(document,"keydown",function(d){h(d)?(f=d.target,d.preventDefault()):f=null});w(document,"keyup",function(d){h(d)&&d.target==f&&(f=null,w.emit(d.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:d.ctrlKey,
shiftKey:d.shiftKey,metaKey:d.metaKey,altKey:d.altKey,_origType:d.type}))});var g=function(d,c){d.dojoClick=!0;return w(d,"click",c)};g.click=g;g.press=function(d,c){var a=w(d,n.press,function(e){("mousedown"!=e.type||x.isLeft(e))&&c(e)}),b=w(d,"keydown",function(e){e.keyCode!==t.ENTER&&e.keyCode!==t.SPACE||c(e)});return{remove:function(){a.remove();b.remove()}}};g.release=function(d,c){var a=w(d,n.release,function(e){("mouseup"!=e.type||x.isLeft(e))&&c(e)}),b=w(d,"keyup",function(e){e.keyCode!==
t.ENTER&&e.keyCode!==t.SPACE||c(e)});return{remove:function(){a.remove();b.remove()}}};g.move=n.move;return g})},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(t,x,w,n){n.extend(x,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});return w("dijit._FocusMixin",null,{_focusManager:t})})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m){var p,u,A=new (x([e,g],{curNode:null,activeStack:[],constructor:function(){var E=d.hitch(this,function(y){w.isDescendant(this.curNode,y)&&this.set("curNode",null);w.isDescendant(this.prevNode,y)&&this.set("prevNode",null)});t.before(f,"empty",E);t.before(f,"destroy",E)},registerIframe:function(E){return this.registerWin(E.contentWindow,E)},registerWin:function(E,y){var B=this,I=E.document&&E.document.body;if(I){var v=b("pointer-events")?"pointerdown":b("MSPointer")?
"MSPointerDown":b("touch-events")?"mousedown, touchstart":"mousedown",F=c(E.document,v,function(J){J&&J.target&&null==J.target.parentNode||B._onTouchNode(y||J.target,"mouse")}),D=c(I,"focusin",function(J){if(J.target.tagName){var C=J.target.tagName.toLowerCase();"#document"!=C&&"body"!=C&&(q.isFocusable(J.target)?B._onFocusNode(y||J.target):B._onTouchNode(y||J.target))}}),G=c(I,"focusout",function(J){B._onBlurNode(y||J.target)});return{remove:function(){F.remove();D.remove();G.remove();I=F=D=G=null}}}},
_onBlurNode:function(E){E=(new Date).getTime();E<p+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),E<u+100||(this._clearActiveWidgetsTimer=setTimeout(d.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([])}),0)))},_onTouchNode:function(E,y){u=(new Date).getTime();
this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer);h.contains(E,"dijitPopup")&&(E=E.firstChild);var B=[];try{for(;E;){var I=n.get(E,"dijitPopupParent");if(I)E=l.byId(I).domNode;else if(E.tagName&&"body"==E.tagName.toLowerCase()){if(E===k.body())break;E=r.get(E.ownerDocument).frameElement}else{var v=E.getAttribute&&E.getAttribute("widgetId"),F=v&&l.byId(v);!F||"mouse"==y&&F.get("disabled")||B.unshift(v);E=E.parentNode}}}catch(D){}this._setStack(B,
y)},_onFocusNode:function(E){E&&9!=E.nodeType&&(p=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(E),E!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",E)))},_setStack:function(E,y){var B=this.activeStack,I=B.length-1,v=E.length-1;if(E[v]!=B[I]){this.set("activeStack",E);var F;for(F=I;0<=F&&B[F]!=E[F];F--)if(I=l.byId(B[F]))I._hasBeenBlurred=!0,I.set("focused",!1),I._focusManager==this&&I._onBlur(y),
this.emit("widget-blur",I,y);for(F++;F<=v;F++)if(I=l.byId(E[F]))I.set("focused",!0),I._focusManager==this&&I._onFocus(y),this.emit("widget-focus",I,y)}},focus:function(E){if(E)try{E.focus()}catch(y){}}}));a(function(){var E=A.registerWin(r.get(document));b("ie")&&c(window,"unload",function(){E&&(E.remove(),E=null)})});m.focus=function(E){A.focus(E)};for(var z in A)/^_/.test(z)||(m.focus[z]="function"==typeof A[z]?d.hitch(A,z):A[z]);A.watch(function(E,y,B){m.focus[E]=B});return A})},"dijit/a11y":function(){define("dojo/_base/array dojo/dom dojo/dom-attr dojo/dom-style dojo/_base/lang dojo/sniff ./main".split(" "),
function(t,x,w,n,h,f,g){var d={_isElementShown:function(c){var a=n.get(c);return"hidden"!=a.visibility&&"collapsed"!=a.visibility&&"none"!=a.display&&"hidden"!=w.get(c,"type")},hasDefaultTabStop:function(c){switch(c.nodeName.toLowerCase()){case "a":return w.has(c,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return!0;case "iframe":try{var a=c.contentDocument;if("designMode"in a&&"on"==a.designMode)return!0;var b=a.body}catch(e){try{b=c.contentWindow.document.body}catch(k){return!1}}return b&&
("true"==b.contentEditable||b.firstChild&&"true"==b.firstChild.contentEditable);default:return"true"==c.contentEditable}},effectiveTabIndex:function(c){if(!w.get(c,"disabled"))return w.has(c,"tabIndex")?+w.get(c,"tabIndex"):d.hasDefaultTabStop(c)?0:void 0},isTabNavigable:function(c){return 0<=d.effectiveTabIndex(c)},isFocusable:function(c){return-1<=d.effectiveTabIndex(c)},_getTabNavigable:function(c){function a(E){return E&&"input"==E.tagName.toLowerCase()&&E.type&&"radio"==E.type.toLowerCase()&&
E.name&&E.name.toLowerCase()}function b(E){return p[a(E)]||E}var e,k,r,q,l,m,p={},u=d._isElementShown,A=d.effectiveTabIndex,z=function(E){for(E=E.firstChild;E;E=E.nextSibling)if(!(1!=E.nodeType||9>=f("ie")&&"HTML"!==E.scopeName)&&u(E)){var y=A(E);if(0<=y){if(0==y)e||(e=E),k=E;else if(0<y){if(!r||y<q)q=y,r=E;if(!l||y>=m)m=y,l=E}y=a(E);w.get(E,"checked")&&y&&(p[y]=E)}"SELECT"!=E.nodeName.toUpperCase()&&z(E)}};u(c)&&z(c);return{first:b(e),last:b(k),lowest:b(r),highest:b(l)}},getFirstInTabbingOrder:function(c,
a){c=d._getTabNavigable(x.byId(c,a));return c.lowest?c.lowest:c.first},getLastInTabbingOrder:function(c,a){c=d._getTabNavigable(x.byId(c,a));return c.last?c.last:c.highest}};h.mixin(g,d);return d})},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(t,x,w,n,h){var f=h.doc.documentElement;h=n("ie");var g=n("trident"),d=n("opera"),c=Math.floor,a=n("ff"),b=t.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")};h&&(d.dj_ie=!0,d["dj_ie"+c(h)]=!0,d.dj_iequirks=n("quirks"));g&&(d.dj_trident=!0,d["dj_trident"+c(g)]=!0);a&&(d["dj_ff"+c(a)]=!0);d["dj_"+b]=!0;var e="",k;for(k in d)d[k]&&(e+=k+" ");f.className=x.trim(f.className+" "+e);w(function(){if(!t.isBodyLtr()){var r="dj_rtl dijitRtl "+e.replace(/ /g,"-rtl ");f.className=x.trim(f.className+" "+r+"dj_rtl dijitRtl "+
e.replace(/ /g,"-rtl "))}});return n})},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(t,x,w,n){w(function(){x("highcontrast")&&t.add(n.body(),"dijit_a11y")});return x})},"dojo/hccss":function(){define("require ./_base/config ./dom-class ./dom-style ./has ./domReady ./_base/window".split(" "),function(t,x,w,n,h,f,g){h.add("highcontrast",function(){var d=g.doc.createElement("div");try{d.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+
(x.blankGif||t.toUrl("./resources/blank.gif"))+'");';g.body().appendChild(d);var c=n.getComputedStyle(d),a=c.backgroundImage;return c.borderTopColor==c.borderRightColor||a&&("none"==a||"url(invalid-url:)"==a)}catch(b){return!1}finally{8>=h("ie")?d.outerHTML="":g.body().removeChild(d)}});f(function(){h("highcontrast")&&w.add(g.body(),"dj_a11y")});return h})},"dojox/grid/_RowSelector":function(){define(["dojo/_base/declare","./_View"],function(t,x){return t("dojox.grid._RowSelector",x,{defaultWidth:"2em",
noscroll:!0,padBorderWidth:2,buildRendering:function(){this.inherited("buildRendering",arguments);this.scrollboxNode.style.overflow="hidden";this.headerNode.style.visibility="hidden"},getWidth:function(){return this.viewWidth||this.defaultWidth},buildRowContent:function(w,n){n.innerHTML='\x3ctable class\x3d"dojoxGridRowbarTable" style\x3d"width:'+(this.contentWidth||0)+'px;height:1px;" border\x3d"0" cellspacing\x3d"0" cellpadding\x3d"0" role\x3d"presentation"\x3e\x3ctr\x3e\x3ctd class\x3d"dojoxGridRowbarInner"\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e'},
renderHeader:function(){},updateRow:function(){},resize:function(){this.adaptHeight()},adaptWidth:function(){!("contentWidth"in this)&&this.contentNode&&0<this.contentNode.offsetWidth&&(this.contentWidth=this.contentNode.offsetWidth-this.padBorderWidth)},doStyleRowNode:function(w,n){var h=["dojoxGridRowbar dojoxGridNonNormalizedCell"];this.grid.rows.isOver(w)&&h.push("dojoxGridRowbarOver");this.grid.selection.isSelected(w)&&h.push("dojoxGridRowbarSelected");n.className=h.join(" ")},domouseover:function(w){this.grid.onMouseOverRow(w)},
domouseout:function(w){if(!this.isIntraRowEvent(w))this.grid.onMouseOutRow(w)}})})},"dojox/grid/_View":function(){define("dojo dijit/registry ../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/_base/connect dojo/_base/sniff dojo/query dojo/_base/window dojo/text!./resources/View.html dojo/dnd/Source dijit/_Widget dijit/_TemplatedMixin dojox/html/metrics ./util dojo/_base/html ./_Builder dojo/dnd/Avatar dojo/dnd/Manager".split(" "),function(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m,p,u,A){b=
n("dojox.grid._View",[k,r],{defaultWidth:"18em",viewWidth:"",templateString:b,classTag:"dojoxGrid",marginBottom:0,rowPad:2,_togglingColumn:-1,_headerBuilderClass:p._HeaderBuilder,_contentBuilderClass:p._ContentBuilder,postMixInProperties:function(){this.rowNodes={}},postCreate:function(){this.connect(this.scrollboxNode,"onscroll","doscroll");l.funnelEvents(this.contentNode,this,"doContentEvent","mouseover mouseout click dblclick contextmenu mousedown".split(" "));l.funnelEvents(this.headerNode,this,
"doHeaderEvent","dblclick mouseover mouseout mousemove mousedown click contextmenu".split(" "));this.content=new this._contentBuilderClass(this);this.header=new this._headerBuilderClass(this);this.grid.isLeftToRight()||(this.headerNodeContainer.style.width="")},destroy:function(){m.destroy(this.headerNode);delete this.headerNode;for(var y in this.rowNodes)this._cleanupRowWidgets(this.rowNodes[y]),m.destroy(this.rowNodes[y]);this.rowNodes={};this.source&&this.source.destroy();this.inherited(arguments)},
focus:function(){d("ie")||d("webkit")||d("opera")?this.hiddenFocusNode.focus():this.scrollboxNode.focus()},setStructure:function(y){y=this.structure=y;y.width&&!isNaN(y.width)?this.viewWidth=y.width+"em":this.viewWidth=y.width||(y.noscroll?"auto":this.viewWidth);this._onBeforeRow=y.onBeforeRow||function(){};this._onAfterRow=y.onAfterRow||function(){};if(this.noscroll=y.noscroll)this.scrollboxNode.style.overflow="hidden";this.simpleStructure=1==y.cells.length;this.testFlexCells();this.updateStructure()},
_cleanupRowWidgets:function(y){y&&h.forEach(c("[widgetId]",y).map(x.byNode),function(B){B._destroyOnRemove?(B.destroy(),delete B):B.domNode&&B.domNode.parentNode&&B.domNode.parentNode.removeChild(B.domNode)})},onBeforeRow:function(y,B){this._onBeforeRow(y,B);0<=y&&this._cleanupRowWidgets(this.getRowNode(y))},onAfterRow:function(y,B,I){this._onAfterRow(y,B,I);var v=this.grid;h.forEach(c(".dojoxGridStubNode",I),function(F){if(F&&F.parentNode){var D=F.getAttribute("linkWidget"),G=window.parseInt(m.attr(F,
"cellIdx"),10);v.getCell(G);(D=x.byId(D))?(F.parentNode.replaceChild(D.domNode,F),D._started||D.startup(),t.destroy(F)):F.innerHTML=""}},this)},testFlexCells:function(){this.flexCells=!1;for(var y=0,B;B=this.structure.cells[y];y++)for(var I=0,v;v=B[I];I++)v.view=this,this.flexCells=this.flexCells||v.isFlex();return this.flexCells},updateStructure:function(){this.header.update();this.content.update()},getScrollbarWidth:function(){var y=this.hasVScrollbar(),B=m.style(this.scrollboxNode,"overflow");
this.noscroll||!B||"hidden"==B?y=!1:"scroll"==B&&(y=!0);return y?q.getScrollbar().w:0},getColumnsWidth:function(){var y=this.headerContentNode;return y&&y.firstChild?y.firstChild.offsetWidth||m.style(y.firstChild,"width"):0},setColumnsWidth:function(y){this.headerContentNode.firstChild.style.width=y+"px";this.viewWidth&&(this.viewWidth=y+"px")},getWidth:function(){return this.viewWidth||this.getColumnsWidth()+this.getScrollbarWidth()+"px"},getContentWidth:function(){return Math.max(0,m._getContentBox(this.domNode).w-
this.getScrollbarWidth())+"px"},render:function(){this.scrollboxNode.style.height="";this.renderHeader();0<=this._togglingColumn&&(this.setColumnsWidth(this.getColumnsWidth()-this._togglingColumn),this._togglingColumn=-1);var y=this.grid.layout.cells,B=f.hitch(this,function(v,F){!this.grid.isLeftToRight()&&(F=!F);F=F?-1:1;v=this.header.getCellNodeIndex(v)+F;for(var D=y[v];D&&D.getHeaderNode()&&"none"==D.getHeaderNode().style.display;)v+=F,D=y[v];return D?D.getHeaderNode():null});if(this.grid.columnReordering&&
this.simpleStructure){this.source&&this.source.destroy();this.bottomMarker&&m.destroy(this.bottomMarker);this.bottomMarker=m.byId("dojoxGrid_bottomMarker");this.topMarker&&m.destroy(this.topMarker);this.topMarker=m.byId("dojoxGrid_topMarker");this.bottomMarker||(this.bottomMarker=m.create("div",{id:"dojoxGrid_bottomMarker","class":"dojoxGridColPlaceBottom"},a.body()),this._hide(this.bottomMarker),this.topMarker=m.create("div",{id:"dojoxGrid_topMarker","class":"dojoxGridColPlaceTop"},a.body()),this._hide(this.topMarker));
this.arrowDim=m.contentBox(this.bottomMarker);var I=m.contentBox(this.headerContentNode.firstChild.rows[0]).h;this.source=new e(this.headerContentNode.firstChild.rows[0],{horizontal:!0,accept:["gridColumn_"+this.grid.id],viewIndex:this.index,generateText:!1,onMouseDown:f.hitch(this,function(v){this.header.decorateEvent(v);if((this.header.overRightResizeArea(v)||this.header.overLeftResizeArea(v))&&this.header.canResize(v)&&!this.header.moveable)this.header.beginColumnResize(v);else{if(this.grid.headerMenu)this.grid.headerMenu.onCancel(!0);
v.button===(9>d("ie")?1:0)&&e.prototype.onMouseDown.call(this.source,v)}}),onMouseOver:f.hitch(this,function(v){var F=this.source;F._getChildByEvent(v)&&e.prototype.onMouseOver.apply(F,arguments)}),_markTargetAnchor:f.hitch(this,function(v){var F=this.source;if(F.current!=F.targetAnchor||F.before!=v){F.targetAnchor&&B(F.targetAnchor,F.before)&&F._removeItemClass(B(F.targetAnchor,F.before),F.before?"After":"Before");e.prototype._markTargetAnchor.call(F,v);var D=v?F.targetAnchor:B(F.targetAnchor,F.before);
v=0;D||(D=F.targetAnchor,v=m.contentBox(D).w+this.arrowDim.w/2+2);D=m.position(D,!0);v=Math.floor(D.x-this.arrowDim.w/2+v);m.style(this.bottomMarker,"visibility","visible");m.style(this.topMarker,"visibility","visible");m.style(this.bottomMarker,{left:v+"px",top:I+D.y+"px"});m.style(this.topMarker,{left:v+"px",top:D.y-this.arrowDim.h+"px"});F.targetAnchor&&B(F.targetAnchor,F.before)&&F._addItemClass(B(F.targetAnchor,F.before),F.before?"After":"Before")}}),_unmarkTargetAnchor:f.hitch(this,function(){var v=
this.source;v.targetAnchor&&(v.targetAnchor&&B(v.targetAnchor,v.before)&&v._removeItemClass(B(v.targetAnchor,v.before),v.before?"After":"Before"),this._hide(this.bottomMarker),this._hide(this.topMarker),e.prototype._unmarkTargetAnchor.call(v))}),destroy:f.hitch(this,function(){g.disconnect(this._source_conn);g.unsubscribe(this._source_sub);e.prototype.destroy.call(this.source);this.bottomMarker&&(m.destroy(this.bottomMarker),delete this.bottomMarker);this.topMarker&&(m.destroy(this.topMarker),delete this.topMarker)}),
onDndCancel:f.hitch(this,function(){e.prototype.onDndCancel.call(this.source);this._hide(this.bottomMarker);this._hide(this.topMarker)})});this._source_conn=g.connect(this.source,"onDndDrop",this,"_onDndDrop");this._source_sub=g.subscribe("/dnd/drop/before",this,"_onDndDropBefore");this.source.startup()}},_hide:function(y){m.style(y,{top:"-10000px",visibility:"hidden"})},_onDndDropBefore:function(y,B,I){A.manager().target===this.source&&(this.source._targetNode=this.source.targetAnchor,this.source._beforeTarget=
this.source.before,B=this.grid.views.views,y=B[y.viewIndex],B=B[this.index],B!=y&&(y.convertColPctToFixed(),B.convertColPctToFixed()))},_onDndDrop:function(y,B,I){if(A.manager().target!==this.source)A.manager().source===this.source&&(this._removingColumn=!0);else{this._hide(this.bottomMarker);this._hide(this.topMarker);I=m.marginBox(B[0]).w;if(y.viewIndex!==this.index){var v=this.grid.views.views,F=v[y.viewIndex];v=v[this.index];F.viewWidth&&"auto"!=F.viewWidth&&F.setColumnsWidth(F.getColumnsWidth()-
I);v.viewWidth&&"auto"!=v.viewWidth&&v.setColumnsWidth(v.getColumnsWidth())}I=this.source._targetNode;F=this.source._beforeTarget;!this.grid.isLeftToRight()&&(F=!F);v=this.grid.layout;var D=this.index;delete this.source._targetNode;delete this.source._beforeTarget;var G=v.moveColumn;y=y.viewIndex;B=(B=B[0])?m.attr(B,"idx"):null;G.call(v,y,D,B,I?m.attr(I,"idx"):null,F)}},renderHeader:function(){this.headerContentNode.innerHTML=this.header.generateHtml(this._getHeaderContent);this.flexCells&&(this.contentWidth=
this.getContentWidth(),this.headerContentNode.firstChild.style.width=this.contentWidth);l.fire(this,"onAfterRow",[-1,this.structure.cells,this.headerContentNode])},_getHeaderContent:function(y){var B=y.name||y.grid.getCellName(y);/^\s+$/.test(B)&&(B="\x26nbsp;");var I=['\x3cdiv class\x3d"dojoxGridSortNode'];y.index!=y.grid.getSortIndex()?I.push('"\x3e'):I=I.concat([" ",0<y.grid.sortInfo?"dojoxGridSortUp":"dojoxGridSortDown",'"\x3e\x3cdiv class\x3d"dojoxGridArrowButtonChar"\x3e',0<y.grid.sortInfo?
"\x26#9650;":"\x26#9660;",'\x3c/div\x3e\x3cdiv class\x3d"dojoxGridArrowButtonNode" role\x3d"presentation"\x3e\x3c/div\x3e','\x3cdiv class\x3d"dojoxGridColCaption"\x3e']);I=I.concat([B,"\x3c/div\x3e\x3c/div\x3e"]);return I.join("")},resize:function(){this.adaptHeight();this.adaptWidth()},hasHScrollbar:function(y){var B=this._hasHScroll||!1;if(void 0==this._hasHScroll||y)this.noscroll?this._hasHScroll=!1:(y=m.style(this.scrollboxNode,"overflow"),this._hasHScroll="hidden"==y?!1:"scroll"==y?!0:this.scrollboxNode.offsetWidth-
this.getScrollbarWidth()<this.contentNode.offsetWidth);B!==this._hasHScroll&&this.grid.update();return this._hasHScroll},hasVScrollbar:function(y){var B=this._hasVScroll||!1;if(void 0==this._hasVScroll||y)this.noscroll?this._hasVScroll=!1:(y=m.style(this.scrollboxNode,"overflow"),this._hasVScroll="hidden"==y?!1:"scroll"==y?!0:this.scrollboxNode.scrollHeight>this.scrollboxNode.clientHeight);B!==this._hasVScroll&&this.grid.update();return this._hasVScroll},convertColPctToFixed:function(){var y=!1;this.grid.initialWidth=
"";var B=c("th",this.headerContentNode),I=h.map(B,function(v,F){var D=v.style.width;m.attr(v,"vIdx",F);if(D&&"%"==D.slice(-1))y=!0;else if(D&&"px"==D.slice(-2))return window.parseInt(D,10);return m.contentBox(v).w});return y?(h.forEach(this.grid.layout.cells,function(v,F){if(v.view==this&&(v=v.view.getHeaderCellNode(v.index))&&m.hasAttr(v,"vIdx")){var D=window.parseInt(m.attr(v,"vIdx"));this.setColWidth(F,I[D]);m.removeAttr(v,"vIdx")}},this),!0):!1},adaptHeight:function(y){if(!this.grid._autoHeight){var B=
this.domNode.style.height&&parseInt(this.domNode.style.height.replace(/px/,""),10)||this.domNode.clientHeight;if(!y&&(y=this.noscroll))a:{for(var I=0;I<this.grid.views.views.length;++I)if(y=this.grid.views.views[I],y!==this&&y.hasHScrollbar()){y=!0;break a}y=!1}y&&(B-=q.getScrollbar().h);l.setStyleHeightPx(this.scrollboxNode,B)}this.hasVScrollbar(!0)},adaptWidth:function(){this.flexCells&&(this.contentWidth=this.getContentWidth(),this.headerContentNode.firstChild.style.width=this.contentWidth);var y=
this.scrollboxNode.offsetWidth-this.getScrollbarWidth();this._removingColumn?(y=Math.min(y,this.getColumnsWidth())+"px",this._removingColumn=!1):y=Math.max(y,this.getColumnsWidth())+"px";this.contentNode.style.width=y;this.hasHScrollbar(!0)},setSize:function(y,B){var I=this.domNode.style,v=this.headerNode.style;y&&(I.width=y,v.width=y);I.height=0<=B?B+"px":""},renderRow:function(y){var B=this.createRowNode(y);this.buildRow(y,B);return B},createRowNode:function(y){var B=document.createElement("div");
B.className=this.classTag+"Row";this instanceof w.grid._RowSelector?m.attr(B,"role","presentation"):(m.attr(B,"role","row"),"none"!=this.grid.selectionMode&&B.setAttribute("aria-selected","false"));B[l.gridViewTag]=this.id;B[l.rowIndexTag]=y;return this.rowNodes[y]=B},buildRow:function(y,B){this.buildRowContent(y,B);this.styleRow(y,B)},buildRowContent:function(y,B){B.innerHTML=this.content.generateHtml(y,y);this.flexCells&&this.contentWidth&&(B.firstChild.style.width=this.contentWidth);l.fire(this,
"onAfterRow",[y,this.structure.cells,B])},rowRemoved:function(y){0<=y&&this._cleanupRowWidgets(this.getRowNode(y));this.grid.edit.save(this,y);delete this.rowNodes[y]},getRowNode:function(y){return this.rowNodes[y]},getCellNode:function(y,B){if(y=this.getRowNode(y))return this.content.getCellNode(y,B)},getHeaderCellNode:function(y){if(this.headerContentNode)return this.header.getCellNode(this.headerContentNode,y)},styleRow:function(y,B){var I=void 0==B.style.cssText?B.getAttribute("style"):B.style.cssText;
B._style=I;this.styleRowNode(y,B)},styleRowNode:function(y,B){B&&this.doStyleRowNode(y,B)},doStyleRowNode:function(y,B){this.grid.styleRowNode(y,B)},updateRow:function(y){var B=this.getRowNode(y);B&&(B.style.height="",this.buildRow(y,B));return B},updateRowStyles:function(y){this.styleRowNode(y,this.getRowNode(y))},lastTop:0,firstScroll:0,_nativeScroll:!1,doscroll:function(y){if(13<=d("ff")||d("chrome"))this._nativeScroll=!0;y=this.grid.isLeftToRight();if(2>this.firstScroll){if(!y&&1==this.firstScroll||
y&&0===this.firstScroll){var B=m.marginBox(this.headerNodeContainer);d("ie")?this.headerNodeContainer.style.width=B.w+this.getScrollbarWidth()+"px":d("mozilla")&&(this.headerNodeContainer.style.width=B.w-this.getScrollbarWidth()+"px",this.scrollboxNode.scrollLeft=y?this.scrollboxNode.clientWidth-this.scrollboxNode.scrollWidth:this.scrollboxNode.scrollWidth-this.scrollboxNode.clientWidth)}this.firstScroll++}this.headerNode.scrollLeft=this.scrollboxNode.scrollLeft;y=this.scrollboxNode.scrollTop;y!==
this.lastTop&&this.grid.scrollTo(y);this._nativeScroll=!1},setScrollTop:function(y){this.lastTop=y;this._nativeScroll||(this.scrollboxNode.scrollTop=y);return this.scrollboxNode.scrollTop},doContentEvent:function(y){if(this.content.decorateEvent(y))this.grid.onContentEvent(y)},doHeaderEvent:function(y){if(this.header.decorateEvent(y))this.grid.onHeaderEvent(y)},dispatchContentEvent:function(y){return this.content.dispatchEvent(y)},dispatchHeaderEvent:function(y){return this.header.dispatchEvent(y)},
setColWidth:function(y,B){this.grid.setCellWidth(y,B+"px")},update:function(){if(this.domNode){this.content.update();this.grid.update();var y=this.scrollboxNode.scrollLeft;this.scrollboxNode.scrollLeft=y;this.headerNode.scrollLeft=y}}});var z=n("dojox.grid._GridAvatar",u,{construct:function(){var y=a.doc,B=y.createElement("table");B.cellPadding=B.cellSpacing="0";B.className="dojoxGridDndAvatar";B.style.position="absolute";B.style.zIndex=1999;B.style.margin="0px";var I=y.createElement("tbody"),v=y.createElement("tr"),
F=y.createElement("td"),D=y.createElement("td");v.className="dojoxGridDndAvatarItem";D.className="dojoxGridDndAvatarItemImage";D.style.width="16px";var G=this.manager.source;if(G.creator)G=G._normalizedCreator(G.getItem(this.manager.nodes[0].id).data,"avatar").node;else if(G=this.manager.nodes[0].cloneNode(!0),"tr"==G.tagName.toLowerCase()){var J=y.createElement("table");var C=y.createElement("tbody");C.appendChild(G);J.appendChild(C);G=J}else"th"==G.tagName.toLowerCase()&&(J=y.createElement("table"),
C=y.createElement("tbody"),y=y.createElement("tr"),J.cellPadding=J.cellSpacing="0",y.appendChild(G),C.appendChild(y),J.appendChild(C),G=J);G.id="";F.appendChild(G);v.appendChild(D);v.appendChild(F);m.style(v,"opacity",.9);I.appendChild(v);B.appendChild(I);this.node=B;B=A.manager();this.oldOffsetY=B.OFFSET_Y;B.OFFSET_Y=1},destroy:function(){A.manager().OFFSET_Y=this.oldOffsetY;this.inherited(arguments)}}),E=A.manager().makeAvatar;A.manager().makeAvatar=function(){return void 0===this.source.viewIndex||
m.hasClass(a.body(),"dijit_a11y")?E.call(A.manager()):new z(this)};return b})},"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 require ./_base/browser ./_base/loader".split(" "),function(t,x,w,n,h,f,g,d){g.isDebug&&w(["./_firebug/firebug"]);return t})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(t,x,w,n){var h=
t.Color=function(f){f&&this.setColor(f)};h.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]};x.extend(h,{r:255,g:255,b:255,a:1,_set:function(f,g,d,c){this.r=f;this.g=g;this.b=d;this.a=c},setColor:function(f){x.isString(f)?h.fromString(f,
this):x.isArray(f)?h.fromArray(f,this):(this._set(f.r,f.g,f.b,f.a),f instanceof h||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"#"+w.map(["r","g","b"],function(f){f=this[f].toString(16);return 2>f.length?"0"+f:f},this).join("")},toCss:function(f){var g=this.r+", "+this.g+", "+this.b;return(f?"rgba("+g+", "+this.a:"rgb("+g)+")"},toString:function(){return this.toCss(!0)}});
h.blendColors=t.blendColors=function(f,g,d,c){c=c||new h;c.r=Math.round(f.r+(g.r-f.r)*d);c.g=Math.round(f.g+(g.g-f.g)*d);c.b=Math.round(f.b+(g.b-f.b)*d);c.a=f.a+(g.a-f.a)*d;return c.sanitize()};h.fromRgb=t.colorFromRgb=function(f,g){return(f=f.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/))&&h.fromArray(f[1].split(/\s*,\s*/),g)};h.fromHex=t.colorFromHex=function(f,g){var d=g||new h,c=4==f.length?4:8,a=(1<<c)-1;f=Number("0x"+f.substr(1));if(isNaN(f))return null;w.forEach(["b","g","r"],function(b){var e=
f&a;f>>=c;d[b]=4==c?17*e:e});d.a=1;return d};h.fromArray=t.colorFromArray=function(f,g){g=g||new h;g._set(Number(f[0]),Number(f[1]),Number(f[2]),Number(f[3]));isNaN(g.a)&&(g.a=1);return g.sanitize()};h.fromString=t.colorFromString=function(f,g){var d=h.named[f];return d&&h.fromArray(d,g)||h.fromRgb(f,g)||h.fromHex(f,g)};return h})},"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(t){return t})},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(t,x,w){x=x.NodeList;var n=x.prototype;n.connect=x._adaptAsForEach(function(){return t.connect.apply(this,arguments)});n.coords=x._adaptAsMap(t.coords);x.events="blur focus change click error keydown keypress keyup load mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup submit".split(" ");w.forEach(x.events,function(h){var f="on"+h;n[f]=function(g,
d){return this.connect(f,g,d)}});return t.NodeList=x})},"dojo/NodeList-dom":function(){define("./_base/kernel ./query ./_base/array ./_base/lang ./dom-class ./dom-construct ./dom-geometry ./dom-attr ./dom-style".split(" "),function(t,x,w,n,h,f,g,d,c){function a(m){return function(p,u,A){return 2==arguments.length?m["string"==typeof u?"get":"set"](p,u):m.set(p,u,A)}}var b=function(m){return 1==m.length&&"string"==typeof m[0]},e=function(m){var p=m.parentNode;p&&p.removeChild(m)},k=x.NodeList,r=k._adaptWithCondition,
q=k._adaptAsForEach,l=k._adaptAsMap;n.extend(k,{_normalize:function(m,p){var u=!0===m.parse;if("string"==typeof m.template){var A=m.templateFunc||t.string&&t.string.substitute;m=A?A(m.template,m):m}A=typeof m;"string"==A||"number"==A?(m=f.toDom(m,p&&p.ownerDocument),m=11==m.nodeType?n._toArray(m.childNodes):[m]):n.isArrayLike(m)?n.isArray(m)||(m=n._toArray(m)):m=[m];u&&(m._runParse=!0);return m},_cloneNode:function(m){return m.cloneNode(!0)},_place:function(m,p,u,A){if(1==p.nodeType||"only"!=u)for(var z,
E=m.length,y=E-1;0<=y;y--){var B=A?this._cloneNode(m[y]):m[y];if(m._runParse&&t.parser&&t.parser.parse)for(z||(z=p.ownerDocument.createElement("div")),z.appendChild(B),t.parser.parse(z),B=z.firstChild;z.firstChild;)z.removeChild(z.firstChild);y==E-1?f.place(B,p,u):p.parentNode.insertBefore(B,p);p=B}},position:l(g.position),attr:r(a(d),b),style:r(a(c),b),addClass:q(h.add),removeClass:q(h.remove),toggleClass:q(h.toggle),replaceClass:q(h.replace),empty:q(f.empty),removeAttr:q(d.remove),marginBox:l(g.getMarginBox),
place:function(m,p){var u=x(m)[0];return this.forEach(function(A){f.place(A,u,p)})},orphan:function(m){return(m?x._filterResult(this,m):this).forEach(e)},adopt:function(m,p){return x(m).place(this[0],p)._stash(this)},query:function(m){if(!m)return this;var p=new k;this.map(function(u){x(m,u).forEach(function(A){void 0!==A&&p.push(A)})});return p._stash(this)},filter:function(m){var p=arguments,u=this,A=0;if("string"==typeof m){u=x._filterResult(this,p[0]);if(1==p.length)return u._stash(this);A=1}return this._wrap(w.filter(u,
p[A],p[A+1]),this)},addContent:function(m,p){m=this._normalize(m,this[0]);for(var u=0,A;A=this[u];u++)m.length?this._place(m,A,p,0<u):f.empty(A);return this}});return k})},"dojo/_base/fx":function(){define("./kernel ./config ./lang ../Evented ./Color ../aspect ../sniff ../dom ../dom-style".split(" "),function(t,x,w,n,h,f,g,d,c){var a=w.mixin,b={},e=b._Line=function(u,A){this.start=u;this.end=A};e.prototype.getValue=function(u){return(this.end-this.start)*u+this.start};var k=b.Animation=function(u){a(this,
u);w.isArray(this.curve)&&(this.curve=new e(this.curve[0],this.curve[1]))};k.prototype=new n;w.extend(k,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var u=this._percent,A=this.easing;return A?A(u):u},_fire:function(u,A){A=A||[];if(this[u])if(x.debugAtAllCosts)this[u].apply(this,A);else try{this[u].apply(this,A)}catch(z){}return this},play:function(u,A){this._delayTimer&&this._clearTimer();if(A)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&
!this._paused)return this;this._fire("beforeBegin",[this.node]);u=u||this.delay;A=w.hitch(this,"_play",A);if(0<u)return this._delayTimer=setTimeout(A,u),this;A();return this},_play:function(u){this._delayTimer&&this._clearTimer();this._startTime=(new Date).valueOf();this._paused&&(this._startTime-=this.duration*this._percent);this._active=!0;this._paused=!1;u=this.curve.getValue(this._getStep());this._percent||(this._startRepeatCount||(this._startRepeatCount=this.repeat),this._fire("onBegin",[u]));
this._fire("onPlay",[u]);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(u,A){this._stopTimer();this._active=this._paused=!0;this._percent=u;A&&this.play();return this},stop:function(u){this._delayTimer&&this._clearTimer();if(!this._timer)return this;this._stopTimer();u&&(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 u=(new Date).valueOf();u=0===this.duration?1:(u-this._startTime)/this.duration;1<=u&&(u=1);this._percent=u;this.easing&&(u=this.easing(u));this._fire("onAnimate",[this.curve.getValue(u)]);1>this._percent?this._startTimer():(this._active=!1,0<this.repeat?(this.repeat--,
this.play(null,!0)):-1==this.repeat?this.play(null,!0):this._startRepeatCount&&(this.repeat=this._startRepeatCount,this._startRepeatCount=0),this._percent=0,this._fire("onEnd",[this.node]),!this.repeat&&this._stopTimer())}return this},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer}});var r=0,q=null,l={run:function(){}};w.extend(k,{_startTimer:function(){this._timer||(this._timer=f.after(l,"run",w.hitch(this,"_cycle"),!0),r++);q||(q=setInterval(w.hitch(l,"run"),this.rate))},
_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,r--);0>=r&&(clearInterval(q),q=null,r=0)}});var m=g("ie")?function(u){var A=u.style;A.width.length||"auto"!=c.get(u,"width")||(A.width="auto")}:function(){};b._fade=function(u){u.node=d.byId(u.node);var A=a({properties:{}},u);u=A.properties.opacity={};u.start="start"in A?A.start:function(){return+c.get(A.node,"opacity")||0};u.end=A.end;u=b.animateProperty(A);f.after(u,"beforeBegin",w.partial(m,A.node),!0);return u};b.fadeIn=
function(u){return b._fade(a({end:1},u))};b.fadeOut=function(u){return b._fade(a({end:0},u))};b._defaultEasing=function(u){return.5+Math.sin((u+1.5)*Math.PI)/2};var p=function(u){this._properties=u;for(var A in u){var z=u[A];z.start instanceof h&&(z.tempColor=new h)}};p.prototype.getValue=function(u){var A={},z;for(z in this._properties){var E=this._properties[z],y=E.start;y instanceof h?A[z]=h.blendColors(y,E.end,u,E.tempColor).toCss():w.isArray(y)||(A[z]=(E.end-y)*u+y+("opacity"!=z?E.units||"px":
0))}return A};b.animateProperty=function(u){var A=u.node=d.byId(u.node);u.easing||(u.easing=t._defaultEasing);u=new k(u);f.after(u,"beforeBegin",w.hitch(u,function(){var z={},E;for(E in this.properties){if("width"==E||"height"==E)this.node.display="block";var y=this.properties[E];w.isFunction(y)&&(y=y(A));y=z[E]=a({},w.isObject(y)?y:{end:y});w.isFunction(y.start)&&(y.start=y.start(A));w.isFunction(y.end)&&(y.end=y.end(A));var B=0<=E.toLowerCase().indexOf("color"),I=function(v,F){var D={height:v.offsetHeight,
width:v.offsetWidth}[F];if(void 0!==D)return D;D=c.get(v,F);return"opacity"==F?+D:B?D:parseFloat(D)};"end"in y?"start"in y||(y.start=I(A,E)):y.end=I(A,E);B?(y.start=new h(y.start),y.end=new h(y.end)):y.start="opacity"==E?+y.start:parseFloat(y.start)}this.curve=new p(z)}),!0);f.after(u,"onAnimate",w.hitch(c,"set",u.node),!0);return u};b.anim=function(u,A,z,E,y,B){return b.animateProperty({node:u,duration:z||k.prototype.duration,properties:A,easing:E,onEnd:y}).play(B||0)};a(t,b);t._Animation=k;return b})},
"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(t,x,w,n,h,f,g,d,c,a,b,e){w.isAsync||d(0,function(){require(["dojo/dnd/AutoSource","dojo/dnd/Target"])});var k=x("dojo.dnd.Source",b,{isSource:!0,horizontal:!1,copyOnly:!1,selfCopy:!1,selfAccept:!0,skipForm:!1,withHandles:!1,autoSync:!1,delay:0,accept:["text"],generateText:!0,constructor:function(r,
q){n.mixin(this,n.mixin({},q));r=this.accept;if(r.length)for(this.accept={},q=0;q<r.length;++q)this.accept[r[q]]=1;this.mouseDown=this.isDragging=!1;this.targetBox=this.targetAnchor=null;this.before=!0;this._lastY=this._lastX=0;this.sourceState="";this.isSource&&h.add(this.node,"dojoDndSource");this.targetState="";this.accept&&h.add(this.node,"dojoDndTarget");this.horizontal&&h.add(this.node,"dojoDndHorizontal");this.topics=[c.subscribe("/dnd/source/over",n.hitch(this,"onDndSourceOver")),c.subscribe("/dnd/start",
n.hitch(this,"onDndStart")),c.subscribe("/dnd/drop",n.hitch(this,"onDndDrop")),c.subscribe("/dnd/cancel",n.hitch(this,"onDndCancel"))]},checkAcceptance:function(r,q){if(this==r)return!this.copyOnly||this.selfAccept;for(var l=0;l<q.length;++l){for(var m=r.getItem(q[l].id).type,p=!1,u=0;u<m.length;++u)if(m[u]in this.accept){p=!0;break}if(!p)return!1}return!0},copyState:function(r,q){if(r)return!0;2>arguments.length&&(q=this==e.manager().target);if(q){if(this.copyOnly)return this.selfCopy}else return this.copyOnly;
return!1},destroy:function(){k.superclass.destroy.call(this);t.forEach(this.topics,function(r){r.remove()});this.targetAnchor=null},onMouseMove:function(r){if(!this.isDragging||"Disabled"!=this.targetState){k.superclass.onMouseMove.call(this,r);var q=e.manager();if(!this.isDragging&&this.mouseDown&&this.isSource&&(Math.abs(r.pageX-this._lastX)>this.delay||Math.abs(r.pageY-this._lastY)>this.delay)){var l=this.getSelectedNodes();l.length&&q.startDrag(this,l,this.copyState(a.getCopyKeyState(r),!0))}this.isDragging&&
(l=!1,this.current&&(this.targetBox&&this.targetAnchor==this.current||(this.targetBox=f.position(this.current,!0)),l=this.horizontal?r.pageX-this.targetBox.x<this.targetBox.w/2==f.isBodyLtr(this.current.ownerDocument):r.pageY-this.targetBox.y<this.targetBox.h/2),this.current!=this.targetAnchor||l!=this.before)&&(this._markTargetAnchor(l),q.canDrop(!this.current||q.source!=this||!(this.current.id in this.selection)))}},onMouseDown:function(r){this.mouseDown||!this._legalMouseDown(r)||this.skipForm&&
a.isFormElement(r)||(this.mouseDown=!0,this._lastX=r.pageX,this._lastY=r.pageY,k.superclass.onMouseDown.call(this,r))},onMouseUp:function(r){this.mouseDown&&(this.mouseDown=!1,k.superclass.onMouseUp.call(this,r))},onDndSourceOver:function(r){this!==r?(this.mouseDown=!1,this.targetAnchor&&this._unmarkTargetAnchor()):this.isDragging&&(r=e.manager(),r.canDrop("Disabled"!=this.targetState&&(!this.current||r.source!=this||!(this.current.id in this.selection))))},onDndStart:function(r,q,l){this.autoSync&&
this.sync();this.isSource&&this._changeState("Source",this==r?l?"Copied":"Moved":"");q=this.accept&&this.checkAcceptance(r,q);this._changeState("Target",q?"":"Disabled");this==r&&e.manager().overSource(this);this.isDragging=!0},onDndDrop:function(r,q,l,m){if(this==m)this.onDrop(r,q,l);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(r,q,l){if(this!=r)this.onDropExternal(r,q,l);else this.onDropInternal(q,l)},onDropExternal:function(r,q,l){var m=this._normalizedCreator;this._normalizedCreator=this.creator?function(p,u){return m.call(this,r.getItem(p.id).data,u)}:l?function(p){var u=r.getItem(p.id);p=p.cloneNode(!0);p.id=a.getUniqueId();return{node:p,data:u.data,type:u.type}}:function(p){var u=r.getItem(p.id);r.delItem(p.id);return{node:p,data:u.data,type:u.type}};this.selectNone();l||this.creator||r.selectNone();
this.insertNodes(!0,q,this.before,this.current);!l&&this.creator&&r.deleteSelectedNodes();this._normalizedCreator=m},onDropInternal:function(r,q){var l=this._normalizedCreator;if(!(this.current&&this.current.id in this.selection)){if(q)this._normalizedCreator=this.creator?function(m,p){return l.call(this,this.getItem(m.id).data,p)}:function(m){var p=this.getItem(m.id);m=m.cloneNode(!0);m.id=a.getUniqueId();return{node:m,data:p.data,type:p.type}};else{if(!this.current)return;this._normalizedCreator=
function(m){var p=this.getItem(m.id);return{node:m,data:p.data,type:p.type}}}this._removeSelection();this.insertNodes(!0,r,this.before,this.current);this._normalizedCreator=l}},onDraggingOver:function(){},onDraggingOut:function(){},onOverEvent:function(){k.superclass.onOverEvent.call(this);e.manager().overSource(this);if(this.isDragging&&"Disabled"!=this.targetState)this.onDraggingOver()},onOutEvent:function(){k.superclass.onOutEvent.call(this);e.manager().outSource(this);if(this.isDragging&&"Disabled"!=
this.targetState)this.onDraggingOut()},_markTargetAnchor:function(r){if(this.current!=this.targetAnchor||this.before!=r)this.targetAnchor&&this._removeItemClass(this.targetAnchor,this.before?"Before":"After"),this.targetAnchor=this.current,this.targetBox=null,this.before=r,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(r){this._changeState("Source",r?"Copied":"Moved")},_legalMouseDown:function(r){if("touchstart"!=r.type&&!g.isLeft(r))return!1;if(!this.withHandles)return!0;for(r=r.target;r&&r!==this.node;r=r.parentNode){if(h.contains(r,"dojoDndHandle"))return!0;if(h.contains(r,"dojoDndItem")||h.contains(r,"dojoDndIgnore"))break}return!1}});return k})},"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(t,x,w,n,h,f,g,d,c,a,b,e){var k=x("dojo.dnd.Selector",e,{constructor:function(r,q){q||(q={});this.singular=q.singular;this.autoSync=q.autoSync;this.selection={};this.anchor=null;this.simpleSelection=!1;this.events.push(c(this.node,a.press,n.hitch(this,"onMouseDown")),c(this.node,a.release,n.hitch(this,"onMouseUp")))},singular:!1,getSelectedNodes:function(){var r=new d,q=b._empty,l;for(l in this.selection)l in q||r.push(h.byId(l));return r},selectNone:function(){return this._removeSelection()._removeAnchor()},
selectAll:function(){this.forInItems(function(r,q){this._addItemClass(h.byId(q),"Selected");this.selection[q]=1},this);return this._removeAnchor()},deleteSelectedNodes:function(){var r=b._empty,q;for(q in this.selection)if(!(q in r)){var l=h.byId(q);this.delItem(q);f.destroy(l)}this.anchor=null;this.selection={};return this},forInSelectedItems:function(r,q){q=q||w.global;var l=this.selection,m=b._empty,p;for(p in l)p in m||r.call(q,this.getItem(p),p,this)},sync:function(){k.superclass.sync.call(this);
this.anchor&&!this.getItem(this.anchor.id)&&(this.anchor=null);var r=[],q=b._empty,l;for(l in this.selection)l in q||this.getItem(l)||r.push(l);t.forEach(r,function(m){delete this.selection[m]},this);return this},insertNodes:function(r,q,l,m){var p=this._normalizedCreator;this._normalizedCreator=function(u,A){u=p.call(this,u,A);r?(this.anchor?this.anchor!=u.node&&(this._removeItemClass(u.node,"Anchor"),this._addItemClass(u.node,"Selected")):(this.anchor=u.node,this._removeItemClass(u.node,"Selected"),
this._addItemClass(this.anchor,"Anchor")),this.selection[u.node.id]=1):(this._removeItemClass(u.node,"Selected"),this._removeItemClass(u.node,"Anchor"));return u};k.superclass.insertNodes.call(this,q,l,m);this._normalizedCreator=p;return this},destroy:function(){k.superclass.destroy.call(this);this.selection=this.anchor=null},onMouseDown:function(r){this.autoSync&&this.sync();if(this.current)if(!this.singular&&!b.getCopyKeyState(r)&&!r.shiftKey&&this.current.id in this.selection)this.simpleSelection=
!0,g.isLeft(r)&&(r.stopPropagation(),r.preventDefault());else{if(!this.singular&&r.shiftKey){b.getCopyKeyState(r)||this._removeSelection();var q=this.getAllNodes();if(q.length&&(this.anchor||(this.anchor=q[0],this._addItemClass(this.anchor,"Anchor")),this.selection[this.anchor.id]=1,this.anchor!=this.current)){for(var l=0,m;l<q.length&&(m=q[l],m!=this.anchor&&m!=this.current);++l);for(++l;l<q.length;++l){m=q[l];if(m==this.anchor||m==this.current)break;this._addItemClass(m,"Selected");this.selection[m.id]=
1}this._addItemClass(this.current,"Selected");this.selection[this.current.id]=1}}else this.singular?this.anchor==this.current?b.getCopyKeyState(r)&&this.selectNone():(this.selectNone(),this.anchor=this.current,this._addItemClass(this.anchor,"Anchor"),this.selection[this.current.id]=1):b.getCopyKeyState(r)?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);r.stopPropagation();r.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=c(this.node,a.move,n.hitch(this,"onMouseMove"))},onOutEvent:function(){this.onmousemoveEvent&&(this.onmousemoveEvent.remove(),delete this.onmousemoveEvent)},_removeSelection:function(){var r=b._empty,q;for(q in this.selection)if(!(q in r)){var l=h.byId(q);l&&this._removeItemClass(l,"Selected")}this.selection=
{};return this},_removeAnchor:function(){this.anchor&&(this._removeItemClass(this.anchor,"Anchor"),this.anchor=null);return this}});return k})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r){x=x("dojo.dnd.Container",c,{skipForm:!1,allowNested:!1,constructor:function(q,l){this.node=f.byId(q);
l||(l={});this.creator=l.creator||null;this.skipForm=l.skipForm;this.parent=l.dropParent&&f.byId(l.dropParent);this.map={};this.current=null;this.containerState="";g.add(this.node,"dojoDndContainer");l&&l._skipStartup||this.startup();this.events=[b(this.node,k.over,n.hitch(this,"onMouseOver")),b(this.node,k.out,n.hitch(this,"onMouseOut")),b(this.node,"dragstart",n.hitch(this,"onSelectStart")),b(this.node,"selectstart",n.hitch(this,"onSelectStart"))]},creator:function(){},getItem:function(q){return this.map[q]},
setItem:function(q,l){this.map[q]=l},delItem:function(q){delete this.map[q]},forInItems:function(q,l){l=l||w.global;var m=this.map,p=r._empty,u;for(u in m)u in p||q.call(l,m[u],u,this);return l},clearItems:function(){this.map={}},getAllNodes:function(){return e((this.allowNested?"":"\x3e ")+".dojoDndItem",this.parent)},sync:function(){var q={};this.getAllNodes().forEach(function(l){if(l.id){var m=this.getItem(l.id);if(m){q[l.id]=m;return}}else l.id=r.getUniqueId();m=l.getAttribute("dndType");var p=
l.getAttribute("dndData");q[l.id]={data:p||l.innerHTML,type:m?m.split(/\s*,\s*/):["text"]}},this);this.map=q;return this},insertNodes:function(q,l,m){this.parent.firstChild?l?m||(m=this.parent.firstChild):m&&(m=m.nextSibling):m=null;if(m)for(l=0;l<q.length;++l){var p=this._normalizedCreator(q[l]);this.setItem(p.node.id,{data:p.data,type:p.type});m.parentNode.insertBefore(p.node,m)}else for(l=0;l<q.length;++l)p=this._normalizedCreator(q[l]),this.setItem(p.node.id,{data:p.data,type:p.type}),this.parent.appendChild(p.node);
return this},destroy:function(){t.forEach(this.events,function(q){q.remove()});this.clearItems();this.node=this.parent=this.current=null},markupFactory:function(q,l,m){q._skipStartup=!0;return new m(l,q)},startup:function(){if(!this.parent&&(this.parent=this.node,"table"==this.parent.tagName.toLowerCase())){var q=this.parent.getElementsByTagName("tbody");q&&q.length&&(this.parent=q[0])}this.defaultCreator=r._defaultCreator(this.parent);this.sync()},onMouseOver:function(q){for(var l=q.relatedTarget;l&&
l!=this.node;)try{l=l.parentNode}catch(m){l=null}l||(this._changeState("Container","Over"),this.onOverEvent());l=this._getChildByEvent(q);this.current!=l&&(this.current&&this._removeItemClass(this.current,"Over"),l&&this._addItemClass(l,"Over"),this.current=l)},onMouseOut:function(q){for(q=q.relatedTarget;q;){if(q==this.node)return;try{q=q.parentNode}catch(l){q=null}}this.current&&(this._removeItemClass(this.current,"Over"),this.current=null);this._changeState("Container","");this.onOutEvent()},onSelectStart:function(q){this.withHandles||
this.skipForm&&r.isFormElement(q)||(q.stopPropagation(),q.preventDefault())},onOverEvent:function(){},onOutEvent:function(){},_changeState:function(q,l){var m="dojoDnd"+q;q=q.toLowerCase()+"State";g.replace(this.node,m+l,m+this[q]);this[q]=l},_addItemClass:function(q,l){g.add(q,"dojoDndItem"+l)},_removeItemClass:function(q,l){g.remove(q,"dojoDndItem"+l)},_getChildByEvent:function(q){if(q=q.target)for(var l=q.parentNode;l;q=l,l=q.parentNode)if((l==this.parent||this.allowNested)&&g.contains(q,"dojoDndItem"))return q;
return null},_normalizedCreator:function(q,l){q=(this.creator||this.defaultCreator).call(this,q,l);n.isArray(q.type)||(q.type=["text"]);q.node.id||(q.node.id=r.getUniqueId());g.add(q.node,"dojoDndItem");return q}});r._createNode=function(q){return q?function(l){return d.create(q,{innerHTML:l})}:r._createSpan};r._createTrTd=function(q){var l=d.create("tr");d.create("td",{innerHTML:q},l);return l};r._createSpan=function(q){return d.create("span",{innerHTML:q})};r._defaultCreatorNodes={ul:"li",ol:"li",
div:"div",p:"div"};r._defaultCreator=function(q){q=q.tagName.toLowerCase();var l="tbody"==q||"thead"==q?r._createTrTd:r._createNode(r._defaultCreatorNodes[q]);return function(m,p){var u=m&&n.isObject(m);if(u&&m.tagName&&m.nodeType&&m.getAttribute){var A=m.getAttribute("dndData")||m.innerHTML;u=(u=m.getAttribute("dndType"))?u.split(/\s*,\s*/):["text"]}else A=u&&m.data?m.data:m,u=u&&m.type?m.type:["text"],m=("avatar"==p?r._createSpan:l)(String(A));m.id||(m.id=r.getUniqueId());return{node:m,data:A,type:u}}};
return x})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r){var q=x("dojo.dnd.Manager",[f],{constructor:function(){this.source=this.avatar=null;this.nodes=[];this.copy=!0;this.target=null;this.canDropFlag=!1;this.events=[]},OFFSET_X:g("touch")?4:16,OFFSET_Y:g("touch")?4:16,overSource:function(l){this.avatar&&
(this.target=l&&"Disabled"!=l.targetState?l:null,this.canDropFlag=!!this.target,this.avatar.update());a.publish("/dnd/source/over",l)},outSource:function(l){this.avatar?this.target==l&&(this.target=null,this.canDropFlag=!1,this.avatar.update(),a.publish("/dnd/source/over",null)):a.publish("/dnd/source/over",null)},startDrag:function(l,m,p){function u(A){A.preventDefault();A.stopPropagation()}k.autoScrollStart(n.doc);this.source=l;this.nodes=m;this.copy=!!p;this.avatar=this.makeAvatar();n.body().appendChild(this.avatar.node);
a.publish("/dnd/start",l,m,this.copy);this.events=[c(n.doc,b.move,w.hitch(this,"onMouseMove")),c(n.doc,b.release,w.hitch(this,"onMouseUp")),c(n.doc,"keydown",w.hitch(this,"onKeyDown")),c(n.doc,"keyup",w.hitch(this,"onKeyUp")),c(n.doc,"dragstart",u),c(n.body(),"selectstart",u)];l="dojoDnd"+(p?"Copy":"Move");h.add(n.body(),l)},canDrop:function(l){l=!(!this.target||!l);this.canDropFlag!=l&&(this.canDropFlag=l,this.avatar.update())},stopDrag:function(){h.remove(n.body(),["dojoDndCopy","dojoDndMove"]);
t.forEach(this.events,function(l){l.remove()});this.events=[];this.avatar.destroy();this.source=this.target=this.avatar=null;this.nodes=[]},makeAvatar:function(){return new r(this)},updateAvatar:function(){this.avatar.update()},onMouseMove:function(l){var m=this.avatar;m&&(k.autoScrollNodes(l),m=m.node.style,m.left=l.pageX+this.OFFSET_X+"px",m.top=l.pageY+this.OFFSET_Y+"px",m=!!this.source.copyState(e.getCopyKeyState(l)),this.copy!=m&&this._setCopyStatus(m));g("touch")&&l.preventDefault()},onMouseUp:function(l){if(this.avatar){if(this.target&&
this.canDropFlag){var m=!!this.source.copyState(e.getCopyKeyState(l));a.publish("/dnd/drop/before",this.source,this.nodes,m,this.target,l);a.publish("/dnd/drop",this.source,this.nodes,m,this.target,l)}else a.publish("/dnd/cancel");this.stopDrag()}},onKeyDown:function(l){if(this.avatar)switch(l.keyCode){case d.CTRL:l=!!this.source.copyState(!0);this.copy!=l&&this._setCopyStatus(l);break;case d.ESCAPE:a.publish("/dnd/cancel"),this.stopDrag()}},onKeyUp:function(l){this.avatar&&l.keyCode==d.CTRL&&(l=
!!this.source.copyState(!1),this.copy!=l&&this._setCopyStatus(l))},_setCopyStatus:function(l){this.copy=l;this.source._markDndStatus(this.copy);this.updateAvatar();h.replace(n.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"))}});e._manager=null;q.manager=e.manager=function(){e._manager||(e._manager=new q);return e._manager};return q})},"dojo/dnd/Avatar":function(){define("../_base/declare ../_base/window ../dom ../dom-attr ../dom-class ../dom-construct ../hccss ../query".split(" "),
function(t,x,w,n,h,f,g,d){return t("dojo.dnd.Avatar",null,{constructor:function(c){this.manager=c;this.construct()},construct:function(){var c=f.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),a=this.manager.source,b=f.create("tbody",null,c),e=f.create("tr",null,b),k=f.create("td",null,e),r=Math.min(5,this.manager.nodes.length),q=0;g("highcontrast")&&f.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"\x3c"},k);f.create("span",{innerHTML:a.generateText?
this._generateText():""},k);for(n.set(e,{"class":"dojoDndAvatarHeader",style:{opacity:.9}});q<r;++q){if(a.creator)var l=a._normalizedCreator(a.getItem(this.manager.nodes[q].id).data,"avatar").node;else l=this.manager.nodes[q].cloneNode(!0),"tr"==l.tagName.toLowerCase()&&(e=f.create("table"),f.create("tbody",null,e).appendChild(l),l=e);l.id="";e=f.create("tr",null,b);k=f.create("td",null,e);k.appendChild(l);n.set(e,{"class":"dojoDndAvatarItem",style:{opacity:(9-q)/10}})}this.node=c},destroy:function(){f.destroy(this.node);
this.node=!1},update:function(){h.toggle(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);if(g("highcontrast")){var c=w.byId("a11yIcon"),a="+";this.manager.canDropFlag&&!this.manager.copy?a="\x3c ":this.manager.canDropFlag||this.manager.copy?this.manager.canDropFlag||(a="x"):a="o";c.innerHTML=a}d("tr.dojoDndAvatarHeader td span"+(g("highcontrast")?" span":""),this.node).forEach(function(b){b.innerHTML=this.manager.source.generateText?this._generateText():""},this)},_generateText:function(){return this.manager.nodes.length.toString()}})})},
"dijit/_TemplatedMixin":function(){define("dojo/cache dojo/_base/declare dojo/dom-construct dojo/_base/lang dojo/on dojo/sniff dojo/string ./_AttachMixin".split(" "),function(t,x,w,n,h,f,g,d){var c=x("dijit._TemplatedMixin",d,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(a){var b=this.declaredClass,e=this;return g.substitute(a,this,function(k,r){"!"==r.charAt(0)&&(k=n.getObject(r.substr(1),!1,e));if("undefined"==typeof k)throw Error(b+" template:"+
r);return null==k?"":"!"==r.charAt(0)?k:this._escapeValue(""+k)},this)},_escapeValue:function(a){return a.replace(/["'<>&]/g,function(b){return{"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;"}[b]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=t(this.templatePath,{sanitize:!0}));var a=c.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(n.isString(a)){var b=w.toDom(this._stringRepl(a),this.ownerDocument);
if(1!=b.nodeType)throw Error("Invalid template: "+a);}else b=a.cloneNode(!0);this.domNode=b}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)}});c._templateCache={};c.getCachedTemplate=function(a,b,e){var k=c._templateCache,r=a,q=k[r];if(q){try{if(!q.ownerDocument||q.ownerDocument==(e||document))return q}catch(l){}w.destroy(q)}a=g.trim(a);if(b||
a.match(/\$\{([^\}]+)\}/g))return k[r]=a;b=w.toDom(a,e);if(1!=b.nodeType)throw Error("Invalid template: "+a);return k[r]=b};f("ie")&&h(window,"unload",function(){var a=c._templateCache,b;for(b in a){var e=a[b];"object"==typeof e&&w.destroy(e);delete a[b]}});return c})},"dojo/cache":function(){define(["./_base/kernel","./text"],function(t){return t.cache})},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(t,x){var w=/[&<>'"\/]/g,n={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",
'"':"\x26quot;","'":"\x26#x27;","/":"\x26#x2F;"},h={};x.setObject("dojo.string",h);h.escape=function(f){return f?f.replace(w,function(g){return n[g]}):""};h.codePointAt=String.prototype.codePointAt?function(f,g){return String.prototype.codePointAt.call(f,g)}:function(f,g){if(null==f)throw new TypeError("codePointAt called on null or undefined");f=String(f);var d=f.length;var c=g?Number(g):0;c!=c&&(c=0);if(!(0>c||c>=d))return g=f.charCodeAt(c),55296<=g&&56319>=g&&d>c+1&&(f=f.charCodeAt(c+1),56320<=
f&&57343>=f)?1024*(g-55296)+f-56320+65536:g};h.fromCodePoint=String.fromCodePoint||function(){var f=[],g=0,d="";var c=0;for(len=arguments.length;c!==len;++c){g=+arguments[c];if(!(1114111>g&&g>>>0===g))throw RangeError("Invalid code point: "+g);65535>=g?g=f.push(g):(g-=65536,g=f.push((g>>10)+55296,g%1024+56320));16383<=g&&(d+=String.fromCharCode.apply(null,f),f.length=0)}return d+String.fromCharCode.apply(null,f)};h.rep=function(f,g){if(0>=g||!f)return"";for(var d=[];;){g&1&&d.push(f);if(!(g>>=1))break;
f+=f}return d.join("")};h.pad=function(f,g,d,c){d||(d="0");f=String(f);g=h.rep(d,Math.ceil((g-f.length)/d.length));return c?f+g:g+f};h.substitute=function(f,g,d,c){c=c||t.global;d=d?x.hitch(c,d):function(a){return a};return f.replace(/\$\{([^\s:\}]*)(?::([^\s:\}]+))?\}/g,function(a,b,e){if(""==b)return"$";a=x.getObject(b,!1,g);e&&(a=x.getObject(e,!1,c).call(c,a,b));e=d(a,b);if("undefined"===typeof e)throw Error('string.substitute could not find key "'+b+'" in template');return e.toString()})};h.trim=
String.prototype.trim?x.trim:function(f){f=f.replace(/^\s+/,"");for(var g=f.length-1;0<=g;g--)if(/\S/.test(f.charAt(g))){f=f.substring(0,g+1);break}return f};return h})},"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(t,x,w,n,h,f,g,d,c){var a=h.delegate(d,{mouseenter:f.enter,mouseleave:f.leave,keypress:w._keypress}),b;w=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(e){for(var k=e;;)if(1==k.nodeType&&(this._processTemplateNode(k,function(r,q){return r.getAttribute(q)},this._attach)||this.searchContainerNode)&&k.firstChild)k=k.firstChild;else{if(k==e)break;for(;!k.nextSibling;)if(k=k.parentNode,k==e)return;k=k.nextSibling}},_processTemplateNode:function(e,
k,r){var q=!0,l=this.attachScope||this,m=k(e,"dojoAttachPoint")||k(e,"data-dojo-attach-point");if(m)for(var p=m.split(/\s*,\s*/);m=p.shift();)h.isArray(l[m])?l[m].push(e):l[m]=e,q="containerNode"!=m,this._attachPoints.push(m);if(k=k(e,"dojoAttachEvent")||k(e,"data-dojo-attach-event"))for(m=k.split(/\s*,\s*/),p=h.trim;k=m.shift();)if(k){var u=null;-1!=k.indexOf(":")?(u=k.split(":"),k=p(u[0]),u=p(u[1])):k=p(k);u||(u=k);this._attachEvents.push(r(e,k,h.hitch(l,u)))}return q},_attach:function(e,k,r){k=
k.replace(/^on/,"").toLowerCase();k="dijitclick"==k?b||(b=t("./a11yclick")):a[k]||k;return g(e,k,r)},_detachTemplateNodes:function(){var e=this.attachScope||this;x.forEach(this._attachPoints,function(k){delete e[k]});this._attachPoints=[];x.forEach(this._attachEvents,function(k){k.remove()});this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments)}});h.extend(c,{dojoAttachEvent:"",dojoAttachPoint:""});return w})},"dojox/grid/_ViewManager":function(){define(["dojo/_base/declare",
"dojo/_base/sniff","dojo/dom-class"],function(t,x,w){return t("dojox.grid._ViewManager",null,{constructor:function(n){this.grid=n},defaultWidth:200,views:[],resize:function(){this.onEach("resize")},render:function(){this.onEach("render")},addView:function(n){n.idx=this.views.length;this.views.push(n)},destroyViews:function(){for(var n=0,h;h=this.views[n];n++)h.destroy();this.views=[]},getContentNodes:function(){for(var n=[],h=0,f;f=this.views[h];h++)n.push(f.contentNode);return n},forEach:function(n){for(var h=
0,f;f=this.views[h];h++)n(f,h)},onEach:function(n,h){h=h||[];for(var f=0,g;g=this.views[f];f++)n in g&&g[n].apply(g,h)},normalizeHeaderNodeHeight:function(){for(var n=[],h=0,f;f=this.views[h];h++)f.headerContentNode.firstChild&&n.push(f.headerContentNode);this.normalizeRowNodeHeights(n)},normalizeRowNodeHeights:function(n){var h=0,f=[];if(this.grid.rowHeight)h=this.grid.rowHeight;else{if(1>=n.length)return;for(var g=0,d;d=n[g];g++)w.contains(d,"dojoxGridNonNormalizedCell")||(f[g]=d.firstChild.offsetHeight,
h=Math.max(h,f[g]));h=0<=h?h:0;(x("mozilla")||8<x("ie"))&&h&&h++}for(g=0;d=n[g];g++)f[g]!=h&&(d.firstChild.style.height=h+"px")},resetHeaderNodeHeight:function(){for(var n=0,h;h=this.views[n];n++)if(h=h.headerContentNode.firstChild)h.style.height=""},renormalizeRow:function(n){for(var h=[],f=0,g,d;(g=this.views[f])&&(d=g.getRowNode(n));f++)d.firstChild.style.height="",h.push(d);this.normalizeRowNodeHeights(h)},getViewWidth:function(n){return this.views[n].getWidth()||this.defaultWidth},measureHeader:function(){this.resetHeaderNodeHeight();
this.forEach(function(h){h.headerContentNode.style.height=""});var n=0;this.forEach(function(h){n=Math.max(h.headerNode.offsetHeight,n)});return n},measureContent:function(){var n=0;this.forEach(function(h){n=Math.max(h.domNode.offsetHeight,n)});return n},findClient:function(n){n=this.grid.elasticView||-1;if(0>n)for(var h=1,f;f=this.views[h];h++)if(f.viewWidth){for(h=1;f=this.views[h];h++)if(!f.viewWidth){n=h;break}break}0>n&&(n=Math.floor(this.views.length/2));return n},arrange:function(n,h){var f,
g,d=this.views.length,c=this,a=0>=h?d:this.findClient(),b=function(r,q){var l=r.domNode.style,m=r.headerNode.style;c.grid.isLeftToRight()?(l.left=q+"px",m.left=q+"px"):(l.right=q+"px",4>x("ff")?m.right=q+r.getScrollbarWidth()+"px":m.right=q+"px",x("webkit")||"auto"==m.width||(m.width=parseInt(m.width,10)-r.getScrollbarWidth()+"px"));l.top="0px";m.top=0};for(f=0;(g=this.views[f])&&f<a;f++){var e=this.getViewWidth(f);g.setSize(e,0);b(g,n);e=g.headerContentNode&&g.headerContentNode.firstChild?g.getColumnsWidth()+
g.getScrollbarWidth():g.domNode.offsetWidth;n+=e}f++;for(var k=d-1;(g=this.views[k])&&f<=k;k--)e=this.getViewWidth(k),g.setSize(e,0),e=g.domNode.offsetWidth,h-=e,b(g,h);a<d&&(g=this.views[a],e=Math.max(1,h-n),g.setSize(e+"px",0),b(g,n));return n},renderRow:function(n,h,f){for(var g=[],d=0,c,a;(c=this.views[d])&&(a=h[d]);d++)c=c.renderRow(n),a.appendChild(c),g.push(c);f||this.normalizeRowNodeHeights(g)},rowRemoved:function(n){this.onEach("rowRemoved",[n])},updateRow:function(n,h){for(var f=0,g;g=this.views[f];f++)g.updateRow(n);
h||this.renormalizeRow(n)},updateRowStyles:function(n){this.onEach("updateRowStyles",[n])},setScrollTop:function(n){for(var h=n,f=0,g;g=this.views[f];f++)h=g.setScrollTop(n),x("ie")&&g.headerNode&&g.scrollboxNode&&(g.headerNode.scrollLeft=g.scrollboxNode.scrollLeft);return h},getFirstScrollingView:function(){for(var n=0,h;h=this.views[n];n++)if(h.hasHScrollbar()||h.hasVScrollbar())return h;return null}})})},"dojox/grid/_RowManager":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/dom-class"],
function(t,x,w){return t("dojox.grid._RowManager",null,{constructor:function(n){this.grid=n},linesToEms:2,overRow:-2,prepareStylingRow:function(n,h){return{index:n,node:h,odd:!!(n&1),selected:!!this.grid.selection.isSelected(n),over:this.isOver(n),customStyles:"",customClasses:"dojoxGridRow"}},styleRowNode:function(n,h){n=this.prepareStylingRow(n,h);this.grid.onStyleRow(n);this.applyStyles(n)},applyStyles:function(n){n.node.className=n.customClasses;var h=n.node.style.height,f=n.node,g=n.customStyles+
";"+(n.node._style||"");void 0==f.style.cssText?f.setAttribute("style",g):f.style.cssText=g;n.node.style.height=h},updateStyles:function(n){this.grid.updateRowStyles(n)},setOverRow:function(n){var h=this.overRow;this.overRow=n;h!=this.overRow&&(x.isString(h)||0<=h)&&this.updateStyles(h);this.updateStyles(this.overRow)},isOver:function(n){return this.overRow==n&&!w.contains(this.grid.domNode,"dojoxGridColumnResizing")}})})},"dojox/grid/_FocusManager":function(){define("dojo/_base/array dojo/_base/lang dojo/_base/declare dojo/_base/connect dojo/_base/event dojo/_base/sniff dojo/query ./util dojo/_base/html".split(" "),
function(t,x,w,n,h,f,g,d,c){return w("dojox.grid._FocusManager",null,{constructor:function(a){this.grid=a;this.cell=null;this.rowIndex=-1;this._connects=[];this._headerConnects=[];this.headerMenu=this.grid.headerMenu;this._connects.push(n.connect(this.grid.domNode,"onfocus",this,"doFocus"));this._connects.push(n.connect(this.grid.domNode,"onblur",this,"doBlur"));this._connects.push(n.connect(this.grid.domNode,"mousedown",this,"_mouseDown"));this._connects.push(n.connect(this.grid.domNode,"mouseup",
this,"_mouseUp"));this._connects.push(n.connect(this.grid.domNode,"oncontextmenu",this,"doContextMenu"));this._connects.push(n.connect(this.grid.lastFocusNode,"onfocus",this,"doLastNodeFocus"));this._connects.push(n.connect(this.grid.lastFocusNode,"onblur",this,"doLastNodeBlur"));this._connects.push(n.connect(this.grid,"_onFetchComplete",this,"_delayedCellFocus"));this._connects.push(n.connect(this.grid,"postrender",this,"_delayedHeaderFocus"))},destroy:function(){t.forEach(this._connects,n.disconnect);
t.forEach(this._headerConnects,n.disconnect);delete this.grid;delete this.cell},_colHeadNode:null,_colHeadFocusIdx:null,_contextMenuBindNode:null,tabbingOut:!1,focusClass:"dojoxGridCellFocus",focusView:null,initFocusView:function(){this.focusView=this.grid.views.getFirstScrollingView()||this.focusView||this.grid.views.views[0];this._initColumnHeaders()},isFocusCell:function(a,b){return this.cell==a&&this.rowIndex==b},isLastFocusCell:function(){return this.cell?this.rowIndex==this.grid.rowCount-1&&
this.cell.index==this.grid.layout.cellCount-1:!1},isFirstFocusCell:function(){return this.cell?0===this.rowIndex&&0===this.cell.index:!1},isNoFocusCell:function(){return 0>this.rowIndex||!this.cell},isNavHeader:function(){return!!this._colHeadNode},getHeaderIndex:function(){return this._colHeadNode?t.indexOf(this._findHeaderCells(),this._colHeadNode):-1},_focusifyCellNode:function(a){var b=this.cell&&this.cell.getNode(this.rowIndex);if(b&&(c.toggleClass(b,this.focusClass,a),a)){a=this.scrollIntoView();
try{if(f("webkit")||!this.grid.edit.isEditing())d.fire(b,"focus"),a&&(this.cell.view.scrollboxNode.scrollLeft=a)}catch(e){}}},_delayedCellFocus:function(){if(!this.isNavHeader()&&this.grid.focused){var a=this.cell&&this.cell.getNode(this.rowIndex);if(a)try{this.grid.edit.isEditing()||(c.toggleClass(a,this.focusClass,!0),this._colHeadNode&&this.blurHeader(),d.fire(a,"focus"))}catch(b){}}},_delayedHeaderFocus:function(){this.isNavHeader()&&this.focusHeader()},_initColumnHeaders:function(){t.forEach(this._headerConnects,
n.disconnect);this._headerConnects=[];for(var a=this._findHeaderCells(),b=0;b<a.length;b++)this._headerConnects.push(n.connect(a[b],"onfocus",this,"doColHeaderFocus")),this._headerConnects.push(n.connect(a[b],"onblur",this,"doColHeaderBlur"))},_findHeaderCells:function(){for(var a=g("th",this.grid.viewsHeaderNode),b=[],e=0;e<a.length;e++){var k=a[e],r=c.hasAttr(k,"tabIndex"),q=c.attr(k,"tabIndex");r&&0>q&&b.push(k)}return b},_setActiveColHeader:function(a,b,e){this.grid.domNode.setAttribute("aria-activedescendant",
a.id);null!=e&&0<=e&&e!=b&&c.toggleClass(this._findHeaderCells()[e],this.focusClass,!1);c.toggleClass(a,this.focusClass,!0);this._colHeadNode=a;this._colHeadFocusIdx=b;this._scrollHeader(this._colHeadFocusIdx)},scrollIntoView:function(){var a=this.cell?this._scrollInfo(this.cell):null;if(!a||!a.s)return null;var b=this.grid.scroller.findScrollTop(this.rowIndex);a.n&&a.sr&&(a.n.offsetLeft+a.n.offsetWidth>a.sr.l+a.sr.w?a.s.scrollLeft=a.n.offsetLeft+a.n.offsetWidth-a.sr.w:a.n.offsetLeft<a.sr.l&&(a.s.scrollLeft=
a.n.offsetLeft));a.r&&a.sr&&(b+a.r.offsetHeight>a.sr.t+a.sr.h?this.grid.setScrollTop(b+a.r.offsetHeight-a.sr.h):b<a.sr.t&&this.grid.setScrollTop(b));return a.s.scrollLeft},_scrollInfo:function(a,b){if(a){var e=a.view.scrollboxNode,k={w:e.clientWidth,l:e.scrollLeft,t:e.scrollTop,h:e.clientHeight},r=a.view.getRowNode(this.rowIndex);return{c:a,s:e,sr:k,n:b?b:a.getNode(this.rowIndex),r:r}}return null},_scrollHeader:function(a){var b=null;if(this._colHeadNode){var e=this.grid.getCell(a);if(!e)return;b=
this._scrollInfo(e,e.getNode(0))}b&&b.s&&b.sr&&b.n&&(b.n.offsetLeft+b.n.offsetWidth>b.sr.l+b.sr.w?b.s.scrollLeft=b.n.offsetLeft+b.n.offsetWidth-b.sr.w:b.n.offsetLeft<b.sr.l?b.s.scrollLeft=b.n.offsetLeft:7>=f("ie")&&e&&e.view.headerNode&&(e.view.headerNode.scrollLeft=b.s.scrollLeft))},_isHeaderHidden:function(){var a=this.focusView;if(!a)for(var b=0,e;e=this.grid.views.views[b];b++)if(e.headerNode){a=e;break}return a&&"none"==c.getComputedStyle(a.headerNode).display},colSizeAdjust:function(a,b,e){var k=
this._findHeaderCells(),r=this.focusView;if(!r||!r.header.tableMap.map)for(var q=0,l;l=this.grid.views.views[q];q++)if(l.header.tableMap.map){r=l;break}q=k[b];!r||b==k.length-1&&0===b||(r.content.baseDecorateEvent(a),a.cellNode=q,a.cellIndex=r.content.getCellNodeIndex(a.cellNode),a.cell=0<=a.cellIndex?this.grid.getCell(a.cellIndex):null,r.header.canResize(a)&&(b={l:e},a=r.header.colResizeSetup(a,!1),r.header.doResizeColumn(a,null,b),r.update()))},styleRow:function(a){},setFocusIndex:function(a,b){this.setFocusCell(this.grid.getCell(b),
a)},setFocusCell:function(a,b){a&&!this.isFocusCell(a,b)&&(this.tabbingOut=!1,this._colHeadNode&&this.blurHeader(),this._colHeadNode=this._colHeadFocusIdx=null,this.focusGridView(),this._focusifyCellNode(!1),this.cell=a,this.rowIndex=b,this._focusifyCellNode(!0));if(f("opera"))setTimeout(x.hitch(this.grid,"onCellFocus",this.cell,this.rowIndex),1);else this.grid.onCellFocus(this.cell,this.rowIndex)},next:function(){if(this.cell){var a=this.rowIndex,b=this.cell.index+1,e=this.grid.layout.cellCount-
1,k=this.grid.rowCount-1;b>e&&(b=0,a++);a>k&&(b=e,a=k);if(this.grid.edit.isEditing()&&(e=this.grid.getCell(b),!this.isLastFocusCell()&&(!e.editable||this.grid.canEdit&&!this.grid.canEdit(e,a)))){this.cell=e;this.rowIndex=a;this.next();return}this.setFocusIndex(a,b)}},previous:function(){if(this.cell){var a=this.rowIndex||0,b=(this.cell.index||0)-1;0>b&&(b=this.grid.layout.cellCount-1,a--);0>a&&(b=a=0);if(this.grid.edit.isEditing()){var e=this.grid.getCell(b);if(!this.isFirstFocusCell()&&!e.editable){this.cell=
e;this.rowIndex=a;this.previous();return}}this.setFocusIndex(a,b)}},move:function(a,b){var e=0>b?-1:1;if(this.isNavHeader()){a=this._findHeaderCells();var k=currentIdx=t.indexOf(a,this._colHeadNode);for(currentIdx+=b;0<=currentIdx&&currentIdx<a.length&&"none"==a[currentIdx].style.display;)currentIdx+=e;0<=currentIdx&&currentIdx<a.length&&this._setActiveColHeader(a[currentIdx],currentIdx,k)}else if(this.cell){var r=this.grid.scroller;k=this.rowIndex;var q=this.grid.rowCount-1,l=Math.min(q,Math.max(0,
k+a));a&&(0<a?l>r.getLastPageRow(r.page)&&this.grid.setScrollTop(this.grid.scrollTop+r.findScrollTop(l)-r.findScrollTop(k)):0>a&&l<=r.getPageRow(r.page)&&this.grid.setScrollTop(this.grid.scrollTop-r.findScrollTop(k)-r.findScrollTop(l)));r=this.grid.layout.cellCount-1;for(var m=this.cell.index,p=Math.min(r,Math.max(0,m+b)),u=this.grid.getCell(p);0<=p&&p<r&&u&&!0===u.hidden;)p+=e,u=this.grid.getCell(p);u&&!0!==u.hidden||(p=m);e=u.getNode(l);!e&&a?0<=l+a&&l+a<=q&&this.move(0<a?++a:--a,b):e&&"none"!==
c.style(e,"display")||!b?(this.setFocusIndex(l,p),a&&this.grid.updateRow(k)):0<=p+b&&p+b<=r&&this.move(a,0<b?++b:--b)}},previousKey:function(a){this.grid.edit.isEditing()?(h.stop(a),this.previous()):this.isNavHeader()||this._isHeaderHidden()?(this.tabOut(this.grid.domNode),null!=this._colHeadFocusIdx&&(c.toggleClass(this._findHeaderCells()[this._colHeadFocusIdx],this.focusClass,!1),this._colHeadFocusIdx=null),this._focusifyCellNode(!1)):(this.grid.domNode.focus(),h.stop(a))},nextKey:function(a){a.target===
this.grid.domNode&&null==this._colHeadFocusIdx?(this.focusHeader(),h.stop(a)):this.isNavHeader()?(this.blurHeader(),this.findAndFocusGridCell()||this.tabOut(this.grid.lastFocusNode),this._colHeadNode=this._colHeadFocusIdx=null):this.grid.edit.isEditing()?(h.stop(a),this.next()):this.tabOut(this.grid.lastFocusNode)},tabOut:function(a){this.tabbingOut=!0;a.focus()},focusGridView:function(){d.fire(this.focusView,"focus")},focusGrid:function(a){this.focusGridView();this._focusifyCellNode(!0)},findAndFocusGridCell:function(){var a=
!0,b=0===this.grid.rowCount;this.isNoFocusCell()&&!b?(b=0,this.grid.getCell(b).hidden&&(b=this.isNavHeader()?this._colHeadFocusIdx:0),this.setFocusIndex(0,b)):this.cell&&!b?(this.focusView&&!this.focusView.rowNodes[this.rowIndex]&&this.grid.scrollToRow(this.rowIndex),this.focusGrid()):a=!1;this._colHeadNode=this._colHeadFocusIdx=null;return a},focusHeader:function(){var a=this._findHeaderCells(),b=this._colHeadFocusIdx;this._isHeaderHidden()?this.findAndFocusGridCell():this._colHeadFocusIdx||(this.isNoFocusCell()?
this._colHeadFocusIdx=0:this._colHeadFocusIdx=this.cell.index);for(this._colHeadNode=a[this._colHeadFocusIdx];this._colHeadNode&&0<=this._colHeadFocusIdx&&this._colHeadFocusIdx<a.length&&"none"==this._colHeadNode.style.display;)this._colHeadFocusIdx++,this._colHeadNode=a[this._colHeadFocusIdx];this._colHeadNode&&"none"!=this._colHeadNode.style.display?(this.headerMenu&&this._contextMenuBindNode!=this.grid.domNode&&(this.headerMenu.unBindDomNode(this.grid.viewsHeaderNode),this.headerMenu.bindDomNode(this.grid.domNode),
this._contextMenuBindNode=this.grid.domNode),this._setActiveColHeader(this._colHeadNode,this._colHeadFocusIdx,b),this._scrollHeader(this._colHeadFocusIdx),this._focusifyCellNode(!1)):this.findAndFocusGridCell()},blurHeader:function(){c.removeClass(this._colHeadNode,this.focusClass);c.removeAttr(this.grid.domNode,"aria-activedescendant");if(this.headerMenu&&this._contextMenuBindNode==this.grid.domNode){var a=this.grid.viewsHeaderNode;this.headerMenu.unBindDomNode(this.grid.domNode);this.headerMenu.bindDomNode(a);
this._contextMenuBindNode=a}},doFocus:function(a){a&&a.target!=a.currentTarget?h.stop(a):this._clickFocus||(this.tabbingOut||this.focusHeader(),this.tabbingOut=!1,h.stop(a))},doBlur:function(a){h.stop(a)},doContextMenu:function(a){this.headerMenu||h.stop(a)},doLastNodeFocus:function(a){this.tabbingOut?this._focusifyCellNode(!1):0<this.grid.rowCount?(this.isNoFocusCell()&&this.setFocusIndex(0,0),this._focusifyCellNode(!0)):this.focusHeader();this.tabbingOut=!1;h.stop(a)},doLastNodeBlur:function(a){h.stop(a)},
doColHeaderFocus:function(a){this._setActiveColHeader(a.target,c.attr(a.target,"idx"),this._colHeadFocusIdx);this._scrollHeader(this.getHeaderIndex());h.stop(a)},doColHeaderBlur:function(a){c.toggleClass(a.target,this.focusClass,!1)},_mouseDown:function(a){this._clickFocus=dojo.some(this.grid.views.views,function(b){return b.scrollboxNode===a.target})},_mouseUp:function(a){this._clickFocus=!1}})})},"dojox/grid/_EditManager":function(){define("dojo/_base/lang dojo/_base/array dojo/_base/declare dojo/_base/connect dojo/_base/sniff ./util".split(" "),
function(t,x,w,n,h,f){return w("dojox.grid._EditManager",null,{constructor:function(g){this.grid=g;this.connections=h("ie")?[n.connect(document.body,"onfocus",t.hitch(this,"_boomerangFocus"))]:[];this.connections.push(n.connect(this.grid,"onBlur",this,"apply"));this.connections.push(n.connect(this.grid,"prerender",this,"_onPreRender"))},info:{},destroy:function(){x.forEach(this.connections,n.disconnect)},cellFocus:function(g,d){this.grid.singleClickEdit||this.isEditRow(d)?this.setEditCell(g,d):this.apply();
(this.isEditing()||g&&g.editable&&g.alwaysEditing)&&this._focusEditor(g,d)},rowClick:function(g){this.isEditing()&&!this.isEditRow(g.rowIndex)&&this.apply()},styleRow:function(g){g.index==this.info.rowIndex&&(g.customClasses+=" dojoxGridRowEditing")},dispatchEvent:function(g){var d=g.cell;return(d=d&&d.editable?d:0)&&d.dispatchEvent(g.dispatch,g)},isEditing:function(){return void 0!==this.info.rowIndex},isEditCell:function(g,d){return this.info.rowIndex===g&&this.info.cell.index==d},isEditRow:function(g){return this.info.rowIndex===
g},setEditCell:function(g,d){!this.isEditCell(d,g.index)&&this.grid.canEdit&&this.grid.canEdit(g,d)&&this.start(g,d,this.isEditRow(d)||g.editable)},_focusEditor:function(g,d){f.fire(g,"focus",[d])},focusEditor:function(){this.isEditing()&&this._focusEditor(this.info.cell,this.info.rowIndex)},_boomerangWindow:500,_shouldCatchBoomerang:function(){return this._catchBoomerang>(new Date).getTime()},_boomerangFocus:function(){this._shouldCatchBoomerang()&&(this.grid.focus.focusGrid(),this.focusEditor(),
this._catchBoomerang=0)},_doCatchBoomerang:function(){h("ie")&&(this._catchBoomerang=(new Date).getTime()+this._boomerangWindow)},start:function(g,d,c){this._isValidInput()&&(this.grid.beginUpdate(),this.editorApply(),this.isEditing()&&!this.isEditRow(d)&&(this.applyRowEdit(),this.grid.updateRow(d)),c?(this.info={cell:g,rowIndex:d},this.grid.doStartEdit(g,d),this.grid.updateRow(d)):this.info={},this.grid.endUpdate(),this.grid.focus.focusGrid(),this._focusEditor(g,d),this._doCatchBoomerang())},_editorDo:function(g){var d=
this.info.cell;if(d&&d.editable)d[g](this.info.rowIndex)},editorApply:function(){this._editorDo("apply")},editorCancel:function(){this._editorDo("cancel")},applyCellEdit:function(g,d,c){this.grid.canEdit(d,c)&&this.grid.doApplyCellEdit(g,c,d.field)},applyRowEdit:function(){this.grid.doApplyEdit(this.info.rowIndex,this.info.cell.field)},apply:function(){this.isEditing()&&this._isValidInput()&&(this.grid.beginUpdate(),this.editorApply(),this.applyRowEdit(),this.info={},this.grid.endUpdate(),this.grid.focus.focusGrid(),
this._doCatchBoomerang())},cancel:function(){this.isEditing()&&(this.grid.beginUpdate(),this.editorCancel(),this.info={},this.grid.endUpdate(),this.grid.focus.focusGrid(),this._doCatchBoomerang())},save:function(g,d){var c=this.info.cell;!this.isEditRow(g)||d&&c.view!=d||!c.editable||c.save(c,this.info.rowIndex)},restore:function(g,d){var c=this.info.cell;this.isEditRow(d)&&c.view==g&&c.editable&&c.restore(this.info.rowIndex)},_isValidInput:function(){var g=(this.info.cell||{}).widget;if(!g||!g.isValid)return!0;
g.focused=!0;return g.isValid(!0)},_onPreRender:function(){this.isEditing()&&(this.info.value=this.info.cell.getValue())}})})},"dojox/grid/Selection":function(){define(["dojo/_base/declare","dojo/_base/array","dojo/_base/lang","dojo/dom-attr"],function(t,x,w,n){return t("dojox.grid.Selection",null,{constructor:function(h){this.grid=h;this.selected=[];this.setMode(h.selectionMode)},mode:"extended",selected:null,updating:0,selectedIndex:-1,rangeStartIndex:-1,setMode:function(h){this.selected.length&&
this.deselectAll();this.mode="extended"!=h&&"multiple"!=h&&"single"!=h&&"none"!=h?"extended":h},onCanSelect:function(h){return this.grid.onCanSelect(h)},onCanDeselect:function(h){return this.grid.onCanDeselect(h)},onSelected:function(h){},onDeselected:function(h){},onChanging:function(){},onChanged:function(){},isSelected:function(h){return"none"==this.mode?!1:this.selected[h]},getFirstSelected:function(){if(!this.selected.length||"none"==this.mode)return-1;for(var h=0,f=this.selected.length;h<f;h++)if(this.selected[h])return h;
return-1},getNextSelected:function(h){if("none"==this.mode)return-1;h+=1;for(var f=this.selected.length;h<f;h++)if(this.selected[h])return h;return-1},getSelected:function(){for(var h=[],f=0,g=this.selected.length;f<g;f++)this.selected[f]&&h.push(f);return h},getSelectedCount:function(){for(var h=0,f=0;f<this.selected.length;f++)this.selected[f]&&h++;return h},_beginUpdate:function(){if(0===this.updating)this.onChanging();this.updating++},_endUpdate:function(){this.updating--;if(0===this.updating)this.onChanged()},
select:function(h){"none"!=this.mode&&("multiple"!=this.mode?(this.deselectAll(h),this.addToSelection(h)):this.toggleSelect(h))},addToSelection:function(h){if("none"!=this.mode)if(w.isArray(h))x.forEach(h,this.addToSelection,this);else if(h=Number(h),this.selected[h])this.selectedIndex=h;else if(!1!==this.onCanSelect(h)){this.selectedIndex=h;var f=this.grid.getRowNode(h);f&&n.set(f,"aria-selected","true");this._beginUpdate();this.selected[h]=!0;this.onSelected(h);this._endUpdate()}},deselect:function(h){if("none"!=
this.mode)if(w.isArray(h))x.forEach(h,this.deselect,this);else if(h=Number(h),this.selectedIndex==h&&(this.selectedIndex=-1),this.selected[h]&&!1!==this.onCanDeselect(h)){var f=this.grid.getRowNode(h);f&&n.set(f,"aria-selected","false");this._beginUpdate();delete this.selected[h];this.onDeselected(h);this._endUpdate()}},setSelected:function(h,f){this[f?"addToSelection":"deselect"](h)},toggleSelect:function(h){w.isArray(h)?x.forEach(h,this.toggleSelect,this):this.setSelected(h,!this.selected[h])},
_range:function(h,f,g){var d=0<=h?h:f;h=f;d>h&&(h=d,d=f);for(f=d;f<=h;f++)g(f)},selectRange:function(h,f){this._range(h,f,w.hitch(this,"addToSelection"))},deselectRange:function(h,f){this._range(h,f,w.hitch(this,"deselect"))},insert:function(h){this.selected.splice(h,0,!1);this.selectedIndex>=h&&this.selectedIndex++},remove:function(h){this.selected.splice(h,1);this.selectedIndex>=h&&this.selectedIndex--},deselectAll:function(h){for(var f in this.selected)f!=h&&!0===this.selected[f]&&this.deselect(f)},
clickSelect:function(h,f,g){if("none"!=this.mode){this._beginUpdate();if("extended"!=this.mode)this.select(h);else{if(!g||0>this.rangeStartIndex)this.rangeStartIndex=h;f||this.deselectAll(h);g?this.selectRange(this.rangeStartIndex,h):f?this.toggleSelect(h):this.addToSelection(h)}this._endUpdate()}},clickSelectEvent:function(h){this.clickSelect(h.rowIndex,dojo.isCopyKey(h),h.shiftKey)},clear:function(){this._beginUpdate();this.deselectAll();this._endUpdate()}})})},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare",
"dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(t,x,w,n){return t("dijit.CheckedMenuItem",w,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:n,checked:!1,_setCheckedAttr:function(h){this.domNode.setAttribute("aria-checked",h?"true":"false");this._set("checked",h)},iconClass:"",role:"menuitemcheckbox",checkedChar:"\x26#10003;",onChange:function(){},_onClick:function(h){this.disabled||(this.set("checked",!this.checked),this.onChange(this.checked));
this.onClick(h)}})})},"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(t,x,w,n,h,f,g,d,c,a,b,e){g=t("dijit.MenuItem"+(f("dojo-bidi")?"_NoBidi":""),[d,c,a,b],{templateString:e,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(k){this._set("label",k);var r="";var q=k.search(/{\S}/);if(0<=q){r=
k.charAt(q+1);var l=k.substr(0,q);k=k.substr(q+3);q=l+r+k;k=l+'\x3cspan class\x3d"dijitMenuItemShortcutKey"\x3e'+r+"\x3c/span\x3e"+k}else q=k;this.domNode.setAttribute("aria-label",q+" "+this.accelKey);this.containerNode.innerHTML=k;this._set("shortcutKey",r)},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:!1,_fillContent:function(k){!k||"label"in this.params||this._set("label",k.innerHTML)},buildRendering:function(){this.inherited(arguments);w.set(this.containerNode,
"id",this.id+"_text");this.accelKeyNode&&w.set(this.accelKeyNode,"id",this.id+"_accel");x.setSelectable(this.domNode,!1)},onClick:function(){},focus:function(){try{8==f("ie")&&this.containerNode.focus(),this.focusNode.focus()}catch(k){}},_setSelected:function(k){n.toggle(this.domNode,"dijitMenuItemSelected",k)},setLabel:function(k){h.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",k)},setDisabled:function(k){h.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.",
"","2.0");this.set("disabled",k)},_setDisabledAttr:function(k){this.focusNode.setAttribute("aria-disabled",k?"true":"false");this._set("disabled",k)},_setAccelKeyAttr:function(k){this.accelKeyNode&&(this.accelKeyNode.style.display=k?"":"none",this.accelKeyNode.innerHTML=k,w.set(this.containerNode,"colSpan",k?"1":"2"));this._set("accelKey",k)}});f("dojo-bidi")&&(g=t("dijit.MenuItem",g,{_setLabelAttr:function(k){this.inherited(arguments);"auto"===this.textDir&&this.applyTextDir(this.textDirNode)}}));
return g})},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(t,x){return t("dijit._Contained",null,{_getSibling:function(w){var n=this.getParent();return n&&n._getSiblingOfChild&&n._getSiblingOfChild(this,"previous"==w?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var w=this.getParent();return w&&w.getIndexOfChild?w.getIndexOfChild(this):-1}})})},
"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(t,x,w,n,h,f,g,d,c,a,b,e){x=x("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments);t.forEach("disabled readOnly checked selected focused state hovering active _opened".split(" "),function(r){this.watch(r,f.hitch(this,"_setStateClass"))},
this);for(var k in this.cssStateNodes||{})this._trackMouseState(this[k],this.cssStateNodes[k]);this._trackMouseState(this.domNode,this.baseClass);this._setStateClass()},_cssMouseEvent:function(k){if(!this.disabled)switch(k.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 k(u){r=r.concat(t.map(r,function(A){return A+u}),"dijit"+u)}var r=this.baseClass.split(" ");this.isLeftToRight()||k("Rtl");var q="mixed"==this.checked?"Mixed":this.checked?"Checked":"";this.checked&&k(q);this.state&&k(this.state);this.selected&&k("Selected");this._opened&&k("Opened");this.disabled?k("Disabled"):this.readOnly?k("ReadOnly"):this.active?
k("Active"):this.hovering&&k("Hover");this.focused&&k("Focused");q=this.stateNode||this.domNode;var l={};t.forEach(q.className.split(" "),function(u){l[u]=!0});"_stateClasses"in this&&t.forEach(this._stateClasses,function(u){delete l[u]});t.forEach(r,function(u){l[u]=!0});var m=[],p;for(p in l)m.push(p);q.className=m.join(" ");this._stateClasses=r},_subnodeCssMouseEvent:function(k,r,q){function l(m){n.toggle(k,r+"Active",m)}if(!this.disabled&&!this.readOnly)switch(q.type){case "mouseover":case "MSPointerOver":case "pointerover":n.toggle(k,
r+"Hover",!0);break;case "mouseout":case "MSPointerOut":case "pointerout":n.toggle(k,r+"Hover",!1);l(!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":l(!0);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":l(!1);break;case "focus":case "focusin":n.toggle(k,r+"Focused",!0);break;case "blur":case "focusout":n.toggle(k,r+"Focused",!1)}},_trackMouseState:function(k,r){k._cssState=r}});d(function(){function k(l,
m,p){if(!p||!w.isDescendant(p,m))for(;m&&m!=p;m=m.parentNode)if(m._cssState){var u=e.getEnclosingWidget(m);u&&(m==u.domNode?u._cssMouseEvent(l):u._subnodeCssMouseEvent(m,m._cssState,l))}}var r=a.body(),q;g(r,c.over,function(l){k(l,l.target,l.relatedTarget)});g(r,c.out,function(l){k(l,l.target,l.relatedTarget)});g(r,b.press,function(l){q=l.target;k(l,q)});g(r,b.release,function(l){k(l,q);q=null});g(r,"focusin, focusout",function(l){var m=l.target;if(m._cssState&&!m.getAttribute("widgetId")){var p=
e.getEnclosingWidget(m);p&&p._subnodeCssMouseEvent(m,m._cssState,l)}})});return x})},"dojox/grid/cells/dijit":function(){define("dojo/_base/kernel ../../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/_base/json dojo/_base/connect dojo/_base/sniff dojo/dom dojo/dom-attr dojo/dom-construct dojo/dom-style dojo/dom-geometry dojo/data/ItemFileReadStore dijit/form/DateTextBox dijit/form/TimeTextBox dijit/form/ComboBox dijit/form/CheckBox dijit/form/TextBox dijit/form/NumberSpinner dijit/form/NumberTextBox dijit/form/CurrencyTextBox dijit/form/HorizontalSlider dijit/form/_TextBoxMixin dijit/Editor ../util ./_base".split(" "),
function(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m,p,u,A,z,E,y,B,I,v,F){x={};var D=x._Widget=w("dojox.grid.cells._Widget",F,{widgetClass:u,constructor:function(G){this.widget=null;"string"==typeof this.widgetClass&&(t.deprecated("Passing a string to widgetClass is deprecated","pass the widget class object instead","2.0"),this.widgetClass=h.getObject(this.widgetClass))},formatEditing:function(G,J){this.needFormatNode(G,J);return"\x3cdiv\x3e\x3c/div\x3e"},getValue:function(G){return this.widget.get("value")},
_unescapeHTML:function(G){return G&&G.replace&&this.grid.escapeHTMLInData?G.replace(/&lt;/g,"\x3c").replace(/&amp;/g,"\x26"):G},setValue:function(G,J){if(this.widget&&this.widget.set)if(J=this._unescapeHTML(J),this.widget.onLoadDeferred){var C=this;this.widget.onLoadDeferred.addCallback(function(){C.widget.set("value",null===J?"":J)})}else this.widget.set("value",J);else this.inherited(arguments)},getWidgetProps:function(G){return h.mixin({dir:this.dir,lang:this.lang},this.widgetProps||{},{constraints:h.mixin({},
this.constraint)||{},required:(this.constraint||{}).required,value:this._unescapeHTML(G)})},createWidget:function(G,J,C){return new this.widgetClass(this.getWidgetProps(J),G)},attachWidget:function(G,J,C){G.appendChild(this.widget.domNode);this.setValue(C,J)},formatNode:function(G,J,C){if(!this.widgetClass)return J;this.widget?this.attachWidget.apply(this,arguments):this.widget=this.createWidget.apply(this,arguments);this.sizeWidget.apply(this,arguments);this.grid.views.renormalizeRow(C);this.grid.scroller.rowHeightChanged(C,
!0);this.focus()},sizeWidget:function(G,J,C){G=this.getNode(C);t.marginBox(this.widget.domNode,{w:e.get(G,"width")})},focus:function(G,J){this.widget&&setTimeout(h.hitch(this.widget,function(){v.fire(this,"focus");this.focusNode&&"INPUT"===this.focusNode.tagName&&B.selectInputText(this.focusNode)}),0)},_finish:function(G){this.inherited(arguments);v.removeNode(this.widget.domNode);d("ie")&&c.setSelectable(this.widget.domNode,!0)}});D.markupFactory=function(G,J){F.markupFactory(G,J);var C=h.trim(a.get(G,
"widgetProps")||""),H=h.trim(a.get(G,"constraint")||"");G=h.trim(a.get(G,"widgetClass")||"");C&&(J.widgetProps=f.fromJson(C));H&&(J.constraint=f.fromJson(H));G&&(J.widgetClass=h.getObject(G))};m=x.ComboBox=w("dojox.grid.cells.ComboBox",D,{widgetClass:m,getWidgetProps:function(G){var J=[];n.forEach(this.options,function(H){J.push({name:H,value:H})});var C=new r({data:{identifier:"name",items:J}});return h.mixin({},this.widgetProps||{},{value:G,store:C})},getValue:function(){var G=this.widget;G.set("displayedValue",
G.get("displayedValue"));return G.get("value")}});m.markupFactory=function(G,J){D.markupFactory(G,J);if(G=h.trim(a.get(G,"options")||"")){var C=G.split(",");C[0]!=G&&(J.options=C)}};q=x.DateTextBox=w("dojox.grid.cells.DateTextBox",D,{widgetClass:q,setValue:function(G,J){this.widget?this.widget.set("value",new Date(J)):this.inherited(arguments)},getWidgetProps:function(G){return h.mixin(this.inherited(arguments),{value:new Date(G)})}});q.markupFactory=function(G,J){D.markupFactory(G,J)};p=x.CheckBox=
w("dojox.grid.cells.CheckBox",D,{widgetClass:p,getValue:function(){return this.widget.checked},setValue:function(G,J){this.widget&&this.widget.attributeMap.checked?this.widget.set("checked",J):this.inherited(arguments)},sizeWidget:function(G,J,C){}});p.markupFactory=function(G,J){D.markupFactory(G,J)};I=x.Editor=w("dojox.grid.cells.Editor",D,{widgetClass:I,getWidgetProps:function(G){return h.mixin({},this.widgetProps||{},{height:this.widgetHeight||"100px"})},createWidget:function(G,J,C){G=new this.widgetClass(this.getWidgetProps(J),
G);G.onLoadDeferred.then(h.hitch(this,"populateEditor"));return G},formatNode:function(G,J,C){this.content=J;this.inherited(arguments);if(d("mozilla")){var H=this.widget;H.open();this.widgetToolbar&&b.place(H.toolbar.domNode,H.editingArea,"before")}},populateEditor:function(){this.widget.set("value",this.content);this.widget.placeCursorAtEnd()}});I.markupFactory=function(G,J){D.markupFactory(G,J);if(G=h.trim(a.get(G,"widgetHeight")||""))"auto"!=G&&"em"!=G.substr(-2)&&(G=parseInt(G,10)+"px"),J.widgetHeight=
G};return x})},"dojo/data/ItemFileReadStore":function(){define("../_base/kernel ../_base/lang ../_base/declare ../_base/array ../_base/xhr ../Evented ./util/filter ./util/simpleFetch ../date/stamp".split(" "),function(t,x,w,n,h,f,g,d,c){w=w("dojo.data.ItemFileReadStore",[f],{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(b){return c.fromISOString(b)}});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,e){a=this.getValues(a,b);return 0<a.length?a[0]:e},getValues:function(a,b){this._assertIsItem(a);this._assertIsAttribute(b);
return(a[b]||[]).slice(0)},getAttributes:function(a){this._assertIsItem(a);var b=[],e;for(e in a)e!==this._storeRefPropName&&e!==this._itemNumPropName&&e!==this._rootItemPropName&&e!==this._reverseRefMap&&b.push(e);return b},hasAttribute:function(a,b){this._assertIsItem(a);this._assertIsAttribute(b);return b in a},containsValue:function(a,b,e){var k=void 0;"string"===typeof e&&(k=g.patternToRegExp(e,!1));return this._containsValue(a,b,e,k)},_containsValue:function(a,b,e,k){return n.some(this.getValues(a,
b),function(r){if(null!==r&&!x.isObject(r)&&k){if(r.toString().match(k))return!0}else if(e===r)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,e){var k=[];if(a.query){var r=a.queryOptions?a.queryOptions.ignoreCase:!1;var q={};for(u in a.query){var l=a.query[u];"string"===typeof l?q[u]=g.patternToRegExp(l,r):l instanceof RegExp&&(q[u]=l)}for(r=0;r<b.length;++r){var m=!0,p=b[r];if(null===p)m=!1;else for(u in a.query)l=a.query[u],this._containsValue(p,u,l,q[u])||(m=!1);m&&k.push(p)}}else for(r=0;r<b.length;++r){var u=b[r];null!==u&&k.push(u)}e(k,a)},_fetchItems:function(a,b,e){var k=this;if(this._loadFinished)this.filter(a,
this._getItemsArray(a.queryOptions),b);else if(this._jsonFileUrl!==this._ccUrl?(t.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:x.hitch(k,"filter"),
findCallback:x.hitch(k,b)});else{this._loadInProgress=!0;var r=h.get({url:k._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk});r.addCallback(function(l){try{k._getItemsFromLoadedData(l),k._loadFinished=!0,k._loadInProgress=!1,k.filter(a,k._getItemsArray(a.queryOptions),b),k._handleQueuedFetches()}catch(m){k._loadFinished=!0,k._loadInProgress=!1,e(m,a)}});r.addErrback(function(l){k._loadInProgress=!1;e(l,a)});var q=null;a.abort&&(q=a.abort);a.abort=
function(){var l=r;l&&-1===l.fired&&(l.cancel(),l=null);q&&q.call(a)}}else if(this._jsonData)try{this._loadFinished=!0,this._getItemsFromLoadedData(this._jsonData),this._jsonData=null,k.filter(a,this._getItemsArray(a.queryOptions),b)}catch(l){e(l,a)}else e(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],
e=b.args,k=b.filter;b=b.findCallback;k?k(e,this._getItemsArray(e.queryOptions),b):this.fetchItemByIdentity(e)}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(B){return null!==
B&&"object"===typeof B&&(!x.isArray(B)||k)&&!x.isFunction(B)&&(B.constructor==Object||x.isArray(B))&&"undefined"===typeof B._reference&&"undefined"===typeof B._type&&"undefined"===typeof B._value&&r.hierarchical}function e(B){r._arrayOfAllItems.push(B);for(var I in B){var v=B[I];if(v)if(x.isArray(v))for(var F=0;F<v.length;++F){var D=v[F];b(D)&&e(D)}else b(v)&&e(v)}}var k=!1,r=this;this._labelAttr=a.label;var q;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=a.items;for(q=0;q<this._arrayOfTopLevelItems.length;++q){var l=
this._arrayOfTopLevelItems[q];x.isArray(l)&&(k=!0);e(l);l[this._rootItemPropName]=!0}var m={},p;for(q=0;q<this._arrayOfAllItems.length;++q)for(p in l=this._arrayOfAllItems[q],l){if(p!==this._rootItemPropName){var u=l[p];null!==u?x.isArray(u)||(l[p]=[u]):l[p]=[null]}m[p]=p}for(;m[this._storeRefPropName];)this._storeRefPropName+="_";for(;m[this._itemNumPropName];)this._itemNumPropName+="_";for(;m[this._reverseRefMap];)this._reverseRefMap+="_";if(m=a.identifier)for(this._itemsByIdentity={},this._features["dojo.data.api.Identity"]=
m,q=0;q<this._arrayOfAllItems.length;++q)if(l=this._arrayOfAllItems[q],a=l[m],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: ["+m+"].  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: ["+m+"].  Value collided: ["+
a+"]");}else this._itemsByIdentity[a]=l;else this._features["dojo.data.api.Identity"]=Number;for(q=0;q<this._arrayOfAllItems.length;++q)l=this._arrayOfAllItems[q],l[this._storeRefPropName]=this,l[this._itemNumPropName]=q;for(q=0;q<this._arrayOfAllItems.length;++q)for(p in l=this._arrayOfAllItems[q],l)for(a=l[p],m=0;m<a.length;++m)if(u=a[m],null!==u&&"object"==typeof u){if("_type"in u&&"_value"in u){var A=u._type,z=this._datatypeMap[A];if(z)if(x.isFunction(z))a[m]=new z(u._value);else if(x.isFunction(z.deserialize))a[m]=
z.deserialize(u._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 '"+A+"'");}if(u._reference){u=u._reference;if(x.isObject(u))for(A=0;A<this._arrayOfAllItems.length;++A){z=this._arrayOfAllItems[A];var E=!0,y;for(y in u)z[y]!=u[y]&&(E=!1);E&&(a[m]=z)}else a[m]=this._getItemByIdentity(u);
this.referenceIntegrity&&(u=a[m],this.isItem(u)&&this._addReferenceToMap(u,l,p))}else this.isItem(u)&&this.referenceIntegrity&&this._addReferenceToMap(u,l,p)}},_addReferenceToMap:function(a,b,e){},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){if(this._loadFinished){var b=this._getItemByIdentity(a.identity);if(a.onItem){var e=a.scope?a.scope:t.global;a.onItem.call(e,b)}}else{var k=
this;this._jsonFileUrl!==this._ccUrl?(t.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,e=h.get({url:k._jsonFileUrl,
handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk}),e.addCallback(function(r){var q=a.scope?a.scope:t.global;try{k._getItemsFromLoadedData(r),k._loadFinished=!0,k._loadInProgress=!1,b=k._getItemByIdentity(a.identity),a.onItem&&a.onItem.call(q,b),k._handleQueuedFetches()}catch(l){k._loadInProgress=!1,a.onError&&a.onError.call(q,l)}}),e.addErrback(function(r){k._loadInProgress=!1;a.onError&&a.onError.call(a.scope?a.scope:t.global,r)})):this._jsonData&&(k._getItemsFromLoadedData(k._jsonData),
k._jsonData=null,k._loadFinished=!0,b=k._getItemByIdentity(a.identity),a.onItem&&(e=a.scope?a.scope:t.global,a.onItem.call(e,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?(t.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=h.get({url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,
sync:!0});b.addCallback(function(e){try{if(!0!==a._loadInProgress&&!a._loadFinished)a._getItemsFromLoadedData(e),a._loadFinished=!0;else if(a._loadInProgress)throw Error(this.declaredClass+":  Unable to perform a synchronous load, an async load is in progress.");}catch(k){throw k;}});b.addErrback(function(e){throw e;})}else this._jsonData&&(a._getItemsFromLoadedData(a._jsonData),a._jsonData=null,a._loadFinished=!0)}});x.extend(w,d);return w})},"dojo/data/util/filter":function(){define(["../../_base/lang"],
function(t){var x={};t.setObject("dojo.data.util.filter",x);x.patternToRegExp=function(w,n){for(var h="^",f=null,g=0;g<w.length;g++)switch(f=w.charAt(g),f){case "\\":h+=f;g++;h+=w.charAt(g);break;case "*":h+=".*";break;case "?":h+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":h+="\\";default:h+=f}h+="$";return n?new RegExp(h,"mi"):new RegExp(h,"m")};return x})},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang",
"../../_base/kernel","./sorter"],function(t,x,w){var n={};t.setObject("dojo.data.util.simpleFetch",n);n.errorHandler=function(h,f){f.onError&&f.onError.call(f.scope||x.global,h,f)};n.fetchHandler=function(h,f){var g=f.abort||null,d=!1,c=f.start?f.start:0,a=f.count&&Infinity!==f.count?c+f.count:h.length;f.abort=function(){d=!0;g&&g.call(f)};var b=f.scope||x.global;f.store||(f.store=this);f.onBegin&&f.onBegin.call(b,h.length,f);f.sort&&h.sort(w.createSortFunction(f.sort,this));if(f.onItem)for(var e=
c;e<h.length&&e<a;++e){var k=h[e];d||f.onItem.call(b,k,f)}f.onComplete&&!d&&(e=null,f.onItem||(e=h.slice(c,a)),f.onComplete.call(b,e,f))};n.fetch=function(h){h=h||{};h.store||(h.store=this);this._fetchItems(h,t.hitch(this,"fetchHandler"),t.hitch(this,"errorHandler"));return h};return n})},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(t){var x={};t.setObject("dojo.data.util.sorter",x);x.basicComparator=function(w,n){var h=-1;null===w&&(w=void 0);null===n&&(n=void 0);if(w==
n)h=0;else if(w>n||null==w)h=1;return h};x.createSortFunction=function(w,n){function h(k,r,q,l){return function(m,p){m=l.getValue(m,k);p=l.getValue(p,k);return r*q(m,p)}}for(var f=[],g,d=n.comparatorMap,c=x.basicComparator,a=0;a<w.length;a++){g=w[a];var b=g.attribute;if(b){g=g.descending?-1:1;var e=c;d&&("string"!==typeof b&&"toString"in b&&(b=b.toString()),e=d[b]||c);f.push(h(b,g,e,n))}}return function(k,r){for(var q=0;q<f.length;){var l=f[q++](k,r);if(0!==l)return l}return 0}};return x})},"dojo/date/stamp":function(){define(["../_base/lang",
"../_base/array"],function(t,x){var w={};t.setObject("dojo.date.stamp",w);w.fromISOString=function(n,h){w._isoRegExp||(w._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var f=w._isoRegExp.exec(n);n=null;if(f){f.shift();f[1]&&f[1]--;f[6]&&(f[6]*=1E3);h&&(h=new Date(h),x.forEach(x.map("FullYear Month Date Hours Minutes Seconds Milliseconds".split(" "),function(c){return h["get"+c]()}),function(c,a){f[a]=f[a]||c}));n=new Date(f[0]||
1970,f[1]||0,f[2]||1,f[3]||0,f[4]||0,f[5]||0,f[6]||0);100>f[0]&&n.setFullYear(f[0]||1970);var g=0,d=f[7]&&f[7].charAt(0);"Z"!=d&&(g=60*(f[8]||0)+(Number(f[9])||0),"-"!=d&&(g*=-1));d&&(g-=n.getTimezoneOffset());g&&n.setTime(n.getTime()+6E4*g)}return n};w.toISOString=function(n,h){var f=function(a){return 10>a?"0"+a:a};h=h||{};var g=[],d=h.zulu?"getUTC":"get",c="";"time"!=h.selector&&(c=n[d+"FullYear"](),c=["0000".substr((c+"").length)+c,f(n[d+"Month"]()+1),f(n[d+"Date"]())].join("-"));g.push(c);"date"!=
h.selector&&(c=[f(n[d+"Hours"]()),f(n[d+"Minutes"]()),f(n[d+"Seconds"]())].join(":"),d=n[d+"Milliseconds"](),h.milliseconds&&(c+="."+(100>d?"0":"")+f(d)),h.zulu?c+="Z":"time"!=h.selector&&(n=n.getTimezoneOffset(),h=Math.abs(n),c+=(0<n?"-":"+")+f(Math.floor(h/60))+":"+f(h%60)),g.push(c));return g.join("T")};return w})},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(t,x,w){return t("dijit.form.DateTextBox",w,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",
popupClass:x,_selector:"date",maxHeight:Infinity,value:new Date("")})})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m){var p=n("dijit.Calendar",[k,r,q],{baseClass:"dijitCalendar",cssStateNodes:{decrementMonth:"dijitCalendarArrow",
incrementMonth:"dijitCalendarArrow",previousYearLabelNode:"dijitCalendarPreviousYear",nextYearLabelNode:"dijitCalendarNextYear"},setValue:function(u){d.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",u)},_createMonthWidget:function(){return new p._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(b(this.domNode,"keydown",a.hitch(this,"_onKeyDown")),b(this.dateRowsNode,"mouseover",a.hitch(this,"_onDayMouseOver")),b(this.dateRowsNode,"mouseout",a.hitch(this,"_onDayMouseOut")),b(this.dateRowsNode,"mousedown",a.hitch(this,"_onDayMouseDown")),b(this.dateRowsNode,"mouseup",a.hitch(this,"_onDayMouseUp")))},_onMonthSelect:function(u){var A=new this.dateClassObj(this.currentFocus);A.setDate(1);A.setMonth(u);u=this.dateModule.getDaysInMonth(A);var z=this.currentFocus.getDate();A.setDate(Math.min(z,
u));this._setCurrentFocusAttr(A)},_onDayMouseOver:function(u){(u=f.contains(u.target,"dijitCalendarDateLabel")?u.target.parentNode:u.target)&&(u.dijitDateValue&&!f.contains(u,"dijitCalendarDisabledDate")||u==this.previousYearLabelNode||u==this.nextYearLabelNode)&&(f.add(u,"dijitCalendarHoveredDate"),this._currentNode=u)},_onDayMouseOut:function(u){!this._currentNode||u.relatedTarget&&u.relatedTarget.parentNode==this._currentNode||(u="dijitCalendarHoveredDate",f.contains(this._currentNode,"dijitCalendarActiveDate")&&
(u+=" dijitCalendarActiveDate"),f.remove(this._currentNode,u),this._currentNode=null)},_onDayMouseDown:function(u){(u=u.target.parentNode)&&u.dijitDateValue&&!f.contains(u,"dijitCalendarDisabledDate")&&(f.add(u,"dijitCalendarActiveDate"),this._currentNode=u)},_onDayMouseUp:function(u){(u=u.target.parentNode)&&u.dijitDateValue&&f.remove(u,"dijitCalendarActiveDate")},handleKey:function(u){var A=-1,z=this.currentFocus;switch(u.keyCode){case c.RIGHT_ARROW:A=1;case c.LEFT_ARROW:var E="day";this.isLeftToRight()||
(A*=-1);break;case c.DOWN_ARROW:A=1;case c.UP_ARROW:E="week";break;case c.PAGE_DOWN:A=1;case c.PAGE_UP:E=u.ctrlKey||u.altKey?"year":"month";break;case c.END:z=this.dateModule.add(z,"month",1),E="day";case c.HOME:z=new this.dateClassObj(z);z.setDate(1);break;default:return!0}E&&(z=this.dateModule.add(z,E,A));this._setCurrentFocusAttr(z);return!1},_onKeyDown:function(u){this.handleKey(u)||(u.stopPropagation(),u.preventDefault())},onValueSelected:function(){},onChange:function(u){this.onValueSelected(u)},
getClassForDate:function(){}});p._MonthDropDownButton=n("dijit.Calendar._MonthDropDownButton",m,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new p._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect})},_setMonthAttr:function(u){var A=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,u);this.dropDown.set("months",A);this.containerNode.innerHTML=(6==e("ie")?"":"\x3cdiv class\x3d'dijitSpacer'\x3e"+this.dropDown.domNode.innerHTML+
"\x3c/div\x3e")+"\x3cdiv class\x3d'dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'\x3e"+A[u.getMonth()]+"\x3c/div\x3e"}});p._MonthDropDown=n("dijit.Calendar._MonthDropDown",[r,l,q],{months:[],baseClass:"dijitCalendarMonthMenu dijitMenu",templateString:"\x3cdiv data-dojo-attach-event\x3d'ondijitclick:_onClick'\x3e\x3c/div\x3e",_setMonthsAttr:function(u){this.domNode.innerHTML="";t.forEach(u,function(A,z){g.create("div",{className:"dijitCalendarMonthLabel",month:z,innerHTML:A},this.domNode)._cssState=
"dijitCalendarMonthLabel"},this)},_onClick:function(u){this.onChange(h.get(u.target,"month"))},onChange:function(){}});return p})},"dojo/date":function(){define(["./has","./_base/lang"],function(t,x){var w={getDaysInMonth:function(n){var h=n.getMonth();return 1==h&&w.isLeapYear(n)?29:[31,28,31,30,31,30,31,31,30,31,30,31][h]},isLeapYear:function(n){n=n.getFullYear();return!(n%400)||!(n%4)&&!!(n%100)},getTimezoneName:function(n){var h=n.toString(),f="",g=h.indexOf("(");if(-1<g)f=h.substring(++g,h.indexOf(")"));
else if(g=/([A-Z\/]+) \d{4}$/,h=h.match(g))f=h[1];else if(h=n.toLocaleString(),g=/ ([A-Z\/]+)$/,h=h.match(g))f=h[1];return"AM"==f||"PM"==f?"":f},compare:function(n,h,f){n=new Date(+n);h=new Date(+(h||new Date));"date"==f?(n.setHours(0,0,0,0),h.setHours(0,0,0,0)):"time"==f&&(n.setFullYear(0,0,0),h.setFullYear(0,0,0));return n>h?1:n<h?-1:0},add:function(n,h,f){var g=new Date(+n),d=!1,c="Date";switch(h){case "day":break;case "weekday":if(h=f%5)var a=parseInt(f/5);else h=0<f?5:-5,a=0<f?(f-5)/5:(f+5)/
5;var b=n.getDay(),e=0;6==b&&0<f?e=1:0==b&&0>f&&(e=-1);b+=h;if(0==b||6==b)e=0<f?2:-2;f=7*a+h+e;break;case "year":c="FullYear";d=!0;break;case "week":f*=7;break;case "quarter":f*=3;case "month":d=!0;c="Month";break;default:c="UTC"+h.charAt(0).toUpperCase()+h.substring(1)+"s"}if(c)g["set"+c](g["get"+c]()+f);d&&g.getDate()<n.getDate()&&g.setDate(0);return g},difference:function(n,h,f){h=h||new Date;f=f||"day";var g=h.getFullYear()-n.getFullYear(),d=1;switch(f){case "quarter":n=n.getMonth();h=h.getMonth();
d=Math.floor(h/3)+1+4*g-(Math.floor(n/3)+1);break;case "weekday":g=Math.round(w.difference(n,h,"day"));f=parseInt(w.difference(n,h,"week"));if(0==g%7)g=5*f;else{d=0;var c=n.getDay(),a=h.getDay();f=parseInt(g/7);h=g%7;n=new Date(n);n.setDate(n.getDate()+7*f);n=n.getDay();if(0<g)switch(!0){case 6==c:d=-1;break;case 0==c:d=0;break;case 6==a:d=-1;break;case 0==a:d=-2;break;case 5<n+h:d=-2}else if(0>g)switch(!0){case 6==c:d=0;break;case 0==c:d=1;break;case 6==a:d=2;break;case 0==a:d=1;break;case 0>n+h:d=
2}g=g+d-2*f}d=g;break;case "year":d=g;break;case "month":d=h.getMonth()-n.getMonth()+12*g;break;case "week":d=parseInt(w.difference(n,h,"day")/7);break;case "day":d/=24;case "hour":d/=60;case "minute":d/=60;case "second":d/=1E3;case "millisecond":d*=h.getTime()-n.getTime()}return Math.round(d)}};x.mixin(x.getObject("dojo.date",!0),w);return w})},"dojo/date/locale":function(){define("../_base/lang ../_base/array ../date ../cldr/supplemental ../i18n ../regexp ../string ../i18n!../cldr/nls/gregorian module".split(" "),
function(t,x,w,n,h,f,g,d,c){function a(m,p,u,A){return A.replace(/([a-z])\1*/ig,function(z){var E=z.charAt(0);z=z.length;var y=["abbr","wide","narrow"];switch(E){case "G":var B=p[4>z?"eraAbbr":"eraNames"][0>m.getFullYear()?0:1];break;case "y":B=m.getFullYear();switch(z){case 1:break;case 2:if(!u.fullYear){B=String(B);B=B.substr(B.length-2);break}default:var I=!0}break;case "Q":case "q":B=Math.ceil((m.getMonth()+1)/3);I=!0;break;case "M":case "L":B=m.getMonth();3>z?(B+=1,I=!0):(E=["months","L"==E?
"standAlone":"format",y[z-3]].join("-"),B=p[E][B]);break;case "w":B=k._getWeekOfYear(m,0);I=!0;break;case "d":B=m.getDate();I=!0;break;case "D":B=k._getDayOfYear(m);I=!0;break;case "e":case "c":if(B=m.getDay(),2>z){B=(B-n.getFirstDayOfWeek(u.locale)+8)%7;break}case "E":B=m.getDay();3>z?(B+=1,I=!0):(E=["days","c"==E?"standAlone":"format",y[z-3]].join("-"),B=p[E][B]);break;case "a":E=12>m.getHours()?"am":"pm";B=u[E]||p["dayPeriods-format-wide-"+E];break;case "h":case "H":case "K":case "k":I=m.getHours();
switch(E){case "h":B=I%12||12;break;case "H":B=I;break;case "K":B=I%12;break;case "k":B=I||24}I=!0;break;case "m":B=m.getMinutes();I=!0;break;case "s":B=m.getSeconds();I=!0;break;case "S":B=Math.round(m.getMilliseconds()*Math.pow(10,z-3));I=!0;break;case "v":case "z":if(B=k._getZone(m,!0,u))break;z=4;case "Z":E=k._getZone(m,!1,u);E=[0>=E?"+":"-",g.pad(Math.floor(Math.abs(E)/60),2),g.pad(Math.abs(E)%60,2)];4==z&&(E.splice(0,0,"GMT"),E.splice(3,0,":"));B=E.join("");break;default:throw Error("dojo.date.locale.format: invalid pattern char: "+
A);}I&&(B=g.pad(B,z));return B})}function b(m,p,u,A){var z=function(B){return B};p=p||z;u=u||z;A=A||z;var E=m.match(/(''|[^'])+/g),y="'"==m.charAt(0);x.forEach(E,function(B,I){B?(E[I]=(y?u:p)(B.replace(/''/g,"'")),y=!y):E[I]=""});return A(E.join(""))}function e(m,p,u,A){A=f.escapeString(A);u.strict||(A=A.replace(" a"," ?a"));return A.replace(/([a-z])\1*/ig,function(z){var E=z.charAt(0);var y=z.length,B="",I="";u.strict?(1<y&&(B="0{"+(y-1)+"}"),2<y&&(I="0{"+(y-2)+"}")):(B="0?",I="0{0,2}");switch(E){case "y":E=
"\\d{2,4}";break;case "M":case "L":2<y?(E=p["months-"+("L"==E?"standAlone":"format")+"-"+r[y-3]].slice(0).join("|"),u.strict||(E=E.replace(/\./g,""),E="(?:"+E+")\\.?")):E="1[0-2]|"+B+"[1-9]";break;case "D":E="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+B+"[1-9][0-9]|"+I+"[1-9]";break;case "d":E="3[01]|[12]\\d|"+B+"[1-9]";break;case "w":E="[1-4][0-9]|5[0-3]|"+B+"[1-9]";break;case "E":case "e":case "c":E=".+?";break;case "h":E="1[0-2]|"+B+"[1-9]";break;case "k":E="1[01]|"+B+"\\d";break;case "H":E="1\\d|2[0-3]|"+
B+"\\d";break;case "K":E="1\\d|2[0-4]|"+B+"[1-9]";break;case "m":case "s":E="[0-5]\\d";break;case "S":E="\\d{"+y+"}";break;case "a":y=u.am||p["dayPeriods-format-wide-am"];B=u.pm||p["dayPeriods-format-wide-pm"];E=y+"|"+B;u.strict||(y!=y.toLowerCase()&&(E+="|"+y.toLowerCase()),B!=B.toLowerCase()&&(E+="|"+B.toLowerCase()),-1!=E.indexOf(".")&&(E+="|"+E.replace(/\./g,"")));E=E.replace(/\./g,"\\.");break;default:E=".*"}m&&m.push(z);return"("+E+")"}).replace(/[\xa0 ]/g,"[\\s\\xa0]")}var k={};t.setObject(c.id.replace(/\//g,
"."),k);k._getZone=function(m,p,u){return p?w.getTimezoneName(m):m.getTimezoneOffset()};k.format=function(m,p){p=p||{};var u=h.normalizeLocale(p.locale),A=p.formatLength||"short";u=k._getGregorianBundle(u);var z=[];m=t.hitch(this,a,m,u,p);if("year"==p.selector)return b(u["dateFormatItem-yyyy"]||"yyyy",m);var E;"date"!=p.selector&&(E=p.timePattern||u["timeFormat-"+A])&&z.push(b(E,m));"time"!=p.selector&&(E=p.datePattern||u["dateFormat-"+A])&&z.push(b(E,m));return 1==z.length?z[0]:u["dateTimeFormat-"+
A].replace(/'/g,"").replace(/\{(\d+)\}/g,function(y,B){return z[B]})};k.regexp=function(m){return k._parseInfo(m).regexp};k._parseInfo=function(m){m=m||{};var p=h.normalizeLocale(m.locale);p=k._getGregorianBundle(p);var u=m.formatLength||"short",A=m.datePattern||p["dateFormat-"+u],z=m.timePattern||p["timeFormat-"+u];u="date"==m.selector?A:"time"==m.selector?z:p["dateTimeFormat-"+u].replace(/\{(\d+)\}/g,function(y,B){return[z,A][B]});var E=[];return{regexp:b(u,t.hitch(this,e,E,p,m)),tokens:E,bundle:p}};
k.parse=function(m,p){var u=/[\u200E\u200F\u202A\u202E]/g,A=k._parseInfo(p),z=A.tokens,E=A.bundle;m=(new RegExp("^"+A.regexp.replace(u,"")+"$",A.strict?"":"i")).exec(m&&m.replace(u,""));if(!m)return null;var y=["abbr","wide","narrow"],B=[1970,0,1,0,0,0,0],I="";m=x.every(m,function(F,D){if(!D)return!0;var G=z[D-1];D=G.length;G=G.charAt(0);switch(G){case "y":if(2!=D&&p.strict)B[0]=F;else if(100>F)F=Number(F),G=""+(new Date).getFullYear(),D=100*G.substring(0,2),G=Math.min(Number(G.substring(2,4))+20,
99),B[0]=F<G?D+F:D-100+F;else{if(p.strict)return!1;B[0]=F}break;case "M":case "L":if(2<D){if(D=E["months-"+("L"==G?"standAlone":"format")+"-"+y[D-3]].concat(),p.strict||(F=F.replace(".","").toLowerCase(),D=x.map(D,function(C){return C.replace(".","").toLowerCase()})),F=x.indexOf(D,F),-1==F)return!1}else F--;B[1]=F;break;case "E":case "e":case "c":D=E["days-"+("c"==G?"standAlone":"format")+"-"+y[D-3]].concat();p.strict||(F=F.toLowerCase(),D=x.map(D,function(C){return C.toLowerCase()}));F=x.indexOf(D,
F);if(-1==F)return!1;break;case "D":B[1]=0;case "d":B[2]=F;break;case "a":D=p.am||E["dayPeriods-format-wide-am"];G=p.pm||E["dayPeriods-format-wide-pm"];if(!p.strict){var J=/\./g;F=F.replace(J,"").toLowerCase();D=D.replace(J,"").toLowerCase();G=G.replace(J,"").toLowerCase()}if(p.strict&&F!=D&&F!=G)return!1;I=F==G?"p":F==D?"a":"";break;case "K":24==F&&(F=0);case "h":case "H":case "k":if(23<F)return!1;B[3]=F;break;case "m":B[4]=F;break;case "s":B[5]=F;break;case "S":B[6]=F}return!0});u=+B[3];"p"===I&&
12>u?B[3]=u+12:"a"===I&&12==u&&(B[3]=0);u=new Date(B[0],B[1],B[2],B[3],B[4],B[5],B[6]);p.strict&&u.setFullYear(B[0]);var v=z.join("");A=-1!=v.indexOf("d");v=-1!=v.indexOf("M");if(!m||v&&u.getMonth()>B[1]||A&&u.getDate()>B[2])return null;if(v&&u.getMonth()<B[1]||A&&u.getDate()<B[2])u=w.add(u,"hour",1);return u};var r=["abbr","wide","narrow"],q=[],l={};k.addCustomFormats=function(m,p){q.push({pkg:m,name:p});l={}};k._getGregorianBundle=function(m){if(l[m])return l[m];var p={};x.forEach(q,function(u){u=
h.getLocalization(u.pkg,u.name,m);p=t.mixin(p,u)},this);return l[m]=p};k.addCustomFormats(c.id.replace(/\/date\/locale$/,".cldr"),"gregorian");k.getNames=function(m,p,u,A){A=k._getGregorianBundle(A);m=[m,u,p];if("standAlone"==u){u=m.join("-");var z=A[u];1==z[0]&&(z=void 0)}m[1]="format";return(z||A[m.join("-")]).concat()};k.isWeekend=function(m,p){p=n.getWeekend(p);m=(m||new Date).getDay();p.end<p.start&&(p.end+=7,m<p.start&&(m+=7));return m>=p.start&&m<=p.end};k._getDayOfYear=function(m){return w.difference(new Date(m.getFullYear(),
0,1,m.getHours()),m)+1};k._getWeekOfYear=function(m,p){1==arguments.length&&(p=0);var u=(new Date(m.getFullYear(),0,1)).getDay(),A=(u-p+7)%7;A=Math.floor((k._getDayOfYear(m)+A-1)/7);u==p&&A++;return A};return k})},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(t,x){var w={};t.setObject("dojo.cldr.supplemental",w);w.getFirstDayOfWeek=function(n){n={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}[w._region(n)];return void 0===n?1:n};w._region=function(n){n=x.normalizeLocale(n);n=n.split("-");var h=n[1];h?4==h.length&&(h=n[2]):h={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"}[n[0]];return h};w.getWeekend=
function(n){var h=w._region(n);n={"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}[h];h={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}[h];void 0===n&&(n=6);void 0===h&&(h=0);return{start:n,end:h}};return w})},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(t,x){var w={};x.setObject("dojo.regexp",w);w.escapeString=function(n,h){return n.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,
function(f){return h&&-1!=h.indexOf(f)?f:"\\"+f})};w.buildGroupRE=function(n,h,f){if(!(n instanceof Array))return h(n);for(var g=[],d=0;d<n.length;d++)g.push(h(n[d]));return w.group(g.join("|"),f)};w.group=function(n,h){return"("+(h?"?:":"")+n+")"};return w})},"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/dom-attr dojo/_base/lang dojo/on dojo/sniff dojo/string ./_WidgetBase ./_TemplatedMixin dojo/text!./templates/Calendar.html ./a11yclick ./hccss".split(" "),
function(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l){var m=x("dijit.CalendarLite",[r,q],{templateString:l,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(p){return p&&!isNaN(p)&&"object"==typeof p&&p.toString()!=this.constructor.prototype.value.toString()},_getValueAttr:function(){var p=this._get("value");if(p&&!isNaN(p)){var u=
new this.dateClassObj(p);u.setHours(0,0,0,0);u.getDate()<p.getDate()&&(u=this.dateModule.add(u,"hour",1));return u}return null},_setValueAttr:function(p,u){"string"==typeof p&&(p=f.fromISOString(p));p=this._patchDate(p);if(this._isValidDate(p)&&!this.isDisabledDate(p,this.lang)){if(this._set("value",p),this.set("currentFocus",p),this._markSelectedDates([p]),this._created&&(u||"undefined"==typeof u))this.onChange(this.get("value"))}else this._set("value",null),this._markSelectedDates([])},_patchDate:function(p){if(p||
0===p)p=new this.dateClassObj(p),p.setHours(1,0,0,0);return p},_setText:function(p,u){for(;p.firstChild;)p.removeChild(p.firstChild);p.appendChild(p.ownerDocument.createTextNode(u))},_populateGrid:function(){var p=new this.dateClassObj(this.currentFocus);p.setDate(1);p=this._patchDate(p);var u=p.getDay(),A=this.dateModule.getDaysInMonth(p),z=this.dateModule.getDaysInMonth(this.dateModule.add(p,"month",-1)),E=new this.dateClassObj,y=0<=this.dayOffset?this.dayOffset:w.getFirstDayOfWeek(this.lang);y>
u&&(y-=7);if(!this.summary){var B=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,p);this.gridNode.setAttribute("summary",B[p.getMonth()])}this._date2cell={};t.forEach(this.dateCells,function(I,v){var F=v+y,D=new this.dateClassObj(p),G="dijitCalendar",J=0;F<u?(F=z-u+F+1,J=-1,G+="Previous"):F>=u+A?(F=F-u-A+1,J=1,G+="Next"):(F=F-u+1,G+="Current");J&&(D=this.dateModule.add(D,"month",J));D.setDate(F);this.dateModule.compare(D,E,"date")||(G="dijitCalendarCurrentDate "+G);this.isDisabledDate(D,
this.lang)?(G="dijitCalendarDisabledDate "+G,I.setAttribute("aria-disabled","true")):(G="dijitCalendarEnabledDate "+G,I.removeAttribute("aria-disabled"),I.setAttribute("aria-selected","false"));(J=this.getClassForDate(D,this.lang))&&(G=J+" "+G);I.className=G+"Month dijitCalendarDateTemplate";G=D.valueOf();this._date2cell[G]=I;I.dijitDateValue=G;G=D.getDateLocalized?D.getDateLocalized(this.lang):D.getDate();this._setText(this.dateLabels[v],G);c.set(I,"aria-label",h.format(D,{selector:"date",formatLength:"long"}))},
this)},_populateControls:function(){var p=new this.dateClassObj(this.currentFocus);p.setDate(1);this.monthWidget.set("month",p);var u=p.getFullYear()-1,A=new this.dateClassObj;t.forEach(["previous","current","next"],function(z){A.setFullYear(u++);this._setText(this[z+"YearLabelNode"],this.dateLocaleModule.format(A,{selector:"year",locale:this.lang}))},this)},goToToday:function(){this.set("value",new this.dateClassObj)},constructor:function(p){this.dateModule=p.datePackage?a.getObject(p.datePackage,
!1):n;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=p.datePackage?a.getObject(p.datePackage+".locale",!1):h},_createMonthWidget:function(){return m._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode)},buildRendering:function(){var p=this.dowTemplateString,u=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),A=0<=this.dayOffset?this.dayOffset:w.getFirstDayOfWeek(this.lang);this.dayCellsHtml=k.substitute([p,
p,p,p,p,p,p].join(""),{d:""},function(){return u[A++%7]});p=k.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[p,p,p,p,p,p].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);g.setSelectable(this.domNode,!1);p=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",p,!1)},postCreate:function(){this.inherited(arguments);this._connectControls()},_connectControls:function(){var p=a.hitch(this,function(u,
A,z){this[u].dojoClick=!0;return b(this[u],"click",a.hitch(this,function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,A,z))}))});this.own(p("incrementMonth","month",1),p("decrementMonth","month",-1),p("nextYearLabelNode","year",1),p("previousYearLabelNode","year",-1))},_setCurrentFocusAttr:function(p,u){var A=this.currentFocus,z=this._getNodeByDate(A);p=this._patchDate(p);this._set("currentFocus",p);this._date2cell&&0==this.dateModule.difference(A,p,"month")||(this._populateGrid(),
this._populateControls(),this._markSelectedDates([this.value]));p=this._getNodeByDate(p);p.setAttribute("tabIndex",this.tabIndex);(this.focused||u)&&p.focus();z&&z!=p&&(e("webkit")?z.setAttribute("tabIndex","-1"):z.removeAttribute("tabIndex"))},focus:function(){this._setCurrentFocusAttr(this.currentFocus,!0)},_onDayClick:function(p){p.stopPropagation();p.preventDefault();for(p=p.target;p&&!p.dijitDateValue&&0!==p.dijitDateValue;p=p.parentNode);p&&!d.contains(p,"dijitCalendarDisabledDate")&&this.set("value",
p.dijitDateValue)},_getNodeByDate:function(p){return(p=this._patchDate(p))&&this._date2cell?this._date2cell[p.valueOf()]:null},_markSelectedDates:function(p){function u(A,z){d.toggle(z,"dijitCalendarSelectedDate",A);z.setAttribute("aria-selected",A?"true":"false")}t.forEach(this._selectedCells||[],a.partial(u,!1));this._selectedCells=t.filter(t.map(p,this._getNodeByDate,this),function(A){return A});t.forEach(this._selectedCells,a.partial(u,!0))},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});
m._MonthWidget=x("dijit.CalendarLite._MonthWidget",r,{_setMonthAttr:function(p){var u=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,p),A=6==e("ie")?"":"\x3cdiv class\x3d'dijitSpacer'\x3e"+t.map(u,function(z){return"\x3cdiv\x3e"+z+"\x3c/div\x3e"}).join("")+"\x3c/div\x3e";this.domNode.innerHTML=A+"\x3cdiv class\x3d'dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'\x3e"+u[p.getMonth()]+"\x3c/div\x3e"}});return m})},"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(t,x,w,n,h,f,g,d,c,a){return t("dijit.form.DropDownButton",[g,d,c],{baseClass:"dijitDropDownButton",templateString:a,_fillContent:function(){var b=this.srcNodeRef,e=this.containerNode;if(b&&e)for(;b.hasChildNodes();){var k=b.firstChild;k.hasAttribute&&(k.hasAttribute("data-dojo-type")||k.hasAttribute("dojoType")||k.hasAttribute("data-"+x._scopeName+"-type")||k.hasAttribute(x._scopeName+"Type"))?(this.dropDownContainer=this.ownerDocument.createElement("div"),this.dropDownContainer.appendChild(k)):
e.appendChild(k)}},startup:function(){this._started||(!this.dropDown&&this.dropDownContainer&&(this.dropDown=h.byNode(this.dropDownContainer.firstChild),delete this.dropDownContainer),this.dropDown&&f.hide(this.dropDown),this.inherited(arguments))},isLoaded:function(){var b=this.dropDown;return!!b&&(!b.href||b.isLoaded)},loadDropDown:function(b){var e=this.dropDown,k=e.on("load",w.hitch(this,function(){k.remove();b()}));e.refresh()},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown}})})},
"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l){function m(){this._popupWrapper&&(f.destroy(this._popupWrapper),delete this._popupWrapper)}w=w(null,{_stack:[],_beginZIndex:1E3,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var p=
this._firstAroundPosition,u=g.position(this._firstAroundNode,!0),A=u.x-p.x;p=u.y-p.y;if(A||p)for(this._firstAroundPosition=u,u=0;u<this._stack.length;u++){var z=this._stack[u].wrapper.style;z.top=parseFloat(z.top)+p+"px";"auto"==z.right?z.left=parseFloat(z.left)+A+"px":z.right=parseFloat(z.right)-A+"px"}this._aroundMoveListener=setTimeout(b.hitch(this,"_repositionAll"),A||p?10:50)}},_createWrapper:function(p){var u=p._popupWrapper,A=p.domNode;u||(u=f.create("div",{"class":"dijitPopup",style:{display:"none"},
role:"region","aria-label":p["aria-label"]||p.label||p.name||p.id},p.ownerDocumentBody),u.appendChild(A),A=A.style,A.display="",A.visibility="",A.position="",A.top="0px",p._popupWrapper=u,x.after(p,"destroy",m,!0),"ontouchend"in document&&e(u,"touchend",function(z){/^(input|button|textarea)$/i.test(z.target.tagName)||z.preventDefault()}),u.dojoClick=!0);return u},moveOffScreen:function(p){var u=this._createWrapper(p);p=g.isBodyLtr(p.ownerDocument);var A={visibility:"hidden",top:"-9999px",display:""};
A[p?"left":"right"]="-9999px";A[p?"right":"left"]="auto";d.set(u,A);return u},hide:function(p){var u=this._createWrapper(p);d.set(u,{display:"none",height:"auto",overflowY:"visible",border:""});p=p.domNode;"_originalStyle"in p&&(p.style.cssText=p._originalStyle)},getTopPopup:function(){for(var p=this._stack,u=p.length-1;0<u&&p[u].parent===p[u-1].widget;u--);return p[u]},open:function(p){for(var u=this._stack,A=p.popup,z=A.domNode,E=p.orient||["below","below-alt","above","above-alt"],y=p.parent?p.parent.isLeftToRight():
g.isBodyLtr(A.ownerDocument),B=p.around,I=p.around&&p.around.id?p.around.id+"_dropdown":"popup_"+this._idGen++;u.length&&(!p.parent||!n.isDescendant(p.parent.domNode,u[u.length-1].widget.domNode));)this.close(u[u.length-1].widget);var v=this.moveOffScreen(A);A.startup&&!A._started&&A.startup();var F=g.position(z);if("maxHeight"in p&&-1!=p.maxHeight)var D=p.maxHeight||Infinity;else{D=q.getEffectiveBox(this.ownerDocument);var G=B?g.position(B,!1):{y:p.y-(p.padding||0),h:2*(p.padding||0)};D=Math.floor(Math.max(G.y,
D.h-(G.y+G.h)))}F.h>D&&(F=d.getComputedStyle(z),d.set(v,{overflowY:"scroll",height:D+"px",border:F.borderLeftWidth+" "+F.borderLeftStyle+" "+F.borderLeftColor}),z._originalStyle=z.style.cssText,z.style.border="none");h.set(v,{id:I,style:{zIndex:this._beginZIndex+u.length},"class":"dijitPopup "+(A.baseClass||A["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:p.parent?p.parent.id:""});0==u.length&&B&&(this._firstAroundNode=B,this._firstAroundPosition=g.position(B,!0),this._aroundMoveListener=setTimeout(b.hitch(this,
"_repositionAll"),50));c("config-bgIframe")&&!A.bgIframe&&(A.bgIframe=new r(v));I=A.orient?b.hitch(A,"orient"):null;E=B?k.around(v,B,E,y,I):k.at(v,p,"R"==E?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],p.padding,I);v.style.visibility="visible";z.style.visibility="visible";z=[];z.push(e(v,"keydown",b.hitch(this,function(J){if(J.keyCode==a.ESCAPE&&p.onCancel)J.stopPropagation(),J.preventDefault(),p.onCancel();else if(J.keyCode==a.TAB&&(J.stopPropagation(),J.preventDefault(),(J=this.getTopPopup())&&J.onCancel))J.onCancel()})));
A.onCancel&&p.onCancel&&z.push(A.on("cancel",p.onCancel));z.push(A.on(A.onExecute?"execute":"change",b.hitch(this,function(){var J=this.getTopPopup();if(J&&J.onExecute)J.onExecute()})));u.push({widget:A,wrapper:v,parent:p.parent,onExecute:p.onExecute,onCancel:p.onCancel,onClose:p.onClose,handlers:z});if(A.onOpen)A.onOpen(E);return E},close:function(p){for(var u=this._stack;p&&t.some(u,function(B){return B.widget==p})||!p&&u.length;){var A=u.pop(),z=A.widget,E=A.onClose;z.bgIframe&&(z.bgIframe.destroy(),
delete z.bgIframe);if(z.onClose)z.onClose();for(var y;y=A.handlers.pop();)y.remove();z&&z.domNode&&this.hide(z);E&&E()}0==u.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return l.popup=new w})},"dijit/place":function(){define("dojo/_base/array dojo/dom-geometry dojo/dom-style dojo/_base/kernel dojo/_base/window ./Viewport ./main".split(" "),function(t,x,w,n,h,f,g){function d(a,b,e,k){var r=
f.getEffectiveBox(a.ownerDocument);a.parentNode&&"body"==String(a.parentNode.tagName).toLowerCase()||h.body(a.ownerDocument).appendChild(a);var q=null;t.some(b,function(p){var u=p.corner,A=p.pos,z=0,E={w:{L:r.l+r.w-A.x,R:A.x-r.l,M:r.w}[u.charAt(1)],h:{T:r.t+r.h-A.y,B:A.y-r.t,M:r.h}[u.charAt(0)]},y=a.style;y.left=y.right="auto";e&&(z=e(a,p.aroundCorner,u,E,k),z="undefined"==typeof z?0:z);var B=a.style,I=B.display,v=B.visibility;"none"==B.display&&(B.visibility="hidden",B.display="");y=x.position(a);
B.display=I;B.visibility=v;I={L:A.x,R:A.x-y.w,M:Math.max(r.l,Math.min(r.l+r.w,A.x+(y.w>>1))-y.w)}[u.charAt(1)];v={T:A.y,B:A.y-y.h,M:Math.max(r.t,Math.min(r.t+r.h,A.y+(y.h>>1))-y.h)}[u.charAt(0)];A=Math.max(r.l,I);B=Math.max(r.t,v);I=Math.min(r.l+r.w,I+y.w)-A;v=Math.min(r.t+r.h,v+y.h)-B;z+=y.w-I+(y.h-v);if(null==q||z<q.overflow)q={corner:u,aroundCorner:p.aroundCorner,x:A,y:B,w:I,h:v,overflow:z,spaceAvailable:E};return!z});q.overflow&&e&&e(a,q.aroundCorner,q.corner,q.spaceAvailable,k);b=q.y;var l=q.x,
m=h.body(a.ownerDocument);/relative|absolute/.test(w.get(m,"position"))&&(b-=w.get(m,"marginTop"),l-=w.get(m,"marginLeft"));m=a.style;m.top=b+"px";m.left=l+"px";m.right="auto";return q}var c={TL:"BR",TR:"BL",BL:"TR",BR:"TL"};return g.place={at:function(a,b,e,k,r){e=t.map(e,function(q){var l={corner:q,aroundCorner:c[q],pos:{x:b.x,y:b.y}};k&&(l.pos.x+="L"==q.charAt(1)?k.x:-k.x,l.pos.y+="T"==q.charAt(0)?k.y:-k.y);return l});return d(a,e,r)},around:function(a,b,e,k,r){function q(F,D){v.push({aroundCorner:F,
corner:D,pos:{x:{L:E,R:E+B,M:E+(B>>1)}[F.charAt(1)],y:{T:y,B:y+I,M:y+(I>>1)}[F.charAt(0)]}})}if("string"==typeof b||"offsetWidth"in b||"ownerSVGElement"in b){var l=x.position(b,!0);if(/^(above|below)/.test(e[0])){var m=x.getBorderExtents(b),p=b.firstChild?x.getBorderExtents(b.firstChild):{t:0,l:0,b:0,r:0},u=x.getBorderExtents(a),A=a.firstChild?x.getBorderExtents(a.firstChild):{t:0,l:0,b:0,r:0};l.y+=Math.min(m.t+p.t,u.t+A.t);l.h-=Math.min(m.t+p.t,u.t+A.t)+Math.min(m.b+p.b,u.b+A.b)}}else l=b;if(b.parentNode)for(m=
"absolute"==w.getComputedStyle(b).position,b=b.parentNode;b&&1==b.nodeType&&"BODY"!=b.nodeName;){p=x.position(b,!0);u=w.getComputedStyle(b);/relative|absolute/.test(u.position)&&(m=!1);if(!m&&/hidden|auto|scroll/.test(u.overflow)){A=Math.min(l.y+l.h,p.y+p.h);var z=Math.min(l.x+l.w,p.x+p.w);l.x=Math.max(l.x,p.x);l.y=Math.max(l.y,p.y);l.h=A-l.y;l.w=z-l.x}"absolute"==u.position&&(m=!0);b=b.parentNode}var E=l.x,y=l.y,B="w"in l?l.w:l.w=l.width,I="h"in l?l.h:(n.deprecated("place.around: dijit/place.__Rectangle: { x:"+
E+", y:"+y+", height:"+l.height+", width:"+B+" } has been deprecated.  Please use { x:"+E+", y:"+y+", h:"+l.height+", w:"+B+" }","","2.0"),l.h=l.height),v=[];t.forEach(e,function(F){var D=k;switch(F){case "above-centered":q("TM","BM");break;case "below-centered":q("BM","TM");break;case "after-centered":D=!D;case "before-centered":q(D?"ML":"MR",D?"MR":"ML");break;case "after":D=!D;case "before":q(D?"TL":"TR",D?"TR":"TL");q(D?"BL":"BR",D?"BR":"BL");break;case "below-alt":D=!D;case "below":q(D?"BL":
"BR",D?"TL":"TR");q(D?"BR":"BL",D?"TR":"TL");break;case "above-alt":D=!D;case "above":q(D?"TL":"TR",D?"BL":"BR");q(D?"TR":"TL",D?"BR":"BL");break;default:q(F.aroundCorner,F.corner)}});a=d(a,v,r,{w:B,h:I});a.aroundNodePos=l;return a}}})},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(t,x,w,n,h){var f=new t,g;w(function(){var d=h.getBox();f._rlh=x(window,"resize",function(){var a=h.getBox();if(d.h!=a.h||d.w!=a.w)d=a,f.emit("resize")});
if(8==n("ie")){var c=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=c&&(c=screen.deviceXDPI,f.emit("resize"))},500)}n("ios")&&(x(document,"focusin",function(a){g=a.target}),x(document,"focusout",function(a){g=null}))});f.getEffectiveBox=function(d){d=h.getBox(d);var c=g&&g.tagName&&g.tagName.toLowerCase();n("ios")&&g&&!g.readOnly&&("textarea"==c||"input"==c&&/^(color|email|number|password|search|tel|text|url)$/.test(g.type))&&(d.h*=0==orientation||180==orientation?.66:.4,c=g.getBoundingClientRect(),
d.h=Math.max(d.h,c.top+c.height));return d};return f})},"dijit/BackgroundIframe":function(){define("require ./main dojo/_base/config dojo/dom-construct dojo/dom-style dojo/_base/lang dojo/on dojo/sniff".split(" "),function(t,x,w,n,h,f,g,d){d.add("config-bgIframe",(d("ie")||d("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var c=new function(){var a=[];this.pop=function(){if(a.length){var b=a.pop();b.style.display=""}else 9>d("ie")?(b=w.dojoBlankHtmlUrl||t.toUrl("dojo/resources/blank.html")||
'javascript:""',b=document.createElement("\x3ciframe src\x3d'"+b+"' role\x3d'presentation' style\x3d'position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity\x3d\"0\");'\x3e")):(b=n.create("iframe"),b.src='javascript:""',b.className="dijitBackgroundIframe",b.setAttribute("role","presentation"),h.set(b,"opacity",.1)),b.tabIndex=-1;return b};this.push=function(b){b.style.display="none";a.push(b)}};x.BackgroundIframe=function(a){if(!a.id)throw Error("no id");if(d("config-bgIframe")){var b=
this.iframe=c.pop();a.appendChild(b);7>d("ie")||d("quirks")?(this.resize(a),this._conn=g(a,"resize",f.hitch(this,"resize",a))):h.set(b,{width:"100%",height:"100%"})}};f.extend(x.BackgroundIframe,{resize:function(a){this.iframe&&h.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),c.push(this.iframe),delete this.iframe)}});return x.BackgroundIframe})},
"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(t,x,w,n,h,f,g,d,c,a){n("dijit-legacy-requires")&&g(0,function(){t(["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"])});g=x("dijit.form.Button"+(n("dojo-bidi")?"_NoBidi":""),[d,c],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",
type:"class"},baseClass:"dijitButton",templateString:a,_setValueAttr:"valueNode",_setNameAttr:function(b){this.valueNode&&this.valueNode.setAttribute("name",b)},postCreate:function(){this.inherited(arguments);this._setLabelFromContainer()},_setLabelFromContainer:function(){this.containerNode&&!this.label&&(this.label=f.trim(this.containerNode.innerHTML),this.onLabelSet())},_setShowLabelAttr:function(b){this.containerNode&&w.toggle(this.containerNode,"dijitDisplayNone",!b);this._set("showLabel",b)},
setLabel:function(b){h.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",b)},onLabelSet:function(){this.inherited(arguments);this.showLabel||"title"in this.params||(this.titleNode.title=f.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});n("dojo-bidi")&&(g=x("dijit.form.Button",g,{onLabelSet:function(){this.inherited(arguments);this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(b){this._created&&
this.textDir!=b&&(this._set("textDir",b),this._setLabelAttr(this.label))}}));return g})},"dijit/form/_FormWidget":function(){define("dojo/_base/declare dojo/sniff dojo/_base/kernel dojo/ready ../_Widget ../_CssStateMixin ../_TemplatedMixin ./_FormWidgetMixin".split(" "),function(t,x,w,n,h,f,g,d){x("dijit-legacy-requires")&&n(0,function(){require(["dijit/form/_FormValueWidget"])});return t("dijit.form._FormWidget",[h,g,f,d],{setDisabled:function(c){w.deprecated("setDisabled("+c+") is deprecated. Use set('disabled',"+
c+") instead.","","2.0");this.set("disabled",c)},setValue:function(c){w.deprecated("dijit.form._FormWidget:setValue("+c+") is deprecated.  Use set('value',"+c+") instead.","","2.0");this.set("value",c)},getValue:function(){w.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!x("msapp")?'name\x3d"'+this.name.replace(/"/g,"\x26quot;")+'"':"";this.inherited(arguments)}})})},
"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(t,x,w,n,h,f,g,d,c,a){return x("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)?
(w.set(this.focusNode,"disabled",b),d("trident")&&"readOnly"in this&&w.set(this.focusNode,"readonly",b||this.readOnly)):this.focusNode.setAttribute("aria-disabled",b?"true":"false");this.valueNode&&w.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",t.forEach(h.isArray(b)?b:[b],function(e){e=this[e];d("webkit")||a.hasDefaultTabStop(e)?e.setAttribute("tabIndex",
"-1"):e.removeAttribute("tabIndex")},this)):""!=this.tabIndex&&this.set("tabIndex",this.tabIndex)},_onFocus:function(b){if("mouse"==b&&this.isFocusable())var e=this.own(g(this.focusNode,"focus",function(){r.remove();e.remove()}))[0],k=d("pointer-events")?"pointerup":d("MSPointer")?"MSPointerUp":d("touch-events")?"touchend, mouseup":"mouseup",r=this.own(g(this.ownerDocumentBody,k,h.hitch(this,function(q){r.remove();e.remove();this.focused&&("touchend"==q.type?this.defer("focus"):this.focus())})))[0];
this.scrollOnFocus&&this.defer(function(){c.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(b){}},compare:function(b,e){return"number"==typeof b&&"number"==typeof e?isNaN(b)&&isNaN(e)?0:b-e:b>e?1:b<e?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(b,e){void 0!=this._lastValueReported||
null!==e&&this._onChangeActive||(this._resetValue=this._lastValueReported=b);this._pendingOnChange=this._pendingOnChange||typeof b!=typeof this._lastValueReported||0!=this.compare(b,this._lastValueReported);(this.intermediateChanges||e||void 0===e)&&this._pendingOnChange&&(this._lastValueReported=b,this._pendingOnChange=!1,this._onChangeActive&&(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(b)})))},create:function(){this.inherited(arguments);
this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported));this.inherited(arguments)}})})},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(t,x,w,n){var h=t("dijit.form._ButtonMixin"+(w("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(f){f.stopPropagation();f.preventDefault();this.disabled||this.valueNode.click(f);return!1},_onClick:function(f){if(this.disabled)return f.stopPropagation(),
f.preventDefault(),!1;!1===this.onClick(f)&&f.preventDefault();var g=f.defaultPrevented;if(!g&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var d=this.domNode;d.parentNode;d=d.parentNode){var c=n.byNode(d);if(c&&"function"==typeof c._onSubmit){c._onSubmit(f);f.preventDefault();g=!0;break}}return!g},postCreate:function(){this.inherited(arguments);x.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(f){this._set("label",f);(this.containerNode||this.focusNode).innerHTML=
f;this.onLabelSet()},onLabelSet:function(){}});w("dojo-bidi")&&(h=t("dijit.form._ButtonMixin",h,{onLabelSet:function(){this.inherited(arguments);this.applyTextDir(this.containerNode||this.focusNode)}}));return h})},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(t,x,w,n){return x("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode)},addChild:function(h,
f){var g=this.containerNode;if(0<f){for(g=g.firstChild;0<f;)1==g.nodeType&&f--,g=g.nextSibling;g?f="before":(g=this.containerNode,f="last")}w.place(h.domNode,g,f);this._started&&!h._started&&h.startup()},removeChild:function(h){"number"==typeof h&&(h=this.getChildren()[h]);h&&(h=h.domNode)&&h.parentNode&&h.parentNode.removeChild(h)},hasChildren:function(){return 0<this.getChildren().length},_getSiblingOfChild:function(h,f){var g=this.getChildren();h=t.indexOf(g,h);return g[h+f]},getIndexOfChild:function(h){return t.indexOf(this.getChildren(),
h)}})})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l){return t("dijit._HasDropDown",l,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],
_stopClickEvents:!0,_onDropDownMouseDown:function(m){this.disabled||this.readOnly||("MSPointerDown"!=m.type&&m.preventDefault(),this.own(b.once(this.ownerDocument,e.release,a.hitch(this,"_onDropDownMouseUp"))),this.toggleDropDown())},_onDropDownMouseUp:function(m){var p=this.dropDown,u=!1;if(m&&this._opened){var A=f.position(this._buttonNode,!0);if(!(m.pageX>=A.x&&m.pageX<=A.x+A.w&&m.pageY>=A.y&&m.pageY<=A.y+A.h)){for(A=m.target;A&&!u;)h.contains(A,"dijitPopup")?u=!0:A=A.parentNode;if(u){A=m.target;
if(p.onItemClick){for(var z;A&&!(z=k.byNode(A));)A=A.parentNode;if(z&&z.onClick&&z.getParent)z.getParent().onItemClick(z,m)}return}}}this._opened?p.focus&&(!1!==p.autoFocus||"mouseup"==m.type&&!this.hovering)&&(this._focusDropDownTimer=this.defer(function(){p.focus();delete this._focusDropDownTimer})):this.focus&&this.defer("focus")},_onDropDownClick:function(m){this._stopClickEvents&&(m.stopPropagation(),m.preventDefault())},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||
this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var m={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";h.add(this._arrowWrapperNode||this._buttonNode,"dijit"+m+"ArrowButton")},postCreate:function(){this.inherited(arguments);var m=this.focusNode||this.domNode;this.own(b(this._buttonNode,e.press,a.hitch(this,
"_onDropDownMouseDown")),b(this._buttonNode,"click",a.hitch(this,"_onDropDownClick")),b(m,"keydown",a.hitch(this,"_onKey")),b(m,"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(m){if(!this.disabled&&!this.readOnly){var p=this.dropDown,u=m.target;p&&this._opened&&p.handleKey&&!1===p.handleKey(m)?(m.stopPropagation(),m.preventDefault()):
p&&this._opened&&m.keyCode==c.ESCAPE?(this.closeDropDown(),m.stopPropagation(),m.preventDefault()):!this._opened&&(m.keyCode==c.DOWN_ARROW||(m.keyCode==c.ENTER||m.keyCode==c.SPACE&&(!this._searchTimer||m.ctrlKey||m.altKey||m.metaKey))&&("input"!==(u.tagName||"").toLowerCase()||u.type&&"text"!==u.type.toLowerCase()))&&(this._toggleOnKeyUp=!0,m.stopPropagation(),m.preventDefault())}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var m=this.dropDown;m&&
m.focus&&this.defer(a.hitch(m,"focus"),1)}},_onBlur:function(){this.closeDropDown(!1);this.inherited(arguments)},isLoaded:function(){return!0},loadDropDown:function(m){m()},loadAndOpenDropDown:function(){var m=new x,p=a.hitch(this,function(){this.openDropDown();m.resolve(this.dropDown)});this.isLoaded()?p():this.loadDropDown(p);return m},toggleDropDown:function(){this.disabled||this.readOnly||(this._opened?this.closeDropDown(!0):this.loadAndOpenDropDown())},openDropDown:function(){var m=this.dropDown,
p=m.domNode,u=this._aroundNode||this.domNode,A=this,z=q.open({parent:this,popup:m,around:u,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){A.closeDropDown(!0)},onCancel:function(){A.closeDropDown(!0)},onClose:function(){n.set(A._popupStateNode,"popupActive",!1);h.remove(A._popupStateNode,"dijitHasDropDownOpen");A._set("_opened",!1)}});if(this.forceWidth||this.autoWidth&&u.offsetWidth>m._popupWrapper.offsetWidth){u=u.offsetWidth-m._popupWrapper.offsetWidth;var E={w:m.domNode.offsetWidth+
u};this._origStyle=p.style.cssText;a.isFunction(m.resize)?m.resize(E):f.setMarginBox(p,E);"R"==z.corner[1]&&(m._popupWrapper.style.left=m._popupWrapper.style.left.replace("px","")-u+"px")}n.set(this._popupStateNode,"popupActive","true");h.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",!0);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",m.id);"presentation"===p.getAttribute("role")||p.getAttribute("aria-labelledby")||p.setAttribute("aria-labelledby",
this.id);return z},closeDropDown:function(m){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer);this._opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),m&&this.focus&&this.focus(),q.close(this.dropDown),this._opened=!1);this._origStyle&&(this.dropDown.domNode.style.cssText=this._origStyle,delete this._origStyle)}})})},"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(t,x,w,n,h,f,g,d){new Date("X");return n("dijit.form._DateTimeTextBox",[f,g],{templateString:d,hasDownArrow:!0,cssStateNodes:{_buttonNode:"dijitDownArrowButton"},_unboundedConstraints:{},pattern:x.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},compare:function(c,a){var b=this._isInvalidDate(c),e=this._isInvalidDate(a);if(b||e)return b&&e?0:b?-1:1;c=this.format(c,this._unboundedConstraints);a=this.format(a,this._unboundedConstraints);
b=this.parse(c,this._unboundedConstraints);e=this.parse(a,this._unboundedConstraints);return c==a?0:t.compare(b,e,this._selector)},autoWidth:!0,format:function(c,a){return c?this.dateLocaleModule.format(c,a):""},parse:function(c,a){return this.dateLocaleModule.parse(c,a)||(this._isEmpty(c)?null:void 0)},serialize:function(c,a){c.toGregorian&&(c=c.toGregorian());return w.toISOString(c,a)},dropDownDefaultValue:new Date,value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(c){c=
c||{};this.dateModule=c.datePackage?h.getObject(c.datePackage,!1):t;this.dateClassObj=this.dateModule.Date||Date;this.dateClassObj instanceof Date||(this.value=new this.dateClassObj(this.value));this.dateLocaleModule=c.datePackage?h.getObject(c.datePackage+".locale",!1):x;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(c){c.selector=this._selector;c.fullYear=!0;var a=w.fromISOString;"string"==typeof c.min&&(c.min=a(c.min),this.dateClassObj instanceof Date||(c.min=new this.dateClassObj(c.min)));"string"==typeof c.max&&(c.max=a(c.max),this.dateClassObj instanceof Date||(c.max=new this.dateClassObj(c.max)));this.inherited(arguments);this._unboundedConstraints=h.mixin({},this.constraints,{min:null,max:null})},_isDefinitelyOutOfRange:function(){var c=
this.inherited(arguments),a=!1;if(c&&(this.constraints.min||this.constraints.max)){var b=(new RegExp(this._lastRegExp)).exec(this._lastInputEventValue);null!=b&&(c=b[3],this.constraints.min&&(a=this.constraints.min instanceof Date?this.constraints.min:new Date(String(this.constraints.min)),minYear=a.getFullYear(),a=parseInt((c+"9999").substr(0,4),10),a=a<minYear),!a&&this.constraints.max&&(a=this.constraints.max instanceof Date?this.constraints.max:new Date(String(this.constraints.max)),maxYear=a.getFullYear(),
c=parseInt((c+"0000").substr(0,4),10),a=c>maxYear),c=a)}return c},_isInvalidDate:function(c){return!c||isNaN(c)||"object"!=typeof c||c.toString()==this._invalidDate},_setValueAttr:function(c,a,b){void 0!==c&&("string"==typeof c&&(c=w.fromISOString(c)),this._isInvalidDate(c)&&(c=null),c instanceof Date&&!(this.dateClassObj instanceof Date)&&(c=new this.dateClassObj(c)));this.inherited(arguments,[c,a,b]);this.value instanceof Date&&(this.filterString="");!1!==a&&this.dropDown&&this.dropDown.set("value",
c,!1)},_set:function(c,a){if("value"==c){a instanceof Date&&!(this.dateClassObj instanceof Date)&&(a=new this.dateClassObj(a));var b=this._get("value");if(b instanceof this.dateClassObj&&0==this.compare(a,b))return}this.inherited(arguments)},_setDropDownDefaultValueAttr:function(c){this._isInvalidDate(c)&&(c=new this.dateClassObj);this._set("dropDownDefaultValue",c)},openDropDown:function(c){this.dropDown&&this.dropDown.destroy();var a=h.isString(this.popupClass)?h.getObject(this.popupClass,!1):this.popupClass,
b=this,e=this.get("value");this.dropDown=new a({onChange:function(k){b.set("value",k,!0)},id:this.id+"_popup",dir:b.dir,lang:b.lang,value:e,textDir:b.textDir,currentFocus:this._isInvalidDate(e)?this.dropDownDefaultValue:e,constraints:b.constraints,filterString:b.filterString,datePackage:b.datePackage,isDisabledDate:function(k){return!b.rangeCheck(k,b.constraints)}});this.inherited(arguments)},_getDisplayedValueAttr:function(){return this.textbox.value},_setDisplayedValueAttr:function(c,a){this._setValueAttr(this.parse(c,
this.constraints),a,c)}})})},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox","dojo/i18n!./nls/validate"],function(t,x,w){return t("dijit.form.RangeBoundTextBox",w,{rangeMessage:"",rangeCheck:function(n,h){return("min"in h?0<=this.compare(n,h.min):!0)&&("max"in h?0>=this.compare(n,h.max):!0)},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints)},_isDefinitelyOutOfRange:function(){var n=this.get("value");if(null==n)return!1;
var h=!1;"min"in this.constraints&&(h=this.constraints.min,h=0>this.compare(n,"number"==typeof h&&0<=h&&0!=n?0:h));!h&&"max"in this.constraints&&(h=this.constraints.max,h=0<this.compare(n,"number"!=typeof h||0<h?h:0));return h},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange()},isValid:function(n){return this.inherited(arguments)&&(this._isEmpty(this.textbox.value)&&!this.required||this.isInRange(n))},getErrorMessage:function(n){var h=this.get("value");return null==
h||""===h||"number"==typeof h&&isNaN(h)||this.isInRange(n)?this.inherited(arguments):this.rangeMessage},postMixInProperties:function(){this.inherited(arguments);this.rangeMessage||(this.messages=x.getLocalization("dijit.form","validate",this.lang),this.rangeMessage=this.messages.rangeMessage)}})})},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(t,x,w,n){return t("dijit.form.MappedTextBox",n,{postMixInProperties:function(){this.inherited(arguments);
this.nameAttrSetting=""},_setNameAttr:"valueNode",serialize:function(h){return h.toString?h.toString():""},toString:function(){var h=this.filter(this.get("value"));return null!=h?"string"==typeof h?h:this.serialize(h,this.constraints):""},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.valueNode=w.place("\x3cinput type\x3d'hidden'"+(this.name&&!x("msapp")?' name\x3d"'+this.name.replace(/"/g,"\x26quot;")+
'"':"")+"/\x3e",this.textbox,"after")},reset:function(){this.valueNode.value="";this.inherited(arguments)}})})},"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(t,x,w,n,h,f,g){var d=t("dijit.form.ValidationTextBox",h,{templateString:g,required:!1,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",
constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(c,a){a!=d.prototype[c]&&(x.deprecated("ValidationTextBox id\x3d"+this.id+", set('"+c+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0"),this.set("pattern",a))},_setRegExpGenAttr:function(c){this._deprecateRegExp("regExpGen",c);this._set("regExpGen",this._computeRegexp)},_setRegExpAttr:function(c){this._deprecateRegExp("regExp",c)},_setValueAttr:function(){this.inherited(arguments);
this._refreshState()},validator:function(c,a){return(new RegExp("^(?:"+this._computeRegexp(a)+")"+(this.required?"":"?")+"$")).test(c)&&(!this.required||!this._isEmpty(c))&&(this._isEmpty(c)||void 0!==this.parse(c,a))},_isValidSubset:function(){return 0==this.textbox.value.search(this._partialre)},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"))},_isEmpty:function(c){return(this.trim?/^\s*$/:/^$/).test(c)},getErrorMessage:function(){var c="$_unset_$"==this.invalidMessage?
this.messages.invalidMessage:this.invalidMessage?this.invalidMessage:this.promptMessage,a="$_unset_$"==this.missingMessage?this.messages.missingMessage:this.missingMessage?this.missingMessage:c;return this.required&&this._isEmpty(this.textbox.value)?a:c},getPromptMessage:function(){return this.promptMessage},_maskValidSubsetError:!0,validate:function(c){var a="",b=this.disabled||this.isValid(c);b&&(this._maskValidSubsetError=!0);var e=this._isEmpty(this.textbox.value),k=!b&&c&&this._isValidSubset();
this._set("state",b?"":((!this._hasBeenBlurred||c)&&e||k)&&(this._maskValidSubsetError||k&&!this._hasBeenBlurred&&c)?"Incomplete":"Error");this.focusNode.setAttribute("aria-invalid","Error"==this.state?"true":"false");"Error"==this.state?(this._maskValidSubsetError=c&&k,a=this.getErrorMessage(c)):"Incomplete"==this.state?(a=this.getPromptMessage(c),this._maskValidSubsetError=!this._hasBeenBlurred||c):e&&(a=this.getPromptMessage(c));this.set("message",a);return b},displayMessage:function(c){c&&this.focused?
f.show(c,this.domNode,this.tooltipPosition,!this.isLeftToRight()):f.hide(this.domNode)},_refreshState:function(){this._created&&this.validate(this.focused);this.inherited(arguments)},constructor:function(c){this.constraints=w.clone(this.constraints);this.baseClass+=" dijitValidationTextBox"},startup:function(){this.inherited(arguments);this._refreshState()},_setConstraintsAttr:function(c){!c.locale&&this.lang&&(c.locale=this.lang);this._set("constraints",c);this._refreshState()},_setPatternAttr:function(c){this._set("pattern",
c);this._refreshState()},_computeRegexp:function(c){var a=this.pattern;"function"==typeof a&&(a=a.call(this,c));if(a!=this._lastRegExp){var b="";this._lastRegExp=a;".*"!=a&&a.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(e){switch(e.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":b+=e;break;case ")":b+="|$)";break;default:b+="(?:"+e+"|$)"}});try{"".search(b)}catch(e){b=this.pattern}this._partialre="^(?:"+b+")$"}return a},postMixInProperties:function(){this.inherited(arguments);
this.messages=n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints)},_setDisabledAttr:function(c){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(c){this._set("required",c);this.focusNode.setAttribute("aria-required",c);this._refreshState()},_setMessageAttr:function(c){this._set("message",c);this.displayMessage(c)},reset:function(){this._maskValidSubsetError=!0;this.inherited(arguments)},_onBlur:function(){this.displayMessage("");
this.inherited(arguments)},destroy:function(){f.hide(this.domNode);this.inherited(arguments)}});return d})},"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(t,x,w,n,h,f,g,d,c,a,b){d=t("dijit.form.TextBox"+(g("dojo-bidi")?"_NoBidi":""),[d,c],{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:g("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var e=this.type.toLowerCase();if(this.templateString&&"input"==this.templateString.toLowerCase()||("hidden"==e||"file"==e)&&this.templateString==this.constructor.prototype.templateString)this.templateString=this._singleNodeTemplate;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);9>g("ie")&&this.defer(function(){try{var e=w.getComputedStyle(this.domNode);if(e){var k=e.fontFamily;
if(k){var r=this.domNode.getElementsByTagName("INPUT");if(r)for(e=0;e<r.length;e++)r[e].style.fontFamily=k}}}catch(q){}})},_setPlaceHolderAttr:function(e){this._set("placeHolder",e);this._phspan||(this._attachPoints.push("_phspan"),this._phspan=x.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after"),this.own(f(this._phspan,"mousedown",function(k){k.preventDefault()}),f(this._phspan,"touchend, pointerup, MSPointerUp",h.hitch(this,function(){this.focus()}))));this._phspan.innerHTML=
"";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(e));this._updatePlaceHolder()},_onInput:function(e){this.inherited(arguments);this._updatePlaceHolder()},_updatePlaceHolder:function(){this._phspan&&(this._phspan.style.display=this.placeHolder&&!this.textbox.value?"":"none")},_setValueAttr:function(e,k,r){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(e){n.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",e)},_onBlur:function(e){this.disabled||(this.inherited(arguments),this._updatePlaceHolder(),g("mozilla")&&this.selectOnClick&&(this.textbox.selectionStart=this.textbox.selectionEnd=void 0))},_onFocus:function(e){this.disabled||this.readOnly||(this.inherited(arguments),this._updatePlaceHolder())}});
9>g("ie")&&(d.prototype._isTextSelected=function(){var e=this.ownerDocument.selection.createRange();return e.parentElement()==this.textbox&&0<e.text.length},b._setSelectionRange=c._setSelectionRange=function(e,k,r){e.createTextRange&&(e=e.createTextRange(),e.collapse(!0),e.moveStart("character",-99999),e.moveStart("character",k),e.moveEnd("character",r-k),e.select())});g("dojo-bidi")&&(d=t("dijit.form.TextBox",d,{_setPlaceHolderAttr:function(e){this.inherited(arguments);this.applyTextDir(this._phspan)}}));
return d})},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(t,x,w,n){return t("dijit.form._FormValueWidget",[w,n],{_layoutHackIE7:function(){if(7==x("ie"))for(var h=this.domNode,f=h.parentNode,g=h.firstChild||h,d=g.style.filter,c=this;f&&0==f.clientHeight;)(function(){var a=c.connect(f,"onscroll",function(){c.disconnect(a);g.style.filter=(new Date).getMilliseconds();c.defer(function(){g.style.filter=d})})})(),f=f.parentNode}})})},
"dijit/form/_FormValueMixin":function(){define("dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/on dojo/sniff ./_FormWidgetMixin".split(" "),function(t,x,w,n,h,f,g){return t("dijit.form._FormValueMixin",g,{readOnly:!1,_setReadOnlyAttr:function(d){f("trident")&&"disabled"in this?x.set(this.focusNode,"readOnly",d||this.disabled):x.set(this.focusNode,"readOnly",d);this._set("readOnly",d)},postCreate:function(){this.inherited(arguments);void 0===this._resetValue&&(this._lastValueReported=
this._resetValue=this.value)},_setValueAttr:function(d,c){this._handleOnChange(d,c)},_handleOnChange:function(d,c){this._set("value",d);this.inherited(arguments)},undo:function(){this._setValueAttr(this._lastValueReported,!1)},reset:function(){this._hasBeenBlurred=!1;this._setValueAttr(this._resetValue,!0)}})})},"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(t,x,w,n,h,f,g,d){var c=
x("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,e){if(void 0!==a){var k=this.filter(a);"string"!=typeof e&&(e=null===k||"number"==typeof k&&isNaN(k)?"":this.filter(this.format(k,this.constraints)),0!=this.compare(k,this.filter(this.parse(e,this.constraints)))&&(e=null))}null==
e||"number"==typeof e&&isNaN(e)||this.textbox.value==e||(this.textbox.value=e,this._set("displayedValue",this.get("displayedValue")));this.inherited(arguments,[k,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(g(this.textbox,"keydown, keypress, paste, cut, compositionend",f.hitch(this,function(a){if("keydown"==a.type&&229!=a.keyCode){var b=a.keyCode;switch(b){case h.SHIFT:case h.ALT:case h.CTRL:case h.META:case h.CAPS_LOCK:case h.NUM_LOCK:case h.SCROLL_LOCK:return}if(!a.ctrlKey&&!a.metaKey&&!a.altKey){switch(b){case h.NUMPAD_0:case h.NUMPAD_1:case h.NUMPAD_2:case h.NUMPAD_3:case h.NUMPAD_4:case h.NUMPAD_5:case h.NUMPAD_6:case h.NUMPAD_7:case h.NUMPAD_8:case h.NUMPAD_9:case h.NUMPAD_MULTIPLY:case h.NUMPAD_PLUS:case h.NUMPAD_ENTER:case h.NUMPAD_MINUS:case h.NUMPAD_PERIOD:case h.NUMPAD_DIVIDE:return}if(65<=
b&&90>=b||48<=b&&57>=b||b==h.SPACE)return;b=!1;for(var e in h)if(h[e]===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==h.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 k={faux:!0},r;for(r in a)/^(layer[XY]|returnValue|keyLocation)$/.test(r)||
(e=a[r],"function"!=typeof e&&"undefined"!=typeof e&&(k[r]=e));f.mixin(k,{charOrCode:b,_wasConsumed:!1,preventDefault:function(){k._wasConsumed=!0;a.preventDefault()},stopPropagation:function(){a.stopPropagation()}});this._lastInputProducingEvent=k;!1===this.onInput(k)&&(k.preventDefault(),k.stopPropagation());if(!k._wasConsumed&&9>=n("ie"))switch(a.keyCode){case h.TAB:case h.ESCAPE:case h.DOWN_ARROW:case h.UP_ARROW:case h.LEFT_ARROW:case h.RIGHT_ARROW:break;default:a.keyCode==h.ENTER&&"textarea"!=
this.textbox.tagName.toLowerCase()||this.defer(function(){this.textbox.value!==this._lastInputEventValue&&g.emit(this.textbox,"input",{bubbles:!0})})}})),g(this.textbox,"input",f.hitch(this,"_onInput")),g(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=f.trim(a));this.uppercase&&(a=a.toUpperCase());this.lowercase&&(a=a.toLowerCase());this.propercase&&(a=a.replace(/[^\s]+/g,
function(b){return b.substring(0,1).toUpperCase()+b.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=g.once(this.domNode,"mouseup, touchend",f.hitch(this,function(b){this._isTextSelected()||
c.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")&&(c=x("dijit.form._TextBoxMixin",c,{_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)}}));c._setSelectionRange=d._setSelectionRange=function(a,b,e){a.setSelectionRange&&a.setSelectionRange(b,e)};c.selectInputText=d.selectInputText=function(a,b,e){a=w.byId(a);isNaN(b)&&(b=0);isNaN(e)&&(e=a.value?a.value.length:0);try{a.focus(),c._setSelectionRange(a,b,e)}catch(k){}};return c})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m,p){function u(){}var A=x("dijit._MasterTooltip",[r,q],{duration:e.defaultDuration,templateString:m,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new l(this.domNode);this.fadeIn=w.fadeIn({node:this.domNode,duration:this.duration,onEnd:d.hitch(this,"_onShow")});this.fadeOut=w.fadeOut({node:this.domNode,duration:this.duration,onEnd:d.hitch(this,"_onHide")})},show:function(E,y,B,I,v,F,D){if(!this.aroundNode||this.aroundNode!==
y||this.containerNode.innerHTML!=E)if("playing"==this.fadeOut.status())this._onDeck=arguments;else{this.containerNode.innerHTML=E;v&&this.set("textDir",v);this.containerNode.align=I?"right":"left";var G=k.around(this.domNode,y,B&&B.length?B:z.defaultPosition,!I,d.hitch(this,"orient")),J=G.aroundNodePos;"M"==G.corner.charAt(0)&&"M"==G.aroundCorner.charAt(0)?(this.connectorNode.style.top=J.y+(J.h-this.connectorNode.offsetHeight>>1)-G.y+"px",this.connectorNode.style.left=""):"M"==G.corner.charAt(1)&&
"M"==G.aroundCorner.charAt(1)?this.connectorNode.style.left=J.x+(J.w-this.connectorNode.offsetWidth>>1)-G.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top="");g.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=!0;this.aroundNode=y;this.onMouseEnter=F||u;this.onMouseLeave=D||u}},orient:function(E,y,B,I,v){this.connectorNode.style.top="";var F=I.h;I=I.w;E.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"}[y+"-"+B];this.domNode.style.width="auto";var D=f.position(this.domNode);if(b("ie")||b("trident"))D.w+=2;f.setMarginBox(this.domNode,{w:Math.min(Math.max(I,1),D.w)});"B"==B.charAt(0)&&"B"==y.charAt(0)?(E=f.position(E),y=this.connectorNode.offsetHeight,
E.h>F?(this.connectorNode.style.top=F-(v.h+y>>1)+"px",this.connectorNode.style.bottom=""):(this.connectorNode.style.bottom=Math.min(Math.max(v.h/2-y/2,0),E.h-y)+"px",this.connectorNode.style.top="")):(this.connectorNode.style.top="",this.connectorNode.style.bottom="");return Math.max(0,D.w-I)},_onShow:function(){b("ie")&&(this.domNode.style.filter="")},hide:function(E){this._onDeck&&this._onDeck[1]==E?this._onDeck=null:this.aroundNode===E&&(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)}});b("dojo-bidi")&&A.extend({_setAutoTextDir:function(E){this.applyTextDir(E);t.forEach(E.children,function(y){this._setAutoTextDir(y)},this)},_setTextDirAttr:function(E){this._set("textDir",E);"auto"==E?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}});p.showTooltip=
function(E,y,B,I,v,F,D){B&&(B=t.map(B,function(G){return{after:"after-centered",before:"before-centered"}[G]||G}));z._masterTT||(p._masterTT=z._masterTT=new A);return z._masterTT.show(E,y,B,I,v,F,D)};p.hideTooltip=function(E){return z._masterTT&&z._masterTT.hide(E)};var z=x("dijit.Tooltip",r,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(E){t.forEach(this._connections||[],function(y){t.forEach(y,function(B){B.remove()})},this);this._connectIds=
t.filter(d.isArrayLike(E)?E:E?[E]:[],function(y){return n.byId(y,this.ownerDocument)},this);this._connections=t.map(this._connectIds,function(y){y=n.byId(y,this.ownerDocument);var B=this.selector,I=B?function(F){return a.selector(B,F)}:function(F){return F},v=this;return[a(y,I(c.enter),function(){v._onHover(this)}),a(y,I("focusin"),function(){v._onHover(this)}),a(y,I(c.leave),d.hitch(v,"_onUnHover")),a(y,I("focusout"),d.hitch(v,"set","state","DORMANT"))]},this);this._set("connectId",E)},addTarget:function(E){E=
E.id||E;-1==t.indexOf(this._connectIds,E)&&this.set("connectId",this._connectIds.concat(E))},removeTarget:function(E){E=t.indexOf(this._connectIds,E.id||E);0<=E&&(this._connectIds.splice(E,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments);h.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var E=this.connectId;t.forEach(d.isArrayLike(E)?E:[E],this.addTarget,this)},getContent:function(E){return this.label||this.domNode.innerHTML},
state:"DORMANT",_setStateAttr:function(E){if(!(this.state==E||"SHOW TIMER"==E&&"SHOWING"==this.state||"HIDE TIMER"==E&&"DORMANT"==this.state)){this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer);this._showTimer&&(this._showTimer.remove(),delete this._showTimer);switch(E){case "DORMANT":this._connectNode&&(z.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 y=this.getContent(this._connectNode);if(!y){this.set("state","DORMANT");return}z.show(y,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",E)}},_onHover:function(E){this._connectNode&&E!=this._connectNode&&
this.set("state","DORMANT");this._connectNode=E;this.set("state","SHOW TIMER")},_onUnHover:function(E){this.set("state","HIDE TIMER")},open:function(E){this.set("state","DORMANT");this._connectNode=E;this.set("state","SHOWING")},close:function(){this.set("state","DORMANT")},onShow:function(){},onHide:function(){},destroy:function(){this.set("state","DORMANT");t.forEach(this._connections||[],function(E){t.forEach(E,function(y){y.remove()})},this);this.inherited(arguments)}});z._MasterTooltip=A;z.show=
p.showTooltip;z.hide=p.hideTooltip;z.defaultPosition=["after-centered","before-centered"];return z})},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(t,x,w,n,h){var f={};t.forEach("byId getUniqueId findWidgets _destroyAll byNode getEnclosingWidget".split(" "),function(g){f[g]=n[g]});w.mixin(f,{defaultDuration:x.defaultDuration||200});w.mixin(h,f);return h})},"dijit/form/TimeTextBox":function(){define("dojo/_base/declare dojo/keys dojo/query dojo/_base/lang ../_TimePicker ./_DateTimeTextBox".split(" "),
function(t,x,w,n,h,f){return t("dijit.form.TimeTextBox",f,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:h,_selector:"time",value:new Date(""),maxHeight:-1,openDropDown:function(g){this.inherited(arguments);var d=w(".dijitTimePickerItemSelected",this.dropDown.domNode),c=this.dropDown.domNode.parentNode;c.scrollTop=d[0]?d[0].offsetTop-(c.clientHeight-d[0].clientHeight)/2:(c.scrollHeight-c.clientHeight)/2;this.dropDown.on("input",n.hitch(this,function(){this.set("value",this.dropDown.get("value"),
!1)}))},_onInput:function(){this.inherited(arguments);var g=this.get("displayedValue");this.filterString=g&&!this.parse(g,this.constraints)?g.toLowerCase():"";this._opened&&this.closeDropDown();this.openDropDown()}})})},"dijit/_TimePicker":function(){define("dojo/_base/array dojo/date dojo/date/locale dojo/date/stamp dojo/_base/declare dojo/dom-class dojo/dom-construct dojo/_base/kernel dojo/keys dojo/_base/lang dojo/sniff dojo/query dojo/mouse dojo/on ./_WidgetBase ./form/_ListMouseMixin".split(" "),
function(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l){return h("dijit._TimePicker",[q,l],{baseClass:"dijitTimePicker",pickerMin:"T00:00:00",pickerMax:"T23:59:59",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",value:new Date,_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:n.toISOString,buildRendering:function(){this.inherited(arguments);this.timeMenu=this.containerNode=this.domNode},setValue:function(m){d.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.",
"","2.0");this.set("value",m)},_setValueAttr:function(m){this._set("value",m);this._showText()},_setFilterStringAttr:function(m){this._set("filterString",m);this._showText()},isDisabledDate:function(){return!1},_getFilteredNodes:function(m,p,u,A){m=this.ownerDocument.createDocumentFragment();for(p=0;p<this._maxIncrement;p++)(u=this._createOption(p))&&m.appendChild(u);return m},_showText:function(){var m=n.fromISOString;this.domNode.innerHTML="";this._clickableIncrementDate=m(this.clickableIncrement);
this._visibleIncrementDate=m(this.visibleIncrement);var p=function(A){return 3600*A.getHours()+60*A.getMinutes()+A.getSeconds()},u=p(this._clickableIncrementDate);p=p(this._visibleIncrementDate);(this.value||this.currentFocus).getTime();this._refDate=m(this.pickerMin);this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._visibleIncrement=p/u;m=m(this.pickerMax);m.setFullYear(1970,0,1);m=.001*(m.getTime()-this._refDate.getTime());this._maxIncrement=Math.ceil((m+1)/u);u=this._getFilteredNodes();
!u.firstChild&&this.filterString?(this.filterString="",this._showText()):this.domNode.appendChild(u)},constructor:function(){this.constraints={}},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints)},_setConstraintsAttr:function(m){for(var p in{clickableIncrement:1,visibleIncrement:1,pickerMin:1,pickerMax:1})p in m&&(this[p]=m[p]);m.locale||(m.locale=this.lang)},_createOption:function(m){var p=new Date(this._refDate),u=this._clickableIncrementDate;p.setHours(p.getHours()+
u.getHours()*m,p.getMinutes()+u.getMinutes()*m,p.getSeconds()+u.getSeconds()*m);"time"==this.constraints.selector&&p.setFullYear(1970,0,1);var A=w.format(p,this.constraints);if(this.filterString&&0!==A.toLowerCase().indexOf(this.filterString))return null;u=this.ownerDocument.createElement("div");u.className=this.baseClass+"Item";u.date=p;u.idx=m;g.create("div",{"class":this.baseClass+"ItemInner",innerHTML:A},u);A=1>m%this._visibleIncrement&&-1<m%this._visibleIncrement;m=!A&&!(m%this._clickableIncrement);
A?u.className+=" "+this.baseClass+"Marker":m&&(u.className+=" "+this.baseClass+"Tick");this.isDisabledDate(p)&&(u.className+=" "+this.baseClass+"ItemDisabled");this.value&&!x.compare(this.value,p,this.constraints.selector)&&(u.selected=!0,u.className+=" "+this.baseClass+"ItemSelected",this._selectedDiv=u,A?u.className+=" "+this.baseClass+"MarkerSelected":m&&(u.className+=" "+this.baseClass+"TickSelected"),this._highlightOption(u,!0));return u},onOpen:function(){this.inherited(arguments);this.set("selected",
this._selectedDiv)},_onOptionSelected:function(m,p){(m=m.target.date||m.target.parentNode.date)&&!this.isDisabledDate(m)&&(this._set("value",m),this.emit("input"),p&&(this._highlighted_option=null,this.set("value",m),this.onChange(m)))},onChange:function(){},_highlightOption:function(m,p){if(m){if(p)this._highlighted_option&&this._highlightOption(this._highlighted_option,!1),this._highlighted_option=m;else{if(this._highlighted_option!==m)return;this._highlighted_option=null}f.toggle(m,this.baseClass+
"ItemHover",p);f.contains(m,this.baseClass+"Marker")?f.toggle(m,this.baseClass+"MarkerHover",p):f.toggle(m,this.baseClass+"TickHover",p)}},handleKey:function(m){if(m.keyCode==c.DOWN_ARROW)return this.selectNextNode(),this._onOptionSelected({target:this._highlighted_option},!1),m.stopPropagation(),m.preventDefault(),!1;if(m.keyCode==c.UP_ARROW)return this.selectPreviousNode(),this._onOptionSelected({target:this._highlighted_option},!1),m.stopPropagation(),m.preventDefault(),!1;if(m.keyCode==c.ENTER||
m.keyCode===c.TAB){if(!this._keyboardSelected&&m.keyCode===c.TAB)return!0;this._highlighted_option&&this._onOptionSelected({target:this._highlighted_option},!0);return m.keyCode===c.TAB}},onHover:function(m){this._highlightOption(m,!0)},onUnhover:function(m){this._highlightOption(m,!1)},onSelect:function(m){this._highlightOption(m,!0)},onDeselect:function(m){this._highlightOption(m,!1)},onClick:function(m){this._onOptionSelected({target:m},!0)}})})},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare",
"dojo/on","dojo/touch","./_ListBase"],function(t,x,w,n){return t("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(h,f){this._setSelectedAttr(f,!1);this._deferredClick&&this._deferredClick.remove();this._deferredClick=
this.defer(function(){this._deferredClick=null;this.onClick(f)})},_onMouseDown:function(h,f){this._hoveredNode&&(this.onUnhover(this._hoveredNode),this._hoveredNode=null);this._isDragging=!0;this._setSelectedAttr(f,!1)},_onMouseUp:function(h,f){this._isDragging=!1;var g=this.selected,d=this._hoveredNode;g&&f==g?this.defer(function(){this._onClick(h,g)}):d&&this.defer(function(){this._onClick(h,d)})},_onMouseOut:function(h,f){this._hoveredNode&&(this.onUnhover(this._hoveredNode),this._hoveredNode=
null);this._isDragging&&(this._cancelDrag=(new Date).getTime()+1E3)},_onMouseOver:function(h,f){this._cancelDrag&&((new Date).getTime()>this._cancelDrag&&(this._isDragging=!1),this._cancelDrag=null);this._hoveredNode=f;this.onHover(f);this._isDragging&&this._setSelectedAttr(f,!1)}})})},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(t,x,w){return t("dijit.form._ListBase",null,{selected:null,_listConnect:function(n,h){var f=this;return f.own(x(f.containerNode,
x.selector(function(g,d,c){return g.parentNode==c},n),function(g){f[h](g,this)}))},selectFirstNode:function(){for(var n=this.containerNode.firstChild;n&&"none"==n.style.display;)n=n.nextSibling;this._setSelectedAttr(n,!0)},selectLastNode:function(){for(var n=this.containerNode.lastChild;n&&"none"==n.style.display;)n=n.previousSibling;this._setSelectedAttr(n,!0)},selectNextNode:function(){var n=this.selected;if(n){for(n=n.nextSibling;n&&"none"==n.style.display;)n=n.nextSibling;n?this._setSelectedAttr(n,
!0):this.selectFirstNode()}else this.selectFirstNode()},selectPreviousNode:function(){var n=this.selected;if(n){for(n=n.previousSibling;n&&"none"==n.style.display;)n=n.previousSibling;n?this._setSelectedAttr(n,!0):this.selectLastNode()}else this.selectLastNode()},_setSelectedAttr:function(n,h){if(this.selected!=n){var f=this.selected;if(f)this.onDeselect(f);n&&(h&&w.scrollIntoView(n),this.onSelect(n));this._set("selected",n)}else if(n)this.onSelect(n)}})})},"dijit/form/ComboBox":function(){define(["dojo/_base/declare",
"./ValidationTextBox","./ComboBoxMixin"],function(t,x,w){return t("dijit.form.ComboBox",[x,w],{})})},"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(t,x,w,n,h,f,g,d,c){return t("dijit.form.ComboBoxMixin",[d,f],{dropDownClass:g,hasDownArrow:!0,templateString:c,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(b){var e=new x;this.fetchItemByIdentity({identity:b,onItem:function(k){e.resolve(k)},onError:function(k){e.reject(k)}});return e.promise},query:function(b,e){var k=new x(function(){r.abort&&r.abort()});
k.total=new x;var r=this.fetch(n.mixin({query:b,onBegin:function(q){k.total.resolve(q)},onComplete:function(q){k.resolve(q)},onError:function(q){k.reject(q)}},e));return h(k)}});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(e,k){w.deprecated(b+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly",
"","2.0");return e[k]},getLabel:function(e){w.deprecated(b+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return e.name},fetch:function(e){w.deprecated(b+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");require(["dojo/data/ObjectStore"],n.hitch(this,function(k){(new k({objectStore:this})).fetch(e)}))}})}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":
"list")}})})},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(t,x,w){var n=function(h){function f(d){h[d]=function(){var c=arguments,a=w(h,function(b){Array.prototype.unshift.call(c,b);return n(t[d].apply(t,c))});if("forEach"!==d||g)return a}}if(!h)return h;var g=!!h.then;g&&(h=x.delegate(h));f("forEach");f("filter");f("map");null==h.total&&(h.total=w(h,function(d){return d.length}));return h};x.setObject("dojo.store.util.QueryResults",
n);return n})},"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(t,x,w,n,h,f,g,d,c,a,b){x=x("dijit.form._AutoCompleterMixin",b,{item:null,autoComplete:!0,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:!1,_getCaretPos:function(e){var k=0;if("number"==typeof e.selectionStart)k=e.selectionStart;else if(d("ie")){var r=
e.ownerDocument.selection.createRange().duplicate();e=e.createTextRange();r.move("character",0);e.move("character",0);try{e.setEndPoint("EndToEnd",r),k=String(e.text).replace(/\r/g,"").length}catch(q){}}return k},_setCaretPos:function(e,k){k=parseInt(k);a.selectInputText(e,k,k)},_setDisabledAttr:function(e){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",e?"true":"false")},_onKey:function(e){if(!(32<=e.charCode)){var k=e.charCode||e.keyCode;if(k!=n.ALT&&k!=n.CTRL&&k!=n.META&&k!=
n.SHIFT){var r=this.dropDown,q=null;this._abortQuery();this.inherited(arguments);if(!(e.altKey||e.ctrlKey||e.metaKey))switch(this._opened&&(q=r.getHighlightedOption()),k){case n.PAGE_DOWN:case n.DOWN_ARROW:case n.PAGE_UP:case n.UP_ARROW:this._opened&&this._announceOption(q);e.stopPropagation();e.preventDefault();break;case n.ENTER:if(q){if(q==r.nextButton){this._nextSearch(1);e.stopPropagation();e.preventDefault();break}else if(q==r.previousButton){this._nextSearch(-1);e.stopPropagation();e.preventDefault();
break}e.stopPropagation();e.preventDefault()}else this._setBlurValue(),this._setCaretPos(this.focusNode,this.focusNode.value.length);case n.TAB:k=this.get("displayedValue");if(r&&(k==r._messages.previousMessage||k==r._messages.nextMessage))break;q&&this._selectOption(q);case n.ESCAPE:this._opened&&(this._lastQuery=null,this.closeDropDown())}}}},_autoCompleteText:function(e){var k=this.focusNode;a.selectInputText(k,k.value.length);var r=this.ignoreCase?"toLowerCase":"substr";0==e[r](0).indexOf(this.focusNode.value[r](0))?
(r=this.autoComplete?this._getCaretPos(k):k.value.length,r+1>k.value.length&&(k.value=e,a.selectInputText(k,r))):(k.value=e,a.selectInputText(k))},_openResultList:function(e,k,r){var q=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();e.length||0!=r.start?(this._nextSearch=this.dropDown.onPage=h.hitch(this,function(l){e.nextPage(-1!==l);this.focus()}),this.dropDown.createOptions(e,r,h.hitch(this,"_getMenuLabelFromItem")),this._showResultList(),"direction"in r?(r.direction?this.dropDown.highlightFirstOption():
r.direction||this.dropDown.highlightLastOption(),q&&this._announceOption(this.dropDown.getHighlightedOption())):!this.autoComplete||this._prev_key_backspace||/^[*]+$/.test(k[this.searchAttr].toString())||this._announceOption(this.dropDown.containerNode.firstChild.nextSibling)):this.closeDropDown()},_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 e=this.get("displayedValue"),k=this.dropDown;!k||e!=k._messages.previousMessage&&e!=k._messages.nextMessage?"undefined"==typeof this.item?(this.item=null,this.set("displayedValue",e)):(this.value!=this._lastValueReported&&this._handleOnChange(this.value,!0),this._refreshState()):this._setValueAttr(this._lastValueReported,!0);this.focusNode.removeAttribute("aria-activedescendant")},
_setItemAttr:function(e,k,r){var q="";e&&(r||(r=this.store._oldAPI?this.store.getValue(e,this.searchAttr):e[this.searchAttr]),q=this._getValueField()!=this.searchAttr?this.store.getIdentity(e):r);this.set("value",q,k,r,e)},_announceOption:function(e){if(e){if(e==this.dropDown.nextButton||e==this.dropDown.previousButton){var k=e.innerHTML;this.item=void 0;this.value=""}else{var r=this.dropDown.items[e.getAttribute("item")];k=(this.store._oldAPI?this.store.getValue(r,this.searchAttr):r[this.searchAttr]).toString();
this.set("item",r,!1,k)}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",w.get(e,"id"));this._autoCompleteText(k)}},_selectOption:function(e){this.closeDropDown();e&&this._announceOption(e);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(e){if(!this.dropDown){var k=this.id+"_popup";this.dropDown=new (h.isString(this.dropDownClass)?h.getObject(this.dropDownClass,!1):this.dropDownClass)({onChange:h.hitch(this,this._selectOption),id:k,dir:this.dir,textDir:this.textDir})}this._lastInput=e;this.inherited(arguments)},_getValueField:function(){return this.searchAttr},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef&&(this.store=new c({},this.srcNodeRef),
!("value"in this.params))){var e=this.item=this.store.fetchSelectedItem();if(e){var k=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(e,k):e[k]}}},postCreate:function(){var e=f('label[for\x3d"'+this.id+'"]');e.length&&(e[0].id||(e[0].id=this.id+"_label"),this.domNode.setAttribute("aria-labelledby",e[0].id));this.inherited(arguments);t.after(this,"onSearch",h.hitch(this,"_openResultList"),!0)},_getMenuLabelFromItem:function(e){e=this.labelFunc(e,this.store);var k=this.labelType;
"none"!=this.highlightMatch&&"text"==this.labelType&&this._lastInput&&(e=this.doHighlight(e,this._lastInput),k="html");return{html:"html"==k,label:e}},doHighlight:function(e,k){var r=(this.ignoreCase?"i":"")+("all"==this.highlightMatch?"g":""),q=this.queryExpr.indexOf("${0}");k=g.escapeString(k);return this._escapeHtml(e.replace(new RegExp((0==q?"^":"")+"("+k+")"+(q==this.queryExpr.length-4?"$":""),r),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,'\x3cspan class\x3d"dijitComboBoxHighlightMatch"\x3e$1\x3c/span\x3e')},
_escapeHtml:function(e){return e=String(e).replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;")},reset:function(){this.item=null;this.inherited(arguments)},labelFunc:function(e,k){return(k._oldAPI?k.getValue(e,this.labelAttr||this.searchAttr):e[this.labelAttr||this.searchAttr]).toString()},_setValueAttr:function(e,k,r,q){this._set("item",q||null);null==e&&(e="");this.inherited(arguments)}});d("dojo-bidi")&&x.extend({_setTextDirAttr:function(e){this.inherited(arguments);
this.dropDown&&this.dropDown._set("textDir",e)}});return x})},"dijit/form/DataList":function(){define("dojo/_base/declare dojo/dom dojo/_base/lang dojo/query dojo/store/Memory ../registry".split(" "),function(t,x,w,n,h,f){function g(d){return{id:d.value,value:d.value,name:w.trim(d.innerText||d.textContent||"")}}return t("dijit.form.DataList",h,{constructor:function(d,c){this.domNode=x.byId(c);w.mixin(this,d);this.id&&f.add(this);this.domNode.style.display="none";this.inherited(arguments,[{data:n("option",
this.domNode).map(g)}])},destroy:function(){f.remove(this.id)},fetchSelectedItem:function(){var d=n("\x3e option[selected]",this.domNode)[0]||n("\x3e option",this.domNode)[0];return d&&g(d)}})})},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(t,x,w){return t("dojo.store.Memory",null,{constructor:function(n){for(var h in n)this[h]=n[h];this.setData(this.data||[])},data:null,idProperty:"id",index:null,queryEngine:w,get:function(n){return this.data[this.index[n]]},
getIdentity:function(n){return n[this.idProperty]},put:function(n,h){var f=this.data,g=this.index,d=this.idProperty;d=n[d]=h&&"id"in h?h.id:d in n?n[d]:Math.random();var c=f.length,a,b=d in g?"update":"add";if("update"===b){if(h&&!1===h.overwrite)throw Error("Object already exists");c=a=g[d]}h&&"before"in h?null==h.before?(h=f.length,"update"===b&&--h):(h=g[this.getIdentity(h.before)],a<h&&--h):h=c;h===a?f[h]=n:(void 0!==a&&f.splice(a,1),f.splice(h,0,n),this._rebuildIndex(void 0===a?h:Math.min(a,
h)));return d},add:function(n,h){(h=h||{}).overwrite=!1;return this.put(n,h)},remove:function(n){var h=this.index,f=this.data;if(n in h)return f.splice(h[n],1),this.index={},this._rebuildIndex(),!0},query:function(n,h){return x(this.queryEngine(n,h)(this.data))},setData:function(n){n.items?(this.idProperty=n.identifier||this.idProperty,n=this.data=n.items):this.data=n;this.index={};this._rebuildIndex()},_rebuildIndex:function(n){var h=this.data,f=h.length;for(n=n||0;n<f;n++)this.index[h[n][this.idProperty]]=
n}})})},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(t){return function(x,w){function n(f){f=t.filter(f,x);var g=w&&w.sort;g&&f.sort("function"==typeof g?g:function(c,a){for(var b,e=0;b=g[e];e++){var k=c[b.attribute],r=a[b.attribute];k=null!=k?k.valueOf():k;r=null!=r?r.valueOf():r;if(k!=r)return!!b.descending==(null==k||k>r)?-1:1}return 0});if(w&&(w.start||w.count)){var d=f.length;f=f.slice(w.start||0,(w.start||0)+(w.count||Infinity));f.total=d}return f}switch(typeof x){default:throw Error("Can not query with a "+
typeof x);case "object":case "undefined":var h=x;x=function(f){for(var g in h){var d=h[g];if(d&&d.test){if(!d.test(f[g],f))return!1}else if(d!=f[g])return!1}return!0};break;case "string":if(!this[x])throw Error("No filter function "+x+" was found in store");x=this[x];case "function":}n.matches=x;return n}})},"dijit/form/_SearchMixin":function(){define("dojo/_base/declare dojo/keys dojo/_base/lang dojo/query dojo/string dojo/when ../registry".split(" "),function(t,x,w,n,h,f,g){return t("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 new RegExp("^"+d.replace(/(\\.)|(\*)|(\?)|\W/g,function(c,a,b,e){return b?".*":e?".":a?a:"\\"+c})+"$",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;this._prev_key_backspace=!1;if(d===x.DELETE||d===x.BACKSPACE)this._maskValidSubsetError=this._prev_key_backspace=!0;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 c=this,a=w.clone(this.query),b={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:!0}},e=h.substitute(this.queryExpr,[d.replace(/([\\\*\?])/g,"\\$1")]),k=function(){var q=c._fetchHandle=c.store.query(a,b);c.disabled||c.readOnly||r!==c._lastQuery||f(q,function(l){c._fetchHandle=null;c.disabled||c.readOnly||
r!==c._lastQuery||f(q.total,function(m){l.total=m;var p=c.pageSize;if(isNaN(p)||p>l.total)p=l.total;l.nextPage=function(u){b.direction=u=!1!==u;b.count=p;u?(b.start+=l.length,b.start>=l.total&&(b.count=0)):(b.start-=p,0>b.start&&(b.count=Math.max(p+b.start,0),b.start=0));0>=b.count?(l.length=0,c.onSearch(l,a,b)):k()};c.onSearch(l,a,b)})},function(l){c._fetchHandle=null})};w.mixin(b,this.fetchProperties);if(this.store._oldAPI)var r=e;else r=this._patternToRegExp(e),r.toString=function(){return e};
this._lastQuery=a[this.searchAttr]=r;this._queryDeferHandle=this.defer(k,this.searchDelay)},constructor:function(){this.query={};this.fetchProperties={}},postMixInProperties:function(){if(!this.store){var d=this.list;d&&(this.store=g.byId(d))}this.inherited(arguments)}})})},"dijit/form/_ComboBoxMenu":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-style dojo/keys ../_WidgetBase ../_TemplatedMixin ./_ComboBoxMenuMixin ./_ListMouseMixin".split(" "),function(t,x,w,n,h,f,g,d){return t("dijit.form._ComboBoxMenu",
[h,f,d,g],{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()||(x.add(this.previousButton,"dijitMenuItemRtl"),x.add(this.nextButton,"dijitMenuItemRtl"));this.containerNode.setAttribute("role","listbox")},_createMenuItem:function(){var c=this.ownerDocument.createElement("div");c.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");c.setAttribute("role","option");return c},onHover:function(c){x.add(c,"dijitMenuItemHover")},onUnhover:function(c){x.remove(c,"dijitMenuItemHover")},onSelect:function(c){x.add(c,"dijitMenuItemSelected")},
onDeselect:function(c){x.remove(c,"dijitMenuItemSelected")},_page:function(c){var a=0,b=this.domNode.scrollTop,e=w.get(this.domNode,"height");for(this.getHighlightedOption()||this.selectNextNode();a<e;){var k=this.getHighlightedOption();if(c){if(!k.previousSibling||"none"==k.previousSibling.style.display)break;this.selectPreviousNode()}else{if(!k.nextSibling||"none"==k.nextSibling.style.display)break;this.selectNextNode()}k=this.domNode.scrollTop;a+=(k-b)*(c?-1:1);b=k}},handleKey:function(c){switch(c.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}}})})},"dijit/form/_ComboBoxMenuMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/has dojo/i18n dojo/i18n!./nls/ComboBox".split(" "),function(t,x,w,n,h){var f=x("dijit.form._ComboBoxMenuMixin"+(n("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=
h.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(g){this._set("value",g);this.onChange(g)},onClick:function(g){if(g==this.previousButton)this._setSelectedAttr(null),this.onPage(-1);else if(g==this.nextButton)this._setSelectedAttr(null),this.onPage(1);else this.onChange(g)},onChange:function(){},onPage:function(){},
onClose:function(){this._setSelectedAttr(null)},_createOption:function(g,d){var c=this._createMenuItem();g=d(g);g.html?c.innerHTML=g.label:c.appendChild(c.ownerDocument.createTextNode(g.label));""==c.innerHTML&&(c.innerHTML="\x26#160;");return c},createOptions:function(g,d,c){this.items=g;this.previousButton.style.display=0==d.start?"none":"";w.set(this.previousButton,"id",this.id+"_prev");t.forEach(g,function(b,e){b=this._createOption(b,c);b.setAttribute("item",e);w.set(b,"id",this.id+e);this.nextButton.parentNode.insertBefore(b,
this.nextButton)},this);var a=!1;g.total&&!g.total.then&&-1!=g.total?d.start+d.count<g.total?a=!0:d.start+d.count>g.total&&d.count==g.length&&(a=!0):d.count==g.length&&(a=!0);this.nextButton.style.display=a?"":"none";w.set(this.nextButton,"id",this.id+"_next")},clearResultList:function(){for(var g=this.containerNode;2<g.childNodes.length;)g.removeChild(g.childNodes[g.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")&&(f=x("dijit.form._ComboBoxMenuMixin",f,{_createOption:function(){var g=this.inherited(arguments);this.applyTextDir(g);return g}}));return f})},"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(t,x,w,n,h,f,g,d,c){n("dijit-legacy-requires")&&f(0,function(){t(["dijit/form/RadioButton"])});return x("dijit.form.CheckBox",[g,d],{templateString:c,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&&h("label[for\x3d'"+this.id+"']").addClass("dijitFocusedLabel");this.inherited(arguments)},_onBlur:function(){this.id&&h("label[for\x3d'"+this.id+"']").removeClass("dijitFocusedLabel");this.inherited(arguments)}})})},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(t,x,w,n){return t("dijit.form.ToggleButton",[w,n],{baseClass:"dijitToggleButton",setChecked:function(h){x.deprecated("setChecked("+
h+") is deprecated. Use set('checked',"+h+") instead.","","2.0");this.set("checked",h)}})})},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(t,x){return t("dijit.form._ToggleButtonMixin",null,{checked:!1,_aria_attr:"aria-pressed",_onClick:function(w){var n=this.checked;this._set("checked",!n);var h=this.inherited(arguments);this.set("checked",h?this.checked:n);return h},_setCheckedAttr:function(w,n){this._set("checked",w);var h=this.focusNode||this.domNode;
this._created&&x.get(h,"checked")!=!!w&&x.set(h,"checked",!!w);h.setAttribute(this._aria_attr,String(w));this._handleOnChange(w,n)},postCreate:function(){this.inherited(arguments);var w=this.focusNode||this.domNode;this.checked&&w.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/form/_CheckBoxMixin":function(){define(["dojo/_base/declare",
"dojo/dom-attr"],function(t,x){return t("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:!1,_aria_attr:"aria-checked",_setReadOnlyAttr:function(w){this._set("readOnly",w);x.set(this.focusNode,"readOnly",w)},_setLabelAttr:void 0,_getSubmitValue:function(w){return null==w||""===w?"on":w},_setValueAttr:function(w){w=this._getSubmitValue(w);this._set("value",w);x.set(this.focusNode,"value",w)},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));
x.set(this.focusNode,"value",this.value)},_onClick:function(w){return this.readOnly?(w.stopPropagation(),w.preventDefault(),!1):this.inherited(arguments)}})})},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/keys","./_Spinner","./NumberTextBox"],function(t,x,w,n){return t("dijit.form.NumberSpinner",[w,n.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(h,f){var g=this.constraints,d=isNaN(h),c=!isNaN(g.max),a=!isNaN(g.min);d&&0!=f&&(h=0<f?a?g.min:
c?g.max:0:c?this.constraints.max:a?g.min:0);f=h+f;if(d||isNaN(f))return h;c&&f>g.max&&(f=g.max);a&&f<g.min&&(f=g.min);return f},_onKeyDown:function(h){if(!(this.disabled||this.readOnly||h.keyCode!=x.HOME&&h.keyCode!=x.END||h.ctrlKey||h.altKey||h.metaKey||"undefined"==typeof this.get("value"))){var f=this.constraints[h.keyCode==x.HOME?"min":"max"];"number"==typeof f&&this._setValueAttr(f,!1);h.stopPropagation();h.preventDefault()}}})})},"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(t,x,w,n,h,f,g,d,c,a){return t("dijit.form._Spinner",d,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:.9,smallDelta:1,largeDelta:10,templateString:c,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{upArrowNode:"dijitUpArrowButton",downArrowNode:"dijitDownArrowButton"},adjust:function(b){return b},_arrowPressed:function(b,e,k){this.disabled||this.readOnly||(this._setValueAttr(this.adjust(this.get("value"),e*k),!1),a.selectInputText(this.textbox,this.textbox.value.length))},_arrowReleased:function(){this._wheelTimer=
null},_typematicCallback:function(b,e,k){var r=this.smallDelta;e==this.textbox&&(e=k.keyCode,r=e==x.PAGE_UP||e==x.PAGE_DOWN?this.largeDelta:this.smallDelta,e=e==x.UP_ARROW||e==x.PAGE_UP?this.upArrowNode:this.downArrowNode);-1==b?this._arrowReleased(e):this._arrowPressed(e,e==this.upArrowNode?1:-1,r)},_wheelTimer:null,_mouseWheeled:function(b){if(this.focused){b.stopPropagation();b.preventDefault();var e=b.wheelDelta/120;Math.floor(e)!=e&&(e=0<b.wheelDelta?1:-1);b=b.detail?-1*b.detail:e;if(0!==b){var k=
this[0<b?"upArrowNode":"downArrowNode"];this._arrowPressed(k,b,this.smallDelta);this._wheelTimer&&this._wheelTimer.remove();this._wheelTimer=this.defer(function(){this._arrowReleased(k)},50)}}},_setConstraintsAttr:function(b){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(b,e){this.focusNode.setAttribute("aria-valuenow",b);this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this.own(f(this.domNode,h.wheel,w.hitch(this,"_mouseWheeled")),g.addListener(this.upArrowNode,this.textbox,{keyCode:x.UP_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),g.addListener(this.downArrowNode,this.textbox,
{keyCode:x.DOWN_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),g.addListener(this.upArrowNode,this.textbox,{keyCode:x.PAGE_UP,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),g.addListener(this.downArrowNode,this.textbox,{keyCode:x.PAGE_DOWN,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,
this.defaultTimeout,this.minimumTimeout))}})})},"dijit/typematic":function(){define("dojo/_base/array dojo/_base/connect dojo/_base/lang dojo/on dojo/sniff ./main".split(" "),function(t,x,w,n,h,f){var g=f.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(w.hitch(this,"_fireEventAndReload"),this._currentTimeout)},trigger:function(d,c,a,b,e,k,r,q){if(e!=this._obj){this.stop();this._initialDelay=r||500;this._subsequentDelay=k||.9;this._minDelay=q||10;this._obj=e;this._node=a;this._count=this._currentTimeout=-1;this._callback=w.hitch(c,b);this._evt={faux:!0};for(var l in d)"layerX"!=l&&"layerY"!=l&&(c=d[l],"function"!=typeof c&&"undefined"!=typeof c&&(this._evt[l]=c));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,c,a,b,e,k,r){var q="keyCode"in c?"keyCode":"charCode"in c?"charCode":"charOrCode",l=[n(d,"keyCode"in c?"keydown":"charCode"in c?"keypress":x._keypress,w.hitch(this,function(m){m[q]!=c[q]||void 0!==c.ctrlKey&&c.ctrlKey!=m.ctrlKey||void 0!==c.altKey&&c.altKey!=m.altKey||void 0!==c.metaKey&&c.metaKey!=(m.metaKey||!1)||void 0!==c.shiftKey&&c.shiftKey!=m.shiftKey?g._obj==c&&g.stop():(m.stopPropagation(),
m.preventDefault(),g.trigger(m,a,d,b,c,e,k,r))})),n(d,"keyup",w.hitch(this,function(){g._obj==c&&g.stop()}))];return{remove:function(){t.forEach(l,function(m){m.remove()})}}},addMouseListener:function(d,c,a,b,e,k){var r=[n(d,"mousedown",w.hitch(this,function(q){q.preventDefault();g.trigger(q,c,d,a,d,b,e,k)})),n(d,"mouseup",w.hitch(this,function(q){this._obj&&q.preventDefault();g.stop()})),n(d,"mouseout",w.hitch(this,function(q){this._obj&&q.preventDefault();g.stop()})),n(d,"dblclick",w.hitch(this,
function(q){q.preventDefault();9>h("ie")&&(g.trigger(q,c,d,a,d,b,e,k),setTimeout(w.hitch(this,g.stop),50))}))];return{remove:function(){t.forEach(r,function(q){q.remove()})}}},addListener:function(d,c,a,b,e,k,r,q){var l=[this.addKeyListener(c,a,b,e,k,r,q),this.addMouseListener(d,b,e,k,r,q)];return{remove:function(){t.forEach(l,function(m){m.remove()})}}}};return g})},"dijit/form/NumberTextBox":function(){define("dojo/_base/declare dojo/_base/lang dojo/i18n dojo/string dojo/number ./RangeBoundTextBox".split(" "),
function(t,x,w,n,h,f){var g=function(c){c=c||{};var a=w.getLocalization("dojo.cldr","number",w.normalizeLocale(c.locale)),b=c.pattern?c.pattern:a[(c.type||"decimal")+"Format"];c="number"==typeof c.places?c.places:"string"===typeof c.places&&0<c.places.length?c.places.replace(/.*,/,""):-1!=b.indexOf(".")?b.split(".")[1].replace(/[^#0]/g,"").length:0;return{sep:a.decimal,places:c}},d=t("dijit.form.NumberTextBoxMixin",null,{pattern:function(c){return"("+(this.focused&&this.editOptions?this._regExpGenerator(x.delegate(c,
this.editOptions))+"|":"")+this._regExpGenerator(c)+")"},value:NaN,editOptions:{pattern:"#.######"},_formatter:h.format,_regExpGenerator:h.regexp,_decimalInfo:g(),postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},_setConstraintsAttr:function(c){var a="number"==typeof c.places?c.places:0;a&&a++;"number"!=typeof c.max&&(c.max=9*Math.pow(10,15-a));"number"!=typeof c.min&&(c.min=-9*Math.pow(10,15-a));this.inherited(arguments,[c]);this.focusNode&&this.focusNode.value&&
!isNaN(this.value)&&this.set("value",this.value);this._decimalInfo=g(c)},_onFocus:function(c){if(!this.disabled&&!this.readOnly){var a=this.get("value");"number"!=typeof a||isNaN(a)||(a=this.format(a,this.constraints),void 0!==a&&(this.textbox.value=a,"mouse"!==c&&this.textbox.select()));this.inherited(arguments)}},format:function(c,a){var b=String(c);if("number"!=typeof c)return b;if(isNaN(c))return"";if(!("rangeCheck"in this&&this.rangeCheck(c,a))&&!1!==a.exponent&&/\de[-+]?\d/i.test(b))return b;
this.editOptions&&this.focused&&(a=x.mixin({},a,this.editOptions));return this._formatter(c,a)},_parser:h.parse,parse:function(c,a){var b=x.mixin({},a,this.editOptions&&this.focused?this.editOptions:{});if(this.focused&&null!=b.places){var e=b.places;e="number"===typeof e?e:Number(e.split(",").pop());b.places="0,"+e}b=this._parser(c,b);this.editOptions&&this.focused&&isNaN(b)&&(b=this._parser(c,a));return b},_getDisplayedValueAttr:function(){var c=this.inherited(arguments);return isNaN(c)?this.textbox.value:
c},filter:function(c){if(null==c||"string"==typeof c&&""==c)return NaN;"number"!=typeof c||isNaN(c)||0==c||(c=h.round(c,this._decimalInfo.places));return this.inherited(arguments,[c])},serialize:function(c,a){return"number"!=typeof c||isNaN(c)?"":this.inherited(arguments)},_setBlurValue:function(){var c=x.hitch(x.delegate(this,{focused:!0}),"get")("value");this._setValueAttr(c,!0)},_setValueAttr:function(c,a,b){if(void 0!==c&&void 0===b)if(b=String(c),"number"==typeof c)if(isNaN(c))b="";else{if("rangeCheck"in
this&&this.rangeCheck(c,this.constraints)||!1===this.constraints.exponent||!/\de[-+]?\d/i.test(b))b=void 0}else c?c=void 0:(b="",c=NaN);this.inherited(arguments,[c,a,b])},_getValueAttr:function(){var c=this.inherited(arguments);if(isNaN(c)&&""!==this.textbox.value){if(!1!==this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+h._realNumberRegexp(x.delegate(this.constraints))+"$")).test(this.textbox.value))return c=Number(this.textbox.value),isNaN(c)?void 0:c}else return c},
isValid:function(c){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 c="number"==typeof this.constraints.min,a="number"==typeof this.constraints.max,b=this.get("value");if(isNaN(b)||!c&&!a)return this.inherited(arguments);var e=b|0,k=0>b,r=-1!=this.textbox.value.indexOf(this._decimalInfo.sep),
q=(this.maxLength||20)-this.textbox.value.length,l=r?this.textbox.value.split(this._decimalInfo.sep)[1].replace(/[^0-9]/g,""):"";e=r?e+"."+l:e+"";q=n.rep("9",q);r=b;k?r=Number(e+q):b=Number(e+q);return!(c&&b<this.constraints.min||a&&r>this.constraints.max)}});t=t("dijit.form.NumberTextBox",[f,d],{baseClass:"dijitTextBox dijitNumberTextBox"});t.Mixin=d;return t})},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(t,x,w,n,h){var f={};
t.setObject("dojo.number",f);f.format=function(d,c){c=t.mixin({},c||{});var a=x.normalizeLocale(c.locale);a=x.getLocalization("dojo.cldr","number",a);c.customs=a;a=c.pattern||a[(c.type||"decimal")+"Format"];return isNaN(d)||Infinity==Math.abs(d)?null:f._applyPattern(d,a,c)};f._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;f._applyPattern=function(d,c,a){a=a||{};var b=a.customs.group,e=a.customs.decimal;c=c.split(";");var k=c[0];c=c[0>d?1:0]||"-"+k;if(-1!=c.indexOf("%"))d*=100;else if(-1!=c.indexOf("\u2030"))d*=
1E3;else if(-1!=c.indexOf("\u00a4"))b=a.customs.currencyGroup||b,e=a.customs.currencyDecimal||e,c=c.replace(/([\s\xa0\u202f]*)(\u00a4{1,3})([\s\xa0\u202f]*)/,function(q,l,m,p){return(q=a[["symbol","currency","displayName"][m.length-1]]||a.currency||"")?l+q+p:""});else if(-1!=c.indexOf("E"))throw Error("exponential notation not supported");var r=f._numberPatternRE;k=k.match(r);if(!k)throw Error("unable to find a number expression in pattern: "+c);!1===a.fractional&&(a.places=0);return c.replace(r,
f._formatAbsolute(d,k[0],{decimal:e,group:b,places:a.places,round:a.round}))};f.round=function(d,c,a){a=10/(a||10);return(a*+d).toFixed(c)/a};if(0==(.9).toFixed()){var g=f.round;f.round=function(d,c,a){var b=Math.pow(10,-c||0),e=Math.abs(d);if(!d||e>=b)b=0;else if(e/=b,.5>e||.95<=e)b=0;return g(d,c,a)+(0<d?b:-b)}}f._formatAbsolute=function(d,c,a){a=a||{};!0===a.places&&(a.places=0);Infinity===a.places&&(a.places=6);c=c.split(".");var b="string"==typeof a.places&&a.places.indexOf(","),e=a.places;b?
e=a.places.substring(b+1):0<=e||(e=(c[1]||[]).length);0>a.round||(d=f.round(d,e,a.round));d=String(Math.abs(d)).split(".");var k=d[1]||"";c[1]||a.places?(b&&(a.places=a.places.substring(0,b)),b=void 0!==a.places?a.places:c[1]&&c[1].lastIndexOf("0")+1,b>k.length&&(d[1]=n.pad(k,b,"0",!0)),e<k.length&&(d[1]=k.substr(0,e))):d[1]&&d.pop();e=c[0].replace(",","");b=e.indexOf("0");-1!=b&&(b=e.length-b,b>d[0].length&&(d[0]=n.pad(d[0],b)),-1==e.indexOf("#")&&(d[0]=d[0].substr(d[0].length-b)));e=c[0].lastIndexOf(",");
var r;if(-1!=e){var q=c[0].length-e-1;c=c[0].substr(0,e);e=c.lastIndexOf(",");-1!=e&&(r=c.length-e-1)}c=[];for(e=d[0];e;)b=e.length-q,c.push(0<b?e.substr(b):e),e=0<b?e.slice(0,b):"",r&&(q=r,r=void 0);d[0]=c.reverse().join(a.group||",");return d.join(a.decimal||".")};f.regexp=function(d){return f._parseInfo(d).regexp};f._parseInfo=function(d){d=d||{};var c=x.normalizeLocale(d.locale);c=x.getLocalization("dojo.cldr","number",c);var a=d.pattern||c[(d.type||"decimal")+"Format"],b=c.group,e=c.decimal,
k=1;if(-1!=a.indexOf("%"))k/=100;else if(-1!=a.indexOf("\u2030"))k/=1E3;else{var r=-1!=a.indexOf("\u00a4");r&&(b=c.currencyGroup||b,e=c.currencyDecimal||e)}c=a.split(";");1==c.length&&c.push("-"+c[0]);c=h.buildGroupRE(c,function(q){q="(?:"+h.escapeString(q,".")+")";return q.replace(f._numberPatternRE,function(l){var m={signed:!1,separator:d.strict?b:[b,""],fractional:d.fractional,decimal:e,exponent:!1};l=l.split(".");var p=d.places;1==l.length&&1!=k&&(l[1]="###");1==l.length||0===p?m.fractional=!1:
(void 0===p&&(p=d.pattern?l[1].lastIndexOf("0")+1:Infinity),p&&void 0==d.fractional&&(m.fractional=!0),!d.places&&p<l[1].length&&(p+=","+l[1].length),m.places=p);l=l[0].split(",");1<l.length&&(m.groupSize=l.pop().length,1<l.length&&(m.groupSize2=l.pop().length));return"("+f._realNumberRegexp(m)+")"})},!0);r&&(c=c.replace(/([\s\xa0\u202f]*)(\u00a4{1,3})([\s\xa0\u202f]*)/g,function(q,l,m,p){q=h.escapeString(d[["symbol","currency","displayName"][m.length-1]]||d.currency||"");if(!q)return"";l=l?"[\\s\\xa0\\u202f]":
"";p=p?"[\\s\\xa0\\u202f]":"";return d.strict?l+q+p:(l&&(l+="*"),p&&(p+="*"),"(?:"+l+q+p+")?")}));return{regexp:c.replace(/[\xa0\u202f ]/g,"[\\s\\xa0\\u202f]"),group:b,decimal:e,factor:k}};f.parse=function(d,c){c=f._parseInfo(c);d=(new RegExp("^"+c.regexp+"$")).exec(d);if(!d)return NaN;var a=d[1];if(!d[1]){if(!d[2])return NaN;a=d[2];c.factor*=-1}a=a.replace(new RegExp("["+c.group+"\\s\\xa0\\u202f]","g"),"").replace(c.decimal,".");return a*c.factor};f._realNumberRegexp=function(d){d=d||{};"places"in
d||(d.places=Infinity);"string"!=typeof d.decimal&&(d.decimal=".");"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 c=f._integerRegexp(d),a=h.buildGroupRE(d.fractional,function(e){var k="";e&&0!==d.places&&(k="\\"+d.decimal,k=Infinity==d.places?"(?:"+k+"\\d+)?":k+("\\d{"+d.places+"}"));return k},!0),b=h.buildGroupRE(d.exponent,function(e){return e?"([eE]"+f._integerRegexp({signed:d.eSigned})+")":""});c+=a;a&&
(c="(?:(?:"+c+")|(?:"+a+"))");return c+b};f._integerRegexp=function(d){d=d||{};"signed"in d||(d.signed=[!0,!1]);"separator"in d?"groupSize"in d||(d.groupSize=3):d.separator="";var c=h.buildGroupRE(d.signed,function(b){return b?"[-+]":""},!0),a=h.buildGroupRE(d.separator,function(b){if(!b)return"(?:\\d+)";b=h.escapeString(b);" "==b?b="\\s":"\u00a0"==b?b="\\s\\xa0":"\u202f"==b&&(b="\\s\\u202f");var e=d.groupSize,k=d.groupSize2;return k?(b="(?:0|[1-9]\\d{0,"+(k-1)+"}(?:["+b+"]\\d{"+k+"})*["+b+"]\\d{"+
e+"})",0<e-k?"(?:"+b+"|(?:0|[1-9]\\d{0,"+(e-1)+"}))":b):"(?:0|[1-9]\\d{0,"+(e-1)+"}(?:["+b+"]\\d{"+e+"})*)"},!0);return c+a};return f})},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(t,x,w,n){return x("dijit.form.CurrencyTextBox",n,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",_formatter:t.format,_parser:t.parse,_regExpGenerator:t.regexp,parse:function(h,f){var g=this.inherited(arguments);isNaN(g)&&/\d+/.test(h)&&
(g=w.hitch(w.delegate(this,{_parser:n.prototype._parser}),"inherited")(arguments));return g},_setConstraintsAttr:function(h){!h.currency&&this.currency&&(h.currency=this.currency);this.inherited(arguments,[t._mixInDefaults(w.mixin(h,{exponent:!1}))])}})})},"dojo/currency":function(){define("./_base/array ./_base/lang ./number ./i18n ./i18n!./cldr/nls/currency ./cldr/monetary".split(" "),function(t,x,w,n,h,f){var g={};x.setObject("dojo.currency",g);g._mixInDefaults=function(d){d=d||{};d.type="currency";
var c=n.getLocalization("dojo.cldr","currency",d.locale)||{},a=d.currency,b=f.getData(a);t.forEach(["displayName","symbol","group","decimal"],function(e){b[e]=c[a+"_"+e]});b.fractional=[!0,!1];return x.mixin(b,d)};g.format=function(d,c){return w.format(d,g._mixInDefaults(c))};g.regexp=function(d){return w.regexp(g._mixInDefaults(d))};g.parse=function(d,c){return w.parse(d,g._mixInDefaults(c))};return g})},"dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(t,x){t={};
x.setObject("dojo.cldr.monetary",t);t.getData=function(w){var n={ADP:0,AFN:0,ALL:0,AMD:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,COP:2,CRC:0,DJF:0,ESP:0,GNF:0,GYD:0,HUF:0,IDR:0,IQD:0,IRR:3,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:0,MRO:0,MUR:0,OMR:3,PKR:2,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TZS:0,UGX:0,UZS:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0}[w];w={}[w];"undefined"==typeof n&&(n=2);"undefined"==typeof w&&(w=0);return{places:n,
round:w}};return t})},"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(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m,p,u,A,z){var E=x("dijit.form._SliderMover",b,{onMouseMove:function(y){var B=
this.widget,I=B._abspos;I||(I=B._abspos=h.position(B.sliderBarContainer,!0),B._setPixelValue_=d.hitch(B,"_setPixelValue"),B._isReversed_=B._isReversed());y=y[B._mousePixelCoord]-I[B._startingPixelCoord];B._setPixelValue_(B._isReversed_?I[B._pixelCount]-y:y,I[B._pixelCount],!1)},destroy:function(y){b.prototype.destroy.apply(this,arguments);var B=this.widget;B._abspos=null;B._setValueAttr(B.value,!0)}});w=x("dijit.form.HorizontalSlider",[u,A],{templateString:z,value:0,showButtons:!0,minimum:0,maximum:100,
discreteValues:Infinity,pageIncrement:2,clickSelect:!0,slideDuration:q.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(y){this.disabled||this.readOnly||y.altKey||y.ctrlKey||y.metaKey||this._setValueAttr(this.value,
!0)},_onKeyDown:function(y){if(!(this.disabled||this.readOnly||y.altKey||y.ctrlKey||y.metaKey)){switch(y.keyCode){case g.HOME:this._setValueAttr(this.minimum,!1);break;case g.END:this._setValueAttr(this.maximum,!1);break;case this._descending||this.isLeftToRight()?g.RIGHT_ARROW:g.LEFT_ARROW:case !1===this._descending?g.DOWN_ARROW:g.UP_ARROW:case !1===this._descending?g.PAGE_DOWN:g.PAGE_UP:this.increment(y);break;case this._descending||this.isLeftToRight()?g.LEFT_ARROW:g.RIGHT_ARROW:case !1===this._descending?
g.UP_ARROW:g.DOWN_ARROW:case !1===this._descending?g.PAGE_UP:g.PAGE_DOWN:this.decrement(y);break;default:return}y.stopPropagation();y.preventDefault()}},_onHandleClick:function(y){this.disabled||this.readOnly||(c("ie")||l.focus(this.sliderHandle),y.stopPropagation(),y.preventDefault())},_isReversed:function(){return!this.isLeftToRight()},_onBarClick:function(y){if(!this.disabled&&!this.readOnly&&this.clickSelect){l.focus(this.sliderHandle);y.stopPropagation();y.preventDefault();var B=h.position(this.sliderBarContainer,
!0),I=y[this._mousePixelCoord]-B[this._startingPixelCoord];this._setPixelValue(this._isReversed()?B[this._pixelCount]-I:I,B[this._pixelCount],!0);this._movable.onMouseDown(y)}},_setPixelValue:function(y,B,I){if(!this.disabled&&!this.readOnly){var v=this.discreteValues;if(1>=v||Infinity==v)v=B;v--;this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*Math.round(y/(B/v))/v+this.minimum,this.maximum),this.minimum),I)}},_setValueAttr:function(y,B){this._set("value",y);this.valueNode.value=
y;this.focusNode.setAttribute("aria-valuenow",y);this.inherited(arguments);var I=this.maximum>this.minimum?(y-this.minimum)/(this.maximum-this.minimum):0,v=!1===this._descending?this.remainingBar:this.progressBar,F=!1===this._descending?this.progressBar:this.remainingBar;this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);if(B&&0<this.slideDuration&&v.style[this._progressPixelSize]){var D=this,G={},J=parseFloat(v.style[this._progressPixelSize]),C=this.slideDuration*
(I-J/100);0!=C&&(0>C&&(C=0-C),G[this._progressPixelSize]={start:J,end:100*I,units:"%"},this._inProgressAnim=n.animateProperty({node:v,duration:C,onAnimate:function(H){F.style[D._progressPixelSize]=100-parseFloat(H[D._progressPixelSize])+"%"},onEnd:function(){delete D._inProgressAnim},properties:G}),this._inProgressAnim.play())}else v.style[this._progressPixelSize]=100*I+"%",F.style[this._progressPixelSize]=100*(1-I)+"%"},_bumpValue:function(y,B){if(!(this.disabled||this.readOnly||this.maximum<=this.minimum)){var I=
f.getComputedStyle(this.sliderBarContainer),v=h.getContentBox(this.sliderBarContainer,I);I=this.discreteValues;if(1>=I||Infinity==I)I=v[this._pixelCount];I--;y=Math.round((this.value-this.minimum)*I/(this.maximum-this.minimum))+y;0>y&&(y=0);y>I&&(y=I);y=y*(this.maximum-this.minimum)/I+this.minimum;this._setValueAttr(y,B)}},_onClkBumper:function(y){this.disabled||this.readOnly||!this.clickSelect||this._setValueAttr(y,!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(y){this._bumpValue(y.keyCode==g.PAGE_DOWN?-this.pageIncrement:-1)},increment:function(y){this._bumpValue(y.keyCode==g.PAGE_UP?this.pageIncrement:1)},_mouseWheeled:function(y){this.focused&&(y.stopPropagation(),y.preventDefault(),this._bumpValue(0>y.wheelDelta?-1:1,!0))},startup:function(){this._started||(t.forEach(this.getChildren(),function(y){this[y.container]!=this.containerNode&&
this[y.container].appendChild(y.domNode)},this),this.inherited(arguments))},_typematicCallback:function(y,B,I){if(-1==y)this._setValueAttr(this.value,!0);else this[B==(this._descending?this.incrementButton:this.decrementButton)?"decrement":"increment"](I)},buildRendering:function(){this.inherited(arguments);this.showButtons&&(this.incrementButton.style.display="",this.decrementButton.style.display="");var y=e('label[for\x3d"'+this.id+'"]');y.length&&(y[0].id||(y[0].id=this.id+"_label"),this.focusNode.setAttribute("aria-labelledby",
y[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(m.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),m.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));this.own(r(this.domNode,k.wheel,d.hitch(this,"_mouseWheeled")));var y=x(E,{widget:this});this._movable=new a(this.sliderHandle,{mover:y});this._layoutHackIE7()},
destroy:function(){this._movable.destroy();this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);this.inherited(arguments)}});w._Mover=E;return w})},"dojo/dnd/move":function(){define("../_base/declare ../dom-geometry ../dom-style ./common ./Mover ./Moveable".split(" "),function(t,x,w,n,h,f){n=t("dojo.dnd.move.constrainedMoveable",f,{constraints:function(){},within:!1,constructor:function(g,d){d||(d={});this.constraints=d.constraints;this.within=d.within},onFirstMove:function(g){var d=
this.constraintBox=this.constraints.call(this,g);d.r=d.l+d.w;d.b=d.t+d.h;this.within&&(g=x.getMarginSize(g.node),d.r-=g.w,d.b-=g.h)},onMove:function(g,d){var c=this.constraintBox,a=g.node.style;this.onMoving(g,d);d.l=d.l<c.l?c.l:c.r<d.l?c.r:d.l;d.t=d.t<c.t?c.t:c.b<d.t?c.b:d.t;a.left=d.l+"px";a.top=d.t+"px";this.onMoved(g,d)}});h=t("dojo.dnd.move.boxConstrainedMoveable",n,{box:{},constructor:function(g,d){var c=d&&d.box;this.constraints=function(){return c}}});t=t("dojo.dnd.move.parentConstrainedMoveable",
n,{area:"content",constructor:function(g,d){var c=d&&d.area;this.constraints=function(){var a=this.node.parentNode,b=w.getComputedStyle(a),e=x.getMarginBox(a,b);if("margin"==c)return e;var k=x.getMarginExtents(a,b);e.l+=k.l;e.t+=k.t;e.w-=k.w;e.h-=k.h;if("border"==c)return e;k=x.getBorderExtents(a,b);e.l+=k.l;e.t+=k.t;e.w-=k.w;e.h-=k.h;if("padding"==c)return e;k=x.getPadExtents(a,b);e.l+=k.l;e.t+=k.t;e.w-=k.w;e.h-=k.h;return e}}});return{constrainedMoveable:n,boxConstrainedMoveable:h,parentConstrainedMoveable:t}})},
"dijit/Editor":function(){define("require dojo/_base/array dojo/_base/declare dojo/Deferred dojo/i18n dojo/dom-attr dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/keys dojo/_base/lang dojo/sniff dojo/string dojo/topic ./_Container ./Toolbar ./ToolbarSeparator ./layout/_LayoutWidget ./form/ToggleButton ./_editor/_Plugin ./_editor/plugins/EnterKeyHandling ./_editor/html ./_editor/range ./_editor/RichText ./main dojo/i18n!./_editor/nls/commands".split(" "),function(t,x,w,n,h,f,g,d,c,a,b,e,k,r,
q,l,m,p,u,A,z,E,y,B,I){function v(D){return new A({command:D.name})}function F(D){return new A({buttonClass:u,command:D.name})}w=w("dijit.Editor",B,{plugins:null,extraPlugins:null,constructor:function(){b.isArray(this.plugins)||(this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull",z]);this._plugins=[];this._editInterval=1E3*
this.editActionInterval;if(e("ie")||e("trident")||e("edge"))this.events.push("onBeforeDeactivate"),this.events.push("onBeforeActivate")},postMixInProperties:function(){this.setValueDeferred=new n;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);b.isArray(this.extraPlugins)&&(this.plugins=this.plugins.concat(this.extraPlugins));this.commands=h.getLocalization("dijit._editor","commands",this.lang);
e("webkit")&&c.set(this.domNode,"KhtmlUserSelect","none")},startup:function(){this.inherited(arguments);this.toolbar||(this.toolbar=new l({ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,"aria-label":this.id}),this.header.appendChild(this.toolbar.domNode));x.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.resolve(!0);g.add(this.iframe.parentNode,"dijitEditorIFrameContainer");g.add(this.iframe,"dijitEditorIFrame");f.set(this.iframe,"allowTransparency",!0);this.toolbar.startup();
this.onNormalizedDisplayChanged()},destroy:function(){x.forEach(this._plugins,function(D){D&&D.destroy&&D.destroy()});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments)},addPlugin:function(D,G){var J=b.isString(D)?{name:D}:b.isFunction(D)?{ctor:D}:D;if(!J.setEditor){var C={args:J,plugin:null,editor:this};J.name&&(A.registry[J.name]?C.plugin=A.registry[J.name](J):r.publish(I._scopeName+".Editor.getPlugin",C));if(!C.plugin)try{var H=J.ctor||b.getObject(J.name)||
t(J.name);H&&(C.plugin=new H(J))}catch(M){throw Error(this.id+": cannot find plugin ["+J.name+"]");}if(!C.plugin)throw Error(this.id+": cannot find plugin ["+J.name+"]");D=C.plugin}1<arguments.length?this._plugins[G]=D:this._plugins.push(D);D.setEditor(this);b.isFunction(D.setToolbar)&&D.setToolbar(this.toolbar)},resize:function(D){D&&p.prototype.resize.apply(this,arguments)},layout:function(){var D=this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+d.getPadBorderExtents(this.iframe.parentNode).h+
d.getMarginExtents(this.iframe.parentNode).h);this.editingArea.style.height=D+"px";this.iframe&&(this.iframe.style.height="100%");this._layoutMode=!0},_onIEMouseDown:function(D){var G,J=this.document.body,C=J.clientWidth,H=J.clientHeight,M=J.clientLeft,L=J.offsetWidth,N=J.offsetHeight,O=J.offsetLeft;/^rtl$/i.test(J.dir||"")?C<L&&D.x>C&&D.x<L&&(G=!0):D.x<M&&D.x>O&&(G=!0);G||H<N&&D.y>H&&D.y<N&&(G=!0);G||(delete this._cursorToStart,delete this._savedSelection,"BODY"==D.target.tagName&&this.defer("placeCursorAtEnd"),
this.inherited(arguments))},onBeforeActivate:function(){this._restoreSelection()},onBeforeDeactivate:function(D){this.customUndo&&this.endEditing(!0);"BODY"!=D.target.tagName&&this._saveSelection()},customUndo:!0,editActionInterval:3,beginEditing:function(D){this._inEditing||(this._inEditing=!0,this._beginEditing(D));0<this.editActionInterval&&(this._editTimer&&this._editTimer.remove(),this._editTimer=this.defer("endEditing",this._editInterval))},_steps:[],_undoedSteps:[],execCommand:function(D){if(!this.customUndo||
"undo"!=D&&"redo"!=D){this.customUndo&&(this.endEditing(),this._beginEditing());var G=this.inherited(arguments);this.customUndo&&this._endEditing();return G}return this[D]()},_pasteImpl:function(){return this._clipboardCommand("paste")},_cutImpl:function(){return this._clipboardCommand("cut")},_copyImpl:function(){return this._clipboardCommand("copy")},_clipboardCommand:function(D){try{var G=this.document.execCommand(D,!1,null);if(e("webkit")&&!G)throw{};}catch(J){G=k.substitute,alert(G(this.commands.systemShortcut,
[this.commands[D],G(this.commands[e("mac")?"appleKey":"ctrlKey"],[{cut:"X",copy:"C",paste:"V"}[D]])])),G=!1}return G},queryCommandEnabled:function(D){return!this.customUndo||"undo"!=D&&"redo"!=D?this.inherited(arguments):"undo"==D?1<this._steps.length:0<this._undoedSteps.length},_moveToBookmark:function(D){var G=D.mark,J=D.mark;D=D.isCollapsed;var C;if(J)if(9>e("ie")||9===e("ie")&&e("quirks"))if(b.isArray(J))G=[],x.forEach(J,function(L){G.push(y.getNode(L,this.editNode))},this),this.selection.moveToBookmark({mark:G,
isCollapsed:D});else{if(J.startContainer&&J.endContainer&&(C=y.getSelection(this.window))&&C.removeAllRanges){C.removeAllRanges();D=y.create(this.window);var H=y.getNode(J.startContainer,this.editNode);var M=y.getNode(J.endContainer,this.editNode);H&&M&&(D.setStart(H,J.startOffset),D.setEnd(M,J.endOffset),C.addRange(D))}}else(C=y.getSelection(this.window))&&C.removeAllRanges&&(C.removeAllRanges(),D=y.create(this.window),H=y.getNode(J.startContainer,this.editNode),M=y.getNode(J.endContainer,this.editNode),
H&&M&&(D.setStart(H,J.startOffset),D.setEnd(M,J.endOffset),C.addRange(D)))},_changeToStep:function(D,G){this.setValue(G.text);(D=G.bookmark)&&this._moveToBookmark(D)},undo:function(){var D=!1;if(!this._undoRedoActive){this._undoRedoActive=!0;this.endEditing(!0);var G=this._steps.pop();G&&0<this._steps.length&&(this.focus(),this._changeToStep(G,this._steps[this._steps.length-1]),this._undoedSteps.push(G),this.onDisplayChanged(),delete this._undoRedoActive,D=!0);delete this._undoRedoActive}return D},
redo:function(){var D=!1;if(!this._undoRedoActive){this._undoRedoActive=!0;this.endEditing(!0);var G=this._undoedSteps.pop();G&&0<this._steps.length&&(this.focus(),this._changeToStep(this._steps[this._steps.length-1],G),this._steps.push(G),this.onDisplayChanged(),D=!0);delete this._undoRedoActive}return D},endEditing:function(D){this._editTimer&&(this._editTimer=this._editTimer.remove());this._inEditing&&(this._endEditing(D),this._inEditing=!1)},_getBookmark:function(){var D=this.selection.getBookmark(),
G=[];if(D&&D.mark){var J=D.mark;if(9>e("ie")||9===e("ie")&&e("quirks")){var C=y.getSelection(this.window);if(b.isArray(J))x.forEach(D.mark,function(M){G.push(y.getIndex(M,this.editNode).o)},this),D.mark=G;else if(C){var H;C.rangeCount&&(H=C.getRangeAt(0));D.mark=H?H.cloneRange():this.selection.getBookmark()}}try{D.mark&&D.mark.startContainer&&(G=y.getIndex(D.mark.startContainer,this.editNode).o,D.mark={startContainer:G,startOffset:D.mark.startOffset,endContainer:D.mark.endContainer===D.mark.startContainer?
G:y.getIndex(D.mark.endContainer,this.editNode).o,endOffset:D.mark.endOffset})}catch(M){D.mark=null}}return D},_beginEditing:function(){0===this._steps.length&&this._steps.push({text:E.getChildrenHtml(this.editNode),bookmark:this._getBookmark()})},_endEditing:function(){var D=E.getChildrenHtml(this.editNode);this._undoedSteps=[];this._steps.push({text:D,bookmark:this._getBookmark()})},onKeyDown:function(D){e("ie")||this.iframe||D.keyCode!=a.TAB||this.tabIndent||this._saveSelection();if(this.customUndo){var G=
D.keyCode;if(D.ctrlKey&&!D.shiftKey&&!D.altKey){if(90==G||122==G){D.stopPropagation();D.preventDefault();this.undo();return}if(89==G||121==G){D.stopPropagation();D.preventDefault();this.redo();return}}this.inherited(arguments);switch(G){case a.ENTER:case a.BACKSPACE:case a.DELETE:this.beginEditing();break;case 88:case 86:if(D.ctrlKey&&!D.altKey&&!D.metaKey){this.endEditing();88==D.keyCode?this.beginEditing("cut"):this.beginEditing("paste");this.defer("endEditing",1);break}default:if(!D.ctrlKey&&!D.altKey&&
!D.metaKey&&(D.keyCode<a.F1||D.keyCode>a.F15)){this.beginEditing();break}case a.ALT:this.endEditing();break;case a.UP_ARROW:case a.DOWN_ARROW:case a.LEFT_ARROW:case a.RIGHT_ARROW:case a.HOME:case a.END:case a.PAGE_UP:case a.PAGE_DOWN:this.endEditing(!0);case a.CTRL:case a.SHIFT:case a.TAB:}}else this.inherited(arguments)},_onBlur:function(){this.inherited(arguments);this.endEditing(!0)},_saveSelection:function(){try{this._savedSelection=this._getBookmark()}catch(D){}},_restoreSelection:function(){this._savedSelection&&
(delete this._cursorToStart,this.selection.isCollapsed()&&this._moveToBookmark(this._savedSelection),delete this._savedSelection)},onClick:function(){this.endEditing(!0);this.inherited(arguments)},replaceValue:function(D){this.customUndo?this.isClosed?this.setValue(D):(this.beginEditing(),D||(D="\x26#160;"),this.setValue(D),this.endEditing()):this.inherited(arguments)},_setDisabledAttr:function(D){this.setValueDeferred.then(b.hitch(this,function(){!this.disabled&&D||!this._buttonEnabledPlugins&&D?
x.forEach(this._plugins,function(G){G.set("disabled",!0)}):this.disabled&&!D&&x.forEach(this._plugins,function(G){G.set("disabled",!1)})}));this.inherited(arguments)},_setStateClass:function(){try{this.inherited(arguments),this.document&&this.document.body&&(c.set(this.document.body,"color",c.get(this.iframe,"color")),c.set(this.document.body,"background-color",c.get(this.iframe,"background-color")))}catch(D){}}});b.mixin(A.registry,{undo:v,redo:v,cut:v,copy:v,paste:v,insertOrderedList:v,insertUnorderedList:v,
indent:v,outdent:v,justifyCenter:v,justifyFull:v,justifyLeft:v,justifyRight:v,"delete":v,selectAll:v,removeFormat:v,unlink:v,insertHorizontalRule:v,bold:F,italic:F,underline:F,strikethrough:F,subscript:F,superscript:F,"|":function(){return new A({setEditor:function(D){this.editor=D;this.button=new m({ownerDocument:D.ownerDocument})}})}});return w})},"dijit/Toolbar":function(){define("require dojo/_base/declare dojo/has dojo/keys dojo/ready ./_Widget ./_KeyNavContainer ./_TemplatedMixin".split(" "),
function(t,x,w,n,h,f,g,d){w("dijit-legacy-requires")&&h(0,function(){t(["dijit/ToolbarSeparator"])});return x("dijit.Toolbar",[f,d,g],{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/_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(t,x,w,n,h,f,g,d,c,a){return x("dijit._KeyNavContainer",[c,a,d],{connectKeyNavHandlers:function(b,e){var k=this._keyNavCodes={},r=f.hitch(this,"focusPrev"),q=f.hitch(this,"focusNext");t.forEach(b,function(l){k[l]=r});t.forEach(e,function(l){k[l]=q});k[h.HOME]=f.hitch(this,"focusFirstChild");k[h.END]=f.hitch(this,"focusLastChild")},startupKeyNavChildren:function(){n.deprecated("startupKeyNavChildren() call no longer needed","","2.0")},startup:function(){this.inherited(arguments);t.forEach(this.getChildren(),
f.hitch(this,"_startupChild"))},addChild:function(b,e){this.inherited(arguments);this._startupChild(b)},_startupChild:function(b){b.set("tabIndex","-1")},_getFirst:function(){var b=this.getChildren();return b.length?b[0]:null},_getLast:function(){var b=this.getChildren();return b.length?b[b.length-1]:null},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1))},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),!0)},childSelector:function(b){return(b=
g.byNode(b))&&b.getParent()==this}})})},"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(t,x,w,n,h,f,g,d){return x("dijit._KeyNavMixin",d,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);w.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var c=this._keyNavCodes={};c[n.HOME]=h.hitch(this,"focusFirstChild");c[n.END]=h.hitch(this,
"focusLastChild");c[this.isLeftToRight()?n.LEFT_ARROW:n.RIGHT_ARROW]=h.hitch(this,"_onLeftArrow");c[this.isLeftToRight()?n.RIGHT_ARROW:n.LEFT_ARROW]=h.hitch(this,"_onRightArrow");c[n.UP_ARROW]=h.hitch(this,"_onUpArrow");c[n.DOWN_ARROW]=h.hitch(this,"_onDownArrow")}var a=this;c="string"==typeof this.childSelector?this.childSelector:h.hitch(this,"childSelector");this.own(f(this.domNode,"keypress",h.hitch(this,"_onContainerKeypress")),f(this.domNode,"keydown",h.hitch(this,"_onContainerKeydown")),f(this.domNode,
"focus",h.hitch(this,"_onContainerFocus")),f(this.containerNode,f.selector(c,"focusin"),function(b){a._onChildFocus(g.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(c,a){c&&(this.focusedChild&&c!==this.focusedChild&&this._onChildBlur(this.focusedChild),c.set("tabIndex",this.tabIndex),c.focus(a?"end":"start"))},_onContainerFocus:function(c){c.target!==this.domNode||this.focusedChild||this.focus()},_onFocus:function(){w.set(this.domNode,"tabIndex","-1");this.inherited(arguments)},_onBlur:function(c){w.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(c){c&&c!=this.focusedChild&&(this.focusedChild&&!this.focusedChild._destroyed&&this.focusedChild.set("tabIndex","-1"),c.set("tabIndex",this.tabIndex),this.lastFocused=c,this._set("focusedChild",c))},_searchString:"",multiCharSearchDuration:1E3,onKeyboardSearch:function(c,a,b,e){c&&this.focusChild(c)},_keyboardSearchCompare:function(c,a){var b=c.domNode;c=(c.label||(b.focusNode?
b.focusNode.label:"")||b.innerText||b.textContent||"").replace(/^\s+/,"").substr(0,a.length).toLowerCase();return a.length&&c==a?-1:0},_isFormElement:function(c){return"INPUT"===c.tagName||"TEXTAREA"===c.tagName||"SELECT"===c.tagName||"BUTTON"===c.tagName},_onContainerKeydown:function(c){if(!this._isFormElement(document.activeElement)){var a=this._keyNavCodes[c.keyCode];a?(a(c,this.focusedChild),c.stopPropagation(),c.preventDefault(),this._searchString=""):c.keyCode!=n.SPACE||!this._searchTimer||
c.ctrlKey||c.altKey||c.metaKey||(c.stopImmediatePropagation(),c.preventDefault(),this._keyboardSearch(c," "))}},_onContainerKeypress:function(c){this._isFormElement(document.activeElement)||c.charCode<=n.SPACE||c.ctrlKey||c.altKey||c.metaKey||(c.preventDefault(),c.stopPropagation(),this._keyboardSearch(c,String.fromCharCode(c.charCode).toLowerCase()))},_keyboardSearch:function(c,a){var b=null,e,k=0;h.hitch(this,function(){this._searchTimer&&this._searchTimer.remove();this._searchString+=a;var r=/^(.)\1*$/.test(this._searchString)?
1:this._searchString.length;e=this._searchString.substr(0,r);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString=""},this.multiCharSearchDuration);var q=this.focusedChild||null;if(1==r||!q)if(q=this._getNextFocusableChild(q,1),!q)return;r=q;do{var l=this._keyboardSearchCompare(q,e);l&&0==k++&&(b=q);if(-1==l){k=-1;break}q=this._getNextFocusableChild(q,1)}while(q&&q!=r)})();this.onKeyboardSearch(b,c,e,k)},_onChildBlur:function(){},_getNextFocusableChild:function(c,a){var b=
c;do{if(c)c=this._getNext(c,a);else if(c=this[0<a?"_getFirst":"_getLast"](),!c)break;if(null!=c&&c!=b&&c.isFocusable())return c}while(c!=b);return null},_getFirst:function(){return null},_getLast:function(){return null},_getNext:function(c,a){if(c)for(c=c.domNode;c;)if((c=c[0>a?"previousSibling":"nextSibling"])&&"getAttribute"in c){var b=g.byNode(c);if(b)return b}return null}})})},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(t,
x,w,n){return t("dijit.ToolbarSeparator",[w,n],{templateString:'\x3cdiv class\x3d"dijitToolbarSeparator dijitInline" role\x3d"presentation"\x3e\x3c/div\x3e',buildRendering:function(){this.inherited(arguments);x.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(t,x,w,n,h,f,g,d,c){return f("dijit.layout._LayoutWidget",
[x,w,n],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);g.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var a=this.getParent&&this.getParent();a&&a.isLayoutContainer||(this.resize(),this.own(h.on("resize",t.hitch(this,"resize"))))}},resize:function(a,b){var e=this.domNode;a&&d.setMarginBox(e,a);b=b||{};t.mixin(b,a||{});"h"in b&&"w"in b||(b=t.mixin(d.getMarginBox(e),b));
a=c.getComputedStyle(e);var k=d.getMarginExtents(e,a),r=d.getBorderExtents(e,a);b=this._borderBox={w:b.w-(k.w+r.w),h:b.h-(k.h+r.h)};k=d.getPadExtents(e,a);this._contentBox={l:c.toPixelValue(e,a.paddingLeft),t:c.toPixelValue(e,a.paddingTop),w:b.w-k.w,h:b.h-k.h};this.layout()},layout:function(){},_setupChild:function(a){g.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){g.remove(a.domNode,
this.baseClass+"-child"+(a.baseClass?" "+this.baseClass+"-"+a.baseClass:""));this.inherited(arguments)}})})},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../Destroyable","../form/Button"],function(t,x,w,n,h){x=x("dijit._editor._Plugin",n,{constructor:function(f){this.params=f||{};w.mixin(this,this.params);this._attrPairNames={}},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:!0,buttonClass:h,disabled:!1,
getLabel:function(f){return this.editor.commands[f]},_initButton:function(){if(this.command.length){var f=this.getLabel(this.command),g=this.editor,d=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);this.button||(f=w.mixin({label:f,ownerDocument:g.ownerDocument,dir:g.dir,lang:g.lang,showLabel:!1,iconClass:d,dropDown:this.dropDown,tabIndex:"-1"},this.params||{}),delete f.name,this.button=new this.buttonClass(f))}this.get("disabled")&&this.button&&
this.button.set("disabled",this.get("disabled"))},destroy:function(){this.dropDown&&this.dropDown.destroyRecursive();this.inherited(arguments)},connect:function(f,g,d){this.own(t.connect(f,g,this,d))},updateState:function(){var f=this.editor,g=this.command;if(f&&f.isLoaded&&g.length){var d=this.get("disabled");if(this.button)try{var c=f._implCommand(g);var a=!d&&(this[c]?this[c](g):f.queryCommandEnabled(g));this.enabled!==a&&(this.enabled=a,this.button.set("disabled",!a));if(a&&"boolean"==typeof this.button.checked){var b=
f.queryCommandState(g);this.checked!==b&&(this.checked=b,this.button.set("checked",f.queryCommandState(g)))}}catch(e){}}},setEditor:function(f){this.editor=f;this._initButton();this.button&&this.useDefaultCommand&&(this.editor.queryCommandAvailable(this.command)?this.own(this.button.on("click",w.hitch(this.editor,"execCommand",this.command,this.commandArg))):this.button.domNode.style.display="none");this.own(this.editor.on("NormalizedDisplayChanged",w.hitch(this,"updateState")))},setToolbar:function(f){this.button&&
f.addChild(this.button)},set:function(f,g){if("object"===typeof f){for(var d in f)this.set(d,f[d]);return this}d=this._getAttrNames(f);if(this[d.s])var c=this[d.s].apply(this,Array.prototype.slice.call(arguments,1));else this._set(f,g);return c||this},get:function(f){var g=this._getAttrNames(f);return this[g.g]?this[g.g]():this[f]},_setDisabledAttr:function(f){this._set("disabled",f);this.updateState()},_getAttrNames:function(f){var g=this._attrPairNames;if(g[f])return g[f];var d=f.charAt(0).toUpperCase()+
f.substr(1);return g[f]={s:"_set"+d+"Attr",g:"_get"+d+"Attr"}},_set:function(f,g){this[f]=g}});x.registry={};return x})},"dijit/_editor/plugins/EnterKeyHandling":function(){define("dojo/_base/declare dojo/dom-construct dojo/keys dojo/_base/lang dojo/on dojo/sniff dojo/_base/window dojo/window ../_Plugin ../RichText ../range".split(" "),function(t,x,w,n,h,f,g,d,c,a,b){return t("dijit._editor.plugins.EnterKeyHandling",c,{blockNodeForEnter:"BR",constructor:function(e){e&&("blockNodeForEnter"in e&&(e.blockNodeForEnter=
e.blockNodeForEnter.toUpperCase()),n.mixin(this,e))},setEditor:function(e){if(this.editor!==e)if(this.editor=e,"BR"==this.blockNodeForEnter)this.editor.customUndo=!0,e.onLoadDeferred.then(n.hitch(this,function(r){this.own(h(e.document,"keydown",n.hitch(this,function(q){if(q.keyCode==w.ENTER){var l=n.mixin({},q);l.shiftKey=!0;this.handleEnterKey(l)||(q.stopPropagation(),q.preventDefault())}})));9<=f("ie")&&10>=f("ie")&&this.own(h(e.document,"paste",n.hitch(this,function(q){setTimeout(n.hitch(this,
function(){var l=this.editor.document.selection.createRange();l.move("character",-1);l.select();l.move("character",1);l.select()}),0)})));return r}));else if(this.blockNodeForEnter){var k=n.hitch(this,"handleEnterKey");e.addKeyHandler(13,0,0,k);e.addKeyHandler(13,0,1,k);this.own(this.editor.on("KeyPressed",n.hitch(this,"onKeyPressed")))}},onKeyPressed:function(){if(this._checkListLater){if(this.editor.selection.isCollapsed()){var e=this.editor.selection.getAncestorElement("LI");if(e){f("mozilla")&&
"LI"==e.parentNode.parentNode.nodeName&&(e=e.parentNode.parentNode);var k=e.firstChild;!k||1!=k.nodeType||"UL"!=k.nodeName&&"OL"!=k.nodeName||(e.insertBefore(k.ownerDocument.createTextNode("\u00a0"),k),k=b.create(this.editor.window),k.setStart(e.firstChild,0),e=b.getSelection(this.editor.window,!0),e.removeAllRanges(),e.addRange(k))}else if(a.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter),e=this.editor.selection.getAncestorElement(this.blockNodeForEnter))e.innerHTML=
this.bogusHtmlContent,9>=f("ie")&&(e=this.editor.document.selection.createRange(),e.move("character",-1),e.select())}this._checkListLater=!1}this._pressedEnterInBlock&&(this._pressedEnterInBlock.previousSibling&&this.removeTrailingBr(this._pressedEnterInBlock.previousSibling),delete this._pressedEnterInBlock)},bogusHtmlContent:"\x26#160;",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){var k,r=this.editor.document,q;if(e.shiftKey){e=this.editor.selection.getParentElement();if(k=
b.getAncestor(e,this.blockNodes)){if("LI"==k.tagName)return!0;e=b.getSelection(this.editor.window);var l=e.getRangeAt(0);l.collapsed||(l.deleteContents(),e=b.getSelection(this.editor.window),l=e.getRangeAt(0));if(b.atBeginningOfContainer(k,l.startContainer,l.startOffset)){var m=r.createElement("br");l=b.create(this.editor.window);k.insertBefore(m,k.firstChild);l.setStartAfter(m);e.removeAllRanges();e.addRange(l)}else if(b.atEndOfContainer(k,l.startContainer,l.startOffset))l=b.create(this.editor.window),
m=r.createElement("br"),k.appendChild(m),k.appendChild(r.createTextNode("\u00a0")),l.setStart(k.lastChild,0),e.removeAllRanges(),e.addRange(l);else{if((q=l.startContainer)&&3==q.nodeType){var p=q.nodeValue;var u=r.createTextNode(p.substring(0,l.startOffset));var A=r.createTextNode(p.substring(l.startOffset));k=r.createElement("br");""==A.nodeValue&&f("webkit")&&(A=r.createTextNode("\u00a0"));x.place(u,q,"after");x.place(k,u,"after");x.place(A,k,"after");x.destroy(q);l=b.create(this.editor.window);
l.setStart(A,0);e.removeAllRanges();e.addRange(l);return!1}return!0}}else e=b.getSelection(this.editor.window),e.rangeCount?(l=e.getRangeAt(0))&&l.startContainer&&(l.collapsed||(l.deleteContents(),e=b.getSelection(this.editor.window),l=e.getRangeAt(0)),(q=l.startContainer)&&3==q.nodeType?(k=l.startOffset,q.length<k&&(A=this._adjustNodeAndOffset(q,k),q=A.node,k=A.offset),p=q.nodeValue,u=r.createTextNode(p.substring(0,k)),A=r.createTextNode(p.substring(k)),k=r.createElement("br"),A.length||(A=r.createTextNode("\u00a0")),
u.length?x.place(u,q,"after"):u=q,x.place(k,u,"after"),x.place(A,k,"after"),x.destroy(q)):(0<=l.startOffset&&(m=q.childNodes[l.startOffset]),k=r.createElement("br"),A=r.createTextNode("\u00a0"),m?(x.place(k,m,"before"),x.place(A,k,"after")):(q.appendChild(k),q.appendChild(A))),l=b.create(this.editor.window),l.setStart(A,0),l.setEnd(A,A.length),e.removeAllRanges(),e.addRange(l),this.editor.selection.collapse(!0)):a.prototype.execCommand.call(this.editor,"inserthtml","\x3cbr\x3e");return!1}var z=!0;
e=b.getSelection(this.editor.window);l=e.getRangeAt(0);l.collapsed||(l.deleteContents(),e=b.getSelection(this.editor.window),l=e.getRangeAt(0));m=b.getBlockAncestor(l.endContainer,null,this.editor.editNode);var E=m.blockNode;if(this._checkListLater=E&&("LI"==E.nodeName||"LI"==E.parentNode.nodeName))return f("mozilla")&&(this._pressedEnterInBlock=E),/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(E.innerHTML)&&(E.innerHTML=
"",f("webkit")&&(l=b.create(this.editor.window),l.setStart(E,0),e.removeAllRanges(),e.addRange(l)),this._checkListLater=!1),!0;if(!m.blockNode||m.blockNode===this.editor.editNode){try{a.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter)}catch(y){}m={blockNode:this.editor.selection.getAncestorElement(this.blockNodeForEnter),blockContainer:this.editor.editNode};if(m.blockNode){if(m.blockNode!=this.editor.editNode&&!(m.blockNode.textContent||m.blockNode.innerHTML).replace(/^\s+|\s+$/g,
"").length)return this.removeTrailingBr(m.blockNode),!1}else m.blockNode=this.editor.editNode;e=b.getSelection(this.editor.window);l=e.getRangeAt(0)}E=r.createElement(this.blockNodeForEnter);E.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(m.blockNode);A=l.endOffset;z=l.endContainer;z.length<A&&(A=this._adjustNodeAndOffset(z,A),z=A.node,A=A.offset);if(b.atEndOfContainer(m.blockNode,z,A))m.blockNode===m.blockContainer?m.blockNode.appendChild(E):x.place(E,m.blockNode,"after"),z=!1,l=b.create(this.editor.window),
l.setStart(E,0),e.removeAllRanges(),e.addRange(l),this.editor.height&&d.scrollIntoView(E);else if(b.atBeginningOfContainer(m.blockNode,l.startContainer,l.startOffset))x.place(E,m.blockNode,m.blockNode===m.blockContainer?"first":"before"),E.nextSibling&&this.editor.height&&(l=b.create(this.editor.window),l.setStart(E.nextSibling,0),e.removeAllRanges(),e.addRange(l),d.scrollIntoView(E.nextSibling)),z=!1;else{m.blockNode===m.blockContainer?m.blockNode.appendChild(E):x.place(E,m.blockNode,"after");z=
!1;m.blockNode.style&&E.style&&m.blockNode.style.cssText&&(E.style.cssText=m.blockNode.style.cssText);if((q=l.startContainer)&&3==q.nodeType){A=l.endOffset;q.length<A&&(A=this._adjustNodeAndOffset(q,A),q=A.node,A=A.offset);p=q.nodeValue;u=r.createTextNode(p.substring(0,A));A=r.createTextNode(p.substring(A,p.length));x.place(u,q,"before");x.place(A,q,"after");x.destroy(q);for(l=u.parentNode;l!==m.blockNode;){p=r.createElement(l.tagName);l.style&&p.style&&l.style.cssText&&(p.style.cssText=l.style.cssText);
"FONT"===l.tagName&&(l.color&&(p.color=l.color),l.face&&(p.face=l.face),l.size&&(p.size=l.size));for(;A;)q=A.nextSibling,p.appendChild(A),A=q;x.place(p,l,"after");u=l;A=p;l=l.parentNode}if(1==A.nodeType||3==A.nodeType&&A.nodeValue)E.innerHTML="";for(u=A;A;)q=A.nextSibling,E.appendChild(A),A=q}l=b.create(this.editor.window);r=u;if("BR"!==this.blockNodeForEnter){for(;r;)k=r,r=q=r.firstChild;k&&k.parentNode?(E=k.parentNode,l.setStart(E,0),e.removeAllRanges(),e.addRange(l),this.editor.height&&d.scrollIntoView(E),
f("mozilla")&&(this._pressedEnterInBlock=m.blockNode)):z=!0}else l.setStart(E,0),e.removeAllRanges(),e.addRange(l),this.editor.height&&d.scrollIntoView(E),f("mozilla")&&(this._pressedEnterInBlock=m.blockNode)}return z},_adjustNodeAndOffset:function(e,k){for(;e.length<k&&e.nextSibling&&3==e.nextSibling.nodeType;)k-=e.length,e=e.nextSibling;return{node:e,offset:k}},removeTrailingBr:function(e){if(e=/P|DIV|LI/i.test(e.tagName)?e:this.editor.selection.getParentOfType(e,["P","DIV","LI"]))e.lastChild&&
(1<e.childNodes.length&&3==e.lastChild.nodeType&&/^[\s\xAD]*$/.test(e.lastChild.nodeValue)||"BR"==e.lastChild.tagName)&&x.destroy(e.lastChild),e.childNodes.length||(e.innerHTML=this.bogusHtmlContent)}})})},"dijit/_editor/RichText":function(){define("dojo/_base/array dojo/_base/config dojo/_base/declare dojo/_base/Deferred dojo/dom dojo/dom-attr dojo/dom-class dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/_base/kernel dojo/keys dojo/_base/lang dojo/on dojo/query dojo/domReady dojo/sniff dojo/string dojo/topic dojo/_base/unload dojo/_base/url dojo/window ../_Widget ../_CssStateMixin ../selection ./range ./html ../focus ../main".split(" "),
function(t,x,w,n,h,f,g,d,c,a,b,e,k,r,q,l,m,p,u,A,z,E,y,B,I,v,F,D,G){var J=w("dijit._editor.RichText",[y,B],{constructor:function(C){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};C&&k.isString(C.value)&&(this.value=C.value);this.onLoadDeferred=new n},baseClass:"dijitEditor",inheritWidth:!1,focusOnLoad:!1,name:"",styleSheets:"",height:"300px",minHeight:"1em",
isClosed:!0,isLoaded:!1,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:!1,disableSpellCheck:!1,postCreate:function(){this.domNode.tagName.toLowerCase();this.contentPreFilters=[k.trim,k.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);m("mozilla")&&(this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters),this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters));m("webkit")&&
(this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters),this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters));if(m("ie")||m("trident"))this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters),this.contentDomPostFilters=[k.hitch(this,"_stripBreakerNodes")].concat(this.contentDomPostFilters);this.contentDomPostFilters=[k.hitch(this,"_stripTrailingEmptyNodes")].concat(this.contentDomPostFilters);this.inherited(arguments);
u.publish(G._scopeName+"._editor.RichText::init",this)},startup:function(){this.inherited(arguments);this.open();this.setupDefaultShortcuts()},setupDefaultShortcuts:function(){var C=k.hitch(this,function(L,N){return function(){return!this.execCommand(L,N)}}),H={b:C("bold"),i:C("italic"),u:C("underline"),a:C("selectall"),s:function(){this.save(!0)},m:function(){this.isTabIndent=!this.isTabIndent},1:C("formatblock","h1"),2:C("formatblock","h2"),3:C("formatblock","h3"),4:C("formatblock","h4"),"\\":C("insertunorderedlist")};
m("ie")||(H.Z=C("redo"));for(var M in H)this.addKeyHandler(M,!0,!1,H[M])},events:["onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:!1,_localizeEditorCommands:function(){if(J._editorCommandsLocalized)this._local2NativeFormatNames=J._local2NativeFormatNames,this._native2LocalFormatNames=J._native2LocalFormatNames;else{J._editorCommandsLocalized=!0;J._local2NativeFormatNames={};J._native2LocalFormatNames={};this._local2NativeFormatNames=J._local2NativeFormatNames;this._native2LocalFormatNames=
J._native2LocalFormatNames;for(var C="div p pre h1 h2 h3 h4 h5 h6 ol ul address".split(" "),H="",M,L=0;M=C[L++];)H="l"!==M.charAt(1)?H+("\x3c"+M+"\x3e\x3cspan\x3econtent\x3c/span\x3e\x3c/"+M+"\x3e\x3cbr/\x3e"):H+("\x3c"+M+"\x3e\x3cli\x3econtent\x3c/li\x3e\x3c/"+M+"\x3e\x3cbr/\x3e");var N=d.create("div",{style:{position:"absolute",top:"0px",zIndex:10,opacity:.01},innerHTML:H});this.ownerDocumentBody.appendChild(N);C=k.hitch(this,function(){for(var O=N.firstChild;O;)try{this.selection.selectElement(O.firstChild);
var P=O.tagName.toLowerCase();this._local2NativeFormatNames[P]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[P]]=P;O=O.nextSibling.nextSibling}catch(X){}d.destroy(N)});this.defer(C)}},open:function(C){if(!this.onLoadDeferred||0<=this.onLoadDeferred.fired)this.onLoadDeferred=new n;this.isClosed||this.close();u.publish(G._scopeName+"._editor.RichText::open",this);1===arguments.length&&C.nodeName&&(this.domNode=C);var H=this.domNode;if(k.isString(this.value)){var M=
this.value;H.innerHTML=""}else if(H.nodeName&&"textarea"==H.nodeName.toLowerCase()){var L=this.textarea=H;this.name=L.name;M=L.value;H=this.domNode=this.ownerDocument.createElement("div");H.setAttribute("widgetId",this.id);L.removeAttribute("widgetId");H.cssText=L.cssText;H.className+=" "+L.className;d.place(H,L,"before");var N=k.hitch(this,function(){a.set(L,{display:"block",position:"absolute",top:"-1000px"});if(m("ie")){var Y=L.style;this.__overflow=Y.overflow;Y.overflow="hidden"}});m("ie")?this.defer(N,
10):N();if(L.form){var O=L.value;this.reset=function(){this.getValue()!==O&&this.replaceValue(O)};r(L.form,"submit",k.hitch(this,function(){f.set(L,"disabled",this.disabled);L.value=this.getValue()}))}}else M=F.getChildrenHtml(H),H.innerHTML="";this.value=M;H.nodeName&&"LI"===H.nodeName&&(H.innerHTML=" \x3cbr\x3e");this.header=H.ownerDocument.createElement("div");H.appendChild(this.header);this.editingArea=H.ownerDocument.createElement("div");H.appendChild(this.editingArea);this.footer=H.ownerDocument.createElement("div");
H.appendChild(this.footer);this.name||(this.name=this.id+"_AUTOGEN");if(""!==this.name&&(!x.useXDomain||x.allowXdRichTextSave)){if((M=h.byId(G._scopeName+"._editor.RichText.value"))&&""!==M.value){N=M.value.split(this._SEPARATOR);for(var P=0,X;X=N[P++];)if(X=X.split(this._NAME_CONTENT_SEP),X[0]===this.name){this.value=X[1];N=N.splice(P,1);M.value=N.join(this._SEPARATOR);break}}J._globalSaveHandler||(J._globalSaveHandler={},A.addOnUnload(function(){for(var Y in J._globalSaveHandler){var ba=J._globalSaveHandler[Y];
k.isFunction(ba)&&ba()}}));J._globalSaveHandler[this.id]=k.hitch(this,"_saveContent")}this.isClosed=!1;M=this.editorObject=this.iframe=this.ownerDocument.createElement("iframe");M.id=this.id+"_iframe";M.style.border="none";M.style.width="100%";this._layoutMode?M.style.height="100%":7<=m("ie")?(this.height&&(M.style.height=this.height),this.minHeight&&(M.style.minHeight=this.minHeight)):M.style.height=this.height?this.height:this.minHeight;M.frameBorder=0;M._loadFunc=k.hitch(this,function(Y){this.window=
Y;this.document=Y.document;this.selection=new I.SelectionManager(Y);m("ie")&&this._localizeEditorCommands();this.onLoad(this.get("value"))});N=this._getIframeDocTxt().replace(/\\/g,"\\\\").replace(/'/g,"\\'");N=11>m("ie")?'javascript:document.open();try{parent.window;}catch(e){document.domain\x3d"'+document.domain+"\";}document.write('"+N+"');document.close()":"javascript: '"+N+"'";this.editingArea.appendChild(M);M.src=N;"LI"===H.nodeName&&(H.lastChild.style.marginTop="-1.2em");g.add(this.domNode,
this.baseClass)},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var C=a.getComputedStyle(this.domNode);if(this["aria-label"])var H=this["aria-label"];else{var M=q('label[for\x3d"'+this.id+'"]',this.ownerDocument)[0]||h.byId(this["aria-labelledby"],this.ownerDocument);M&&(H=M.textContent||M.innerHTML||"")}M="\x3cdiv id\x3d'dijitEditorBody' role\x3d'textbox' aria-multiline\x3d'true' "+(H?" aria-label\x3d'"+p.escape(H)+"'":"")+"\x3e\x3c/div\x3e";var L=[C.fontWeight,
C.fontSize,C.fontFamily].join(" "),N=C.lineHeight;N=0<=N.indexOf("px")?parseFloat(N)/parseFloat(C.fontSize):0<=N.indexOf("em")?parseFloat(N):"normal";var O="",P=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(X){X=X.replace(/^;/ig,"")+";";var Y=X.split(":")[0];if(Y){Y=k.trim(Y);Y=Y.toLowerCase();var ba,ea="";for(ba=0;ba<Y.length;ba++){var na=Y.charAt(ba);switch(na){case "-":ba++,na=Y.charAt(ba).toUpperCase();default:ea+=na}}a.set(P.domNode,ea,"")}O+=X+";"});this.iframe.setAttribute("title",
H);return["\x3c!DOCTYPE html\x3e","\x3chtml lang\x3d'"+(this.lang||b.locale.replace(/-.*/,""))+"'"+(this.isLeftToRight()?"":" dir\x3d'rtl'")+"\x3e\n","\x3chead\x3e\n\x3cmeta http-equiv\x3d'Content-Type' content\x3d'text/html'\x3e\n",H?"\x3ctitle\x3e"+p.escape(H)+"\x3c/title\x3e":"","\x3cstyle\x3e\n\tbody,html {\n\t\tbackground:transparent;\n\t\tpadding: 1px 0 0 0;\n\t\tmargin: -1px 0 0 0;\n\t}\n\tbody,html,#dijitEditorBody { outline: none; }html { height: 100%; width: 100%; overflow: hidden; }\n",
this.height?"\tbody,#dijitEditorBody { height: 100%; width: 100%; overflow: auto; }\n":"\tbody,#dijitEditorBody { min-height: "+this.minHeight+"; width: 100%; overflow-x: auto; overflow-y: hidden; }\n","\tbody{\n\t\ttop:0px;\n\t\tleft:0px;\n\t\tright:0px;\n\t\tfont:",L,";\n",this.height||m("opera")?"":"\t\tposition: fixed;\n","\t\tline-height:",N,";\n\t}\n\tp{ margin: 1em 0; }\n\tli \x3e ul:-moz-first-node, li \x3e ol:-moz-first-node{ padding-top: 1.2em; }\n",m("ie")||m("trident")||m("edge")?"":"\tli{ min-height:1.2em; }\n",
"\x3c/style\x3e\n",this._applyEditingAreaStyleSheets(),"\n\x3c/head\x3e\n\x3cbody role\x3d'application'",H?" aria-label\x3d'"+p.escape(H)+"'":"","onload\x3d'try{frameElement \x26\x26 frameElement._loadFunc(window,document)}catch(e){document.domain\x3d\""+document.domain+"\";frameElement._loadFunc(window,document)}' ","style\x3d'"+O+"'\x3e",M,"\x3c/body\x3e\n\x3c/html\x3e"].join("")},_applyEditingAreaStyleSheets:function(){var C=[];this.styleSheets&&(C=this.styleSheets.split(";"),this.styleSheets=
"");C=C.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];for(var H="",M=0,L,N=E.get(this.ownerDocument);L=C[M++];)L=(new z(N.location,L)).toString(),this.editingAreaStyleSheets.push(L),H+='\x3clink rel\x3d"stylesheet" type\x3d"text/css" href\x3d"'+L+'"/\x3e';return H},addStyleSheet:function(C){var H=C.toString(),M=E.get(this.ownerDocument);if("."===H.charAt(0)||"/"!==H.charAt(0)&&!C.host)H=(new z(M.location,H)).toString();-1<t.indexOf(this.editingAreaStyleSheets,H)||(this.editingAreaStyleSheets.push(H),
this.onLoadDeferred.then(k.hitch(this,function(){if(this.document.createStyleSheet)this.document.createStyleSheet(H);else{var L=this.document.getElementsByTagName("head")[0],N=this.document.createElement("link");N.rel="stylesheet";N.type="text/css";N.href=H;L.appendChild(N)}})))},removeStyleSheet:function(C){var H=C.toString(),M=E.get(this.ownerDocument);if("."===H.charAt(0)||"/"!==H.charAt(0)&&!C.host)H=(new z(M.location,H)).toString();C=t.indexOf(this.editingAreaStyleSheets,H);-1!==C&&(delete this.editingAreaStyleSheets[C],
q('link[href\x3d"'+H+'"]',this.window.document).orphan())},disabled:!1,_mozSettingProps:{styleWithCSS:!1},_setDisabledAttr:function(C){C=!!C;this._set("disabled",C);if(this.isLoaded){var H=m("ie")&&(this.isLoaded||!this.focusOnLoad);H&&(this.editNode.unselectable="on");this.editNode.contentEditable=!C;this.editNode.tabIndex=C?"-1":this.tabIndex;H&&this.defer(function(){this.editNode&&(this.editNode.unselectable="off")});if(m("mozilla")&&!C&&this._mozSettingProps){C=this._mozSettingProps;for(var M in C)if(C.hasOwnProperty(M))try{this.document.execCommand(M,
!1,C[M])}catch(L){}}this._disabledOK=!0}},onLoad:function(C){this.window.__registeredWindow||(this.window.__registeredWindow=!0,this._iframeRegHandle=D.registerIframe(this.iframe));this.editNode=this.document.body.firstChild;var H=this;this.beforeIframeNode=d.place("\x3cdiv tabIndex\x3d-1\x3e\x3c/div\x3e",this.iframe,"before");this.afterIframeNode=d.place("\x3cdiv tabIndex\x3d-1\x3e\x3c/div\x3e",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){H.editNode.focus()};this.focusNode=
this.editNode;var M=this.events.concat(this.captureEvents),L=this.iframe?this.document:this.editNode;this.own.apply(this,t.map(M,function(N){var O=N.toLowerCase().replace(/^on/,"");return r(L,O,k.hitch(this,N))},this));this.own(r(L,"mouseup",k.hitch(this,"onClick")));m("ie")&&(this.own(r(this.document,"mousedown",k.hitch(this,"_onIEMouseDown"))),this.editNode.style.zoom=1);m("webkit")&&(this._webkitListener=this.own(r(this.document,"mouseup",k.hitch(this,"onDisplayChanged")))[0],this.own(r(this.document,
"mousedown",k.hitch(this,function(N){N=N.target;!N||N!==this.document.body&&N!==this.document||this.defer("placeCursorAtEnd")}))));if(m("ie"))try{this.document.execCommand("RespectVisibilityInDesign",!0,null)}catch(N){}this.isLoaded=!0;this.set("disabled",this.disabled);M=k.hitch(this,function(){this.setValue(C);this.onLoadDeferred&&!this.onLoadDeferred.isFulfilled()&&this.onLoadDeferred.resolve(!0);this.onDisplayChanged();this.focusOnLoad&&l(k.hitch(this,"defer","focus",this.updateInterval));this.value=
this.getValue(!0)});this.setValueDeferred?this.setValueDeferred.then(M):M()},onKeyDown:function(C){if(C.keyCode===e.SHIFT||C.keyCode===e.ALT||C.keyCode===e.META||C.keyCode===e.CTRL)return!0;C.keyCode===e.TAB&&this.isTabIndent&&(C.stopPropagation(),C.preventDefault(),this.queryCommandEnabled(C.shiftKey?"outdent":"indent")&&this.execCommand(C.shiftKey?"outdent":"indent"));if(C.keyCode==e.TAB&&!this.isTabIndent&&!C.ctrlKey&&!C.altKey)return C.shiftKey?this.beforeIframeNode.focus():this.afterIframeNode.focus(),
!0;9>m("ie")&&C.keyCode===e.BACKSPACE&&"Control"===this.document.selection.type&&(C.stopPropagation(),C.preventDefault(),this.execCommand("delete"));m("ff")&&(C.keyCode===e.PAGE_UP||C.keyCode===e.PAGE_DOWN)&&this.editNode.clientHeight>=this.editNode.scrollHeight&&C.preventDefault();var H=this._keyHandlers[C.keyCode],M=arguments;H&&!C.altKey&&t.some(H,function(L){if(!(L.shift^C.shiftKey||L.ctrl^(C.ctrlKey||C.metaKey)))return L.handler.apply(this,M)||C.preventDefault(),!0},this);this.defer("onKeyPressed",
1);return!0},onKeyUp:function(){},setDisabled:function(C){b.deprecated("dijit.Editor::setDisabled is deprecated",'use dijit.Editor::attr("disabled",boolean) instead',2);this.set("disabled",C)},_setValueAttr:function(C){this.setValue(C)},_setDisableSpellCheckAttr:function(C){this.document?f.set(this.document.body,"spellcheck",!C):this.onLoadDeferred.then(k.hitch(this,function(){f.set(this.document.body,"spellcheck",!C)}));this._set("disableSpellCheck",C)},addKeyHandler:function(C,H,M,L){"string"==
typeof C&&(C=C.toUpperCase().charCodeAt(0));k.isArray(this._keyHandlers[C])||(this._keyHandlers[C]=[]);this._keyHandlers[C].push({shift:M||!1,ctrl:H||!1,handler:L})},onKeyPressed:function(){this.onDisplayChanged()},onClick:function(C){this.onDisplayChanged(C)},_onIEMouseDown:function(){this.focused||this.disabled||this.focus()},_onBlur:function(C){(m("ie")||m("trident"))&&this.defer(function(){D.curNode||this.ownerDocumentBody.focus()});this.inherited(arguments);var H=this.getValue(!0);if(H!==this.value)this.onChange(H);
this._set("value",H)},_onFocus:function(C){this.disabled||(this._disabledOK||this.set("disabled",!1),this.inherited(arguments))},blur:function(){!m("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus?this.window.document.documentElement.focus():this.ownerDocumentBody.focus&&this.ownerDocumentBody.focus()},focus:function(){this.isLoaded?9>m("ie")?this.iframe.fireEvent("onfocus",document.createEventObject()):this.editNode.focus():this.focusOnLoad=!0},updateInterval:200,
_updateTimer:null,onDisplayChanged:function(){this._updateTimer&&this._updateTimer.remove();this._updateTimer=this.defer("onNormalizedDisplayChanged",this.updateInterval)},onNormalizedDisplayChanged:function(){delete this._updateTimer},onChange:function(){},_normalizeCommand:function(C,H){C=C.toLowerCase();"formatblock"===C?m("safari")&&void 0===H&&(C="heading"):"hilitecolor"!==C||m("mozilla")||(C="backcolor");return C},_implCommand:function(C){return"_"+this._normalizeCommand(C)+"EnabledImpl"},_qcaCache:{},
queryCommandAvailable:function(C){var H=this._qcaCache[C];return void 0!==H?H:this._qcaCache[C]=this._queryCommandAvailable(C)},_queryCommandAvailable:function(C){switch(C.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":case "tabindent":case "cut":case "copy":case "paste":return!0;
case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":return m("ie")||m("trident")||m("edge");case "inserttable":case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":return!m("webkit");default:return!1}},execCommand:function(C,H){this.focused&&this.focus();C=this._normalizeCommand(C,H);if(void 0!==H){if("heading"===C)throw Error("unimplemented");"formatblock"===
C&&(m("ie")||m("trident"))&&(H="\x3c"+H+"\x3e")}var M="_"+C+"Impl";if(this[M])var L=this[M](H);else if((H=1<arguments.length?H:null)||"createlink"!==C)L=this.document.execCommand(C,!1,H);this.onDisplayChanged();return L},queryCommandEnabled:function(C){if(this.disabled||!this._disabledOK)return!1;C=this._normalizeCommand(C);var H=this._implCommand(C);return this[H]?this[H](C):this._browserQueryCommandEnabled(C)},queryCommandState:function(C){if(this.disabled||!this._disabledOK)return!1;C=this._normalizeCommand(C);
try{return this.document.queryCommandState(C)}catch(H){return!1}},queryCommandValue:function(C){if(this.disabled||!this._disabledOK)return!1;C=this._normalizeCommand(C);if(m("ie")&&"formatblock"===C)C=this._native2LocalFormatNames[this.document.queryCommandValue(C)];else if(m("mozilla")&&"hilitecolor"===C){try{var H=this.document.queryCommandValue("styleWithCSS")}catch(M){H=!1}this.document.execCommand("styleWithCSS",!1,!0);C=this.document.queryCommandValue(C);this.document.execCommand("styleWithCSS",
!1,H)}else C=this.document.queryCommandValue(C);return C},_sCall:function(C,H){return this.selection[C].apply(this.selection,H)},placeCursorAtStart:function(){this.focus();var C=!1;if(m("mozilla"))for(var H=this.editNode.firstChild;H;){if(3===H.nodeType){if(0<H.nodeValue.replace(/^\s+|\s+$/g,"").length){C=!0;this.selection.selectElement(H);break}}else if(1===H.nodeType){C=!0;var M=H.tagName?H.tagName.toLowerCase():"";/br|input|img|base|meta|area|basefont|hr|link/.test(M)?this.selection.selectElement(H):
this.selection.selectElementChildren(H);break}H=H.nextSibling}else C=!0,this.selection.selectElementChildren(this.editNode);C&&this.selection.collapse(!0)},placeCursorAtEnd:function(){this.focus();var C=!1;if(m("mozilla"))for(var H=this.editNode.lastChild;H;){if(3===H.nodeType){if(0<H.nodeValue.replace(/^\s+|\s+$/g,"").length){C=!0;this.selection.selectElement(H);break}}else if(1===H.nodeType){C=!0;this.selection.selectElement(H.lastChild||H);break}H=H.previousSibling}else C=!0,this.selection.selectElementChildren(this.editNode);
C&&this.selection.collapse(!1)},getValue:function(C){return!this.textarea||!this.isClosed&&this.isLoaded?this.isLoaded?this._postFilterContent(null,C):this.value:this.textarea.value},_getValueAttr:function(){return this.getValue(!0)},setValue:function(C){if(this.isLoaded){if(!this.textarea||!this.isClosed&&this.isLoaded){C=this._preFilterContent(C);var H=this.isClosed?this.domNode:this.editNode;H.innerHTML=C;this._preDomFilterContent(H)}else this.textarea.value=C;this.onDisplayChanged();this._set("value",
this.getValue(!0))}else this.onLoadDeferred.then(k.hitch(this,function(){this.setValue(C)}))},replaceValue:function(C){this.isClosed?this.setValue(C):this.window&&this.window.getSelection&&!m("mozilla")?this.setValue(C):this.window&&this.window.getSelection?(C=this._preFilterContent(C),this.execCommand("selectall"),this.execCommand("inserthtml",C),this._preDomFilterContent(this.editNode)):this.document&&this.document.selection&&this.setValue(C);this._set("value",this.getValue(!0))},_preFilterContent:function(C){var H=
C;t.forEach(this.contentPreFilters,function(M){M&&(H=M(H))});return H},_preDomFilterContent:function(C){C=C||this.editNode;t.forEach(this.contentDomPreFilters,function(H){H&&k.isFunction(H)&&H(C)},this)},_postFilterContent:function(C,H){if(k.isString(C))var M=C;else C=C||this.editNode,this.contentDomPostFilters.length&&(H&&(C=k.clone(C)),t.forEach(this.contentDomPostFilters,function(L){C=L(C)})),M=F.getChildrenHtml(C);k.trim(M.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length||(M="");t.forEach(this.contentPostFilters,
function(L){M=L(M)});return M},_saveContent:function(){var C=h.byId(G._scopeName+"._editor.RichText.value");C&&(C.value&&(C.value+=this._SEPARATOR),C.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(!0))},escapeXml:function(C,H){C=C.replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;");H||(C=C.replace(/'/gm,"\x26#39;"));return C},getNodeHtml:function(C){b.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",
2);return F.getNodeHtml(C)},getNodeChildrenHtml:function(C){b.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return F.getChildrenHtml(C)},close:function(C){if(!this.isClosed){arguments.length||(C=!0);C&&this._set("value",this.getValue(!0));this.interval&&clearInterval(this.interval);this._webkitListener&&(this._webkitListener.remove(),delete this._webkitListener);m("ie")&&(this.iframe.onfocus=null);this.iframe._loadFunc=null;this._iframeRegHandle&&
(this._iframeRegHandle.remove(),delete this._iframeRegHandle);if(this.textarea){var H=this.textarea.style;H.position="";H.left=H.top="";m("ie")&&(H.overflow=this.__overflow,this.__overflow=null);this.textarea.value=this.value;d.destroy(this.domNode);this.domNode=this.textarea}else this.domNode.innerHTML=this.value;delete this.iframe;g.remove(this.domNode,this.baseClass);this.isClosed=!0;this.isLoaded=!1;delete this.editNode;delete this.focusNode;this.window&&this.window._frameElement&&(this.window._frameElement=
null);this.editorObject=this.editingArea=this.document=this.window=null}},destroy:function(){this.isClosed||this.close(!1);this._updateTimer&&this._updateTimer.remove();this.inherited(arguments);J._globalSaveHandler&&delete J._globalSaveHandler[this.id]},_removeMozBogus:function(C){return C.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"").replace(/_moz_resizing="(true|false)"/gi,"")},_removeWebkitBogus:function(C){C=C.replace(/\sclass="webkit-block-placeholder"/gi,"");C=C.replace(/\sclass="apple-style-span"/gi,
"");return C=C.replace(/<meta charset="utf-8" \/>/gi,"")},_normalizeFontStyle:function(C){return C.replace(/<(\/)?strong([ >])/gi,"\x3c$1b$2").replace(/<(\/)?em([ >])/gi,"\x3c$1i$2")},_preFixUrlAttributes:function(C){return C.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl\x3d$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl\x3d$2$3$5$2")},_browserQueryCommandEnabled:function(C){if(!C)return!1;
var H=9>m("ie")?this.document.selection.createRange():this.document;try{return H.queryCommandEnabled(C)}catch(M){return!1}},_createlinkEnabledImpl:function(){var C=!0;return C=m("opera")?this.window.getSelection().isCollapsed?!0:this.document.queryCommandEnabled("createlink"):this._browserQueryCommandEnabled("createlink")},_unlinkEnabledImpl:function(){var C=!0;return C=m("mozilla")||m("webkit")?this.selection.hasAncestorElement("a"):this._browserQueryCommandEnabled("unlink")},_inserttableEnabledImpl:function(){var C=
!0;return C=m("mozilla")||m("webkit")?!0:this._browserQueryCommandEnabled("inserttable")},_cutEnabledImpl:function(){var C=!0;m("webkit")?((C=this.window.getSelection())&&(C=C.toString()),C=!!C):C=this._browserQueryCommandEnabled("cut");return C},_copyEnabledImpl:function(){var C=!0;m("webkit")?((C=this.window.getSelection())&&(C=C.toString()),C=!!C):C=this._browserQueryCommandEnabled("copy");return C},_pasteEnabledImpl:function(){var C=!0;return m("webkit")?!0:C=this._browserQueryCommandEnabled("paste")},
_inserthorizontalruleImpl:function(C){return m("ie")?this._inserthtmlImpl("\x3chr\x3e"):this.document.execCommand("inserthorizontalrule",!1,C)},_unlinkImpl:function(C){return this.queryCommandEnabled("unlink")&&(m("mozilla")||m("webkit"))?(C=this.selection.getAncestorElement("a"),this.selection.selectElement(C),this.document.execCommand("unlink",!1,null)):this.document.execCommand("unlink",!1,C)},_hilitecolorImpl:function(C){if(!this._handleTextColorOrProperties("hilitecolor",C))if(m("mozilla")){this.document.execCommand("styleWithCSS",
!1,!0);var H=this.document.execCommand("hilitecolor",!1,C);this.document.execCommand("styleWithCSS",!1,!1)}else H=this.document.execCommand("hilitecolor",!1,C);return H},_backcolorImpl:function(C){m("ie")&&(C=C?C:null);var H=this._handleTextColorOrProperties("backcolor",C);H||(H=this.document.execCommand("backcolor",!1,C));return H},_forecolorImpl:function(C){m("ie")&&(C=C?C:null);var H=!1;(H=this._handleTextColorOrProperties("forecolor",C))||(H=this.document.execCommand("forecolor",!1,C));return H},
_inserthtmlImpl:function(C){C=this._preFilterContent(C);var H=!0;if(9>m("ie")){var M=this.document.selection.createRange();if("CONTROL"===this.document.selection.type.toUpperCase()){for(var L=M.item(0);M.length;)M.remove(M.item(0));L.outerHTML=C}else M.pasteHTML(C);M.select()}else if(8>m("trident")){var N=v.getSelection(this.window);if(N&&N.rangeCount&&N.getRangeAt){M=N.getRangeAt(0);M.deleteContents();var O=d.create("div");O.innerHTML=C;for(L=this.document.createDocumentFragment();C=O.firstChild;)var P=
L.appendChild(C);M.insertNode(L);P&&(M=M.cloneRange(),M.setStartAfter(P),M.collapse(!1),N.removeAllRanges(),N.addRange(M))}}else m("mozilla")&&!C.length?this.selection.remove():H=this.document.execCommand("inserthtml",!1,C);return H},_boldImpl:function(C){var H=!1;if(m("ie")||m("trident"))this._adaptIESelection(),H=this._adaptIEFormatAreaAndExec("bold");H||(H=this.document.execCommand("bold",!1,C));return H},_italicImpl:function(C){var H=!1;if(m("ie")||m("trident"))this._adaptIESelection(),H=this._adaptIEFormatAreaAndExec("italic");
H||(H=this.document.execCommand("italic",!1,C));return H},_underlineImpl:function(C){var H=!1;if(m("ie")||m("trident"))this._adaptIESelection(),H=this._adaptIEFormatAreaAndExec("underline");H||(H=this.document.execCommand("underline",!1,C));return H},_strikethroughImpl:function(C){var H=!1;if(m("ie")||m("trident"))this._adaptIESelection(),H=this._adaptIEFormatAreaAndExec("strikethrough");H||(H=this.document.execCommand("strikethrough",!1,C));return H},_superscriptImpl:function(C){var H=!1;if(m("ie")||
m("trident"))this._adaptIESelection(),H=this._adaptIEFormatAreaAndExec("superscript");H||(H=this.document.execCommand("superscript",!1,C));return H},_subscriptImpl:function(C){var H=!1;if(m("ie")||m("trident"))this._adaptIESelection(),H=this._adaptIEFormatAreaAndExec("subscript");H||(H=this.document.execCommand("subscript",!1,C));return H},_fontnameImpl:function(C){if(m("ie")||m("trident"))var H=this._handleTextColorOrProperties("fontname",C);H||(H=this.document.execCommand("fontname",!1,C));return H},
_fontsizeImpl:function(C){if(m("ie")||m("trident"))var H=this._handleTextColorOrProperties("fontsize",C);H||(H=this.document.execCommand("fontsize",!1,C));return H},_insertorderedlistImpl:function(C){var H=!1;if(m("ie")||m("trident")||m("edge"))H=this._adaptIEList("insertorderedlist",C);H||(H=this.document.execCommand("insertorderedlist",!1,C));return H},_insertunorderedlistImpl:function(C){var H=!1;if(m("ie")||m("trident")||m("edge"))H=this._adaptIEList("insertunorderedlist",C);H||(H=this.document.execCommand("insertunorderedlist",
!1,C));return H},getHeaderHeight:function(){return this._getNodeChildrenHeight(this.header)},getFooterHeight:function(){return this._getNodeChildrenHeight(this.footer)},_getNodeChildrenHeight:function(C){var H=0;if(C&&C.childNodes){var M;for(M=0;M<C.childNodes.length;M++){var L=c.position(C.childNodes[M]);H+=L.h}}return H},_isNodeEmpty:function(C,H){return 1===C.nodeType?0<C.childNodes.length?this._isNodeEmpty(C.childNodes[0],H):!0:3===C.nodeType?""===C.nodeValue.substring(H):!1},_removeStartingRangeFromRange:function(C,
H){if(C.nextSibling)H.setStart(C.nextSibling,0);else{for(C=C.parentNode;C&&null==C.nextSibling;)C=C.parentNode;C&&H.setStart(C.nextSibling,0)}return H},_adaptIESelection:function(){var C=v.getSelection(this.window);if(C&&C.rangeCount&&!C.isCollapsed){for(var H=C.getRangeAt(0),M=H.startContainer,L=H.startOffset;3===M.nodeType&&L>=M.length&&M.nextSibling;)L-=M.length,M=M.nextSibling;for(var N=null;this._isNodeEmpty(M,L)&&M!==N;)N=M,H=this._removeStartingRangeFromRange(M,H),M=H.startContainer,L=0;C.removeAllRanges();
C.addRange(H)}},_adaptIEFormatAreaAndExec:function(C){var H=v.getSelection(this.window),M=this.document,L;if(C&&H&&H.isCollapsed){if(this.queryCommandValue(C)){C=this._tagNamesForCommand(C);var N=H.getRangeAt(0);var O=N.startContainer;if(3===O.nodeType){var P=N.endOffset;O.length<P&&(P=this._adjustNodeAndOffset(X,P),O=P.node,P=P.offset)}for(;O&&O!==this.editNode;){var X=O.tagName?O.tagName.toLowerCase():"";if(-1<t.indexOf(C,X)){var Y=O;break}O=O.parentNode}if(Y&&(X=N.startContainer,C=M.createElement(Y.tagName),
d.place(C,Y,"after"),X&&3===X.nodeType)){P=N.endOffset;X.length<P&&(P=this._adjustNodeAndOffset(X,P),X=P.node,P=P.offset);O=X.nodeValue;N=M.createTextNode(O.substring(0,P));var ba=O.substring(P,O.length);ba&&(L=M.createTextNode(ba));d.place(N,X,"before");if(L){var ea=M.createElement("span");ea.className="ieFormatBreakerSpan";d.place(ea,X,"after");d.place(L,ea,"after");L=ea}d.destroy(X);P=N.parentNode;for(X=[];P!==Y;){O=P.tagName;N={tagName:O};X.push(N);O=M.createElement(O);P.style&&O.style&&P.style.cssText&&
(O.style.cssText=P.style.cssText,N.cssText=P.style.cssText);"FONT"===P.tagName&&(P.color&&(O.color=P.color,N.color=P.color),P.face&&(O.face=P.face,N.face=P.face),P.size&&(O.size=P.size,N.size=P.size));P.className&&(O.className=P.className,N.className=P.className);if(L)for(;L;)N=L.nextSibling,O.appendChild(L),L=N;O.tagName==P.tagName?(ea=M.createElement("span"),ea.className="ieFormatBreakerSpan",d.place(ea,P,"after"),d.place(O,ea,"after")):d.place(O,P,"after");N=P;L=O;P=P.parentNode}if(L){if(1===L.nodeType||
3===L.nodeType&&L.nodeValue)C.innerHTML="";for(;L;)N=L.nextSibling,C.appendChild(L),L=N}if(X.length){N=X.pop();L=M.createElement(N.tagName);N.cssText&&L.style&&(L.style.cssText=N.cssText);N.className&&(L.className=N.className);"FONT"===N.tagName&&(N.color&&(L.color=N.color),N.face&&(L.face=N.face),N.size&&(L.size=N.size));for(d.place(L,C,"before");X.length;)N=X.pop(),Y=M.createElement(N.tagName),N.cssText&&Y.style&&(Y.style.cssText=N.cssText),N.className&&(Y.className=N.className),"FONT"===N.tagName&&
(N.color&&(Y.color=N.color),N.face&&(Y.face=N.face),N.size&&(Y.size=N.size)),L.appendChild(Y),L=Y;Y=M.createTextNode(".");ea.appendChild(Y);L.appendChild(Y)}else ea=M.createElement("span"),ea.className="ieFormatBreakerSpan",Y=M.createTextNode("."),ea.appendChild(Y),d.place(ea,C,"before");L=v.create(this.window);L.setStart(Y,0);L.setEnd(Y,Y.length);H.removeAllRanges();H.addRange(L);this.selection.collapse(!1);Y.parentNode.innerHTML="";C.firstChild||d.destroy(C);return!0}return!1}N=H.getRangeAt(0);
if((X=N.startContainer)&&3===X.nodeType)return P=N.startOffset,X.length<P&&(P=this._adjustNodeAndOffset(X,P),X=P.node,P=P.offset),O=X.nodeValue,N=M.createTextNode(O.substring(0,P)),ba=O.substring(P),""!==ba&&(L=M.createTextNode(O.substring(P))),ea=M.createElement("span"),Y=M.createTextNode("."),ea.appendChild(Y),N.length?d.place(N,X,"after"):N=X,d.place(ea,N,"after"),L&&d.place(L,ea,"after"),d.destroy(X),L=v.create(this.window),L.setStart(Y,0),L.setEnd(Y,Y.length),H.removeAllRanges(),H.addRange(L),
M.execCommand(C),d.place(ea.firstChild,ea,"before"),d.destroy(ea),L.setStart(Y,0),L.setEnd(Y,Y.length),H.removeAllRanges(),H.addRange(L),this.selection.collapse(!1),Y.parentNode.innerHTML="",!0}else return!1},_adaptIEList:function(C){var H=v.getSelection(this.window);if(H.isCollapsed&&H.rangeCount&&!this.queryCommandValue(C)){var M=H.getRangeAt(0),L=M.startContainer;if(L&&3==L.nodeType&&!M.startOffset)return M="ul","insertorderedlist"===C&&(M="ol"),C=this.document.createElement(M),M=d.create("li",
null,C),d.place(C,L,"before"),M.appendChild(L),d.create("br",null,C,"after"),C=v.create(this.window),C.setStart(L,0),C.setEnd(L,L.length),H.removeAllRanges(),H.addRange(C),this.selection.collapse(!0),!0}return!1},_handleTextColorOrProperties:function(C,H){var M=v.getSelection(this.window),L=this.document,N,O;H=H||null;if(C&&M&&M.isCollapsed&&M.rangeCount){var P=M.getRangeAt(0);if((N=P.startContainer)&&3===N.nodeType){var X=P.startOffset;N.length<X&&(P=this._adjustNodeAndOffset(N,X),N=P.node,X=P.offset);
var Y=N.nodeValue;P=L.createTextNode(Y.substring(0,X));""!==Y.substring(X)&&(O=L.createTextNode(Y.substring(X)));Y=L.createElement("span");X=L.createTextNode(".");Y.appendChild(X);L=L.createElement("span");Y.appendChild(L);P.length?d.place(P,N,"after"):P=N;d.place(Y,P,"after");O&&d.place(O,Y,"after");d.destroy(N);N=v.create(this.window);N.setStart(X,0);N.setEnd(X,X.length);M.removeAllRanges();M.addRange(N);if(m("webkit")){M="color";if("hilitecolor"===C||"backcolor"===C)M="backgroundColor";a.set(Y,
M,H);this.selection.remove();d.destroy(L);Y.innerHTML="\x26#160;";this.selection.selectElement(Y);this.focus()}else this.execCommand(C,H),d.place(Y.firstChild,Y,"before"),d.destroy(Y),N.setStart(X,0),N.setEnd(X,X.length),M.removeAllRanges(),M.addRange(N),this.selection.collapse(!1),X.parentNode.removeChild(X);return!0}}return!1},_adjustNodeAndOffset:function(C,H){for(;C.length<H&&C.nextSibling&&3===C.nextSibling.nodeType;)H-=C.length,C=C.nextSibling;return{node:C,offset:H}},_tagNamesForCommand:function(C){return"bold"===
C?["b","strong"]:"italic"===C?["i","em"]:"strikethrough"===C?["s","strike"]:"superscript"===C?["sup"]:"subscript"===C?["sub"]:"underline"===C?["u"]:[]},_stripBreakerNodes:function(C){if(this.isLoaded)return q(".ieFormatBreakerSpan",C).forEach(function(H){for(;H.firstChild;)d.place(H.firstChild,H,"before");d.destroy(H)}),C},_stripTrailingEmptyNodes:function(C){function H(M){return/^(p|div|br)$/i.test(M.nodeName)&&0==M.children.length&&/^[\s\xA0]*$/.test(M.textContent||M.innerText||"")||3===M.nodeType&&
/^[\s\xA0]*$/.test(M.nodeValue)}for(;C.lastChild&&H(C.lastChild);)d.destroy(C.lastChild);return C},_setTextDirAttr:function(C){this._set("textDir",C);this.onLoadDeferred.then(k.hitch(this,function(){this.editNode.dir=C}))}});return J})},"dojo/_base/url":function(){define(["./kernel"],function(t){var x=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),w=RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),n=function(){for(var h=arguments,f=[h[0]],g=1;g<
h.length;g++)if(h[g]){var d=new n(h[g]+"");f=new n(f[0]+"");if(""==d.path&&!d.scheme&&!d.authority&&!d.query)null!=d.fragment&&(f.fragment=d.fragment),d=f;else if(!d.scheme&&(d.scheme=f.scheme,!d.authority&&(d.authority=f.authority,"/"!=d.path.charAt(0)))){f=(f.path.substring(0,f.path.lastIndexOf("/")+1)+d.path).split("/");for(var c=0;c<f.length;c++)"."==f[c]?c==f.length-1?f[c]="":(f.splice(c,1),c--):0<c&&(1!=c||""!=f[0])&&".."==f[c]&&".."!=f[c-1]&&(c==f.length-1?(f.splice(c,1),f[c-1]=""):(f.splice(c-
1,2),c-=2));d.path=f.join("/")}f=[];d.scheme&&f.push(d.scheme,":");d.authority&&f.push("//",d.authority);f.push(d.path);d.query&&f.push("?",d.query);d.fragment&&f.push("#",d.fragment)}this.uri=f.join("");h=this.uri.match(x);this.scheme=h[2]||(h[1]?"":null);this.authority=h[4]||(h[3]?"":null);this.path=h[5];this.query=h[7]||(h[6]?"":null);this.fragment=h[9]||(h[8]?"":null);null!=this.authority&&(h=this.authority.match(w),this.user=h[3]||null,this.password=h[4]||null,this.host=h[6]||h[7],this.port=
h[9]||null)};n.prototype.toString=function(){return this.uri};return t._Url=n})},"dijit/selection":function(){define("dojo/_base/array dojo/dom dojo/_base/lang dojo/sniff dojo/_base/window dijit/focus".split(" "),function(t,x,w,n,h,f){var g=function(c){var a=c.document;this.getType=function(){if(a.getSelection){var b="text";try{var e=c.getSelection()}catch(k){}e&&1==e.rangeCount&&(e=e.getRangeAt(0),e.startContainer==e.endContainer&&1==e.endOffset-e.startOffset&&3!=e.startContainer.nodeType&&(b="control"));
return b}return a.selection.type.toLowerCase()};this.getSelectedText=function(){if(a.getSelection){var b=c.getSelection();return b?b.toString():""}return"control"==this.getType()?null:a.selection.createRange().text};this.getSelectedHtml=function(){if(a.getSelection){var b=c.getSelection();if(b&&b.rangeCount){var e,k="";for(e=0;e<b.rangeCount;e++){var r=b.getRangeAt(e).cloneContents(),q=a.createElement("div");q.appendChild(r);k+=q.innerHTML}return k}return null}return"control"==this.getType()?null:
a.selection.createRange().htmlText};this.getSelectedElement=function(){if("control"==this.getType()){if(a.getSelection){var b=c.getSelection();return b.anchorNode.childNodes[b.anchorOffset]}if((b=a.selection.createRange())&&b.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(b){return null!=this.getAncestorElement.apply(this,arguments)};this.getAncestorElement=function(b){var e=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(e,arguments)};this.isTag=function(b,e){if(b&&b.tagName){b=b.tagName.toLowerCase();for(var k=0;k<e.length;k++){var r=String(e[k]).toLowerCase();if(b==r)return r}}return""};this.getParentOfType=
function(b,e){for(;b;){if(this.isTag(b,e).length)return b;b=b.parentNode}return null};this.collapse=function(b){if(a.getSelection){var e=c.getSelection();e.removeAllRanges?b?e.collapseToStart():e.collapseToEnd():e.collapse(b)}else e=a.selection.createRange(),e.collapse(b),e.select()};this.remove=function(){var b=a.selection;a.getSelection?(b=c.getSelection(),b.deleteFromDocument()):"none"!=b.type.toLowerCase()&&b.clear();return b};this.selectElementChildren=function(b,e){b=x.byId(b);if(a.getSelection)if(e=
c.getSelection(),n("opera")){var k=e.rangeCount?e.getRangeAt(0):a.createRange();k.setStart(b,0);k.setEnd(b,3==b.nodeType?b.length:b.childNodes.length);e.addRange(k)}else e.selectAllChildren(b);else if(k=b.ownerDocument.body.createTextRange(),k.moveToElementText(b),!e)try{k.select()}catch(r){}};this.selectElement=function(b,e){b=x.byId(b);if(a.getSelection){e=a.getSelection();var k=a.createRange();e.removeAllRanges&&(n("opera")&&e.getRangeAt(0)&&(k=e.getRangeAt(0)),k.selectNode(b),e.removeAllRanges(),
e.addRange(k))}else try{var r=b.tagName?b.tagName.toLowerCase():"";k="img"===r||"table"===r?h.body(a).createControlRange():h.body(a).createRange();k.addElement(b);e||k.select()}catch(q){this.selectElementChildren(b,e)}};this.inSelection=function(b){if(b){var e;if(a.getSelection){var k=c.getSelection();k&&0<k.rangeCount&&(e=k.getRangeAt(0));if(e&&e.compareBoundaryPoints&&a.createRange)try{var r=a.createRange();r.setStart(b,0);if(1===e.compareBoundaryPoints(e.START_TO_END,r))return!0}catch(q){}}else{e=
a.selection.createRange();try{r=b.ownerDocument.body.createTextRange(),r.moveToElementText(b)}catch(q){}if(e&&r&&1===e.compareEndPoints("EndToStart",r))return!0}}return!1};this.getBookmark=function(){var b,e=a.selection,k=f.curNode;if(a.getSelection){if(e=c.getSelection())if(e.isCollapsed){if(b=k?k.tagName:"")if(b=b.toLowerCase(),"textarea"==b||"input"==b&&(!k.type||"text"==k.type.toLowerCase()))return e={start:k.selectionStart,end:k.selectionEnd,node:k,pRange:!0},{isCollapsed:e.end<=e.start,mark:e};
b={isCollapsed:!0};e.rangeCount&&(b.mark=e.getRangeAt(0).cloneRange())}else{var r=e.getRangeAt(0);b={isCollapsed:!1,mark:r.cloneRange()}}}else if(e){b=k?k.tagName:"";b=b.toLowerCase();if(k&&b&&("button"==b||"textarea"==b||"input"==b)){if(e.type&&"none"==e.type.toLowerCase())return{isCollapsed:!0,mark:null};r=e.createRange();return{isCollapsed:r.text&&r.text.length?!1:!0,mark:{range:r,pRange:!0}}}b={};try{r=e.createRange(),b.isCollapsed=!("Text"==e.type?r.htmlText.length:r.length)}catch(q){return b.isCollapsed=
!0,b}if("CONTROL"==e.type.toUpperCase())if(r.length)for(b.mark=[],e=0,k=r.length;e<k;)b.mark.push(r.item(e++));else b.isCollapsed=!0,b.mark=null;else b.mark=r.getBookmark()}return b};this.moveToBookmark=function(b){if(b=b.mark)if(a.getSelection){var e=c.getSelection();e&&e.removeAllRanges&&(b.pRange?(e=b.node,e.selectionStart=b.start,e.selectionEnd=b.end):(e.removeAllRanges(),e.addRange(b)))}else if(a.selection&&b){if(b.pRange)var k=b.range;else w.isArray(b)?(k=a.body.createControlRange(),t.forEach(b,
function(r){k.addElement(r)})):(k=a.body.createTextRange(),k.moveToBookmark(b));k.select()}};this.isCollapsed=function(){return this.getBookmark().isCollapsed}},d=new g(window);d.SelectionManager=g;return d})},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang"],function(t,x,w){var n={getIndex:function(g,d){for(var c=[],a=[],b=g,e,k;g!=d;){var r=0;for(e=g.parentNode;k=e.childNodes[r++];)if(k===g){--r;break}c.unshift(r);a.unshift(r-e.childNodes.length);
g=e}if(0<c.length&&3==b.nodeType){for(k=b.previousSibling;k&&3==k.nodeType;)c[c.length-1]--,k=k.previousSibling;for(k=b.nextSibling;k&&3==k.nodeType;)a[a.length-1]++,k=k.nextSibling}return{o:c,r:a}},getNode:function(g,d){if(!w.isArray(g)||0==g.length)return d;var c=d;t.every(g,function(a){if(0<=a&&a<c.childNodes.length)c=c.childNodes[a];else return c=null,!1;return!0});return c},getCommonAncestor:function(g,d,c){c=c||g.ownerDocument.body;var a=function(k){for(var r=[];k;)if(r.unshift(k),k!==c)k=k.parentNode;
else break;return r};g=a(g);d=a(d);a=Math.min(g.length,d.length);for(var b=g[0],e=1;e<a;e++)if(g[e]===d[e])b=g[e];else break;return b},getAncestor:function(g,d,c){for(c=c||g.ownerDocument.body;g&&g!==c;){var a=g.nodeName.toUpperCase();if(d.test(a))return g;g=g.parentNode}return null},BlockTagNames:/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/,getBlockAncestor:function(g,d,c){c=c||g.ownerDocument.body;d=d||n.BlockTagNames;for(var a=null,b;g&&g!==c;){var e=g.nodeName.toUpperCase();!a&&
d.test(e)&&(a=g);!b&&/^(?:BODY|TD|TH|CAPTION)$/.test(e)&&(b=g);g=g.parentNode}return{blockNode:a,blockContainer:b||g.ownerDocument.body}},atBeginningOfContainer:function(g,d,c){var a=!1,b=0==c;b||3!=d.nodeType||/^[\s\xA0]+$/.test(d.nodeValue.substr(0,c))&&(b=!0);if(b)for(a=!0;d&&d!==g;){if(d.previousSibling){a=!1;break}d=d.parentNode}return a},atEndOfContainer:function(g,d,c){var a=!1,b=c==(d.length||d.childNodes.length);b||3!=d.nodeType||/^[\s\xA0]+$/.test(d.nodeValue.substr(c))&&(b=!0);if(b)for(a=
!0;d&&d!==g;){if(d.nextSibling){a=!1;break}d=d.parentNode}return a},adjacentNoneTextNode:function(g,d){var c=g;g=0-g.length||0;for(d=d?"nextSibling":"previousSibling";c&&3==c.nodeType;)g+=c.length,c=c[d];return[c,g]},create:function(g){g=g||window;return g.getSelection?g.document.createRange():new f},getSelection:function(g,d){if(g.getSelection)return g.getSelection();g=new h.selection(g);d||g._getCurrentSelection();return g}};if(!window.getSelection)var h=n.ie={cachedSelection:{},selection:function(g){this._ranges=
[];this.addRange=function(d,c){this._ranges.push(d);c||d._select();this.rangeCount=this._ranges.length};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0};this.getRangeAt=function(d){return this._ranges[d]};this._getCurrentSelection=function(){this.removeAllRanges();var d=g.document.selection.createRange();d="CONTROL"==g.document.selection.type.toUpperCase()?new f(h.decomposeControlRange(d)):new f(h.decomposeTextRange(d));this.addRange(d,!0),this.isCollapsed=d.collapsed}},decomposeControlRange:function(g){var d=
g.item(0),c=g.item(g.length-1);g=d.parentNode;var a=c.parentNode;d=n.getIndex(d,g).o[0];c=n.getIndex(c,a).o[0]+1;return[g,d,a,c]},getEndPoint:function(g,d){var c=g.duplicate();c.collapse(!d);var a="EndTo"+(d?"End":"Start"),b=c.parentElement(),e;if(0<b.childNodes.length)t.every(b.childNodes,function(q,l){if(3!=q.nodeType)if(c.moveToElementText(q),0<c.compareEndPoints(a,g))if(e&&3==e.nodeType){k=e;var m=!0}else return k=b,r=l,!1;else{if(l==b.childNodes.length-1)return k=b,r=b.childNodes.length,!1}else l==
b.childNodes.length-1&&(k=q,m=!0);if(m&&k)return k=(q=n.adjacentNoneTextNode(k)[0])?q.nextSibling:b.firstChild,l=n.adjacentNoneTextNode(k),q=l[0],l=l[1],q?(c.moveToElementText(q),c.collapse(!1)):c.moveToElementText(b),c.setEndPoint(a,g),r=c.text.length-l,!1;e=q;return!0});else{var k=b;var r=0}d||1!=k.nodeType||r!=k.childNodes.length||(d=k.nextSibling)&&3==d.nodeType&&(k=d,r=0);return[k,r]},setEndPoint:function(g,d,c){g=g.duplicate();var a;if(3!=d.nodeType)if(0<c){if(a=d.childNodes[c-1])if(3==a.nodeType)d=
a,c=a.length;else if(a.nextSibling&&3==a.nextSibling.nodeType)d=a.nextSibling,c=0;else{g.moveToElementText(a.nextSibling?a:d);var b=a.parentNode;a=b.insertBefore(a.ownerDocument.createTextNode(" "),a.nextSibling);g.collapse(!1);b.removeChild(a)}}else g.moveToElementText(d),g.collapse(!0);3==d.nodeType&&(a=n.adjacentNoneTextNode(d),b=a[0],a=a[1],b?(g.moveToElementText(b),g.collapse(!1),"inherit"!=b.contentEditable&&a++):(g.moveToElementText(d.parentNode),g.collapse(!0),g.move("character",1),g.move("character",
-1)),c+=a,0<c&&g.move("character",c));return g},decomposeTextRange:function(g){var d=h.getEndPoint(g),c=d[0],a=d[1],b=d[0];d=d[1];g.htmlText.length&&(g.htmlText==g.text?d=a+g.text.length:(d=h.getEndPoint(g,!0),b=d[0],d=d[1]));return[c,a,b,d]},setRange:function(g,d,c,a,b,e){d=h.setEndPoint(g,d,c);g.setEndPoint("StartToStart",d);if(!e)var k=h.setEndPoint(g,a,b);g.setEndPoint("EndToEnd",k||d);return g}},f=n.W3CRange=x(null,{constructor:function(){0<arguments.length?(this.setStart(arguments[0][0],arguments[0][1]),
this.setEnd(arguments[0][2],arguments[0][3])):(this.startContainer=this.commonAncestorContainer=null,this.startOffset=0,this.endContainer=null,this.endOffset=0,this.collapsed=!0)},_updateInternal:function(){this.commonAncestorContainer=this.startContainer!==this.endContainer?n.getCommonAncestor(this.startContainer,this.endContainer):this.startContainer;this.collapsed=this.startContainer===this.endContainer&&this.startOffset==this.endOffset},setStart:function(g,d){d=parseInt(d);if(this.startContainer!==
g||this.startOffset!=d)delete this._cachedBookmark,this.startContainer=g,this.startOffset=d,this.endContainer?this._updateInternal():this.setEnd(g,d)},setEnd:function(g,d){d=parseInt(d);if(this.endContainer!==g||this.endOffset!=d)delete this._cachedBookmark,this.endContainer=g,this.endOffset=d,this.startContainer?this._updateInternal():this.setStart(g,d)},setStartAfter:function(g,d){this._setPoint("setStart",g,d,1)},setStartBefore:function(g,d){this._setPoint("setStart",g,d,0)},setEndAfter:function(g,
d){this._setPoint("setEnd",g,d,1)},setEndBefore:function(g,d){this._setPoint("setEnd",g,d,0)},_setPoint:function(g,d,c,a){c=n.getIndex(d,d.parentNode).o;this[g](d.parentNode,c.pop()+a)},_getIERange:function(){var g=(this._body||this.endContainer.ownerDocument.body).createTextRange();h.setRange(g,this.startContainer,this.startOffset,this.endContainer,this.endOffset,this.collapsed);return g},getBookmark:function(){this._getIERange();return this._cachedBookmark},_select:function(){this._getIERange().select()},
deleteContents:function(){var g=this.startContainer,d=this._getIERange();3!==g.nodeType||this.startOffset||this.setStartBefore(g);d.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=!0},cloneRange:function(){var g=new f([this.startContainer,this.startOffset,this.endContainer,this.endOffset]);g._body=this._body;return g},detach:function(){this.startContainer=this.commonAncestorContainer=this._body=null;this.startOffset=0;this.endContainer=null;this.endOffset=
0;this.collapsed=!0}});w.setObject("dijit.range",n);return n})},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/sniff"],function(t,x,w){var n={};x.setObject("dijit._editor.html",n);var h=n.escapeXml=function(f,g){f=f.replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;");g||(f=f.replace(/'/gm,"\x26#39;"));return f};n.getNodeHtml=function(f){var g=[];n.getNodeHtmlHelper(f,g);return g.join("")};n.getNodeHtmlHelper=function(f,
g){switch(f.nodeType){case 1:var d=f.nodeName.toLowerCase();if(!d||"/"==d.charAt(0))return"";g.push("\x3c",d);var c=[],a={},b;if(w("dom-attributes-explicit")||w("dom-attributes-specified-flag"))for(var e=0;b=f.attributes[e++];){var k=b.name;"_dj"===k.substr(0,3)||w("dom-attributes-specified-flag")&&!b.specified||k in a||(b=b.value,("src"==k||"href"==k)&&f.getAttribute("_djrealurl")&&(b=f.getAttribute("_djrealurl")),8===w("ie")&&"style"===k&&(b=b.replace("HEIGHT:","height:").replace("WIDTH:","width:")),
c.push([k,b]),a[k]=b)}else{var r=(/^input$|^img$/i.test(f.nodeName)?f:f.cloneNode(!1)).outerHTML;a=r.match(/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi);r=r.substr(0,r.indexOf("\x3e"));t.forEach(a,function(q){if(q){var l=q.indexOf("\x3d");if(0<l&&(q=q.substring(0,l),"_dj"!=q.substr(0,3)))if("src"!=q&&"href"!=q||!f.getAttribute("_djrealurl")){switch(q){case "style":var m=f.style.cssText.toLowerCase();break;case "class":m=f.className;break;case "width":if("img"===d){(l=/width=(\S+)/i.exec(r))&&(m=l[1]);break}case "height":if("img"===
d){(l=/height=(\S+)/i.exec(r))&&(m=l[1]);break}default:m=f.getAttribute(q)}null!=m&&c.push([q,m.toString()])}else c.push([q,f.getAttribute("_djrealurl")])}},this)}c.sort(function(q,l){return q[0]<l[0]?-1:q[0]==l[0]?0:1});for(a=0;b=c[a++];)g.push(" ",b[0],'\x3d"',"string"===typeof b[1]?h(b[1],!0):b[1],'"');switch(d){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":g.push(" /\x3e");break;case "script":g.push("\x3e",f.innerHTML,"\x3c/",d,"\x3e");break;default:g.push("\x3e"),
f.hasChildNodes()&&n.getChildrenHtmlHelper(f,g),g.push("\x3c/",d,"\x3e")}break;case 4:case 3:g.push(h(f.nodeValue,!0));break;case 8:g.push("\x3c!--",h(f.nodeValue,!0),"--\x3e");break;default:g.push("\x3c!-- Element not recognized - Type: ",f.nodeType," Name: ",f.nodeName,"--\x3e")}};n.getChildrenHtml=function(f){var g=[];n.getChildrenHtmlHelper(f,g);return g.join("")};n.getChildrenHtmlHelper=function(f,g){if(f)for(var d=f.childNodes||f,c=!w("ie")||d!==f,a,b=0;a=d[b++];)c&&a.parentNode!=f||n.getNodeHtmlHelper(a,
g)};return n})},"dojox/xml/parser":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/window","dojo/_base/sniff"],function(t){t.getObject("xml.parser",!0,dojox);dojox.xml.parser.parse=function(x,w){var n=t.doc;w=w||"text/xml";if(x&&t.trim(x)&&"DOMParser"in t.global){var h=(new DOMParser).parseFromString(x,w);x=h.documentElement;if("parsererror"==x.nodeName&&"http://www.mozilla.org/newlayout/xml/parsererror.xml"==x.namespaceURI){if(n=x.getElementsByTagNameNS("http://www.mozilla.org/newlayout/xml/parsererror.xml",
"sourcetext")[0])n=n.firstChild.data;throw Error("Error parsing text "+x.firstChild.data+" \n"+n);}return h}if("ActiveXObject"in t.global){n=function(g){return"MSXML"+g+".DOMDocument"};n=["Microsoft.XMLDOM",n(6),n(4),n(3),n(2)];t.some(n,function(g){try{h=new ActiveXObject(g)}catch(d){return!1}return!0});if(x&&h&&(h.async=!1,h.loadXML(x),x=h.parseError,0!==x.errorCode))throw Error("Line: "+x.line+"\nCol: "+x.linepos+"\nReason: "+x.reason+"\nError Code: "+x.errorCode+"\nSource: "+x.srcText);if(h)return h}else if(n.implementation&&
n.implementation.createDocument){if(x&&t.trim(x)&&n.createElement){w=n.createElement("xml");w.innerHTML=x;var f=n.implementation.createDocument("foo","",null);t.forEach(w.childNodes,function(g){f.importNode(g,!0)});return f}return n.implementation.createDocument("","",null)}return null};dojox.xml.parser.textContent=function(x,w){if(1<arguments.length)return dojox.xml.parser.replaceChildren(x,(x.ownerDocument||t.doc).createTextNode(w)),w;if(void 0!==x.textContent)return x.textContent;var n="";x&&t.forEach(x.childNodes,
function(h){switch(h.nodeType){case 1:case 5:n+=dojox.xml.parser.textContent(h);break;case 3:case 2:case 4:n+=h.nodeValue}});return n};dojox.xml.parser.replaceChildren=function(x,w){var n=[];t.isIE&&t.forEach(x.childNodes,function(h){n.push(h)});dojox.xml.parser.removeChildren(x);t.forEach(n,t.destroy);t.isArray(w)?t.forEach(w,function(h){x.appendChild(h)}):x.appendChild(w)};dojox.xml.parser.removeChildren=function(x){for(var w=x.childNodes.length;x.hasChildNodes();)x.removeChild(x.firstChild);return w};
dojox.xml.parser.innerXML=function(x){return x.innerXML?x.innerXML:x.xml?x.xml:"undefined"!=typeof XMLSerializer?(new XMLSerializer).serializeToString(x):null};return dojox.xml.parser})},"url:dojox/grid/resources/View.html":'\x3cdiv class\x3d"dojoxGridView" role\x3d"presentation"\x3e\n\t\x3cdiv class\x3d"dojoxGridHeader" dojoAttachPoint\x3d"headerNode" role\x3d"presentation"\x3e\n\t\t\x3cdiv dojoAttachPoint\x3d"headerNodeContainer" style\x3d"width:9000em" role\x3d"presentation"\x3e\n\t\t\t\x3cdiv dojoAttachPoint\x3d"headerContentNode" role\x3d"row"\x3e\x3c/div\x3e\n\t\t\x3c/div\x3e\n\t\x3c/div\x3e\n\t\x3cinput type\x3d"checkbox" class\x3d"dojoxGridHiddenFocus" dojoAttachPoint\x3d"hiddenFocusNode" aria-hidden\x3d"true" /\x3e\n\t\x3cinput type\x3d"checkbox" class\x3d"dojoxGridHiddenFocus" aria-hidden\x3d"true" /\x3e\n\t\x3cdiv class\x3d"dojoxGridScrollbox" dojoAttachPoint\x3d"scrollboxNode" role\x3d"presentation"\x3e\n\t\t\x3cdiv class\x3d"dojoxGridContent" dojoAttachPoint\x3d"contentNode" hidefocus\x3d"hidefocus" role\x3d"presentation"\x3e\x3c/div\x3e\n\t\x3c/div\x3e\n\x3c/div\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/CheckedMenuItem.html":'\x3ctr class\x3d"dijitReset" data-dojo-attach-point\x3d"focusNode" role\x3d"${role}" tabIndex\x3d"-1" aria-checked\x3d"${checked}"\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemIconCell" role\x3d"presentation"\x3e\n\t\t\x3cspan class\x3d"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\n\t\t\x3cspan class\x3d"dijitMenuItemIconChar dijitCheckedMenuItemIconChar"\x3e${!checkedChar}\x3c/span\x3e\n\t\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemLabel" colspan\x3d"2" data-dojo-attach-point\x3d"containerNode,labelNode,textDirNode"\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\x26#160;\x3c/td\x3e\n\x3c/tr\x3e\n',
"url:dojox/grid/resources/_Grid.html":'\x3cdiv hidefocus\x3d"hidefocus" role\x3d"grid" dojoAttachEvent\x3d"onmouseout:_mouseOut"\x3e\n\t\x3cdiv class\x3d"dojoxGridMasterHeader" dojoAttachPoint\x3d"viewsHeaderNode" role\x3d"presentation"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dojoxGridMasterView" dojoAttachPoint\x3d"viewsNode" role\x3d"presentation"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dojoxGridMasterMessages" style\x3d"display: none;" dojoAttachPoint\x3d"messagesNode"\x3e\x3c/div\x3e\n\t\x3cspan dojoAttachPoint\x3d"lastFocusNode" tabindex\x3d"0"\x3e\x3c/span\x3e\n\x3c/div\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/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',
"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/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/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/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/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/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/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',
"*now":function(t){t(['dojo/i18n!*preload*dojo/nls/dojo*["ar","bg","bs","ca","cs","da","de","de-ch","el","en-au","en-ca","en-gb","en-us","es","es-mx","et","fi","fr","fr-ch","he","hr","hu","id","it","it-ch","ja","ko","lt","lv","nl","nb","pl","pt","pt-br","pt-pt","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-cn","zh-hk","zh-tw","ROOT"]'])},"*noref":1}});(function(){var t=this.require;t({cache:{}});!t.async&&t(["dojo"]);t.boot&&t.apply(null,t.boot)})();
