diff --git a/install/ui/build/dojo/dojo.js b/install/ui/build/dojo/dojo.js index 5b38c81c9..30e771a0f 100644 --- a/install/ui/build/dojo/dojo.js +++ b/install/ui/build/dojo/dojo.js @@ -1 +1,5 @@ -(function(e,t){var n=function(){},r=function(e){for(var t in e)return 0;return 1},i={}.toString,s=function(e){return i.call(e)=="[object Function]"},o=function(e){return i.call(e)=="[object String]"},u=function(e){return i.call(e)=="[object Array]"},a=function(e,t){if(e)for(var n=0;e[n];)t(e[n++])},f=function(e,t){for(var n in t)e[n]=t[n];return e},l=function(e,t){return f(new Error(e),{src:"dojoLoader",info:t})},c=1,h=function(){return"_"+c++},p=function(e,t,n){return xt(e,t,n,0,p)},d=this,v=d.document,m=v&&v.createElement("DiV"),g=p.has=function(e){return s(y[e])?y[e]=y[e](d,v,m):y[e]},y=g.cache=t.hasCache;g.add=function(e,t,n,r){return(y[e]===undefined||r)&&(y[e]=t),n&&g(e)},0,0;for(var x in e.has)g.add(x,e.has[x],0,1);var T=1,N=2,C=3,k=4,L=5,A=0,O="sync",M="xd",_=[],D=0,P=n,H=n,B;p.isXdUrl=n,p.initSyncLoader=function(e,t,n){return D||(D=e,P=t,H=n),{sync:O,requested:T,arrived:N,nonmodule:C,executing:k,executed:L,syncExecStack:_,modules:Z,execQ:Nt,getModule:Ft,injectModule:ln,setArrived:At,signal:X,finishExec:Gt,execModule:Zt,dojoRequirePlugin:D,getLegacyMode:function(){return A},guardCheckComplete:tn}};var j=location.protocol,F=location.host;p.isXdUrl=function(e){if(/^\./.test(e))return!1;if(/^\/\//.test(e))return!0;var t=e.match(/^([^\/\:]+\:)\/+([^\/]+)/);return t&&(t[1]!=j||F&&t[2]!=F)},1,g.add("dojo-force-activex-xhr",!v.addEventListener&&window.location.protocol=="file:"),g.add("native-xhr",typeof XMLHttpRequest!="undefined");if(g("native-xhr")&&!g("dojo-force-activex-xhr"))B=function(){return new XMLHttpRequest};else{for(var I=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],q,S=0;S<3;)try{q=I[S++];if(new ActiveXObject(q))break}catch(R){}B=function(){return new ActiveXObject(q)}}p.getXhr=B,g.add("dojo-gettext-api",1),p.getText=function(e,t,n){var r=B();r.open("GET",rn(e),!1),r.send(null);if(r.status==200||!location.host&&!r.status)return n&&n(r.responseText,t),r.responseText;throw l("xhrFailed",r.status)};var U=new Function("return eval(arguments[0]);");p.eval=function(e,t){return U(e+"\r\n////@ sourceURL="+t)};var z={},W="error",X=p.signal=function(e,t){var n=z[e];a(n&&n.slice(0),function(e){e.apply(null,u(t)?t:[t])})},V=p.on=function(e,t){var n=z[e]||(z[e]=[]);return n.push(t),{remove:function(){for(var e=0;eE&&(S=s(t[1])?e.replace(t[0],t[1]):t[1])}),S?Pt(S,0,n,r,i,o,u,f,c):(y=r[e],y?c?Dt(y.pid,y.mid,y.pack,y.url):r[e]:(v=Mt(e,u),v?m=v[1]+e.substring(v[3]):h?m=p.location+"/"+d:g("config-tlmSiblingOfDojo")?m="../"+e:m=e,/(^\/)|(\:)/.test(m)||(m=i+m),m+=".js",Dt(h,e,p,_t(m))))},Ht=function(e,t){return Pt(e,t,Q,Z,p.baseUrl,Y,K,$)},Bt=function(e,t,n){return e.normalize?e.normalize(t,function(e){return It(e,n)}):It(t,n)},jt=0,Ft=function(e,t,n){var r,i,s,o;return r=e.match(/^(.+?)\!(.*)$/),r?(i=Ft(r[1],t,n),A==O&&!i.executed&&(ln(i),i.injected===N&&!i.executed&&tn(function(){Zt(i)}),i.executed?Kt(i):Nt.unshift(i)),i.executed===L&&!i.load&&Kt(i),i.load?(s=Bt(i,r[2],t),e=i.mid+"!"+(i.dynamic?++jt+"!":"")+s):(s=r[2],e=i.mid+"!"+ ++jt+"!waitingForPlugin"),o={plugin:i,mid:e,req:Tt(t),prid:s}):o=Ht(e,t),Z[o.mid]||!n&&(Z[o.mid]=o)},It=p.toAbsMid=function(e,t){return Ht(e,t).mid},qt=p.toUrl=function(e,t){var n=Ht(e+"/x",t),r=n.url;return rn(n.pid===0?e:r.substring(0,r.length-5))},Rt={injected:N,executed:L,def:C,result:C},Ut=function(e){return Z[e]=f({mid:e},Rt)},zt=Ut("require"),Wt=Ut("exports"),Xt=Ut("module"),Vt=function(e,t){p.trace("loader-run-factory",[e.mid]);var n=e.def,r;_.unshift(e);if(g("config-dojo-loader-catches"))try{r=s(n)?n.apply(null,t):n}catch(i){X(W,e.result=l("factoryThrew",[e,i]))}else r=s(n)?n.apply(null,t):n;e.result=r===undefined&&e.cjs?e.cjs.exports:r,_.shift(e)},$t={},Jt=0,Kt=function(e){var t=e.result;return e.dynamic=t.dynamic,e.normalize=t.normalize,e.load=t.load,e},Qt=function(e){var t={};a(e.loadQ,function(n){var r=Bt(e,n.prid,n.req.module),i=e.dynamic?n.mid.replace(/waitingForPlugin$/,r):e.mid+"!"+r,s=f(f({},n),{mid:i,prid:r,injected:0});Z[i]||sn(Z[i]=s),t[n.mid]=Z[i],At(n),delete Z[n.mid]}),e.loadQ=0;var n=function(e){for(var n,r=e.deps||[],i=0;i")]),!e.def||t?$t:e.cjs&&e.cjs.exports;if(!e.executed){if(!e.def)return $t;var n=e.mid,r=e.deps||[],i,s,o=[],u=0;e.executed=k;while(i=r[u++]){s=i===zt?Tt(e):i===Wt?e.cjs.exports:i===Xt?e.cjs:Zt(i,t);if(s===$t)return e.executed=0,p.trace("loader-exec-module",["abort",n]),0,$t;o.push(s)}Vt(e,o),Gt(e),0}return e.result},en=0,tn=function(e){try{en++,e()}finally{en--}Ot()&&X("idle",[])},nn=function(){if(en)return;tn(function(){P();for(var e,t,n=0;n0),n.add("device-width",screen.availWidth||innerWidth);var a=document.createElement("form");return n.add("dom-attributes-explicit",a.attributes.length==0),n.add("dom-attributes-specified-flag",a.attributes.length>0&&a.attributes.length<40),n.clearElement=function(e){return e.innerHTML="",e},n.normalize=function(e,t){var r=e.match(/[\?:]|[^:\?]*/g),i=0,s=function(e){var t=r[i++];return t==":"?0:r[i++]=="?"?!e&&n(t)?s():(s(!0),s(e)):t||0};return e=s(),e&&t(e)},n.load=function(e,t,n){e?t([e],n):n()},n})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(e,t,n){function f(e,t){throw new Error("declare"+(t?" "+t:"")+": "+e)}function l(e,t){var n=[],r=[{cls:0,refs:[]}],i={},o=1,a=e.length,l=0,c,h,p,d,v,m,g,y;for(;l=0;--c)v=h[c].prototype,v.hasOwnProperty("declaredClass")||(v.declaredClass="uniqName_"+u++),g=v.declaredClass,i.hasOwnProperty(g)||(i[g]={count:0,refs:[],cls:h[c]},++o),m=i[g],d&&d!==m&&(m.refs.push(d),++d.count),d=m;++d.count,r[0].refs.push(d)}while(r.length){d=r.pop(),n.push(d.cls),--o;while(y=d.refs,y.length==1){d=y[0];if(!d||--d.count){d=0;break}n.push(d.cls),--o}if(d)for(l=0,a=y.length;l=0;--o)s=e[o],u=s._meta,s=u?u.ctor:s,s&&s.apply(this,f?f[o]:n);s=this.postscript,s&&s.apply(this,r)}}function E(e,t){return function(){var n=arguments,r=n,i=n[0],s;if(!(this instanceof n.callee))return N(n);t&&(i&&(s=i.preamble,s&&(r=s.apply(this,r)||r)),s=this.preamble,s&&s.apply(this,r)),e&&e.apply(this,n),s=this.postscript,s&&s.apply(this,n)}}function S(e){return function(){var t=arguments,n=0,r,i;if(!(this instanceof t.callee))return N(t);for(;r=e[n];++n){i=r._meta,r=i?i.ctor:r;if(r){r.apply(this,t);break}}r=this.postscript,r&&r.apply(this,t)}}function x(e,t,n){return function(){var r,i,s,o=0,u=1;n&&(o=t.length-1,u=-1);for(;r=t[o];o+=u)i=r._meta,s=(i?i.hidden:r.prototype)[e],s&&s.apply(this,arguments)}}function T(e){o.prototype=e.prototype;var t=new o;return o.prototype=null,t}function N(e){var t=e.callee,n=T(t);return t.apply(n,e),n}function C(e,t,o){typeof e!="string"&&(o=t,t=e,e=""),o=o||{};var u,p,g,N,k,L,A,O=1,M=t;s.call(t)=="[object Array]"?(L=l(t,e),g=L[0],O=L.length-g,t=L[O]):(L=[0],t?s.call(t)=="[object Function]"?(g=t._meta,L=L.concat(g?g.bases:t)):f("base class is not a callable constructor.",e):t!==null&&f("unknown base class. Did you use dojo.require to pull it in?",e));if(t)for(p=O-1;;--p){u=T(t);if(!p)break;g=L[p],(g._meta?m:r)(u,g.prototype),N=new Function,N.superclass=t,N.prototype=u,t=u.constructor=N}else u={};C.safeMixin(u,o),g=o.constructor,g!==i.constructor&&(g.nom=a,u.constructor=g);for(p=O-1;p;--p)g=L[p]._meta,g&&g.chains&&(A=r(A||{},g.chains));u["-chains-"]&&(A=r(A||{},u["-chains-"])),g=!A||!A.hasOwnProperty(a),L[0]=N=A&&A.constructor==="manual"?S(L):L.length==1?E(o.constructor,g):w(L,g),N._meta={bases:L,hidden:o,chains:A,parents:M,ctor:o.constructor},N.superclass=t&&t.prototype,N.extend=y,N.createSubclass=b,N.prototype=u,u.constructor=N,u.getInherited=h,u.isInstanceOf=v,u.inherited=d,u.__inherited=c,e&&(u.declaredClass=e,n.setObject(e,N));if(A)for(k in A)u[k]&&typeof A[k]=="string"&&k!=a&&(g=u[k]=x(k,L,A[k]==="after"),g.nom=k);return N}var r=n.mixin,i=Object.prototype,s=i.toString,o=new Function,u=0,a="constructor",d=e.config.isDebug?p:c;return e.safeMixin=C.safeMixin=g,e.declare=C,C})},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(e,t,n,r){var i,s,o={},u={},a={config:t,global:this,dijit:o,dojox:u},f={dojo:["dojo",a],dijit:["dijit",o],dojox:["dojox",u]},l=n.map&&n.map[r.id.match(/[^\/]+/)[0]],c;for(s in l)f[s]?f[s][0]=l[s]:f[s]=[l[s],{}];for(s in f)c=f[s],c[1]._scopeName=c[0],t.noGlobals||(this[c[0]]=c[1]);a.scopeMap=f,a.baseUrl=a.config.baseUrl=n.baseUrl,a.isAsync=n.async,a.locale=t.locale;var h="$Rev: 43d05c6 $".match(/\d+/);a.version={major:1,minor:9,patch:1,flag:"",revision:h?+h[0]:NaN,toString:function(){var e=a.version;return e.major+"."+e.minor+"."+e.patch+e.flag+" ("+e.revision+")"}},1,Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(a),a.exit=function(){},1,typeof console!="undefined"||(console={});var p=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"],d;i=0;while(d=p[i++])console[d]||function(){var e=d+"";console[e]="log"in console?function(){var t=Array.apply({},arguments);t.unshift(e+":"),console.log(t.join(" "))}:function(){},console[e]._fake=!0}();e.add("dojo-debug-messages",!!t.isDebug),a.deprecated=a.experimental=function(){},e("dojo-debug-messages")&&(a.deprecated=function(e,t,n){var r="DEPRECATED: "+e;t&&(r+=" "+t),n&&(r+=" -- will be removed in version: "+n),console.warn(r)},a.experimental=function(e,t){var n="EXPERIMENTAL: "+e+" -- APIs subject to change without notice.";t&&(n+=" "+t),console.warn(n)}),1;if(t.modulePaths){a.deprecated("dojo.modulePaths","use paths configuration");var v={};for(s in t.modulePaths)v[s.replace(/\./g,"/")]=t.modulePaths[s];n({paths:v})}return 1,a.moduleUrl=function(e,t){a.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var r=null;return e&&(r=n.toUrl(e.replace(/\./g,"/")+(t?"/"+t:"")+"/*.*").replace(/\/\*\.\*/,"")+(t?"":"/")),r},a._hasResource={},a})},"dojo/_base/config":function(){define(["../has","require"],function(e,t){var n={},r=t.rawConfig,i;for(i in r)n[i]=r[i];return!n.locale&&typeof navigator!="undefined"&&(n.locale=(navigator.language||navigator.userLanguage).toLowerCase()),n})},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(e,t){t.add("bug-for-in-skips-shadowed",function(){for(var e in{toString:1})return 0;return 1});var n=t("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],r=n.length,i=function(t,n,r){var i,s=0,o=e.global;if(!r){if(!t.length)return o;i=t[s++];try{r=e.scopeMap[i]&&e.scopeMap[i][1]}catch(u){}r=r||(i in o?o[i]:n?o[i]={}:undefined)}while(r&&(i=t[s++]))r=i in r?r[i]:n?r[i]={}:undefined;return r},s=Object.prototype.toString,o=function(e,t,n){return(n||[]).concat(Array.prototype.slice.call(e,t||0))},u=/\{([^\}]+)\}/g,a={_extraNames:n,_mixin:function(e,i,s){var o,u,a,f={};for(o in i){u=i[o];if(!(o in e)||e[o]!==u&&(!(o in f)||f[o]!==u))e[o]=s?s(u):u}if(t("bug-for-in-skips-shadowed")&&i)for(a=0;a2)return a._hitchArgs.apply(e,arguments);n||(n=t,t=null);if(a.isString(n)){t=t||e.global;if(!t[n])throw['lang.hitch: scope["',n,'"] is null (scope="',t,'")'].join("");return function(){return t[n].apply(t,arguments||[])}}return t?function(){return n.apply(t,arguments||[])}:n},delegate:function(){function e(){}return function(t,n){e.prototype=t;var r=new e;return e.prototype=null,n&&a._mixin(r,n),r}}(),_toArray:t("ie")?function(){function e(e,t,n){var r=n||[];for(var i=t||0;i=0),e.add("msapp",parseFloat(n.split("MSAppHost/")[1])||undefined),e.add("khtml",r.indexOf("Konqueror")>=0?i:undefined),e.add("webkit",parseFloat(n.split("WebKit/")[1])||undefined),e.add("chrome",parseFloat(n.split("Chrome/")[1])||undefined),e.add("safari",r.indexOf("Safari")>=0&&!e("chrome")?parseFloat(r.split("Version/")[1]):undefined),e.add("mac",r.indexOf("Macintosh")>=0),e.add("quirks",document.compatMode=="BackCompat");if(n.match(/(iPhone|iPod|iPad)/)){var s=RegExp.$1.replace(/P/,"p"),o=n.match(/OS ([\d_]+)/)?RegExp.$1:"1",u=parseFloat(o.replace(/_/,".").replace(/_/g,""));e.add(s,u),e.add("ios",u)}e.add("android",parseFloat(n.split("Android ")[1])||undefined),e.add("bb",(n.indexOf("BlackBerry")>=0||n.indexOf("BB10")>=0)&&parseFloat(n.split("Version/")[1])||undefined),e.add("svg",typeof SVGAngle!="undefined");if(!e("webkit")){n.indexOf("Opera")>=0&&e.add("opera",i>=9.8?parseFloat(n.split("Version/")[1])||i:i),n.indexOf("Gecko")>=0&&!e("khtml")&&!e("webkit")&&e.add("mozilla",i),e("mozilla")&&e.add("ff",parseFloat(n.split("Firefox/")[1]||n.split("Minefield/")[1])||undefined);if(document.all&&!e("opera")){var a=parseFloat(r.split("MSIE ")[1])||undefined,f=document.documentMode;f&&f!=5&&Math.floor(a)!=f&&(a=f),e.add("ie",a)}e.add("wii",typeof opera!="undefined"&&opera.wiiremote)}return e})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(e,t,n){function s(e){return r[e]=new Function("item","index","array",e)}function o(e){var t=!e;return function(n,i,o){var u=0,a=n&&n.length||0,f;a&&typeof n=="string"&&(n=n.split("")),typeof i=="string"&&(i=r[i]||s(i));if(o)for(;u0)return a.lastIndexOf(s,o,u);var l=s&&s.length||0,c=e?l+r:n,h;u===i?h=e?n:l+r:u<0?(h=l+u,h<0&&(h=n)):h=u>=l?l+r:u,l&&typeof s=="string"&&(s=s.split(""));for(;h!=c;h+=t)if(s[h]==o)return h;return-1}}var r={},i,a={every:o(!1),some:o(!0),indexOf:u(!0),lastIndexOf:u(!1),forEach:function(e,t,n){var i=0,o=e&&e.length||0;o&&typeof e=="string"&&(e=e.split("")),typeof t=="string"&&(t=r[t]||s(t));if(n)for(;i>=1))break;e+=e}return n.join("")},n.pad=function(e,t,r,i){r||(r="0");var s=String(e),o=n.rep(r,Math.ceil((t-s.length)/r.length));return i?s+o:o+s},n.substitute=function(n,r,i,s){return s=s||e.global,i=i?t.hitch(s,i):function(e){return e},n.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(e,n,o){var u=t.getObject(n,!1,r);return o&&(u=t.getObject(o,!1,s).call(s,u,n)),i(u,n).toString()})},n.trim=String.prototype.trim?t.trim:function(e){e=e.replace(/^\s+/,"");for(var t=e.length-1;t>=0;t--)if(/\S/.test(e.charAt(t))){e=e.substring(0,t+1);break}return e},n})},"dojo/dom":function(){define(["./sniff","./_base/window"],function(e,t){if(e("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(n){}var r={};e("ie")?r.byId=function(e,n){if(typeof e!="string")return e;var r=n||t.doc,i=e&&r.getElementById(e);if(!(!i||i.attributes.id.value!=e&&i.id!=e))return i;var s=r.all[e];if(!s||s.nodeName)s=[s];var o=0;while(i=s[o++])if(i.attributes&&i.attributes.id&&i.attributes.id.value==e||i.id==e)return i}:r.byId=function(e,n){return(typeof e=="string"?(n||t.doc).getElementById(e):e)||null},r.isDescendant=function(e,t){try{e=r.byId(e),t=r.byId(t);while(e){if(e==t)return!0;e=e.parentNode}}catch(n){}return!1},e.add("css-user-select",function(e,t,n){if(!n)return!1;var r=n.style,i=["Khtml","O","ms","Moz","Webkit"],s=i.length,o="userSelect",u;do if(typeof r[o]!="undefined")return o;while(s--&&(o=i[s]+"UserSelect"));return!1});var i=e("css-user-select");return r.setSelectable=i?function(e,t){r.byId(e).style[i]=t?"":"none"}:function(e,t){e=r.byId(e);var n=e.getElementsByTagName("*"),i=n.length;if(t){e.removeAttribute("unselectable");while(i--)n[i].removeAttribute("unselectable")}else{e.setAttribute("unselectable","on");while(i--)n[i].setAttribute("unselectable","on")}},r})},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(e,t,n){var r={global:e.global,doc:this.document||null,body:function(t){return t=t||e.doc,t.body||t.getElementsByTagName("body")[0]},setContext:function(t,n){e.global=r.global=t,e.doc=r.doc=n},withGlobal:function(t,n,i,s){var o=e.global;try{return e.global=r.global=t,r.withDoc.call(null,t.document,n,i,s)}finally{e.global=r.global=o}},withDoc:function(t,i,s,o){var u=r.doc,a=n("quirks"),f=n("ie"),l,c,h;try{return e.doc=r.doc=t,e.isQuirks=n.add("quirks",e.doc.compatMode=="BackCompat",!0,!0),n("ie")&&(h=t.parentWindow)&&h.navigator&&(l=parseFloat(h.navigator.appVersion.split("MSIE ")[1])||undefined,c=t.documentMode,c&&c!=5&&Math.floor(l)!=c&&(l=c),e.isIE=n.add("ie",l,!0,!0)),s&&typeof i=="string"&&(i=s[i]),i.apply(s,o||[])}finally{e.doc=r.doc=u,e.isQuirks=n.add("quirks",a,!0,!0),e.isIE=n.add("ie",f,!0,!0)}}};return t.mixin(e,r),r})},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],function(e,t,n,r,i,s){function d(e,t){var n=t.parentNode;n&&n.insertBefore(e,t)}function v(e,t){var n=t.parentNode;n&&(n.lastChild==t?n.appendChild(e):n.insertBefore(e,t.nextSibling))}function g(e){if(e.canHaveChildren)try{e.innerHTML="";return}catch(t){}for(var n;n=e.lastChild;)y(n,e)}function y(e,t){e.firstChild&&g(e),t&&(n("ie")&&t.canHaveChildren&&"removeNode"in e?e.removeNode(!1):t.removeChild(e))}var o={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"]},u=/<\s*([\w\:]+)/,a={},f=0,l="__"+t._scopeName+"ToDomId";for(var c in o)if(o.hasOwnProperty(c)){var h=o[c];h.pre=c=="option"?'':"<"+tw.join("><")+">";tw.post=""}}var html5domfix;if(has("ie")<=8){html5domfix=function(doc){doc.__dojo_html5_tested="yes";var div=create("div",{innerHTML:"",style:{visibility:"hidden"}},doc.body);if(div.childNodes.length!==1){("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(n){doc.createElement(n)})}destroy(div)}}function _insertBefore(node,ref){var parent=ref.parentNode;if(parent){parent.insertBefore(node,ref)}}function _insertAfter(node,ref){var parent=ref.parentNode;if(parent){if(parent.lastChild==ref){parent.appendChild(node)}else{parent.insertBefore(node,ref.nextSibling)}}}exports.toDom=function toDom(frag,doc){doc=doc||win.doc;var masterId=doc[masterName];if(!masterId){doc[masterName]=masterId=++masterNum+"";masterNode[masterId]=doc.createElement("div")}if(has("ie")<=8){if(!doc.__dojo_html5_tested&&doc.body){html5domfix(doc)}}frag+="";var match=frag.match(reTag),tag=match?match[1].toLowerCase():"",master=masterNode[masterId],wrap,i,fc,df;if(match&&tagWrap[tag]){wrap=tagWrap[tag];master.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){master=master.firstChild}}else{master.innerHTML=frag}if(master.childNodes.length==1){return master.removeChild(master.firstChild)}df=doc.createDocumentFragment();while(fc=master.firstChild){df.appendChild(fc)}return df};exports.place=function place(node,refNode,position){refNode=dom.byId(refNode);if(typeof node=="string"){node=/^\s*90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222)&&k!=229;if(unprintable||evt.ctrlKey){var c=unprintable?0:k;if(evt.ctrlKey){if(k==3||k==13){return listener.call(evt.currentTarget,evt)}else if(c>95&&c<106){c-=48}else if(!evt.shiftKey&&(c>=65&&c<=90)){c+=32}else{c=_punctMap[c]||c}}var faux=_synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});listener.call(evt.currentTarget,faux);if(has("ie")){_trySetKeyCode(evt,faux.keyCode)}}});var keypressSignal=on(object,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_synthesizeEvent(evt,{charCode:c,faux:true});return listener.call(this,evt)});return{remove:function(){keydownSignal.remove();keypressSignal.remove()}}}}else{if(has("opera")){keypress=function(object,listener){return on(object,"keypress",function(evt){var c=evt.which;if(c==3){c=99}c=c<32&&!evt.shiftKey?0:c;if(evt.ctrlKey&&!evt.shiftKey&&c>=65&&c<=90){c+=32}return listener.call(this,_synthesizeEvent(evt,{charCode:c}))})}}else{keypress=function(object,listener){return on(object,"keypress",function(evt){setKeyChar(evt);return listener.call(this,evt)})}}}var connect={_keypress:keypress,connect:function(obj,event,context,method,dontFix){var a=arguments,args=[],i=0;args.push(typeof a[0]=="string"?null:a[i++],a[i++]);var a1=a[i+1];args.push(typeof a1=="string"||typeof a1=="function"?a[i++]:null,a[i++]);for(var l=a.length;i-1){events=type.split(/\s*,\s*/)}if(events){var handles=[];var i=0;var eventName;while(eventName=events[i++]){handles.push(on.parse(target,eventName,listener,addListener,dontFix,matchesTarget))}handles.remove=function(){for(var i=0;i=0){s.width=w+u}if(h>=0){s.height=h+u}}function isButtonTag(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button"}function usesBorderBox(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||isButtonTag(node)}geom.setContentSize=function setContentSize(node,box,computedStyle){node=dom.byId(node);var w=box.w,h=box.h;if(usesBorderBox(node)){var pb=geom.getPadBorderExtents(node,computedStyle);if(w>=0){w+=pb.w}if(h>=0){h+=pb.h}}setBox(node,NaN,NaN,w,h)};var nilExtents={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,computedStyle){node=dom.byId(node);var s=computedStyle||style.getComputedStyle(node),w=box.w,h=box.h,pb=usesBorderBox(node)?nilExtents:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(isButtonTag(node)){var ns=node.style;if(w>=0&&!ns.width){ns.width="4px"}if(h>=0&&!ns.height){ns.height="4px"}}}if(w>=0){w=Math.max(w-pb.w-mb.w,0)}if(h>=0){h=Math.max(h-pb.h-mb.h,0)}setBox(node,box.l,box.t,w,h)};geom.isBodyLtr=function isBodyLtr(doc){doc=doc||win.doc;return(win.body(doc).dir||doc.documentElement.dir||"ltr").toLowerCase()=="ltr"};geom.docScroll=function docScroll(doc){doc=doc||win.doc;var node=win.doc.parentWindow||win.doc.defaultView;return"pageXOffset"in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body(doc):doc.documentElement)&&{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0,doc),y:node.scrollTop||0}};geom.getIeDocumentElementOffset=function(doc){return{x:0,y:0}};geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(scrollLeft,doc){doc=doc||win.doc;var ie=has("ie");if(ie&&!geom.isBodyLtr(doc)){var qk=has("quirks"),de=qk?win.body(doc):doc.documentElement,pwin=win.global;if(ie==6&&!qk&&pwin.frameElement&&de.scrollHeight>de.clientHeight){scrollLeft+=de.clientLeft}return ie<8||qk?scrollLeft+de.clientWidth-de.scrollWidth:-scrollLeft}return scrollLeft};geom.position=function(node,includeScroll){node=dom.byId(node);var db=win.body(node.ownerDocument),ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")<9){ret.x-=has("quirks")?db.clientLeft+db.offsetLeft:0;ret.y-=has("quirks")?db.clientTop+db.offsetTop:0}if(includeScroll){var scroll=geom.docScroll(node.ownerDocument);ret.x+=scroll.x;ret.y+=scroll.y}return ret};geom.getMarginSize=function getMarginSize(node,computedStyle){node=dom.byId(node);var me=geom.getMarginExtents(node,computedStyle||style.getComputedStyle(node));var size=node.getBoundingClientRect();return{w:size.right-size.left+me.w,h:size.bottom-size.top+me.h}};geom.normalizeEvent=function(event){if(!("layerX"in event)){event.layerX=event.offsetX;event.layerY=event.offsetY}if(!("pageX"in event)){var se=event.target;var doc=se&&se.ownerDocument||document;var docBody=has("quirks")?doc.body:doc.documentElement;event.pageX=event.clientX+geom.fixIeBiDiScrollLeft(docBody.scrollLeft||0,doc);event.pageY=event.clientY+(docBody.scrollTop||0)}};return geom})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(dojo,on,has,dom,win){has.add("dom-quirks",win.doc&&win.doc.compatMode=="BackCompat");has.add("events-mouseenter",win.doc&&"onmouseenter"in win.doc.createElement("div"));has.add("events-mousewheel",win.doc&&"onmousewheel"in win.doc);var mouseButtons;if(has("dom-quirks")&&has("ie")||!has("dom-addeventlistener")){mouseButtons={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,button){return e.button&button},isLeft:function(e){return e.button&1},isMiddle:function(e){return e.button&4},isRight:function(e){return e.button&2}}}else{mouseButtons={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,button){return e.button==button},isLeft:function(e){return e.button==0},isMiddle:function(e){return e.button==1},isRight:function(e){return e.button==2}}}dojo.mouseButtons=mouseButtons;function eventHandler(type,selectHandler){var handler=function(node,listener){return on(node,type,function(evt){if(selectHandler){return selectHandler(evt,listener)}if(!dom.isDescendant(evt.relatedTarget,node)){return listener.call(this,evt)}})};handler.bubble=function(select){return eventHandler(type,function(evt,listener){var target=select(evt.target);var relatedTarget=evt.relatedTarget;if(target&&target!=(relatedTarget&&relatedTarget.nodeType==1&&select(relatedTarget))){return listener.call(target,evt)}})};return handler}var wheel;if(has("events-mousewheel")){wheel="mousewheel"}else{wheel=function(node,listener){return on(node,"DOMMouseScroll",function(evt){evt.wheelDelta=-evt.detail;listener.call(this,evt)})}}return{_eventHandler:eventHandler,enter:eventHandler("mouseover"),leave:eventHandler("mouseout"),wheel:wheel,isLeft:mouseButtons.isLeft,isMiddle:mouseButtons.isMiddle,isRight:mouseButtons.isRight}})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){if(!1){return has}dojo._name="browser";lang.mixin(dojo,{isBrowser:true,isFF:has("ff"),isIE:has("ie"),isKhtml:has("khtml"),isWebKit:has("webkit"),isMozilla:has("mozilla"),isMoz:has("mozilla"),isOpera:has("opera"),isSafari:has("safari"),isChrome:has("chrome"),isMac:has("mac"),isIos:has("ios"),isAndroid:has("android"),isWii:has("wii"),isQuirks:has("quirks"),isAir:has("air")});return has})},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(dojo,has){return dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18, +META:has("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:has("mac")&&!has("air")?has("safari")?91:224:17}})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(lang,array,dom){var className="className";var cls,spaces=/\s+/,a1=[""];function str2array(s){if(typeof s=="string"||s instanceof String){if(s&&!spaces.test(s)){a1[0]=s;return a1}var a=s.split(spaces);if(a.length&&!a[0]){a.shift()}if(a.length&&!a[a.length-1]){a.pop()}return a}if(!s){return[]}return array.filter(s,function(x){return x})}var fakeNode={};cls={contains:function containsClass(node,classStr){return(" "+dom.byId(node)[className]+" ").indexOf(" "+classStr+" ")>=0},add:function addClass(node,classStr){node=dom.byId(node);classStr=str2array(classStr);var cls=node[className],oldLen;cls=cls?" "+cls+" ":" ";oldLen=cls.length;for(var i=0,len=classStr.length,c;i-1){propertyCallbacks.splice(index,1)}};return handle}})})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(Deferred,Promise){"use strict";return function when(valueOrPromise,callback,errback,progback){var receivedPromise=valueOrPromise&&typeof valueOrPromise.then==="function";var nativePromise=receivedPromise&&valueOrPromise instanceof Promise;if(!receivedPromise){if(arguments.length>1){return callback?callback(valueOrPromise):valueOrPromise}else{return(new Deferred).resolve(valueOrPromise)}}else if(!nativePromise){var deferred=new Deferred(valueOrPromise.cancel);valueOrPromise.then(deferred.resolve,deferred.reject,deferred.progress);valueOrPromise=deferred.promise}if(callback||errback||progback){return valueOrPromise.then(callback,errback,progback)}return valueOrPromise}})},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(has,lang,CancelError,Promise,instrumentation){"use strict";var PROGRESS=0,RESOLVED=1,REJECTED=2;var FULFILLED_ERROR_MESSAGE="This deferred has already been fulfilled.";var freezeObject=Object.freeze||function(){};var signalWaiting=function(waiting,type,result,rejection,deferred){if(1){if(type===REJECTED&&Deferred.instrumentRejected&&waiting.length===0){Deferred.instrumentRejected(result,false,rejection,deferred)}}for(var i=0;i")}}}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(lang,Promise,Evented){"use strict";var evented=new Evented;var emit=evented.emit;evented.emit=null;function emitAsync(args){setTimeout(function(){emit.apply(evented,args)},0)}Promise.prototype.trace=function(){var args=lang._toArray(arguments);this.then(function(value){emitAsync(["resolved",value].concat(args))},function(error){emitAsync(["rejected",error].concat(args))},function(update){emitAsync(["progress",update].concat(args))});return this};Promise.prototype.traceRejected=function(){var args=lang._toArray(arguments);this.otherwise(function(error){emitAsync(["rejected",error].concat(args))});return this};return evented})},"dojo/io-query":function(){define(["./_base/lang"],function(lang){var backstop={};return{objectToQuery:function objectToQuery(map){var enc=encodeURIComponent,pairs=[];for(var name in map){var value=map[name];if(value!=backstop[name]){var assign=enc(name)+"=";if(lang.isArray(value)){for(var i=0,l=value.length;i0?parameterNames:null},_indexRoutes:function(){var i,l,route,routeIndex,routes=this._routes;routeIndex=this._routeIndex={};for(i=0,l=routes.length;i=0?str.substring(i+1):""}function _getHash(){return _getSegment(location.href,"#")}function _dispatchEvent(){topic.publish("/dojo/hashchange",_getHash())}function _pollLocation(){if(_getHash()===_recentHash){return}_recentHash=_getHash();_dispatchEvent()}function _replace(hash){if(_ieUriMonitor){if(_ieUriMonitor.isTransitioning()){setTimeout(lang.hitch(null,_replace,hash),_pollFrequency);return}var href=_ieUriMonitor.iframe.location.href;var index=href.indexOf("?");_ieUriMonitor.iframe.location.replace(href.substring(0,index)+"?"+hash);return}var href=location.href.replace(/#.*/,"");location.replace(href+"#"+hash);!_connect&&_pollLocation()}function IEUriMonitor(){var ifr=document.createElement("iframe"),IFRAME_ID="dojo-hash-iframe",ifrSrc=config.dojoBlankHtmlUrl||require.toUrl("./resources/blank.html");if(config.useXDomain&&!config.dojoBlankHtmlUrl){console.warn("dojo/hash: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html")}ifr.id=IFRAME_ID;ifr.src=ifrSrc+"?"+_getHash();ifr.style.display="none";document.body.appendChild(ifr);this.iframe=dojo.global[IFRAME_ID];var recentIframeQuery,transitioning,expectedIFrameQuery,docTitle,ifrOffline,iframeLoc=this.iframe.location;function resetState(){_recentHash=_getHash();recentIframeQuery=ifrOffline?_recentHash:_getSegment(iframeLoc.href,"?");transitioning=false;expectedIFrameQuery=null}this.isTransitioning=function(){return transitioning};this.pollLocation=function(){if(!ifrOffline){try{var iframeSearch=_getSegment(iframeLoc.href,"?");if(document.title!=docTitle){docTitle=this.iframe.document.title=document.title}}catch(e){ifrOffline=true;console.error("dojo/hash: Error adding history entry. Server unreachable.")}}var hash=_getHash();if(transitioning&&_recentHash===hash){if(ifrOffline||iframeSearch===expectedIFrameQuery){resetState();_dispatchEvent()}else{setTimeout(lang.hitch(this,this.pollLocation),0);return}}else if(_recentHash===hash&&(ifrOffline||recentIframeQuery===iframeSearch)){}else{if(_recentHash!==hash){_recentHash=hash;transitioning=true;expectedIFrameQuery=hash;ifr.src=ifrSrc+"?"+expectedIFrameQuery;ifrOffline=false;setTimeout(lang.hitch(this,this.pollLocation),0);return}else if(!ifrOffline){location.href="#"+iframeLoc.search.substring(1);resetState();_dispatchEvent()}}setTimeout(lang.hitch(this,this.pollLocation),_pollFrequency)};resetState();setTimeout(lang.hitch(this,this.pollLocation),_pollFrequency)}domReady(function(){if("onhashchange"in dojo.global&&(!has("ie")||has("ie")>=8&&document.compatMode!="BackCompat")){_connect=aspect.after(dojo.global,"onhashchange",_dispatchEvent,true)}else{if(document.addEventListener){_recentHash=_getHash();setInterval(_pollLocation,_pollFrequency)}else if(document.attachEvent){_ieUriMonitor=new IEUriMonitor}}});return dojo.hash})},"dojo/store/Observable":function(){define(["../_base/kernel","../_base/lang","../when","../_base/array"],function(kernel,lang,when,array){var Observable=function(store){var undef,queryUpdaters=[],revision=0;store=lang.delegate(store);store.notify=function(object,existingId){revision++;var updaters=queryUpdaters.slice();for(var i=0,l=updaters.length;i-1?removedFrom:resultsArray.length;resultsArray.splice(firstInsertedInto,0,changed);insertedInto=array.indexOf(queryExecutor(resultsArray),changed);resultsArray.splice(firstInsertedInto,1);if(options.start&&insertedInto==0||!atEnd&&insertedInto==resultsArray.length){insertedInto=-1}else{resultsArray.splice(insertedInto,0,changed)}}}else if(changed){if(existingId!==undef){insertedInto=removedFrom}else if(!options.start){insertedInto=store.defaultIndex||0;resultsArray.splice(insertedInto,0,changed)}}if((removedFrom>-1||insertedInto>-1)&&(includeObjectUpdates||!queryExecutor||removedFrom!=insertedInto)){var copyListeners=listeners.slice();for(i=0;listener=copyListeners[i];i++){listener(changed||removedObject,removedFrom,insertedInto)}}})})}var handle={};handle.remove=handle.cancel=function(){var index=array.indexOf(listeners,listener);if(index>-1){listeners.splice(index,1);if(!listeners.length){queryUpdaters.splice(array.indexOf(queryUpdaters,queryUpdater),1)}}};return handle}}return results};var inMethod;function whenFinished(method,action){var original=store[method];if(original){store[method]=function(value){var originalId;if(method==="put"){originalId=store.getIdentity(value)}if(inMethod){return original.apply(this,arguments)}inMethod=true;try{var results=original.apply(this,arguments);when(results,function(results){action(typeof results=="object"&&results||value,originalId)});return results}finally{inMethod=false}}}}whenFinished("put",function(object,originalId){store.notify(object,originalId)});whenFinished("add",function(object){store.notify(object)});whenFinished("remove",function(id){store.notify(undefined,id)});return store};lang.setObject("dojo.store.Observable",Observable);return Observable})},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(declare,QueryResults,SimpleQueryEngine){var base=null;return declare("dojo.store.Memory",base,{constructor:function(options){for(var i in options){this[i]=options[i]}this.setData(this.data||[])},data:null,idProperty:"id",index:null,queryEngine:SimpleQueryEngine,get:function(id){return this.data[this.index[id]]},getIdentity:function(object){return object[this.idProperty]},put:function(object,options){var data=this.data,index=this.index,idProperty=this.idProperty;var id=object[idProperty]=options&&"id"in options?options.id:idProperty in object?object[idProperty]:Math.random();if(id in index){if(options&&options.overwrite===false){throw new Error("Object already exists")}data[index[id]]=object}else{index[id]=data.push(object)-1}return id},add:function(object,options){(options=options||{}).overwrite=false;return this.put(object,options)},remove:function(id){var index=this.index;var data=this.data;if(id in index){data.splice(index[id],1);this.setData(data);return true}},query:function(query,options){return QueryResults(this.queryEngine(query,options)(this.data))},setData:function(data){if(data.items){this.idProperty=data.identifier||this.idProperty;data=this.data=data.items}else{this.data=data}this.index={};for(var i=0,l=data.length;ibValue)?-1:1}}return 0})}if(options&&(options.start||options.count)){var total=results.length;results=results.slice(options.start||0,(options.start||0)+(options.count||Infinity));results.total=total}return results}execute.matches=query;return execute}})},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,array,lang,loader,defaultEngine){"use strict";has.add("array-extensible",function(){return lang.delegate([],{length:1}).length==1&&!has("bug-for-in-skips-shadowed")});var ap=Array.prototype,aps=ap.slice,apc=ap.concat,forEach=array.forEach;var tnl=function(a,parent,NodeListCtor){var nodeList=new(NodeListCtor||this._NodeListCtor||nl)(a);return parent?nodeList._stash(parent):nodeList};var loopBody=function(f,a,o){a=[0].concat(aps.call(a,0));o=o||dojo.global;return function(node){a[0]=node;return f.apply(o,a)}};var adaptAsForEach=function(f,o){return function(){this.forEach(loopBody(f,arguments,o));return this}};var adaptAsMap=function(f,o){return function(){return this.map(loopBody(f,arguments,o))}};var adaptAsFilter=function(f,o){return function(){return this.filter(loopBody(f,arguments,o))}};var adaptWithCondition=function(f,g,o){return function(){var a=arguments,body=loopBody(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body)}this.forEach(body);return this}};var NodeList=function(array){var isNew=this instanceof nl&&has("array-extensible");if(typeof array=="number"){array=Array(array)}var nodeArray=array&&"length"in array?array:arguments;if(isNew||!nodeArray.sort){var target=isNew?this:[],l=target.length=nodeArray.length;for(var i=0;i0};query.filter=engine.filter||function(nodes,selector,root){return query(selector,root).filter(function(node){return array.indexOf(nodes,node)>-1})};if(typeof engine!="function"){var search=engine.search;engine=function(selector,root){return search(root||document,selector)}}return query}var query=queryForEngine(defaultEngine,NodeList);dojo.query=queryForEngine(defaultEngine,function(array){return NodeList(array)});query.load=function(id,parentRequire,loaded){loader.load(id,parentRequire,function(engine){loaded(queryForEngine(engine,NodeList))})};dojo._filterQueryResult=query._filterResult=function(nodes,selector,root){return new NodeList(query.filter(nodes,selector,root))};dojo.NodeList=query.NodeList=NodeList;return query})},"dojo/selector/_loader":function(){define(["../has","require"],function(has,require){"use strict";if(typeof document!=="undefined"){var testDiv=document.createElement("div");has.add("dom-qsa2.1",!!testDiv.querySelectorAll);has.add("dom-qsa3",function(){try{testDiv.innerHTML="

";return testDiv.querySelectorAll(".TEST:empty").length==1}catch(e){}})}var fullEngine;var acme="./acme",lite="./lite";return{load:function(id,parentRequire,loaded,config){if(config&&config.isBuild){loaded();return}var req=require;id=id=="default"?has("config-selectorEngine")||"css3":id;id=id=="css2"||id=="lite"?lite:id=="css2.1"?has("dom-qsa2.1")?lite:acme:id=="css3"?has("dom-qsa3")?lite:acme:id=="acme"?acme:(req=parentRequire)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var optionalLoad=true}if(optionalLoad&&(has("dom-compliant-qsa")||fullEngine)){return loaded(fullEngine)}req([id],function(engine){if(id!="./lite"){fullEngine=engine}loaded(engine)})}}})},"dojo/selector/lite":function(){define(["../has","../_base/kernel"],function(has,dojo){"use strict";var testDiv=document.createElement("div");var matchesSelector=testDiv.matches||testDiv.webkitMatchesSelector||testDiv.mozMatchesSelector||testDiv.msMatchesSelector||testDiv.oMatchesSelector;var querySelectorAll=testDiv.querySelectorAll;var unionSplit=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;has.add("dom-matches-selector",!!matchesSelector);has.add("dom-qsa",!!querySelectorAll);var liteEngine=function(selector,root){if(combine&&selector.indexOf(",")>-1){return combine(selector,root)}var doc=root?root.ownerDocument||root:dojo.doc||document,match=(querySelectorAll?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(selector);root=root||doc;if(match){var isInsideDomTree=has("ie")===8&&has("quirks")?root.nodeType===doc.nodeType:root.parentNode!==null&&root.nodeType!==9&&root.parentNode===doc;if(match[2]&&isInsideDomTree){var found=dojo.byId?dojo.byId(match[2],doc):doc.getElementById(match[2]);if(!found||match[1]&&match[1]!=found.tagName.toLowerCase()){return[]}if(root!=doc){var parent=found;while(parent!=root){parent=parent.parentNode;if(!parent){return[]}}}return match[3]?liteEngine(match[3],found):[found]}if(match[3]&&root.getElementsByClassName){return root.getElementsByClassName(match[4])}var found;if(match[5]){found=root.getElementsByTagName(match[5]);if(match[4]||match[6]){selector=(match[4]||"")+match[6]}else{return found}}}if(querySelectorAll){if(root.nodeType===1&&root.nodeName.toLowerCase()!=="object"){return useRoot(root,selector,root.querySelectorAll)}else{return root.querySelectorAll(selector)}}else if(!found){found=root.getElementsByTagName("*")}var results=[];for(var i=0,l=found.length;i-1&&(" "+node.className+" ").indexOf(classNameSpaced)>-1}},"#":function(id){return function(node){return node.id==id}}};var attrComparators={"^=":function(attrValue,value){return attrValue.indexOf(value)==0},"*=":function(attrValue,value){return attrValue.indexOf(value)>-1},"$=":function(attrValue,value){return attrValue.substring(attrValue.length-value.length,attrValue.length)==value},"~=":function(attrValue,value){return(" "+attrValue+" ").indexOf(" "+value+" ")>-1},"|=":function(attrValue,value){return(attrValue+"-").indexOf(value+"-")==0},"=":function(attrValue,value){return attrValue==value},"":function(attrValue,value){return true}};function attr(name,value,type){var firstChar=value.charAt(0);if(firstChar=='"'||firstChar=="'"){value=value.slice(1,-1)}value=value.replace(/\\/g,"");var comparator=attrComparators[type||""];return function(node){var attrValue=node.getAttribute(name);return attrValue&&comparator(attrValue,value)}}function ancestor(matcher){return function(node,root){while((node=node.parentNode)!=root){if(matcher(node,root)){return true}}}}function parent(matcher){return function(node,root){node=node.parentNode;return matcher?node!=root&&matcher(node,root):node==root}}var cache={};function and(matcher,next){return matcher?function(node,root){return next(node)&&matcher(node,root)}:next}return function(node,selector,root){var matcher=cache[selector];if(!matcher){if(selector.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(t,combinator,type,value,attrName,attrType,attrValue){if(value){matcher=and(matcher,selectorTypes[type||""](value.replace(/\\/g,"")))}else if(combinator){matcher=(combinator==" "?ancestor:parent)(matcher)}else if(attrName){matcher=and(matcher,attr(attrName,attrValue,attrType))}return""})){throw new Error("Syntax error in query")}if(!matcher){return true}cache[selector]=matcher}return matcher(node,root)}}()}if(!has("dom-qsa")){var combine=function(selector,root){var selectors=selector.match(unionSplit);var indexed=[];for(var i=0;i=0;i--){var node=useClone?this._cloneNode(ary[i]):ary[i];if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!tempNode){tempNode=rNode.ownerDocument.createElement("div")}tempNode.appendChild(node);dojo.parser.parse(tempNode);node=tempNode.firstChild;while(tempNode.firstChild){tempNode.removeChild(tempNode.firstChild)}}if(i==length-1){domCtr.place(node,rNode,position)}else{rNode.parentNode.insertBefore(node,rNode)}rNode=node}},position:aam(domGeom.position),attr:awc(getSet(domAttr),magicGuard),style:awc(getSet(domStyle),magicGuard),addClass:aafe(domCls.add),removeClass:aafe(domCls.remove),toggleClass:aafe(domCls.toggle),replaceClass:aafe(domCls.replace),empty:aafe(domCtr.empty),removeAttr:aafe(domAttr.remove),marginBox:aam(domGeom.getMarginBox),place:function(queryOrNode,position){var item=query(queryOrNode)[0];return this.forEach(function(node){domCtr.place(node,item,position)})},orphan:function(filter){return(filter?query._filterResult(this,filter):this).forEach(orphan)},adopt:function(queryOrListOrNode,position){return query(queryOrListOrNode).place(this[0],position)._stash(this)},query:function(queryStr){if(!queryStr){return this}var ret=new NodeList;this.map(function(node){query(queryStr,node).forEach(function(subNode){if(subNode!==undefined){ret.push(subNode)}})});return ret._stash(this)},filter:function(filter){var a=arguments,items=this,start=0;if(typeof filter=="string"){items=query._filterResult(this,a[0]);if(a.length==1){return items._stash(this)}start=1}return this._wrap(array.filter(items,a[start],a[start+1]),this)},addContent:function(content,position){content=this._normalize(content,this[0]);for(var i=0,node;node=this[i];i++){if(content.length){this._place(content,node,position,i>0)}else{domCtr.empty(node)}}return this}});return NodeList})},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(array,Deferred,when){"use strict";var some=array.some;return function all(objectOrArray){var object,array;if(objectOrArray instanceof Array){array=objectOrArray}else if(objectOrArray&&typeof objectOrArray==="object"){object=objectOrArray}var results;var keyLookup=[];if(object){array=[];for(var key in object){if(Object.hasOwnProperty.call(object,key)){keyLookup.push(key);array.push(object[key])}}results={}}else if(array){results=[]}if(!array||!array.length){return(new Deferred).resolve(results)}var deferred=new Deferred;deferred.promise.always(function(){results=keyLookup=null});var waiting=array.length;some(array,function(valueOrPromise,index){if(!object){keyLookup.push(index)}when(valueOrPromise,function(value){if(!deferred.isFulfilled()){results[keyLookup[index]]=value;if(--waiting===0){deferred.resolve(results)}}},deferred.reject);return deferred.isFulfilled()});return deferred.promise}})}}});(function(){var require=this.require;require({cache:{}});!require.async&&require(["dojo"]);require.boot&&require.apply(null,require.boot)})(); diff --git a/install/ui/util/build/build.js b/install/ui/util/build/build.js index 98e0f4ddd..edadfd6db 100644 --- a/install/ui/util/build/build.js +++ b/install/ui/util/build/build.js @@ -1 +1,8 @@ -(function(e,t){var n=function(){},r=function(e){for(var t in e)return 0;return 1},i={}.toString,s=function(e){return i.call(e)=="[object Function]"},o=function(e){return i.call(e)=="[object String]"},u=function(e){return i.call(e)=="[object Array]"},a=function(e,t){if(e)for(var n=0;e[n];)t(e[n++])},f=function(e,t){for(var n in t)e[n]=t[n];return e},l=function(e,t){return f(new Error(e),{src:"dojoLoader",info:t})},c=1,h=function(){return"_"+c++},p=function(e,t,n){return xt(e,t,n,0,p)},d=this,v=d.document,m=v&&v.createElement("DiV"),g=p.has=function(e){return s(y[e])?y[e]=y[e](d,v,m):y[e]},y=g.cache=t.hasCache;g.add=function(e,t,n,r){return(y[e]===undefined||r)&&(y[e]=t),n&&g(e)},0,1;for(var b=e.baseUrl||".",w,E=this.arguments,S=0;SE&&(S=s(t[1])?e.replace(t[0],t[1]):t[1])}),S?Pt(S,0,n,r,i,o,u,f,c):(y=r[e],y?c?Dt(y.pid,y.mid,y.pack,y.url):r[e]:(v=Mt(e,u),v?m=v[1]+e.substring(v[3]):h?m=p.location+"/"+d:g("config-tlmSiblingOfDojo")?m="../"+e:m=e,/(^\/)|(\:)/.test(m)||(m=i+m),m+=".js",Dt(h,e,p,_t(m))))},Ht=function(e,t){return Pt(e,t,Q,Z,p.baseUrl,Y,K,$)},Bt=function(e,t,n){return e.normalize?e.normalize(t,function(e){return It(e,n)}):It(t,n)},jt=0,Ft=function(e,t,n){var r,i,s,o;return r=e.match(/^(.+?)\!(.*)$/),r?(i=Ft(r[1],t,n),A==O&&!i.executed&&(ln(i),i.injected===N&&!i.executed&&tn(function(){Zt(i)}),i.executed?Kt(i):Nt.unshift(i)),i.executed===L&&!i.load&&Kt(i),i.load?(s=Bt(i,r[2],t),e=i.mid+"!"+(i.dynamic?++jt+"!":"")+s):(s=r[2],e=i.mid+"!"+ ++jt+"!waitingForPlugin"),o={plugin:i,mid:e,req:Tt(t),prid:s}):o=Ht(e,t),Z[o.mid]||!n&&(Z[o.mid]=o)},It=p.toAbsMid=function(e,t){return Ht(e,t).mid},qt=p.toUrl=function(e,t){var n=Ht(e+"/x",t),r=n.url;return rn(n.pid===0?e:r.substring(0,r.length-5))},Rt={injected:N,executed:L,def:C,result:C},Ut=function(e){return Z[e]=f({mid:e},Rt)},zt=Ut("require"),Wt=Ut("exports"),Xt=Ut("module"),Vt=function(e,t){p.trace("loader-run-factory",[e.mid]);var n=e.def,r;_.unshift(e);if(g("config-dojo-loader-catches"))try{r=s(n)?n.apply(null,t):n}catch(i){X(W,e.result=l("factoryThrew",[e,i]))}else r=s(n)?n.apply(null,t):n;e.result=r===undefined&&e.cjs?e.cjs.exports:r,_.shift(e)},$t={},Jt=0,Kt=function(e){var t=e.result;return e.dynamic=t.dynamic,e.normalize=t.normalize,e.load=t.load,e},Qt=function(e){var t={};a(e.loadQ,function(n){var r=Bt(e,n.prid,n.req.module),i=e.dynamic?n.mid.replace(/waitingForPlugin$/,r):e.mid+"!"+r,s=f(f({},n),{mid:i,prid:r,injected:0});Z[i]||sn(Z[i]=s),t[n.mid]=Z[i],At(n),delete Z[n.mid]}),e.loadQ=0;var n=function(e){for(var n,r=e.deps||[],i=0;i")]),!e.def||t?$t:e.cjs&&e.cjs.exports;if(!e.executed){if(!e.def)return $t;var n=e.mid,r=e.deps||[],i,s,o=[],u=0;Yt.push(n),p.trace("loader-exec-module",["exec",Yt.length,n]),e.executed=k;while(i=r[u++]){s=i===zt?Tt(e):i===Wt?e.cjs.exports:i===Xt?e.cjs:Zt(i,t);if(s===$t)return e.executed=0,p.trace("loader-exec-module",["abort",n]),Yt.pop(),$t;o.push(s)}Vt(e,o),Gt(e),Yt.pop()}return e.result},en=0,tn=function(e){try{en++,e()}finally{en--}Ot()&&X("idle",[])},nn=function(){if(en)return;tn(function(){P();for(var e,t,n=0;n2)return a._hitchArgs.apply(e,arguments);n||(n=t,t=null);if(a.isString(n)){t=t||e.global;if(!t[n])throw['lang.hitch: scope["',n,'"] is null (scope="',t,'")'].join("");return function(){return t[n].apply(t,arguments||[])}}return t?function(){return n.apply(t,arguments||[])}:n},delegate:function(){function e(){}return function(t,n){e.prototype=t;var r=new e;return e.prototype=null,n&&a._mixin(r,n),r}}(),_toArray:t("ie")?function(){function e(e,t,n){var r=n||[];for(var i=t||0;i0)return a.lastIndexOf(s,o,u);var l=s&&s.length||0,c=e?l+r:n,h;u===i?h=e?n:l+r:u<0?(h=l+u,h<0&&(h=n)):h=u>=l?l+r:u,l&&typeof s=="string"&&(s=s.split(""));for(;h!=c;h+=t)if(s[h]==o)return h;return-1}}var r={},i,a={every:o(!1),some:o(!0),indexOf:u(!0),lastIndexOf:u(!1),forEach:function(e,t,n){var i=0,o=e&&e.length||0;o&&typeof e=="string"&&(e=e.split("")),typeof t=="string"&&(t=r[t]||s(t));if(n)for(;i=o[u].priority;u++);o.splice(u,0,r),f()};1;var c=e.config.addOnLoad;return c&&l[i.isArray(c)?"apply":"call"](e,c),e.config.parseOnLoad&&!e.isAsync&&l(99,function(){e.parser||(e.deprecated("Add explicit require(['dojo/parser']);","","2.0"),n(["dojo/parser"]))}),r?r(a):a(),l})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(e,t,n){function f(e,t){throw new Error("declare"+(t?" "+t:"")+": "+e)}function l(e,t){var n=[],r=[{cls:0,refs:[]}],i={},o=1,a=e.length,l=0,c,h,p,d,v,m,g,y;for(;l=0;--c)v=h[c].prototype,v.hasOwnProperty("declaredClass")||(v.declaredClass="uniqName_"+u++),g=v.declaredClass,i.hasOwnProperty(g)||(i[g]={count:0,refs:[],cls:h[c]},++o),m=i[g],d&&d!==m&&(m.refs.push(d),++d.count),d=m;++d.count,r[0].refs.push(d)}while(r.length){d=r.pop(),n.push(d.cls),--o;while(y=d.refs,y.length==1){d=y[0];if(!d||--d.count){d=0;break}n.push(d.cls),--o}if(d)for(l=0,a=y.length;l=0;--o)s=e[o],u=s._meta,s=u?u.ctor:s,s&&s.apply(this,f?f[o]:n);s=this.postscript,s&&s.apply(this,r)}}function E(e,t){return function(){var n=arguments,r=n,i=n[0],s;if(!(this instanceof n.callee))return N(n);t&&(i&&(s=i.preamble,s&&(r=s.apply(this,r)||r)),s=this.preamble,s&&s.apply(this,r)),e&&e.apply(this,n),s=this.postscript,s&&s.apply(this,n)}}function S(e){return function(){var t=arguments,n=0,r,i;if(!(this instanceof t.callee))return N(t);for(;r=e[n];++n){i=r._meta,r=i?i.ctor:r;if(r){r.apply(this,t);break}}r=this.postscript,r&&r.apply(this,t)}}function x(e,t,n){return function(){var r,i,s,o=0,u=1;n&&(o=t.length-1,u=-1);for(;r=t[o];o+=u)i=r._meta,s=(i?i.hidden:r.prototype)[e],s&&s.apply(this,arguments)}}function T(e){o.prototype=e.prototype;var t=new o;return o.prototype=null,t}function N(e){var t=e.callee,n=T(t);return t.apply(n,e),n}function C(e,t,o){typeof e!="string"&&(o=t,t=e,e=""),o=o||{};var u,p,g,N,k,L,A,O=1,M=t;s.call(t)=="[object Array]"?(L=l(t,e),g=L[0],O=L.length-g,t=L[O]):(L=[0],t?s.call(t)=="[object Function]"?(g=t._meta,L=L.concat(g?g.bases:t)):f("base class is not a callable constructor.",e):t!==null&&f("unknown base class. Did you use dojo.require to pull it in?",e));if(t)for(p=O-1;;--p){u=T(t);if(!p)break;g=L[p],(g._meta?m:r)(u,g.prototype),N=new Function,N.superclass=t,N.prototype=u,t=u.constructor=N}else u={};C.safeMixin(u,o),g=o.constructor,g!==i.constructor&&(g.nom=a,u.constructor=g);for(p=O-1;p;--p)g=L[p]._meta,g&&g.chains&&(A=r(A||{},g.chains));u["-chains-"]&&(A=r(A||{},u["-chains-"])),g=!A||!A.hasOwnProperty(a),L[0]=N=A&&A.constructor==="manual"?S(L):L.length==1?E(o.constructor,g):w(L,g),N._meta={bases:L,hidden:o,chains:A,parents:M,ctor:o.constructor},N.superclass=t&&t.prototype,N.extend=y,N.createSubclass=b,N.prototype=u,u.constructor=N,u.getInherited=h,u.isInstanceOf=v,u.inherited=d,u.__inherited=c,e&&(u.declaredClass=e,n.setObject(e,N));if(A)for(k in A)u[k]&&typeof A[k]=="string"&&k!=a&&(g=u[k]=x(k,L,A[k]==="after"),g.nom=k);return N}var r=n.mixin,i=Object.prototype,s=i.toString,o=new Function,u=0,a="constructor",d=e.config.isDebug?p:c;return e.safeMixin=C.safeMixin=g,e.declare=C,C})},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(e,t,n,r,i,s,o,u){function a(n,i,o,a,f){a=u.hitch(o,a);if(!n||!n.addEventListener&&!n.attachEvent)return r.after(n||e.global,i,a,!0);typeof i=="string"&&i.substring(0,2)=="on"&&(i=i.substring(2)),n||(n=e.global);if(!f)switch(i){case"keypress":i=p;break;case"mouseenter":i=s.enter;break;case"mouseleave":i=s.leave}return t(n,i,a,f)}function h(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode}o.add("events-keypress-typed",function(){var e={charCode:0};try{e=document.createEvent("KeyboardEvent"),(e.initKeyboardEvent||e.initKeyEvent).call(e,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(t){}return e.charCode==0&&!o("opera")});var f={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},l=o("mac")?"metaKey":"ctrlKey",c=function(e,t){var n=u.mixin({},e,t);return h(n),n.preventDefault=function(){e.preventDefault()},n.stopPropagation=function(){e.stopPropagation()},n},p;if(o("events-keypress-typed")){var d=function(e,t){try{return e.keyCode=t}catch(e){return 0}};p=function(e,n){var r=t(e,"keydown",function(e){var t=e.keyCode,r=t!=13&&t!=32&&(t!=27||!o("ie"))&&(t<48||t>90)&&(t<96||t>111)&&(t<186||t>192)&&(t<219||t>222)&&t!=229;if(r||e.ctrlKey){var i=r?0:t;if(e.ctrlKey){if(t==3||t==13)return n.call(e.currentTarget,e);i>95&&i<106?i-=48:!e.shiftKey&&i>=65&&i<=90?i+=32:i=f[i]||i}var s=c(e,{type:"keypress",faux:!0,charCode:i});n.call(e.currentTarget,s),o("ie")&&d(e,s.keyCode)}}),i=t(e,"keypress",function(e){var t=e.charCode;return t=t>=32?t:0,e=c(e,{charCode:t,faux:!0}),n.call(this,e)});return{remove:function(){r.remove(),i.remove()}}}}else o("opera")?p=function(e,n){return t(e,"keypress",function(e){var t=e.which;return t==3&&(t=99),t=t<32&&!e.shiftKey?0:t,e.ctrlKey&&!e.shiftKey&&t>=65&&t<=90&&(t+=32),n.call(this,c(e,{charCode:t}))})}:p=function(e,n){return t(e,"keypress",function(e){return h(e),n.call(this,e)})};var v={_keypress:p,connect:function(e,t,n,r,i){var s=arguments,o=[],u=0;o.push(typeof s[0]=="string"?null:s[u++],s[u++]);var f=s[u+1];o.push(typeof f=="string"||typeof f=="function"?s[u++]:null,s[u++]);for(var l=s.length;u-1){var o=t.split(/\s*,\s*/),u=[],a=0,f;while(f=o[a++])u.push(r(e,f,n,i,s));return u.remove=function(){for(var e=0;e=0&&(o.width=r+s),i>=0&&(o.height=i+s)}function u(e){return e.tagName.toLowerCase()=="button"||e.tagName.toLowerCase()=="input"&&(e.getAttribute("type")||"").toLowerCase()=="button"}function a(e){return i.boxModel=="border-box"||e.tagName.toLowerCase()=="table"||u(e)}var i={};i.boxModel="content-box",e("ie")&&(i.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box"),i.getPadExtents=function(t,i){t=n.byId(t);var s=i||r.getComputedStyle(t),o=r.toPixelValue,u=o(t,s.paddingLeft),a=o(t,s.paddingTop),f=o(t,s.paddingRight),l=o(t,s.paddingBottom);return{l:u,t:a,r:f,b:l,w:u+f,h:a+l}};var s="none";i.getBorderExtents=function(t,i){t=n.byId(t);var o=r.toPixelValue,u=i||r.getComputedStyle(t),a=u.borderLeftStyle!=s?o(t,u.borderLeftWidth):0,f=u.borderTopStyle!=s?o(t,u.borderTopWidth):0,l=u.borderRightStyle!=s?o(t,u.borderRightWidth):0,c=u.borderBottomStyle!=s?o(t,u.borderBottomWidth):0;return{l:a,t:f,r:l,b:c,w:a+l,h:f+c}},i.getPadBorderExtents=function(t,s){t=n.byId(t);var o=s||r.getComputedStyle(t),u=i.getPadExtents(t,o),a=i.getBorderExtents(t,o);return{l:u.l+a.l,t:u.t+a.t,r:u.r+a.r,b:u.b+a.b,w:u.w+a.w,h:u.h+a.h}},i.getMarginExtents=function(t,i){t=n.byId(t);var s=i||r.getComputedStyle(t),o=r.toPixelValue,u=o(t,s.marginLeft),a=o(t,s.marginTop),f=o(t,s.marginRight),l=o(t,s.marginBottom);return{l:u,t:a,r:f,b:l,w:u+f,h:a+l}},i.getMarginBox=function(o,u){o=n.byId(o);var a=u||r.getComputedStyle(o),f=i.getMarginExtents(o,a),l=o.offsetLeft-f.l,c=o.offsetTop-f.t,h=o.parentNode,p=r.toPixelValue,d;if(e("mozilla")){var v=parseFloat(a.left),m=parseFloat(a.top);!isNaN(v)&&!isNaN(m)?(l=v,c=m):h&&h.style&&(d=r.getComputedStyle(h),d.overflow!="visible"&&(l+=d.borderLeftStyle!=s?p(o,d.borderLeftWidth):0,c+=d.borderTopStyle!=s?p(o,d.borderTopWidth):0))}else(e("opera")||e("ie")==8&&!e("quirks"))&&h&&(d=r.getComputedStyle(h),l-=d.borderLeftStyle!=s?p(o,d.borderLeftWidth):0,c-=d.borderTopStyle!=s?p(o,d.borderTopWidth):0);return{l:l,t:c,w:o.offsetWidth+f.w,h:o.offsetHeight+f.h}},i.getContentBox=function(s,o){s=n.byId(s);var u=o||r.getComputedStyle(s),a=s.clientWidth,f,l=i.getPadExtents(s,u),c=i.getBorderExtents(s,u);return a?(f=s.clientHeight,c.w=c.h=0):(a=s.offsetWidth,f=s.offsetHeight),e("opera")&&(l.l+=c.l,l.t+=c.t),{l:l.l,t:l.t,w:a-l.w-c.w,h:f-l.h-c.h}},i.setContentSize=function(t,r,s){t=n.byId(t);var u=r.w,f=r.h;if(a(t)){var l=i.getPadBorderExtents(t,s);u>=0&&(u+=l.w),f>=0&&(f+=l.h)}o(t,NaN,NaN,u,f)};var f={l:0,t:0,w:0,h:0};return i.setMarginBox=function(s,l,c){s=n.byId(s);var h=c||r.getComputedStyle(s),p=l.w,d=l.h,v=a(s)?f:i.getPadBorderExtents(s,h),m=i.getMarginExtents(s,h);if(e("webkit")&&u(s)){var g=s.style;p>=0&&!g.width&&(g.width="4px"),d>=0&&!g.height&&(g.height="4px")}p>=0&&(p=Math.max(p-v.w-m.w,0)),d>=0&&(d=Math.max(d-v.h-m.h,0)),o(s,l.l,l.t,p,d)},i.isBodyLtr=function(n){return n=n||t.doc,(t.body(n).dir||n.documentElement.dir||"ltr").toLowerCase()=="ltr"},i.docScroll=function(r){r=r||t.doc;var s=t.doc.parentWindow||t.doc.defaultView;return"pageXOffset"in s?{x:s.pageXOffset,y:s.pageYOffset}:(s=e("quirks")?t.body(r):r.documentElement)&&{x:i.fixIeBiDiScrollLeft(s.scrollLeft||0,r),y:s.scrollTop||0}},e("ie")&&(i.getIeDocumentElementOffset=function(r){r=r||t.doc;var i=r.documentElement;if(e("ie")<8){var s=i.getBoundingClientRect(),o=s.left,u=s.top;return e("ie")<7&&(o+=i.clientLeft,u+=i.clientTop),{x:o<0?0:o,y:u<0?0:u}}return{x:0,y:0}}),i.fixIeBiDiScrollLeft=function(r,s){s=s||t.doc;var o=e("ie");if(o&&!i.isBodyLtr(s)){var u=e("quirks"),a=u?t.body(s):s.documentElement,f=t.global;return o==6&&!u&&f.frameElement&&a.scrollHeight>a.clientHeight&&(r+=a.clientLeft),o<8||u?r+a.clientWidth-a.scrollWidth:-r}return r},i.position=function(r,s){r=n.byId(r);var o=t.body(r.ownerDocument),u=r.getBoundingClientRect();u={x:u.left,y:u.top,w:u.right-u.left,h:u.bottom-u.top};if(e("ie")<9){var a=i.getIeDocumentElementOffset(r.ownerDocument);u.x-=a.x+(e("quirks")?o.clientLeft+o.offsetLeft:0),u.y-=a.y+(e("quirks")?o.clientTop+o.offsetTop:0)}if(s){var f=i.docScroll(r.ownerDocument);u.x+=f.x,u.y+=f.y}return u},i.getMarginSize=function(t,s){t=n.byId(t);var o=i.getMarginExtents(t,s||r.getComputedStyle(t)),u=t.getBoundingClientRect();return{w:u.right-u.left+o.w,h:u.bottom-u.top+o.h}},i.normalizeEvent=function(t){"layerX"in t||(t.layerX=t.offsetX,t.layerY=t.offsetY);if(!e("dom-addeventlistener")){var n=t.target,r=n&&n.ownerDocument||document,s=e("quirks")?r.body:r.documentElement,o=i.getIeDocumentElementOffset(r);t.pageX=t.clientX+i.fixIeBiDiScrollLeft(s.scrollLeft||0,r)-o.x,t.pageY=t.clientY+(s.scrollTop||0)-o.y}},i})},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(e,t,n){var r={global:e.global,doc:this.document||null,body:function(t){return t=t||e.doc,t.body||t.getElementsByTagName("body")[0]},setContext:function(t,n){e.global=r.global=t,e.doc=r.doc=n},withGlobal:function(t,n,i,s){var o=e.global;try{return e.global=r.global=t,r.withDoc.call(null,t.document,n,i,s)}finally{e.global=r.global=o}},withDoc:function(t,i,s,o){var u=r.doc,a=n("quirks"),f=n("ie"),l,c,h;try{return e.doc=r.doc=t,e.isQuirks=n.add("quirks",e.doc.compatMode=="BackCompat",!0,!0),n("ie")&&(h=t.parentWindow)&&h.navigator&&(l=parseFloat(h.navigator.appVersion.split("MSIE ")[1])||undefined,c=t.documentMode,c&&c!=5&&Math.floor(l)!=c&&(l=c),e.isIE=n.add("ie",l,!0,!0)),s&&typeof i=="string"&&(i=s[i]),i.apply(s,o||[])}finally{e.doc=r.doc=u,e.isQuirks=n.add("quirks",a,!0,!0),e.isIE=n.add("ie",f,!0,!0)}}};return t.mixin(e,r),r})},"dojo/dom":function(){define(["./sniff","./_base/window"],function(e,t){if(e("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(n){}var r={};e("ie")?r.byId=function(e,n){if(typeof e!="string")return e;var r=n||t.doc,i=e&&r.getElementById(e);if(!(!i||i.attributes.id.value!=e&&i.id!=e))return i;var s=r.all[e];if(!s||s.nodeName)s=[s];var o=0;while(i=s[o++])if(i.attributes&&i.attributes.id&&i.attributes.id.value==e||i.id==e)return i}:r.byId=function(e,n){return(typeof e=="string"?(n||t.doc).getElementById(e):e)||null},r.isDescendant=function(e,t){try{e=r.byId(e),t=r.byId(t);while(e){if(e==t)return!0;e=e.parentNode}}catch(n){}return!1},e.add("css-user-select",function(e,t,n){if(!n)return!1;var r=n.style,i=["Khtml","O","ms","Moz","Webkit"],s=i.length,o="userSelect",u;do if(typeof r[o]!="undefined")return o;while(s--&&(o=i[s]+"UserSelect"));return!1});var i=e("css-user-select");return r.setSelectable=i?function(e,t){r.byId(e).style[i]=t?"":"none"}:function(e,t){e=r.byId(e);var n=e.getElementsByTagName("*"),i=n.length;if(t){e.removeAttribute("unselectable");while(i--)n[i].removeAttribute("unselectable")}else{e.setAttribute("unselectable","on");while(i--)n[i].setAttribute("unselectable","on")}},r})},"dojo/dom-style":function(){define(["./sniff","./dom"],function(e,t){function c(t,n,r){n=n.toLowerCase();if(e("ie")){if(r=="auto"){if(n=="height")return t.offsetHeight;if(n=="width")return t.offsetWidth}if(n=="fontweight")switch(r){case 700:return"bold";case 400:default:return"normal"}}return n in f||(f[n]=l.test(n)),f[n]?i(t,r):r}var n,r={};e("webkit")?n=function(e){var t;if(e.nodeType==1){var n=e.ownerDocument.defaultView;t=n.getComputedStyle(e,null),!t&&e.style&&(e.style.display="",t=n.getComputedStyle(e,null))}return t||{}}:e("ie")&&(e("ie")<9||e("quirks"))?n=function(e){return e.nodeType==1&&e.currentStyle?e.currentStyle:{}}:n=function(e){return e.nodeType==1?e.ownerDocument.defaultView.getComputedStyle(e,null):{}},r.getComputedStyle=n;var i;e("ie")?i=function(e,t){if(!t)return 0;if(t=="medium")return 4;if(t.slice&&t.slice(-2)=="px")return parseFloat(t);var n=e.style,r=e.runtimeStyle,i=e.currentStyle,s=n.left,o=r.left;r.left=i.left;try{n.left=t,t=n.pixelLeft}catch(u){t=0}return n.left=s,r.left=o,t}:i=function(e,t){return parseFloat(t)||0},r.toPixelValue=i;var s="DXImageTransform.Microsoft.Alpha",o=function(e,t){try{return e.filters.item(s)}catch(n){return t?{}:null}},u=e("ie")<9||e("ie")<10&&e("quirks")?function(e){try{return o(e).Opacity/100}catch(t){return 1}}:function(e){return n(e).opacity},a=e("ie")<9||e("ie")<10&&e("quirks")?function(e,t){t===""&&(t=1);var n=t*100,r=t===1;r?(e.style.zoom="",o(e)&&(e.style.filter=e.style.filter.replace(new RegExp("\\s*progid:"+s+"\\([^\\)]+?\\)","i"),""))):(e.style.zoom=1,o(e)?o(e,1).Opacity=n:e.style.filter+=" progid:"+s+"(Opacity="+n+")",o(e,1).Enabled=!0);if(e.tagName.toLowerCase()=="tr")for(var i=e.firstChild;i;i=i.nextSibling)i.tagName.toLowerCase()=="td"&&a(i,t);return t}:function(e,t){return e.style.opacity=t},f={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,h={cssFloat:1,styleFloat:1,"float":1};return r.get=function(n,i){var s=t.byId(n),o=arguments.length,a=i=="opacity";if(o==2&&a)return u(s);i=h[i]?"cssFloat"in s.style?"cssFloat":"styleFloat":i;var f=r.getComputedStyle(s);return o==1?f:c(s,i,f[i]||s.style[i])},r.set=function(n,i,s){var o=t.byId(n),u=arguments.length,f=i=="opacity";i=h[i]?"cssFloat"in o.style?"cssFloat":"styleFloat":i;if(u==3)return f?a(o,s):o.style[i]=s;for(var l in i)r.set(n,l,i[l]);return r.getComputedStyle(o)},r})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(e,t,n,r,i){function o(e,n){var i=function(i,s){return t(i,e,function(e){if(n)return n(e,s);if(!r.isDescendant(e.relatedTarget,i))return s.call(this,e)})};return i.bubble=function(t){return o(e,function(e,n){var r=t(e.target),i=e.relatedTarget;if(r&&r!=(i&&i.nodeType==1&&t(i)))return n.call(r,e)})},i}n.add("dom-quirks",i.doc&&i.doc.compatMode=="BackCompat"),n.add("events-mouseenter",i.doc&&"onmouseenter"in i.doc.createElement("div")),n.add("events-mousewheel",i.doc&&"onmousewheel"in i.doc);var s;n("dom-quirks")&&n("ie")||!n("dom-addeventlistener")?s={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,t){return e.button&t},isLeft:function(e){return e.button&1},isMiddle:function(e){return e.button&4},isRight:function(e){return e.button&2}}:s={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,t){return e.button==t},isLeft:function(e){return e.button==0},isMiddle:function(e){return e.button==1},isRight:function(e){return e.button==2}},e.mouseButtons=s;var u;return n("events-mousewheel")?u="mousewheel":u=function(e,n){return t(e,"DOMMouseScroll",function(e){e.wheelDelta=-e.detail,n.call(this,e)})},{_eventHandler:o,enter:o("mouseover"),leave:o("mouseout"),wheel:u,isLeft:s.isLeft,isMiddle:s.isMiddle,isRight:s.isRight}})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(e,t,n){return n})},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(e,t){return e.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:t("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:t("mac")&&!t("air")?t("safari")?91:224:17}})},"dojo/_base/Deferred":function(){define(["./kernel","../Deferred","../promise/Promise","../errors/CancelError","../has","./lang","../when"],function(e,t,n,r,i,s,o){var u=function(){},a=Object.freeze||function(){},f=e.Deferred=function(e){function g(e){if(l)throw new Error("This deferred has already been resolved");o=e,l=!0,y()}function y(){var e;while(!e&&v){var n=v;v=v.next;if(e=n.progress==u)l=!1;var r=p?n.error:n.resolved;i("config-useDeferredInstrumentation")&&p&&t.instrumentRejected&&t.instrumentRejected(o,!!r);if(r)try{var a=r(o);if(a&&typeof a.then=="function"){a.then(s.hitch(n.deferred,"resolve"),s.hitch(n.deferred,"reject"),s.hitch(n.deferred,"progress"));continue}var f=e&&a===undefined;e&&!f&&(p=a instanceof Error),n.deferred[f&&p?"reject":"resolve"](f?o:a)}catch(c){n.deferred.reject(c)}else p?n.deferred.reject(o):n.deferred.resolve(o)}}var o,l,c,h,p,d,v,m=this.promise=new n;this.isResolved=m.isResolved=function(){return h==0},this.isRejected=m.isRejected=function(){return h==1},this.isFulfilled=m.isFulfilled=function(){return h>=0},this.isCanceled=m.isCanceled=function(){return c},this.resolve=this.callback=function(e){this.fired=h=0,this.results=[e,null],g(e)},this.reject=this.errback=function(e){p=!0,this.fired=h=1,i("config-useDeferredInstrumentation")&&t.instrumentRejected&&t.instrumentRejected(e,!!v),g(e),this.results=[null,e]},this.progress=function(e){var t=v;while(t){var n=t.progress;n&&n(e),t=t.next}},this.addCallbacks=function(e,t){return this.then(e,t,u),this},m.then=this.then=function(e,t,n){var r=n==u?this:new f(m.cancel),i={resolved:e,error:t,progress:n,deferred:r};return v?d=d.next=i:v=d=i,l&&y(),r.promise};var b=this;m.cancel=this.cancel=function(){if(!l){var t=e&&e(b);l||(t instanceof Error||(t=new r(t)),t.log=!1,b.reject(t))}c=!0},a(m)};return s.extend(f,{addCallback:function(t){return this.addCallbacks(s.hitch.apply(e,arguments))},addErrback:function(t){return this.addCallbacks(null,s.hitch.apply(e,arguments))},addBoth:function(t){var n=s.hitch.apply(e,arguments);return this.addCallbacks(n,n)},fired:-1}),f.when=e.when=o,f})},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(e,t,n,r,i){"use strict";var s=0,o=1,u=2,a="This deferred has already been fulfilled.",f=Object.freeze||function(){},l=function(e,t,n,r,i){t===u&&d.instrumentRejected&&e.length===0&&d.instrumentRejected(n,!1,r,i);for(var s=0;s");r.instrumentRejected=f,a=parseInt(o[0],10)||a}}}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(e,t,n){"use strict";function s(e){setTimeout(function(){i.apply(r,e)},0)}var r=new n,i=r.emit;return r.emit=null,t.prototype.trace=function(){var t=e._toArray(arguments);return this.then(function(e){s(["resolved",e].concat(t))},function(e){s(["rejected",e].concat(t))},function(e){s(["progress",e].concat(t))}),this},t.prototype.traceRejected=function(){var t=e._toArray(arguments);return this.otherwise(function(e){s(["rejected",e].concat(t))}),this},r})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(e,t){"use strict";return function(r,i,s,o){var u=r&&typeof r.then=="function",a=u&&r instanceof t;if(!u)return arguments.length>1?i?i(r):r:(new e).resolve(r);if(!a){var f=new e(r.cancel);r.then(f.resolve,f.reject,f.progress),r=f.promise}return i||s||o?r.then(i,s,o):r}})},"dojo/_base/json":function(){define(["./kernel","../json"],function(dojo,json){return dojo.fromJson=function(js){return eval("("+js+")")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr=" ",dojo.toJson=function(e,t){return json.stringify(e,function(e,t){if(t){var n=t.__json__||t.json;if(typeof n=="function")return n.call(t)}return t},t&&dojo.toJsonIndentStr)},dojo})},"dojo/json":function(){define(["./has"],function(has){"use strict";var hasJSON=typeof JSON!="undefined";has.add("json-parse",hasJSON),has.add("json-stringify",hasJSON&&JSON.stringify({a:0},function(e,t){return t||1})=='{"a":1}');if(has("json-stringify"))return JSON;var escapeString=function(e){return('"'+e.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:has("json-parse")?JSON.parse:function(str,strict){if(strict&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str))throw new SyntaxError("Invalid characters in JSON");return eval("("+str+")")},stringify:function(e,t,n){function i(e,s,o){t&&(e=t(o,e));var u,a=typeof e;if(a=="number")return isFinite(e)?e+"":"null";if(a=="boolean")return e+"";if(e===null)return"null";if(typeof e=="string")return escapeString(e);if(a=="function"||a=="undefined")return r;if(typeof e.toJSON=="function")return i(e.toJSON(o),s,o);if(e instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(t,n,r){var i=e["getUTC"+n]()+(r?1:0);return i<10?"0"+i:i});if(e.valueOf()!==e)return i(e.valueOf(),s,o);var f=n?s+n:"",l=n?" ":"",c=n?"\n":"";if(e instanceof Array){var h=e.length,p=[];for(o=0;o>=s,r[t]=s==4?17*n:n}),r.a=1,r)},i.fromArray=e.colorFromArray=function(e,t){var n=t||new i;return n._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(n.a)&&(n.a=1),n.sanitize()},i.fromString=e.colorFromString=function(e,t){var n=i.named[e];return n&&i.fromArray(n,t)||i.fromRgb(e,t)||i.fromHex(e,t)},i})},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","../json","./lang","./array"],function(dojo,has,require,thisModule,json,lang,array){1;var makeErrorToken=function(e){return{src:thisModule.id,id:e}},slashName=function(e){return e.replace(/\./g,"/")},buildDetectRe=/\/\/>>built/,dojoRequireCallbacks=[],dojoRequireModuleStack=[],dojoRequirePlugin=function(e,t,n){dojoRequireCallbacks.push(n),array.forEach(e.split(","),function(e){var n=getModule(e,t.module);dojoRequireModuleStack.push(n),injectModule(n)}),checkDojoRequirePlugin()},checkDojoRequirePlugin=function(){var e,t;for(t in modules){e=modules[t],e.noReqPluginCheck===undefined&&(e.noReqPluginCheck=/loadInit\!/.test(t)||/require\!/.test(t)?1:0);if(!e.executed&&!e.noReqPluginCheck&&e.injected==requested)return}guardCheckComplete(function(){var e=dojoRequireCallbacks;dojoRequireCallbacks=[],array.forEach(e,function(e){e(1)})})},dojoLoadInitPlugin=function(mid,require,loaded){require([mid],function(bundle){require(bundle.names,function(){for(var scopeText="",args=[],i=0;ie)break;t.splice(a,0,[e,n,r,i,[]]),o[r]=t[a],s&&(u[r]=1)},l=function(t,n){e[t]?e[t].push(n):e[t]=[n]},c=function(t){var n;for(var r in e)if(e[r].some(function(e){return e[0]<=t&&t/im,"");var t=e.match(/]*>\s*([\s\S]+)\s*<\/body>/im);t&&(e=t[1])}else e="";return e},u={},a={};return e.cache=function(e,n,r){var u;typeof e=="string"?/\//.test(e)?(u=e,r=n):u=t.toUrl(e.replace(/\./g,"/")+(n?"/"+n:"")):(u=e+"",r=n);var a=r!=undefined&&typeof r!="string"?r.value:r,f=r&&r.sanitize;return typeof a=="string"?(s[u]=a,f?o(a):a):a===null?(delete s[u],null):(u in s||i(u,!0,function(e){s[u]=e}),f?o(s[u]):s[u])},{dynamic:!0,normalize:function(e,t){var n=e.split("!"),r=n[0];return(/^\./.test(r)?t(r):r)+(n[1]?"!"+n[1]:"")},load:function(e,t,n){var r=e.split("!"),f=r.length>1,l=r[0],c=t.toUrl(r[0]),h="url:"+c,p=u,d=function(e){n(f?o(e):e)};l in s?p=s[l]:t.cache&&h in t.cache?p=t.cache[h]:c in s&&(p=s[c]);if(p===u)if(a[c])a[c].push(d);else{var v=a[c]=[d];i(c,!t.async,function(e){s[l]=s[c]=e;for(var t=0;t1&&e.charAt(e.length-1)=="/"&&(e=e.substring(0,e.length-1)),e},catPath=function(e,t){if(arguments.length>2){for(var n=[],r=1;r1){u+="["+d;for(p=0;p1){u+="{"+d;for(p=0;p-1}):i[e]=t.concat(),e.indexOf(".")>-1&&(o[e.substring(e,e.indexOf("."))]=!0),t.push(e)},u=fs.readFileSync(e,"utf8");u.replace(/