From 0155f1b3fdc6c9a6631fd60c57809f687abb387c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Mathieu?= Date: Fri, 12 Sep 2014 18:32:23 +0200 Subject: [PATCH] Update to delite 0.3.0-alpha --- bower.json | 6 +++--- layer.js | 8 ++++---- layer.map | 2 +- themes/layer_bootstrap.css | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bower.json b/bower.json index 59cdf19..69068e0 100644 --- a/bower.json +++ b/bower.json @@ -1,16 +1,16 @@ { "name": "delite-build", - "version": "0.2.0-dev", + "version": "0.3.0-alpha", "dependencies": { "dojo": ">=1.9.1", "requirejs": "2.1.x", "requirejs-domready": "2.0.x", "requirejs-text": "2.0.x", "decor-build": "0.2.0-dev", - "dpointer-build": "0.1.x" + "dpointer-build": "0.3.x" }, "devDependencies": { - "delite": "0.2.0-dev" + "delite": "0.3.0-alpha" }, "ignore": [ ".jshintrc", diff --git a/layer.js b/layer.js index 41ff2d1..e1dd763 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/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(c,e){var f,g,h=c.hasAttribute("is")?c.getAttribute("is"):c.tagName.replace(/^template-/i,"").toLowerCase(),i=a.getElement(h),j={},k={},l=0,m=c.attributes;for(l=0;g=m[l];l++)if(g.value)switch(g.name){case"xmlns":e=g.value;break;case"is":break;case"attach-point":case"data-attach-point":f=g.value.split(/, */);break;default:if(/^on-/.test(g.name))k[g.name.substring(3)]=g.value.replace(/\s*({{|}})\s*/g,"");else{var n=a.getProp(h,g.name);j[g.name]=n&&"string"!=typeof i[n]&&!/{{/.test(g.value)&&"style.cssText"!==n?{expr:g.value,dependsOn:[]}:b(g.value,"class"===g.name)}}return{tag:h,xmlns:e,attributes:j,connects:k,children:d.parseChildren(c,e),attachPoints:f}},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]+)/g,"$1template-$2"),a=a.replace(/template-(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)/g,"$1");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)}})}); +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:a.global.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=function(){return 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=function(){return this}(),i={},j={},k={config:b,global:h,dijit:i,dojox:j},l={dojo:["dojo",k],dijit:["dijit",i],dojox:["dojox",j]},m=c.map&&c.map[d.id.match(/[^\/]+/)[0]];for(f in m)l[f]?l[f][0]=m[f]:l[f]=[m[f],{}];for(f in l)g=l[f],g[1]._scopeName=g[0],b.noGlobals||(h[g[0]]=g[1]);k.scopeMap=l,k.baseUrl=k.config.baseUrl=c.baseUrl,k.isAsync=!a("dojo-loader")||c.async,k.locale=b.locale;var n="$Rev: 2bde291 $".match(/[0-9a-f]{7,}/);if(k.version={major:1,minor:10,patch:1,flag:"",revision:n?n[0]:0/0,toString:function(){var a=k.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]);}")(k),k.exit=a("host-rhino")?function(a){quit(a)}:function(){},a.add("dojo-guarantee-console",1),a("dojo-guarantee-console")){"undefined"!=typeof console||(console={});var o,p=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(e=0;o=p[e++];)console[o]||!function(){var a=o+"";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),k.deprecated=k.experimental=function(){},a("dojo-debug-messages")&&(k.deprecated=function(a,b,c){var d="DEPRECATED: "+a;b&&(d+=" "+b),c&&(d+=" -- will be removed in version: "+c),console.warn(d)},k.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){k.deprecated("dojo.modulePaths","use paths configuration");var q={};for(f in b.modulePaths)q[f.replace(/\./g,"/")]=b.modulePaths[f];c({paths:q})}return a.add("dojo-moduleUrl",1),a("dojo-moduleUrl")&&(k.moduleUrl=function(a,b){k.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var d=null;return a&&(d=c.toUrl(a.replace(/\./g,"/")+(b?"/"+b:"")+"/*.*").replace(/\/\*\.\*/,"")+(b?"":"/")),d}),k._hasResource={},k}),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)},g=function(){return this}();c=a("dojo-loader")?b.rawConfig:g.dojoConfig||g.djConfig||{},f(c,"config",1),f(c.has,"",1)}if(!c.locale&&"undefined"!=typeof navigator){var h=navigator.language||navigator.userLanguage;h&&(c.locale=h.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){for(var i=this._stack,j=a.popup,k=a.orient||["below","below-alt","above","above-alt"],l=a.parent?a.parent.isLeftToRight():h(j.ownerDocument),m=a.around,n=a.around&&a.around.id?a.around.id+"_dropdown":"popup_"+this._idGen++;i.length&&(!a.parent||!i[i.length-1].widget.contains(a.parent));)this.close(i[i.length-1].widget); +var o=this.moveOffScreen(j);j.startup&&!j._started&&j.startup();var p;if("maxHeight"in a&&-1!==a.maxHeight)p=a.maxHeight||1/0;else{var q=g.getEffectiveBox(j.ownerDocument),r=m?m.getBoundingClientRect():{top:a.y-(a.padding||0),height:2*(a.padding||0)};p=Math.floor(Math.max(r.top,q.h-(r.top+r.height)))}j.offsetHeight>p&&(o.style.height=p+"px"),b.mix(o,{id:n,className:"d-popup "+(j.baseClass||j["class"]||"").split(" ")[0]+"Popup"}),o.style.zIndex=this._beginZIndex+i.length,o._popupParent=a.parent?a.parent:null,0===i.length&&m&&(this._firstAroundNode=m,this._firstAroundPosition=e.position(m),this._aroundMoveListener=setTimeout(this._repositionAll.bind(this),50)),c("config-bgIframe")&&!j.bgIframe&&(j.bgIframe=new f(o));var s=j.orient?j.orient.bind(j):null,t=m?e.around(o,m,k,l,s):e.at(o,a,"R"===k?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],a.padding,s);o.style.visibility="visible",j.style.visibility="visible";var u=[],v=function(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.onCancel()}}.bind(this);o.addEventListener("keydown",v),u.push({remove:function(){o.removeEventListener("keydown",v)}}),a.onCancel&&u.push(j.on("cancel",a.onCancel));var w=function(){var a=this.getTopPopup();a.onExecute()}.bind(this);return u.push(j.on("change",w),j.on("execute",w)),i.push({widget:j,wrapper:o,parent:a.parent,onExecute:a.onExecute,onCancel:a.onCancel,onClose:a.onClose,handlers:u}),j.onOpen&&j.onOpen(t),t},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+")"),a.match(/this\.(\w+)/g).forEach(function(a){e[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(c,e){var f,g,h=c.hasAttribute("is")?c.getAttribute("is"):c.tagName.replace(/^template-/i,"").toLowerCase(),i=a.getElement(h),j={},k={},l=0,m=c.attributes;for(l=0;g=m[l];l++)if(g.value)switch(g.name){case"xmlns":e=g.value;break;case"is":break;case"attach-point":case"data-attach-point":f=g.value.split(/, */);break;default:if(/^on-/.test(g.name))k[g.name.substring(3)]=g.value.replace(/\s*({{|}})\s*/g,"");else{var n=a.getProp(h,g.name);j[g.name]=n&&"string"!=typeof i[n]&&!/{{/.test(g.value)&&"style.cssText"!==n?{expr:g.value,dependsOn:[]}:b(g.value,"class"===g.name)}}return{tag:h,xmlns:e,attributes:j,connects:k,children:d.parseChildren(c,e),attachPoints:f}},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]+)/g,"$1template-$2"),a=a.replace(/]*)\/?>/g,"");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;)if(a._popupParent)a=a._popupParent;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(e){}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.focused=!1,f._onBlur&&f._onBlur(),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:"",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),"baseClass"in a&&c.replace(this,this.baseClass,a.baseClass),"dir"in a&&c.toggle(this,"d-rtl",!this.isLeftToRight())},attachedCallback:function(){this._attached=!0;for(var a=this.tabIndex,b=this;b;b=Object.getPrototypeOf(b)){var c=Object.getOwnPropertyDescriptor(b,"tabIndex");if(c&&c.set){this.hasAttribute("tabindex")&&(this.removeAttribute("tabindex"),c.set.call(this,a));var d=this;if("WebKitMutationObserver"in window){var e=window.MutationObserver||WebKitMutationObserver,f=new e(function(){var a=d.getAttribute("tabindex");null!==a&&(d.removeAttribute("tabindex"),c.set.call(d,a))});f.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))},setClassComponent:function(a,b,d){d||(d=this);var e="_"+a+"Class";c.replace(d,b,d[e]||""),d[e]=b},setOrRemoveAttribute:function(a,b,c){void 0===c?a.removeAttribute(b):a.setAttribute(b,""+c)},postCreate:function(){this._templateHandle&&this._templateHandle.dependencies.forEach(this.notifyCurrentValue,this),["dir","baseClass"].forEach(this.notifyCurrentValue,this)},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/Template",["./register"],function(a){function b(b){return b in d||(d[b]=a.createElement(b)),d[b]}function c(a,c){if(!(a in e)){var d=b(a),f=e[a]={};for(var g in d)f[g.toLowerCase()]=g;f.style="style.cssText"}return e[a][c]}var d={},e={},f=a.dcl(null,{constructor:function(a,b,c){this.buildText=[],this.observeText=[],this.dependsOn={},this.generateNodeCode(b||"this",c,a),this.text=this.buildText.join("\n")+"\nreturn {\n dependencies: "+JSON.stringify(Object.keys(this.dependsOn))+",\n refresh: function(props){\n "+this.observeText.join("\n ")+"\n }.bind(this)\n};\n",this.func=new Function("document","register",this.text)},text:"",func:null,generateWatchCode:function(a,b){this.observeText.push("if("+a.map(function(a){return"'"+a+"' in props"}).join(" || ")+")"," "+b+";"),a.forEach(function(a){this.dependsOn[a]=!0},this)},generateNodeChildrenCode:function(a,b){b.forEach(function(b,c){var d=("this"===a?"":a)+"c"+(c+1);if(b.tag)this.generateNodeCode(d,!0,b),this.buildText.push(a+".appendChild("+d+");");else{var e=d+"t"+(c+1);this.buildText.push("var "+e+" = document.createTextNode("+(b.dependsOn.length?"''":b.expr)+");",a+".appendChild("+e+");"),b.dependsOn.length&&this.generateWatchCode(b.dependsOn,e+".nodeValue = "+b.expr)}},this)},generateNodeCode:function(a,b,d){var e=(d.attachPoints||[]).map(function(a){return"this."+a+" = "}).join("");b?this.buildText.push("var "+a+" = "+e+(d.xmlns?"document.createElementNS('"+d.xmlns+"', '"+d.tag+"');":"register.createElement('"+d.tag+"');")):e&&this.buildText.push(e+a+";");for(var f in d.attributes){var g=d.attributes[f],h=c(d.tag,f),i=g.expr;"class"!==f||d.xmlns?g.dependsOn.length?this.generateWatchCode(g.dependsOn,h?a+"."+h+" = "+i:"this.setOrRemoveAttribute("+a+", '"+f+"', "+i+")"):this.buildText.push(h?a+"."+h+" = "+i:a+".setAttribute('"+f+"', "+i+");"):g.dependsOn.length?this.generateWatchCode(g.dependsOn,"this.setClassComponent('template', "+i+", "+a+")"):this.buildText.push("this.setClassComponent('template', "+i+", "+a+")")}/-/.test(d.tag)&&(this.buildText.push(a+".deliver();"),this.observeText.push(a+".deliver();"));for(var j in d.connects){var k=d.connects[j],l=/^[a-zA-Z0-9_]+$/.test(k)?"this."+k+".bind(this)":"function(event){"+k+"}";this.buildText.push("this.on('"+j+"', "+l+", "+a+");")}this.generateNodeChildrenCode(a,d.children)}});return f.getElement=b,f.getProp=c,f}),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}),c("touch")&&c.add("touch-can-modify-event-delegate",function(){var a=function(){};a.prototype=document.createEvent("MouseEvents");try{var b=new a;return b.target=null,null===b.target}catch(c){return!1}})}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/dom-class","dojo/when","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"],opened:!1,_dropDownPointerDownHandler:function(){this.disabled||this.readOnly||(this._docHandler=this.on("pointerup",this._dropDownPointerUpHandler.bind(this),this.ownerDocument.body),this.toggleDropDown())},_dropDownPointerUpHandler:function(a){if(this._docHandler&&(this._docHandler.remove(),this._docHandler=null),this._currentDropDown){var c=g.position(this._buttonNode);if(!(a.pageX>=c.x&&a.pageX<=c.x+c.w&&a.pageY>=c.y&&a.pageY<=c.y+c.h)){for(var d,e=a.target;e&&!d;){if(b.contains(e,"d-popup")){d=!0;break}e=e.parentNode}if(d){if(this._currentDropDown.handleSlideClick){var f=this.getEnclosingWidget(a.target);f.handleSlideClick(f,a)}return}}}this._openDropDownPromise?this.focusDropDownOnOpen(!this.hovering):this.focus&&this.defer(this.focus)},focusDropDownOnOpen:function(a){this._openDropDownPromise.then(function(b){var c=b.dropDown;c.focus&&(a||c.focusOnOpen!==!1)&&(this._focusDropDownTimer=this.defer(function(){c.focus(),delete this._focusDropDownTimer}))}.bind(this))},buildRendering:a.after(function(){this._buttonNode=this._buttonNode||this.focusNode||this,this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode}),postCreate:function(){this.on("pointerdown",this._dropDownPointerDownHandler.bind(this),this._buttonNode),this.on("keydown",this._dropDownKeyDownHandler.bind(this),this.focusNode||this),this.on("keyup",this._dropDownKeyUpHandler.bind(this),this.focusNode||this),this.on("pointerenter",function(){this.hovering=!0}.bind(this)),this.on("pointerleave",function(){this.hovering=!1}.bind(this)),this.on("touchend",function(a){a.preventDefault()},this._buttonNode),this.on("click",function(a){a.preventDefault(),a.stopPropagation()},this._buttonNode),this.notifyCurrentValue("dropDownPosition")},refreshRendering:function(a){if("dropDownPosition"in a){var b={after:this.isLeftToRight()?"right":"left",before:this.isLeftToRight()?"left":"right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"down";this.setClassComponent("arrowDirectionIcon","d-"+b+"-arrow",this._arrowWrapperNode||this._buttonNode)}},destroy:function(){this.opened&&this.closeDropDown(!0),this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroy(),delete this.dropDown)},_dropDownKeyDownHandler:function(a){if(!this.disabled&&!this.readOnly){var b=this._currentDropDown,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._openOnKeyUp=!0,a.stopPropagation(),a.preventDefault()))}},_dropDownKeyUpHandler:function(){this._openOnKeyUp&&(delete this._openOnKeyUp,this.openDropDown(),this.focusDropDownOnOpen(!0))},_onBlur:a.before(function(){this.closeDropDown(!1)}),loadDropDown:function(){return this.dropDown},toggleDropDown:function(){return this.disabled||this.readOnly?void 0:this.opened?this.closeDropDown(!0):this.openDropDown()},openDropDown:function(){return this._openDropDownPromise||(this._openDropDownPromise=c(this.loadDropDown()).then(function(a){this._currentDropDown=a;var c=this._aroundNode||this,d=this,e=h.open({parent:this,popup:a,around:c,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){d.closeDropDown(!0)},onCancel:function(){d.closeDropDown(!0)},onClose:function(){b.remove(d._popupStateNode,"d-drop-down-open"),this.opened=!1}});if(this.forceWidth||this.autoWidth&&c.offsetWidth>a._popupWrapper.offsetWidth){var f=c.offsetWidth-a._popupWrapper.offsetWidth;a._popupWrapper.style.width=c.offsetWidth+"px","R"===e.corner[1]&&(a._popupWrapper.style.left=a._popupWrapper.style.left.replace("px","")-f+"px")}return b.add(this._popupStateNode,"d-drop-down-open"),this.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),{dropDown:a,position:e}}.bind(this)))},closeDropDown:function(a){this._openDropDownPromise&&(this._openDropDownPromise.isFulfilled()||this._openDropDownPromise.cancel(),delete this._openDropDownPromise),this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer),this.opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),a&&this.focus&&this.focus(),h.close(this._currentDropDown),this.opened=!1),delete this._currentDropDown}})}),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){}},setAttribute:a.superCall(function(a){return function(b,c){/^aria-/.test(b)?this.focusNode.setAttribute(b,c):a.call(this,b,c)}}),getAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.focusNode.getAttribute(b):a.call(this,b)}}),hasAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.focusNode.hasAttribute(b):a.call(this,b) +}}),removeAttribute:a.superCall(function(a){return function(b){/^aria-/.test(b)?this.focusNode.removeAttribute(b):a.call(this,b)}}),createdCallback:a.advise({after:function(){for(var a,b=0;a=this.attributes[b++];)/^aria-/.test(a.name)&&(this.setAttribute(a.name,a.value),HTMLElement.prototype.removeAttribute.call(this,a.name))}})})}),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)}),appendChild:a.superCall(function(a){return function(b){var c=a.call(this,b);return this.onAddChild(b),c}}),insertBefore:a.superCall(function(a){return function(b,c){var d=a.call(this,b,c);return this.onAddChild(b),d}}),onAddChild:function(a){this._started&&!a._started&&a.startup&&a.startup()},addChild:function(a,b){var c=this.containerNode,d=c.children[b];c.insertBefore(a,d||null)},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 d5f91e3..e20cf26 100644 --- a/layer.map +++ b/layer.map @@ -1 +1 @@ -{"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","hasAttribute","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","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","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,MAAMnB,EACxBkB,KACAD,EAAUC,EAAQ,QAGtBD,GAAU,EAEd,OAAOA,IAGXG,SAAU,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MAAQ,OACrBiiB,EAAO5iB,MAAMY,OAAS,SAOxB6pB,QAAS,WACJve,KAAK0zC,QACR1zC,KAAK0zC,MAAMlmC,SACXxN,KAAK0zC,MAAQ,MAEV1zC,KAAK0W,SACR1W,KAAK0W,OAAOrf,WAAWyjB,YAAY9a,KAAK0W,QACxC+8B,EAAQ/uC,KAAK1E,KAAK0W,cACX1W,MAAK0W"} \ 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\\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\\Template.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","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","this","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","dcl","tag","base","registry","extends","upgrade","getPropDescriptors","proto","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","setClassComponent","_ctor","restore","extension","register","superclasses","bases","_baseElement","_introspect","_propsToObserve","_getProps","_introspected","parse","root","idx","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","moveOffScreen","ltr","visibility","hide","getTopPopup","stack","pi","parent","popup","orient","isLeftToRight","maxHeight","Infinity","viewport","getEffectiveBox","aroundPos","padding","baseClass","zIndex","_popupParent","bgIframe","layoutFunc","best","at","handlers","onKeyDown","keyCode","ESCAPE","onCancel","TAB","topPopup","removeEventListener","executeHandler","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","border","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","prop","thisVar","expr","dependsOn","textPlugin","handlebars","templateNode","xmlns","attachPoints","hasAttribute","getElement","connects","attrs","propName","children","parseChildren","lastRealNode","child","childType","nodeValue","toDom","templateText","parser","DOMParser","parseFromString","container","compile","templateDom","tree","template","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","buildRendering","disabled","_clearFocusTimer","oldStack","lastOldIdx","lastNewIdx","emit","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","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","containerNode","widgetId","preCreate","postCreate","refreshRendering","oldVals","_templateHandle","refresh","_attached","tabIndex","desc","self","MO","MutationObserver","WebKitMutationObserver","observer","newValue","observe","subtree","attributeFilter","component","oldValProp","setOrRemoveAttribute","dependencies","notifyCurrentValue","findCustomElements","_destroyed","getChildren","getParent","getEnclosingWidget","placeAt","reference","replaceChild","lastChild","childNodes","onFocus","onBlur","chainAfter","oldWidth","oldHeight","focusedNode","activeElement","readOnly","orientation","rect","elementCache","attrName","attrMap","rootNodeName","createRootNode","buildText","observeText","generateNodeCode","generateWatchCode","statement","generateNodeChildrenCode","childName","textNodeName","createNode","ap","info","js","handler","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","_refreshHandler","processCollection","fetch","_queryError","log","tracking","itemRemoved","splice","itemAdded","itemUpdated","itemMoved","previousIndex","newIndex","valueOrPromise","receivedPromise","nativePromise","_set","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","EventDelegate","eventDelegate","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","opened","_dropDownPointerDownHandler","_docHandler","_dropDownPointerUpHandler","toggleDropDown","_currentDropDown","overMenu","handleSlideClick","menuItem","_openDropDownPromise","focusDropDownOnOpen","hovering","keyboard","focusOnOpen","_focusDropDownTimer","_dropDownKeyDownHandler","_dropDownKeyUpHandler","defaultPos","closeDropDown","handleKey","_openOnKeyUp","openDropDown","loadDropDown","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","state","onAddChild","newChild","refChild","insertIndex","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,MAAMnB,EACxBkB,KACAD,EAAUC,EAAQ,QAGtBD,GAAU,EAEd,OAAOA,IAGXG,SAAU,SAAUH,GAChB,MAAOA,GAAQX,QAAQ,WAAY,QAC9BA,QAAQ,QAAS,OACjBA,QAAQ,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,YAAYjjD,EAAKwW,YAUxC4sC,oBAAqB,SAAUC,GAC1BA,EAAQF,eACXE,EAAQpoD,KAAOooD,EAAQF,mBAChBE,GAAQF,kBChHnBpoD,OAAO,2BACN,UACA,cACE,SAAUukB,EAAK3b,GAKjB,GAAI2/C,GAAS,WACZ,GAAIC,KAEJtvC,MAAKpB,IAAM,WACV,GAAI4R,EAaJ,OAZI8+B,GAAM1lD,QACT4mB,EAAS8+B,EAAM1wC,MACf4R,EAAO3gB,MAAMwI,QAAU,KAEvBmY,EAASxf,SAAS0Q,cAAc,UAChC8O,EAAO5P,IAAM,gBACb4P,EAAOrJ,UAAY,sBACnBqJ,EAAO3U,aAAa,OAAQ,gBAG5B2U,EAAOmd,SAAW,IAEZnd,GAGRxQ,KAAKS,KAAO,SAAU+P,GACrBA,EAAO3gB,MAAMwI,QAAU,OACvBi3C,EAAM7uC,KAAK+P,KAGT++B,EAAU,GAAIF,EAQlB,OAAOhkC,GAAI,MACVrK,YAAa,SAAUjV,GACtB,GAAI2D,EAAI,mBAAoB,CAC3B,GAAI8gB,GAAUxQ,KAAKwQ,OAAS++B,EAAQ3wC,KACpC7S,GAAK4pB,YAAYnF,GACjBA,EAAO3gB,MAAMW,MAAQ,OACrBggB,EAAO3gB,MAAMY,OAAS,SAOxBynB,QAAS,WACJlY,KAAKwvC,QACRxvC,KAAKwvC,MAAMjmC,SACXvJ,KAAKwvC,MAAQ,MAEVxvC,KAAKwQ,SACRxQ,KAAKwQ,OAAOpd,WAAWwhB,YAAY5U,KAAKwQ,QACxC++B,EAAQ9uC,KAAKT,KAAKwQ,cACXxQ,MAAKwQ"} \ No newline at end of file diff --git a/themes/layer_bootstrap.css b/themes/layer_bootstrap.css index 0293e3a..9193441 100644 --- a/themes/layer_bootstrap.css +++ b/themes/layer_bootstrap.css @@ -1 +1 @@ -.d-disabled,.d-disabled *,.d-readonly,.d-readonly *{cursor:default}.d-reset{margin:0;border:0;padding:0;font:inherit;line-height:normal;color:inherit}.d-inline{display:inline-block;border:0;padding:0;vertical-align:middle}.d-hidden,[d-hidden=true],[d-shown=false]{display:none}.d-invisible,[d-invisible=true],[d-visible=false]{visibility:hidden}.d-popup{position:absolute;background-color:transparent;margin:0;border:0;padding:0;-webkit-overflow-scrolling:touch;-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25);-moz-box-shadow:0 1px 5px rgba(0,0,0,.25);box-shadow:0 1px 5px rgba(0,0,0,.25);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.d-tooltip-dialog-popup{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}html{font-size:62.5%;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:focus,a:hover{color:#2a6496;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.d-scrollable{display:block;-webkit-overflow-scrolling:touch;-webkit-transform:translate3d(0,0,0)}.d-scrollable-h{overflow-x:auto}.d-scrollable-v{overflow-y:auto}.d-dialog-underlay{display:block;position:fixed;left:0;top:0;z-index:998;background:#fff;opacity:.5} \ No newline at end of file +.d-disabled,.d-disabled *,.d-readonly,.d-readonly *{cursor:default}.d-reset{margin:0;border:0;padding:0;font:inherit;line-height:normal;color:inherit}.d-inline{display:inline-block;border:0;padding:0;vertical-align:middle}.d-hidden,[d-hidden=true],[d-shown=false]{display:none}.d-invisible,[d-invisible=true],[d-visible=false]{visibility:hidden}.d-popup{position:absolute;background-color:transparent;margin:0;border:0;padding:0;-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25);-moz-box-shadow:0 1px 5px rgba(0,0,0,.25);box-shadow:0 1px 5px rgba(0,0,0,.25);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.d-popup>*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:inherit;width:inherit;overflow:auto}.d-tooltip-dialog-popup{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}html{font-size:62.5%;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:focus,a:hover{color:#2a6496;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.d-scrollable{display:block;-webkit-overflow-scrolling:touch;-webkit-transform:translate3d(0,0,0)}.d-scrollable-h{overflow-x:auto}.d-scrollable-v{overflow-y:auto}.d-dialog-underlay{display:block;position:fixed;left:0;top:0;z-index:998;background:#fff;opacity:.5} \ No newline at end of file