From 10632d0ef10b49385ac8b92db5858abe09f249f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Mathieu?= Date: Thu, 31 Jul 2014 18:49:50 +0200 Subject: [PATCH] update to delite#0.2.0-beta --- bower.json | 12 ++++++------ layer.js | 8 ++++---- layer.map | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bower.json b/bower.json index cc8272f..6cbb95a 100644 --- a/bower.json +++ b/bower.json @@ -1,16 +1,16 @@ { "name": "delite-build", - "version": "0.1.10-dev", + "version": "0.2.0-beta", "dependencies": { "dojo": ">=1.9.1", "requirejs": "2.1.x", - "requirejs-domready": ">=2.0.1", - "requirejs-text": ">=2.0.11", - "decor-build": "0.1.0-dev", - "dpointer-build": ">=0.1.0-dev" + "requirejs-domready": "2.0.x", + "requirejs-text": "2.0.x", + "decor-build": "0.2.0-beta", + "dpointer-build": "0.1.x" }, "devDependencies": { - "delite": "0.1.10-dev" + "delite": "0.2.0-beta" }, "ignore": [ ".jshintrc", diff --git a/layer.js b/layer.js index 4e513e1..67b3be9 100644 --- a/layer.js +++ b/layer.js @@ -1,6 +1,6 @@ require.config({"config":{"delite/theme":{"layersMap":{"delite/themes/{{theme}}/common.css":"delite/themes/layer_{{theme}}.css","delite/themes/{{theme}}/global.css":"delite/themes/layer_{{theme}}.css","delite/Scrollable/themes/{{theme}}/Scrollable.css":"delite/themes/layer_{{theme}}.css","delite/DialogUnderlay/themes/{{theme}}/DialogUnderlay.css":"delite/themes/layer_{{theme}}.css"}}}}); -define("requirejs-text/text",["module"],function(a){"use strict";var b,c,d,e,f,g=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],h=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,i=/]*>\s*([\s\S]+)\s*<\/body>/im,j="undefined"!=typeof location&&location.href,k=j&&location.protocol&&location.protocol.replace(/\:/,""),l=j&&location.hostname,m=j&&(location.port||void 0),n={},o=a.config&&a.config()||{};return b={version:"2.0.12",strip:function(a){if(a){a=a.replace(h,"");var b=a.match(i);b&&(a=b[1])}else a="";return a},jsEscape:function(a){return a.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:o.createXhr||function(){var a,b,c;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(b=0;3>b;b+=1){c=g[b];try{a=new ActiveXObject(c)}catch(d){}if(a){g=[c];break}}return a},parseName:function(a){var b,c,d,e=!1,f=a.indexOf("."),g=0===a.indexOf("./")||0===a.indexOf("../");return-1!==f&&(!g||f>1)?(b=a.substring(0,f),c=a.substring(f+1,a.length)):b=a,d=c||b,f=d.indexOf("!"),-1!==f&&(e="strip"===d.substring(f+1),d=d.substring(0,f),c?c=d:b=d),{moduleName:b,ext:c,strip:e}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(a,c,d,e){var f,g,h,i=b.xdRegExp.exec(a);return i?(f=i[2],g=i[3],g=g.split(":"),h=g[1],g=g[0],!(f&&f!==c||g&&g.toLowerCase()!==d.toLowerCase()||(h||g)&&h!==e)):!0},finishLoad:function(a,c,d,e){d=c?b.strip(d):d,o.isBuild&&(n[a]=d),e(d)},load:function(a,c,d,e){if(e&&e.isBuild&&!e.inlineText)return void d();o.isBuild=e&&e.isBuild;var f=b.parseName(a),g=f.moduleName+(f.ext?"."+f.ext:""),h=c.toUrl(g),i=o.useXhr||b.useXhr;return 0===h.indexOf("empty:")?void d():void(!j||i(h,k,l,m)?b.get(h,function(c){b.finishLoad(a,f.strip,c,d)},function(a){d.error&&d.error(a)}):c([g],function(a){b.finishLoad(f.moduleName+"."+f.ext,f.strip,a,d)}))},write:function(a,c,d){if(n.hasOwnProperty(c)){var e=b.jsEscape(n[c]);d.asModule(a+"!"+c,"define(function () { return '"+e+"';});\n")}},writeFile:function(a,c,d,e,f){var g=b.parseName(c),h=g.ext?"."+g.ext:"",i=g.moduleName+h,j=d.toUrl(g.moduleName+h)+".js";b.load(i,d,function(){var c=function(a){return e(j,a)};c.asModule=function(a,b){return e.asModule(a,j,b)},b.write(a,i,c,f)},f)}},"node"===o.env||!o.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]?(c=require.nodeRequire("fs"),b.get=function(a,b,d){try{var e=c.readFileSync(a,"utf8");0===e.indexOf("")&&(e=e.substring(1)),b(e)}catch(f){d&&d(f)}}):"xhr"===o.env||!o.env&&b.createXhr()?b.get=function(a,c,d,e){var f,g=b.createXhr();if(g.open("GET",a,!0),e)for(f in e)e.hasOwnProperty(f)&&g.setRequestHeader(f.toLowerCase(),e[f]);o.onXhr&&o.onXhr(g,a),g.onreadystatechange=function(){var b,e;4===g.readyState&&(b=g.status||0,b>399&&600>b?(e=new Error(a+" HTTP status: "+b),e.xhr=g,d&&d(e)):c(g.responseText),o.onXhrComplete&&o.onXhrComplete(g,a))},g.send(null)}:"rhino"===o.env||!o.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?b.get=function(a,b){var c,d,e="utf-8",f=new java.io.File(a),g=java.lang.System.getProperty("line.separator"),h=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(f),e)),i="";try{for(c=new java.lang.StringBuffer,d=h.readLine(),d&&d.length()&&65279===d.charAt(0)&&(d=d.substring(1)),null!==d&&c.append(d);null!==(d=h.readLine());)c.append(g),c.append(d);i=String(c.toString())}finally{h.close()}b(i)}:("xpconnect"===o.env||!o.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(d=Components.classes,e=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),f="@mozilla.org/windows-registry-key;1"in d,b.get=function(a,b){var c,g,h,i={};f&&(a=a.replace(/\//g,"\\")),h=new FileUtils.File(a);try{c=d["@mozilla.org/network/file-input-stream;1"].createInstance(e.nsIFileInputStream),c.init(h,1,0,!1),g=d["@mozilla.org/intl/converter-input-stream;1"].createInstance(e.nsIConverterInputStream),g.init(c,"utf-8",c.available(),e.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),g.readString(c.available(),i),g.close(),c.close(),b(i.value)}catch(j){throw new Error((h&&h.path||"")+": "+j)}}),b}),define("dojo/string",["./_base/kernel","./_base/lang"],function(a,b){var c=/[&<>'"\/]/g,d={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},e={};return b.setObject("dojo.string",e),e.escape=function(a){return a?a.replace(c,function(a){return d[a]}):""},e.rep=function(a,b){if(0>=b||!a)return"";for(var c=[];1&b&&c.push(a),b>>=1;)a+=a;return c.join("")},e.pad=function(a,b,c,d){c||(c="0");var f=String(a),g=e.rep(c,Math.ceil((b-f.length)/c.length));return d?f+g:g+f},e.substitute=function(c,d,e,f){return f=f||a.global,e=e?b.hitch(f,e):function(a){return a},c.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(a,c,g){var h=b.getObject(c,!1,d);return g&&(h=b.getObject(g,!1,f).call(f,h,c)),e(h,c).toString()})},e.trim=String.prototype.trim?b.trim:function(a){a=a.replace(/^\s+/,"");for(var b=a.length-1;b>=0;b--)if(/\S/.test(a.charAt(b))){a=a.substring(0,b+1);break}return a},e}),define("dojo/_base/lang",["./kernel","../has","../sniff"],function(a,b){b.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var c=b("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],d=c.length,e=function(b,c,d){d||(d=b[0]&&a.scopeMap[b[0]]?a.scopeMap[b.shift()][1]:a.global);try{for(var e=0;ei;++i)g=c[i],h=e[g],g in a&&(a[g]===h||g in j&&j[g]===h)||(a[g]=f?f(h):h);return a},mixin:function(a){a||(a={});for(var b=1,c=arguments.length;c>b;b++)i._mixin(a,arguments[b]);return a},setObject:function(a,b,c){var d=a.split("."),f=d.pop(),g=e(d,!0,c);return g&&f?g[f]=b:void 0},getObject:function(a,b,c){return e(a?a.split("."):[],b,c)},exists:function(a,b){return void 0!==i.getObject(a,!1,b)},isString:function(a){return"string"==typeof a||a instanceof String},isArray:function(a){return a&&(a instanceof Array||"array"==typeof a)},isFunction:function(a){return"[object Function]"===f.call(a)},isObject:function(a){return void 0!==a&&(null===a||"object"==typeof a||i.isArray(a)||i.isFunction(a))},isArrayLike:function(a){return!(!a||void 0===a||i.isString(a)||i.isFunction(a)||a.tagName&&"form"==a.tagName.toLowerCase()||!i.isArray(a)&&!isFinite(a.length))},isAlien:function(a){return a&&!i.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(String(a))},extend:function(a){for(var b=1,c=arguments.length;c>b;b++)i._mixin(a.prototype,arguments[b]);return a},_hitchArgs:function(b,c){var d=i._toArray(arguments,2),e=i.isString(c);return function(){var f=i._toArray(arguments),g=e?(b||a.global)[c]:c;return g&&g.apply(b||this,d.concat(f))}},hitch:function(b,c){if(arguments.length>2)return i._hitchArgs.apply(a,arguments);if(c||(c=b,b=null),i.isString(c)){if(b=b||a.global,!b[c])throw['lang.hitch: scope["',c,'"] is null (scope="',b,'")'].join("");return function(){return b[c].apply(b,arguments||[])}}return b?function(){return c.apply(b,arguments||[])}:c},delegate:function(){function a(){}return function(b,c){a.prototype=b;var d=new a;return a.prototype=null,c&&i._mixin(d,c),d}}(),_toArray:b("ie")?function(){function a(a,b,c){for(var d=c||[],e=b||0;ec;++c)c in a&&b.push(i.clone(a[c]));else b=a.constructor?new a.constructor:{};return i._mixin(b,a,i.clone)},trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,b,c){return a.replace(c||h,i.isFunction(b)?b:function(a,c){return i.getObject(c,!1,b)})}};return b("extend-dojo")&&i.mixin(a,i),i}),define("dojo/sniff",["./has"],function(a){if(a("host-browser")){var b=navigator,c=b.userAgent,d=b.appVersion,e=parseFloat(d);if(a.add("air",c.indexOf("AdobeAIR")>=0),a.add("msapp",parseFloat(c.split("MSAppHost/")[1])||void 0),a.add("khtml",d.indexOf("Konqueror")>=0?e:void 0),a.add("webkit",parseFloat(c.split("WebKit/")[1])||void 0),a.add("chrome",parseFloat(c.split("Chrome/")[1])||void 0),a.add("safari",d.indexOf("Safari")>=0&&!a("chrome")?parseFloat(d.split("Version/")[1]):void 0),a.add("mac",d.indexOf("Macintosh")>=0),a.add("quirks","BackCompat"==document.compatMode),c.match(/(iPhone|iPod|iPad)/)){var f=RegExp.$1.replace(/P/,"p"),g=c.match(/OS ([\d_]+)/)?RegExp.$1:"1",h=parseFloat(g.replace(/_/,".").replace(/_/g,""));a.add(f,h),a.add("ios",h)}if(a.add("android",parseFloat(c.split("Android ")[1])||void 0),a.add("bb",(c.indexOf("BlackBerry")>=0||c.indexOf("BB10")>=0)&&parseFloat(c.split("Version/")[1])||void 0),a.add("trident",parseFloat(d.split("Trident/")[1])||void 0),a.add("svg","undefined"!=typeof SVGAngle),!a("webkit")){if(c.indexOf("Opera")>=0&&a.add("opera",e>=9.8?parseFloat(c.split("Version/")[1])||e:e),c.indexOf("Gecko")>=0&&!a("khtml")&&!a("webkit")&&!a("trident")&&a.add("mozilla",e),a("mozilla")&&a.add("ff",parseFloat(c.split("Firefox/")[1]||c.split("Minefield/")[1])||void 0),document.all&&!a("opera")){var i=parseFloat(d.split("MSIE ")[1])||void 0,j=document.documentMode;j&&5!=j&&Math.floor(i)!=j&&(i=j),a.add("ie",i)}a.add("wii","undefined"!=typeof opera&&opera.wiiremote)}}return a}),define("dojo/has",["require","module"],function(a,b){var c=a.has||function(){};if(!c("dojo-has-api")){var d="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location==location&&window.document==document,e=this,f=d&&document,g=f&&f.createElement("DiV"),h=b.config&&b.config()||{};c=function(a){return"function"==typeof h[a]?h[a]=h[a](e,f,g):h[a]},c.cache=h,c.add=function(a,b,d,e){return("undefined"==typeof h[a]||e)&&(h[a]=b),d&&c(a)},c.add("host-browser",d),c.add("host-node","object"==typeof process&&process.versions&&process.versions.node&&process.versions.v8),c.add("host-rhino","function"==typeof load&&("function"==typeof Packages||"object"==typeof Packages)),c.add("dom",d),c.add("dojo-dom-ready-api",1),c.add("dojo-sniff",1)}if(c("host-browser")){c.add("dom-addeventlistener",!!document.addEventListener),c.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),c.add("touch-events","ontouchstart"in document),c.add("pointer-events","onpointerdown"in document),c.add("MSPointer","msMaxTouchPoints"in navigator),c.add("device-width",screen.availWidth||innerWidth);var i=document.createElement("form");c.add("dom-attributes-explicit",0==i.attributes.length),c.add("dom-attributes-specified-flag",i.attributes.length>0&&i.attributes.length<40)}return c.clearElement=function(a){return a.innerHTML="",a},c.normalize=function(a,b){var d=a.match(/[\?:]|[^:\?]*/g),e=0,f=function(a){var b=d[e++];return":"==b?0:"?"==d[e++]?!a&&c(b)?f():(f(!0),f(a)):b||0};return a=f(),a&&b(a)},c.load=function(a,b,c){a?b([a],c):c()},c}),define("dojo/_base/kernel",["../has","./config","require","module"],function(a,b,c,d){var e,f,g,h={},i={},j={config:b,global:this,dijit:h,dojox:i},k={dojo:["dojo",j],dijit:["dijit",h],dojox:["dojox",i]},l=c.map&&c.map[d.id.match(/[^\/]+/)[0]];for(f in l)k[f]?k[f][0]=l[f]:k[f]=[l[f],{}];for(f in k)g=k[f],g[1]._scopeName=g[0],b.noGlobals||(this[g[0]]=g[1]);j.scopeMap=k,j.baseUrl=j.config.baseUrl=c.baseUrl,j.isAsync=!a("dojo-loader")||c.async,j.locale=b.locale;var m="$Rev: e124479 $".match(/[0-9a-f]{7,}/);if(j.version={major:1,minor:10,patch:0,flag:"",revision:m?m[0]:0/0,toString:function(){var a=j.version;return a.major+"."+a.minor+"."+a.patch+a.flag+" ("+a.revision+")"}},a.add("extend-dojo",1),Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(j),j.exit=a("host-rhino")?function(a){quit(a)}:function(){},a.add("dojo-guarantee-console",1),a("dojo-guarantee-console")){"undefined"!=typeof console||(console={});var n,o=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(e=0;n=o[e++];)console[n]||!function(){var a=n+"";console[a]="log"in console?function(){var b=Array.prototype.slice.call(arguments);b.unshift(a+":"),console.log(b.join(" "))}:function(){},console[a]._fake=!0}()}if(a.add("dojo-debug-messages",!!b.isDebug),j.deprecated=j.experimental=function(){},a("dojo-debug-messages")&&(j.deprecated=function(a,b,c){var d="DEPRECATED: "+a;b&&(d+=" "+b),c&&(d+=" -- will be removed in version: "+c),console.warn(d)},j.experimental=function(a,b){var c="EXPERIMENTAL: "+a+" -- APIs subject to change without notice.";b&&(c+=" "+b),console.warn(c)}),a.add("dojo-modulePaths",1),a("dojo-modulePaths")&&b.modulePaths){j.deprecated("dojo.modulePaths","use paths configuration");var p={};for(f in b.modulePaths)p[f.replace(/\./g,"/")]=b.modulePaths[f];c({paths:p})}return a.add("dojo-moduleUrl",1),a("dojo-moduleUrl")&&(j.moduleUrl=function(a,b){j.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var d=null;return a&&(d=c.toUrl(a.replace(/\./g,"/")+(b?"/"+b:"")+"/*.*").replace(/\/\*\.\*/,"")+(b?"":"/")),d}),j._hasResource={},j}),define("dojo/_base/config",["../has","require"],function(a,b){var c={};if(a("dojo-config-api")){var d,e=b.rawConfig;for(d in e)c[d]=e[d]}else{var f=function(b,c,e){for(d in b)"has"!=d&&a.add(c+d,b[d],0,e)};c=a("dojo-loader")?b.rawConfig:this.dojoConfig||this.djConfig||{},f(c,"config",1),f(c.has,"",1)}if(!c.locale&&"undefined"!=typeof navigator){var g=navigator.language||navigator.userLanguage;g&&(c.locale=g.toLowerCase())}return c}),define("dojo/hccss",["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(a,b,c,d,e,f,g){return e.add("highcontrast",function(){var c=g.doc.createElement("div");c.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+(b.blankGif||a.toUrl("./resources/blank.gif"))+'");',g.body().appendChild(c);var f=d.getComputedStyle(c),h=f.backgroundImage,i=f.borderTopColor==f.borderRightColor||h&&("none"==h||"url(invalid-url:)"==h);return e("ie")<=8?c.outerHTML="":g.body().removeChild(c),i}),f(function(){e("highcontrast")&&c.add(g.body(),"dj_a11y")}),e}),define("dojo/_base/window",["./kernel","./lang","../sniff"],function(a,b,c){var d={global:a.global,doc:this.document||null,body:function(b){return b=b||a.doc,b.body||b.getElementsByTagName("body")[0]},setContext:function(b,c){a.global=d.global=b,a.doc=d.doc=c},withGlobal:function(b,c,e,f){var g=a.global;try{return a.global=d.global=b,d.withDoc.call(null,b.document,c,e,f)}finally{a.global=d.global=g}},withDoc:function(b,e,f,g){var h,i,j,k=d.doc,l=c("quirks"),m=c("ie");try{return a.doc=d.doc=b,a.isQuirks=c.add("quirks","BackCompat"==a.doc.compatMode,!0,!0),c("ie")&&(j=b.parentWindow)&&j.navigator&&(h=parseFloat(j.navigator.appVersion.split("MSIE ")[1])||void 0,i=b.documentMode,i&&5!=i&&Math.floor(h)!=i&&(h=i),a.isIE=c.add("ie",h,!0,!0)),f&&"string"==typeof e&&(e=f[e]),e.apply(f,g||[])}finally{a.doc=d.doc=k,a.isQuirks=c.add("quirks",l,!0,!0),a.isIE=c.add("ie",m,!0,!0)}}};return c("extend-dojo")&&b.mixin(a,d),d}),define("dojo/domReady",["./has"],function(a){function b(a){j.push(a),i&&c()}function c(){if(!d){for(d=!0;j.length;)try{j.shift()(f)}catch(a){console.log("Error on domReady callback: "+a)}d=!1,b._onQEmpty()}}var d,e=this,f=document,g={loaded:1,complete:1},h="string"!=typeof f.readyState,i=!!g[f.readyState],j=[];if(b.load=function(a,c,d){b(d)},b._Q=j,b._onQEmpty=function(){},h&&(f.readyState="loading"),!i){var k=[],l=function(a){a=a||e.event,i||"readystatechange"==a.type&&!g[f.readyState]||(h&&(f.readyState="complete"),i=1,c())},m=function(a,b){a.addEventListener(b,l,!1),j.push(function(){a.removeEventListener(b,l,!1)})};if(!a("dom-addeventlistener")){m=function(a,b){b="on"+b,a.attachEvent(b,l),j.push(function(){a.detachEvent(b,l)})};var n=f.createElement("div");try{n.doScroll&&null===e.frameElement&&k.push(function(){try{return n.doScroll("left"),1}catch(a){}})}catch(o){}}if(m(f,"DOMContentLoaded"),m(e,"load"),"onreadystatechange"in f?m(f,"readystatechange"):h||k.push(function(){return g[f.readyState]}),k.length){var p=function(){if(!i){for(var a=k.length;a--;)if(k[a]())return void l("poller");setTimeout(p,30)}};p()}}return b}),define("dojo/dom-style",["./sniff","./dom"],function(a,b){function c(b,c,d){if(c=c.toLowerCase(),a("ie")||a("trident")){if("auto"==d){if("height"==c)return b.offsetHeight;if("width"==c)return b.offsetWidth}if("fontweight"==c)switch(d){case 700:return"bold";case 400:default:return"normal"}}return c in k||(k[c]=l.test(c)),k[c]?f(b,d):d}var d,e={};d=a("webkit")?function(a){var b;if(1==a.nodeType){var c=a.ownerDocument.defaultView;b=c.getComputedStyle(a,null),!b&&a.style&&(a.style.display="",b=c.getComputedStyle(a,null))}return b||{}}:a("ie")&&(a("ie")<9||a("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}},e.getComputedStyle=d;var f;f=a("ie")?function(a,b){if(!b)return 0;if("medium"==b)return 4;if(b.slice&&"px"==b.slice(-2))return parseFloat(b);var c=a.style,d=a.runtimeStyle,e=a.currentStyle,f=c.left,g=d.left;d.left=e.left;try{c.left=b,b=c.pixelLeft}catch(h){b=0}return c.left=f,d.left=g,b}:function(a,b){return parseFloat(b)||0},e.toPixelValue=f;var g="DXImageTransform.Microsoft.Alpha",h=function(a,b){try{return a.filters.item(g)}catch(c){return b?{}:null}},i=a("ie")<9||a("ie")<10&&a("quirks")?function(a){try{return h(a).Opacity/100}catch(b){return 1}}:function(a){return d(a).opacity},j=a("ie")<9||a("ie")<10&&a("quirks")?function(a,b){""===b&&(b=1);var c=100*b,d=1===b;if(d?(a.style.zoom="",h(a)&&(a.style.filter=a.style.filter.replace(new RegExp("\\s*progid:"+g+"\\([^\\)]+?\\)","i"),""))):(a.style.zoom=1,h(a)?h(a,1).Opacity=c:a.style.filter+=" progid:"+g+"(Opacity="+c+")",h(a,1).Enabled=!0),"tr"==a.tagName.toLowerCase())for(var e=a.firstChild;e;e=e.nextSibling)"td"==e.tagName.toLowerCase()&&j(e,b);return b}:function(a,b){return a.style.opacity=b},k={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,m={cssFloat:1,styleFloat:1,"float":1};return e.get=function(a,d){var f=b.byId(a),g=arguments.length,h="opacity"==d;if(2==g&&h)return i(f);d=m[d]?"cssFloat"in f.style?"cssFloat":"styleFloat":d;var j=e.getComputedStyle(f);return 1==g?j:c(f,d,j[d]||f.style[d])},e.set=function(a,c,d){var f=b.byId(a),g=arguments.length,h="opacity"==c;if(c=m[c]?"cssFloat"in f.style?"cssFloat":"styleFloat":c,3==g)return h?j(f,d):f.style[c]=d;for(var i in c)e.set(a,i,c[i]);return e.getComputedStyle(f)},e}),define("dojo/dom",["./sniff","./_base/window"],function(a,b){if(a("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(c){}var d={};d.byId=a("ie")?function(a,c){if("string"!=typeof a)return a;var d=c||b.doc,e=a&&d.getElementById(a);if(e&&(e.attributes.id.value==a||e.id==a))return e;var f=d.all[a];(!f||f.nodeName)&&(f=[f]);for(var g=0;e=f[g++];)if(e.attributes&&e.attributes.id&&e.attributes.id.value==a||e.id==a)return e}:function(a,c){return("string"==typeof a?(c||b.doc).getElementById(a):a)||null},d.isDescendant=function(a,b){try{for(a=d.byId(a),b=d.byId(b);a;){if(a==b)return!0;a=a.parentNode}}catch(c){}return!1},a.add("css-user-select",function(a,b,c){if(!c)return!1;var d=c.style,e=["Khtml","O","Moz","Webkit"],f=e.length,g="userSelect";do if("undefined"!=typeof d[g])return g;while(f--&&(g=e[f]+"UserSelect"));return!1});var e=a("css-user-select");return d.setSelectable=e?function(a,b){d.byId(a).style[e]=b?"":"none"}:function(a,b){a=d.byId(a);var c=a.getElementsByTagName("*"),e=c.length;if(b)for(a.removeAttribute("unselectable");e--;)c[e].removeAttribute("unselectable");else for(a.setAttribute("unselectable","on");e--;)c[e].setAttribute("unselectable","on")},d}),define("dojo/dom-class",["./_base/lang","./_base/array","./dom"],function(a,b,c){function d(a){if("string"==typeof a||a instanceof String){if(a&&!g.test(a))return h[0]=a,h;var c=a.split(g);return c.length&&!c[0]&&c.shift(),c.length&&!c[c.length-1]&&c.pop(),c}return a?b.filter(a,function(a){return a}):[]}var e,f="className",g=/\s+/,h=[""],i={};return e={contains:function(a,b){return(" "+c.byId(a)[f]+" ").indexOf(" "+b+" ")>=0},add:function(a,b){a=c.byId(a),b=d(b);var e,g=a[f];g=g?" "+g+" ":" ",e=g.length;for(var h,i=0,j=b.length;j>i;++i)h=b[i],h&&g.indexOf(" "+h+" ")<0&&(g+=h+" ");eh;++h)g=g.replace(" "+e[h]+" "," ");g=a.trim(g)}else g="";b[f]!=g&&(b[f]=g)},replace:function(a,b,d){a=c.byId(a),i[f]=a[f],e.remove(i,d),e.add(i,b),a[f]!==i[f]&&(a[f]=i[f])},toggle:function(a,b,f){if(a=c.byId(a),void 0===f){b=d(b);for(var g,h=0,i=b.length;i>h;++h)g=b[h],e[e.contains(a,g)?"remove":"add"](a,g)}else e[f?"add":"remove"](a,b);return f}}}),define("dojo/_base/array",["./kernel","../has","./lang"],function(a,b,c){function d(a){return h[a]=new Function("item","index","array",a)}function e(a){var b=!a;return function(c,e,f){var g,i=0,j=c&&c.length||0;if(j&&"string"==typeof c&&(c=c.split("")),"string"==typeof e&&(e=h[e]||d(e)),f){for(;j>i;++i)if(g=!e.call(f,c[i],i,c),a^g)return!g}else for(;j>i;++i)if(g=!e(c[i],i,c),a^g)return!g;return b}}function f(a){var b=1,c=0,d=0;return a||(b=c=d=-1),function(e,f,h,j){if(j&&b>0)return i.lastIndexOf(e,f,h);var k,l=e&&e.length||0,m=a?l+d:c;for(h===g?k=a?c:l+d:0>h?(k=l+h,0>k&&(k=c)):k=h>=l?l+d:h,l&&"string"==typeof e&&(e=e.split(""));k!=m;k+=b)if(e[k]==f)return k;return-1}}var g,h={},i={every:e(!1),some:e(!0),indexOf:f(!0),lastIndexOf:f(!1),forEach:function(a,b,c){var e=0,f=a&&a.length||0;if(f&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;f>e;++e)b.call(c,a[e],e,a);else for(;f>e;++e)b(a[e],e,a)},map:function(a,b,c,e){var f=0,g=a&&a.length||0,i=new(e||Array)(g);if(g&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;g>f;++f)i[f]=b.call(c,a[f],f,a);else for(;g>f;++f)i[f]=b(a[f],f,a);return i},filter:function(a,b,c){var e,f=0,g=a&&a.length||0,i=[];if(g&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;g>f;++f)e=a[f],b.call(c,e,f,a)&&i.push(e);else for(;g>f;++f)e=a[f],b(e,f,a)&&i.push(e);return i},clearCache:function(){h={}}};return b("extend-dojo")&&c.mixin(a,i),i}),define("delite/uacss",["decor/sniff"],function(a){var b=a("ie"),c=Math.floor,d=a("ff"),e={"d-webkit":a("webkit"),"d-safari":a("safari"),"d-chrome":a("chrome"),"d-gecko":a("mozilla"),"d-ios":a("ios"),"d-android":a("android")};b&&(e["d-ie"]=!0,e["d-ie-"+c(b)]=!0),d&&(e["d-ff-"+c(d)]=!0);var f="";for(var g in e)e[g]&&(f+=g+" ");return document.body.className=(document.body.className+" "+f).trim(),a}),define("delite/typematic",[],function(){var a={_fireEventAndReload:function(){this._timer=null,this._callback(++this._count,this._node,this._evt),this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay),this._timer=setTimeout(this._fireEventAndReload.bind(this),this._currentTimeout)},trigger:function(a,b,c,d,e,f,g,h){if(e!==this._obj){this.stop(),this._initialDelay=g||500,this._subsequentDelay=f||.9,this._minDelay=h||10,this._obj=e,this._node=c,this._currentTimeout=-1,this._count=-1,this._callback=d.bind(b),this._evt={faux:!0};for(var i in a)if("layerX"!==i&&"layerY"!==i){var j=a[i];"function"!=typeof j&&"undefined"!=typeof j&&(this._evt[i]=j)}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(b,c,d,e,f,g,h){var i="keyCode"in c?"keydown":"keypress",j="keyCode"in c?"keyCode":"charCode",k=[d.on(i,function(i){i[j]!==c[j]||void 0!==c.ctrlKey&&c.ctrlKey!==i.ctrlKey||void 0!==c.altKey&&c.altKey!==i.altKey||void 0!==c.metaKey&&c.metaKey!==i.metaKey||void 0!==c.shiftKey&&c.shiftKey!==i.shiftKey?a._obj===c&&a.stop():(i.stopPropagation(),i.preventDefault(),a.trigger(i,d,b,e,c,f,g,h))},b),d.on("keyup",function(){a._obj===c&&a.stop()},b)];return{remove:function(){k.forEach(function(a){a.remove()})}}},addMouseListener:function(b,c,d,e,f,g){var h=[c.on("mousedown",function(h){h.preventDefault(),a.trigger(h,c,b,d,b,e,f,g)},b),c.on("mouseup",function(b){this._obj&&b.preventDefault(),a.stop()}.bind(this),b),c.on("mouseout",function(b){this._obj&&b.preventDefault(),a.stop()}.bind(this),b),c.on("dblclick",function(a){a.preventDefault()},b)];return{remove:function(){h.forEach(function(a){a.remove()})}}},addListener:function(a,b,c,d,e,f,g,h){var i=[this.addKeyListener(b,c,d,e,f,g,h),this.addMouseListener(a,d,e,f,g,h)];return{remove:function(){i.forEach(function(a){a.remove()})}}}};return a}),define("delite/theme",["require","requirejs-dplugins/has","module","./css"],function(a,b,c,d){"use strict";var e=c.config(),f={themeMap:e.themeMap||[[/.*/,"bootstrap"]],getTheme:function(){var a=f.theme||e.theme;if(!a){var b=location.search.match(/theme=(\w+)/);a=b&&b.length>1?b[1]:null}if(!a)for(var c=e.userAgent||(location.search.match(/ua=(\w+)/)?RegExp.$1:navigator.userAgent),d=this.themeMap,g=0;g0&&a[b].parent===a[b-1].widget;b--);return a[b]},open:function(a){function i(b){if(b.keyCode===d.ESCAPE&&a.onCancel)b.stopPropagation(),b.preventDefault(),a.onCancel();else if(b.keyCode===d.TAB){b.stopPropagation(),b.preventDefault();var c=this.getTopPopup();c&&c.onCancel&&c.onCancel()}}for(var j=this._stack,k=a.popup,l=a.orient||["below","below-alt","above","above-alt"],m=a.parent?a.parent.isLeftToRight():h(k.ownerDocument),n=a.around,o=a.around&&a.around.id?a.around.id+"_dropdown":"popup_"+this._idGen++;j.length&&(!a.parent||!a.parent.contains(j[j.length-1].widget));)this.close(j[j.length-1].widget);var p=this.moveOffScreen(k);k.startup&&!k._started&&k.startup();var q;if("maxHeight"in a&&-1!==a.maxHeight)q=a.maxHeight||1/0;else{var r=g.getEffectiveBox(k.ownerDocument),s=n?n.getBoundingClientRect():{top:a.y-(a.padding||0),height:2*(a.padding||0)};q=Math.floor(Math.max(s.top,r.h-(s.top+s.height)))}if(k.offsetHeight>q){var t=getComputedStyle(k),u=t.borderLeftWidth+" "+t.borderLeftStyle+" "+t.borderLeftColor;b.mix(p.style,{overflowY:"scroll",height:q+"px",border:u}),k._originalStyle=k.style.cssText,k.style.border="none"}b.mix(p,{id:o,className:"d-popup "+(k.baseClass||k["class"]||"").split(" ")[0]+"Popup"}),p.style.zIndex=this._beginZIndex+j.length,p.setAttribute("d-popup-parent",a.parent?a.parent.id:""),0===j.length&&n&&(this._firstAroundNode=n,this._firstAroundPosition=e.position(n),this._aroundMoveListener=setTimeout(this._repositionAll.bind(this),50)),c("config-bgIframe")&&!k.bgIframe&&(k.bgIframe=new f(p));var v=k.orient?k.orient.bind(k):null,w=n?e.around(p,n,l,m,v):e.at(p,a,"R"===l?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],a.padding,v);p.style.visibility="visible",k.style.visibility="visible";var x=[];return p.addEventListener("keydown",i),x.push({remove:function(){p.removeEventListener("keydown",i)}}),k.onCancel&&a.onCancel&&x.push(k.on("cancel",a.onCancel)),x.push(k.on(k.onExecute?"execute":"change",function(){var a=this.getTopPopup();a&&a.onExecute&&a.onExecute()})),j.push({widget:k,wrapper:p,parent:a.parent,onExecute:a.onExecute,onCancel:a.onCancel,onClose:a.onClose,handlers:x}),k.onOpen&&k.onOpen(w),w},close:function(a){for(var b=this._stack;a&&b.some(function(b){return b.widget===a})||!a&&b.length;){var c=b.pop(),d=c.widget,e=c.onClose;d.bgIframe&&(d.bgIframe.destroy(),delete d.bgIframe),d.onClose&&d.onClose();for(var f;f=c.handlers.pop();)f.remove();this.hide(d),e&&e()}0===b.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return new j}),define("delite/place",["./Viewport"],function(a){function b(b,c,d,e){var f=a.getEffectiveBox(b.ownerDocument);b.parentNode&&"body"===String(b.parentNode.tagName).toLowerCase()||b.ownerDocument.body.appendChild(b);var g=null;c.some(function(a){var c=a.corner,h=a.pos,i=0,j={w:{L:f.l+f.w-h.x,R:h.x-f.l,M:f.w}[c.charAt(1)],h:{T:f.t+f.h-h.y,B:h.y-f.t,M:f.h}[c.charAt(0)]},k=b.style;if(k.left=k.right="auto",d){var l=d(b,a.aroundCorner,c,j,e);i="undefined"==typeof l?0:l}var m=b.style,n=m.display,o=m.visibility;"none"===m.display&&(m.visibility="hidden",m.display="");var p=b.getBoundingClientRect();m.display=n,m.visibility=o;var q={L:h.x,R:h.x-p.width,M:Math.max(f.l,Math.min(f.l+f.w,h.x+(p.width>>1))-p.width)}[c.charAt(1)],r={T:h.y,B:h.y-p.height,M:Math.max(f.t,Math.min(f.t+f.h,h.y+(p.height>>1))-p.height)}[c.charAt(0)],s=Math.max(f.l,q),t=Math.max(f.t,r),u=Math.min(f.l+f.w,q+p.width),v=Math.min(f.t+f.h,r+p.height),w=u-s,x=v-t;return i+=p.width-w+(p.height-x),(null==g||i>1)}[a.charAt(1)],y:{T:v,B:v+x,M:v+(x>>1)}[a.charAt(0)]}})}var i;if("string"==typeof c||"offsetWidth"in c||"ownerSVGElement"in c){if(i=d.position(c),/^(above|below)/.test(e[0])){var j=function(a){var b=getComputedStyle(a);return{t:parseFloat(b.borderTopWidth),b:parseFloat(b.borderBottomWidth)}},k=j(c),l=c.firstElementChild?j(c.firstElementChild):{t:0,b:0},m=j(a),n=a.firstElementChild?j(a.firstElementChild):{t:0,b:0};i.y+=Math.min(k.t+l.t,m.t+n.t),i.h-=Math.min(k.t+l.t,m.t+n.t)+Math.min(k.b+l.b,m.b+n.b)}}else i=c;if(c.parentNode)for(var o="absolute"===getComputedStyle(c).position,p=c.parentNode;p&&1===p.nodeType&&"BODY"!==p.nodeName;){var q=d.position(p),r=getComputedStyle(p);if(/^(relative|absolute)$/.test(r.position)&&(o=!1),!o&&/^(hidden|auto|scroll)$/.test(r.overflow)){var s=Math.min(i.y+i.h,q.y+q.h),t=Math.min(i.x+i.w,q.x+q.w);i.x=Math.max(i.x,q.x),i.y=Math.max(i.y,q.y),i.h=s-i.y,i.w=t-i.x}"absolute"===r.position&&(o=!0),p=p.parentNode}var u=i.x,v=i.y,w=i.w,x=i.h,y=[];e.forEach(function(a){var b=f;switch(a){case"above-centered":h("TM","BM");break;case"below-centered":h("BM","TM");break;case"after-centered":b=!b;case"before-centered":h(b?"ML":"MR",b?"MR":"ML");break;case"after":b=!b;case"before":h(b?"TL":"TR",b?"TR":"TL"),h(b?"BL":"BR",b?"BR":"BL");break;case"below-alt":b=!b;case"below":h(b?"BL":"BR",b?"TL":"TR"),h(b?"BR":"BL",b?"TR":"TL");break;case"above-alt":b=!b;case"above":h(b?"TL":"TR",b?"BL":"BR"),h(b?"TR":"TL",b?"BR":"BL")}});var z=b(a,y,g,{w:w,h:x});return z.aroundNodePos=i,z},position:function(a){var b=a.getBoundingClientRect(),c=a.ownerDocument,d=c.defaultView;return{x:b.left+(d.pageXOffset||c.documentElement.scrollLeft),y:b.top+(d.pageYOffset||c.documentElement.scrollTop),h:b.height,w:b.width}}};return d}),define("delite/keys",["decor/sniff"],function(a){return{BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:a("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:a("mac")?a("safari")?91:224:17}}),define("delite/handlebars",["./template"],function(a){function b(a,b){var c,d=[],e={};return(a||"").split(/({{|}})/).forEach(function(a){if("{{"===a)c=!0;else if("}}"===a)c=!1;else if(c){var f=a.trim();/this\./.test(f)?(d.push("("+a+")"),e[a.match(/this\.(\w+)/g).map(function(a){return a.substring(5)})]=!0):(e[f.replace(/[^\w].*/,"")]=!0,d.push(b?"(this."+f+" || '')":"this."+f))}else a&&d.push("'"+a.replace(/(['\\])/g,"\\$1").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"'")}),{expr:d.join(" + "),dependsOn:Object.keys(e)}}var c="requirejs-text/text",d={parse:function(a,c){var e,f,g=a.tagName.replace(/^template-/i,"").toLowerCase(),h={},i={},j=0,k=a.attributes;for(j=0;f=k[j];j++)if(f.value)switch(f.name){case"xmlns":c=f.value;break;case"is":g=f.value;break;case"attach-point":case"data-attach-point":e=f.value.split(/, */);break;default:/^on-/.test(f.name)?i[f.name.substring(3)]=f.value.replace(/\s*({{|}})\s*/g,""):h[f.name]=b(f.value,"class"===f.name)}return{tag:g,xmlns:c,attributes:h,connects:i,children:d.parseChildren(a,c),attachPoints:e}},parseChildren:function(a,c){for(var e,f=[],g=a.firstChild;g;g=g.nextSibling){var h=g.nodeType;if(1===h)e=f.length,f.push(d.parse(g,c));else if(3===h){if(/^[ \t\n]*$/.test(g.nodeValue)){if(void 0===e)continue}else e=f.length;f.push(b(g.nodeValue,!0))}}return f.slice(0,e+1)},toDom:function(a){a=a.replace(/(<\/? *)([a-zA-Z0-9]+-[-a-zA-Z0-9]+|template|select|[a-zA-Z]+[^>]+is=)/g,"$1template-$2");var b;if(/a||(this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),f+100>a||(this._clearActiveWidgetsTimer=setTimeout(function(){delete this._clearActiveWidgetsTimer,this._setStack([])}.bind(this),0)))},_onTouchNode:function(a,b){f=(new Date).getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),c.contains(a,"d-popup")&&(a=a.firstChild);var d=[];try{for(;a;){var e=a.getAttribute("d-popup-parent");if(e)a=a.ownerDocument.getElementById(e);else if(a.tagName&&"body"===a.tagName.toLowerCase()){if(a===document.body)break;a=a.ownerDocument.defaultView.frameElement}else!a.buildRendering||"mouse"===b&&a.disabled||d.unshift(a),a=a.parentNode}}catch(g){}this._setStack(d,b)},_onFocusNode:function(a){a&&9!==a.nodeType&&(e=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(a))},_setStack:function(a,b){var c=this.activeStack,d=c.length-1,e=a.length-1;if(a[e]!==c[d]){this.activeStack=a,this.emit("active-widget-stack",a);var f,g;for(g=d;g>=0&&c[g]!==a[g];g--)f=c[g],f&&(f._hasBeenBlurred=!0,f.focused=!1,f._onBlur&&f._onBlur(b),this.emit("widget-blur",f,b));for(g++;e>=g;g++)f=a[g],f&&(f.focused=!0,f._onFocus&&f._onFocus(b),this.emit("widget-focus",f,b))}},focus:function(a){if(a)try{a.focus()}catch(b){}}}),h=new g;return h.registerWin(window),h}),define("requirejs-domready/domReady",[],function(){"use strict";function a(a){var b;for(b=0;b535});var d,e={},f=function(c){var d=new b,e=a("event-link-onload-api")?function(){c.onreadystatechange=c.onload=function(){c.readyState&&"complete"!==c.readyState||(c.onreadystatechange=c.onload=null,d.resolve())}}:function(){var a=c.sheet||c.styleSheet,b=document.styleSheets;a&&-1!==Array.prototype.lastIndexOf.call(b,a)?d.resolve():setTimeout(e,25)};return e(),d.promise},g={id:c.id,load:function(b,g,h){if(a("builder"))return j.addOnce(i,b),void h();var k=c.config();k.layersMap&&(b=k.layersMap[b]||b);var l,m=document.head||document.getElementsByTagName("head")[0],n=g.toUrl(b);e[n]||(l=document.createElement("link"),l.rel="stylesheet",l.type="text/css",l.href=n,m.insertBefore(l,d?d.nextSibling:m.firstChild),d=l,e[n]=f(l)),e[n].then(function(){h(b)})}};if(a("builder")){var h,i=[],j={writeConfig:function(a,b,c,d){var e={config:{}};e.config[b]={layersMap:{}},d.forEach(function(a){e.config[b].layersMap[a]=c}),a("require.config("+JSON.stringify(e)+");")},writeLayer:function(a,b,d){var e=require.toUrl(c.id).replace(/[^\/]*$/,"node_modules/clean-css"),f=require.nodeRequire(require.getNodePath(e)),g="";d.forEach(function(a){g+=new f({relativeTo:"./",target:b}).minify("@import url("+a+");")}),a(b,g)},addOnce:function(a,b){-1===a.indexOf(b)&&a.push(b)}};g.writeFile=function(a,b,c,d){h=d},g.onLayerEnd=function(a,b){function d(){return b.path.replace(/^(?:\.\/)?(([^\/]*\/)*)[^\/]*$/,"$1css/layer.css")}if(b.name&&b.path){var e=d();j.writeLayer(h,e,i),j.writeConfig(a,c.id,e,i),i=[]}},g.buildFunctions=j}return g}),define("dojo/Deferred",["./has","./_base/lang","./errors/CancelError","./promise/Promise","./has!config-deferredInstrumentation?./promise/instrumentation"],function(a,b,c,d,e){"use strict";var f=0,g=1,h=2,i="This deferred has already been fulfilled.",j=Object.freeze||function(){},k=function(b,c,d,e,f){a("config-deferredInstrumentation")&&c===h&&o.instrumentRejected&&0===b.length&&o.instrumentRejected(d,!1,e,f);for(var g=0;g=0},isFocusable:function(b){return a.effectiveTabIndex(b)>=-1},_getTabNavigable:function(b){function c(a){return a&&"input"===a.tagName.toLowerCase()&&a.type&&"radio"===a.type.toLowerCase()&&a.name&&a.name.toLowerCase()}function d(a){for(var b=a.firstChild;b;b=b.nextSibling)if(1===b.nodeType&&m(b)){var e=n(b);if(e>=0){0===e?(f||(f=b),g=b):e>0&&((!h||i>e)&&(i=e,h=b),(!j||e>=k)&&(k=e,j=b));var o=c(b);b.checked&&o&&(l[o]=b)}"SELECT"!==b.nodeName.toUpperCase()&&d(b)}}function e(a){return l[c(a)]||a}var f,g,h,i,j,k,l={},m=a._isElementShown,n=a.effectiveTabIndex;return m(b)&&d(b),{first:e(f),last:e(g),lowest:e(h),highest:e(j)}},getFirstInTabbingOrder:function(b,c){"string"==typeof b&&(b=(c||document).getElementById(b));var d=a._getTabNavigable(b);return d.lowest?d.lowest:d.first},getLastInTabbingOrder:function(b,c){"string"==typeof b&&(b=(c||document).getElementById(b));var d=a._getTabNavigable(b);return d.last?d.last:d.highest}};return a}),define("delite/Widget",["dcl/dcl","dojo/dom","dojo/dom-class","./features","decor/Invalidating","./CustomElement","./register","./features!bidi?./Bidi"],function(a,b,c,d,e,f,g,h){var i=0,j=a([f,e],{baseClass:"",_setBaseClassAttr:function(a){c.replace(this,a,this.baseClass),this._set("baseClass",a)},focused:!1,containerNode:void 0,_started:!1,widgetId:0,createdCallback:function(){this.preCreate(),this.buildRendering(),this.postCreate()},refreshRendering:function(a){this._refreshRenderingCallback&&this._refreshRenderingCallback(a)},attachedCallback:function(){this._attached=!0,this.baseClass&&c.add(this,this.baseClass),this.isLeftToRight()||c.add(this,"d-rtl");for(var a=this.tabIndex,b=this;b;b=Object.getPrototypeOf(b)){var d=Object.getOwnPropertyDescriptor(b,"tabIndex");if(d&&d.set){this.hasAttribute("tabindex")&&(this.removeAttribute("tabindex"),d.set.call(this,a));var e=this;if("WebKitMutationObserver"in window){var f=window.MutationObserver||WebKitMutationObserver,g=new f(function(){var a=e.getAttribute("tabindex");null!==a&&(e.removeAttribute("tabindex"),d.set.call(e,a))});g.observe(this,{subtree:!1,attributeFilter:["tabindex"],attributes:!0})}break}}},preCreate:function(){this.widgetId=++i},template:null,buildRendering:function(){this.template&&(this._refreshRenderingCallback=this.template(this.ownerDocument,g))},setOrRemoveAttribute:function(a,b,c){void 0===c?a.removeAttribute(b):a.setAttribute(b,""+c)},postCreate:function(){},startup:function(){this._started||(this._attached||this.attachedCallback(),this._started=!0,this.findCustomElements(this).forEach(function(a){a._started||a._destroyed||"function"!=typeof a.startup||(a.startup(),a._started=!0)}))},destroy:function(){this.bgIframe&&(this.bgIframe.destroy(),delete this.bgIframe)},getChildren:function(){return this.containerNode?Array.prototype.slice.call(this.containerNode.children):[]},getParent:function(){return this.getEnclosingWidget(this.parentNode)},isLeftToRight:function(){var a=this.ownerDocument;return!/^rtl$/i.test(this.dir||a.body.dir||a.documentElement.dir)},placeAt:function(a,b){if("string"==typeof a&&(a=this.ownerDocument.getElementById(a)),"replace"===b)a.parentNode.replaceChild(this,a);else if("only"===b){for(var c;c=a.lastChild;)a.removeChild(c);a.appendChild(this)}else if(/^(before|after)$/.test(b))a.parentNode.insertBefore(this,"before"===b?a:a.nextSibling);else{var d=a.containerNode||a,e=d.children||Array.prototype.filter.call(d.childNodes,function(a){return 1===a.nodeType});d.insertBefore(this,e["first"===b?0:b]||null)}return!this._started&&(this.getParent()||{})._started&&this.startup(),this},getEnclosingWidget:function(a){do if(1===a.nodeType&&a.buildRendering)return a;while(a=a.parentNode);return null},onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});return d("bidi")&&(j=a(j,h)),a.chainAfter(j,"preCreate"),a.chainAfter(j,"postCreate"),a.chainAfter(j,"startup"),j}),define("delite/Viewport",["decor/Evented","decor/sniff","requirejs-domready/domReady!"],function(a,b){var c=new a,d=document.documentElement,e=d.clientWidth,f=d.clientHeight;return window.addEventListener("resize",function(){var a=d.clientWidth,b=d.clientHeight;(b!==f||a!==e)&&(e=a,f=b,c.emit("resize"))}),c.getEffectiveBox=function(a){var c=a.documentElement,d={w:c.clientWidth,h:c.clientHeight,t:a.body.scrollTop,l:a.body.scrollLeft},e=a.activeElement,f=e&&e.tagName&&e.tagName.toLowerCase();if(b("ios")&&e&&!e.readOnly&&("textarea"===f||"input"===f&&/^(color|email|number|password|search|tel|text|url)$/.test(e.type))){d.h*=0===window.orientation||180===window.orientation?.66:.4;var g=e.getBoundingClientRect();d.h=Math.max(d.h,g.top+g.height)}return d},c}),define("delite/StoreMap",["dcl/dcl","./Store"],function(a,b){var c=function(a,b,c,d){return a[c+"Func"]?a[c+"Func"](b,d):a[c+"Attr"]?b[a[c+"Attr"]]:b[c]},d=function(a,b,c,d,e){a[c+"Func"]?a[c+"Func"](b,d,e):a[c+"Attr"]?b[a[c+"Attr"]]=e:b[c]=e},e=/^(?!_)(\w)+(?=Attr$|Func$)/,f=/f(?=unc$)|a(?=ttr$)/;return a(b,{allowRemap:!1,_mappedKeys:null,copyAllItemProps:!1,_parseAttr:a.superCall(function(a){return function(b,c){return/Attr$|Func$/i.test(b)?(b=b.toLowerCase(),b=this._propCaseMap[b]||b.replace(f,f.exec(b)[0].toUpperCase()),{prop:b,value:/Attr$/.test(b)?c:this._parseFunctionAttr(c,["item","store","value"])}):a.apply(this,arguments)}}),startup:function(){var a=[];for(var b in this){var c=e.exec(b);c&&-1===a.indexOf(c[0])&&a.push(c[0])}if(this.copyAllItemProps){this._itemKeys=[];for(var d=0;d1?d?d(c):c:(new a).resolve(c);if(!h){var i=new a(c.cancel);c.then(i.resolve,i.reject,i.progress),c=i.promise}return d||e||f?c.then(d,e,f):c}}),define("delite/Selection",["dcl/dcl","decor/sniff","./Widget"],function(a,b,c){return a(c,{preCreate:function(){this._set("selectedItems",[])},selectionMode:"single",_setSelectionModeAttr:function(a){if("none"!==a&&"single"!==a&&"multiple"!==a&&"radio"!==a)throw new TypeError("selectionMode invalid value");a!==this.selectionMode&&(this._set("selectionMode",a),"none"===a?this.selectedItems=null:"single"!==a&&"radio"!==a||!this.selectedItem||(this.selectedItems=[this.selectedItem]))},selectedItem:null,_setSelectedItemAttr:function(a){this.selectedItem!==a&&(this.selectedItems=null==a?null:[a])},selectedItems:null,_setSelectedItemsAttr:function(a){var b=this.selectedItems;this._set("selectedItems",a),null!=b&&b.length>0&&this.updateRenderers(b),this.selectedItems&&this.selectedItems.length>0?(this._set("selectedItem",this.selectedItems[0]),this.updateRenderers(this.selectedItems)):this._set("selectedItem",null)},_getSelectedItemsAttr:function(){return null==this._get("selectedItems")?[]:this._get("selectedItems").concat()},hasSelectionModifier:function(a){return b("mac")?a.metaKey:a.ctrlKey},isSelected:function(a){if(null==this.selectedItems||0===this.selectedItems.length)return!1;var b=this.getIdentity(a);return this.selectedItems.some(function(a){return this.getIdentity(a)===b},this)},getIdentity:function(){},updateRenderers:function(){},setSelected:function(a,b){"none"!==this.selectionMode&&null!=a&&this._setSelected(a,b)},_setSelected:function(a,b){var c,d,e=this.selectedItems;if("single"===this.selectionMode||"radio"===this.selectionMode)b?this.selectedItem=a:"single"===this.selectionMode&&this.isSelected(a)&&(this.selectedItems=null);else if(b){if(this.isSelected(a))return;null==e?e=[a]:e.unshift(a),this.selectedItems=e}else{if(d=this.getIdentity(a),c=e?e.filter(function(a){return this.getIdentity(a)!==d},this):[],null==c||c.length===e.length)return;this.selectedItems=c}},selectFromEvent:function(a,b,c,d){return"none"===this.selectionMode?!1:this._selectFromEvent(a,b,c,d)},_selectFromEvent:function(a,b,c,d){var e,f=this.selectedItem,g=null==b?!1:this.isSelected(b);return null==b?"multiple"!==this.selectionMode||this.hasSelectionModifier(a)||null==this.selectedItem||(this.selectedItem=null,e=!0):"multiple"===this.selectionMode?this.hasSelectionModifier(a)?(this.setSelected(b,!g),e=!0):(this.selectedItem=b,e=!0):"single"===this.selectionMode&&this.hasSelectionModifier(a)?(this.selectedItem=g?null:b,e=!0):g||(this.selectedItem=b,e=!0),d&&e&&this.dispatchSelectionChange(f,this.selectedItem,c,a),e -},dispatchSelectionChange:function(a,b,c,d){this.emit("selection-change",{oldValue:a,newValue:b,renderer:c,triggerEvent:d})}})}),define("delite/Scrollable",["dcl/dcl","dojo/dom","dojo/dom-class","dojo/_base/fx","dojo/fx/easing","delite/Widget","delite/theme!./Scrollable/themes/{{theme}}/Scrollable.css"],function(a,b,c,d,e,f){return a(f,{scrollDirection:"vertical",scrollableNode:null,postCreate:function(){this.notifyCurrentValue("scrollDirection")},buildRendering:a.after(function(){this.scrollableNode||(this.scrollableNode=this),b.setSelectable(this.scrollableNode,!1)}),refreshRendering:function(a){a.scrollDirection&&(c.toggle(this.scrollableNode,"d-scrollable","none"!==this.scrollDirection),c.toggle(this.scrollableNode,"d-scrollable-h",/^(both|horizontal)$/.test(this.scrollDirection)),c.toggle(this.scrollableNode,"d-scrollable-v",/^(both|vertical)$/.test(this.scrollDirection)))},destroy:function(){this._stopAnimation()},isTopScroll:function(){return 0===this.scrollableNode.scrollTop},isBottomScroll:function(){var a=this.scrollableNode;return a.offsetHeight+a.scrollTop>=a.scrollHeight},isLeftScroll:function(){return 0===this.scrollableNode.scrollLeft},isRightScroll:function(){var a=this.scrollableNode;return a.offsetWidth+a.scrollLeft>=a.scrollWidth},getCurrentScroll:function(){return{x:this.scrollableNode.scrollLeft,y:this.scrollableNode.scrollTop}},scrollBy:function(a,b){var c={};void 0!==a.x&&(c.x=this.scrollableNode.scrollLeft+a.x),void 0!==a.y&&(c.y=this.scrollableNode.scrollTop+a.y),this.scrollTo(c,b)},scrollTo:function(a,b){var c=this.scrollableNode;if(this._stopAnimation(),!b||0>=b)void 0!==a.x&&(c.scrollLeft=a.x),void 0!==a.y&&(c.scrollTop=a.y);else{var f={x:void 0!==a.x?c.scrollLeft:void 0,y:void 0!==a.y?c.scrollTop:void 0},g=this,h=function(){var h=function(a,b){this.start=a,this.end=b};h.prototype.getValue=function(b){return{x:(a.x-f.x)*b+f.x,y:(a.y-f.y)*b+f.y}};var i=new d.Animation({beforeBegin:function(){this.curve&&delete this.curve,i.curve=new h(f,a)},onAnimate:function(a){void 0!==a.x&&(c.scrollLeft=a.x),void 0!==a.y&&(c.scrollTop=a.y)},easing:e.expoInOut,duration:b,rate:20});return g._animation=i,i};h().play()}},_stopAnimation:function(){this._animation&&"playing"===this._animation.status()&&this._animation.stop()}})}),define("dojo/fx/easing",["../_base/lang"],function(a){var b={linear:function(a){return a},quadIn:function(a){return Math.pow(a,2)},quadOut:function(a){return a*(a-2)*-1},quadInOut:function(a){return a=2*a,1>a?Math.pow(a,2)/2:-1*(--a*(a-2)-1)/2},cubicIn:function(a){return Math.pow(a,3)},cubicOut:function(a){return Math.pow(a-1,3)+1},cubicInOut:function(a){return a=2*a,1>a?Math.pow(a,3)/2:(a-=2,(Math.pow(a,3)+2)/2)},quartIn:function(a){return Math.pow(a,4)},quartOut:function(a){return-1*(Math.pow(a-1,4)-1)},quartInOut:function(a){return a=2*a,1>a?Math.pow(a,4)/2:(a-=2,-0.5*(Math.pow(a,4)-2))},quintIn:function(a){return Math.pow(a,5)},quintOut:function(a){return Math.pow(a-1,5)+1},quintInOut:function(a){return a=2*a,1>a?Math.pow(a,5)/2:(a-=2,(Math.pow(a,5)+2)/2)},sineIn:function(a){return-1*Math.cos(a*(Math.PI/2))+1},sineOut:function(a){return Math.sin(a*(Math.PI/2))},sineInOut:function(a){return-1*(Math.cos(Math.PI*a)-1)/2},expoIn:function(a){return 0==a?0:Math.pow(2,10*(a-1))},expoOut:function(a){return 1==a?1:-1*Math.pow(2,-10*a)+1},expoInOut:function(a){return 0==a?0:1==a?1:(a=2*a,1>a?Math.pow(2,10*(a-1))/2:(--a,(-1*Math.pow(2,-10*a)+2)/2))},circIn:function(a){return-1*(Math.sqrt(1-Math.pow(a,2))-1)},circOut:function(a){return a-=1,Math.sqrt(1-Math.pow(a,2))},circInOut:function(a){return a=2*a,1>a?-0.5*(Math.sqrt(1-Math.pow(a,2))-1):(a-=2,.5*(Math.sqrt(1-Math.pow(a,2))+1))},backIn:function(a){var b=1.70158;return Math.pow(a,2)*((b+1)*a-b)},backOut:function(a){a-=1;var b=1.70158;return Math.pow(a,2)*((b+1)*a+b)+1},backInOut:function(a){var b=2.5949095;return a=2*a,1>a?Math.pow(a,2)*((b+1)*a-b)/2:(a-=2,(Math.pow(a,2)*((b+1)*a+b)+2)/2)},elasticIn:function(a){if(0==a||1==a)return a;var b=.3,c=b/4;return a-=1,-1*Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/b)},elasticOut:function(a){if(0==a||1==a)return a;var b=.3,c=b/4;return Math.pow(2,-10*a)*Math.sin(2*(a-c)*Math.PI/b)+1},elasticInOut:function(a){if(0==a)return 0;if(a=2*a,2==a)return 1;var b=.3*1.5,c=b/4;return 1>a?(a-=1,-.5*Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/b)):(a-=1,.5*Math.pow(2,-10*a)*Math.sin(2*(a-c)*Math.PI/b)+1)},bounceIn:function(a){return 1-b.bounceOut(1-a)},bounceOut:function(a){var b,c=7.5625,d=2.75;return 1/d>a?b=c*Math.pow(a,2):2/d>a?(a-=1.5/d,b=c*Math.pow(a,2)+.75):2.5/d>a?(a-=2.25/d,b=c*Math.pow(a,2)+.9375):(a-=2.625/d,b=c*Math.pow(a,2)+.984375),b},bounceInOut:function(a){return.5>a?b.bounceIn(2*a)/2:b.bounceOut(2*a-1)/2+.5}};return a.setObject("dojo.fx.easing",b),b}),define("dojo/_base/fx",["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(a,b,c,d,e,f,g,h,i){var j=c.mixin,k={},l=k._Line=function(a,b){this.start=a,this.end=b};l.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var m=k.Animation=function(a){j(this,a),c.isArray(this.curve)&&(this.curve=new l(this.curve[0],this.curve[1]))};m.prototype=new d,c.extend(m,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(a,c){var d=c||[];if(this[a])if(b.debugAtAllCosts)this[a].apply(this,d);else try{this[a].apply(this,d)}catch(e){console.error("exception in animation handler for:",a),console.error(e)}return this},play:function(a,b){var d=this;if(d._delayTimer&&d._clearTimer(),b)d._stopTimer(),d._active=d._paused=!1,d._percent=0;else if(d._active&&!d._paused)return d;d._fire("beforeBegin",[d.node]);var e=a||d.delay,f=c.hitch(d,"_play",b);return e>0?(d._delayTimer=setTimeout(f,e),d):(f(),d)},_play:function(){var a=this;a._delayTimer&&a._clearTimer(),a._startTime=(new Date).valueOf(),a._paused&&(a._startTime-=a.duration*a._percent),a._active=!0,a._paused=!1;var b=a.curve.getValue(a._getStep());return a._percent||(a._startRepeatCount||(a._startRepeatCount=a.repeat),a._fire("onBegin",[b])),a._fire("onPlay",[b]),a._cycle(),a},pause:function(){var a=this;return a._delayTimer&&a._clearTimer(),a._stopTimer(),a._active?(a._paused=!0,a._fire("onPause",[a.curve.getValue(a._getStep())]),a):a},gotoPercent:function(a,b){var c=this;return c._stopTimer(),c._active=c._paused=!0,c._percent=a,b&&c.play(),c},stop:function(a){var b=this;return b._delayTimer&&b._clearTimer(),b._timer?(b._stopTimer(),a&&(b._percent=1),b._fire("onStop",[b.curve.getValue(b._getStep())]),b._active=b._paused=!1,b):b},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var a=this;if(a._active){var b=(new Date).valueOf(),c=0===a.duration?1:(b-a._startTime)/a.duration;c>=1&&(c=1),a._percent=c,a.easing&&(c=a.easing(c)),a._fire("onAnimate",[a.curve.getValue(c)]),a._percent<1?a._startTimer():(a._active=!1,a.repeat>0?(a.repeat--,a.play(null,!0)):-1==a.repeat?a.play(null,!0):a._startRepeatCount&&(a.repeat=a._startRepeatCount,a._startRepeatCount=0),a._percent=0,a._fire("onEnd",[a.node]),!a.repeat&&a._stopTimer())}return a},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var n=0,o=null,p={run:function(){}};c.extend(m,{_startTimer:function(){this._timer||(this._timer=f.after(p,"run",c.hitch(this,"_cycle"),!0),n++),o||(o=setInterval(c.hitch(p,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,n--),0>=n&&(clearInterval(o),o=null,n=0)}});var q=g("ie")?function(a){var b=a.style;b.width.length||"auto"!=i.get(a,"width")||(b.width="auto")}:function(){};k._fade=function(a){a.node=h.byId(a.node);var b=j({properties:{}},a),d=b.properties.opacity={};d.start="start"in b?b.start:function(){return+i.get(b.node,"opacity")||0},d.end=b.end;var e=k.animateProperty(b);return f.after(e,"beforeBegin",c.partial(q,b.node),!0),e},k.fadeIn=function(a){return k._fade(j({end:1},a))},k.fadeOut=function(a){return k._fade(j({end:0},a))},k._defaultEasing=function(a){return.5+Math.sin((a+1.5)*Math.PI)/2};var r=function(a){this._properties=a;for(var b in a){var c=a[b];c.start instanceof e&&(c.tempColor=new e)}};return r.prototype.getValue=function(a){var b={};for(var d in this._properties){var f=this._properties[d],g=f.start;g instanceof e?b[d]=e.blendColors(g,f.end,a,f.tempColor).toCss():c.isArray(g)||(b[d]=(f.end-g)*a+g+("opacity"!=d?f.units||"px":0))}return b},k.animateProperty=function(b){var d=b.node=h.byId(b.node);b.easing||(b.easing=a._defaultEasing);var g=new m(b);return f.after(g,"beforeBegin",c.hitch(g,function(){function a(a,b){var c={height:a.offsetHeight,width:a.offsetWidth}[b];return void 0!==c?c:(c=i.get(a,b),"opacity"==b?+c:h?c:parseFloat(c))}var b={};for(var f in this.properties){("width"==f||"height"==f)&&(this.node.display="block");var g=this.properties[f];c.isFunction(g)&&(g=g(d)),g=b[f]=j({},c.isObject(g)?g:{end:g}),c.isFunction(g.start)&&(g.start=g.start(d)),c.isFunction(g.end)&&(g.end=g.end(d));var h=f.toLowerCase().indexOf("color")>=0;"end"in g?"start"in g||(g.start=a(d,f)):g.end=a(d,f),h?(g.start=new e(g.start),g.end=new e(g.end)):g.start="opacity"==f?+g.start:parseFloat(g.start)}this.curve=new r(b)}),!0),f.after(g,"onAnimate",c.hitch(i,"set",g.node),!0),g},k.anim=function(a,b,c,d,e,f){return k.animateProperty({node:a,duration:c||m.prototype.duration,properties:b,easing:d,onEnd:e}).play(f||0)},g("extend-dojo")&&(j(a,k),a._Animation=m),k}),define("dojo/aspect",[],function(){"use strict";function a(a,b,c,e){var f,g=a[b],h="around"==b;if(h){var i=c(function(){return g.advice(this,arguments)});f={remove:function(){i&&(i=a=c=null)},advice:function(a,b){return i?i.apply(a,b):g.advice(a,b)}}}else f={remove:function(){if(f.advice){var d=f.previous,e=f.next;e||d?(d?d.next=e:a[b]=e,e&&(e.previous=d)):delete a[b],a=c=f.advice=null}},id:d++,advice:c,receiveArguments:e};if(g&&!h)if("after"==b){for(;g.next&&(g=g.next););g.next=f,f.previous=g}else"before"==b&&(a[b]=f,f.next=g,g.previous=f);else a[b]=f;return f}function b(b){return function(e,f,g,h){var i,j=e[f];j&&j.target==e||(e[f]=i=function(){for(var a=d,b=arguments,e=i.before;e;)b=e.advice.apply(this,b)||b,e=e.next;if(i.around)var f=i.around.advice(this,b);for(var g=i.after;g&&g.id>=f,d[b]=4==f?17*c:c}),d.a=1,d)},e.fromArray=a.colorFromArray=function(a,b){var c=b||new e;return c._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3])),isNaN(c.a)&&(c.a=1),c.sanitize()},e.fromString=a.colorFromString=function(a,b){var c=e.named[a];return c&&e.fromArray(c,b)||e.fromRgb(a,b)||e.fromHex(a,b)},e}),define("dojo/Evented",["./aspect","./on"],function(a,b){"use strict";function c(){}var d=a.after;return c.prototype={on:function(a,c){return b.parse(this,a,c,function(a,b){return d(a,"on"+b,c,!0)})},emit:function(){var a=[this];return a.push.apply(a,arguments),b.emit.apply(b,a)}},c}),define("dojo/on",["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(a,b,c){"use strict";function d(a,b,d,e,f){var g=b.match(/(.*):(.*)/);if(g)return b=g[2],g=g[1],h.selector(g,b).call(f,a,d);if(c("touch")&&(i.test(b)&&(d=x(d)),c("event-orientationchange")||"orientationchange"!=b||(b="resize",a=window,d=x(d))),n&&(d=n(d)),a.addEventListener){var j=b in l,k=j?l[b]:b;return a.addEventListener(k,d,j),{remove:function(){a.removeEventListener(k,d,j)}}}if(b="on"+b,r&&a.attachEvent)return r(a,b,d);throw new Error("Target must be an event emitter")}function e(){this.cancelable=!1,this.defaultPrevented=!0}function f(){this.bubbles=!1}if(c("dom")){var g=window.ScriptEngineMajorVersion;c.add("jscript",g&&g()+ScriptEngineMinorVersion()/10),c.add("event-orientationchange",c("touch")&&!c("android")),c.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),c.add("event-focusin",function(a,b,c){return"onfocusin"in c})}var h=function(a,b,c,e){return"function"!=typeof a.on||"function"==typeof b||a.nodeType?h.parse(a,b,c,d,e,this):a.on(b,c)};h.pausable=function(a,b,c,d){var e,f=h(a,b,function(){return e?void 0:c.apply(this,arguments)},d);return f.pause=function(){e=!0},f.resume=function(){e=!1},f},h.once=function(a,b,c){var d=h(a,b,function(){return d.remove(),c.apply(this,arguments)});return d},h.parse=function(a,b,c,d,e,f){if(b.call)return b.call(f,a,c);if(b instanceof Array)g=b;else if(b.indexOf(",")>-1)var g=b.split(/\s*,\s*/);if(g){for(var i,j=[],k=0;i=g[k++];)j.push(h.parse(a,i,c,d,e,f));return j.remove=function(){for(var a=0;a0?c(a):e(a),a===g)return null;if(this._selectorFunc(a))return a}}})}),define("delite/HasDropDown",["dcl/dcl","dojo/Deferred","dojo/dom-class","requirejs-dplugins/has","delite/keys","./focus","./place","./popup","./Widget","dpointer/events"],function(a,b,c,d,e,f,g,h,i){return a(i,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:!0,opened:!1,_onDropDownMouseDown:function(a){this.disabled||this.readOnly||("MSPointerDown"!==a.type&&"pointerdown"!==a.type&&a.preventDefault(),this._docHandler=this.on("pointerup",this._onDropDownMouseUp.bind(this),this.ownerDocument.body),this.toggleDropDown())},_onDropDownMouseUp:function(a){a&&this._docHandler&&(this._docHandler.remove(),this._docHandler=null);var b=this.dropDown,d=!1;if(a&&this.opened){var e=g.position(this._buttonNode);if(!(a.pageX>=e.x&&a.pageX<=e.x+e.w&&a.pageY>=e.y&&a.pageY<=e.y+e.h)){for(var f=a.target;f&&!d;)c.contains(f,"d-popup")?d=!0:f=f.parentNode;if(d){if(b.onItemClick){var h=this.getEnclosingWidget(a.target);h&&h.onClick&&h.getParent&&h.getParent().onItemClick(h,a)}return}}}this.opened?b.focus&&(b.focusOnOpen!==!1||"mouseup"===a.type&&!this.hovering)&&(this._focusDropDownTimer=this.defer(function(){b.focus(),delete this._focusDropDownTimer})):this.focus&&this.defer("focus")},_onDropDownClick:function(a){this._stopClickEvents&&(a.stopPropagation(),a.preventDefault())},buildRendering:a.after(function(){this._buttonNode=this._buttonNode||this.focusNode||this,this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var a={after:this.isLeftToRight()?"right":"left",before:this.isLeftToRight()?"left":"right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"down";c.add(this._arrowWrapperNode||this._buttonNode,"d-"+a+"-arrow")}),postCreate:function(){this.on("pointerdown",this._onDropDownMouseDown.bind(this),this._buttonNode),this.on("click",this._onDropDownClick.bind(this),this._buttonNode),this.on("keydown",this._onKey.bind(this),this.focusNode||this),this.on("keyup",this._onKeyUp.bind(this),this.focusNode||this)},destroy:function(){this.opened&&this.closeDropDown(!0),this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroy(),delete this.dropDown)},_onKey:function(a){if(!this.disabled&&!this.readOnly){var b=this.dropDown,c=a.target;return b&&this.opened&&b.handleKey&&b.handleKey(a)===!1?(a.stopPropagation(),void a.preventDefault()):void(b&&this.opened&&a.keyCode===e.ESCAPE?(this.closeDropDown(),a.stopPropagation(),a.preventDefault()):!this.opened&&(a.keyCode===e.DOWN_ARROW||(a.keyCode===e.ENTER||a.keyCode===e.SPACE&&(!this._searchTimer||a.ctrlKey||a.altKey||a.metaKey))&&("input"!==(c.tagName||"").toLowerCase()||c.type&&"text"!==c.type.toLowerCase()))&&(this._toggleOnKeyUp=!0,a.stopPropagation(),a.preventDefault()))}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp,this.toggleDropDown();var a=this.dropDown;a&&a.focus&&this.defer(a.focus.bind(a),1)}},_onBlur:a.before(function(){this.closeDropDown(!1)}),isLoaded:function(){return!0},loadDropDown:function(a){a()},loadAndOpenDropDown:function(){function a(){this.openDropDown(),c.resolve(this.dropDown)}var c=new b;return this.isLoaded()?a.call(this):this.loadDropDown(a.bind(this)),c},toggleDropDown:function(){this.disabled||this.readOnly||(this.opened?this.closeDropDown(!0):this.loadAndOpenDropDown())},openDropDown:function(){var a=this.dropDown,b=this._aroundNode||this,d=this,e=h.open({parent:this,popup:a,around:b,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){d.closeDropDown(!0)},onCancel:function(){d.closeDropDown(!0)},onClose:function(){c.remove(d._popupStateNode,"d-drop-down-open"),d._set("opened",!1)}});if(this.forceWidth||this.autoWidth&&b.offsetWidth>a._popupWrapper.offsetWidth){var f=b.offsetWidth-a._popupWrapper.offsetWidth;a._popupWrapper.style.width=b.offsetWidth+"px","R"===e.corner[1]&&(a._popupWrapper.style.left=a._popupWrapper.style.left.replace("px","")-f+"px")}return c.add(this._popupStateNode,"d-drop-down-open"),this._set("opened",!0),this._popupStateNode.setAttribute("aria-expanded","true"),this._popupStateNode.setAttribute("aria-owns",a.id),"presentation"===a.getAttribute("role")||a.getAttribute("aria-labelledby")||a.setAttribute("aria-labelledby",this.id),e},closeDropDown:function(a){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer),this.opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),a&&this.focus&&this.focus(),h.close(this.dropDown),this.opened=!1)}})}),define("delite/FormWidget",["dcl/dcl","./Widget"],function(a,b){return a(b,{name:"",alt:"",value:"",tabIndex:0,tabStops:"focusNode",disabled:!1,refreshRendering:function(a){var b=this,c=this.tabStops.split(/[ ,]/);if("tabStops"in a||"disabled"in a){var d=this.disabled;this.valueNode&&this.valueNode!==this&&(this.valueNode.disabled=d),c.forEach(function(a){var c=b[a];c!==b&&(c.disabled=d),c.setAttribute("aria-disabled",""+d)},this),d||this.removeAttribute("disabled")}return("tabStops"in a||"tabIndex"in a||"disabled"in a)&&c.forEach(function(a){var c=b[a];c!==b&&(b.disabled?c.removeAttribute("tabindex"):c.tabIndex=b._get("tabIndex"))},this),a},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}}})}),define("delite/FormValueWidget",["dcl/dcl","./FormWidget"],function(a,b){function c(a,b,c){return function(d){(typeof d!=typeof this[b]||0!==this.compare(d,this[b]))&&(this[b]=this.value=d,this[c]&&this[c].remove(),this[c]=this.defer(function(){this[c]=null,this.deliver(),this.emit(a)}))}}return a(b,{readOnly:!1,refreshRendering:function(a){if("readOnly"in a){var b=this.readOnly;this.valueNode&&this.valueNode!==this&&(this.valueNode.readOnly=b),b||this.removeAttribute("readonly")}},compare:function(a,b){return"number"==typeof a&&"number"==typeof b?isNaN(a)&&isNaN(b)?0:a-b:a>b?1:b>a?-1:0},handleOnChange:c("change","_previousOnChangeValue","_onChangeHandle"),handleOnInput:c("input","_previousOnInputValue","_onInputHandle"),startup:a.after(function(){this._previousOnChangeValue=this.value,this._previousOnInputValue=this.value})})}),define("delite/DisplayContainer",["dcl/dcl","dojo/Deferred","dojo/when","delite/Container"],function(a,b,c,d){return a(d,{show:function(d,e){var f={dest:d,loadDeferred:new b},g=this,h=new b;a.mix(f,e);var i=this.emit("delite-display-load",f)?this.load(d):f.loadDeferred;return c(i,function(b){-1===g.getIndexOfChild(b.child)&&g.addChild(b.child,b.index),f={dest:d,cancelable:!1},a.mix(f,e),a.mix(f,b),g.emit("delite-before-show",f),c(g.changeDisplay(b.child,f),function(){g.emit("delite-after-show",f),h.resolve(b)})}),h.promise},hide:function(d,e){var f={dest:d,loadDeferred:new b,bubbles:!0,cancelable:!0,hide:!0},g=this,h=new b;a.mix(f,e);var i=this.emit("delite-display-load",f)?this.load(d):f.loadDeferred;return c(i,function(b){f={dest:d,bubbles:!0,cancelable:!1,hide:!0},a.mix(f,e),a.mix(f,b),g.emit("delite-before-hide",f),c(g.changeDisplay(b.child,f),function(){-1!==g.getIndexOfChild(b.child)&&g.removeChild(b.child),g.emit("delite-after-hide",f),h.resolve(b)})}),h.promise},changeDisplay:function(a,b){b.hide===!0?(a.style.visibility="hidden",a.style.display="none"):(a.style.visibility="visible",a.style.display="")},load:function(a){return{child:"string"==typeof a?this.ownerDocument.getElementById(a):a}}})}),define("delite/DialogUnderlay",["./register","./Widget","./BackgroundIframe","./Viewport","./theme!./DialogUnderlay/themes/{{theme}}/DialogUnderlay.css"],function(a,b,c,d){var e=a("d-dialog-underlay",[HTMLElement,b],{_modalConnects:[],buildRendering:function(){this.className="d-dialog-underlay"},postCreate:function(){this.ownerDocument.body.appendChild(this),this.on("keydown",this._onKeyDown.bind(this))},layout:function(){var a=this.style;a.display="none";var b=this.ownerDocument.documentElement;a.width=b.clientWidth+"px",a.height=b.clientHeight+"px",a.display=""},show:function(){this._open||(this.style.display="block",this._open=!0,this.layout(),this.bgIframe=new c(this),this._modalConnects=[d.on("resize",function(){this.layout()}.bind(this))])},hide:function(){if(this._open){for(this.bgIframe.destroy(),delete this.bgIframe,this.style.display="none";this._modalConnects.length;)this._modalConnects.pop().remove();this._open=!1}},destroy:a.before(function(){for(;this._modalConnects.length;)this._modalConnects.pop().remove()}),_onKeyDown:function(){}});return e.show=function(a,b){var c=e._singleton;!c||c._destroyed?c=e._singleton=new e(a):a&&c.mix(a),c.style.zIndex=b,c.show()},e.hide=function(){var a=e._singleton;a&&!a._destroyed&&a.hide()},e}),define("delite/CustomElement",["dcl/dcl","decor/Observable","decor/Destroyable","decor/Stateful"],function(dcl,Observable,Destroyable,Stateful){function getObject(a){try{return a.split(".").reduce(function(a,b){return a[b]},this)}catch(b){}}return dcl([Stateful,Destroyable],{_getProps:function(){var a,b=[],c=this,d=this._propCaseMap={};do Object.keys(c).forEach(function(a){/^_/.test(a)||("function"!=typeof c[a]&&b.push(a),d[a.toLowerCase()]=a)}),c=Object.getPrototypeOf(c),a=c&&c.constructor;while(c&&a!==this._baseElement);return b},createdCallback:dcl.advise({before:function(){this._observable||Observable.call(this),this._parsedAttributes=this._mapAttributes()},after:function(){this._created=!0,this._parsedAttributes.forEach(function(a){a.event?this.on(a.event,a.callback):this[a.prop]=a.value -},this)}}),_parsePrototypeAttr:function(name,value){function stringToObject(value){var obj;try{obj=eval("("+("{"===value[0]?"":"{")+value+("{"===value[0]?"":"}")+")")}catch(e){throw new SyntaxError("Error in attribute conversion to object: "+e.message+"\nAttribute Value: '"+value+"'")}return obj}switch(typeof this[name]){case"string":return value;case"number":return value-0;case"boolean":return"false"!==value;case"object":return getObject(value)||(this[name]instanceof Array?value?value.split(/\s+/):[]:stringToObject(value));case"function":return this._parseFunctionAttr(value,[])}},_parseFunctionAttr:function(a,b){return getObject(a)||new(Function.bind.apply(Function,[void 0].concat(b).concat([a])))},_parseAttr:function(a,b){var c=this._propCaseMap;return a in c?(a=c[a],{prop:a,value:this._parsePrototypeAttr(a,b)}):/^on-/.test(a)?{event:a.substring(3),callback:this._parseFunctionAttr(b,["event"])}:void 0},_mapAttributes:function(){for(var a,b=0,c=[],d=[];a=this.attributes[b++];){var e=a.name.toLowerCase(),f=this._parseAttr(e,a.value);f&&(c.push(f),d.push(a))}return d.forEach(this.removeAttribute,this),c},destroy:function(){this.findCustomElements().forEach(function(a){a.destroy&&a.destroy()}),this.parentNode&&this.parentNode.removeChild(this)},emit:function(a,b){if(this._started!==!1&&!this._beingDestroyed){b=b||{};var c="bubbles"in b?b.bubbles:!0,d="cancelable"in b?b.cancelable:!0,e=this.ownerDocument.createEvent("HTMLEvents");e.initEvent(a,c,d);for(var f in b)f in e||(e[f]=b[f]);return this.dispatchEvent(e)}},on:function(a,b,c){var d={focusin:"focus",focus:"focus",focusout:"blur",blur:"blur"},e=a in d,f=e?d[a]:a;return c=c||this,c.addEventListener(f,b,e),this.own({remove:function(){c.removeEventListener(f,b,e)}})[0]},findCustomElements:function(a){function b(a){for(var d=a.firstChild;d;d=d.nextSibling)1===d.nodeType&&d.createdCallback?c.push(d):b(d)}var c=[];return b(a||this),c}})}),define("delite/CssState",["dcl/dcl","dojo/dom-class","./Widget"],function(a,b,c){return a(c,{booleanCssProps:["disabled","readOnly","selected","focused","opened"],postCreate:function(){["checked","state"].concat(this.booleanCssProps).forEach(function(a){this[a]&&this.notifyCurrentValue(a)})},refreshRendering:function(a){this.booleanCssProps.forEach(function(c){c in a&&b.toggle(this,"d-"+c.toLowerCase(),this[c])},this),"checked"in a&&(b.remove(this,"mixed"===a.checked?"d-mixed":"d-checked"),this.checked&&b.add(this,"mixed"===this.checked?"d-mixed":"d-checked")),"state"in a&&(b.remove(this,"d-"+a.state.toLowerCase()),b.add(this,"d-"+this.state.toLowerCase()))}})}),define("delite/Container",["dcl/dcl","./Widget"],function(a,b){return a(b,{buildRendering:a.after(function(){this.containerNode||(this.containerNode=this)}),addChild:function(c,d){var e=this.containerNode,f=e.children[d];e.insertBefore(c,f||null),this._started&&!c._started&&a.isInstanceOf(c,b)&&c.startup()},removeChild:function(a){"number"==typeof a&&(a=this.getChildren()[a]),a&&a.parentNode&&HTMLElement.prototype.removeChild.call(a.parentNode,a)},hasChildren:function(){return this.getChildren().length>0},getIndexOfChild:function(a){return this.getChildren().indexOf(a)}})}),define("delite/Bidi",[],function(){var a="‪",b="‫",c="‬";return{textDir:"",getTextDir:function(a){return"auto"===this.textDir?this._checkContextual(a):this.textDir},_checkContextual:function(a){var b=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(a);return b?b[0]<="z"?"ltr":"rtl":this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(a){if(this.textDir){var b=this.textDir;if("auto"===b){var c=a.tagName.toLowerCase(),d="input"===c||"textarea"===c?a.value:a.textContent;b=this._checkContextual(d)}a.dir=b}},wrapWithUcc:function(d){var e="auto"===this.textDir?this._checkContextual(d):this.textDir;return("ltr"===e?a:b)+d+c},enforceTextDirWithUcc:function(a){a.originalText=a.text,a.innerHTML=this.wrapWithUcc(a.innerHTML)},restoreOriginalText:function(a){a.originalText&&(a.text=a.originalText,delete a.originalText)}}}),define("delite/BackgroundIframe",["dcl/dcl","./features"],function(a,b){var c=function(){var a=[];this.pop=function(){var b;return a.length?(b=a.pop(),b.style.display=""):(b=document.createElement("iframe"),b.src="javascript:''",b.className="d-background-iframe",b.setAttribute("role","presentation"),b.tabIndex=-1),b},this.push=function(b){b.style.display="none",a.push(b)}},d=new c;return a(null,{constructor:function(a){if(b("config-bgIframe")){var c=this.iframe=d.pop();a.appendChild(c),c.style.width="100%",c.style.height="100%"}},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),d.push(this.iframe),delete this.iframe)}})}); +define("requirejs-text/text",["module"],function(a){"use strict";var b,c,d,e,f,g=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],h=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,i=/]*>\s*([\s\S]+)\s*<\/body>/im,j="undefined"!=typeof location&&location.href,k=j&&location.protocol&&location.protocol.replace(/\:/,""),l=j&&location.hostname,m=j&&(location.port||void 0),n={},o=a.config&&a.config()||{};return b={version:"2.0.12",strip:function(a){if(a){a=a.replace(h,"");var b=a.match(i);b&&(a=b[1])}else a="";return a},jsEscape:function(a){return a.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:o.createXhr||function(){var a,b,c;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(b=0;3>b;b+=1){c=g[b];try{a=new ActiveXObject(c)}catch(d){}if(a){g=[c];break}}return a},parseName:function(a){var b,c,d,e=!1,f=a.indexOf("."),g=0===a.indexOf("./")||0===a.indexOf("../");return-1!==f&&(!g||f>1)?(b=a.substring(0,f),c=a.substring(f+1,a.length)):b=a,d=c||b,f=d.indexOf("!"),-1!==f&&(e="strip"===d.substring(f+1),d=d.substring(0,f),c?c=d:b=d),{moduleName:b,ext:c,strip:e}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(a,c,d,e){var f,g,h,i=b.xdRegExp.exec(a);return i?(f=i[2],g=i[3],g=g.split(":"),h=g[1],g=g[0],!(f&&f!==c||g&&g.toLowerCase()!==d.toLowerCase()||(h||g)&&h!==e)):!0},finishLoad:function(a,c,d,e){d=c?b.strip(d):d,o.isBuild&&(n[a]=d),e(d)},load:function(a,c,d,e){if(e&&e.isBuild&&!e.inlineText)return void d();o.isBuild=e&&e.isBuild;var f=b.parseName(a),g=f.moduleName+(f.ext?"."+f.ext:""),h=c.toUrl(g),i=o.useXhr||b.useXhr;return 0===h.indexOf("empty:")?void d():void(!j||i(h,k,l,m)?b.get(h,function(c){b.finishLoad(a,f.strip,c,d)},function(a){d.error&&d.error(a)}):c([g],function(a){b.finishLoad(f.moduleName+"."+f.ext,f.strip,a,d)}))},write:function(a,c,d){if(n.hasOwnProperty(c)){var e=b.jsEscape(n[c]);d.asModule(a+"!"+c,"define(function () { return '"+e+"';});\n")}},writeFile:function(a,c,d,e,f){var g=b.parseName(c),h=g.ext?"."+g.ext:"",i=g.moduleName+h,j=d.toUrl(g.moduleName+h)+".js";b.load(i,d,function(){var c=function(a){return e(j,a)};c.asModule=function(a,b){return e.asModule(a,j,b)},b.write(a,i,c,f)},f)}},"node"===o.env||!o.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]?(c=require.nodeRequire("fs"),b.get=function(a,b,d){try{var e=c.readFileSync(a,"utf8");0===e.indexOf("")&&(e=e.substring(1)),b(e)}catch(f){d&&d(f)}}):"xhr"===o.env||!o.env&&b.createXhr()?b.get=function(a,c,d,e){var f,g=b.createXhr();if(g.open("GET",a,!0),e)for(f in e)e.hasOwnProperty(f)&&g.setRequestHeader(f.toLowerCase(),e[f]);o.onXhr&&o.onXhr(g,a),g.onreadystatechange=function(){var b,e;4===g.readyState&&(b=g.status||0,b>399&&600>b?(e=new Error(a+" HTTP status: "+b),e.xhr=g,d&&d(e)):c(g.responseText),o.onXhrComplete&&o.onXhrComplete(g,a))},g.send(null)}:"rhino"===o.env||!o.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?b.get=function(a,b){var c,d,e="utf-8",f=new java.io.File(a),g=java.lang.System.getProperty("line.separator"),h=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(f),e)),i="";try{for(c=new java.lang.StringBuffer,d=h.readLine(),d&&d.length()&&65279===d.charAt(0)&&(d=d.substring(1)),null!==d&&c.append(d);null!==(d=h.readLine());)c.append(g),c.append(d);i=String(c.toString())}finally{h.close()}b(i)}:("xpconnect"===o.env||!o.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(d=Components.classes,e=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),f="@mozilla.org/windows-registry-key;1"in d,b.get=function(a,b){var c,g,h,i={};f&&(a=a.replace(/\//g,"\\")),h=new FileUtils.File(a);try{c=d["@mozilla.org/network/file-input-stream;1"].createInstance(e.nsIFileInputStream),c.init(h,1,0,!1),g=d["@mozilla.org/intl/converter-input-stream;1"].createInstance(e.nsIConverterInputStream),g.init(c,"utf-8",c.available(),e.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),g.readString(c.available(),i),g.close(),c.close(),b(i.value)}catch(j){throw new Error((h&&h.path||"")+": "+j)}}),b}),define("dojo/dom-geometry",["./sniff","./_base/window","./dom","./dom-style"],function(a,b,c,d){function e(a,b,c,d,e,f){f=f||"px";var g=a.style;isNaN(b)||(g.left=b+f),isNaN(c)||(g.top=c+f),d>=0&&(g.width=d+f),e>=0&&(g.height=e+f)}function f(a){return"button"==a.tagName.toLowerCase()||"input"==a.tagName.toLowerCase()&&"button"==(a.getAttribute("type")||"").toLowerCase()}function g(a){return"border-box"==h.boxModel||"table"==a.tagName.toLowerCase()||f(a)}var h={};h.boxModel="content-box",a("ie")&&(h.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),h.getPadExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=d.toPixelValue,g=f(a,e.paddingLeft),h=f(a,e.paddingTop),i=f(a,e.paddingRight),j=f(a,e.paddingBottom);return{l:g,t:h,r:i,b:j,w:g+i,h:h+j}};var i="none";h.getBorderExtents=function(a,b){a=c.byId(a);var e=d.toPixelValue,f=b||d.getComputedStyle(a),g=f.borderLeftStyle!=i?e(a,f.borderLeftWidth):0,h=f.borderTopStyle!=i?e(a,f.borderTopWidth):0,j=f.borderRightStyle!=i?e(a,f.borderRightWidth):0,k=f.borderBottomStyle!=i?e(a,f.borderBottomWidth):0;return{l:g,t:h,r:j,b:k,w:g+j,h:h+k}},h.getPadBorderExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=h.getPadExtents(a,e),g=h.getBorderExtents(a,e);return{l:f.l+g.l,t:f.t+g.t,r:f.r+g.r,b:f.b+g.b,w:f.w+g.w,h:f.h+g.h}},h.getMarginExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=d.toPixelValue,g=f(a,e.marginLeft),h=f(a,e.marginTop),i=f(a,e.marginRight),j=f(a,e.marginBottom);return{l:g,t:h,r:i,b:j,w:g+i,h:h+j}},h.getMarginBox=function(b,e){b=c.byId(b);var f,g=e||d.getComputedStyle(b),j=h.getMarginExtents(b,g),k=b.offsetLeft-j.l,l=b.offsetTop-j.t,m=b.parentNode,n=d.toPixelValue;if(a("mozilla")){var o=parseFloat(g.left),p=parseFloat(g.top);isNaN(o)||isNaN(p)?m&&m.style&&(f=d.getComputedStyle(m),"visible"!=f.overflow&&(k+=f.borderLeftStyle!=i?n(b,f.borderLeftWidth):0,l+=f.borderTopStyle!=i?n(b,f.borderTopWidth):0)):(k=o,l=p)}else(a("opera")||8==a("ie")&&!a("quirks"))&&m&&(f=d.getComputedStyle(m),k-=f.borderLeftStyle!=i?n(b,f.borderLeftWidth):0,l-=f.borderTopStyle!=i?n(b,f.borderTopWidth):0);return{l:k,t:l,w:b.offsetWidth+j.w,h:b.offsetHeight+j.h}},h.getContentBox=function(b,e){b=c.byId(b);var f,g=e||d.getComputedStyle(b),i=b.clientWidth,j=h.getPadExtents(b,g),k=h.getBorderExtents(b,g);return i?(f=b.clientHeight,k.w=k.h=0):(i=b.offsetWidth,f=b.offsetHeight),a("opera")&&(j.l+=k.l,j.t+=k.t),{l:j.l,t:j.t,w:i-j.w-k.w,h:f-j.h-k.h}},h.setContentSize=function(a,b,d){a=c.byId(a);var f=b.w,i=b.h;if(g(a)){var j=h.getPadBorderExtents(a,d);f>=0&&(f+=j.w),i>=0&&(i+=j.h)}e(a,0/0,0/0,f,i)};var j={l:0,t:0,w:0,h:0};return h.setMarginBox=function(b,i,k){b=c.byId(b);var l=k||d.getComputedStyle(b),m=i.w,n=i.h,o=g(b)?j:h.getPadBorderExtents(b,l),p=h.getMarginExtents(b,l);if(a("webkit")&&f(b)){var q=b.style;m>=0&&!q.width&&(q.width="4px"),n>=0&&!q.height&&(q.height="4px")}m>=0&&(m=Math.max(m-o.w-p.w,0)),n>=0&&(n=Math.max(n-o.h-p.h,0)),e(b,i.l,i.t,m,n)},h.isBodyLtr=function(a){return a=a||b.doc,"ltr"==(b.body(a).dir||a.documentElement.dir||"ltr").toLowerCase()},h.docScroll=function(c){c=c||b.doc;var d=b.doc.parentWindow||b.doc.defaultView;return"pageXOffset"in d?{x:d.pageXOffset,y:d.pageYOffset}:(d=a("quirks")?b.body(c):c.documentElement)&&{x:h.fixIeBiDiScrollLeft(d.scrollLeft||0,c),y:d.scrollTop||0}},a("ie")&&(h.getIeDocumentElementOffset=function(c){c=c||b.doc;var d=c.documentElement;if(a("ie")<8){var e=d.getBoundingClientRect(),f=e.left,g=e.top;return a("ie")<7&&(f+=d.clientLeft,g+=d.clientTop),{x:0>f?0:f,y:0>g?0:g}}return{x:0,y:0}}),h.fixIeBiDiScrollLeft=function(c,d){d=d||b.doc;var e=a("ie");if(e&&!h.isBodyLtr(d)){var f=a("quirks"),g=f?b.body(d):d.documentElement,i=b.global;return 6==e&&!f&&i.frameElement&&g.scrollHeight>g.clientHeight&&(c+=g.clientLeft),8>e||f?c+g.clientWidth-g.scrollWidth:-c}return c},h.position=function(d,e){d=c.byId(d);var f=b.body(d.ownerDocument),g=d.getBoundingClientRect();if(g={x:g.left,y:g.top,w:g.right-g.left,h:g.bottom-g.top},a("ie")<9){var i=h.getIeDocumentElementOffset(d.ownerDocument);g.x-=i.x+(a("quirks")?f.clientLeft+f.offsetLeft:0),g.y-=i.y+(a("quirks")?f.clientTop+f.offsetTop:0)}if(e){var j=h.docScroll(d.ownerDocument);g.x+=j.x,g.y+=j.y}return g},h.getMarginSize=function(a,b){a=c.byId(a);var e=h.getMarginExtents(a,b||d.getComputedStyle(a)),f=a.getBoundingClientRect();return{w:f.right-f.left+e.w,h:f.bottom-f.top+e.h}},h.normalizeEvent=function(b){if("layerX"in b||(b.layerX=b.offsetX,b.layerY=b.offsetY),!a("dom-addeventlistener")){var c=b.target,d=c&&c.ownerDocument||document,e=a("quirks")?d.body:d.documentElement,f=h.getIeDocumentElementOffset(d);b.pageX=b.clientX+h.fixIeBiDiScrollLeft(e.scrollLeft||0,d)-f.x,b.pageY=b.clientY+(e.scrollTop||0)-f.y}},h}),define("dojo/dom-style",["./sniff","./dom"],function(a,b){function c(b,c,d){if(c=c.toLowerCase(),a("ie")||a("trident")){if("auto"==d){if("height"==c)return b.offsetHeight;if("width"==c)return b.offsetWidth}if("fontweight"==c)switch(d){case 700:return"bold";case 400:default:return"normal"}}return c in k||(k[c]=l.test(c)),k[c]?f(b,d):d}var d,e={};d=a("webkit")?function(a){var b;if(1==a.nodeType){var c=a.ownerDocument.defaultView;b=c.getComputedStyle(a,null),!b&&a.style&&(a.style.display="",b=c.getComputedStyle(a,null))}return b||{}}:a("ie")&&(a("ie")<9||a("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}},e.getComputedStyle=d;var f;f=a("ie")?function(a,b){if(!b)return 0;if("medium"==b)return 4;if(b.slice&&"px"==b.slice(-2))return parseFloat(b);var c=a.style,d=a.runtimeStyle,e=a.currentStyle,f=c.left,g=d.left;d.left=e.left;try{c.left=b,b=c.pixelLeft}catch(h){b=0}return c.left=f,d.left=g,b}:function(a,b){return parseFloat(b)||0},e.toPixelValue=f;var g="DXImageTransform.Microsoft.Alpha",h=function(a,b){try{return a.filters.item(g)}catch(c){return b?{}:null}},i=a("ie")<9||a("ie")<10&&a("quirks")?function(a){try{return h(a).Opacity/100}catch(b){return 1}}:function(a){return d(a).opacity},j=a("ie")<9||a("ie")<10&&a("quirks")?function(a,b){""===b&&(b=1);var c=100*b,d=1===b;if(d?(a.style.zoom="",h(a)&&(a.style.filter=a.style.filter.replace(new RegExp("\\s*progid:"+g+"\\([^\\)]+?\\)","i"),""))):(a.style.zoom=1,h(a)?h(a,1).Opacity=c:a.style.filter+=" progid:"+g+"(Opacity="+c+")",h(a,1).Enabled=!0),"tr"==a.tagName.toLowerCase())for(var e=a.firstChild;e;e=e.nextSibling)"td"==e.tagName.toLowerCase()&&j(e,b);return b}:function(a,b){return a.style.opacity=b},k={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,m={cssFloat:1,styleFloat:1,"float":1};return e.get=function(a,d){var f=b.byId(a),g=arguments.length,h="opacity"==d;if(2==g&&h)return i(f);d=m[d]?"cssFloat"in f.style?"cssFloat":"styleFloat":d;var j=e.getComputedStyle(f);return 1==g?j:c(f,d,j[d]||f.style[d])},e.set=function(a,c,d){var f=b.byId(a),g=arguments.length,h="opacity"==c;if(c=m[c]?"cssFloat"in f.style?"cssFloat":"styleFloat":c,3==g)return h?j(f,d):f.style[c]=d;for(var i in c)e.set(a,i,c[i]);return e.getComputedStyle(f)},e}),define("dojo/dom",["./sniff","./_base/window"],function(a,b){if(a("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(c){}var d={};d.byId=a("ie")?function(a,c){if("string"!=typeof a)return a;var d=c||b.doc,e=a&&d.getElementById(a);if(e&&(e.attributes.id.value==a||e.id==a))return e;var f=d.all[a];(!f||f.nodeName)&&(f=[f]);for(var g=0;e=f[g++];)if(e.attributes&&e.attributes.id&&e.attributes.id.value==a||e.id==a)return e}:function(a,c){return("string"==typeof a?(c||b.doc).getElementById(a):a)||null},d.isDescendant=function(a,b){try{for(a=d.byId(a),b=d.byId(b);a;){if(a==b)return!0;a=a.parentNode}}catch(c){}return!1},a.add("css-user-select",function(a,b,c){if(!c)return!1;var d=c.style,e=["Khtml","O","Moz","Webkit"],f=e.length,g="userSelect";do if("undefined"!=typeof d[g])return g;while(f--&&(g=e[f]+"UserSelect"));return!1});var e=a("css-user-select");return d.setSelectable=e?function(a,b){d.byId(a).style[e]=b?"":"none"}:function(a,b){a=d.byId(a);var c=a.getElementsByTagName("*"),e=c.length;if(b)for(a.removeAttribute("unselectable");e--;)c[e].removeAttribute("unselectable");else for(a.setAttribute("unselectable","on");e--;)c[e].setAttribute("unselectable","on")},d}),define("dojo/_base/window",["./kernel","./lang","../sniff"],function(a,b,c){var d={global:a.global,doc:this.document||null,body:function(b){return b=b||a.doc,b.body||b.getElementsByTagName("body")[0]},setContext:function(b,c){a.global=d.global=b,a.doc=d.doc=c},withGlobal:function(b,c,e,f){var g=a.global;try{return a.global=d.global=b,d.withDoc.call(null,b.document,c,e,f)}finally{a.global=d.global=g}},withDoc:function(b,e,f,g){var h,i,j,k=d.doc,l=c("quirks"),m=c("ie");try{return a.doc=d.doc=b,a.isQuirks=c.add("quirks","BackCompat"==a.doc.compatMode,!0,!0),c("ie")&&(j=b.parentWindow)&&j.navigator&&(h=parseFloat(j.navigator.appVersion.split("MSIE ")[1])||void 0,i=b.documentMode,i&&5!=i&&Math.floor(h)!=i&&(h=i),a.isIE=c.add("ie",h,!0,!0)),f&&"string"==typeof e&&(e=f[e]),e.apply(f,g||[])}finally{a.doc=d.doc=k,a.isQuirks=c.add("quirks",l,!0,!0),a.isIE=c.add("ie",m,!0,!0)}}};return c("extend-dojo")&&b.mixin(a,d),d}),define("dojo/_base/lang",["./kernel","../has","../sniff"],function(a,b){b.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var c=b("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],d=c.length,e=function(b,c,d){d||(d=b[0]&&a.scopeMap[b[0]]?a.scopeMap[b.shift()][1]:a.global);try{for(var e=0;ei;++i)g=c[i],h=e[g],g in a&&(a[g]===h||g in j&&j[g]===h)||(a[g]=f?f(h):h);return a},mixin:function(a){a||(a={});for(var b=1,c=arguments.length;c>b;b++)i._mixin(a,arguments[b]);return a},setObject:function(a,b,c){var d=a.split("."),f=d.pop(),g=e(d,!0,c);return g&&f?g[f]=b:void 0},getObject:function(a,b,c){return e(a?a.split("."):[],b,c)},exists:function(a,b){return void 0!==i.getObject(a,!1,b)},isString:function(a){return"string"==typeof a||a instanceof String},isArray:function(a){return a&&(a instanceof Array||"array"==typeof a)},isFunction:function(a){return"[object Function]"===f.call(a)},isObject:function(a){return void 0!==a&&(null===a||"object"==typeof a||i.isArray(a)||i.isFunction(a))},isArrayLike:function(a){return!(!a||void 0===a||i.isString(a)||i.isFunction(a)||a.tagName&&"form"==a.tagName.toLowerCase()||!i.isArray(a)&&!isFinite(a.length))},isAlien:function(a){return a&&!i.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(String(a))},extend:function(a){for(var b=1,c=arguments.length;c>b;b++)i._mixin(a.prototype,arguments[b]);return a},_hitchArgs:function(b,c){var d=i._toArray(arguments,2),e=i.isString(c);return function(){var f=i._toArray(arguments),g=e?(b||a.global)[c]:c;return g&&g.apply(b||this,d.concat(f))}},hitch:function(b,c){if(arguments.length>2)return i._hitchArgs.apply(a,arguments);if(c||(c=b,b=null),i.isString(c)){if(b=b||a.global,!b[c])throw['lang.hitch: scope["',c,'"] is null (scope="',b,'")'].join("");return function(){return b[c].apply(b,arguments||[])}}return b?function(){return c.apply(b,arguments||[])}:c},delegate:function(){function a(){}return function(b,c){a.prototype=b;var d=new a;return a.prototype=null,c&&i._mixin(d,c),d}}(),_toArray:b("ie")?function(){function a(a,b,c){for(var d=c||[],e=b||0;ec;++c)c in a&&b.push(i.clone(a[c]));else b=a.constructor?new a.constructor:{};return i._mixin(b,a,i.clone)},trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,b,c){return a.replace(c||h,i.isFunction(b)?b:function(a,c){return i.getObject(c,!1,b)})}};return b("extend-dojo")&&i.mixin(a,i),i}),define("dojo/has",["require","module"],function(a,b){var c=a.has||function(){};if(!c("dojo-has-api")){var d="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location==location&&window.document==document,e=this,f=d&&document,g=f&&f.createElement("DiV"),h=b.config&&b.config()||{};c=function(a){return"function"==typeof h[a]?h[a]=h[a](e,f,g):h[a]},c.cache=h,c.add=function(a,b,d,e){return("undefined"==typeof h[a]||e)&&(h[a]=b),d&&c(a)},c.add("host-browser",d),c.add("host-node","object"==typeof process&&process.versions&&process.versions.node&&process.versions.v8),c.add("host-rhino","function"==typeof load&&("function"==typeof Packages||"object"==typeof Packages)),c.add("dom",d),c.add("dojo-dom-ready-api",1),c.add("dojo-sniff",1)}if(c("host-browser")){c.add("dom-addeventlistener",!!document.addEventListener),c.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),c.add("touch-events","ontouchstart"in document),c.add("pointer-events","onpointerdown"in document),c.add("MSPointer","msMaxTouchPoints"in navigator),c.add("device-width",screen.availWidth||innerWidth);var i=document.createElement("form");c.add("dom-attributes-explicit",0==i.attributes.length),c.add("dom-attributes-specified-flag",i.attributes.length>0&&i.attributes.length<40)}return c.clearElement=function(a){return a.innerHTML="",a},c.normalize=function(a,b){var d=a.match(/[\?:]|[^:\?]*/g),e=0,f=function(a){var b=d[e++];return":"==b?0:"?"==d[e++]?!a&&c(b)?f():(f(!0),f(a)):b||0};return a=f(),a&&b(a)},c.load=function(a,b,c){a?b([a],c):c()},c}),define("dojo/_base/kernel",["../has","./config","require","module"],function(a,b,c,d){var e,f,g,h={},i={},j={config:b,global:this,dijit:h,dojox:i},k={dojo:["dojo",j],dijit:["dijit",h],dojox:["dojox",i]},l=c.map&&c.map[d.id.match(/[^\/]+/)[0]];for(f in l)k[f]?k[f][0]=l[f]:k[f]=[l[f],{}];for(f in k)g=k[f],g[1]._scopeName=g[0],b.noGlobals||(this[g[0]]=g[1]);j.scopeMap=k,j.baseUrl=j.config.baseUrl=c.baseUrl,j.isAsync=!a("dojo-loader")||c.async,j.locale=b.locale;var m="$Rev: e124479 $".match(/[0-9a-f]{7,}/);if(j.version={major:1,minor:10,patch:0,flag:"",revision:m?m[0]:0/0,toString:function(){var a=j.version;return a.major+"."+a.minor+"."+a.patch+a.flag+" ("+a.revision+")"}},a.add("extend-dojo",1),Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(j),j.exit=a("host-rhino")?function(a){quit(a)}:function(){},a.add("dojo-guarantee-console",1),a("dojo-guarantee-console")){"undefined"!=typeof console||(console={});var n,o=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(e=0;n=o[e++];)console[n]||!function(){var a=n+"";console[a]="log"in console?function(){var b=Array.prototype.slice.call(arguments);b.unshift(a+":"),console.log(b.join(" "))}:function(){},console[a]._fake=!0}()}if(a.add("dojo-debug-messages",!!b.isDebug),j.deprecated=j.experimental=function(){},a("dojo-debug-messages")&&(j.deprecated=function(a,b,c){var d="DEPRECATED: "+a;b&&(d+=" "+b),c&&(d+=" -- will be removed in version: "+c),console.warn(d)},j.experimental=function(a,b){var c="EXPERIMENTAL: "+a+" -- APIs subject to change without notice.";b&&(c+=" "+b),console.warn(c)}),a.add("dojo-modulePaths",1),a("dojo-modulePaths")&&b.modulePaths){j.deprecated("dojo.modulePaths","use paths configuration");var p={};for(f in b.modulePaths)p[f.replace(/\./g,"/")]=b.modulePaths[f];c({paths:p})}return a.add("dojo-moduleUrl",1),a("dojo-moduleUrl")&&(j.moduleUrl=function(a,b){j.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var d=null;return a&&(d=c.toUrl(a.replace(/\./g,"/")+(b?"/"+b:"")+"/*.*").replace(/\/\*\.\*/,"")+(b?"":"/")),d}),j._hasResource={},j}),define("dojo/_base/config",["../has","require"],function(a,b){var c={};if(a("dojo-config-api")){var d,e=b.rawConfig;for(d in e)c[d]=e[d]}else{var f=function(b,c,e){for(d in b)"has"!=d&&a.add(c+d,b[d],0,e)};c=a("dojo-loader")?b.rawConfig:this.dojoConfig||this.djConfig||{},f(c,"config",1),f(c.has,"",1)}if(!c.locale&&"undefined"!=typeof navigator){var g=navigator.language||navigator.userLanguage;g&&(c.locale=g.toLowerCase())}return c}),define("dojo/sniff",["./has"],function(a){if(a("host-browser")){var b=navigator,c=b.userAgent,d=b.appVersion,e=parseFloat(d);if(a.add("air",c.indexOf("AdobeAIR")>=0),a.add("msapp",parseFloat(c.split("MSAppHost/")[1])||void 0),a.add("khtml",d.indexOf("Konqueror")>=0?e:void 0),a.add("webkit",parseFloat(c.split("WebKit/")[1])||void 0),a.add("chrome",parseFloat(c.split("Chrome/")[1])||void 0),a.add("safari",d.indexOf("Safari")>=0&&!a("chrome")?parseFloat(d.split("Version/")[1]):void 0),a.add("mac",d.indexOf("Macintosh")>=0),a.add("quirks","BackCompat"==document.compatMode),c.match(/(iPhone|iPod|iPad)/)){var f=RegExp.$1.replace(/P/,"p"),g=c.match(/OS ([\d_]+)/)?RegExp.$1:"1",h=parseFloat(g.replace(/_/,".").replace(/_/g,""));a.add(f,h),a.add("ios",h)}if(a.add("android",parseFloat(c.split("Android ")[1])||void 0),a.add("bb",(c.indexOf("BlackBerry")>=0||c.indexOf("BB10")>=0)&&parseFloat(c.split("Version/")[1])||void 0),a.add("trident",parseFloat(d.split("Trident/")[1])||void 0),a.add("svg","undefined"!=typeof SVGAngle),!a("webkit")){if(c.indexOf("Opera")>=0&&a.add("opera",e>=9.8?parseFloat(c.split("Version/")[1])||e:e),c.indexOf("Gecko")>=0&&!a("khtml")&&!a("webkit")&&!a("trident")&&a.add("mozilla",e),a("mozilla")&&a.add("ff",parseFloat(c.split("Firefox/")[1]||c.split("Minefield/")[1])||void 0),document.all&&!a("opera")){var i=parseFloat(d.split("MSIE ")[1])||void 0,j=document.documentMode;j&&5!=j&&Math.floor(i)!=j&&(i=j),a.add("ie",i)}a.add("wii","undefined"!=typeof opera&&opera.wiiremote)}}return a}),define("delite/uacss",["decor/sniff"],function(a){var b=a("ie"),c=Math.floor,d=a("ff"),e={"d-webkit":a("webkit"),"d-safari":a("safari"),"d-chrome":a("chrome"),"d-gecko":a("mozilla"),"d-ios":a("ios"),"d-android":a("android")};b&&(e["d-ie"]=!0,e["d-ie-"+c(b)]=!0),d&&(e["d-ff-"+c(d)]=!0);var f="";for(var g in e)e[g]&&(f+=g+" ");return document.body.className=(document.body.className+" "+f).trim(),a}),define("delite/typematic",[],function(){var a={_fireEventAndReload:function(){this._timer=null,this._callback(++this._count,this._node,this._evt),this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay),this._timer=setTimeout(this._fireEventAndReload.bind(this),this._currentTimeout)},trigger:function(a,b,c,d,e,f,g,h){if(e!==this._obj){this.stop(),this._initialDelay=g||500,this._subsequentDelay=f||.9,this._minDelay=h||10,this._obj=e,this._node=c,this._currentTimeout=-1,this._count=-1,this._callback=d.bind(b),this._evt={faux:!0};for(var i in a)if("layerX"!==i&&"layerY"!==i){var j=a[i];"function"!=typeof j&&"undefined"!=typeof j&&(this._evt[i]=j)}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(b,c,d,e,f,g,h){var i="keyCode"in c?"keydown":"keypress",j="keyCode"in c?"keyCode":"charCode",k=[d.on(i,function(i){i[j]!==c[j]||void 0!==c.ctrlKey&&c.ctrlKey!==i.ctrlKey||void 0!==c.altKey&&c.altKey!==i.altKey||void 0!==c.metaKey&&c.metaKey!==i.metaKey||void 0!==c.shiftKey&&c.shiftKey!==i.shiftKey?a._obj===c&&a.stop():(i.stopPropagation(),i.preventDefault(),a.trigger(i,d,b,e,c,f,g,h))},b),d.on("keyup",function(){a._obj===c&&a.stop()},b)];return{remove:function(){k.forEach(function(a){a.remove()})}}},addMouseListener:function(b,c,d,e,f,g){var h=[c.on("mousedown",function(h){h.preventDefault(),a.trigger(h,c,b,d,b,e,f,g)},b),c.on("mouseup",function(b){this._obj&&b.preventDefault(),a.stop()}.bind(this),b),c.on("mouseout",function(b){this._obj&&b.preventDefault(),a.stop()}.bind(this),b),c.on("dblclick",function(a){a.preventDefault()},b)];return{remove:function(){h.forEach(function(a){a.remove()})}}},addListener:function(a,b,c,d,e,f,g,h){var i=[this.addKeyListener(b,c,d,e,f,g,h),this.addMouseListener(a,d,e,f,g,h)];return{remove:function(){i.forEach(function(a){a.remove()})}}}};return a}),define("delite/theme",["require","requirejs-dplugins/has","module","./css"],function(a,b,c,d){"use strict";var e=c.config(),f={themeMap:e.themeMap||[[/.*/,"bootstrap"]],getTheme:function(){var a=f.theme||e.theme;if(!a){var b=location.search.match(/theme=(\w+)/);a=b&&b.length>1?b[1]:null}if(!a)for(var c=e.userAgent||(location.search.match(/ua=(\w+)/)?RegExp.$1:navigator.userAgent),d=this.themeMap,g=0;g0&&a[b].parent===a[b-1].widget;b--);return a[b]},open:function(a){function i(b){if(b.keyCode===d.ESCAPE&&a.onCancel)b.stopPropagation(),b.preventDefault(),a.onCancel();else if(b.keyCode===d.TAB){b.stopPropagation(),b.preventDefault();var c=this.getTopPopup();c&&c.onCancel&&c.onCancel()}}for(var j=this._stack,k=a.popup,l=a.orient||["below","below-alt","above","above-alt"],m=a.parent?a.parent.isLeftToRight():h(k.ownerDocument),n=a.around,o=a.around&&a.around.id?a.around.id+"_dropdown":"popup_"+this._idGen++;j.length&&(!a.parent||!a.parent.contains(j[j.length-1].widget));)this.close(j[j.length-1].widget);var p=this.moveOffScreen(k);k.startup&&!k._started&&k.startup();var q;if("maxHeight"in a&&-1!==a.maxHeight)q=a.maxHeight||1/0;else{var r=g.getEffectiveBox(k.ownerDocument),s=n?n.getBoundingClientRect():{top:a.y-(a.padding||0),height:2*(a.padding||0)};q=Math.floor(Math.max(s.top,r.h-(s.top+s.height)))}if(k.offsetHeight>q){var t=getComputedStyle(k),u=t.borderLeftWidth+" "+t.borderLeftStyle+" "+t.borderLeftColor;b.mix(p.style,{overflowY:"scroll",height:q+"px",border:u}),k._originalStyle=k.style.cssText,k.style.border="none"}b.mix(p,{id:o,className:"d-popup "+(k.baseClass||k["class"]||"").split(" ")[0]+"Popup"}),p.style.zIndex=this._beginZIndex+j.length,p.setAttribute("d-popup-parent",a.parent?a.parent.id:""),0===j.length&&n&&(this._firstAroundNode=n,this._firstAroundPosition=e.position(n),this._aroundMoveListener=setTimeout(this._repositionAll.bind(this),50)),c("config-bgIframe")&&!k.bgIframe&&(k.bgIframe=new f(p));var v=k.orient?k.orient.bind(k):null,w=n?e.around(p,n,l,m,v):e.at(p,a,"R"===l?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],a.padding,v);p.style.visibility="visible",k.style.visibility="visible";var x=[];return p.addEventListener("keydown",i),x.push({remove:function(){p.removeEventListener("keydown",i)}}),k.onCancel&&a.onCancel&&x.push(k.on("cancel",a.onCancel)),x.push(k.on(k.onExecute?"execute":"change",function(){var a=this.getTopPopup();a&&a.onExecute&&a.onExecute()})),j.push({widget:k,wrapper:p,parent:a.parent,onExecute:a.onExecute,onCancel:a.onCancel,onClose:a.onClose,handlers:x}),k.onOpen&&k.onOpen(w),w},close:function(a){for(var b=this._stack;a&&b.some(function(b){return b.widget===a})||!a&&b.length;){var c=b.pop(),d=c.widget,e=c.onClose;d.bgIframe&&(d.bgIframe.destroy(),delete d.bgIframe),d.onClose&&d.onClose();for(var f;f=c.handlers.pop();)f.remove();this.hide(d),e&&e()}0===b.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return new j}),define("delite/place",["./Viewport"],function(a){function b(b,c,d,e){var f=a.getEffectiveBox(b.ownerDocument);b.parentNode&&"body"===String(b.parentNode.tagName).toLowerCase()||b.ownerDocument.body.appendChild(b);var g=null;c.some(function(a){var c=a.corner,h=a.pos,i=0,j={w:{L:f.l+f.w-h.x,R:h.x-f.l,M:f.w}[c.charAt(1)],h:{T:f.t+f.h-h.y,B:h.y-f.t,M:f.h}[c.charAt(0)]},k=b.style;if(k.left=k.right="auto",d){var l=d(b,a.aroundCorner,c,j,e);i="undefined"==typeof l?0:l}var m=b.style,n=m.display,o=m.visibility;"none"===m.display&&(m.visibility="hidden",m.display="");var p=b.getBoundingClientRect();m.display=n,m.visibility=o;var q={L:h.x,R:h.x-p.width,M:Math.max(f.l,Math.min(f.l+f.w,h.x+(p.width>>1))-p.width)}[c.charAt(1)],r={T:h.y,B:h.y-p.height,M:Math.max(f.t,Math.min(f.t+f.h,h.y+(p.height>>1))-p.height)}[c.charAt(0)],s=Math.max(f.l,q),t=Math.max(f.t,r),u=Math.min(f.l+f.w,q+p.width),v=Math.min(f.t+f.h,r+p.height),w=u-s,x=v-t;return i+=p.width-w+(p.height-x),(null==g||i>1)}[a.charAt(1)],y:{T:v,B:v+x,M:v+(x>>1)}[a.charAt(0)]}})}var i;if("string"==typeof c||"offsetWidth"in c||"ownerSVGElement"in c){if(i=d.position(c),/^(above|below)/.test(e[0])){var j=function(a){var b=getComputedStyle(a);return{t:parseFloat(b.borderTopWidth),b:parseFloat(b.borderBottomWidth)}},k=j(c),l=c.firstElementChild?j(c.firstElementChild):{t:0,b:0},m=j(a),n=a.firstElementChild?j(a.firstElementChild):{t:0,b:0};i.y+=Math.min(k.t+l.t,m.t+n.t),i.h-=Math.min(k.t+l.t,m.t+n.t)+Math.min(k.b+l.b,m.b+n.b)}}else i=c;if(c.parentNode)for(var o="absolute"===getComputedStyle(c).position,p=c.parentNode;p&&1===p.nodeType&&"BODY"!==p.nodeName;){var q=d.position(p),r=getComputedStyle(p);if(/^(relative|absolute)$/.test(r.position)&&(o=!1),!o&&/^(hidden|auto|scroll)$/.test(r.overflow)){var s=Math.min(i.y+i.h,q.y+q.h),t=Math.min(i.x+i.w,q.x+q.w);i.x=Math.max(i.x,q.x),i.y=Math.max(i.y,q.y),i.h=s-i.y,i.w=t-i.x}"absolute"===r.position&&(o=!0),p=p.parentNode}var u=i.x,v=i.y,w=i.w,x=i.h,y=[];e.forEach(function(a){var b=f;switch(a){case"above-centered":h("TM","BM");break;case"below-centered":h("BM","TM");break;case"after-centered":b=!b;case"before-centered":h(b?"ML":"MR",b?"MR":"ML");break;case"after":b=!b;case"before":h(b?"TL":"TR",b?"TR":"TL"),h(b?"BL":"BR",b?"BR":"BL");break;case"below-alt":b=!b;case"below":h(b?"BL":"BR",b?"TL":"TR"),h(b?"BR":"BL",b?"TR":"TL");break;case"above-alt":b=!b;case"above":h(b?"TL":"TR",b?"BL":"BR"),h(b?"TR":"TL",b?"BR":"BL")}});var z=b(a,y,g,{w:w,h:x});return z.aroundNodePos=i,z},position:function(a){var b=a.getBoundingClientRect(),c=a.ownerDocument,d=c.defaultView;return{x:b.left+(d.pageXOffset||c.documentElement.scrollLeft),y:b.top+(d.pageYOffset||c.documentElement.scrollTop),h:b.height,w:b.width}}};return d}),define("delite/keys",["decor/sniff"],function(a){return{BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:a("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:a("mac")?a("safari")?91:224:17}}),define("delite/handlebars",["./template"],function(a){function b(a,b){var c,d=[],e={};return(a||"").split(/({{|}})/).forEach(function(a){if("{{"===a)c=!0;else if("}}"===a)c=!1;else if(c){var f=a.trim();/this\./.test(f)?(d.push("("+a+")"),e[a.match(/this\.(\w+)/g).map(function(a){return a.substring(5)})]=!0):(e[f.replace(/[^\w].*/,"")]=!0,d.push(b?"(this."+f+" || '')":"this."+f))}else a&&d.push("'"+a.replace(/(['\\])/g,"\\$1").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"'")}),{expr:d.join(" + "),dependsOn:Object.keys(e)}}var c="requirejs-text/text",d={parse:function(a,c){var e,f,g=a.tagName.replace(/^template-/i,"").toLowerCase(),h={},i={},j=0,k=a.attributes;for(j=0;f=k[j];j++)if(f.value)switch(f.name){case"xmlns":c=f.value;break;case"is":g=f.value;break;case"attach-point":case"data-attach-point":e=f.value.split(/, */);break;default:/^on-/.test(f.name)?i[f.name.substring(3)]=f.value.replace(/\s*({{|}})\s*/g,""):h[f.name]=b(f.value,"class"===f.name)}return{tag:g,xmlns:c,attributes:h,connects:i,children:d.parseChildren(a,c),attachPoints:e}},parseChildren:function(a,c){for(var e,f=[],g=a.firstChild;g;g=g.nextSibling){var h=g.nodeType;if(1===h)e=f.length,f.push(d.parse(g,c));else if(3===h){if(/^[ \t\n]*$/.test(g.nodeValue)){if(void 0===e)continue}else e=f.length;f.push(b(g.nodeValue,!0))}}return f.slice(0,e+1)},toDom:function(a){a=a.replace(/(<\/? *)([a-zA-Z0-9]+-[-a-zA-Z0-9]+|template|select|[a-zA-Z]+[^>]+is=)/g,"$1template-$2");var b;if(/a||(this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),f+100>a||(this._clearActiveWidgetsTimer=setTimeout(function(){delete this._clearActiveWidgetsTimer,this._setStack([])}.bind(this),0)))},_onTouchNode:function(a,b){f=(new Date).getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),c.contains(a,"d-popup")&&(a=a.firstChild);var d=[];try{for(;a;){var e=a.getAttribute("d-popup-parent");if(e)a=a.ownerDocument.getElementById(e);else if(a.tagName&&"body"===a.tagName.toLowerCase()){if(a===document.body)break;a=a.ownerDocument.defaultView.frameElement}else!a.buildRendering||"mouse"===b&&a.disabled||d.unshift(a),a=a.parentNode}}catch(g){}this._setStack(d,b)},_onFocusNode:function(a){a&&9!==a.nodeType&&(e=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(a))},_setStack:function(a,b){var c=this.activeStack,d=c.length-1,e=a.length-1;if(a[e]!==c[d]){this.activeStack=a,this.emit("active-widget-stack",a);var f,g;for(g=d;g>=0&&c[g]!==a[g];g--)f=c[g],f&&(f._hasBeenBlurred=!0,f.focused=!1,f._onBlur&&f._onBlur(b),this.emit("widget-blur",f,b));for(g++;e>=g;g++)f=a[g],f&&(f.focused=!0,f._onFocus&&f._onFocus(b),this.emit("widget-focus",f,b))}},focus:function(a){if(a)try{a.focus()}catch(b){}}}),h=new g;return h.registerWin(window),h}),define("requirejs-domready/domReady",[],function(){"use strict";function a(a){var b;for(b=0;b=0},add:function(a,b){a=c.byId(a),b=d(b);var e,g=a[f];g=g?" "+g+" ":" ",e=g.length;for(var h,i=0,j=b.length;j>i;++i)h=b[i],h&&g.indexOf(" "+h+" ")<0&&(g+=h+" ");eh;++h)g=g.replace(" "+e[h]+" "," ");g=a.trim(g)}else g="";b[f]!=g&&(b[f]=g)},replace:function(a,b,d){a=c.byId(a),i[f]=a[f],e.remove(i,d),e.add(i,b),a[f]!==i[f]&&(a[f]=i[f])},toggle:function(a,b,f){if(a=c.byId(a),void 0===f){b=d(b);for(var g,h=0,i=b.length;i>h;++h)g=b[h],e[e.contains(a,g)?"remove":"add"](a,g)}else e[f?"add":"remove"](a,b);return f}}}),define("dojo/_base/array",["./kernel","../has","./lang"],function(a,b,c){function d(a){return h[a]=new Function("item","index","array",a)}function e(a){var b=!a;return function(c,e,f){var g,i=0,j=c&&c.length||0;if(j&&"string"==typeof c&&(c=c.split("")),"string"==typeof e&&(e=h[e]||d(e)),f){for(;j>i;++i)if(g=!e.call(f,c[i],i,c),a^g)return!g}else for(;j>i;++i)if(g=!e(c[i],i,c),a^g)return!g;return b}}function f(a){var b=1,c=0,d=0;return a||(b=c=d=-1),function(e,f,h,j){if(j&&b>0)return i.lastIndexOf(e,f,h);var k,l=e&&e.length||0,m=a?l+d:c;for(h===g?k=a?c:l+d:0>h?(k=l+h,0>k&&(k=c)):k=h>=l?l+d:h,l&&"string"==typeof e&&(e=e.split(""));k!=m;k+=b)if(e[k]==f)return k;return-1}}var g,h={},i={every:e(!1),some:e(!0),indexOf:f(!0),lastIndexOf:f(!1),forEach:function(a,b,c){var e=0,f=a&&a.length||0;if(f&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;f>e;++e)b.call(c,a[e],e,a);else for(;f>e;++e)b(a[e],e,a)},map:function(a,b,c,e){var f=0,g=a&&a.length||0,i=new(e||Array)(g);if(g&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;g>f;++f)i[f]=b.call(c,a[f],f,a);else for(;g>f;++f)i[f]=b(a[f],f,a);return i},filter:function(a,b,c){var e,f=0,g=a&&a.length||0,i=[];if(g&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;g>f;++f)e=a[f],b.call(c,e,f,a)&&i.push(e);else for(;g>f;++f)e=a[f],b(e,f,a)&&i.push(e);return i},clearCache:function(){h={}}};return b("extend-dojo")&&c.mixin(a,i),i}),define("delite/features",["requirejs-dplugins/has"],function(a){return a.add("config-bgIframe",!1),a.add("dom-matches",function(){var a=document.body;return a.matches?"matches":a.webkitMatchesSelector?"webkitMatchesSelector":a.mozMatchesSelector?"mozMatchesSelector":a.msMatchesSelector?"msMatchesSelector":void 0}),a.add("document-register-element","undefined"!=typeof document&&!!document.registerElement),a.add("dom-proto-set",function(){var a=document.createElement("div");return a.__proto__?(a.__proto__={},!!a.attributes):!1}),a.add("bidi",!1),a}),define("delite/css",["requirejs-dplugins/has","dojo/Deferred","module"],function(a,b,c){"use strict";a.add("event-link-onload-api",function(a){var b=a.navigator.userAgent.match(/AppleWebKit\/([\d.]+)/);return!b||parseInt(b[1],10)>535});var d,e={},f=function(c){var d=new b,e=a("event-link-onload-api")?function(){c.onreadystatechange=c.onload=function(){c.readyState&&"complete"!==c.readyState||(c.onreadystatechange=c.onload=null,d.resolve())}}:function(){var a=c.sheet||c.styleSheet,b=document.styleSheets;a&&-1!==Array.prototype.lastIndexOf.call(b,a)?d.resolve():setTimeout(e,25)};return e(),d.promise},g={id:c.id,load:function(b,g,h){if(a("builder"))return j.addOnce(i,b),void h();var k=c.config();k.layersMap&&(b=k.layersMap[b]||b);var l,m=document.head||document.getElementsByTagName("head")[0],n=g.toUrl(b);e[n]||(l=document.createElement("link"),l.rel="stylesheet",l.type="text/css",l.href=n,m.insertBefore(l,d?d.nextSibling:m.firstChild),d=l,e[n]=f(l)),e[n].then(function(){h(b)})}};if(a("builder")){var h,i=[],j={writeConfig:function(a,b,c,d){var e={config:{}};e.config[b]={layersMap:{}},d.forEach(function(a){e.config[b].layersMap[a]=c}),a("require.config("+JSON.stringify(e)+");")},writeLayer:function(a,b,d){var e=require.toUrl(c.id).replace(/[^\/]*$/,"node_modules/clean-css"),f=require.nodeRequire(require.getNodePath(e)),g="";d.forEach(function(a){g+=new f({relativeTo:"./",target:b}).minify("@import url("+a+");")}),a(b,g)},addOnce:function(a,b){-1===a.indexOf(b)&&a.push(b)}};g.writeFile=function(a,b,c,d){h=d},g.onLayerEnd=function(a,b){function d(){return b.path.replace(/^(?:\.\/)?(([^\/]*\/)*)[^\/]*$/,"$1css/layer.css")}if(b.name&&b.path){var e=d();j.writeLayer(h,e,i),j.writeConfig(a,c.id,e,i),i=[]}},g.buildFunctions=j}return g}),define("dojo/Deferred",["./has","./_base/lang","./errors/CancelError","./promise/Promise","./has!config-deferredInstrumentation?./promise/instrumentation"],function(a,b,c,d,e){"use strict";var f=0,g=1,h=2,i="This deferred has already been fulfilled.",j=Object.freeze||function(){},k=function(b,c,d,e,f){a("config-deferredInstrumentation")&&c===h&&o.instrumentRejected&&0===b.length&&o.instrumentRejected(d,!1,e,f);for(var g=0;g=0},isFocusable:function(b){return a.effectiveTabIndex(b)>=-1},_getTabNavigable:function(b){function c(a){return a&&"input"===a.tagName.toLowerCase()&&a.type&&"radio"===a.type.toLowerCase()&&a.name&&a.name.toLowerCase()}function d(a){for(var b=a.firstChild;b;b=b.nextSibling)if(1===b.nodeType&&m(b)){var e=n(b);if(e>=0){0===e?(f||(f=b),g=b):e>0&&((!h||i>e)&&(i=e,h=b),(!j||e>=k)&&(k=e,j=b));var o=c(b);b.checked&&o&&(l[o]=b)}"SELECT"!==b.nodeName.toUpperCase()&&d(b)}}function e(a){return l[c(a)]||a}var f,g,h,i,j,k,l={},m=a._isElementShown,n=a.effectiveTabIndex;return m(b)&&d(b),{first:e(f),last:e(g),lowest:e(h),highest:e(j)}},getFirstInTabbingOrder:function(b,c){"string"==typeof b&&(b=(c||document).getElementById(b));var d=a._getTabNavigable(b);return d.lowest?d.lowest:d.first},getLastInTabbingOrder:function(b,c){"string"==typeof b&&(b=(c||document).getElementById(b));var d=a._getTabNavigable(b);return d.last?d.last:d.highest}};return a}),define("delite/Widget",["dcl/dcl","dojo/dom","dojo/dom-class","./features","decor/Invalidating","./CustomElement","./register","./features!bidi?./Bidi"],function(a,b,c,d,e,f,g,h){var i=0,j=a([f,e],{baseClass:"",_setBaseClassAttr:function(a){c.replace(this,a,this.baseClass),this._set("baseClass",a)},focused:!1,containerNode:void 0,_started:!1,widgetId:0,createdCallback:function(){this.preCreate(),this.buildRendering(),this.postCreate()},refreshRendering:function(a){this._templateHandle&&this._templateHandle.refresh(a)},attachedCallback:function(){this._attached=!0,this.baseClass&&c.add(this,this.baseClass),this.isLeftToRight()||c.add(this,"d-rtl");for(var a=this.tabIndex,b=this;b;b=Object.getPrototypeOf(b)){var d=Object.getOwnPropertyDescriptor(b,"tabIndex");if(d&&d.set){this.hasAttribute("tabindex")&&(this.removeAttribute("tabindex"),d.set.call(this,a));var e=this;if("WebKitMutationObserver"in window){var f=window.MutationObserver||WebKitMutationObserver,g=new f(function(){var a=e.getAttribute("tabindex");null!==a&&(e.removeAttribute("tabindex"),d.set.call(e,a))});g.observe(this,{subtree:!1,attributeFilter:["tabindex"],attributes:!0})}break}}},preCreate:function(){this.widgetId=++i},template:null,buildRendering:function(){this.template&&(this._templateHandle=this.template(this.ownerDocument,g))},setOrRemoveAttribute:function(a,b,c){void 0===c?a.removeAttribute(b):a.setAttribute(b,""+c)},postCreate:function(){},startup:function(){this._started||(this._attached||this.attachedCallback(),this._started=!0,this.findCustomElements(this).forEach(function(a){a._started||a._destroyed||"function"!=typeof a.startup||(a.startup(),a._started=!0)}))},destroy:function(){this.bgIframe&&(this.bgIframe.destroy(),delete this.bgIframe)},getChildren:function(){return this.containerNode?Array.prototype.slice.call(this.containerNode.children):[]},getParent:function(){return this.getEnclosingWidget(this.parentNode)},isLeftToRight:function(){var a=this.ownerDocument;return!/^rtl$/i.test(this.dir||a.body.dir||a.documentElement.dir)},placeAt:function(a,b){if("string"==typeof a&&(a=this.ownerDocument.getElementById(a)),"replace"===b)a.parentNode.replaceChild(this,a);else if("only"===b){for(var c;c=a.lastChild;)a.removeChild(c);a.appendChild(this)}else if(/^(before|after)$/.test(b))a.parentNode.insertBefore(this,"before"===b?a:a.nextSibling);else{var d=a.containerNode||a,e=d.children||Array.prototype.filter.call(d.childNodes,function(a){return 1===a.nodeType});d.insertBefore(this,e["first"===b?0:b]||null)}return!this._started&&(this.getParent()||{})._started&&this.startup(),this},getEnclosingWidget:function(a){do if(1===a.nodeType&&a.buildRendering)return a;while(a=a.parentNode);return null},onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});return d("bidi")&&(j=a(j,h)),a.chainAfter(j,"preCreate"),a.chainAfter(j,"postCreate"),a.chainAfter(j,"startup"),j}),define("delite/Viewport",["decor/Evented","decor/sniff","requirejs-domready/domReady!"],function(a,b){var c=new a,d=document.documentElement,e=d.clientWidth,f=d.clientHeight;return window.addEventListener("resize",function(){var a=d.clientWidth,b=d.clientHeight;(b!==f||a!==e)&&(e=a,f=b,c.emit("resize"))}),c.getEffectiveBox=function(a){var c=a.documentElement,d={w:c.clientWidth,h:c.clientHeight,t:a.body.scrollTop,l:a.body.scrollLeft},e=a.activeElement,f=e&&e.tagName&&e.tagName.toLowerCase();if(b("ios")&&e&&!e.readOnly&&("textarea"===f||"input"===f&&/^(color|email|number|password|search|tel|text|url)$/.test(e.type))){d.h*=0===window.orientation||180===window.orientation?.66:.4;var g=e.getBoundingClientRect();d.h=Math.max(d.h,g.top+g.height)}return d},c}),define("delite/StoreMap",["dcl/dcl","./Store"],function(a,b){var c=function(a,b,c,d){return a[c+"Func"]?a[c+"Func"](b,d):a[c+"Attr"]?b[a[c+"Attr"]]:b[c]},d=function(a,b,c,d,e){a[c+"Func"]?a[c+"Func"](b,d,e):a[c+"Attr"]?b[a[c+"Attr"]]=e:b[c]=e},e=/^(?!_)(\w)+(?=Attr$|Func$)/,f=/f(?=unc$)|a(?=ttr$)/;return a(b,{allowRemap:!1,_mappedKeys:null,copyAllItemProps:!1,_parseAttr:a.superCall(function(a){return function(b,c){return/Attr$|Func$/i.test(b)?(b=b.toLowerCase(),b=this._propCaseMap[b]||b.replace(f,f.exec(b)[0].toUpperCase()),{prop:b,value:/Attr$/.test(b)?c:this._parseFunctionAttr(c,["item","store","value"])}):a.apply(this,arguments)}}),startup:function(){var a=[];for(var b in this){var c=e.exec(b);c&&-1===a.indexOf(c[0])&&a.push(c[0])}if(this.copyAllItemProps){this._itemKeys=[];for(var d=0;d1?d?d(c):c:(new a).resolve(c);if(!h){var i=new a(c.cancel);c.then(i.resolve,i.reject,i.progress),c=i.promise}return d||e||f?c.then(d,e,f):c}}),define("delite/Selection",["dcl/dcl","decor/sniff","./Widget"],function(a,b,c){return a(c,{preCreate:function(){this._set("selectedItems",[]) +},selectionMode:"single",_setSelectionModeAttr:function(a){if("none"!==a&&"single"!==a&&"multiple"!==a&&"radio"!==a)throw new TypeError("selectionMode invalid value");a!==this.selectionMode&&(this._set("selectionMode",a),"none"===a?this.selectedItems=null:"single"!==a&&"radio"!==a||!this.selectedItem||(this.selectedItems=[this.selectedItem]))},selectedItem:null,_setSelectedItemAttr:function(a){this.selectedItem!==a&&(this.selectedItems=null==a?null:[a])},selectedItems:null,_setSelectedItemsAttr:function(a){var b=this.selectedItems;this._set("selectedItems",a),null!=b&&b.length>0&&this.updateRenderers(b),this.selectedItems&&this.selectedItems.length>0?(this._set("selectedItem",this.selectedItems[0]),this.updateRenderers(this.selectedItems)):this._set("selectedItem",null)},_getSelectedItemsAttr:function(){return null==this._get("selectedItems")?[]:this._get("selectedItems").concat()},hasSelectionModifier:function(a){return b("mac")?a.metaKey:a.ctrlKey},isSelected:function(a){if(null==this.selectedItems||0===this.selectedItems.length)return!1;var b=this.getIdentity(a);return this.selectedItems.some(function(a){return this.getIdentity(a)===b},this)},getIdentity:function(){},updateRenderers:function(){},setSelected:function(a,b){"none"!==this.selectionMode&&null!=a&&this._setSelected(a,b)},_setSelected:function(a,b){var c,d,e=this.selectedItems;if("single"===this.selectionMode||"radio"===this.selectionMode)b?this.selectedItem=a:"single"===this.selectionMode&&this.isSelected(a)&&(this.selectedItems=null);else if(b){if(this.isSelected(a))return;null==e?e=[a]:e.unshift(a),this.selectedItems=e}else{if(d=this.getIdentity(a),c=e?e.filter(function(a){return this.getIdentity(a)!==d},this):[],null==c||c.length===e.length)return;this.selectedItems=c}},selectFromEvent:function(a,b,c,d){return"none"===this.selectionMode?!1:this._selectFromEvent(a,b,c,d)},_selectFromEvent:function(a,b,c,d){var e,f=this.selectedItem,g=null==b?!1:this.isSelected(b);return null==b?"multiple"!==this.selectionMode||this.hasSelectionModifier(a)||null==this.selectedItem||(this.selectedItem=null,e=!0):"multiple"===this.selectionMode?this.hasSelectionModifier(a)?(this.setSelected(b,!g),e=!0):(this.selectedItem=b,e=!0):"single"===this.selectionMode&&this.hasSelectionModifier(a)?(this.selectedItem=g?null:b,e=!0):g||(this.selectedItem=b,e=!0),d&&e&&this.dispatchSelectionChange(f,this.selectedItem,c,a),e},dispatchSelectionChange:function(a,b,c,d){this.emit("selection-change",{oldValue:a,newValue:b,renderer:c,triggerEvent:d})}})}),define("delite/Scrollable",["dcl/dcl","dojo/dom","dojo/dom-class","dojo/_base/fx","dojo/fx/easing","delite/Widget","delite/theme!./Scrollable/themes/{{theme}}/Scrollable.css"],function(a,b,c,d,e,f){return a(f,{scrollDirection:"vertical",scrollableNode:null,postCreate:function(){this.notifyCurrentValue("scrollDirection")},buildRendering:a.after(function(){this.scrollableNode||(this.scrollableNode=this),b.setSelectable(this.scrollableNode,!1)}),refreshRendering:function(a){a.scrollDirection&&(c.toggle(this.scrollableNode,"d-scrollable","none"!==this.scrollDirection),c.toggle(this.scrollableNode,"d-scrollable-h",/^(both|horizontal)$/.test(this.scrollDirection)),c.toggle(this.scrollableNode,"d-scrollable-v",/^(both|vertical)$/.test(this.scrollDirection)))},destroy:function(){this._stopAnimation()},isTopScroll:function(){return 0===this.scrollableNode.scrollTop},isBottomScroll:function(){var a=this.scrollableNode;return a.offsetHeight+a.scrollTop>=a.scrollHeight},isLeftScroll:function(){return 0===this.scrollableNode.scrollLeft},isRightScroll:function(){var a=this.scrollableNode;return a.offsetWidth+a.scrollLeft>=a.scrollWidth},getCurrentScroll:function(){return{x:this.scrollableNode.scrollLeft,y:this.scrollableNode.scrollTop}},scrollBy:function(a,b){var c={};void 0!==a.x&&(c.x=this.scrollableNode.scrollLeft+a.x),void 0!==a.y&&(c.y=this.scrollableNode.scrollTop+a.y),this.scrollTo(c,b)},scrollTo:function(a,b){var c=this.scrollableNode;if(this._stopAnimation(),!b||0>=b)void 0!==a.x&&(c.scrollLeft=a.x),void 0!==a.y&&(c.scrollTop=a.y);else{var f={x:void 0!==a.x?c.scrollLeft:void 0,y:void 0!==a.y?c.scrollTop:void 0},g=this,h=function(){var h=function(a,b){this.start=a,this.end=b};h.prototype.getValue=function(b){return{x:(a.x-f.x)*b+f.x,y:(a.y-f.y)*b+f.y}};var i=new d.Animation({beforeBegin:function(){this.curve&&delete this.curve,i.curve=new h(f,a)},onAnimate:function(a){void 0!==a.x&&(c.scrollLeft=a.x),void 0!==a.y&&(c.scrollTop=a.y)},easing:e.expoInOut,duration:b,rate:20});return g._animation=i,i};h().play()}},_stopAnimation:function(){this._animation&&"playing"===this._animation.status()&&this._animation.stop()}})}),define("dojo/fx/easing",["../_base/lang"],function(a){var b={linear:function(a){return a},quadIn:function(a){return Math.pow(a,2)},quadOut:function(a){return a*(a-2)*-1},quadInOut:function(a){return a=2*a,1>a?Math.pow(a,2)/2:-1*(--a*(a-2)-1)/2},cubicIn:function(a){return Math.pow(a,3)},cubicOut:function(a){return Math.pow(a-1,3)+1},cubicInOut:function(a){return a=2*a,1>a?Math.pow(a,3)/2:(a-=2,(Math.pow(a,3)+2)/2)},quartIn:function(a){return Math.pow(a,4)},quartOut:function(a){return-1*(Math.pow(a-1,4)-1)},quartInOut:function(a){return a=2*a,1>a?Math.pow(a,4)/2:(a-=2,-0.5*(Math.pow(a,4)-2))},quintIn:function(a){return Math.pow(a,5)},quintOut:function(a){return Math.pow(a-1,5)+1},quintInOut:function(a){return a=2*a,1>a?Math.pow(a,5)/2:(a-=2,(Math.pow(a,5)+2)/2)},sineIn:function(a){return-1*Math.cos(a*(Math.PI/2))+1},sineOut:function(a){return Math.sin(a*(Math.PI/2))},sineInOut:function(a){return-1*(Math.cos(Math.PI*a)-1)/2},expoIn:function(a){return 0==a?0:Math.pow(2,10*(a-1))},expoOut:function(a){return 1==a?1:-1*Math.pow(2,-10*a)+1},expoInOut:function(a){return 0==a?0:1==a?1:(a=2*a,1>a?Math.pow(2,10*(a-1))/2:(--a,(-1*Math.pow(2,-10*a)+2)/2))},circIn:function(a){return-1*(Math.sqrt(1-Math.pow(a,2))-1)},circOut:function(a){return a-=1,Math.sqrt(1-Math.pow(a,2))},circInOut:function(a){return a=2*a,1>a?-0.5*(Math.sqrt(1-Math.pow(a,2))-1):(a-=2,.5*(Math.sqrt(1-Math.pow(a,2))+1))},backIn:function(a){var b=1.70158;return Math.pow(a,2)*((b+1)*a-b)},backOut:function(a){a-=1;var b=1.70158;return Math.pow(a,2)*((b+1)*a+b)+1},backInOut:function(a){var b=2.5949095;return a=2*a,1>a?Math.pow(a,2)*((b+1)*a-b)/2:(a-=2,(Math.pow(a,2)*((b+1)*a+b)+2)/2)},elasticIn:function(a){if(0==a||1==a)return a;var b=.3,c=b/4;return a-=1,-1*Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/b)},elasticOut:function(a){if(0==a||1==a)return a;var b=.3,c=b/4;return Math.pow(2,-10*a)*Math.sin(2*(a-c)*Math.PI/b)+1},elasticInOut:function(a){if(0==a)return 0;if(a=2*a,2==a)return 1;var b=.3*1.5,c=b/4;return 1>a?(a-=1,-.5*Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/b)):(a-=1,.5*Math.pow(2,-10*a)*Math.sin(2*(a-c)*Math.PI/b)+1)},bounceIn:function(a){return 1-b.bounceOut(1-a)},bounceOut:function(a){var b,c=7.5625,d=2.75;return 1/d>a?b=c*Math.pow(a,2):2/d>a?(a-=1.5/d,b=c*Math.pow(a,2)+.75):2.5/d>a?(a-=2.25/d,b=c*Math.pow(a,2)+.9375):(a-=2.625/d,b=c*Math.pow(a,2)+.984375),b},bounceInOut:function(a){return.5>a?b.bounceIn(2*a)/2:b.bounceOut(2*a-1)/2+.5}};return a.setObject("dojo.fx.easing",b),b}),define("dojo/_base/fx",["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(a,b,c,d,e,f,g,h,i){var j=c.mixin,k={},l=k._Line=function(a,b){this.start=a,this.end=b};l.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var m=k.Animation=function(a){j(this,a),c.isArray(this.curve)&&(this.curve=new l(this.curve[0],this.curve[1]))};m.prototype=new d,c.extend(m,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(a,c){var d=c||[];if(this[a])if(b.debugAtAllCosts)this[a].apply(this,d);else try{this[a].apply(this,d)}catch(e){console.error("exception in animation handler for:",a),console.error(e)}return this},play:function(a,b){var d=this;if(d._delayTimer&&d._clearTimer(),b)d._stopTimer(),d._active=d._paused=!1,d._percent=0;else if(d._active&&!d._paused)return d;d._fire("beforeBegin",[d.node]);var e=a||d.delay,f=c.hitch(d,"_play",b);return e>0?(d._delayTimer=setTimeout(f,e),d):(f(),d)},_play:function(){var a=this;a._delayTimer&&a._clearTimer(),a._startTime=(new Date).valueOf(),a._paused&&(a._startTime-=a.duration*a._percent),a._active=!0,a._paused=!1;var b=a.curve.getValue(a._getStep());return a._percent||(a._startRepeatCount||(a._startRepeatCount=a.repeat),a._fire("onBegin",[b])),a._fire("onPlay",[b]),a._cycle(),a},pause:function(){var a=this;return a._delayTimer&&a._clearTimer(),a._stopTimer(),a._active?(a._paused=!0,a._fire("onPause",[a.curve.getValue(a._getStep())]),a):a},gotoPercent:function(a,b){var c=this;return c._stopTimer(),c._active=c._paused=!0,c._percent=a,b&&c.play(),c},stop:function(a){var b=this;return b._delayTimer&&b._clearTimer(),b._timer?(b._stopTimer(),a&&(b._percent=1),b._fire("onStop",[b.curve.getValue(b._getStep())]),b._active=b._paused=!1,b):b},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var a=this;if(a._active){var b=(new Date).valueOf(),c=0===a.duration?1:(b-a._startTime)/a.duration;c>=1&&(c=1),a._percent=c,a.easing&&(c=a.easing(c)),a._fire("onAnimate",[a.curve.getValue(c)]),a._percent<1?a._startTimer():(a._active=!1,a.repeat>0?(a.repeat--,a.play(null,!0)):-1==a.repeat?a.play(null,!0):a._startRepeatCount&&(a.repeat=a._startRepeatCount,a._startRepeatCount=0),a._percent=0,a._fire("onEnd",[a.node]),!a.repeat&&a._stopTimer())}return a},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var n=0,o=null,p={run:function(){}};c.extend(m,{_startTimer:function(){this._timer||(this._timer=f.after(p,"run",c.hitch(this,"_cycle"),!0),n++),o||(o=setInterval(c.hitch(p,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,n--),0>=n&&(clearInterval(o),o=null,n=0)}});var q=g("ie")?function(a){var b=a.style;b.width.length||"auto"!=i.get(a,"width")||(b.width="auto")}:function(){};k._fade=function(a){a.node=h.byId(a.node);var b=j({properties:{}},a),d=b.properties.opacity={};d.start="start"in b?b.start:function(){return+i.get(b.node,"opacity")||0},d.end=b.end;var e=k.animateProperty(b);return f.after(e,"beforeBegin",c.partial(q,b.node),!0),e},k.fadeIn=function(a){return k._fade(j({end:1},a))},k.fadeOut=function(a){return k._fade(j({end:0},a))},k._defaultEasing=function(a){return.5+Math.sin((a+1.5)*Math.PI)/2};var r=function(a){this._properties=a;for(var b in a){var c=a[b];c.start instanceof e&&(c.tempColor=new e)}};return r.prototype.getValue=function(a){var b={};for(var d in this._properties){var f=this._properties[d],g=f.start;g instanceof e?b[d]=e.blendColors(g,f.end,a,f.tempColor).toCss():c.isArray(g)||(b[d]=(f.end-g)*a+g+("opacity"!=d?f.units||"px":0))}return b},k.animateProperty=function(b){var d=b.node=h.byId(b.node);b.easing||(b.easing=a._defaultEasing);var g=new m(b);return f.after(g,"beforeBegin",c.hitch(g,function(){function a(a,b){var c={height:a.offsetHeight,width:a.offsetWidth}[b];return void 0!==c?c:(c=i.get(a,b),"opacity"==b?+c:h?c:parseFloat(c))}var b={};for(var f in this.properties){("width"==f||"height"==f)&&(this.node.display="block");var g=this.properties[f];c.isFunction(g)&&(g=g(d)),g=b[f]=j({},c.isObject(g)?g:{end:g}),c.isFunction(g.start)&&(g.start=g.start(d)),c.isFunction(g.end)&&(g.end=g.end(d));var h=f.toLowerCase().indexOf("color")>=0;"end"in g?"start"in g||(g.start=a(d,f)):g.end=a(d,f),h?(g.start=new e(g.start),g.end=new e(g.end)):g.start="opacity"==f?+g.start:parseFloat(g.start)}this.curve=new r(b)}),!0),f.after(g,"onAnimate",c.hitch(i,"set",g.node),!0),g},k.anim=function(a,b,c,d,e,f){return k.animateProperty({node:a,duration:c||m.prototype.duration,properties:b,easing:d,onEnd:e}).play(f||0)},g("extend-dojo")&&(j(a,k),a._Animation=m),k}),define("dojo/aspect",[],function(){"use strict";function a(a,b,c,e){var f,g=a[b],h="around"==b;if(h){var i=c(function(){return g.advice(this,arguments)});f={remove:function(){i&&(i=a=c=null)},advice:function(a,b){return i?i.apply(a,b):g.advice(a,b)}}}else f={remove:function(){if(f.advice){var d=f.previous,e=f.next;e||d?(d?d.next=e:a[b]=e,e&&(e.previous=d)):delete a[b],a=c=f.advice=null}},id:d++,advice:c,receiveArguments:e};if(g&&!h)if("after"==b){for(;g.next&&(g=g.next););g.next=f,f.previous=g}else"before"==b&&(a[b]=f,f.next=g,g.previous=f);else a[b]=f;return f}function b(b){return function(e,f,g,h){var i,j=e[f];j&&j.target==e||(e[f]=i=function(){for(var a=d,b=arguments,e=i.before;e;)b=e.advice.apply(this,b)||b,e=e.next;if(i.around)var f=i.around.advice(this,b);for(var g=i.after;g&&g.id>=f,d[b]=4==f?17*c:c}),d.a=1,d)},e.fromArray=a.colorFromArray=function(a,b){var c=b||new e;return c._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3])),isNaN(c.a)&&(c.a=1),c.sanitize()},e.fromString=a.colorFromString=function(a,b){var c=e.named[a];return c&&e.fromArray(c,b)||e.fromRgb(a,b)||e.fromHex(a,b)},e}),define("dojo/Evented",["./aspect","./on"],function(a,b){"use strict";function c(){}var d=a.after;return c.prototype={on:function(a,c){return b.parse(this,a,c,function(a,b){return d(a,"on"+b,c,!0)})},emit:function(){var a=[this];return a.push.apply(a,arguments),b.emit.apply(b,a)}},c}),define("dojo/on",["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(a,b,c){"use strict";function d(a,b,d,e,f){var g=b.match(/(.*):(.*)/);if(g)return b=g[2],g=g[1],h.selector(g,b).call(f,a,d);if(c("touch")&&(i.test(b)&&(d=x(d)),c("event-orientationchange")||"orientationchange"!=b||(b="resize",a=window,d=x(d))),n&&(d=n(d)),a.addEventListener){var j=b in l,k=j?l[b]:b;return a.addEventListener(k,d,j),{remove:function(){a.removeEventListener(k,d,j)}}}if(b="on"+b,r&&a.attachEvent)return r(a,b,d);throw new Error("Target must be an event emitter")}function e(){this.cancelable=!1,this.defaultPrevented=!0}function f(){this.bubbles=!1}if(c("dom")){var g=window.ScriptEngineMajorVersion;c.add("jscript",g&&g()+ScriptEngineMinorVersion()/10),c.add("event-orientationchange",c("touch")&&!c("android")),c.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),c.add("event-focusin",function(a,b,c){return"onfocusin"in c})}var h=function(a,b,c,e){return"function"!=typeof a.on||"function"==typeof b||a.nodeType?h.parse(a,b,c,d,e,this):a.on(b,c)};h.pausable=function(a,b,c,d){var e,f=h(a,b,function(){return e?void 0:c.apply(this,arguments)},d);return f.pause=function(){e=!0},f.resume=function(){e=!1},f},h.once=function(a,b,c){var d=h(a,b,function(){return d.remove(),c.apply(this,arguments)});return d},h.parse=function(a,b,c,d,e,f){if(b.call)return b.call(f,a,c);if(b instanceof Array)g=b;else if(b.indexOf(",")>-1)var g=b.split(/\s*,\s*/);if(g){for(var i,j=[],k=0;i=g[k++];)j.push(h.parse(a,i,c,d,e,f));return j.remove=function(){for(var a=0;a0?c(a):e(a),a===g)return null;if(this._selectorFunc(a))return a}}})}),define("delite/HasDropDown",["dcl/dcl","dojo/Deferred","dojo/dom-class","requirejs-dplugins/has","delite/keys","./focus","./place","./popup","./Widget","dpointer/events"],function(a,b,c,d,e,f,g,h,i){return a(i,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:!0,opened:!1,_onDropDownMouseDown:function(a){this.disabled||this.readOnly||("MSPointerDown"!==a.type&&"pointerdown"!==a.type&&a.preventDefault(),this._docHandler=this.on("pointerup",this._onDropDownMouseUp.bind(this),this.ownerDocument.body),this.toggleDropDown())},_onDropDownMouseUp:function(a){a&&this._docHandler&&(this._docHandler.remove(),this._docHandler=null);var b=this.dropDown,d=!1;if(a&&this.opened){var e=g.position(this._buttonNode);if(!(a.pageX>=e.x&&a.pageX<=e.x+e.w&&a.pageY>=e.y&&a.pageY<=e.y+e.h)){for(var f=a.target;f&&!d;)c.contains(f,"d-popup")?d=!0:f=f.parentNode;if(d){if(b.onItemClick){var h=this.getEnclosingWidget(a.target);h&&h.onClick&&h.getParent&&h.getParent().onItemClick(h,a)}return}}}this.opened?b.focus&&(b.focusOnOpen!==!1||"mouseup"===a.type&&!this.hovering)&&(this._focusDropDownTimer=this.defer(function(){b.focus(),delete this._focusDropDownTimer})):this.focus&&this.defer("focus")},_onDropDownClick:function(a){this._stopClickEvents&&(a.stopPropagation(),a.preventDefault())},buildRendering:a.after(function(){this._buttonNode=this._buttonNode||this.focusNode||this,this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var a={after:this.isLeftToRight()?"right":"left",before:this.isLeftToRight()?"left":"right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"down";c.add(this._arrowWrapperNode||this._buttonNode,"d-"+a+"-arrow")}),postCreate:function(){this.on("pointerdown",this._onDropDownMouseDown.bind(this),this._buttonNode),this.on("click",this._onDropDownClick.bind(this),this._buttonNode),this.on("keydown",this._onKey.bind(this),this.focusNode||this),this.on("keyup",this._onKeyUp.bind(this),this.focusNode||this)},destroy:function(){this.opened&&this.closeDropDown(!0),this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroy(),delete this.dropDown)},_onKey:function(a){if(!this.disabled&&!this.readOnly){var b=this.dropDown,c=a.target;return b&&this.opened&&b.handleKey&&b.handleKey(a)===!1?(a.stopPropagation(),void a.preventDefault()):void(b&&this.opened&&a.keyCode===e.ESCAPE?(this.closeDropDown(),a.stopPropagation(),a.preventDefault()):!this.opened&&(a.keyCode===e.DOWN_ARROW||(a.keyCode===e.ENTER||a.keyCode===e.SPACE&&(!this._searchTimer||a.ctrlKey||a.altKey||a.metaKey))&&("input"!==(c.tagName||"").toLowerCase()||c.type&&"text"!==c.type.toLowerCase()))&&(this._toggleOnKeyUp=!0,a.stopPropagation(),a.preventDefault()))}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp,this.toggleDropDown();var a=this.dropDown;a&&a.focus&&this.defer(a.focus.bind(a),1)}},_onBlur:a.before(function(){this.closeDropDown(!1)}),isLoaded:function(){return!0},loadDropDown:function(a){a()},loadAndOpenDropDown:function(){function a(){this.openDropDown(),c.resolve(this.dropDown)}var c=new b;return this.isLoaded()?a.call(this):this.loadDropDown(a.bind(this)),c},toggleDropDown:function(){this.disabled||this.readOnly||(this.opened?this.closeDropDown(!0):this.loadAndOpenDropDown())},openDropDown:function(){var a=this.dropDown,b=this._aroundNode||this,d=this,e=h.open({parent:this,popup:a,around:b,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){d.closeDropDown(!0)},onCancel:function(){d.closeDropDown(!0)},onClose:function(){c.remove(d._popupStateNode,"d-drop-down-open"),d._set("opened",!1)}});if(this.forceWidth||this.autoWidth&&b.offsetWidth>a._popupWrapper.offsetWidth){var f=b.offsetWidth-a._popupWrapper.offsetWidth;a._popupWrapper.style.width=b.offsetWidth+"px","R"===e.corner[1]&&(a._popupWrapper.style.left=a._popupWrapper.style.left.replace("px","")-f+"px")}return c.add(this._popupStateNode,"d-drop-down-open"),this._set("opened",!0),this._popupStateNode.setAttribute("aria-expanded","true"),this._popupStateNode.setAttribute("aria-owns",a.id),"presentation"===a.getAttribute("role")||a.getAttribute("aria-labelledby")||a.setAttribute("aria-labelledby",this.id),e},closeDropDown:function(a){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer),this.opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),a&&this.focus&&this.focus(),h.close(this.dropDown),this.opened=!1)}})}),define("delite/FormWidget",["dcl/dcl","./Widget"],function(a,b){return a(b,{name:"",alt:"",value:"",tabIndex:0,tabStops:"focusNode",disabled:!1,refreshRendering:function(a){var b=this,c=this.tabStops.split(/[ ,]/);if("tabStops"in a||"disabled"in a){var d=this.disabled;this.valueNode&&this.valueNode!==this&&(this.valueNode.disabled=d),c.forEach(function(a){var c=b[a];c!==b&&(c.disabled=d),c.setAttribute("aria-disabled",""+d)},this),d||this.removeAttribute("disabled")}return("tabStops"in a||"tabIndex"in a||"disabled"in a)&&c.forEach(function(a){var c=b[a];c!==b&&(b.disabled?c.removeAttribute("tabindex"):c.tabIndex=b._get("tabIndex"))},this),a},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}}})}),define("delite/FormValueWidget",["dcl/dcl","./FormWidget","./focus"],function(a,b){function c(a,b,c){return function(d){(typeof d!=typeof this[b]||0!==this.compare(d,this[b]))&&(this[b]=this.value=d,this[c]&&this[c].remove(),this[c]=this.defer(function(){this[c]=null,this.deliver(),this.emit(a)}))}}return a(b,{readOnly:!1,refreshRendering:function(a){if("readOnly"in a){var b=this.readOnly;this.valueNode&&this.valueNode!==this&&(this.valueNode.readOnly=b),b||this.removeAttribute("readonly")}},compare:function(a,b){return"number"==typeof a&&"number"==typeof b?isNaN(a)&&isNaN(b)?0:a-b:a>b?1:b>a?-1:0},_onFocus:a.superCall(function(a){return function(){a.call(this),this._previousOnChangeValue=this.value,this._previousOnInputValue=this.value}}),handleOnChange:c("change","_previousOnChangeValue","_onChangeHandle"),handleOnInput:c("input","_previousOnInputValue","_onInputHandle")})}),define("delite/DisplayContainer",["dcl/dcl","dojo/Deferred","dojo/when","delite/Container"],function(a,b,c,d){return a(d,{show:function(d,e){var f={dest:d,loadDeferred:new b},g=this,h=new b;a.mix(f,e);var i=this.emit("delite-display-load",f)?this.load(d):f.loadDeferred;return c(i,function(b){-1===g.getIndexOfChild(b.child)&&g.addChild(b.child,b.index),f={dest:d,cancelable:!1},a.mix(f,e),a.mix(f,b),g.emit("delite-before-show",f),c(g.changeDisplay(b.child,f),function(){g.emit("delite-after-show",f),h.resolve(b)})}),h.promise},hide:function(d,e){var f={dest:d,loadDeferred:new b,bubbles:!0,cancelable:!0,hide:!0},g=this,h=new b;a.mix(f,e);var i=this.emit("delite-display-load",f)?this.load(d):f.loadDeferred;return c(i,function(b){f={dest:d,bubbles:!0,cancelable:!1,hide:!0},a.mix(f,e),a.mix(f,b),g.emit("delite-before-hide",f),c(g.changeDisplay(b.child,f),function(){-1!==g.getIndexOfChild(b.child)&&g.removeChild(b.child),g.emit("delite-after-hide",f),h.resolve(b) +})}),h.promise},changeDisplay:function(a,b){b.hide===!0?(a.style.visibility="hidden",a.style.display="none"):(a.style.visibility="visible",a.style.display="")},load:function(a){return{child:"string"==typeof a?this.ownerDocument.getElementById(a):a}}})}),define("delite/DialogUnderlay",["./register","./Widget","./BackgroundIframe","./Viewport","./theme!./DialogUnderlay/themes/{{theme}}/DialogUnderlay.css"],function(a,b,c,d){var e=a("d-dialog-underlay",[HTMLElement,b],{_modalConnects:[],buildRendering:function(){this.className="d-dialog-underlay"},postCreate:function(){this.ownerDocument.body.appendChild(this),this.on("keydown",this._onKeyDown.bind(this))},layout:function(){var a=this.style;a.display="none";var b=this.ownerDocument.documentElement;a.width=b.clientWidth+"px",a.height=b.clientHeight+"px",a.display=""},show:function(){this._open||(this.style.display="block",this._open=!0,this.layout(),this.bgIframe=new c(this),this._modalConnects=[d.on("resize",function(){this.layout()}.bind(this))])},hide:function(){if(this._open){for(this.bgIframe.destroy(),delete this.bgIframe,this.style.display="none";this._modalConnects.length;)this._modalConnects.pop().remove();this._open=!1}},destroy:a.before(function(){for(;this._modalConnects.length;)this._modalConnects.pop().remove()}),_onKeyDown:function(){}});return e.show=function(a,b){var c=e._singleton;!c||c._destroyed?c=e._singleton=new e(a):a&&c.mix(a),c.style.zIndex=b,c.show()},e.hide=function(){var a=e._singleton;a&&!a._destroyed&&a.hide()},e}),define("delite/CustomElement",["dcl/dcl","decor/Observable","decor/Destroyable","decor/Stateful"],function(dcl,Observable,Destroyable,Stateful){function getObject(a){try{return a.split(".").reduce(function(a,b){return a[b]},this)}catch(b){}}var REGEXP_SHADOW_PROPS=/^_(.+)Attr$/;return dcl([Stateful,Destroyable],{_getProps:function(){var a,b={},c=this,d=this._propCaseMap={};do Object.keys(c).forEach(function(a){REGEXP_SHADOW_PROPS.test(a)||("function"!=typeof c[a]&&(b[a]=!0),d[a.toLowerCase()]=a)}),c=Object.getPrototypeOf(c),a=c&&c.constructor;while(c&&a!==this._baseElement);return b},createdCallback:dcl.advise({before:function(){this._observable||Observable.call(this),this._parsedAttributes=this._mapAttributes()},after:function(){this._created=!0,this._parsedAttributes.forEach(function(a){a.event?this.on(a.event,a.callback):this[a.prop]=a.value},this)}}),_parsePrototypeAttr:function(name,value){function stringToObject(value){var obj;try{obj=eval("("+("{"===value[0]?"":"{")+value+("{"===value[0]?"":"}")+")")}catch(e){throw new SyntaxError("Error in attribute conversion to object: "+e.message+"\nAttribute Value: '"+value+"'")}return obj}switch(typeof this[name]){case"string":return value;case"number":return value-0;case"boolean":return"false"!==value;case"object":return getObject(value)||(this[name]instanceof Array?value?value.split(/\s+/):[]:stringToObject(value));case"function":return this._parseFunctionAttr(value,[])}},_parseFunctionAttr:function(a,b){return getObject(a)||new(Function.bind.apply(Function,[void 0].concat(b).concat([a])))},_parseAttr:function(a,b){var c=this._propCaseMap;return a in c?(a=c[a],{prop:a,value:this._parsePrototypeAttr(a,b)}):/^on-/.test(a)?{event:a.substring(3),callback:this._parseFunctionAttr(b,["event"])}:void 0},_mapAttributes:function(){for(var a,b=0,c=[],d=[];a=this.attributes[b++];){var e=a.name.toLowerCase(),f=this._parseAttr(e,a.value);f&&(c.push(f),d.push(a))}return d.forEach(this.removeAttribute,this),c},destroy:function(){this.findCustomElements().forEach(function(a){a.destroy&&a.destroy()}),this.parentNode&&this.parentNode.removeChild(this)},emit:function(a,b){if(this._started!==!1&&!this._beingDestroyed){b=b||{};var c="bubbles"in b?b.bubbles:!0,d="cancelable"in b?b.cancelable:!0,e=this.ownerDocument.createEvent("HTMLEvents");e.initEvent(a,c,d);for(var f in b)f in e||(e[f]=b[f]);return this.dispatchEvent(e)}},on:function(a,b,c){var d={focusin:"focus",focus:"focus",focusout:"blur",blur:"blur"},e=a in d,f=e?d[a]:a;return c=c||this,c.addEventListener(f,b,e),this.own({remove:function(){c.removeEventListener(f,b,e)}})[0]},observe:function(a){var b=this._ctor._propsToObserve,c=new Stateful.PropertyListObserver(this,b);return c.open(a,this),c},findCustomElements:function(a){function b(a){for(var d=a.firstChild;d;d=d.nextSibling)1===d.nodeType&&d.createdCallback?c.push(d):b(d)}var c=[];return b(a||this),c}})}),define("delite/CssState",["dcl/dcl","dojo/dom-class","./Widget"],function(a,b,c){return a(c,{booleanCssProps:["disabled","readOnly","selected","focused","opened"],postCreate:function(){["checked","state"].concat(this.booleanCssProps).forEach(function(a){this[a]&&this.notifyCurrentValue(a)})},refreshRendering:function(a){this.booleanCssProps.forEach(function(c){c in a&&b.toggle(this,"d-"+c.toLowerCase(),this[c])},this),"checked"in a&&(b.remove(this,"mixed"===a.checked?"d-mixed":"d-checked"),this.checked&&b.add(this,"mixed"===this.checked?"d-mixed":"d-checked")),"state"in a&&(b.remove(this,"d-"+a.state.toLowerCase()),b.add(this,"d-"+this.state.toLowerCase()))}})}),define("delite/Container",["dcl/dcl","./Widget"],function(a,b){return a(b,{buildRendering:a.after(function(){this.containerNode||(this.containerNode=this)}),addChild:function(c,d){var e=this.containerNode,f=e.children[d];e.insertBefore(c,f||null),this._started&&!c._started&&a.isInstanceOf(c,b)&&c.startup()},removeChild:function(a){"number"==typeof a&&(a=this.getChildren()[a]),a&&a.parentNode&&HTMLElement.prototype.removeChild.call(a.parentNode,a)},hasChildren:function(){return this.getChildren().length>0},getIndexOfChild:function(a){return this.getChildren().indexOf(a)}})}),define("delite/Bidi",[],function(){var a="‪",b="‫",c="‬";return{textDir:"",getTextDir:function(a){return"auto"===this.textDir?this._checkContextual(a):this.textDir},_checkContextual:function(a){var b=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(a);return b?b[0]<="z"?"ltr":"rtl":this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(a){if(this.textDir){var b=this.textDir;if("auto"===b){var c=a.tagName.toLowerCase(),d="input"===c||"textarea"===c?a.value:a.textContent;b=this._checkContextual(d)}a.dir=b}},wrapWithUcc:function(d){var e="auto"===this.textDir?this._checkContextual(d):this.textDir;return("ltr"===e?a:b)+d+c},enforceTextDirWithUcc:function(a){a.originalText=a.text,a.innerHTML=this.wrapWithUcc(a.innerHTML)},restoreOriginalText:function(a){a.originalText&&(a.text=a.originalText,delete a.originalText)}}}),define("delite/BackgroundIframe",["dcl/dcl","./features"],function(a,b){var c=function(){var a=[];this.pop=function(){var b;return a.length?(b=a.pop(),b.style.display=""):(b=document.createElement("iframe"),b.src="javascript:''",b.className="d-background-iframe",b.setAttribute("role","presentation"),b.tabIndex=-1),b},this.push=function(b){b.style.display="none",a.push(b)}},d=new c;return a(null,{constructor:function(a){if(b("config-bgIframe")){var c=this.iframe=d.pop();a.appendChild(c),c.style.width="100%",c.style.height="100%"}},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),d.push(this.iframe),delete this.iframe)}})}); //# sourceMappingURL=layer.map \ No newline at end of file diff --git a/layer.map b/layer.map index c9056b9..458f0d5 100644 --- a/layer.map +++ b/layer.map @@ -1 +1 @@ -{"version":3,"file":"layer.js","sources":["..\\requirejs-text\\text.js","..\\dojo\\string.js","..\\dojo\\_base\\lang.js","..\\dojo\\sniff.js","..\\dojo\\has.js","..\\dojo\\_base\\kernel.js","..\\dojo\\_base\\config.js","..\\dojo\\hccss.js","..\\dojo\\_base\\window.js","..\\dojo\\domReady.js","..\\dojo\\dom-style.js","..\\dojo\\dom.js","..\\dojo\\dom-class.js","..\\dojo\\_base\\array.js","..\\delite\\uacss.js","..\\delite\\typematic.js","..\\delite\\theme.js","..\\delite\\template.js","..\\delite\\register.js","..\\delite\\popup.js","..\\delite\\place.js","..\\delite\\keys.js","..\\delite\\handlebars.js","..\\delite\\focus.js","..\\requirejs-domready\\domReady.js","..\\delite\\features.js","..\\delite\\css.js","..\\dojo\\Deferred.js","..\\dojo\\promise\\Promise.js","..\\dojo\\errors\\CancelError.js","..\\dojo\\errors\\create.js","..\\delite\\a11yclick.js","..\\delite\\a11y.js","..\\delite\\Widget.js","..\\delite\\Viewport.js","..\\delite\\StoreMap.js","..\\delite\\Store.js","..\\dojo\\when.js","..\\delite\\Selection.js","..\\delite\\Scrollable.js","..\\dojo\\fx\\easing.js","..\\dojo\\_base\\fx.js","..\\dojo\\aspect.js","..\\dojo\\_base\\Color.js","..\\dojo\\Evented.js","..\\dojo\\on.js","..\\delite\\KeyNav.js","..\\delite\\HasDropDown.js","..\\delite\\FormWidget.js","..\\delite\\FormValueWidget.js","..\\delite\\DisplayContainer.js","..\\delite\\DialogUnderlay.js","..\\delite\\CustomElement.js","..\\delite\\CssState.js","..\\delite\\Container.js","..\\delite\\Bidi.js","..\\delite\\BackgroundIframe.js"],"names":["define","module","text","fs","Cc","Ci","xpcIsWindows","progIds","xmlRegExp","bodyRegExp","hasLocation","location","href","defaultProtocol","protocol","replace","defaultHostName","hostname","defaultPort","port","undefined","buildMap","masterConfig","config","version","strip","content","matches","match","jsEscape","createXhr","xhr","i","progId","XMLHttpRequest","ActiveXObject","e","parseName","name","modName","ext","temp","index","indexOf","isRelative","substring","length","moduleName","xdRegExp","useXhr","url","uProtocol","uHostName","uPort","exec","split","toLowerCase","finishLoad","onLoad","isBuild","load","req","inlineText","parsed","nonStripName","toUrl","get","err","error","write","pluginName","hasOwnProperty","asModule","writeFile","extPart","fileName","textWrite","contents","env","process","versions","node","require","nodeRequire","callback","errback","file","readFileSync","headers","header","open","setRequestHeader","onXhr","onreadystatechange","status","readyState","Error","responseText","onXhrComplete","send","Packages","java","stringBuffer","line","encoding","io","File","lineSeparator","lang","System","getProperty","input","BufferedReader","InputStreamReader","FileInputStream","StringBuffer","readLine","charAt","append","String","toString","close","Components","classes","interfaces","utils","inStream","convertStream","fileObj","readData","FileUtils","createInstance","nsIFileInputStream","init","nsIConverterInputStream","available","DEFAULT_REPLACEMENT_CHARACTER","readString","value","path","kernel","ESCAPE_REGEXP","ESCAPE_MAP","&","<",">","\"","'","/","string","setObject","escape","str","c","rep","num","buf","push","join","pad","size","ch","end","out","Math","ceil","substitute","template","map","transform","thisObject","global","hitch","v","key","format","getObject","call","trim","prototype","test","dojo","has","add","_extraNames","_extraLen","getProp","parts","create","context","scopeMap","shift","p","opts","Object","efficient","obj","offset","startWith","concat","Array","slice","_pattern","_mixin","dest","source","copyFunc","s","empty","mixin","l","arguments","pop","exists","isString","it","isArray","isFunction","isObject","isArrayLike","tagName","isFinite","isAlien","extend","ctor","_hitchArgs","scope","method","pre","_toArray","named","args","f","apply","this","delegate","TMP","props","tmp","slow","arr","x","partial","clone","src","nodeType","cloneNode","Date","getTime","RegExp","r","constructor","tmpl","pattern","_","k","n","navigator","dua","userAgent","dav","appVersion","tv","parseFloat","document","compatMode","$1","os","SVGAngle","all","isIE","mode","documentMode","floor","opera","wiiremote","isBrowser","window","doc","element","createElement","cache","now","force","v8","addEventListener","maxTouchPoints","msMaxTouchPoints","screen","availWidth","innerWidth","form","attributes","clearElement","innerHTML","normalize","id","toAbsMid","tokens","skip","term","parentRequire","loaded","item","dijit","dojox","packageMap","_scopeName","noGlobals","baseUrl","isAsync","async","locale","rev","major","minor","patch","flag","revision","NaN","Function","exit","exitcode","quit","console","tn","cn","tcn","a","unshift","_fake","isDebug","deprecated","experimental","behaviour","extra","removal","message","warn","modulePaths","paths","moduleUrl","result","_hasResource","rawConfig","adviseHas","featureSet","prefix","booting","dojoConfig","djConfig","language","userLanguage","domClass","domStyle","domReady","win","div","style","cssText","blankGif","body","appendChild","cs","getComputedStyle","bkImg","backgroundImage","hc","borderTopColor","borderRightColor","outerHTML","removeChild","ret","getElementsByTagName","setContext","globalObject","globalDocument","withGlobal","cbArguments","oldGlob","withDoc","documentObject","pwin","oldDoc","oldQ","oldIE","isQuirks","parentWindow","readyQ","ready","processQ","recursiveGuard","log","_onQEmpty","readyStates","complete","fixReadyState","_Q","tests","detectReady","evt","event","type","on","removeEventListener","attachEvent","detachEvent","doScroll","frameElement","poller","setTimeout","dom","_toStyleValue","offsetHeight","offsetWidth","_pixelNamesCache","_pixelRegExp","toPixel","dv","ownerDocument","defaultView","display","currentStyle","avalue","rs","runtimeStyle","sLeft","left","rsLeft","pixelLeft","toPixelValue","astr","af","filters","_getOpacity","Opacity","opacity","_setOpacity","ov","fullyOpaque","zoom","filter","Enabled","td","firstChild","nextSibling","top","_floatAliases","cssFloat","styleFloat","float","byId","op","set","execCommand","_d","te","getElementById","eles","nodeName","isDescendant","ancestor","parentNode","prefixes","cssUserSelect","setSelectable","selectable","nodes","removeAttribute","setAttribute","array","str2array","spaces","a1","cls","className","fakeNode","contains","classStr","oldLen","len","substr","remove","addClassStr","removeClassStr","toggle","condition","buildFn","fn","everyOrSome","some","every","o","up","delta","lOver","uOver","from","last","lastIndexOf","u","forEach","Ctr","clearCache","ie","maj","ff","d-webkit","d-safari","d-chrome","d-gecko","d-ios","d-android","clz","typematic","_fireEventAndReload","_timer","_callback","_count","_node","_evt","_currentTimeout","max","_initialDelay","_subsequentDelay","round","_minDelay","bind","trigger","_this","subsequentDelay","initialDelay","minDelay","_obj","stop","faux","attr","clearTimeout","addKeyListener","keyObject","handles","ctrlKey","altKey","metaKey","shiftKey","stopPropagation","preventDefault","h","addMouseListener","addListener","mouseNode","keyNode","css","themeMap","getTheme","theme","search","ua","onload","commonCss","resources","buildFunctions","addOnce","loadList","layersMap","deps","writePluginFiles","resource","onLayerEnd","data","getLayerPath","pathRE","themeDir","themedLoadList","writeLayer","writeConfig","register","getElement","tag","elementCache","attrName","attrMap","proto","prop","generateWatchCode","dependencies","statement","observeText","generateNodeChildrenCode","children","buildText","child","idx","childName","generateNodeCode","textNodeName","expr","dependsOn","createNode","templateNode","ap","attachPoints","xmlns","info","propName","js","codeToSetProp","connects","handler","codegen","rootNodeName","createRootNode","tree","compile","dcl","base","registry","extends","upgrade","getPropDescriptors","keys","getOwnPropertyNames","getOwnPropertyDescriptor","getPrototypeOf","__upgraded__","widget","getAttribute","__proto__","defineProperties","_constructor","createdCallback","attachedCallback","documentElement","getTagConstructor","baseElement","baseCtor","HTMLElement","tags","tagMap","TypeError","registerElement","selectors","tagConstructor","params","srcNodeRef","_ctor","restore","extension","superclasses","bases","_baseElement","_introspect","_getProps","_introspected","parse","root","querySelectorAll","startup","_started","mix","b","defineProperty","configurable","writable","enumerable","HTMLAnchorElement","HTMLBaseElement","br","HTMLBRElement","button","HTMLButtonElement","canvas","HTMLCanvasElement","HTMLDivElement","dl","HTMLDListElement","directory","HTMLDirectoryElement","fieldset","HTMLFieldSetElement","font","HTMLFontElement","HTMLFormElement","head","HTMLHeadElement","h1","HTMLHeadingElement","html","HTMLHtmlElement","hr","HTMLHRElement","iframe","HTMLIFrameElement","img","HTMLImageElement","HTMLInputElement","label","HTMLLabelElement","legend","HTMLLegendElement","li","HTMLLIElement","link","HTMLLinkElement","HTMLMapElement","menu","HTMLMenuElement","meta","HTMLMetaElement","ins","HTMLModElement","object","HTMLObjectElement","ol","HTMLOListElement","optgroup","HTMLOptGroupElement","option","HTMLOptionElement","HTMLParagraphElement","param","HTMLParamElement","HTMLPreElement","quote","HTMLQuoteElement","script","HTMLScriptElement","select","HTMLSelectElement","HTMLStyleElement","table","HTMLTableElement","caption","HTMLTableCaptionElement","col","HTMLTableColElement","tr","HTMLTableRowElement","tbody","HTMLTableSectionElement","textarea","HTMLTextAreaElement","title","HTMLTitleElement","ul","HTMLUListElement","video","HTMLVideoElement","after","before","around","advise","place","BackgroundIframe","Viewport","isDocLtr","dir","destroyWrapper","_popupWrapper","PopupManager","_stack","_beginZIndex","_idGen","_repositionAll","_firstAroundNode","oldPos","_firstAroundPosition","newPos","position","dx","dy","y","wrapper","right","_aroundMoveListener","_createWrapper","visibility","target","moveOffScreen","ltr","hide","height","overflow","border","_originalStyle","getTopPopup","stack","pi","parent","onKeyDown","keyCode","ESCAPE","onCancel","TAB","topPopup","popup","orient","isLeftToRight","maxHeight","Infinity","viewport","getEffectiveBox","aroundPos","getBoundingClientRect","padding","borderStyle","borderLeftWidth","borderLeftStyle","borderLeftColor","overflowY","baseClass","zIndex","bgIframe","layoutFunc","best","at","handlers","onExecute","onClose","onOpen","elem","destroy","_place","choices","layoutNode","aroundNodeCoords","view","choice","corner","pos","spaceAvailable","w","L","R","M","T","t","B","res","aroundCorner","oldDisplay","oldVis","bb","startXpos","width","min","startYpos","startX","startY","endX","endY","side","marginTop","marginLeft","reverse","TL","TR","BL","BR","corners","anchor","positions","leftToRight","aroundNodePos","borderTopWidth","borderBottomWidth","anchorBorder","anchorChildBorder","firstElementChild","nodeBorder","nodeChildBorder","sawPosAbsolute","parentPos","pcs","bottomYCoord","rightXCoord","bcr","pageXOffset","scrollLeft","pageYOffset","scrollTop","BACKSPACE","CLEAR","ENTER","SHIFT","CTRL","ALT","META","PAUSE","CAPS_LOCK","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT_ARROW","UP_ARROW","RIGHT_ARROW","DOWN_ARROW","INSERT","DELETE","HELP","LEFT_WINDOW","RIGHT_WINDOW","SELECT","NUMPAD_0","NUMPAD_1","NUMPAD_2","NUMPAD_3","NUMPAD_4","NUMPAD_5","NUMPAD_6","NUMPAD_7","NUMPAD_8","NUMPAD_9","NUMPAD_MULTIPLY","NUMPAD_PLUS","NUMPAD_ENTER","NUMPAD_MINUS","NUMPAD_PERIOD","NUMPAD_DIVIDE","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15","NUM_LOCK","SCROLL_LOCK","UP_DPAD","DOWN_DPAD","LEFT_DPAD","RIGHT_DPAD","copyKey","toJs","convertUndefinedToBlank","inVar","wp","thisVar","textPlugin","handlebars","attrs","parseChildren","lastRealNode","childType","nodeValue","toDom","templateText","parser","DOMParser","parseFromString","container","templateDom","func","mid","loaderConfig","requires","Evented","lastFocusin","lastTouchOrFocusin","FocusManager","activeStack","registerIframe","registerWin","contentWindow","targetWindow","effectiveNode","pointerDownHandler","_onTouchNode","focusHandler","_onFocusNode","blurHandler","_onBlurNode","_clearActiveWidgetsTimer","_setStack","by","newStack","popupParent","buildRendering","disabled","_clearFocusTimer","oldStack","lastOldIdx","lastNewIdx","emit","_hasBeenBlurred","focused","_onBlur","_onFocus","focus","singleton","runCallbacks","callbacks","callReady","readyCalls","isPageLoaded","pageLoaded","scrollIntervalId","clearInterval","isTop","testDiv","external","setInterval","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","Deferred","wk","parseInt","lastInsertedLink","listenOnLoad","def","loadHandler","resolve","sheet","styleSheet","styleSheets","promise","loadCss","rel","insertBefore","then","cssConf","JSON","stringify","CleanCSS","getNodePath","relativeTo","minify","ary","CancelError","Promise","instrumentation","PROGRESS","RESOLVED","REJECTED","FULFILLED_ERROR_MESSAGE","freezeObject","freeze","signalWaiting","waiting","rejection","deferred","instrumentRejected","signalListener","listener","newResult","signalDeferred","cancel","makeDeferredSignaler","isCanceled","progress","reject","canceler","fulfilled","canceled","captureStackTrace","isResolved","isRejected","isFulfilled","update","strict","progback","reason","returnedReason","throwAbstract","always","callbackOrErrback","otherwise","trace","traceRejected","dojoType","ErrorCtor","clickKey","hasAttribute","lastKeyDownNode","defaultPrevented","clickEvent","createEvent","initMouseEvent","dispatchEvent","a11y","_isElementShown","hasDefaultTabStop","contentDocument","designMode","contentEditable","effectiveTabIndex","isTabNavigable","isFocusable","_getTabNavigable","radioName","walkTree","shown","tabindex","first","lowest","lowestTabindex","highest","highestTabindex","rn","checked","radioSelected","toUpperCase","getFirstInTabbingOrder","elems","getLastInTabbingOrder","Invalidating","CustomElement","Bidi","cnt","Widget","_setBaseClassAttr","_set","containerNode","widgetId","preCreate","postCreate","refreshRendering","_refreshRenderingCallback","_attached","tabIndex","desc","self","MO","MutationObserver","WebKitMutationObserver","observer","newValue","observe","subtree","attributeFilter","setOrRemoveAttribute","findCustomElements","_destroyed","getChildren","getParent","getEnclosingWidget","placeAt","reference","replaceChild","lastChild","childNodes","onFocus","onBlur","chainAfter","oldWidth","clientWidth","oldHeight","clientHeight","box","focusedNode","activeElement","readOnly","orientation","rect","Store","getvalue","store","setvalue","propregexp","capitalize","allowRemap","_mappedKeys","copyAllItemProps","_parseAttr","superCall","sup","_propCaseMap","_parseFunctionAttr","mappedKeys","_itemKeys","deliver","renderItemToItem","renderItem","idProperty","itemToRenderItem","__item","getIdentity","remap","items","renderItems","j","when","query","processQueryResult","initItems","cancelable","bubbles","computeProperties","queryStoreAndInitItems","_untrack","collection","track","_tracked","_itemAdded","_itemUpdated","_itemRemoved","fetch","_queryError","tracking","itemRemoved","splice","itemAdded","itemUpdated","itemMoved","previousIndex","newIndex","notifyCurrentValue","valueOrPromise","receivedPromise","nativePromise","selectionMode","_setSelectionModeAttr","selectedItems","selectedItem","_setSelectedItemAttr","_setSelectedItemsAttr","oldSelectedItems","updateRenderers","_getSelectedItemsAttr","_get","hasSelectionModifier","isSelected","identity","sitem","setSelected","_setSelected","sel","selectFromEvent","renderer","dispatch","_selectFromEvent","changed","oldSelectedItem","selected","dispatchSelectionChange","newSelectedItem","triggerEvent","oldValue","baseFx","easing","scrollDirection","scrollableNode","_stopAnimation","isTopScroll","isBottomScroll","scrollHeight","isLeftScroll","isRightScroll","scrollWidth","getCurrentScroll","scrollBy","duration","to","scrollTo","anim","Curve","start","getValue","animation","Animation","beforeBegin","curve","onAnimate","val","expoInOut","rate","_animation","play","easingFuncs","linear","quadIn","pow","quadOut","quadInOut","cubicIn","cubicOut","cubicInOut","quartIn","quartOut","quartInOut","quintIn","quintOut","quintInOut","sineIn","cos","PI","sineOut","sin","sineInOut","expoIn","expoOut","circIn","sqrt","circOut","circInOut","backIn","backOut","backInOut","elasticIn","elasticOut","elasticInOut","bounceIn","bounceOut","bounceInOut","Color","aspect","basefx","_Line","repeat","_percent","_startRepeatCount","_getStep","_p","_e","_fire","debugAtAllCosts","delay","gotoStart","_t","_delayTimer","_clearTimer","_stopTimer","_active","_paused","de","_play","_startTime","valueOf","_cycle","pause","gotoPercent","percent","andPlay","gotoEnd","curr","step","_startTimer","ctr","timer","runner","run","_makeFadeable","ns","_fade","fArgs","properties","animateProperty","fadeIn","fadeOut","_defaultEasing","PropLine","_properties","tempColor","blendColors","toCss","units","getStyle","isColor","pm","onEnd","_Animation","dispatcher","advice","receiveArguments","signal","previous","advised","next","nextId","methodName","existing","executionId","results","newResults","ArrayUtil","color","setColor","black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","transparent","transparentColor","g","fromString","fromArray","sanitize","toRgb","toRgba","toHex","includeAlpha","rgb","weight","fromRgb","colorFromRgb","m","fromHex","colorFromHex","bits","mask","Number","isNaN","colorFromArray","colorFromString","dontFix","matchesTarget","selector","touchEvents","fixTouchListener","addStopImmediate","capture","captures","adjustedType","fixAttach","syntheticPreventDefault","syntheticStopPropagation","ScriptEngineMajorVersion","ScriptEngineMinorVersion","Event","stopImmediatePropagation","pausable","paused","resume","once","events","eventName","eventType","eventTarget","bubble","syntheticDispatch","newEvent","focusin","focusout","immediatelyStopped","modified","nativeEvent","initEvent","_fixEvent","sender","lastEvent","srcElement","currentTarget","relatedTarget","fromElement","toElement","charCode","_setKeyChar","IESignal","handle","_dojoIEListeners_","fixListener","emitter","listeners","oldListener","keyChar","fromCharCode","charOrCode","cancelBubble","_preventDefault","bubbledKeyCode","returnValue","windowOrientation","originalEvent","corrected","rotation","scale","firstChangeTouch","changedTouches","takesInput","focusedChild","_keyNavCodes","childSelector","_getTargetElement","_selectorFunc","matchesFuncName","keyCodes","focusFirstChild","focusLastChild","_onLeftArrow","_onRightArrow","_onUpArrow","_onDownArrow","_onContainerKeypress","_onContainerKeydown","_onContainerFocus","_onChildFocus","focusChild","_getNext","_savedTabIndex","_searchString","multiCharSearchDuration","onKeyboardSearch","_keyboardSearchCompare","searchString","focusNode","textContent","currentString","_searchTimer","_keyboardSearch","matchedItem","numMatches","allSameLetter","searchLen","defer","currentItem","rc","dfsNext","nextElementSibling","dfsLast","lastElementChild","dfsPrev","previousElementSibling","origChild","_buttonNode","_arrowWrapperNode","_popupStateNode","_aroundNode","dropDown","autoWidth","forceWidth","dropDownPosition","_stopClickEvents","opened","_onDropDownMouseDown","_docHandler","_onDropDownMouseUp","toggleDropDown","overMenu","pageX","pageY","onItemClick","menuItem","onClick","focusOnOpen","hovering","_focusDropDownTimer","_onDropDownClick","defaultPos","_onKey","_onKeyUp","closeDropDown","d","handleKey","_toggleOnKeyUp","isLoaded","loadDropDown","loadCallback","loadAndOpenDropDown","afterLoad","openDropDown","aroundNode","retVal","widthAdjust","alt","tabStops","oldValues","isDisabled","valueNode","FormWidget","genHandler","prevValueProp","deferHandleProp","compare","isReadOnly","val1","val2","handleOnChange","handleOnInput","_previousOnChangeValue","_previousOnInputValue","Container","show","loadDeferred","displayDeferred","getIndexOfChild","addChild","changeDisplay","DialogUnderlay","_modalConnects","_onKeyDown","layout","_open","underlay","_singleton","Observable","Destroyable","Stateful","reduce","part","list","pcm","_observable","_parsedAttributes","_mapAttributes","_created","pa","_parsePrototypeAttr","stringToObject","eval","SyntaxError","parsedAttrs","attrsToRemove","parsedAttr","eventObj","_beingDestroyed","blur","own","getChildrenHelper","outAry","booleanCssProps","oldVals","state","insertIndex","isInstanceOf","hasChildren","LRE","RLE","PDF","textDir","getTextDir","_checkContextual","fdc","applyTextDir","wrapWithUcc","enforceTextDirWithUcc","originalText","restoreOriginalText","origObj","Frames","queue","_frames","_conn"],"mappings":";AAUAA,OAAO,uBAAuB,UAAW,SAAUC,GAC/C,YAEA,IAAIC,GAAMC,EAAIC,EAAIC,EAAIC,EAClBC,GAAW,iBAAkB,oBAAqB,sBAClDC,EAAY,2DACZC,EAAa,uCACbC,EAAkC,mBAAbC,WAA4BA,SAASC,KAC1DC,EAAkBH,GAAeC,SAASG,UAAYH,SAASG,SAASC,QAAQ,KAAM,IACtFC,EAAkBN,GAAeC,SAASM,SAC1CC,EAAcR,IAAgBC,SAASQ,MAAQC,QAC/CC,KACAC,EAAgBrB,EAAOsB,QAAUtB,EAAOsB,YA8W5C,OA5WArB,IACIsB,QAAS,SAETC,MAAO,SAAUC,GAIb,GAAIA,EAAS,CACTA,EAAUA,EAAQX,QAAQP,EAAW,GACrC,IAAImB,GAAUD,EAAQE,M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AUC,GAC1BA,EAAQF,eACXE,EAAQhnD,KAAOgnD,EAAQF,mBAChBE,GAAQF,kBChHnBhnD,OAAO,2BACN,UACA,cACE,SAAUsmB,EAAKhb,GAKjB,GAAI67C,GAAS,WACZ,GAAIC,KAEJ14C,MAAKtB,IAAM,WACV,GAAI+d,EAaJ,OAZIi8B,GAAMtkD,QACTqoB,EAASi8B,EAAMh6C,MACf+d,EAAO7U,MAAM+D,QAAU,KAEvB8Q,EAAS3a,SAASgB,cAAc,UAChC2Z,EAAO/b,IAAM,gBACb+b,EAAOxN,UAAY,sBACnBwN,EAAO9N,aAAa,OAAQ,gBAG5B8N,EAAOub,SAAW,IAEZvb,GAGRzc,KAAK7E,KAAO,SAAUshB,GACrBA,EAAO7U,MAAM+D,QAAU,OACvB+sC,EAAMv9C,KAAKshB,KAGTk8B,EAAU,GAAIF,EAQlB,OAAO7gC,GAAI,MACV3W,YAAa,SAAU1K,GACtB,GAAIqG,EAAI,mBAAoB,CAC3B,GAAI6f,GAAUzc,KAAKyc,OAASk8B,EAAQj6C,KACpCnI,GAAKyR,YAAYyU,GACjBA,EAAO7U,MAAMse,MAAQ,OACrBzJ,EAAO7U,MAAMua,OAAS,SAOxBwC,QAAS,WACJ3kB,KAAK44C,QACR54C,KAAK44C,MAAMppC,SACXxP,KAAK44C,MAAQ,MAEV54C,KAAKyc,SACRzc,KAAKyc,OAAOrO,WAAW3F,YAAYzI,KAAKyc,QACxCk8B,EAAQx9C,KAAK6E,KAAKyc,cACXzc,MAAKyc"} \ No newline at end of file +{"version":3,"file":"layer.js","sources":["..\\requirejs-text\\text.js","..\\dojo\\dom-geometry.js","..\\dojo\\dom-style.js","..\\dojo\\dom.js","..\\dojo\\_base\\window.js","..\\dojo\\_base\\lang.js","..\\dojo\\has.js","..\\dojo\\_base\\kernel.js","..\\dojo\\_base\\config.js","..\\dojo\\sniff.js","..\\delite\\uacss.js","..\\delite\\typematic.js","..\\delite\\theme.js","..\\delite\\template.js","..\\delite\\register.js","..\\delite\\popup.js","..\\delite\\place.js","..\\delite\\keys.js","..\\delite\\handlebars.js","..\\delite\\focus.js","..\\requirejs-domready\\domReady.js","..\\dojo\\dom-class.js","..\\dojo\\_base\\array.js","..\\delite\\features.js","..\\delite\\css.js","..\\dojo\\Deferred.js","..\\dojo\\promise\\Promise.js","..\\dojo\\errors\\CancelError.js","..\\dojo\\errors\\create.js","..\\delite\\a11yclick.js","..\\delite\\a11y.js","..\\delite\\Widget.js","..\\delite\\Viewport.js","..\\delite\\StoreMap.js","..\\delite\\Store.js","..\\dojo\\when.js","..\\delite\\Selection.js","..\\delite\\Scrollable.js","..\\dojo\\fx\\easing.js","..\\dojo\\_base\\fx.js","..\\dojo\\aspect.js","..\\dojo\\_base\\Color.js","..\\dojo\\Evented.js","..\\dojo\\on.js","..\\delite\\KeyNav.js","..\\delite\\HasDropDown.js","..\\delite\\FormWidget.js","..\\delite\\FormValueWidget.js","..\\delite\\DisplayContainer.js","..\\delite\\DialogUnderlay.js","..\\delite\\CustomElement.js","..\\delite\\CssState.js","..\\delite\\Container.js","..\\delite\\Bidi.js","..\\delite\\BackgroundIframe.js"],"names":["define","module","text","fs","Cc","Ci","xpcIsWindows","progIds","xmlRegExp","bodyRegExp","hasLocation","location","href","defaultProtocol","protocol","replace","defaultHostName","hostname","defaultPort","port","undefined","buildMap","masterConfig","config","version","strip","content","matches","match","jsEscape","createXhr","xhr","i","progId","XMLHttpRequest","ActiveXObject","e","parseName","name","modName","ext","temp","index","indexOf","isRelative","substring","length","moduleName","xdRegExp","useXhr","url","uProtocol","uHostName","uPort","exec","split","toLowerCase","finishLoad","onLoad","isBuild","load","req","inlineText","parsed","nonStripName","toUrl","get","err","error","write","pluginName","hasOwnProperty","asModule","writeFile","extPart","fileName","textWrite","contents","env","process","versions","node","require","nodeRequire","callback","errback","file","readFileSync","headers","header","open","setRequestHeader","onXhr","onreadystatechange","status","readyState","Error","responseText","onXhrComplete","send","Packages","java","stringBuffer","line","encoding","io","File","lineSeparator","lang","System","getProperty","input","BufferedReader","InputStreamReader","FileInputStream","StringBuffer","readLine","charAt","append","String","toString","close","Components","classes","interfaces","utils","inStream","convertStream","fileObj","readData","FileUtils","createInstance","nsIFileInputStream","init","nsIConverterInputStream","available","DEFAULT_REPLACEMENT_CHARACTER","readString","value","path","has","win","dom","style","setBox","l","t","w","h","u","s","isNaN","left","top","width","height","isButtonTag","tagName","getAttribute","usesBorderBox","geom","boxModel","document","compatMode","getPadExtents","computedStyle","byId","getComputedStyle","px","toPixelValue","paddingLeft","paddingTop","r","paddingRight","b","paddingBottom","none","getBorderExtents","borderLeftStyle","borderLeftWidth","borderTopStyle","borderTopWidth","borderRightStyle","borderRightWidth","borderBottomStyle","borderBottomWidth","getPadBorderExtents","p","getMarginExtents","marginLeft","marginTop","marginRight","marginBottom","getMarginBox","pcs","me","offsetLeft","offsetTop","parentNode","sl","parseFloat","st","overflow","offsetWidth","offsetHeight","getContentBox","clientWidth","pe","be","clientHeight","setContentSize","box","pb","NaN","nilExtents","setMarginBox","mb","ns","Math","max","isBodyLtr","doc","body","dir","documentElement","docScroll","parentWindow","defaultView","x","pageXOffset","y","pageYOffset","fixIeBiDiScrollLeft","scrollLeft","scrollTop","getIeDocumentElementOffset","de","getBoundingClientRect","clientLeft","clientTop","ie","qk","pwin","global","frameElement","scrollHeight","scrollWidth","position","includeScroll","db","ownerDocument","ret","right","bottom","offset","scroll","getMarginSize","size","normalizeEvent","event","layerX","offsetX","layerY","offsetY","se","target","docBody","pageX","clientX","pageY","clientY","_toStyleValue","type","_pixelNamesCache","_pixelRegExp","test","toPixel","nodeType","dv","display","currentStyle","element","avalue","slice","rs","runtimeStyle","cs","sLeft","rsLeft","pixelLeft","astr","af","n","f","filters","item","_getOpacity","Opacity","opacity","_setOpacity","ov","fullyOpaque","zoom","filter","RegExp","Enabled","td","firstChild","nextSibling","_floatAliases","cssFloat","styleFloat","float","arguments","op","set","execCommand","id","_d","te","getElementById","attributes","eles","all","nodeName","isDescendant","ancestor","add","prefixes","cssUserSelect","setSelectable","selectable","nodes","getElementsByTagName","removeAttribute","setAttribute","dojo","this","setContext","globalObject","globalDocument","withGlobal","thisObject","cbArguments","oldGlob","withDoc","call","documentObject","isIE","mode","oldDoc","oldQ","oldIE","isQuirks","navigator","appVersion","documentMode","floor","apply","mixin","_extraNames","_extraLen","getProp","parts","create","context","scopeMap","shift","opts","Object","prototype","efficient","obj","startWith","concat","Array","_pattern","_mixin","dest","source","copyFunc","empty","setObject","pop","getObject","exists","isString","it","isArray","isFunction","isObject","isArrayLike","isFinite","isAlien","extend","ctor","_hitchArgs","scope","method","pre","_toArray","named","args","hitch","join","delegate","TMP","props","tmp","slow","arr","push","partial","clone","src","cloneNode","Date","getTime","constructor","trim","str","tmpl","map","pattern","_","k","isBrowser","window","createElement","cache","now","force","v8","addEventListener","maxTouchPoints","msMaxTouchPoints","screen","availWidth","innerWidth","form","clearElement","innerHTML","normalize","toAbsMid","tokens","skip","term","parentRequire","loaded","dijit","dojox","packageMap","_scopeName","noGlobals","baseUrl","isAsync","async","locale","rev","major","minor","patch","flag","revision","v","Function","exit","exitcode","quit","console","tn","cn","tcn","a","unshift","_fake","isDebug","deprecated","experimental","behaviour","extra","removal","message","warn","modulePaths","paths","moduleUrl","result","_hasResource","rawConfig","adviseHas","featureSet","prefix","booting","dojoConfig","djConfig","language","userLanguage","dua","userAgent","dav","tv","$1","os","SVGAngle","opera","wiiremote","maj","ff","d-webkit","d-safari","d-chrome","d-gecko","d-ios","d-android","classStr","clz","className","typematic","_fireEventAndReload","_timer","_callback","_count","_node","_evt","_currentTimeout","_initialDelay","_subsequentDelay","round","_minDelay","setTimeout","bind","trigger","evt","_this","subsequentDelay","initialDelay","minDelay","_obj","stop","faux","attr","clearTimeout","addKeyListener","keyObject","handles","on","ctrlKey","altKey","metaKey","shiftKey","stopPropagation","preventDefault","remove","forEach","addMouseListener","addListener","mouseNode","keyNode","css","themeMap","getTheme","theme","search","ua","onload","commonCss","resources","buildFunctions","addOnce","loadList","layersMap","deps","writePluginFiles","resource","onLayerEnd","data","getLayerPath","pathRE","themeDir","themedLoadList","writeLayer","writeConfig","register","getElement","tag","elementCache","attrName","attrMap","proto","prop","generateWatchCode","dependencies","statement","observeText","generateNodeChildrenCode","children","buildText","child","idx","childName","generateNodeCode","textNodeName","expr","dependsOn","createNode","templateNode","ap","attachPoints","xmlns","info","propName","js","codeToSetProp","connects","handler","codegen","rootNodeName","createRootNode","tree","compile","dcl","base","registry","extends","upgrade","getPropDescriptors","keys","getOwnPropertyNames","getOwnPropertyDescriptor","getPrototypeOf","__upgraded__","widget","__proto__","defineProperties","_constructor","createdCallback","attachedCallback","contains","getTagConstructor","baseElement","baseCtor","HTMLElement","tags","tagMap","TypeError","registerElement","selectors","tagConstructor","params","srcNodeRef","cssText","_ctor","restore","extension","superclasses","bases","_baseElement","_introspect","_propsToObserve","_getProps","_introspected","parse","root","querySelectorAll","startup","_started","mix","defineProperty","configurable","writable","enumerable","HTMLAnchorElement","HTMLBaseElement","br","HTMLBRElement","button","HTMLButtonElement","canvas","HTMLCanvasElement","div","HTMLDivElement","dl","HTMLDListElement","directory","HTMLDirectoryElement","fieldset","HTMLFieldSetElement","font","HTMLFontElement","HTMLFormElement","head","HTMLHeadElement","h1","HTMLHeadingElement","html","HTMLHtmlElement","hr","HTMLHRElement","iframe","HTMLIFrameElement","img","HTMLImageElement","HTMLInputElement","label","HTMLLabelElement","legend","HTMLLegendElement","li","HTMLLIElement","link","HTMLLinkElement","HTMLMapElement","menu","HTMLMenuElement","meta","HTMLMetaElement","ins","HTMLModElement","object","HTMLObjectElement","ol","HTMLOListElement","optgroup","HTMLOptGroupElement","option","HTMLOptionElement","HTMLParagraphElement","param","HTMLParamElement","HTMLPreElement","quote","HTMLQuoteElement","script","HTMLScriptElement","select","HTMLSelectElement","HTMLStyleElement","table","HTMLTableElement","caption","HTMLTableCaptionElement","col","HTMLTableColElement","tr","HTMLTableRowElement","tbody","HTMLTableSectionElement","textarea","HTMLTextAreaElement","title","HTMLTitleElement","ul","HTMLUListElement","video","HTMLVideoElement","after","before","around","superCall","advise","place","BackgroundIframe","Viewport","isDocLtr","destroyWrapper","_popupWrapper","removeChild","PopupManager","_stack","_beginZIndex","_idGen","_repositionAll","_firstAroundNode","oldPos","_firstAroundPosition","newPos","dx","dy","wrapper","_aroundMoveListener","_createWrapper","appendChild","visibility","moveOffScreen","ltr","hide","border","_originalStyle","getTopPopup","stack","pi","parent","onKeyDown","keyCode","ESCAPE","onCancel","TAB","topPopup","popup","orient","isLeftToRight","maxHeight","Infinity","viewport","getEffectiveBox","aroundPos","padding","borderStyle","borderLeftColor","overflowY","baseClass","zIndex","bgIframe","layoutFunc","best","at","handlers","removeEventListener","onExecute","onClose","onOpen","some","elem","destroy","_place","choices","layoutNode","aroundNodeCoords","view","choice","corner","pos","spaceAvailable","L","R","M","T","B","res","aroundCorner","oldDisplay","oldVis","bb","startXpos","min","startYpos","startX","startY","endX","endY","side","reverse","TL","TR","BL","BR","corners","c","anchor","positions","leftToRight","aroundNodePos","anchorBorder","anchorChildBorder","firstElementChild","nodeBorder","nodeChildBorder","sawPosAbsolute","parentPos","bottomYCoord","rightXCoord","bcr","BACKSPACE","CLEAR","ENTER","SHIFT","CTRL","ALT","META","PAUSE","CAPS_LOCK","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT_ARROW","UP_ARROW","RIGHT_ARROW","DOWN_ARROW","INSERT","DELETE","HELP","LEFT_WINDOW","RIGHT_WINDOW","SELECT","NUMPAD_0","NUMPAD_1","NUMPAD_2","NUMPAD_3","NUMPAD_4","NUMPAD_5","NUMPAD_6","NUMPAD_7","NUMPAD_8","NUMPAD_9","NUMPAD_MULTIPLY","NUMPAD_PLUS","NUMPAD_ENTER","NUMPAD_MINUS","NUMPAD_PERIOD","NUMPAD_DIVIDE","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15","NUM_LOCK","SCROLL_LOCK","UP_DPAD","DOWN_DPAD","LEFT_DPAD","RIGHT_DPAD","copyKey","template","toJs","convertUndefinedToBlank","inVar","wp","thisVar","textPlugin","handlebars","attrs","parseChildren","lastRealNode","childType","nodeValue","toDom","templateText","parser","DOMParser","parseFromString","container","templateDom","func","mid","loaderConfig","requires","domClass","Evented","lastFocusin","lastTouchOrFocusin","FocusManager","activeStack","registerIframe","registerWin","contentWindow","targetWindow","effectiveNode","pointerDownHandler","_onTouchNode","focusHandler","_onFocusNode","blurHandler","_onBlurNode","_clearActiveWidgetsTimer","_setStack","by","newStack","popupParent","buildRendering","disabled","_clearFocusTimer","oldStack","lastOldIdx","lastNewIdx","emit","_hasBeenBlurred","focused","_onBlur","_onFocus","focus","singleton","runCallbacks","callbacks","callReady","readyCalls","isPageLoaded","pageLoaded","scrollIntervalId","clearInterval","domReady","isTop","testDiv","attachEvent","doScroll","external","setInterval","array","str2array","spaces","a1","cls","fakeNode","oldLen","len","substr","addClassStr","removeClassStr","toggle","condition","buildFn","fn","everyOrSome","every","o","up","delta","lOver","uOver","from","last","lastIndexOf","end","Ctr","out","clearCache","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","Deferred","wk","parseInt","lastInsertedLink","listenOnLoad","def","loadHandler","resolve","sheet","styleSheet","styleSheets","promise","loadCss","rel","insertBefore","then","cssConf","JSON","stringify","CleanCSS","getNodePath","relativeTo","minify","ary","CancelError","Promise","instrumentation","PROGRESS","RESOLVED","REJECTED","FULFILLED_ERROR_MESSAGE","freezeObject","freeze","signalWaiting","waiting","rejection","deferred","instrumentRejected","signalListener","listener","newResult","signalDeferred","cancel","makeDeferredSignaler","isCanceled","progress","reject","canceler","fulfilled","canceled","captureStackTrace","isResolved","isRejected","isFulfilled","update","strict","progback","reason","returnedReason","throwAbstract","always","callbackOrErrback","otherwise","trace","traceRejected","dojoType","ErrorCtor","clickKey","hasAttribute","lastKeyDownNode","defaultPrevented","clickEvent","createEvent","initMouseEvent","dispatchEvent","a11y","_isElementShown","hasDefaultTabStop","contentDocument","designMode","contentEditable","effectiveTabIndex","isTabNavigable","isFocusable","_getTabNavigable","radioName","walkTree","shown","tabindex","first","lowest","lowestTabindex","highest","highestTabindex","rn","checked","radioSelected","toUpperCase","getFirstInTabbingOrder","elems","getLastInTabbingOrder","Invalidating","CustomElement","Bidi","cnt","Widget","_setBaseClassAttr","_set","containerNode","widgetId","preCreate","postCreate","refreshRendering","_templateHandle","refresh","_attached","tabIndex","desc","self","MO","MutationObserver","WebKitMutationObserver","observer","newValue","observe","subtree","attributeFilter","setOrRemoveAttribute","findCustomElements","_destroyed","getChildren","getParent","getEnclosingWidget","placeAt","reference","replaceChild","lastChild","childNodes","onFocus","onBlur","chainAfter","oldWidth","oldHeight","focusedNode","activeElement","readOnly","orientation","rect","Store","getvalue","key","store","setvalue","propregexp","capitalize","allowRemap","_mappedKeys","copyAllItemProps","_parseAttr","sup","_propCaseMap","_parseFunctionAttr","mappedKeys","_itemKeys","deliver","renderItemToItem","renderItem","idProperty","itemToRenderItem","__item","getIdentity","remap","items","renderItems","j","when","query","processQueryResult","initItems","cancelable","bubbles","computeProperties","queryStoreAndInitItems","_untrack","collection","track","_tracked","_itemAdded","_itemUpdated","_itemRemoved","fetch","_queryError","log","tracking","itemRemoved","splice","itemAdded","itemUpdated","itemMoved","previousIndex","newIndex","notifyCurrentValue","valueOrPromise","receivedPromise","nativePromise","selectionMode","_setSelectionModeAttr","selectedItems","selectedItem","_setSelectedItemAttr","_setSelectedItemsAttr","oldSelectedItems","updateRenderers","_getSelectedItemsAttr","_get","hasSelectionModifier","isSelected","identity","sitem","setSelected","_setSelected","sel","selectFromEvent","renderer","dispatch","_selectFromEvent","changed","oldSelectedItem","selected","dispatchSelectionChange","newSelectedItem","triggerEvent","oldValue","baseFx","easing","scrollDirection","scrollableNode","_stopAnimation","isTopScroll","isBottomScroll","isLeftScroll","isRightScroll","getCurrentScroll","scrollBy","duration","to","scrollTo","anim","Curve","start","getValue","animation","Animation","beforeBegin","curve","onAnimate","val","expoInOut","rate","_animation","play","easingFuncs","linear","quadIn","pow","quadOut","quadInOut","cubicIn","cubicOut","cubicInOut","quartIn","quartOut","quartInOut","quintIn","quintOut","quintInOut","sineIn","cos","PI","sineOut","sin","sineInOut","expoIn","expoOut","circIn","sqrt","circOut","circInOut","backIn","backOut","backInOut","elasticIn","elasticOut","elasticInOut","bounceIn","bounceOut","bounceInOut","Color","aspect","basefx","_Line","repeat","_percent","_startRepeatCount","_getStep","_p","_e","_fire","debugAtAllCosts","delay","gotoStart","_t","_delayTimer","_clearTimer","_stopTimer","_active","_paused","_play","_startTime","valueOf","_cycle","pause","gotoPercent","percent","andPlay","gotoEnd","curr","step","_startTimer","ctr","timer","runner","run","_makeFadeable","_fade","fArgs","properties","animateProperty","fadeIn","fadeOut","_defaultEasing","PropLine","_properties","tempColor","blendColors","toCss","units","getStyle","isColor","pm","onEnd","_Animation","dispatcher","advice","receiveArguments","signal","previous","advised","next","nextId","methodName","existing","executionId","results","newResults","ArrayUtil","color","setColor","black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","transparent","transparentColor","g","fromString","fromArray","sanitize","toRgb","toRgba","toHex","includeAlpha","rgb","weight","fromRgb","colorFromRgb","m","fromHex","colorFromHex","bits","mask","Number","colorFromArray","colorFromString","dontFix","matchesTarget","selector","touchEvents","fixTouchListener","addStopImmediate","capture","captures","adjustedType","fixAttach","syntheticPreventDefault","syntheticStopPropagation","ScriptEngineMajorVersion","ScriptEngineMinorVersion","Event","stopImmediatePropagation","pausable","paused","resume","once","events","eventName","eventType","eventTarget","bubble","syntheticDispatch","newEvent","focusin","focusout","immediatelyStopped","modified","nativeEvent","initEvent","_fixEvent","sender","lastEvent","srcElement","currentTarget","relatedTarget","fromElement","toElement","charCode","_setKeyChar","IESignal","handle","_dojoIEListeners_","fixListener","emitter","listeners","oldListener","keyChar","fromCharCode","charOrCode","cancelBubble","_preventDefault","bubbledKeyCode","returnValue","windowOrientation","originalEvent","corrected","rotation","scale","firstChangeTouch","changedTouches","takesInput","focusedChild","_keyNavCodes","childSelector","_getTargetElement","_selectorFunc","matchesFuncName","keyCodes","focusFirstChild","focusLastChild","_onLeftArrow","_onRightArrow","_onUpArrow","_onDownArrow","_onContainerKeypress","_onContainerKeydown","_onContainerFocus","_onChildFocus","focusChild","_getNext","_savedTabIndex","_searchString","multiCharSearchDuration","onKeyboardSearch","_keyboardSearchCompare","searchString","focusNode","textContent","currentString","_searchTimer","_keyboardSearch","matchedItem","numMatches","allSameLetter","searchLen","defer","currentItem","rc","dfsNext","nextElementSibling","dfsLast","lastElementChild","dfsPrev","previousElementSibling","origChild","_buttonNode","_arrowWrapperNode","_popupStateNode","_aroundNode","dropDown","autoWidth","forceWidth","dropDownPosition","_stopClickEvents","opened","_onDropDownMouseDown","_docHandler","_onDropDownMouseUp","toggleDropDown","overMenu","onItemClick","menuItem","onClick","focusOnOpen","hovering","_focusDropDownTimer","_onDropDownClick","defaultPos","_onKey","_onKeyUp","closeDropDown","d","handleKey","_toggleOnKeyUp","isLoaded","loadDropDown","loadCallback","loadAndOpenDropDown","afterLoad","openDropDown","aroundNode","retVal","widthAdjust","alt","tabStops","oldValues","isDisabled","valueNode","FormWidget","genHandler","prevValueProp","deferHandleProp","compare","isReadOnly","val1","val2","_previousOnChangeValue","_previousOnInputValue","handleOnChange","handleOnInput","Container","show","loadDeferred","displayDeferred","getIndexOfChild","addChild","changeDisplay","DialogUnderlay","_modalConnects","_onKeyDown","layout","_open","underlay","_singleton","Observable","Destroyable","Stateful","reduce","part","REGEXP_SHADOW_PROPS","hash","pcm","_observable","_parsedAttributes","_mapAttributes","_created","pa","_parsePrototypeAttr","stringToObject","eval","SyntaxError","parsedAttrs","attrsToRemove","parsedAttr","eventObj","_beingDestroyed","blur","own","propsToObserve","PropertyListObserver","getChildrenHelper","outAry","booleanCssProps","oldVals","state","insertIndex","isInstanceOf","hasChildren","LRE","RLE","PDF","textDir","getTextDir","_checkContextual","fdc","applyTextDir","wrapWithUcc","enforceTextDirWith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